diff --git a/.travis.yml b/.travis.yml index 426da0090..37a2162b1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,10 +1,8 @@ -sudo: false +os: linux +dist: bionic language: cpp -cache: - apt: true - git: depth: false @@ -27,75 +25,75 @@ git: # after that, copy/paste the secure on the following line env: global: - - secure: "Mu6SQsBmz2inttfIj3pXk4lx6ZXNs7MAq1agDgnGJknQTTi4ta0H+usxKhhGvxkh4eGgX01HuXAbPejU0W9xatHvYDQ3piKvqv672TrhYShHA4bWJke3q88BezSYaDQ+UBTmP5DD/ZFbprH+6bP9WqpRaYGC6UHbFkjRKEd2bk4=" - -addons: - apt: - packages: - - mesa-common-dev - - libgl1-mesa-dev - - libglu1-mesa-dev + - secure: "Bqor4TrYqeJUkjiIHjCq/e3xt/jAoU3Q5kwG/ej+QxaiT6hmkirX3Io3rHxNTbS+mYMAMTbtkkpGqYIYIYtNVx8jGYLdwOzNcuW/wzZf9VuAW/rnjx2lzuYRhHk3GOylSPUU06JHvXDmZvdMxetNBeWaE5hGuJsC9liA+stDepA=" -matrix: +jobs: include: +# Linux - env: PYTHON="3.5" CONDA_PY=35 ARCH="x86_64" - os: linux - dist: bionic - - env: PYTHON="3.5" CONDA_PY=35 ARCH="x86_64" - os: osx - osx_image: xcode9.4 - - env: PYTHON="3.6" CONDA_PY=36 ARCH="x86_64" - os: linux - dist: bionic - env: PYTHON="3.6" CONDA_PY=36 ARCH="x86_64" - os: osx - osx_image: xcode9.4 - - env: PYTHON="3.7" CONDA_PY=37 ARCH="x86_64" - os: linux - dist: bionic - env: PYTHON="3.7" CONDA_PY=37 ARCH="x86_64" +# OSX + - env: PYTHON="3.5" CONDA_PY=35 ARCH="x86_64" MACOSX_DEPLOYMENT_TARGET=10.9 + os: osx + osx_image: xcode9.4 + - env: PYTHON="3.6" CONDA_PY=36 ARCH="x86_64" MACOSX_DEPLOYMENT_TARGET=10.9 + os: osx + osx_image: xcode9.4 + - env: PYTHON="3.7" CONDA_PY=37 ARCH="x86_64" MACOSX_DEPLOYMENT_TARGET=10.9 os: osx - osx_image: xcode9.4 + osx_image: xcode9.4 +# Windows +# - env: PYTHON="3.5" CONDA_PY=35 ARCH="x86_64" CC="cl.exe" CXX="cl.exe" MSVC_TOOLSET_VERSION=15 +# os: windows +# - env: PYTHON="3.6" CONDA_PY=36 ARCH="x86_64" CC="cl.exe" CXX="cl.exe" MSVC_TOOLSET_VERSION=15 +# os: windows +# - env: PYTHON="3.7" CONDA_PY=37 ARCH="x86_64" CC="cl.exe" CXX="cl.exe" MSVC_TOOLSET_VERSION=15 +# os: windows + # Use miniconda to install binary versions of numpy etc. from continuum # analytic's repository. Follows an approach described by Dan Blanchard: # https://gist.github.com/dan-blanchard/7045057 before_install: - - if [ ${PYTHON:0:1} == "2" ]; then - if [ "$TRAVIS_OS_NAME" == "linux" ]; then - wget https://repo.continuum.io/miniconda/Miniconda2-latest-Linux-x86_64.sh -O miniconda.sh; - else - wget https://repo.continuum.io/miniconda/Miniconda2-latest-MacOSX-x86_64.sh -O miniconda.sh; - fi; - else - if [ "$TRAVIS_OS_NAME" == "linux" ]; then + - if [[ "$TRAVIS_OS_NAME" != "windows" ]]; then + MINICONDA_PATH=$HOME/miniconda; + MINICONDA_SUB_PATH=$MINICONDA_PATH/bin; + elif [[ "$TRAVIS_OS_NAME" == "windows" ]]; then + MINICONDA_PATH=/c/tools/miniconda3; + MINICONDA_SUB_PATH=$MINICONDA_PATH/Scripts; + fi + - if [ "$TRAVIS_OS_NAME" == "linux" ]; then wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh; - else + elif [[ "$TRAVIS_OS_NAME" == "osx" ]]; then wget https://repo.continuum.io/miniconda/Miniconda3-latest-MacOSX-x86_64.sh -O miniconda.sh; - fi; + wget https://github.com/phracker/MacOSX-SDKs/releases/download/10.13/MacOSX10.9.sdk.tar.xz -O MacOSX10.9.sdk.tar.xz; + tar xf MacOSX10.9.sdk.tar.xz; + sudo mv MacOSX10.9.sdk /opt/; + ls /opt; + fi + +install: + - if [[ "$TRAVIS_OS_NAME" != "windows" ]]; then + chmod +x miniconda.sh; + yes | ./miniconda.sh -b -p $MINICONDA_PATH; + elif [[ "$TRAVIS_OS_NAME" == "windows" ]]; then + echo "installing miniconda for windows"; + choco install openssl.light; + choco install miniconda3; fi; - - chmod +x miniconda.sh - # When we are installing the 32 Bit conda on a 64 Bit system, the miniconda - # installer will ask for a "yes" despite the -b flag, so we pipe in a yes - - yes | ./miniconda.sh -b -p $HOME/miniconda - #- bash miniconda.sh -b -p -f $HOME/miniconda - - export PATH="$HOME/miniconda/bin:$HOME/miniconda/lib:$PATH" + - export PATH="$MINICONDA_PATH:$MINICONDA_SUB_PATH:$PATH"; - export PYTHONUNBUFFERED=1 - hash -r - - conda config --set always_yes yes --set changeps1 no + - conda config --set always_yes yes --set changeps1 no --set ssl_verify false - conda update -q conda # install everything required to build the receipe - # conda-build 3.2.0 on osx to prevent using check_overlinking - # method which is quite loooong to process - #- conda install conda-build==3.2.0 - - conda install conda-build anaconda-client + - conda install conda-build + - conda install anaconda-client # Useful for debugging any issues with conda - conda info -a - # download/install OCE from DLR-SC channel - - conda config --add channels dlr-sc - - conda config --add channels conda-forge - - conda config --add channels tpaviot - - conda config --add channels oce - - conda config --add channels pythonocc + # dlr-sc channel is required for opencascade-7.4.0 package + - conda config --add channels https://conda.anaconda.org/dlr-sc + - conda config --add channels https://conda.anaconda.org/conda-forge script: - conda build ci/conda --dirty --no-remove-work-dir @@ -110,7 +108,7 @@ after_success: anaconda -t $BINSTAR_TOKEN upload *.bz2 -l main --force; else anaconda -t $BINSTAR_TOKEN upload *.bz2 -l cd-$TRAVIS_BRANCH --force; - fi; + fi branches: diff --git a/AUTHORS b/AUTHORS index fa0c7efa0..5de0a3573 100644 --- a/AUTHORS +++ b/AUTHORS @@ -15,3 +15,5 @@ Trevor Laughlin jelle feringa nxsofsys Thomas Severin + +Please report any missing name diff --git a/CMakeLists.txt b/CMakeLists.txt index 2d7d220a0..92fbd4f68 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -15,16 +15,21 @@ ##You should have received a copy of the GNU General Public License ##along with pythonOCC. If not, see . +cmake_minimum_required(VERSION 3.12) project(PYTHONOCC) # set pythonOCC version -set(PYTHONOCC_VERSION_MAJOR 0) -set(PYTHONOCC_VERSION_MINOR 18) -set(PYTHONOCC_VERSION_PATCH 2) +set(PYTHONOCC_VERSION_MAJOR 7) +set(PYTHONOCC_VERSION_MINOR 4) +set(PYTHONOCC_VERSION_PATCH 0) # Empty for official releases, set to -dev, -rc1, etc for development releases -set(PYTHONOCC_VERSION_DEVEL) +set(PYTHONOCC_VERSION_DEVEL -beta) -cmake_minimum_required(VERSION 2.6) +set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake ${CMAKE_MODULE_PATH}) + +# for cmake 3.13 and newer, still use old swig style targets +cmake_policy(SET CMP0078 OLD) +cmake_policy(SET CMP0086 OLD) ## cmake policies if (NOT CMAKE_VERSION VERSION_LESS "3.13") @@ -38,11 +43,14 @@ if (NOT CMAKE_VERSION VERSION_LESS "3.13") cmake_policy(SET CMP0086 OLD) endif() +# Force C++ 11 +set(CMAKE_CXX_STANDARD 11) +set(CMAKE_CXX_STANDARD_REQUIRED ON) -if( NOT DEFINED PYTHONOCC_BUILD_TYPE ) - set( PYTHONOCC_BUILD_TYPE "Release" CACHE STRING "Build type" ) # By default set release build -endif( NOT DEFINED PYTHONOCC_BUILD_TYPE ) -set( CMAKE_BUILD_TYPE ${PYTHONOCC_BUILD_TYPE} CACHE INTERNAL "Build type, immutable" FORCE ) +if(NOT DEFINED PYTHONOCC_BUILD_TYPE) + set(PYTHONOCC_BUILD_TYPE "Release" CACHE STRING "Build type") # By default set release build +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) @@ -59,68 +67,66 @@ endif(APPLE) ############################# # Option_With_Default macro # ############################# -macro( option_with_default OPTION_NAME OPTION_STRING OPTION_DEFAULT ) -if( NOT DEFINED ${OPTION_NAME} ) - set( ${OPTION_NAME} ${OPTION_DEFAULT} ) -endif( NOT DEFINED ${OPTION_NAME} ) - OPTION( ${OPTION_NAME} "${OPTION_STRING}" ${${OPTION_NAME}} ) -endmacro( option_with_default OPTION_NAME OPTION_STRING OPTION_DEFAULT ) - -########## -# Python # -########## -find_package(PythonInterp) -find_package(PythonLibs) -include_directories(${PYTHON_INCLUDE_PATH}) - -############################################################## -# 32/64 bit detection -############################################################### -if(${CMAKE_SIZEOF_VOID_P} MATCHES "8") - # If in 64bit mode, we have to define the _OCC64 variable - add_definitions(-D_OCC64) - set(CMAKE_SWIG_FLAGS ${CMAKE_SWIG_FLAGS} -D_OCC64) - set(BIT 64) -else(${CMAKE_SIZEOF_VOID_P} MATCHES "8") - set(BIT 32) -endif(${CMAKE_SIZEOF_VOID_P} MATCHES "8") -message(STATUS "Build ${BIT}bit") +macro(option_with_default OPTION_NAME OPTION_STRING OPTION_DEFAULT) + option(${OPTION_NAME} ${OPTION_STRING} ${OPTION_DEFAULT}) +endmacro(option_with_default OPTION_NAME OPTION_STRING OPTION_DEFAULT) -# Mingw64 needs MS_WIN64 to be defined (otherwise link failures) -if(MINGW) - message(STATUS "MinGW:") - if(BIT MATCHES "64") - add_definitions(-DMS_WIN64) - endif(BIT MATCHES "64") -endif(MINGW) +##################################################################### +# OpenGL. If available, enable compilation for Visualization module # +##################################################################### +find_package(OpenGL) +include_directories(OPENGL_INCLUDE_DIR) -# MACOSX_DEPLOYEMENT_TARGET -# explicit link to libc++ for recent osx versions -if(APPLE) - message(STATUS "Explicitely link to libc++ on modern osx versions") - add_definitions(-stdlib=libc++) -endif(APPLE) +################# +# Build options # +################# +include(${CMAKE_CURRENT_SOURCE_DIR}/cmake/OCE_Modules.cmake) +# add an option to choose toolkits to compile +if(OPENGL_FOUND) + option_with_default(PYTHONOCC_WRAP_VISU "Compile Visualisation" ON) +else(OPENGL_FOUND) + message(WARNING "OpenGL library not found, Visualization compilation is turned OFF") + set(PYTHONOCC_WRAP_VISU "Compile Visualisation" OFF) +endif(OPENGL_FOUND) +option_with_default(PYTHONOCC_WRAP_DATAEXCHANGE "Compile DataExchange wrapper" ON) +option_with_default(PYTHONOCC_WRAP_OCAF "Compile OCE Application Framework wrapper" ON) +option_with_default(PYTHONOCC_WRAP_SMESH "Compile SMESH wrapper" OFF) +option_with_default(SWIG_HIDE_WARNINGS "Check this option if you want a less verbose swig output." ON) +option_with_default(OCE_HIDE_DEPRECATED "Check this option if you want a less verbose swig output." ON) + +############ +# Python 3 # +############ +find_package(Python3 COMPONENTS Interpreter Development REQUIRED) +message(STATUS "Python3 interpreter:" ${Python3_EXECUTABLE}) +message(STATUS "Python include directory: ${Python3_INCLUDE_DIR}") +message(STATUS "Python library release: ${Python3_LIBRARY_RELEASE}") ######## # SWIG # ######## -find_package(SWIG 3.0.9) +find_package(SWIG 3.0.11 REQUIRED) include(${SWIG_USE_FILE}) set(SWIG_FILES_PATH src/SWIG_files/wrapper) - -############ -# FreeType # -############ -find_package(Freetype REQUIRED) -include_directories(${FREETYPE_INCLUDE_DIRS}) +if(SWIG_HIDE_WARNINGS) + message(STATUS "Disabled SWIG warnings") + set(CMAKE_SWIG_FLAGS ${CMAKE_SWIG_FLAGS} -O -w302,401,402,412,314,509,512,504,325,503,520,350,351,383,389,394,395,404 -py3) +else() + set(CMAKE_SWIG_FLAGS ${CMAKE_SWIG_FLAGS} -py3) +endif() ################################ # OCE include and lib location # ################################ +if(OCE_HIDE_DEPRECATED) + message(STATUS "Disabled deprecation warnings for oce") + add_definitions(-DOCCT_NO_DEPRECATED) +endif(OCE_HIDE_DEPRECATED) + if(DEFINED OCE_INCLUDE_PATH) if(NOT DEFINED OCE_LIB_PATH) message(FATAL_ERROR "OCE_LIB_PATH must be defined") - endif (NOT DEFINED OCE_LIB_PATH) + endif(NOT DEFINED OCE_LIB_PATH) set(OCE_INCLUDE_PATH ${OCE_INCLUDE_PATH} CACHE PATH "OCE include path") set(OCE_LIB_PATH ${OCE_LIB_PATH} CACHE PATH "OCE lib path") include_directories(${OCE_INCLUDE_PATH}) @@ -128,18 +134,18 @@ if(DEFINED OCE_INCLUDE_PATH) # if OCE_INCLUDE_PATH is not passed at command line, # find OCE automatically else(OCE_INCLUDE_PATH) - find_package(OCE 0.18 REQUIRED) - # OCE 0.18 relies on OCC 6.9.1 - set(CMAKE_SWIG_FLAGS ${CMAKE_SWIG_FLAGS} -DOCC_VERSION_HEX=0x060901) - if(OCE_FOUND) - message(STATUS "OpenCASCADE Community Edition (OCE) found.") + find_package(OpenCASCADE 7.4.0 REQUIRED) + + include_directories(${OpenCASCADE_INCLUDE_DIR}) + if(OpenCASCADE_FOUND) + message(STATUS "OpenCASCADE found.") include_directories(${OCE_INCLUDE_DIRS}) - else() # set default paths + else(OpenCASCADE_FOUND) # set default paths set(OCE_INCLUDE_PATH /usr/local/include/oce CACHE PATH "OCE include path") set(OCE_LIB_PATH /usr/local/lib CACHE PATH "OCE lib path") include_directories(${OCE_INCLUDE_PATH}) link_directories(${OCE_LIB_PATH}) - endif(OCE_FOUND) + endif(OpenCASCADE_FOUND) endif(DEFINED OCE_INCLUDE_PATH) ################################ @@ -160,21 +166,46 @@ endif(PYTHONOCC_WRAP_SMESH) # Installation directory # # by default, installed to site-packages/OCC # ############################################## -execute_process(COMMAND ${PYTHON_EXECUTABLE} -c "from distutils.sysconfig import get_python_lib; import os;print(get_python_lib())" OUTPUT_VARIABLE python_lib OUTPUT_STRIP_TRAILING_WHITESPACE ) -set(PYTHONOCC_INSTALL_DIRECTORY ${python_lib}/OCC CACHE PATH "pythonOCC install directory" ) +execute_process(COMMAND ${Python3_EXECUTABLE} -c "from distutils.sysconfig import get_python_lib; import os;print(get_python_lib())" OUTPUT_VARIABLE python_lib OUTPUT_STRIP_TRAILING_WHITESPACE) +set(PYTHONOCC_INSTALL_DIRECTORY ${python_lib}/OCC CACHE PATH "pythonOCC install directory") +message(STATUS "pythonOCC modules will be installed to: ${PYTHONOCC_INSTALL_DIRECTORY}") -# List of OCE shared libraries to link with -# TODO: this should be build from the module list +############################################# +# List of OCE shared libraries to link with # +############################################# set(OCE_MODEL_LIBRARIES TKernel TKMath TKG2d TKG3d TKGeomBase TKBRep TKGeomAlgo - TKTopAlgo TKPrim TKBO TKHLR TKMesh TKShHealing TKXMesh TKBool TKFillet TKFeat TKOffset) -set(OCE_VISUALIZATION_LIBRARIES TKService TKV3d TKMeshVS TKOpenGl TKVoxel TKNIS TKV3d) -set(OCE_DATAEXCHANGE_LIBRARIES TKSTL TKXSBase TKSTEPBase TKIGES TKSTEPAttr TKSTEP209 - TKSTEP TKVRML TKXSBase) -set(OCE_OCAF_LIBRARIES TKCAF TKCDF TKLCAF TKXCAF TKXDESTEP TKXDEIGES) + TKTopAlgo TKPrim TKBO TKShHealing TKBool TKHLR TKFillet + TKOffset TKFeat TKMesh TKXMesh) +set(OCE_VISUALIZATION_LIBRARIES TKService TKV3d TKOpenGl TKMeshVS) +set(OCE_DATAEXCHANGE_LIBRARIES TKXSBase TKSTEPBase TKSTEPAttr TKSTEP209 TKSTEP TKIGES + TKXCAF TKXDEIGES TKXDESTEP TKSTL TKVRML TKXmlXCAF TKBinXCAF) +set(OCE_OCAF_LIBRARIES TKCDF TKLCAF TKCAF TKBinL TKXmlL TKBin TKXml TKStdL + TKStd TKTObj TKBinTObj TKXmlTObj TKVCAF) + +################ +# Headers path # +################ +include_directories(${CMAKE_CURRENT_SOURCE_DIR}/src/SWIG_files/headers) ###################################################### # Configure Build settings according to the platform # ###################################################### + +# Mingw64 needs MS_WIN64 to be defined (otherwise link failures) +if(MINGW) + message(STATUS "MinGW:") + if(${CMAKE_SIZEOF_VOID_P} MATCHES "8") # 64 bit check + add_definitions(-DMS_WIN64) + endif(${CMAKE_SIZEOF_VOID_P} MATCHES "8") +endif(MINGW) + +# MACOSX_DEPLOYEMENT_TARGET +# explicit link to libc++ for recent osx versions +if(APPLE) + message(STATUS "Explicitely link to libc++ on modern osx versions") + add_definitions(-stdlib=libc++) +endif(APPLE) + if(UNIX) if(APPLE) ######### MacOSX ########### @@ -183,40 +214,18 @@ if(UNIX) ######### Unix/Linux ########### set(PLATFORM Unix) endif(APPLE) - set(CMAKE_SWIG_FLAGS -O -w302,401,314,509,512 - -DCSFDB -DHAVE_CONFIG_H -DOCC_CONVERT_SIGNALS) - add_definitions(-DHAVE_CONFIG_H -DCSFDB -DOCC_CONVERT_SIGNALS) + set(CMAKE_SWIG_FLAGS ${CMAKE_SWIG_FLAGS} -DCSFDB -DHAVE_CONFIG_H) + add_definitions(-DHAVE_CONFIG_H -DCSFDB) else(UNIX) if(WIN32) ######### Windows ########### add_definitions(-DWNT -DWIN32 -D_WINDOWS -DCSFDB -DHAVE_CONFIG_H) - # specific windows defines for python version >=2.6.0 - execute_process(COMMAND python -c "import sys;print ((2,6)>=sys.version_info[:2])" OUTPUT_VARIABLE PYTHON_26_OR_HIGHER OUTPUT_STRIP_TRAILING_WHITESPACE) - if(${PYTHON_26_OR_HIGHER} MATCHES "True") - add_definitions(-DHAVE_ACOSH -DHAVE_ASINH -DHAVE_ATANH) - endif(${PYTHON_26_OR_HIGHER} MATCHES "True") - set(CMAKE_SWIG_FLAGS -O -w302,401,314,509,512 -DCSFDB -DWIN32 -D_WINDOWS) + set(CMAKE_SWIG_FLAGS ${CMAKE_SWIG_FLAGS} -DCSFDB -DWIN32 -D_WINDOWS) set(PLATFORM win) else(WIN32) message(STATUS "Unknown platform") endif(WIN32) endif(UNIX) -message(STATUS "Platform:" ${PLATFORM}) - -if (APPLE) - # find out python linking commands - execute_process(COMMAND ${PYTHON_EXECUTABLE} -c "from distutils import sysconfig; print(sysconfig.get_config_vars('CFLAGS')[0])" OUTPUT_VARIABLE PYTHON_CFLAGS OUTPUT_STRIP_TRAILING_WHITESPACE ) - execute_process(COMMAND ${PYTHON_EXECUTABLE} -c "from distutils import sysconfig; print(sysconfig.get_config_vars('BLDSHARED')[0].split(' ', 1)[1])" OUTPUT_VARIABLE PYTHON_LDFLAGS OUTPUT_STRIP_TRAILING_WHITESPACE ) -endif(APPLE) - -################################## -# Tells Swig to use py3k option # -################################## -execute_process(COMMAND ${PYTHON_EXECUTABLE} -c "import sys; print(sys.version_info.major)" OUTPUT_VARIABLE python_version_major OUTPUT_STRIP_TRAILING_WHITESPACE ) - -if(${python_version_major} MATCHES "3") - set(CMAKE_SWIG_FLAGS ${CMAKE_SWIG_FLAGS} -py3) -endif(${python_version_major} MATCHES "3") ################################################ # Define output path for generated libraries: # @@ -242,33 +251,18 @@ else(WIN32) set(LIBRARY_OUTPUT_PATH ${PLATFORM}/${CMAKE_SYSTEM_PROCESSOR}-${CMAKE_BUILD_TYPE}-${BIT}) endif(WIN32) set(CMAKE_SWIG_OUTDIR ${LIBRARY_OUTPUT_PATH}) -message(STATUS "output_path: ${LIBRARY_OUTPUT_PATH}") - -############################ -# OpenCASCADE Modules list # -############################ -include(${CMAKE_CURRENT_SOURCE_DIR}/cmake/OCE_Modules.cmake) -# add an option to choose toolkits to compile -option_with_default(PYTHONOCC_WRAP_VISU "Compile Visualisation" TRUE) -option_with_default(PYTHONOCC_WRAP_DATAEXCHANGE "Compile DataExchange wrapper" TRUE) -option_with_default(PYTHONOCC_WRAP_OCAF "Compile OCE Application Framework wrapper" TRUE) -option_with_default(PYTHONOCC_WRAP_SMESH "Compile SMESH wrapper" FALSE) ###################### # SMESH Modules list # ###################### if(PYTHONOCC_WRAP_SMESH) - option_with_default(PYTHONOCC_WRAP_SMESH_NETGENPLUGIN "Compile NETGENPlugin wrapper" FALSE) + option_with_default(PYTHONOCC_WRAP_SMESH_NETGENPLUGIN "Compile NETGENPlugin wrapper" OFF) include(${CMAKE_CURRENT_SOURCE_DIR}/cmake/SMESH_Modules.cmake) # need vtk headers to compile #find_package(VTK COMPONENTS vtkCommonCore vtkCommonDataModel vtkIOLegacy vtkFiltersVerdict) #include_directories(${VTK_INCLUDE_DIRS}) endif(PYTHONOCC_WRAP_SMESH) -################### -# Wrapper Modules # -################### - ################## # MODEL Toolkits # ################## @@ -276,19 +270,8 @@ file(MAKE_DIRECTORY ${CMAKE_BINARY_DIR}/${SWIG_FILES_PATH}) foreach(OCE_MODULE ${OCE_TOOLKIT_MODEL}) set(FILE ${SWIG_FILES_PATH}/${OCE_MODULE}.i) set_source_files_properties(${FILE} PROPERTIES CPLUSPLUS ON) - if (CMAKE_VERSION VERSION_LESS 3.8) - swig_add_module(${OCE_MODULE} python ${FILE}) - else (CMAKE_VERSION VERSION_LESS 3.8) swig_add_library (${OCE_MODULE} LANGUAGE python SOURCES ${FILE} TYPE MODULE) - endif (CMAKE_VERSION VERSION_LESS 3.8) - - swig_link_libraries(${OCE_MODULE} ${OCE_MODEL_LIBRARIES}) - if (APPLE) - set_target_properties(${SWIG_MODULE_${OCE_MODULE}_REAL_NAME} PROPERTIES COMPILE_FLAGS ${PYTHON_CFLAGS}) - set_target_properties(${SWIG_MODULE_${OCE_MODULE}_REAL_NAME} PROPERTIES LINK_FLAGS ${PYTHON_LDFLAGS}) - else(APPLE) - swig_link_libraries(${OCE_MODULE} ${PYTHON_LIBRARIES}) - endif(APPLE) + swig_link_libraries(${OCE_MODULE} ${OCE_MODEL_LIBRARIES} Python3::Module) endforeach(OCE_MODULE) ################# @@ -297,107 +280,35 @@ endforeach(OCE_MODULE) if(PYTHONOCC_WRAP_VISU) find_package(OpenGL REQUIRED) include_directories(OPENGL_INCLUDE_DIR) - foreach(OCE_MODULE ${OCE_TOOLKIT_VISUALIZATION}) - set(FILE ${SWIG_FILES_PATH}/${OCE_MODULE}.i) - set_source_files_properties(${FILE} PROPERTIES CPLUSPLUS ON) - if (CMAKE_VERSION VERSION_LESS 3.8) - swig_add_module(${OCE_MODULE} python ${FILE}) - else (CMAKE_VERSION VERSION_LESS 3.8) + foreach(OCE_MODULE ${OCE_TOOLKIT_VISUALIZATION}) + set(FILE ${SWIG_FILES_PATH}/${OCE_MODULE}.i) + set_source_files_properties(${FILE} PROPERTIES CPLUSPLUS ON) swig_add_library (${OCE_MODULE} LANGUAGE python SOURCES ${FILE} TYPE MODULE) - endif() - - swig_link_libraries(${OCE_MODULE} ${OCE_MODEL_LIBRARIES} ${OCE_VISUALIZATION_LIBRARIES}) - if (APPLE) - set_target_properties(${SWIG_MODULE_${OCE_MODULE}_REAL_NAME} PROPERTIES COMPILE_FLAGS ${PYTHON_CFLAGS}) - set_target_properties(${SWIG_MODULE_${OCE_MODULE}_REAL_NAME} PROPERTIES LINK_FLAGS ${PYTHON_LDFLAGS}) - else(APPLE) - swig_link_libraries(${OCE_MODULE} ${PYTHON_LIBRARIES}) - endif(APPLE) - endforeach(OCE_MODULE) + swig_link_libraries(${OCE_MODULE} ${OCE_VISUALIZATION_LIBRARIES} Python3::Module) + endforeach(OCE_MODULE) + # Build third part modules # TODO : the following line is strange but necessary execute_process(COMMAND ${CMAKE_COMMAND} -E make_directory src/Visualization) set_source_files_properties(${CMAKE_CURRENT_SOURCE_DIR}/src/Visualization/Visualization.i PROPERTIES CPLUSPLUS ON) include_directories(${CMAKE_CURRENT_SOURCE_DIR}/src/Visualization) set(VISUALIZATION_SOURCE_FILES - ${CMAKE_CURRENT_SOURCE_DIR}/src/Visualization/Visualization.i - ${CMAKE_CURRENT_SOURCE_DIR}/src/Visualization/Display3d.cpp - ${CMAKE_CURRENT_SOURCE_DIR}/src/Visualization/Tesselator.cpp - ) - - if (CMAKE_VERSION VERSION_LESS 3.8) - swig_add_module(Visualization python ${VISUALIZATION_SOURCE_FILES}) - else (CMAKE_VERSION VERSION_LESS 3.8) + ${CMAKE_CURRENT_SOURCE_DIR}/src/Visualization/Visualization.i + ${CMAKE_CURRENT_SOURCE_DIR}/src/Visualization/Display3d.cpp + ${CMAKE_CURRENT_SOURCE_DIR}/src/Visualization/Tesselator.cpp) + swig_add_library(Visualization LANGUAGE python SOURCES ${VISUALIZATION_SOURCE_FILES} TYPE MODULE) - endif() + swig_link_libraries(Visualization ${OCE_MODEL_LIBRARIES} ${OCE_VISUALIZATION_LIBRARIES} Python3::Module) if(APPLE) # on OSX, always add /System/Library/Frameworks/Cocoa.framework, even # if GLX is enabled - swig_link_libraries(Visualization ${OCE_MODEL_LIBRARIES} ${OCE_VISUALIZATION_LIBRARIES} /System/Library/Frameworks/Cocoa.framework) - set_target_properties(${SWIG_MODULE_Visualization_REAL_NAME} PROPERTIES COMPILE_FLAGS ${PYTHON_CFLAGS}) - set_target_properties(${SWIG_MODULE_Visualization_REAL_NAME} PROPERTIES LINK_FLAGS ${PYTHON_LDFLAGS}) - else(APPLE) - swig_link_libraries(Visualization ${OCE_MODEL_LIBRARIES} ${OCE_VISUALIZATION_LIBRARIES} ${PYTHON_LIBRARIES}) + swig_link_libraries(Visualization /System/Library/Frameworks/Cocoa.framework) endif(APPLE) endif(PYTHONOCC_WRAP_VISU) -########## -# Addons # -########## -execute_process(COMMAND ${CMAKE_COMMAND} -E make_directory src/Addons) -set_source_files_properties(${CMAKE_CURRENT_SOURCE_DIR}/src/Addons/Addons.i PROPERTIES CPLUSPLUS ON) -include_directories(${CMAKE_CURRENT_SOURCE_DIR}/src/Addons) -set(ADDONS_SOURCE_FILES -${CMAKE_CURRENT_SOURCE_DIR}/src/Addons/Addons.i -${CMAKE_CURRENT_SOURCE_DIR}/src/Addons/Font3d.cpp -${CMAKE_CURRENT_SOURCE_DIR}/src/Addons/TextItem.cpp -${CMAKE_CURRENT_SOURCE_DIR}/src/Addons/LineItem.cpp -${CMAKE_CURRENT_SOURCE_DIR}/src/Addons/TextureItem.cpp -) - -if (CMAKE_VERSION VERSION_LESS 3.8) - swig_add_module(Addons python ${ADDONS_SOURCE_FILES}) -else (CMAKE_VERSION VERSION_LESS 3.8) - swig_add_library(Addons LANGUAGE python SOURCES ${ADDONS_SOURCE_FILES} TYPE MODULE) -endif() - -swig_link_libraries(Addons ${OCE_MODEL_LIBRARIES} ${OCE_VISUALIZATION_LIBRARIES}) -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) - -############ -# Splitter # -############ -execute_process(COMMAND ${CMAKE_COMMAND} -E make_directory src/Splitter) -set_source_files_properties(${CMAKE_CURRENT_SOURCE_DIR}/src/Splitter/GEOMAlgo.i PROPERTIES CPLUSPLUS ON) -include_directories(${CMAKE_CURRENT_SOURCE_DIR}/src/Splitter) -set(SPLITTER_SOURCE_FILES -${CMAKE_CURRENT_SOURCE_DIR}/src/Splitter/GEOMAlgo.i -${CMAKE_CURRENT_SOURCE_DIR}/src/Splitter/GEOMAlgo_Splitter.cxx -) - -if (CMAKE_VERSION VERSION_LESS 3.8) - swig_add_module(GEOMAlgo python ${SPLITTER_SOURCE_FILES}) -else (CMAKE_VERSION VERSION_LESS 3.8) - swig_add_library(GEOMAlgo LANGUAGE python SOURCES ${SPLITTER_SOURCE_FILES} TYPE MODULE) -endif() - -swig_link_libraries(GEOMAlgo ${OCE_MODEL_LIBRARIES} ${OCE_VISUALIZATION_LIBRARIES}) -if (APPLE) - set_target_properties(${SWIG_MODULE_GEOMAlgo_REAL_NAME} PROPERTIES COMPILE_FLAGS ${PYTHON_CFLAGS}) - set_target_properties(${SWIG_MODULE_GEOMAlgo_REAL_NAME} PROPERTIES LINK_FLAGS ${PYTHON_LDFLAGS}) -else(APPLE) - swig_link_libraries(GEOMAlgo ${PYTHON_LIBRARIES}) -endif(APPLE) - ################ # DataExchange # ################ @@ -405,22 +316,8 @@ if(PYTHONOCC_WRAP_DATAEXCHANGE) foreach(OCE_MODULE ${OCE_TOOLKIT_DATAEXCHANGE}) set(FILE ${SWIG_FILES_PATH}/${OCE_MODULE}.i) set_source_files_properties(${FILE} PROPERTIES CPLUSPLUS ON) - - if (CMAKE_VERSION VERSION_LESS 3.8) - swig_add_module(${OCE_MODULE} python ${FILE}) - else (CMAKE_VERSION VERSION_LESS 3.8) - swig_add_library(${OCE_MODULE} LANGUAGE python SOURCES ${FILE} TYPE MODULE) - endif() - - swig_link_libraries(${OCE_MODULE} ${OCE_MODEL_LIBRARIES} ${OCE_DATAEXCHANGE_LIBRARIES}) - - if (APPLE) - set_target_properties(${SWIG_MODULE_${OCE_MODULE}_REAL_NAME} PROPERTIES COMPILE_FLAGS ${PYTHON_CFLAGS}) - set_target_properties(${SWIG_MODULE_${OCE_MODULE}_REAL_NAME} PROPERTIES LINK_FLAGS ${PYTHON_LDFLAGS}) - else(APPLE) - swig_link_libraries(${OCE_MODULE} ${PYTHON_LIBRARIES}) - endif(APPLE) - + swig_add_library(${OCE_MODULE} LANGUAGE python SOURCES ${FILE} TYPE MODULE) + swig_link_libraries(${OCE_MODULE} ${OCE_DATAEXCHANGE_LIBRARIES} Python3::Module) endforeach(OCE_MODULE) endif(PYTHONOCC_WRAP_DATAEXCHANGE) @@ -431,22 +328,8 @@ if(PYTHONOCC_WRAP_OCAF) foreach(OCE_MODULE ${OCE_TOOLKIT_OCAF}) set(FILE ${SWIG_FILES_PATH}/${OCE_MODULE}.i) set_source_files_properties(${FILE} PROPERTIES CPLUSPLUS ON) - - if (CMAKE_VERSION VERSION_LESS 3.8) - swig_add_module(${OCE_MODULE} python ${FILE}) - else (CMAKE_VERSION VERSION_LESS 3.8) - swig_add_library(${OCE_MODULE} LANGUAGE python SOURCES ${FILE} TYPE MODULE) - endif() - - swig_link_libraries(${OCE_MODULE} ${OCE_MODEL_LIBRARIES} ${OCE_OCAF_LIBRARIES}) - - if (APPLE) - set_target_properties(${SWIG_MODULE_${OCE_MODULE}_REAL_NAME} PROPERTIES COMPILE_FLAGS ${PYTHON_CFLAGS}) - set_target_properties(${SWIG_MODULE_${OCE_MODULE}_REAL_NAME} PROPERTIES LINK_FLAGS ${PYTHON_LDFLAGS}) - else(APPLE) - swig_link_libraries(${OCE_MODULE} ${PYTHON_LIBRARIES}) - endif(APPLE) - + swig_add_library(${OCE_MODULE} LANGUAGE python SOURCES ${FILE} TYPE MODULE) + swig_link_libraries(${OCE_MODULE} ${OCE_OCAF_LIBRARIES} Python3::Module) endforeach(OCE_MODULE) endif(PYTHONOCC_WRAP_OCAF) @@ -457,22 +340,8 @@ if(PYTHONOCC_WRAP_SMESH) foreach(SMESH_MODULE ${SMESH_TOOLKIT}) set(FILE ${SWIG_FILES_PATH}/${SMESH_MODULE}.i) set_source_files_properties(${FILE} PROPERTIES CPLUSPLUS ON) - - if (CMAKE_VERSION VERSION_LESS 3.8) - swig_add_module(${SMESH_MODULE} python ${FILE}) - else (CMAKE_VERSION VERSION_LESS 3.8) - swig_add_library(${SMESH_MODULE} LANGUAGE python SOURCES ${FILE} TYPE MODULE) - endif() - - swig_link_libraries(${SMESH_MODULE} ${OCE_MODEL_LIBRARIES} ${OCE_VISUALIZATION_LIBRARIES} ${OCE_OCAF_LIBRARIES} ${SMESH_LIBRARIES}) - - if (APPLE) - set_target_properties(${SWIG_MODULE_${SMESH_MODULE}_REAL_NAME} PROPERTIES COMPILE_FLAGS ${PYTHON_CFLAGS}) - set_target_properties(${SWIG_MODULE_${SMESH_MODULE}_REAL_NAME} PROPERTIES LINK_FLAGS ${PYTHON_LDFLAGS}) - else(APPLE) - swig_link_libraries(${SMESH_MODULE} ${PYTHON_LIBRARIES}) - endif(APPLE) - + swig_add_library(${SMESH_MODULE} LANGUAGE python SOURCES ${FILE} TYPE MODULE) + swig_link_libraries(${SMESH_MODULE} ${OCE_MODEL_LIBRARIES} ${OCE_VISUALIZATION_LIBRARIES} ${OCE_OCAF_LIBRARIES} ${SMESH_LIBRARIES} Python3::Module) endforeach(SMESH_MODULE) endif(PYTHONOCC_WRAP_SMESH) @@ -488,67 +357,57 @@ set(BUILD_DIR ${CMAKE_BINARY_DIR}/${LIBRARY_OUTPUT_PATH}) # install pythonOCC modules foreach(OCE_MODULE ${OCE_TOOLKIT_MODEL}) - install(FILES ${BUILD_DIR}/${OCE_MODULE}.py DESTINATION ${PYTHONOCC_INSTALL_DIRECTORY}/Core ) - install(TARGETS _${OCE_MODULE} DESTINATION ${PYTHONOCC_INSTALL_DIRECTORY}/Core ) + install(FILES ${BUILD_DIR}/${OCE_MODULE}.py DESTINATION ${PYTHONOCC_INSTALL_DIRECTORY}/Core) + install(TARGETS _${OCE_MODULE} DESTINATION ${PYTHONOCC_INSTALL_DIRECTORY}/Core) endforeach(OCE_MODULE) if(PYTHONOCC_WRAP_VISU) foreach(OCE_MODULE ${OCE_TOOLKIT_VISUALIZATION}) - install(FILES ${BUILD_DIR}/${OCE_MODULE}.py DESTINATION ${PYTHONOCC_INSTALL_DIRECTORY}/Core ) - install(TARGETS _${OCE_MODULE} DESTINATION ${PYTHONOCC_INSTALL_DIRECTORY}/Core ) + install(FILES ${BUILD_DIR}/${OCE_MODULE}.py DESTINATION ${PYTHONOCC_INSTALL_DIRECTORY}/Core) + install(TARGETS _${OCE_MODULE} DESTINATION ${PYTHONOCC_INSTALL_DIRECTORY}/Core) endforeach(OCE_MODULE) endif(PYTHONOCC_WRAP_VISU) if(PYTHONOCC_WRAP_DATAEXCHANGE) foreach(OCE_MODULE ${OCE_TOOLKIT_DATAEXCHANGE}) - install(FILES ${BUILD_DIR}/${OCE_MODULE}.py DESTINATION ${PYTHONOCC_INSTALL_DIRECTORY}/Core ) - install(TARGETS _${OCE_MODULE} DESTINATION ${PYTHONOCC_INSTALL_DIRECTORY}/Core ) + install(FILES ${BUILD_DIR}/${OCE_MODULE}.py DESTINATION ${PYTHONOCC_INSTALL_DIRECTORY}/Core) + install(TARGETS _${OCE_MODULE} DESTINATION ${PYTHONOCC_INSTALL_DIRECTORY}/Core) endforeach(OCE_MODULE) endif(PYTHONOCC_WRAP_DATAEXCHANGE) if(PYTHONOCC_WRAP_OCAF) foreach(OCE_MODULE ${OCE_TOOLKIT_OCAF}) - install(FILES ${BUILD_DIR}/${OCE_MODULE}.py DESTINATION ${PYTHONOCC_INSTALL_DIRECTORY}/Core ) - install(TARGETS _${OCE_MODULE} DESTINATION ${PYTHONOCC_INSTALL_DIRECTORY}/Core ) + install(FILES ${BUILD_DIR}/${OCE_MODULE}.py DESTINATION ${PYTHONOCC_INSTALL_DIRECTORY}/Core) + install(TARGETS _${OCE_MODULE} DESTINATION ${PYTHONOCC_INSTALL_DIRECTORY}/Core) endforeach(OCE_MODULE) endif(PYTHONOCC_WRAP_OCAF) # install third part modules if(PYTHONOCC_WRAP_VISU) -install(FILES ${BUILD_DIR}/Visualization.py DESTINATION ${PYTHONOCC_INSTALL_DIRECTORY}/Core ) -install(TARGETS _Visualization DESTINATION ${PYTHONOCC_INSTALL_DIRECTORY}/Core ) +install(FILES ${BUILD_DIR}/Visualization.py DESTINATION ${PYTHONOCC_INSTALL_DIRECTORY}/Core) +install(TARGETS _Visualization DESTINATION ${PYTHONOCC_INSTALL_DIRECTORY}/Core) endif(PYTHONOCC_WRAP_VISU) # instal SMESH if(PYTHONOCC_WRAP_SMESH) foreach(SMESH_MODULE ${SMESH_TOOLKIT}) - install(FILES ${BUILD_DIR}/${SMESH_MODULE}.py DESTINATION ${PYTHONOCC_INSTALL_DIRECTORY}/Core ) - install(FILES ${BUILD_DIR}/_${SMESH_MODULE}.${EXTENSION} DESTINATION ${PYTHONOCC_INSTALL_DIRECTORY}/Core ) + install(FILES ${BUILD_DIR}/${SMESH_MODULE}.py DESTINATION ${PYTHONOCC_INSTALL_DIRECTORY}/Core) + install(FILES ${BUILD_DIR}/_${SMESH_MODULE}.${EXTENSION} DESTINATION ${PYTHONOCC_INSTALL_DIRECTORY}/Core) endforeach(SMESH_MODULE) endif(PYTHONOCC_WRAP_SMESH) -# install addons -install(FILES ${BUILD_DIR}/Addons.py DESTINATION ${PYTHONOCC_INSTALL_DIRECTORY}/Core ) -install(TARGETS _Addons DESTINATION ${PYTHONOCC_INSTALL_DIRECTORY}/Core ) -install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/src/Display DESTINATION ${PYTHONOCC_INSTALL_DIRECTORY} ) +# install Display +install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/src/Display DESTINATION ${PYTHONOCC_INSTALL_DIRECTORY}) # install LICENSE file -install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/LICENSE DESTINATION ${PYTHONOCC_INSTALL_DIRECTORY} ) +install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/LICENSE DESTINATION ${PYTHONOCC_INSTALL_DIRECTORY}) # install AUTHORS file -install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/AUTHORS DESTINATION ${PYTHONOCC_INSTALL_DIRECTORY} ) +install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/AUTHORS DESTINATION ${PYTHONOCC_INSTALL_DIRECTORY}) # install __init__.py file -install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/cmake/__init__.py DESTINATION ${PYTHONOCC_INSTALL_DIRECTORY} ) +install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/cmake/__init__.py DESTINATION ${PYTHONOCC_INSTALL_DIRECTORY}) install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/cmake/__init__.py DESTINATION ${PYTHONOCC_INSTALL_DIRECTORY}/Core) -# install Splitter to Core -install(FILES ${BUILD_DIR}/GEOMAlgo.py DESTINATION ${PYTHONOCC_INSTALL_DIRECTORY}/Core ) -install(TARGETS _GEOMAlgo DESTINATION ${PYTHONOCC_INSTALL_DIRECTORY}/Core ) - # install Extend -install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/src/Extend DESTINATION ${PYTHONOCC_INSTALL_DIRECTORY} ) +install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/src/Extend DESTINATION ${PYTHONOCC_INSTALL_DIRECTORY}) # install Wrapper utils install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/src/Wrapper DESTINATION ${PYTHONOCC_INSTALL_DIRECTORY}) - -# install deprecated modules -file(GLOB DEPRECATED_MODULES ${CMAKE_CURRENT_SOURCE_DIR}/src/SWIG_files/deprecated_modules/*.py) -install(FILES ${DEPRECATED_MODULES} DESTINATION ${PYTHONOCC_INSTALL_DIRECTORY} ) diff --git a/INSTALL.md b/INSTALL.md index 7782ffb10..c47ff6728 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -19,21 +19,12 @@ Requirements pythonOCC needs the following libraries or programs to be installed before you can compile/use it : -- the python programming language (http://www.python.org). Python 2.7 and 3.x - are officially supported, +- the python programming language (http://www.python.org). Python 3.x is required. Python 2 +is officially dropped since the release 7.4.0. -- OpenCascade Community Edition 0.18.x (https://github.com/tpaviot/oce), +- OpenCascade 7.4.0 (https://dev.opencascade.org), -- FreeType 2.6.3 (https://www.freetype.org/), - -- SWIG 3.0.9 or higher (http://www.swig.org), - -- CMake 2.8 or higher (http://www.cmake.org). - -**Important**: the OCE version has to match the pythonocc-core version, -which is currently **0.18.x** - -- Optional : smesh-6.7.6 (https://github.com/tpaviot/smesh) +- SWIG 3.0.11 or higher (http://www.swig.org), Create a local copy of the repository ------------------------------------- @@ -50,7 +41,6 @@ pythonocc-core compilation The configuration steps uses cmake: cmake .. - By default, cmake looks for oce include headers in /usr/local/include/oce and libraries in /usr/local/include/lib. If these paths don't match your installation, you have to set OCE_INCLUDE_PATH and OCE_LIB_PATH: @@ -84,5 +74,6 @@ In order to check that everything is ok, run the pythonocc unittest suite: cd ../test python run_tests.py -You can also run the examples avalaible in the pythonocc-core/examples -directory. +demos +----- +Download/test demos available at https://github.com/tpaviot/pythonocc-demos diff --git a/NEWS b/NEWS index ca91948ab..f8d29afbe 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,23 @@ +========================== +Version 7.4.0beta - December 2019 + +This release require opencascade 7.4.0 + +* Port to opencascade 7.4.0 + +* Dropped SMESH support. + +========================== +Version 0.18.2 - December 2019 + +This release requires oce-0.18 or higher + +* wrapper : fixes + +* jupyter renderer + +THIS RELEASE IS THE LAST ONE DEPENDING ON OCE 0.18x + ========================== Version 0.18.1 - December 2017 diff --git a/README.md b/README.md index 06d448cc6..ef5f7a9e1 100644 --- a/README.md +++ b/README.md @@ -12,52 +12,51 @@ pythonocc-core About ----- -pythonocc is a python library whose purpose is to provide 3D modeling +pythonocc is a python package whose purpose is to provide 3D modeling features. It is intended to developers who aim at developing CAD/PDM/PLM applications. -Latest release : [pythonocc-core 0.18.2 (december 2019)](https://github.com/tpaviot/pythonocc-core/releases/tag/0.18.2) +Latest release : [pythonocc-core 7.4.0 (december 2019)](https://github.com/tpaviot/pythonocc-core/releases/tag/7.4.0) -Download/install binaries -------------------------- -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 2.7, 3.5 and 3.6. This will get you up and running in minutes whether you run win32/win64/linux64/osx64. Here is an example for python 3.5: +Build from source +----------------- -```bash -# install pythonocc in the active environment with python 3.5 -conda install -c conda-forge -c dlr-sc -c pythonocc -c oce pythonocc-core==0.18.2 python=3.7 -``` +Read the [INSTALL.md](https://github.com/tpaviot/pythonocc-core/blob/master/INSTALL.md) instructions where you find compilation instructions for all platforms. -Just replace "3.5" with "2.7" or "3.6" in the previous command to fit with your prefered python version. +Download/install binaries for Linux/OSX/Windows +----------------------------------------------- -Download pre-releases/development binaries ------------------------------------------- +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.5, 3.6 and 3.7. This will get you up and running in minutes whether you run win32/win64/linux64/osx64. Here is an example for python 3.7: -Each time a change is committed to the github repository, related binaries are uploaded to the tpaviot anaconda channel, labelled with the git development branch name. +```bash +# first create an environment +conda create --name=whatever-name python=3.7 +source activate whatever-name +conda install -c dlr-sc/label/dev pythonocc-core==7.4.0beta +``` -Go and check [https://anaconda.org/tpaviot/pythonocc-core](https://anaconda.org/tpaviot/pythonocc-core). +Just replace "3.7" with the python version you target. -Build from source ------------------ +Other pythonocc related resources +--------------------------------- -Read the [INSTALL.md](https://github.com/tpaviot/pythonocc-core/blob/master/INSTALL.md) instructions where you find compilation instructions for all platforms. +* Demos : python examples, as well as jupyter notebooks https://github.com/tpaviot/pythonocc-demos -Online resources ----------------- +* Docker, binderhub : docker and online jupyter notebooks https://github.com/tpaviot/pythonocc-binderhub + +Online resources for development +-------------------------------- We use the following online resources: * Homepage: http://www.pythonocc.org -* Sources: https://github.com/tpaviot/pythonocc-core - * Anaconda cloud repository for official releases: https://anaconda.org/pythonocc * Anaconda cloud repository for nightly builds: https://anaconda.org/tpaviot/pythonocc-core * API documentation: https://cdn.rawgit.com/tpaviot/pythonocc-core/e05ec51b/doc/apidoc/0.18.1/ -* Issue/bug tracker: https://github.com/tpaviot/pythonocc-core/issues - * Mailing list: http://groups.google.com/group/pythonocc * Twitter : https://twitter.com/pythonocc @@ -70,18 +69,13 @@ We use the following online resources: * Codacy quality checker: https://app.codacy.com/app/tpaviot/pythonocc-core -oce and pythonocc ------------------ +pythonocc, oce and opencascade dependencies +------------------------------------------- + +From release 7.4.0, pythonocc-core depends on the official OpenCascade-7.4.0 library (https://dev.opencascade.org) -The basis of pythonocc is a python wrapper for the -[oce C++ library / CAD kernel](https://github.com/tpaviot/oce), aka pythonocc-core. -pythonocc-core version number matches the oce library releases its wrapping. - -For example; the current pythonocc-core release, 0.18, requires any of the [OCE - 0.18.x](https://github.com/tpaviot/oce/releases) releases. Here, the __Major__ - version name of either OCE or pythonocc-core release is __0__, the __Minor__ - version is __18__ and the __Patch__ version is (optionally) __x__. pythonocc-core can be built with any OCE version that has a corresponding __Major__ and __Minor__ version - number. For example, pythonocc-core 0.18.2 can be built with OCE-0.18.1. +Former releases rely on oce (OpenCascade Community Edition), available at +[oce C++ library / CAD kernel](https://github.com/tpaviot/oce). License ------- diff --git a/appveyor.yml b/appveyor.yml index 839013960..59fe2f12f 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,4 +1,9 @@ -version: pythonocc-core-0.18.2.{build} +version: pythonocc-core-7.4.0beta-dev.{build} + +os: + - Visual Studio 2015 + - macOS + - Ubuntu environment: binstar_token: @@ -8,16 +13,7 @@ environment: # and copy paste to # https://ci.appveyor.com/tools/encrypt # then copy/paste the result below - secure: +BLEI1wg9klPN7BVAY1thK7n1x1/L10dWtgKzOmGCI4mg4V77hes9yj3kjZ168xf - - global: - # SDK v7.0 MSVC Express 2008's SetEnv.cmd script will fail if the - # /E:ON and /V:ON options are not enabled in the batch script intepreter - # See: http://stackoverflow.com/a/13751649/163740 - CMD_IN_ENV: "cmd /E:ON /V:ON /C .\\ci\\appveyor\\obvci_appveyor_python_build_env.cmd" - - # Workaround for https://github.com/conda/conda-build/issues/636 - PYTHONIOENCODING: "UTF-8" + secure: 6Wllm3O0zxgpBaBDNMTQAVdcBb9tMylzp72/JlpDQjljxvmF/g8FPSDZaGVs9zR8 matrix: - PYTHON: "C:\\Python36_32" @@ -26,73 +22,58 @@ environment: CONDA_PY: "36" CONDA_NPY: "18" CONDA_INSTALL_LOCN: "C:\\Miniconda36" - - PYTHON: "C:\\Python36_64" - PYTHON_VERSION: "3.6" + - PYTHON_VERSION: "3.6" PYTHON_ARCH: "64" CONDA_PY: "36" CONDA_NPY: "18" CONDA_INSTALL_LOCN: "C:\\Miniconda36-x64" - - PYTHON: "C:\\Python37_32" - PYTHON_VERSION: "3.7" + - PYTHON_VERSION: "3.7" PYTHON_ARCH: "32" CONDA_PY: "37" CONDA_NPY: "18" CONDA_INSTALL_LOCN: "C:\\Miniconda37" - - PYTHON: "C:\\Python37_64" - PYTHON_VERSION: "3.7" + - PYTHON_VERSION: "3.7" PYTHON_ARCH: "64" CONDA_PY: "37" CONDA_NPY: "18" CONDA_INSTALL_LOCN: "C:\\Miniconda37-x64" -# We always use a 64-bit machine, but can build x86 distributions -# with the TARGET_ARCH variable (which is used by CMD_IN_ENV). -platform: - - x64 install: - # Set the CONDA_NPY, although it has no impact on the actual build. We need this because of a test within conda-build. - - cmd: set CONDA_NPY=19 - # Remove cygwin (and therefore the git that comes with it). - - cmd: rmdir C:\cygwin /s /q - # Use the pre-installed Miniconda for the desired arch - # - # However, it is really old. So, we need to update some - # things before we proceed. That seems to require it being - # on the path. So, we temporarily put conda on the path - # so that we can update it. Then we remove it so that - # we can do a proper activation. - - cmd: set "OLDPATH=%PATH%" - - cmd: set "PATH=%CONDA_INSTALL_LOCN%\\Scripts;%CONDA_INSTALL_LOCN%\\Library\\bin;%PATH%" - - cmd: conda config --set always_yes yes --set changeps1 no - - cmd: conda update conda - - cmd: set "PATH=%OLDPATH%" + - ps: | + if ($isLinux) { + wget "http://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh" -O miniconda.sh + } elseif ($isMacOS) { + brew install wget + wget "https://repo.continuum.io/miniconda/Miniconda3-latest-MacOSX-x86_64.sh" -O miniconda.sh + wget "https://github.com/phracker/MacOSX-SDKs/releases/download/10.13/MacOSX10.9.sdk.tar.xz" -O MacOSX10.9.sdk.tar.xz + tar xf MacOSX10.9.sdk.tar.xz + sudo mv MacOSX10.9.sdk /opt/ + ls /opt + } + - sh: bash miniconda.sh -b + - sh: export PATH=$HOME/miniconda3/bin:$PATH + # On Windows, activate the environment - cmd: call %CONDA_INSTALL_LOCN%\Scripts\activate.bat - - cmd: conda config --set show_channel_urls true - - cmd: conda update conda - - cmd: conda install conda-build anaconda-client - - cmd: conda config --add channels https://conda.anaconda.org/dlr-sc - - cmd: conda config --add channels https://conda.anaconda.org/oce - - cmd: conda config --add channels https://conda.anaconda.org/pythonocc - - cmd: conda config --add channels https://conda.anaconda.org/tpaviot + # Following lines are os independant + - conda config --set always_yes yes --set changeps1 no + - conda config --set show_channel_urls true + - conda install conda-build anaconda-client + - conda config --add channels dlr-sc - cmd: set PYTHONBUFFERED=1 + - sh: export PYTHONBUFFERED=1 build: off test_script: - # Build and test the package. This appears(?) to sporadically fail due to a - # bug in conda-build on 32 bit python. - # https://github.com/conda/conda-build/issues/152 - # - # Note also that our setup.py script, which is called by conda-build, writes - # a __conda_version__.txt file, so the version number on the binary package - # is set dynamically. This unfortunately mean that conda build --output - # doesn't really work. - # - - "%CMD_IN_ENV% conda build .\\ci\\conda --quiet --no-remove-work-dir --dirty" + - cmd: conda build .\\ci\\conda --quiet --no-remove-work-dir --dirty + - sh: conda build ./ci/conda --quiet --no-remove-work-dir --dirty # move conda package to /dist - - cmd: 'mkdir dist' - - cmd: 'copy /Y %CONDA_INSTALL_LOCN%\conda-bld\win-%PYTHON_ARCH%\pythonocc*.bz2 dist || cmd /c "exit /b 0"' - # upload package to anaconda$ + - mkdir dist # portable command windows/linux + # upload for osx + - sh: cp $HOME/miniconda3/conda-bld/osx-64/*.bz2 dist + - sh: anaconda -t $BINSTAR_TOKEN upload dist/*.bz2 -l cd-$APPVEYOR_REPO_BRANCH --force + # upload for Windows + - cmd: copy /Y %CONDA_INSTALL_LOCN%\conda-bld\win-%PYTHON_ARCH%\pythonocc*.bz2 dist || cmd /c "exit /b 0" - ps: cmd /C anaconda --token $env:BINSTAR_TOKEN upload dist\*.bz2 -l cd-$env:APPVEYOR_REPO_BRANCH --force "2>&1" artifacts: diff --git a/ci/conda/bld.bat b/ci/conda/bld.bat index 2ddaabfe1..53026fe24 100644 --- a/ci/conda/bld.bat +++ b/ci/conda/bld.bat @@ -1,20 +1,15 @@ mkdir build cd build -REM Remove dot from PY_VER for use in library name -set MY_PY_VER=%PY_VER:.=% - REM Configure step cmake -G "Ninja" -DCMAKE_INSTALL_PREFIX="%LIBRARY_PREFIX%" ^ -DPYTHONOCC_BUILD_TYPE=Release ^ -DCMAKE_PREFIX_PATH="%LIBRARY_PREFIX%" ^ -DCMAKE_SYSTEM_PREFIX_PATH="%LIBRARY_PREFIX%" ^ - -DPYTHON_EXECUTABLE:FILEPATH="%PYTHON%" ^ - -DPYTHON_INCLUDE_DIR:PATH="%PREFIX%"/include ^ - -DPYTHON_LIBRARY:FILEPATH="%PREFIX%"/libs/python%MY_PY_VER%.lib ^ - -DPYTHONOCC_WRAP_SMESH=ON ^ - -DSMESH_INCLUDE_PATH:PATH="%LIBRARY_PREFIX%"/include/smesh ^ - -DPYTHONOCC_WRAP_SMESH_NETGENPLUGIN=OFF ^ + -DPython3_FIND_STRATEGY=LOCATION ^ + -DPython3_FIND_REGISTRY=NEVER ^ + -DPYTHONOCC_WRAP_SMESH=OFF ^ + -DSWIG_HIDE_WARNINGS=ON ^ .. if errorlevel 1 exit 1 @@ -29,4 +24,4 @@ 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 \ No newline at end of file +REM if errorlevel 1 exit 1 diff --git a/ci/conda/build.sh b/ci/conda/build.sh index 376e2edd1..10d0839aa 100644 --- a/ci/conda/build.sh +++ b/ci/conda/build.sh @@ -1,38 +1,30 @@ # make an in source build do to some problems with install -if [ "$PY3K" == "1" ]; then - MY_PY_VER="${PY_VER}m" -else - MY_PY_VER="${PY_VER}" -fi - -if [ $(uname) == Darwin ]; then - PY_LIB="libpython${MY_PY_VER}.dylib" -else - PY_LIB="libpython${MY_PY_VER}.so" +declare -a CMAKE_PLATFORM_FLAGS +if [[ ${HOST} =~ .*linux.* ]]; then + CMAKE_PLATFORM_FLAGS+=(-DCMAKE_TOOLCHAIN_FILE="${RECIPE_DIR}/cross-linux.cmake") fi # Configure step cmake -G Ninja -DCMAKE_INSTALL_PREFIX=$PREFIX \ -DPYTHONOCC_BUILD_TYPE=Release \ + ${CMAKE_PLATFORM_FLAGS[@]} \ -DCMAKE_PREFIX_PATH=$PREFIX \ -DCMAKE_SYSTEM_PREFIX_PATH=$PREFIX \ - -DPYTHON_EXECUTABLE:FILEPATH=$PYTHON \ - -DPYTHON_INCLUDE_DIR:PATH=$PREFIX/include/python$MY_PY_VER \ - -DPYTHON_LIBRARY:FILEPATH=$PREFIX/lib/${PY_LIB} \ - -DPYTHON_LIBRARY:FILEPATH=$PREFIX/lib/${PY_LIB} \ - -DPYTHONOCC_WRAP_SMESH=ON \ - -DSMESH_INCLUDE_PATH:PATH=$PREFIX/include/smesh \ - -DSMESH_LIB_PATH:PATH=$PREFIX/lib \ + -DPython3_FIND_STRATEGY=LOCATION \ + -DPython3_FIND_FRAMEWORK=NEVER \ + -DSWIG_HIDE_WARNINGS=ON \ . + # Build step -# on linux travis, limit the number of concurrent jobs otherwise -# gcc gets out of memory -ninja -j 6 install +ninja + +# Install step +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 new file mode 100644 index 000000000..8a4eef150 --- /dev/null +++ b/ci/conda/conda_build_config.yaml @@ -0,0 +1,8 @@ +CONDA_BUILD_SYSROOT: +- /opt/MacOSX10.9.sdk # [osx] + +c_compiler: + - vs2015 # [win] + +cxx_compiler: + - vs2015 # [win] \ No newline at end of file diff --git a/ci/conda/cross-linux.cmake b/ci/conda/cross-linux.cmake new file mode 100644 index 000000000..1693e0327 --- /dev/null +++ b/ci/conda/cross-linux.cmake @@ -0,0 +1,16 @@ +# this one is important +set(CMAKE_SYSTEM_NAME Linux) +set(CMAKE_PLATFORM Linux) + +# specify the cross compiler +set(CMAKE_C_COMPILER $ENV{CC}) +set(CMAKE_CXX_COMPILER $ENV{CXX}) + +# where is the target environment +set(CMAKE_FIND_ROOT_PATH $ENV{PREFIX} $ENV{BUILD_PREFIX}/$ENV{HOST}/sysroot) + +# search for programs in the build host directories +set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER) +# for libraries and headers in the target directories +set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY) +set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY) diff --git a/ci/conda/meta.yaml b/ci/conda/meta.yaml index 93d8fec26..052e34095 100644 --- a/ci/conda/meta.yaml +++ b/ci/conda/meta.yaml @@ -1,46 +1,41 @@ -# change the version number to "0.17.1" or "0.18" in case of a release build +{% set version = "7.4.0beta" %} + package: name: pythonocc-core - version: 0.18.2 + version: {{ version }} source: path: ../.. build: - script_env: - - CC - - CXX - number: {{ GIT_DESCRIBE_NUMBER }} binary_relocation: false [osx] requirements: build: - - python - - oce ==0.18.3 - - tbb - - tbb-devel + - {{ compiler('cxx') }} + - {{ cdt('libx11-devel') }} # [linux] + - {{ cdt('xorg-x11-proto-devel') }} # [linux] + - {{ cdt('mesa-libgl-devel') }} # [linux] + - ninja - cmake - - ninja ==1.8.2 - - swig ==3.0.12 - - freetype >=2.9 - - smesh ==6.7.6 + - swig >=3.0.11 + + host: + - python {{ python }} + - opencascade ==7.4.0 run: - - oce ==0.18.3 - - python - - tbb - - freetype - - smesh ==6.7.6 - - six + - opencascade ==7.4.0 + - python {{ python }} test: imports: - OCC - OCC.Core.BRepPrimAPI - - + requires: + - pyqt >=5 about: home: https://github.com/tpaviot/pythonocc-core diff --git a/cmake/OCE_Modules.cmake b/cmake/OCE_Modules.cmake index 25ff07cf6..4677b8b32 100644 --- a/cmake/OCE_Modules.cmake +++ b/cmake/OCE_Modules.cmake @@ -1,314 +1,358 @@ LIST(APPEND OCE_TOOLKIT_MODEL -# TKERNEL - FSD - MMgt - OSD - Plugin - Quantity - Resource - SortTools - Standard - StdFail - Storage - TColStd - TCollection - TShort - Units - UnitsAPI - IncludeLibrary - Dico - NCollection - Message + +# TKernel + FSD + MMgt + OSD + Plugin + Quantity + Resource + Standard + StdFail + Storage + TColStd + TCollection + TShort + Units + UnitsAPI + NCollection + Message # TKMath - math - ElCLib - ElSLib - BSplCLib - BSplSLib - PLib - Precision - GeomAbs - Poly - CSLib - Convert - Bnd - gp - TColgp - TopLoc -# TKAdvTools - Dynamic - Materials - Expr - ExprIntrp - GraphDS - GraphTools + math + ElCLib + ElSLib + BSplCLib + BSplSLib + PLib + Precision + GeomAbs + Poly + CSLib + Convert + Bnd + gp + TColgp + TopLoc + BVH + Expr + ExprIntrp +# TKBRep + TopoDS + TopExp + TopTools + BRep + BRepLProp + BRepAdaptor + BRepTools + BinTools # TKG2d - Geom2d - LProp - TColGeom2d - Adaptor2d - Geom2dLProp - Geom2dAdaptor - GProp + Geom2d + LProp + TColGeom2d + Adaptor2d + Geom2dLProp + Geom2dAdaptor + Geom2dEvaluator # TKG3d - Geom - TColGeom - GeomAdaptor - AdvApprox - GeomLProp - Adaptor3d - LProp3d - TopAbs + Geom + GProp + TColGeom + GeomAdaptor + AdvApprox + GeomLProp + Adaptor3d + LProp3d + TopAbs + GeomEvaluator # TKGeomBase - ProjLib - GeomProjLib - GCPnts - CPnts - Approx - AppParCurves - FEmTool - AppCont - Extrema - IntAna - IntAna2d - GeomConvert - AdvApp2Var - GeomLib - Geom2dConvert - Hermit - BndLib - AppDef - GeomTools - GC - GCE2d - gce -# TKBRep - TopoDS - TopExp - TopTools - BRep - BRepLProp - BRepAdaptor - BRepTools -# TKGeomAlgo - Hatch - GeomInt - IntStart - IntWalk - IntImp - IntCurveSurface - IntSurf - IntPatch - Geom2dInt - IntImpParGen - IntRes2d - IntCurve - TopTrans - Intf - ApproxInt - GccAna - GccEnt - GccInt - GccIter - GccGeo - HatchGen - Geom2dHatch - Law - AppBlend - Plate - GeomPlate - LocalAnalysis - GeomAPI - GeomFill - Geom2dAPI - Geom2dGcc - FairCurve - NLPlate - IntPolyh - TopClass -# TKTopAlgo - IntCurvesFace - MAT - MAT2d - Bisector - BRepMAT2d - BRepCheck - BRepBndLib - BRepExtrema - BRepClass - BRepClass3d - BRepLib - BRepGProp - BRepIntCurveSurface - BRepTopAdaptor - BRepBuilderAPI - BRepApprox -# TKPrim - BRepPrim - Primitives - BRepSweep - Sweep - BRepPrimAPI + ProjLib + GeomProjLib + GCPnts + CPnts + Approx + AppParCurves + FEmTool + AppCont + Extrema + IntAna + IntAna2d + GeomConvert + AdvApp2Var + GeomLib + Geom2dConvert + Hermit + BndLib + AppDef + GeomTools + GC + GCE2d + gce # TKBO - IntTools - BRepAlgoAPI - BOPCol - BOPInt - BOPDS - BOPAlgo - BOPTools + IntTools + BRepAlgoAPI + BOPDS + BOPAlgo + BOPTools +# TKBool + TopOpeBRep + TopOpeBRepDS + TopOpeBRepBuild + TopOpeBRepTool + BRepAlgo + BRepFill + BRepProj +# TKFeat + LocOpe + BRepFeat +# TKFillet + ChFiDS + ChFi2d + ChFi3d + ChFiKPart + Blend + BRepBlend + BlendFunc + BRepFilletAPI + FilletSurf +# TKGeomAlgo + Hatch + GeomInt + IntStart + IntWalk + IntImp + IntCurveSurface + IntSurf + IntPatch + Geom2dInt + IntImpParGen + IntRes2d + IntCurve + TopTrans + Intf + ApproxInt + GccAna + GccEnt + GccInt + HatchGen + Geom2dHatch + Law + AppBlend + Plate + GeomPlate + LocalAnalysis + GeomAPI + GeomFill + Geom2dAPI + Geom2dGcc + FairCurve + NLPlate + IntPolyh + TopClass # TKHLR - HLRTopoBRep - HLRBRep - HLRAlgo - HLRAppli - Intrv - TopBas - TopCnx - Contap + HLRTopoBRep + HLRBRep + HLRAlgo + HLRAppli + Intrv + TopBas + TopCnx + Contap # TKMesh - BRepMesh - IntPoly + BRepMesh + BRepMeshData + IMeshTools + IMeshData +# TKOffset + BRepOffsetAPI + Draft + BRepOffset + BiTgte +# TKPrim + BRepPrim + BRepSweep + Sweep + BRepPrimAPI # TKShHealing - ShapeBuild - ShapeExtend - ShapeConstruct - ShapeCustom - ShapeAnalysis - ShapeFix - ShapeUpgrade - ShapeAlgo - ShapeProcess - ShapeProcessAPI + ShapeBuild + ShapeExtend + ShapeConstruct + ShapeCustom + ShapeAnalysis + ShapeFix + ShapeUpgrade + ShapeAlgo + ShapeProcess + ShapeProcessAPI +# TKTopAlgo + IntCurvesFace + MAT + MAT2d + Bisector + BRepMAT2d + BRepCheck + BRepBndLib + BRepExtrema + BRepClass + BRepClass3d + BRepLib + BRepGProp + BRepIntCurveSurface + BRepTopAdaptor + BRepBuilderAPI + BRepApprox # TKXMesh - XBRepMesh -# TKBool - TopOpeBRep - TopOpeBRepDS - TopOpeBRepBuild - TopOpeBRepTool - BRepAlgo - BRepFill - BRepProj -# TKFillet - ChFiDS - ChFi2d - ChFi3d - ChFiKPart - Blend - BRepBlend - BlendFunc - BRepFilletAPI - FilletSurf -# TKFeat - LocOpe - BRepFeat -# TKOffset - BRepOffsetAPI - Draft - BRepOffset - BiTgte + XBRepMesh ) LIST(APPEND OCE_TOOLKIT_VISUALIZATION -# TKVoxel - Voxel -# TKMeshVS - MeshVS + # TKService - Aspect - SelectBasics - Image - InterfaceGraphic - TColQuantity -# TKNIS - NIS + Aspect + SelectBasics + Image + InterfaceGraphic + TColQuantity # TKV3d - V3d - Graphic3d - Visual3d - Select3D - Prs3d - StdPrs - SelectMgr - PrsMgr - AIS - DsgPrs - StdSelect - ) + V3d + Graphic3d + Visual3d + Select3D + Prs3d + StdPrs + SelectMgr + PrsMgr + AIS + DsgPrs + StdSelect +# TKMeshVS + MeshVS +) LIST(APPEND OCE_TOOLKIT_DATAEXCHANGE + +# TKBinXCAF + BinXCAFDrivers + BinMXCAFDoc # TKIGES - IGESControl -# TKSTEPAttr - RWStepDimTol - RWStepVisual - StepDimTol - StepVisual + IGESControl + IGESData + IGESToBRep +# TKRWMesh + RWGltf + RWObj # TKSTEP - StepAP214 - RWStepAP214 - StepAP203 - RWStepAP203 - STEPConstruct - STEPEdit - GeomToStep - StepToGeom - StepToTopoDS - TopoDSToStep - STEPControl - STEPSelections - StepAP209 + StepAP214 + RWStepAP214 + StepAP203 + RWStepAP203 + STEPConstruct + STEPEdit + GeomToStep + StepToGeom + StepToTopoDS + TopoDSToStep + STEPControl + STEPSelections + StepAP209 + RWStepAP242 + StepAP242 # TKSTEP209 - RWStepElement - RWStepFEA - StepElement - StepFEA -# TKSTL - StlMesh - StlAPI - StlTransfer - RWStl + RWStepElement + RWStepFEA + StepElement + StepFEA +# TKSTEPAttr + RWStepDimTol + RWStepVisual + StepDimTol + StepVisual # TKSTEPBase - StepBasic - RWStepBasic - StepRepr - RWStepRepr - StepGeom - RWStepGeom - StepShape - RWStepShape + StepBasic + RWStepBasic + StepRepr + RWStepRepr + StepGeom + RWStepGeom + StepShape + RWStepShape + StepData +# TKSTL + StlAPI + RWStl +# TKVRML + Vrml + VrmlAPI + VrmlConverter + VrmlData +# TKXCAF + XCAFApp + XCAFDimTolObjects + XCAFDoc + XCAFPrs + XCAFView + XCAFNoteObjects +# TKXDEIGES + IGESCAFControl +# TKXDESTEP + STEPCAFControl # TKXSBase - Interface - IFSelect - XSControl - Transfer - TransferBRep - ) + Interface + IFSelect + XSControl + Transfer + TransferBRep + MoniTool +# TKXmlXCAF + XmlXCAFDrivers + XmlMXCAFDoc +) LIST(APPEND OCE_TOOLKIT_OCAF + +# TKBin + BinDrivers + BinMDataXtd + BinMNaming +# TKBinL + BinLDrivers + BinMDF + BinMDataStd + BinMDocStd + BinMFunction + BinObjMgt +# TKBinTObj + BinTObjDrivers # TKCAF - TDataXtd - TNaming - TPrsStd - AppStd -# TKLCAF - TDF - TDataStd - TFunction - TDocStd - AppStdL + TDataXtd + TNaming + AppStd # TKCDF - CDF - CDM - PCDM - UTL -# TKXCAF - XCAFApp - XCAFDoc - XCAFPrs -# TKXDESTEP - STEPCAFControl -# TKXDEIGES - IGESCAFControl - ) + CDF + CDM + LDOM + PCDM + UTL +# TKLCAF + TDF + TDataStd + TFunction + TDocStd + AppStdL +# TKTObj + TObj +# TKVAF + TPrsStd +# TKXml + XmlDrivers + XmlMDataXtd + XmlMNaming +# TKXmlL + XmlLDrivers + XmlMDF + XmlMDataStd + XmlMDocStd + XmlMFunction + XmlObjMgt +# TKXmlTObj + XmlTObjDrivers +) diff --git a/cmake/__init__.py b/cmake/__init__.py index 98c99ed44..81327853b 100644 --- a/cmake/__init__.py +++ b/cmake/__init__.py @@ -1,10 +1,10 @@ import unittest -PYTHONOCC_VERSION_MAJOR = 0 -PYTHONOCC_VERSION_MINOR = 18 -PYTHONOCC_VERSION_PATCH = 2 +PYTHONOCC_VERSION_MAJOR = 7 +PYTHONOCC_VERSION_MINOR = 4 +PYTHONOCC_VERSION_PATCH = 0 # Empty for official releases, set to -dev, -rc1, etc for development releases -PYTHONOCC_VERSION_DEVEL = '' +PYTHONOCC_VERSION_DEVEL = 'beta' VERSION = "%s.%s.%s%s" % (PYTHONOCC_VERSION_MAJOR, PYTHONOCC_VERSION_MINOR, PYTHONOCC_VERSION_PATCH, PYTHONOCC_VERSION_DEVEL) diff --git a/src/Addons/Addons.h b/src/Addons/Addons.h deleted file mode 100644 index 03af6591f..000000000 --- a/src/Addons/Addons.h +++ /dev/null @@ -1,31 +0,0 @@ -/* -##Copyright 2016 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 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 . -*/ - -#if !defined __Addons__ -#define __Addons__ - -#include -#include -#include - -TopoDS_Shape text_to_brep(char *text_to_render, char* aFontName, Font_FontAspect aFontAspect, Standard_Real aSize, Standard_Boolean isCompositeCurve); -void display_available_fonts(); -void register_font(char* aFontPath); - -#endif diff --git a/src/Addons/Addons.i b/src/Addons/Addons.i deleted file mode 100644 index 3914cdb07..000000000 --- a/src/Addons/Addons.i +++ /dev/null @@ -1,171 +0,0 @@ -/* -##Copyright 2016 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 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 . -*/ - -%module(package="OCC") Addons - -%include ../SWIG_files/common/ExceptionCatcher.i - -%{ -#include -#include -#include -#include -%} - -// Font related functions -enum Font_FontAspect -{ -Font_FA_Undefined = 0, -Font_FA_Regular = 1, -Font_FA_Bold = 2, -Font_FA_Italic = 3, -Font_FA_BoldItalic = 4 -}; - - - -%feature("compactdefaultargs") text_to_brep; -%feature("autodoc", " * Creates a shape of the given text. - :param text_to_render: Text to render - :type text_to_render: char * - :param aFontName: Font name - :type aFontName: char * - :param aFontAspect: Fontaspect, Font_FA_Regular, Font_FA_Bold, Font_FA_Italic or Font_FA_BoldItalic - :type aFontAspect: Font_FontAspect - :param aSize: Size of the font - :type aSize: float - :param isCompositeCurve: - :type isCompositeCurve: bool - :rtype: TopoDS_Shape -") text_to_brep; -TopoDS_Shape text_to_brep(char *text_to_render, char *aFontName, Font_FontAspect aFontAspect, float aSize, bool isCompositeCurve); - -%feature("compactdefaultargs") display_available_fonts; -%feature("autodoc", " * Prints a list of all available fonts. - :rtype: void -") display_available_fonts; -void display_available_fonts(); - -%feature("compactdefaultargs") register_font; -%feature("autodoc", " * Add a font to the available font list. - :param aFontPath: Path to the font. - :type aFontPath: char * - :rtype: void -") register_font; -void register_font(char *aFontPath); - - -class TextItem { - public: - - %feature("compactdefaultargs") TextItem; - %feature("autodoc", " * Displays a text in the screen - :param theText: Text to display - :type theText: const TCollection_AsciiString& - :param theX1: X-Position on the display - :type theX1: float - :param theY1: Y-Position on the display - :type theY1: float - :param theHeight: Size of the font - :type theHeight: float - :param theFontName: Name of the font - :type theFontName: const TCollection_AsciiString& - :param theColor: Rgb color. E.g. Quantity_Color(0..1, 0..1, 0..1, 1) - :type theColor: const Quantity_Color& - :param theSubtitleColor: Rgb color of the sub title - :type theSubtitleColor: const Quantity_Color& - :param theTypeOfDisplay: Type of display, e.g. Aspect_TODT_NORMAL, Aspect_TODT_SUBTITLE, Aspect_TODT_DEKALE - :type theTypeOfDisplay: int - :param theLayer: - :type: const Handle_Visual3d_Layer& - :param ScrollX: - :type: const float - :param ScrollY: - :type: const float -") TextItem; - TextItem(const TCollection_AsciiString& theText, - float theX1, - float theY1, - float theHeight, - const TCollection_AsciiString& theFontName, - const Quantity_Color& theColor, - const Quantity_Color& theSubtitleColor, - int theTypeOfDisplay, - const Handle_Visual3d_Layer& theLayer, - float ScrollX=0.0, - float ScrollY=0.0); - void RedrawLayerPrs(); -}; - - - -class LineItem { - public: - %feature("compactdefaultargs") LineItem; - %feature("autodoc", " * Creates a shape of the given text - :param X1: X-Position of the first point - :type X1: float - :param Y1: Y-Position of the first point - :type Y1: float - :param X2: X-Position of the second point - :type X2: float - :param Y2: Y-Position of the second point - :type Y2: float - :param theLayer: The Layer - :type theLayer: const Handle_Visual3d_Layer& - :param theType: Type of line: 0..10 - :type theType: int - :param theWidth: Width of the line - :type theWidth: float - :param theTransp: Transparency: 0..1 - :type theTransp: float - :param theColor: Rgb color - :type theColor: const Quantity_Color & - -") LineItem; - LineItem(float X1, float Y1, - float X2, float Y2, - const Handle_Visual3d_Layer& theLayer, - int theType, - float theWidth=0.5, - float theTransp=1, - const Quantity_Color& theColor=Quantity_Color(Quantity_NOC_WHITE)); - void RedrawLayerPrs(); -}; - - -class TextureItem { -public: - %feature("compactdefaultargs") TextureItem; - %feature("autodoc", " * Creates a shape of the given text - :param theImageFilename: Path to the image - :type theImageFilename: const TCollection_AsciiString& - :param theView: The display view - :type theView: V3d_View * - :param theLayer: Layer for the texture - :type theLayer: const Handle_Visual3d_Layer& - -") TextureItem; - TextureItem(const TCollection_AsciiString& theImageFilename, - const Handle_Visual3d_Layer& theLayer); - // redraw method - void RedrawLayerPrs(); - // set position - void SetPosition(int x_abs, int y_abs); -}; diff --git a/src/Addons/Font3d.cpp b/src/Addons/Font3d.cpp deleted file mode 100644 index 0bc150d72..000000000 --- a/src/Addons/Font3d.cpp +++ /dev/null @@ -1,66 +0,0 @@ -/* -##Copyright 2016 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 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 . -*/ - -#include "Addons.h" - -// converts text to brep -TopoDS_Shape text_to_brep(char *text_to_render, char* aFontName, Font_FontAspect aFontAspect, Standard_Real aSize, Standard_Boolean isCompositeCurve) { - Font_BRepFont aFont; - aFont.SetCompositeCurveMode(isCompositeCurve); - if (aFont.Init (aFontName, aFontAspect, aSize)) - { - std::cout << "Font " << aFontName << " succesffuly initialized.\n"; - } - else { - std::cerr << "Font " << aFontName << " initialization failed.\n"; - } - return aFont.RenderText(text_to_render); -} - -// display_available_fonts -void display_available_fonts() { - Handle(Font_FontMgr) aMgr = Font_FontMgr::GetInstance(); - for (Font_NListOfSystemFont::Iterator anIter (aMgr->GetAvailableFonts()); - anIter.More(); anIter.Next()) - { - const Handle(Font_SystemFont)& aFont = anIter.Value(); - std::cout << (aFont->FontName()->String()).ToCString() - << " " << aFont->FontAspect() - << " " << (aFont->FontPath()->String()).ToCString() << "_\n"; - } - } - -// register a new font given the font path -// returns the font name -void register_font(char* aFontPath) { - Handle(Font_FontMgr) aMgr = Font_FontMgr::GetInstance(); - Font_FontAspect aFontAspect; - Handle(Font_SystemFont) aFont = aMgr->CheckFont (aFontPath); - if (aFont.IsNull()) - { - std::cerr << "Error: font '" << aFontPath << "' is not found!\n"; - } - else { - aFontAspect = aFont->FontAspect(); - Handle(TCollection_HAsciiString) aName = aFont->FontName(); - aFont = new Font_SystemFont (aName, aFontAspect, new TCollection_HAsciiString (aFontPath)); - aMgr->RegisterFont (aFont, Standard_True); - std::cout << "Font name:" << aName->String() << ", Aspect:" << aFontAspect << " successfully registered.\n"; - } -} diff --git a/src/Addons/LineItem.cpp b/src/Addons/LineItem.cpp deleted file mode 100644 index 8c9f1e055..000000000 --- a/src/Addons/LineItem.cpp +++ /dev/null @@ -1,51 +0,0 @@ -/* -##Copyright 2017 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 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 . -*/ - -#include "LineItem.h" - - -// default constructor for line item -LineItem::LineItem(Standard_Real X1, Standard_Real Y1, - Standard_Real X2, Standard_Real Y2, - const Handle(Visual3d_Layer)& theLayer, - int theType, - Standard_Real theWidth, - Standard_Real theTransp, - const Quantity_Color& theColor) : - myX1(X1), myY1(Y1), myX2(X2), myY2(Y2), - myWidth(theWidth), myTransparency(theTransp), - myType(theType), myLayer(theLayer), myColor (theColor) -{ - if (!myLayer.IsNull ()) - myLayer->AddLayerItem (this); -} - -// render line -void LineItem::RedrawLayerPrs () -{ - if (myLayer.IsNull ()) - return; - myLayer->SetColor(myColor); - myLayer->SetTransparency((Standard_ShortReal)myTransparency); - myLayer->SetLineAttributes((Aspect_TypeOfLine)myType, myWidth); - myLayer->BeginPolyline(); - myLayer->AddVertex(myX1, myY1); - myLayer->AddVertex(myX2, myY2); - myLayer->ClosePrimitive(); -} diff --git a/src/Addons/LineItem.h b/src/Addons/LineItem.h deleted file mode 100644 index 98e6db9a6..000000000 --- a/src/Addons/LineItem.h +++ /dev/null @@ -1,53 +0,0 @@ -/* -##Copyright 2017 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 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 . -*/ - -#if !defined __LineItem__ -#define __LineItem__ - -#include -#include -#include - -DEFINE_STANDARD_HANDLE(LineItem, Visual3d_LayerItem) - -// this class provides a presentation of text item in v3d view under-/overlayer -class LineItem : public Visual3d_LayerItem -{ -public: - // constructor - LineItem(Standard_Real X1, Standard_Real Y1, - Standard_Real X2, Standard_Real Y2, - const Handle(Visual3d_Layer)& theLayer, - int theType = (int)Aspect_TOL_SOLID, - Standard_Real theWidth = 0.5, - Standard_Real theTransp = 1.0, - const Quantity_Color& theColor = Quantity_Color(Quantity_NOC_WHITE)); - // redraw method - void RedrawLayerPrs(); - -private: - Standard_Real myX1, myY1, myX2, myY2; - Standard_Real myWidth; - Standard_Real myTransparency; - int myType; - Handle(Visual3d_Layer) myLayer; - Quantity_Color myColor; -}; - -#endif diff --git a/src/Addons/TextItem.cpp b/src/Addons/TextItem.cpp deleted file mode 100644 index f3fb1ab77..000000000 --- a/src/Addons/TextItem.cpp +++ /dev/null @@ -1,59 +0,0 @@ -/* -##Copyright 2017 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 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 . -*/ - -#include "TextItem.h" - - -// create and add to display the text item -TextItem::TextItem (const TCollection_AsciiString& theText, - const Standard_Real theX1, - const Standard_Real theY1, - const Standard_Real theHeight, - const TCollection_AsciiString& theFontName, - const Quantity_Color& theColor, - const Quantity_Color& theSubtitleColor, - int theTypeOfDisplay, - const Handle(Visual3d_Layer)& theLayer, - const Standard_Real scrollX, - const Standard_Real scrollY) - : myX1 (theX1), myY1 (theY1), - myScrollX(scrollX), myScrollY(scrollY), - myText (theText), - myHeight (theHeight), - myLayer (theLayer), - myColor (theColor), - mySubtitleColor (theSubtitleColor), - myType ((Aspect_TypeOfDisplayText) theTypeOfDisplay), - myFontName (theFontName) -{ - if (!myLayer.IsNull ()) - myLayer->AddLayerItem (this); -} - -// render item -void TextItem::RedrawLayerPrs () -{ - if (myLayer.IsNull ()) - return; - myLayer->SetColor (myColor); - myLayer->SetTextAttributes (myFontName.ToCString (), myType, mySubtitleColor); - myX1 += myScrollX; - myY1 += myScrollY; - myLayer->DrawText (myText.ToCString (), myX1, myY1, myHeight); -} diff --git a/src/Addons/TextItem.h b/src/Addons/TextItem.h deleted file mode 100644 index 7f22405a9..000000000 --- a/src/Addons/TextItem.h +++ /dev/null @@ -1,64 +0,0 @@ -/* -##Copyright 2017 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 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 . -*/ - -#if !defined __TextItem__ -#define __TextItem__ - -#include -#include -#include - -DEFINE_STANDARD_HANDLE(TextItem, Visual3d_LayerItem) - -// this class provides a presentation of text item in v3d view under-/overlayer -class TextItem : public Visual3d_LayerItem -{ -public: - // constructor - TextItem(const TCollection_AsciiString& theText, - const Standard_Real theX1, - const Standard_Real theY1, - const Standard_Real theHeight, - const TCollection_AsciiString& theFontName, - const Quantity_Color& theColor, - const Quantity_Color& theSubtitleColor, - int theTypeOfDisplay, - const Handle(Visual3d_Layer)& theLayer, - const Standard_Real scrollX=0.0, - const Standard_Real scrollY=0.0); - - // redraw method - void RedrawLayerPrs(); - -private: - - Standard_Real myX1; - Standard_Real myY1; - TCollection_AsciiString myText; - Standard_Real myHeight; - Handle(Visual3d_Layer) myLayer; - Quantity_Color myColor; - Quantity_Color mySubtitleColor; - Aspect_TypeOfDisplayText myType; - TCollection_AsciiString myFontName; - Standard_Real myScrollX; - Standard_Real myScrollY; -}; - -#endif diff --git a/src/Addons/TextureItem.cpp b/src/Addons/TextureItem.cpp deleted file mode 100644 index 8a4f6e998..000000000 --- a/src/Addons/TextureItem.cpp +++ /dev/null @@ -1,98 +0,0 @@ -/* -##Copyright 2017 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 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 . -*/ - -#include "TextureItem.h" - -#include - -TextureItem::TextureItem (const TCollection_AsciiString& theImageFilename, - const Handle(Visual3d_Layer)& theLayer): - myLayer(theLayer), x(0), y(0), myTextureId (-1) -{ - Handle(Image_AlienPixMap) theImage=new Image_AlienPixMap(); - theImage->Load(theImageFilename); - if (!theImage.IsNull()) { - myW = theImage->Width(); - myH = theImage->Height(); - - unsigned char *aData = (unsigned char*)Standard::Allocate ((myW * myH) << 2); - unsigned char *p = aData; - Standard_Integer i, j; - Quantity_Color aColor; - Quantity_Parameter theAlpha; - - for ( j = 0; j < myH; j++) { - for ( i = 0; i < myW; i++ ) { - aColor = theImage->PixelColor (i, j, theAlpha); - *p++ = (unsigned char)(255 * aColor.Red()); - *p++ = (unsigned char)(255 * aColor.Green()); - *p++ = (unsigned char)(255 * aColor.Blue()); - *p++ = (unsigned char)(255 * theAlpha); - } - } - Init (aData); - } - if (!myLayer.IsNull ()) - myLayer->AddLayerItem (this); -} - -/*! Destroys the object and frees all allocated resources. -*/ -TextureItem::~TextureItem() -{ - if (myTextureId > 0) - glDeleteTextures (1, &myTextureId); - myTextureId = -1; -} - -void TextureItem::Init(unsigned char* theData) -{ - glGenTextures(1, &myTextureId); - glBindTexture(GL_TEXTURE_2D, myTextureId); - - glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_CLAMP); - glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_CLAMP); - glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR); - glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR); - - glPixelStorei(GL_UNPACK_ALIGNMENT, 4); - glTexImage2D(GL_TEXTURE_2D, 0, 4, myW, myH, 0, GL_RGBA, GL_UNSIGNED_BYTE, theData); - - Standard_Address aData = theData; - Standard::Free (aData); -} - -// render item -void TextureItem::RedrawLayerPrs () -{ - glEnable(GL_TEXTURE_2D); - glEnable(GL_BLEND); - glBindTexture(GL_TEXTURE_2D, myTextureId); - glTexEnvi(GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, GL_REPLACE); - glBegin(GL_QUADS); - - glTexCoord2f (0.0f, 0.0f); glVertex2f (x, y); - glTexCoord2f (1.0f, 0.0f); glVertex2f (x + myW, y); - glTexCoord2f (1.0f, 1.0f); glVertex2f (x + myW, y + myH); - glTexCoord2f (0.0f, 1.0f); glVertex2f (x, y + myH); - - glEnd(); - glDisable(GL_BLEND); - glDisable(GL_TEXTURE_2D); -} diff --git a/src/Addons/TextureItem.h b/src/Addons/TextureItem.h deleted file mode 100644 index 37bb7e4ee..000000000 --- a/src/Addons/TextureItem.h +++ /dev/null @@ -1,60 +0,0 @@ -/* -##Copyright 2017 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 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 . -*/ - -#if !defined __TextureItem__ -#define __TextureItem__ - -#include -#include -#include -#include -#include - -DEFINE_STANDARD_HANDLE(TextureItem, Visual3d_LayerItem) - -// this class provides a presentation of text item in v3d view under-/overlayer -class TextureItem : public Visual3d_LayerItem -{ -public: - // constructor - TextureItem (const TCollection_AsciiString& theImageFilename, - const Handle(Visual3d_Layer)& theLayer); - - // Destructor. - ~TextureItem(); - - // redraw method - void RedrawLayerPrs(); - - //! Sets texture position in the view port. - void SetPosition(int x_abs, int y_abs) {x=x_abs;y=y_abs;} - -private: - //! Allocates and initializes the texture. - void Init (unsigned char* theData); - Aspect_TypeOfConstraint myPos; - unsigned int myTextureId; - Handle(Visual3d_Layer) myLayer; - int myH; - int myW; - int x; - int y; -}; - -#endif diff --git a/src/Display/OCCViewer.py b/src/Display/OCCViewer.py index 011829eca..cd5499bbb 100644 --- a/src/Display/OCCViewer.py +++ b/src/Display/OCCViewer.py @@ -28,7 +28,7 @@ import OCC from OCC.Core.Aspect import Aspect_GFM_VER -from OCC.Core.AIS import AIS_Shape, AIS_Shaded, AIS_TexturedShape, AIS_WireFrame +from OCC.Core.AIS import AIS_Shape, AIS_Shaded, AIS_TexturedShape, AIS_WireFrame, AIS_Shape_SelectionMode from OCC.Core.TopoDS import TopoDS_Shape from OCC.Core.gp import gp_Dir, gp_Pnt, gp_Pnt2d, gp_Vec from OCC.Core.BRepBuilderAPI import (BRepBuilderAPI_MakeVertex, @@ -40,22 +40,24 @@ from OCC.Core.Geom import Geom_Curve, Geom_Surface from OCC.Core.Geom2d import Geom2d_Curve from OCC.Core.Visualization import Display3d -from OCC.Core.V3d import (V3d_ZBUFFER, V3d_PHONG, V3d_Zpos, V3d_Zneg, V3d_Xpos, - V3d_Xneg, V3d_Ypos, V3d_Yneg, V3d_XposYnegZpos, V3d_TEX_ALL, - V3d_TEX_NONE, V3d_TEX_ENVIRONMENT, - V3d_LayerMgr) +from OCC.Core.V3d import (V3d_ZBUFFER, V3d_Zpos, V3d_Zneg, V3d_Xpos, + V3d_Xneg, V3d_Ypos, V3d_Yneg, V3d_XposYnegZpos) from OCC.Core.TCollection import TCollection_ExtendedString, TCollection_AsciiString from OCC.Core.Quantity import (Quantity_Color, Quantity_TOC_RGB, Quantity_NOC_WHITE, Quantity_NOC_BLACK, Quantity_NOC_BLUE1, Quantity_NOC_CYAN1, Quantity_NOC_RED, Quantity_NOC_GREEN, Quantity_NOC_ORANGE, Quantity_NOC_YELLOW) -from OCC.Core.Prs3d import Prs3d_Arrow, Prs3d_Presentation, Prs3d_Text, Prs3d_TextAspect +from OCC.Core.Prs3d import Prs3d_Arrow, Prs3d_Text, Prs3d_TextAspect from OCC.Core.Graphic3d import (Graphic3d_NOM_NEON_GNC, Graphic3d_NOT_ENV_CLOUDS, - Handle_Graphic3d_TextureEnv, Graphic3d_TextureEnv, + Handle_Graphic3d_TextureEnv_Create, Graphic3d_TextureEnv, Graphic3d_Camera, Graphic3d_RM_RAYTRACING, Graphic3d_RM_RASTERIZATION, Graphic3d_StereoMode_QuadBuffer, - Graphic3d_RenderingParams) + Graphic3d_RenderingParams, + Graphic3d_MaterialAspect, + Graphic3d_TOSM_FRAGMENT, + Graphic3d_Structure + ) from OCC.Core.Aspect import Aspect_TOTP_RIGHT_LOWER, Aspect_FM_STRETCH, Aspect_FM_NONE # Shaders and Units definition must be found by occ @@ -165,7 +167,7 @@ def unregister_callback(self, callback): self._select_callbacks.remove(callback) def MoveTo(self, X, Y): - self.Context.MoveTo(X, Y, self.View) + self.Context.MoveTo(X, Y, self.View, True) def FitAll(self): self.View.ZFitAll() @@ -198,7 +200,7 @@ def Create(self, create_default_lights=True, draw_face_boundaries=True, phong_sh if phong_shading: # gouraud shading by default, prefer phong instead - self.View.SetShadingModel(V3d_PHONG) + self.View.SetShadingModel(Graphic3d_TOSM_FRAGMENT) # the selected elements gray by default, better to use orange... # self.Context.SelectionColor(Quantity_NOC_ORANGE) @@ -207,15 +209,19 @@ def Create(self, create_default_lights=True, draw_face_boundaries=True, phong_sh self._struc_mgr = self.Context.MainPrsMgr().StructureManager() # overlayer - self.OverLayer = self.Viewer.Viewer().OverLayer() - if self.OverLayer is None: - aMgr = V3d_LayerMgr(self.View) - self.OverLayer = aMgr.Overlay() - self.View.SetLayerMgr(aMgr) - print("Layer manager created") - height, width = self.View.Window().Size() - print("Layer dimensions: %i, %i" % (height, width)) - self.OverLayer.SetViewport(height, width) + ## TODO : code below is deprecated + ## for overlayers see + ## https://dev.opencascade.org/doc/overview/html/occt_dev_guides__upgrade.html + ## + # self.OverLayer = self.Viewer.Viewer().OverLayer() + # if self.OverLayer is None: + # aMgr = V3d_LayerMgr(self.View) + # self.OverLayer = aMgr.Overlay() + # self.View.SetLayerMgr(aMgr) + # print("Layer manager created") + # height, width = self.View.Window().Size() + # print("Layer dimensions: %i, %i" % (height, width)) + # self.OverLayer.SetViewport(height, width) # turn self._inited flag to True self._inited = True @@ -228,20 +234,20 @@ def ResetView(self): def Repaint(self): # overlayed objects - self.OverLayer.Begin() - for item in self._overlay_items: - item.RedrawLayerPrs() - self.OverLayer.End() + #self.OverLayer.Begin() + #for item in self._overlay_items: + # item.RedrawLayerPrs() + #self.OverLayer.End() # finally redraw the view self.Viewer.Redraw() def SetModeWireFrame(self): self.View.SetComputedMode(False) - self.Context.SetDisplayMode(AIS_WireFrame) + self.Context.SetDisplayMode(AIS_WireFrame, True) def SetModeShaded(self): self.View.SetComputedMode(False) - self.Context.SetDisplayMode(AIS_Shaded) + self.Context.SetDisplayMode(AIS_Shaded, True) def SetModeHLR(self): self.View.SetComputedMode(True) @@ -287,12 +293,10 @@ def EnableTextureEnv(self, name_of_texture=Graphic3d_NOT_ENV_CLOUDS): """ texture_env = Graphic3d_TextureEnv(name_of_texture) self.View.SetTextureEnv(texture_env) - self.View.SetSurfaceDetail(V3d_TEX_ENVIRONMENT) self.View.Redraw() def DisableTextureEnv(self): - self.View.SetSurfaceDetail(V3d_TEX_NONE) - a_null_texture = Handle_Graphic3d_TextureEnv() + a_null_texture = Handle_Graphic3d_TextureEnv_Create() self.View.SetTextureEnv(a_null_texture) # Passing null handle to clear the texture data self.View.Redraw() @@ -352,7 +356,7 @@ def display_graduated_trihedron(self): def display_triedron(self): """ Show a black triedron in lower right corner """ - self.View.TriedronDisplay(Aspect_TOTP_RIGHT_LOWER, Quantity_NOC_BLACK, 0.1, V3d_ZBUFFER) + self.View.TriedronDisplay(Aspect_TOTP_RIGHT_LOWER, Quantity_Color(Quantity_NOC_BLACK), 0.1, V3d_ZBUFFER) def hide_triedron(self): """ Show a black triedron in lower right corner @@ -390,25 +394,25 @@ def DisplayVector(self, vec, pnt, update=False): """ displays a vector as an arrow """ if self._inited: - aPresentation = Prs3d_Presentation(self._struc_mgr) + aStructure = Graphic3d_Structure(self._struc_mgr) pnt_as_vec = gp_Vec(pnt.X(), pnt.Y(), pnt.Z()) start = pnt_as_vec + vec pnt_start = gp_Pnt(start.X(), start.Y(), start.Z()) Prs3d_Arrow.Draw( - aPresentation, + aStructure, pnt_start, gp_Dir(vec), math.radians(20), vec.Magnitude() ) - aPresentation.Display() + aStructure.Display() # it would be more coherent if a AIS_InteractiveObject # would be returned if update: self.Repaint() - return aPresentation + return aStructure def DisplayMessage(self, point, text_to_write, height=None, message_color=None, update=False): """ @@ -416,7 +420,7 @@ def DisplayMessage(self, point, text_to_write, height=None, message_color=None, :text_to_write: a string :message_color: triple with the range 0-1 """ - aPresentation = Prs3d_Presentation(self._struc_mgr) + aStructure = Graphic3d_Structure(self._struc_mgr) text_aspect = Prs3d_TextAspect() if message_color is not None: @@ -425,16 +429,16 @@ def DisplayMessage(self, point, text_to_write, height=None, message_color=None, text_aspect.SetHeight(height) if isinstance(point, gp_Pnt2d): point = gp_Pnt(point.X(), point.Y(), 0) - Prs3d_Text.Draw(aPresentation, + Prs3d_Text.Draw(aStructure, text_aspect, to_string(text_to_write), point) - aPresentation.Display() + aStructure.Display() # @TODO: it would be more coherent if a AIS_InteractiveObject # is be returned if update: self.Repaint() - return aPresentation + return aStructure def DisplayShape(self, shapes, material=None, texture=None, color=None, transparency=None, update=False): """ display one or a set of displayable objects @@ -474,7 +478,6 @@ def DisplayShape(self, shapes, material=None, texture=None, color=None, transpar for shape in shapes: if material or texture: if texture: - self.View.SetSurfaceDetail(V3d_TEX_ALL) shape_to_display = AIS_TexturedShape(shape) filename, toScaleU, toScaleV, toRepeatU, toRepeatV, originU, originV = texture.GetProperties() shape_to_display.SetTextureFileName(TCollection_AsciiString(filename)) @@ -485,7 +488,7 @@ def DisplayShape(self, shapes, material=None, texture=None, color=None, transpar shape_to_display.SetDisplayMode(3) elif material: shape_to_display = AIS_Shape(shape) - shape_to_display.SetMaterial(material) + shape_to_display.SetMaterial(Graphic3d_MaterialAspect(material)) else: # TODO: can we use .Set to attach all TopoDS_Shapes # to this AIS_Shape instance? @@ -509,10 +512,12 @@ def DisplayShape(self, shapes, material=None, texture=None, color=None, transpar if material is None: #The default material is too shiny to show the object #color well, so I set it to something less reflective - shape_to_display.SetMaterial(Graphic3d_NOM_NEON_GNC) + shape_to_display.SetMaterial(Graphic3d_MaterialAspect(Graphic3d_NOM_NEON_GNC)) if color: if isinstance(color, str): color = get_color_from_name(color) + elif isinstance(color, int): + color = Quantity_Color(color) for shp in ais_shapes: self.Context.SetColor(shp, color, False) if transparency: @@ -538,7 +543,7 @@ def DisplayColoredShape(self, shapes, color='YELLOW', update=False, ): 'CYAN': Quantity_NOC_CYAN1, 'BLACK': Quantity_NOC_BLACK, 'ORANGE': Quantity_NOC_ORANGE} - clr = Quantity_Color(dict_color[color]) + clr = dict_color[color] elif isinstance(color, Quantity_Color): clr = color else: @@ -547,17 +552,19 @@ def DisplayColoredShape(self, shapes, color='YELLOW', update=False, ): return self.DisplayShape(shapes, color=clr, update=update) def EnableAntiAliasing(self): - self.View.SetAntialiasingOn() - self.Repaint() + #self.View.SetAntialiasingOn() + #self.Repaint() + print("Warning: EnableAntiAliasing does not work as exce$") def DisableAntiAliasing(self): - self.View.SetAntialiasingOff() - self.Repaint() + #self.View.SetAntialiasingOff() + #self.Repaint() + print("Warning: DisableAntiAliasing does not work as exce$") def EraseAll(self): # nessecary to remove text added by DisplayMessage self.Context.PurgeDisplay() - self.Context.EraseAll() + self.Context.EraseAll(True) def Tumble(self, num_images, animation=True): self.View.Tumble(num_images, animation) @@ -566,14 +573,12 @@ def Pan(self, dx, dy): self.View.Pan(dx, dy) def SetSelectionMode(self, mode=None): - self.Context.CloseAllContexts() - self.Context.OpenLocalContext() topo_level = next(modes) if mode is None: - self.Context.ActivateStandardMode(topo_level) + self.Context.Activate(AIS_Shape_SelectionMode(topo_level), True) else: - self.Context.ActivateStandardMode(mode) - self.Context.UpdateSelected() + self.Context.Activate(AIS_Shape_SelectionMode(mode), True) + self.Context.UpdateSelected(True) def SetSelectionModeVertex(self): self.SetSelectionMode(TopAbs_VERTEX) @@ -585,10 +590,10 @@ def SetSelectionModeFace(self): self.SetSelectionMode(TopAbs_FACE) def SetSelectionModeShape(self): - self.Context.CloseAllContexts() + self.Context.Deactivate() def SetSelectionModeNeutral(self): - self.Context.CloseAllContexts() + self.Context.Deactivate() def GetSelectedShapes(self): return self.selected_shapes @@ -600,7 +605,7 @@ def GetSelectedShape(self): return self.selected_shape def SelectArea(self, Xmin, Ymin, Xmax, Ymax): - self.Context.Select(Xmin, Ymin, Xmax, Ymax, self.View) + self.Context.Select(Xmin, Ymin, Xmax, Ymax, self.View, True) self.Context.InitSelected() # reinit the selected_shapes list self.selected_shapes = [] @@ -613,7 +618,7 @@ def SelectArea(self, Xmin, Ymin, Xmax, Ymax): callback(self.selected_shapes, Xmin, Ymin, Xmax, Ymax) def Select(self, X, Y): - self.Context.Select() + self.Context.Select(True) self.Context.InitSelected() self.selected_shapes = [] diff --git a/src/Display/SimpleGui.py b/src/Display/SimpleGui.py index ebe2293f3..6e0f4c04a 100644 --- a/src/Display/SimpleGui.py +++ b/src/Display/SimpleGui.py @@ -182,10 +182,11 @@ def add_function_to_menu(self, menu_name, _callable): if not app: # create QApplication if it doesnt exist app = QtWidgets.QApplication(sys.argv) win = MainWindow() + win.resize(size[0] -1, size[1] -1) win.show() - win.resize(size[0], size[1]) win.centerOnScreen() win.canva.InitDriver() + win.resize(size[0], size[1]) win.canva.qApp = app display = win.canva._display diff --git a/src/Display/WebGl/threejs_renderer.py b/src/Display/WebGl/threejs_renderer.py index 56d024e10..3d5d5f091 100644 --- a/src/Display/WebGl/threejs_renderer.py +++ b/src/Display/WebGl/threejs_renderer.py @@ -30,7 +30,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 = "r106" +THREEJS_RELEASE = "r110" def spinning_cursor(): while True: diff --git a/src/Extend/DataExchange.py b/src/Extend/DataExchange.py index 8d3993e66..c3fb812cb 100644 --- a/src/Extend/DataExchange.py +++ b/src/Extend/DataExchange.py @@ -19,10 +19,12 @@ from OCC.Core.TopoDS import TopoDS_Shape from OCC.Core.BRepMesh import BRepMesh_IncrementalMesh -from OCC.Core.StlAPI import StlAPI_Reader, StlAPI_Writer +from OCC.Core.StlAPI import stlapi_Read, StlAPI_Writer from OCC.Core.BRep import BRep_Builder from OCC.Core.TopoDS import TopoDS_Compound from OCC.Core.IGESControl import IGESControl_Reader, IGESControl_Writer +# TODO : ugly, the following line must be imported for STEPControl to be imported +from OCC.Core.StepShape import StepShape_Shell from OCC.Core.STEPControl import STEPControl_Reader, STEPControl_Writer, STEPControl_AsIs from OCC.Core.Interface import Interface_Static_SetCVal from OCC.Core.IFSelect import IFSelect_RetDone, IFSelect_ItemsByEntity @@ -350,9 +352,8 @@ def read_stl_file(filename): if not os.path.isfile(filename): raise FileNotFoundError("%s not found." % filename) - stl_reader = StlAPI_Reader() the_shape = TopoDS_Shape() - stl_reader.Read(the_shape, filename) + stlapi_Read(the_shape, filename) if the_shape.IsNull(): raise AssertionError("Shape is null.") diff --git a/src/Extend/ShapeFactory.py b/src/Extend/ShapeFactory.py index 54775aa0d..d04c0f13b 100644 --- a/src/Extend/ShapeFactory.py +++ b/src/Extend/ShapeFactory.py @@ -44,7 +44,6 @@ def make_edge(*args): def make_edge2d(*args): edge = BRepBuilderAPI_MakeEdge2d(*args) result = edge.Edge() - edge.Delete() return result diff --git a/src/Extend/TopologyUtils.py b/src/Extend/TopologyUtils.py index 2c7dea6d9..27c2a1882 100644 --- a/src/Extend/TopologyUtils.py +++ b/src/Extend/TopologyUtils.py @@ -19,29 +19,30 @@ from __future__ import print_function +from OCC.Core.BRepPrimAPI import BRepPrimAPI_MakeBox, BRepPrimAPI_MakeSphere from OCC.Core.BRep import BRep_Tool from OCC.Core.BRepTools import BRepTools_WireExplorer from OCC.Core.TopAbs import (TopAbs_VERTEX, TopAbs_EDGE, TopAbs_FACE, TopAbs_WIRE, - TopAbs_SHELL, TopAbs_SOLID, TopAbs_COMPOUND, - TopAbs_COMPSOLID) + TopAbs_SHELL, TopAbs_SOLID, TopAbs_COMPOUND, + TopAbs_COMPSOLID) from OCC.Core.TopExp import TopExp_Explorer, topexp_MapShapesAndAncestors from OCC.Core.TopTools import (TopTools_ListOfShape, - TopTools_ListIteratorOfListOfShape, - TopTools_IndexedDataMapOfShapeListOfShape) -from OCC.Core.TopoDS import (TopoDS_Wire, TopoDS_Vertex, TopoDS_Edge, - TopoDS_Face, TopoDS_Shell, TopoDS_Solid, - TopoDS_Compound, TopoDS_CompSolid, topods_Edge, - topods_Vertex, TopoDS_Iterator) + TopTools_ListIteratorOfListOfShape, + TopTools_IndexedDataMapOfShapeListOfShape) +from OCC.Core.TopoDS import (topods, TopoDS_Wire, TopoDS_Vertex, TopoDS_Edge, + TopoDS_Face, TopoDS_Shell, TopoDS_Solid, + TopoDS_Compound, TopoDS_CompSolid, topods_Edge, + topods_Vertex, TopoDS_Iterator) from OCC.Core.GCPnts import GCPnts_UniformAbscissa from OCC.Core.BRepAdaptor import BRepAdaptor_Curve + class WireExplorer(object): ''' Wire traversal ''' def __init__(self, wire): - if not isinstance(wire, TopoDS_Wire): - raise AssertionError('not a TopoDS_Wire') + assert isinstance(wire, TopoDS_Wire), 'not a TopoDS_Wire' self.wire = wire self.wire_explorer = BRepTools_WireExplorer(self.wire) self.done = False @@ -56,7 +57,7 @@ def _loop_topo(self, edges=True): topologyType = topods_Edge if edges else topods_Vertex seq = [] hashes = [] # list that stores hashes to avoid redundancy - occ_seq = TopTools_ListOfShape() + occ_seq = [] while self.wire_explorer.More(): # loop edges if edges: @@ -64,18 +65,19 @@ def _loop_topo(self, edges=True): # loop vertices else: current_item = self.wire_explorer.CurrentVertex() - current_item_hash = current_item.__hash__() - if not current_item_hash in hashes: - hashes.append(current_item_hash) - occ_seq.Append(current_item) + #current_item_hash = current_item.__hash__() + #if not current_item_hash in hashes: + # hashes.append(current_item_hash) + # occ_seq.Append(current_item) + occ_seq.append(current_item) self.wire_explorer.Next() # Convert occ_seq to python list - occ_iterator = TopTools_ListIteratorOfListOfShape(occ_seq) - while occ_iterator.More(): - topo_to_add = topologyType(occ_iterator.Value()) + #occ_iterator = TopTools_ListIteratorOfListOfShape(occ_seq) + for elem in occ_seq:#while occ_iterator.More(): + topo_to_add = topologyType(elem)#occ_iterator.Value()) seq.append(topo_to_add) - occ_iterator.Next() + #occ_iterator.Next() self.done = True return iter(seq) @@ -91,7 +93,7 @@ class TopologyExplorer(object): Topology traversal ''' - def __init__(self, myShape, ignore_orientation=False): + def __init__(self, myShape, ignore_orientation=True): """ implements topology traversal from any TopoDS_Shape @@ -121,6 +123,19 @@ def __init__(self, myShape, ignore_orientation=False): """ self.myShape = myShape self.ignore_orientation = ignore_orientation + + # the topoFactory dicts maps topology types and functions that can + # create this topology + self.topoFactory = { + TopAbs_VERTEX: topods.Vertex, + TopAbs_EDGE: topods.Edge, + TopAbs_FACE: topods.Face, + TopAbs_WIRE: topods.Wire, + TopAbs_SHELL: topods.Shell, + TopAbs_SOLID: topods.Solid, + TopAbs_COMPOUND: topods.Compound, + TopAbs_COMPSOLID: topods.CompSolid + } self.topExp = TopExp_Explorer() def _loop_topo(self, topologyType, topologicalEntity=None, topologyTypeToAvoid=None): @@ -139,8 +154,7 @@ def _loop_topo(self, topologyType, topologicalEntity=None, topologyTypeToAvoid=N TopAbs_COMPOUND: TopoDS_Compound, TopAbs_COMPSOLID: TopoDS_CompSolid} - if not topologyType in topoTypes.keys(): - raise AssertionError('%s not one of %s' % (topologyType, topoTypes.keys())) + assert topologyType in topoTypes.keys(), '%s not one of %s' % (topologyType, topoTypes.keys()) # use self.myShape if nothing is specified if topologicalEntity is None and topologyTypeToAvoid is None: self.topExp.Init(self.myShape, topologyType) @@ -153,22 +167,24 @@ def _loop_topo(self, topologyType, topologicalEntity=None, topologyTypeToAvoid=N topologyType, topologyTypeToAvoid) seq = [] - hashes = [] # list that stores hashes to avoid redundancy - occ_seq = TopTools_ListOfShape() + #hashes = [] # list that stores hashes to avoid redundancy + #occ_seq = [] #TopTools_ListOfShape() while self.topExp.More(): current_item = self.topExp.Current() - current_item_hash = current_item.__hash__() - - if not current_item_hash in hashes: - hashes.append(current_item_hash) - occ_seq.Append(current_item) + #current_item_hash = current_item.__hash__() + topo_to_add = self.topoFactory[topologyType](current_item) + seq.append(topo_to_add) + #if not current_item_hash in hashes: + #hashes.append(current_item_hash) + #occ_seq.append(current_item) self.topExp.Next() # Convert occ_seq to python list - occ_iterator = TopTools_ListIteratorOfListOfShape(occ_seq) - while occ_iterator.More(): - seq.append(occ_iterator.Value()) - occ_iterator.Next() + #occ_iterator = TopTools_ListIteratorOfListOfShape(occ_seq) + #for elem in occ_seq:#while occ_iterator.More(): + # topo_to_add = self.topoFactory[topologyType](elem) + # seq.append(topo_to_add) + # #occ_iterator.Next() if self.ignore_orientation: # filter out those entities that share the same TShape @@ -182,7 +198,7 @@ def _loop_topo(self, topologyType, topologicalEntity=None, topologyTypeToAvoid=N break if _present is False: filter_orientation_seq.append(i) - return filter_orientation_seq + return iter(filter_orientation_seq) else: return iter(seq) @@ -193,7 +209,10 @@ def faces(self): return self._loop_topo(TopAbs_FACE) def _number_of_topo(self, iterable): - return sum(1 for _ in iterable) + n = 0 + for i in iterable: + n += 1 + return n def number_of_faces(self): return self._number_of_topo(self.faces()) @@ -292,13 +311,12 @@ def _map_shapes_and_ancestors(self, topoTypeA, topoTypeB, topologicalEntity): _map = TopTools_IndexedDataMapOfShapeListOfShape() topexp_MapShapesAndAncestors(self.myShape, topoTypeA, topoTypeB, _map) results = _map.FindFromKey(topologicalEntity) - if results.IsEmpty(): + if results.Size() == 0: yield None topology_iterator = TopTools_ListIteratorOfListOfShape(results) while topology_iterator.More(): - - topo_entity = topology_iterator.Value() + topo_entity = self.topoFactory[topoTypeB](topology_iterator.Value()) # return the entity if not in set # to assure we're not returning entities several times @@ -330,7 +348,7 @@ def _number_shapes_ancestors(self, topoTypeA, topoTypeB, topologicalEntity): _map = TopTools_IndexedDataMapOfShapeListOfShape() topexp_MapShapesAndAncestors(self.myShape, topoTypeA, topoTypeB, _map) results = _map.FindFromKey(topologicalEntity) - if results.IsEmpty(): + if results.Size() == 0: return None topology_iterator = TopTools_ListIteratorOfListOfShape(results) while topology_iterator.More(): @@ -366,7 +384,10 @@ def edges_from_face(self, face): return self._loop_topo(TopAbs_EDGE, face) def number_of_edges_from_face(self, face): - return sum(1 for _ in self._loop_topo(TopAbs_EDGE, face)) + cnt = 0 + for i in self._loop_topo(TopAbs_EDGE, face): + cnt += 1 + return cnt # ====================================================================== # VERTEX <-> EDGE @@ -375,7 +396,10 @@ def vertices_from_edge(self, edg): return self._loop_topo(TopAbs_VERTEX, edg) def number_of_vertices_from_edge(self, edg): - return sum(1 for _ in self._loop_topo(TopAbs_VERTEX, edg)) + cnt = 0 + for i in self._loop_topo(TopAbs_VERTEX, edg): + cnt += 1 + return cnt def edges_from_vertex(self, vertex): return self._map_shapes_and_ancestors(TopAbs_VERTEX, TopAbs_EDGE, vertex) @@ -390,7 +414,10 @@ def edges_from_wire(self, wire): return self._loop_topo(TopAbs_EDGE, wire) def number_of_edges_from_wire(self, wire): - return sum(1 for _ in self._loop_topo(TopAbs_EDGE, wire)) + cnt = 0 + for i in self._loop_topo(TopAbs_EDGE, wire): + cnt += 1 + return cnt def wires_from_edge(self, edg): return self._map_shapes_and_ancestors(TopAbs_EDGE, TopAbs_WIRE, edg) @@ -408,7 +435,10 @@ def wires_from_face(self, face): return self._loop_topo(TopAbs_WIRE, face) def number_of_wires_from_face(self, face): - return sum(1 for _ in self._loop_topo(TopAbs_WIRE, face)) + cnt = 0 + for i in self._loop_topo(TopAbs_WIRE, face): + cnt += 1 + return cnt def faces_from_wire(self, wire): return self._map_shapes_and_ancestors(TopAbs_WIRE, TopAbs_FACE, wire) @@ -429,7 +459,10 @@ def vertices_from_face(self, face): return self._loop_topo(TopAbs_VERTEX, face) def number_of_vertices_from_face(self, face): - return sum(1 for _ in self._loop_topo(TopAbs_VERTEX, face)) + cnt = 0 + for i in self._loop_topo(TopAbs_VERTEX, face): + cnt += 1 + return cnt # ====================================================================== # FACE <-> SOLID @@ -444,28 +477,30 @@ def faces_from_solids(self, solid): return self._loop_topo(TopAbs_FACE, solid) def number_of_faces_from_solids(self, solid): - return sum(1 for _ in self._loop_topo(TopAbs_FACE, solid)) + cnt = 0 + for i in self._loop_topo(TopAbs_FACE, solid): + cnt += 1 + return cnt def dump_topology_to_string(shape, level=0, buffer=""): """ - Reutnrs the details of an object from the top down + Return the details of an object from the top down """ brt = BRep_Tool() s = shape.ShapeType() - str_topology = "" if s == TopAbs_VERTEX: pnt = brt.Pnt(topods_Vertex(shape)) - str_topology += ".." * level + "\n" % (hash(shape), pnt.X(), pnt.Y(), pnt.Z()) + print( ".." * level + "\n" % (hash(shape), pnt.X(), pnt.Y(), pnt.Z())) else: - str_topology += ".." * level - str += str(shape) + print(".." * level, end ="") + print(shape_type_string(shape)) it = TopoDS_Iterator(shape) while it.More() and level < 5: # LEVEL MAX shp = it.Value() it.Next() - str_topology += dump_topology_to_string(shp, level + 1, buffer) - return str_topology + print(dump_topology_to_string(shp, level + 1, buffer)) + # # Edge and wire discretizers # diff --git a/src/SWIG_files/common/FunctionTransformers.i b/src/SWIG_files/common/FunctionTransformers.i index f200d6f86..50d42a99b 100644 --- a/src/SWIG_files/common/FunctionTransformers.i +++ b/src/SWIG_files/common/FunctionTransformers.i @@ -19,6 +19,10 @@ along with pythonOCC. If not, see . */ +%{ +#include +%} + /* Standard_Real & function transformation */ @@ -128,44 +132,80 @@ FairCurve_Analysis & function transformation } %typemap(out) TopoDS_Shape { + TopoDS_Shape* sh = &$1; PyObject *resultobj = 0; - if($1.IsNull()){ + if (!sh || sh->IsNull()) { Py_RETURN_NONE; - } else { - TopAbs_ShapeEnum shape_type = $1.ShapeType(); + } + else { + TopAbs_ShapeEnum shape_type = sh->ShapeType(); + switch (shape_type) + { + case TopAbs_COMPOUND: + resultobj = SWIG_NewPointerObj(new TopoDS_Compound(TopoDS::Compound(*sh)), SWIGTYPE_p_TopoDS_Compound, SWIG_POINTER_OWN | 0); + break; + case TopAbs_COMPSOLID: + resultobj = SWIG_NewPointerObj(new TopoDS_CompSolid(TopoDS::CompSolid(*sh)), SWIGTYPE_p_TopoDS_CompSolid, SWIG_POINTER_OWN | 0 ); + break; + case TopAbs_SOLID: + resultobj = SWIG_NewPointerObj(new TopoDS_Solid(TopoDS::Solid(*sh)), SWIGTYPE_p_TopoDS_Solid, SWIG_POINTER_OWN | 0 ); + break; + case TopAbs_SHELL: + resultobj = SWIG_NewPointerObj(new TopoDS_Shell(TopoDS::Shell(*sh)), SWIGTYPE_p_TopoDS_Shell, SWIG_POINTER_OWN | 0 ); + break; + case TopAbs_FACE: + resultobj = SWIG_NewPointerObj(new TopoDS_Face(TopoDS::Face(*sh)), SWIGTYPE_p_TopoDS_Face, SWIG_POINTER_OWN | 0 ); + break; + case TopAbs_WIRE: + resultobj = SWIG_NewPointerObj(new TopoDS_Wire(TopoDS::Wire(*sh)), SWIGTYPE_p_TopoDS_Wire, SWIG_POINTER_OWN | 0 ); + break; + case TopAbs_EDGE: + resultobj = SWIG_NewPointerObj(new TopoDS_Edge(TopoDS::Edge(*sh)), SWIGTYPE_p_TopoDS_Edge, SWIG_POINTER_OWN | 0 ); + break; + case TopAbs_VERTEX: + resultobj = SWIG_NewPointerObj(new TopoDS_Vertex(TopoDS::Vertex(*sh)), SWIGTYPE_p_TopoDS_Vertex, SWIG_POINTER_OWN | 0 ); + break; + default: + break; + } + } + return resultobj; +} + +// Return TopoDS_Shapes by copy, as we could get lifetimes errors +%typemap(out) const TopoDS_Shape& { + TopoDS_Shape* sh = $1; + PyObject *resultobj = 0; + if (!sh || sh->IsNull()) { + Py_RETURN_NONE; + } + else { + TopAbs_ShapeEnum shape_type = sh->ShapeType(); switch (shape_type) { case TopAbs_COMPOUND: - resultobj = SWIG_NewPointerObj((new TopoDS_Compound(static_cast< const TopoDS_Compound& >($1))), - SWIGTYPE_p_TopoDS_Compound, SWIG_POINTER_OWN | 0 ); + resultobj = SWIG_NewPointerObj(new TopoDS_Compound(TopoDS::Compound(*sh)), SWIGTYPE_p_TopoDS_Compound, SWIG_POINTER_OWN | 0); break; case TopAbs_COMPSOLID: - resultobj = SWIG_NewPointerObj((new TopoDS_CompSolid(static_cast< const TopoDS_CompSolid& >($1))), - SWIGTYPE_p_TopoDS_CompSolid, SWIG_POINTER_OWN | 0 ); + resultobj = SWIG_NewPointerObj(new TopoDS_CompSolid(TopoDS::CompSolid(*sh)), SWIGTYPE_p_TopoDS_CompSolid, SWIG_POINTER_OWN | 0 ); break; case TopAbs_SOLID: - resultobj = SWIG_NewPointerObj((new TopoDS_Solid(static_cast< const TopoDS_Solid& >($1))), - SWIGTYPE_p_TopoDS_Solid, SWIG_POINTER_OWN | 0 ); + resultobj = SWIG_NewPointerObj(new TopoDS_Solid(TopoDS::Solid(*sh)), SWIGTYPE_p_TopoDS_Solid, SWIG_POINTER_OWN | 0 ); break; case TopAbs_SHELL: - resultobj = SWIG_NewPointerObj((new TopoDS_Shell(static_cast< const TopoDS_Shell& >($1))), - SWIGTYPE_p_TopoDS_Shell, SWIG_POINTER_OWN | 0 ); + resultobj = SWIG_NewPointerObj(new TopoDS_Shell(TopoDS::Shell(*sh)), SWIGTYPE_p_TopoDS_Shell, SWIG_POINTER_OWN | 0 ); break; case TopAbs_FACE: - resultobj = SWIG_NewPointerObj((new TopoDS_Face(static_cast< const TopoDS_Face& >($1))), - SWIGTYPE_p_TopoDS_Face, SWIG_POINTER_OWN | 0 ); + resultobj = SWIG_NewPointerObj(new TopoDS_Face(TopoDS::Face(*sh)), SWIGTYPE_p_TopoDS_Face, SWIG_POINTER_OWN | 0 ); break; case TopAbs_WIRE: - resultobj = SWIG_NewPointerObj((new TopoDS_Wire(static_cast< const TopoDS_Wire& >($1))), - SWIGTYPE_p_TopoDS_Wire, SWIG_POINTER_OWN | 0 ); + resultobj = SWIG_NewPointerObj(new TopoDS_Wire(TopoDS::Wire(*sh)), SWIGTYPE_p_TopoDS_Wire, SWIG_POINTER_OWN | 0 ); break; case TopAbs_EDGE: - resultobj = SWIG_NewPointerObj((new TopoDS_Edge(static_cast< const TopoDS_Edge& >($1))), - SWIGTYPE_p_TopoDS_Edge, SWIG_POINTER_OWN | 0 ); + resultobj = SWIG_NewPointerObj(new TopoDS_Edge(TopoDS::Edge(*sh)), SWIGTYPE_p_TopoDS_Edge, SWIG_POINTER_OWN | 0 ); break; case TopAbs_VERTEX: - resultobj = SWIG_NewPointerObj((new TopoDS_Vertex(static_cast< const TopoDS_Vertex& >($1))), - SWIGTYPE_p_TopoDS_Vertex, SWIG_POINTER_OWN | 0 ); + resultobj = SWIG_NewPointerObj(new TopoDS_Vertex(TopoDS::Vertex(*sh)), SWIGTYPE_p_TopoDS_Vertex, SWIG_POINTER_OWN | 0 ); break; default: break; diff --git a/src/SWIG_files/common/OccHandle.i b/src/SWIG_files/common/OccHandle.i index 114034ef4..f9f7fff32 100644 --- a/src/SWIG_files/common/OccHandle.i +++ b/src/SWIG_files/common/OccHandle.i @@ -43,225 +43,162 @@ along with pythonOCC. If not, see . * %make_alias(MyClass) */ -#if !defined(SHARED_PTR_DISOWN) -#define SHARED_PTR_DISOWN 0 -#endif - %pythoncode { from six import with_metaclass import warnings from OCC.Wrapper.wrapper_utils import Proxy, deprecated } -%{ -#include +namespace opencascade { +template class handle{}; +} +#define Handle(TYPE) opencascade::handle -// The following is an evil hack to edit the reference counter of Standard_Transient -template -struct Rob { - friend typename Tag::type get(Tag) { - return M; - } -}; +#define DEFINE_STANDARD_HANDLE(C1,C2) -// tag used to access A::count -struct Standard_Transient_f { - typedef volatile Standard_Integer Standard_Transient::*type; - friend type get(Standard_Transient_f); -}; +%define WRAP_OCC_TRANSIENT(CONST, TYPE) -template struct Rob; -void IncRef(Standard_Transient& a) { - a.*get(Standard_Transient_f()) += 1; +%typemap(out) opencascade::handle { + TYPE * presult = !$1.IsNull() ? $1.get() : 0; + if (presult) presult->IncrementRefCounter(); + %set_output(SWIG_NewPointerObj(%as_voidptr(presult), $descriptor(TYPE *), SWIG_POINTER_OWN)); } -%} - -%define WRAP_OCC_TRANSIENT_TYPE(CONST, TYPE) - -%naturalvar TYPE; -%naturalvar Handle_ ## TYPE; +%typemap(out) Handle_ ## TYPE { + TYPE * presult = !$1.IsNull() ? $1.get() : 0; + if (presult) presult->IncrementRefCounter(); + %set_output(SWIG_NewPointerObj(%as_voidptr(presult), $descriptor(TYPE *), SWIG_POINTER_OWN)); +} +%typemap(out) CONST TYPE { + TYPE * presult = new TYPE(static_cast< CONST TYPE& >($1)); + presult->IncrementRefCounter(); + %set_output(SWIG_NewPointerObj(%as_voidptr(presult), $descriptor(TYPE *), SWIG_POINTER_OWN)); +} -%feature("unref") TYPE - "(void)arg1; delete smartarg1;" +%typemap(out) CONST opencascade::handle&{ + TYPE * presult = !$1->IsNull() ? $1->get() : 0; + if (presult) presult->IncrementRefCounter(); + %set_output(SWIG_NewPointerObj(%as_voidptr(presult), $descriptor(TYPE *), SWIG_POINTER_OWN)); +} -%typemap(out) CONST TYPE { - Handle_ ## TYPE *smartresult = new Handle_ ## TYPE(new $1_ltype(($1_ltype &)$1)); - %set_output(SWIG_NewPointerObj(%as_voidptr(smartresult), $descriptor(Handle_ ## TYPE *), SWIG_POINTER_OWN)); +%typemap(out) CONST Handle_ ## TYPE&{ + TYPE * presult = !$1->IsNull() ? $1->get() : 0; + if (presult) presult->IncrementRefCounter(); + %set_output(SWIG_NewPointerObj(%as_voidptr(presult), $descriptor(TYPE *), SWIG_POINTER_OWN)); } -%typemap(out) CONST TYPE * { - Handle_ ## TYPE *smartresult = $1 ? new Handle_ ## TYPE($1) : 0; - %set_output(SWIG_NewPointerObj(%as_voidptr(smartresult), $descriptor(Handle_ ## TYPE *), $owner | SWIG_POINTER_OWN)); +%typemap(out) CONST TYPE&, CONST TYPE* { + if ($1) $1->IncrementRefCounter(); + %set_output(SWIG_NewPointerObj(%as_voidptr($1), $descriptor(TYPE *), SWIG_POINTER_OWN)); } - -// plain pointer -// Note: $disown not implemented by default as it will lead to a memory leak of the shared_ptr instance -%typemap(in) CONST TYPE * (void *argp = 0, int res = 0, Handle_ ## TYPE tempshared, Handle_ ## TYPE *smartarg = 0) { +%typemap(in) opencascade::handle< TYPE > (void *argp, int res = 0) { int newmem = 0; - res = SWIG_ConvertPtrAndOwn($input, &argp, $descriptor(Handle_ ## TYPE *), SHARED_PTR_DISOWN | %convertptr_flags, &newmem); + res = SWIG_ConvertPtrAndOwn($input, &argp, $descriptor(TYPE *), %convertptr_flags, &newmem); if (!SWIG_IsOK(res)) { - %argument_fail(res, "$type", $symname, $argnum); - } - if (newmem & SWIG_CAST_NEW_MEMORY) { - tempshared = *%reinterpret_cast(argp, Handle_ ## TYPE *); - delete %reinterpret_cast(argp, Handle_ ## TYPE *); - $1 = %const_cast(tempshared.operator->(), $1_ltype); - } else { - smartarg = %reinterpret_cast(argp, Handle_ ## TYPE *); - $1 = %const_cast((smartarg ? smartarg->operator->() : 0), $1_ltype); + %argument_fail(res, "$type", $symname, $argnum); } + if (argp) $1 = opencascade::handle< TYPE >(%reinterpret_cast(argp, TYPE*)); } -// plain reference -%typemap(in) CONST TYPE & (void *argp = 0, int res = 0, Handle_ ## TYPE tempshared) { + +// shared_ptr by reference +%typemap(in) opencascade::handle &(void *argp, int res = 0, $*1_ltype tempshared) { int newmem = 0; - res = SWIG_ConvertPtrAndOwn($input, &argp, $descriptor(Handle_ ## TYPE *), %convertptr_flags, &newmem); + res = SWIG_ConvertPtrAndOwn($input, &argp, $descriptor(TYPE *), %convertptr_flags, &newmem); if (!SWIG_IsOK(res)) { - %argument_fail(res, "$type", $symname, $argnum); - } - if (!argp) { %argument_nullref("$type", $symname, $argnum); } - if (newmem & SWIG_CAST_NEW_MEMORY) { - tempshared = *%reinterpret_cast(argp, Handle_ ## TYPE *); - delete %reinterpret_cast(argp, Handle_ ## TYPE *); - $1 = %const_cast(tempshared.operator->(), $1_ltype); - } else { - $1 = %const_cast(%reinterpret_cast(argp, Handle_ ## TYPE *)->operator->(), $1_ltype); + %argument_fail(res, "$type", $symname, $argnum); } -} - -%typemap(out) Handle_ ## TYPE { - Handle_ ## TYPE *smartresult = !$1.IsNull() ? new Handle_ ## TYPE($1) : 0; - %set_output(SWIG_NewPointerObj(%as_voidptr(smartresult), $descriptor(Handle_ ## TYPE *), SWIG_POINTER_OWN)); -} -// We return reference to handles as copy to handles as the lifetime -// is different in python than in c++ -%typemap(out) Handle_ ## TYPE & { - Handle_ ## TYPE *smartresult = !$1->IsNull() ? new Handle_ ## TYPE(*$1) : 0; - %set_output(SWIG_NewPointerObj(%as_voidptr(smartresult), $descriptor(Handle_ ## TYPE *), SWIG_POINTER_OWN)); + if (argp) tempshared = opencascade::handle< TYPE >(%reinterpret_cast(argp, TYPE*)); + $1 = &tempshared; } -%typemap(out) CONST TYPE & { - Handle_ ## TYPE *smartresult = new Handle_ ## TYPE($1); - if (!$owner) { - // he handle may not delete the object since it is owned by another class - IncRef(*$1); +// shared_ptr by reference +%typemap(in) Handle_ ## TYPE &(void *argp, int res = 0, $*1_ltype tempshared) { + int newmem = 0; + res = SWIG_ConvertPtrAndOwn($input, &argp, $descriptor(TYPE *), %convertptr_flags, &newmem); + if (!SWIG_IsOK(res)) { + %argument_fail(res, "$type", $symname, $argnum); } - %set_output(SWIG_NewPointerObj(%as_voidptr(smartresult), $descriptor(Handle_ ## TYPE *), SWIG_POINTER_OWN)); -} - -%typemap(in, numinputs = 0) Handle_ ## TYPE& OUTPUT(Handle_ ## TYPE temp){ - $1 = &temp; -} -%typemap(argout) Handle_ ## TYPE& OUTPUT{ - Handle_ ## TYPE *smartresult = !$1->IsNull() ? new Handle_ ## TYPE(*$1) : 0; - $result = SWIG_Python_AppendOutput($result, SWIG_NewPointerObj(%as_voidptr(smartresult), $descriptor(Handle_ ## TYPE *), SWIG_POINTER_OWN)); + if (argp) tempshared = opencascade::handle< TYPE >(%reinterpret_cast(argp, TYPE*)); + $1 = &tempshared; } -// Typecheck typemaps -// Note: SWIG_ConvertPtr with void ** parameter set to 0 instead of using SWIG_ConvertPtrAndOwn, so that the casting -// function is not called thereby avoiding a possible smart pointer copy constructor call when casting up the inheritance chain. -%typemap(typecheck,precedence=SWIG_TYPECHECK_POINTER,noblock=1) +%typemap(typecheck,precedence=SWIG_TYPECHECK_POINTER,noblock=1) TYPE CONST, TYPE CONST &, TYPE CONST *, TYPE *CONST&, - Handle_ ## TYPE, - Handle_ ## TYPE &, - Handle_ ## TYPE *, - Handle_ ## TYPE *& { - int res = SWIG_ConvertPtr($input, 0, $descriptor(Handle_ ## TYPE *), 0); + CONST opencascade::handle, + CONST opencascade::handle &, + CONST opencascade::handle *, + CONST opencascade::handle *& { + int res = SWIG_ConvertPtr($input, 0, $descriptor(TYPE *), 0); $1 = SWIG_CheckState(res); } - %enddef -// This is the main macro used from usercode -// Do not call this on a handle class! %define %wrap_handle(TYPE) - %nodefaultctor Handle_ ## TYPE; - // The handle class should be invisible/transparent in python - %ignore Handle_ ## TYPE; - // deactivate warnings - %ignore Handle_ ## TYPE::operator=; - %ignore TYPE::operator=; +class TYPE; + +// Avoid creating ValueWrappers +%template() opencascade::handle; + +#if (defined(_MSC_VER) && _MSC_VER >= 1800) +class Handle_ ## TYPE : public opencascade::handle< TYPE >{ +public: + template + inline Handle_## TYPE(const T2* theOther) : Handle(TYPE)(theOther) {} \ +}; +#else +typedef opencascade::handle< TYPE > Handle_ ## TYPE; +#endif + +// deactivate warnings +%ignore TYPE::operator=; +%ignore opencascade::handle< TYPE >; +%ignore Handle_ ## TYPE; + +#define SWIGEMPTYHACK +WRAP_OCC_TRANSIENT(SWIGEMPTYHACK, TYPE) +WRAP_OCC_TRANSIENT(const, TYPE) + +%feature("unref") TYPE "if($this && $this->DecrementRefCounter()==0) delete $this;" - // Tell, that Handle_A is a smart pointer to A - %feature("smartptr", noblock=1) TYPE { Handle_ ## TYPE } - %inline %{ - Handle_ ## TYPE Handle_ ## TYPE ## _Create() { - return Handle_ ## TYPE(); + opencascade::handle Handle_ ## TYPE ## _Create() { + return opencascade::handle(); } -%} - #define SWIGEMPTYHACK - WRAP_OCC_TRANSIENT_TYPE(SWIGEMPTYHACK, TYPE) - WRAP_OCC_TRANSIENT_TYPE(const, TYPE) - - // Allow to use e.g. Handle_Geom_Curve_DownCast(curve) - %inline %{ - Handle_ ## TYPE Handle_ ## TYPE ## _DownCast(const Handle_Standard_Transient& t) { - return Handle_ ## TYPE ## ::DownCast(t); - } - - bool Handle_ ## TYPE ## _IsNull(const Handle_ ## TYPE & t) { - return t.IsNull(); - } - %} - - // This two functions are just for backwards compatibilty - %extend TYPE { - %pythoncode { - @deprecated("It is not required anymore.") - def GetHandle(self): - return self - - @deprecated("It is not required anymore.") - def GetObject(self): - return self - - @deprecated("Use is None instead") - def IsNull(self): - return Handle_ ## TYPE ## _IsNull(self); - - @staticmethod - def DownCast(t): - return Handle_ ## TYPE ## _DownCast(t) - } + opencascade::handle Handle_ ## TYPE ## _DownCast(const opencascade::handle& t) { + return opencascade::handle::DownCast(t); } + bool Handle_ ## TYPE ## _IsNull(const opencascade::handle & t) { + return t.IsNull(); + } +%} + +// This two functions are just for backwards compatibilty +%extend TYPE { + %pythoncode { + + @staticmethod + def DownCast(t): + return Handle_ ## TYPE ## _DownCast(t) + } +} %enddef + %define %make_alias(TYPE) - %pythoncode { - class Meta_ ## TYPE(type): - def __call__(cls, wrap=None): - if wrap is None: - return Handle_ ## TYPE ## _Create() - else: - warnings.warn("class Handle_%s is deprecated. Use %s instead." % ("TYPE", "TYPE"), - category=DeprecationWarning, - stacklevel=2) - warnings.simplefilter('default', DeprecationWarning) - return Proxy(wrap) - - class Handle_ ## TYPE(with_metaclass(Meta_ ## TYPE, TYPE)): - @staticmethod - def DownCast(o): - warnings.warn("Handle_%s.DownCast is deprecated. Use %s.DownCast instead." % ("TYPE", "TYPE"), - category=DeprecationWarning, - stacklevel=2) - warnings.simplefilter('default', DeprecationWarning) - return Handle_## TYPE(Handle_ ## TYPE ## _DownCast(o)) - } + %enddef diff --git a/src/SWIG_files/deprecated_modules/AIS.py b/src/SWIG_files/deprecated_modules/AIS.py deleted file mode 100644 index 4e48ec5bb..000000000 --- a/src/SWIG_files/deprecated_modules/AIS.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.AIS is deprecated since pythonocc-0.18.2. Use OCC.Core.AIS", DeprecationWarning) - -from OCC.Core.AIS import * diff --git a/src/SWIG_files/deprecated_modules/Adaptor2d.py b/src/SWIG_files/deprecated_modules/Adaptor2d.py deleted file mode 100644 index 9a98e3cd2..000000000 --- a/src/SWIG_files/deprecated_modules/Adaptor2d.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.Adaptor2d is deprecated since pythonocc-0.18.2. Use OCC.Core.Adaptor2d", DeprecationWarning) - -from OCC.Core.Adaptor2d import * diff --git a/src/SWIG_files/deprecated_modules/Adaptor3d.py b/src/SWIG_files/deprecated_modules/Adaptor3d.py deleted file mode 100644 index 4d6ce4a74..000000000 --- a/src/SWIG_files/deprecated_modules/Adaptor3d.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.Adaptor3d is deprecated since pythonocc-0.18.2. Use OCC.Core.Adaptor3d", DeprecationWarning) - -from OCC.Core.Adaptor3d import * diff --git a/src/SWIG_files/deprecated_modules/AdvApp2Var.py b/src/SWIG_files/deprecated_modules/AdvApp2Var.py deleted file mode 100644 index 3ec1e7297..000000000 --- a/src/SWIG_files/deprecated_modules/AdvApp2Var.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.AdvApp2Var is deprecated since pythonocc-0.18.2. Use OCC.Core.AdvApp2Var", DeprecationWarning) - -from OCC.Core.AdvApp2Var import * diff --git a/src/SWIG_files/deprecated_modules/AdvApprox.py b/src/SWIG_files/deprecated_modules/AdvApprox.py deleted file mode 100644 index 88cb3e786..000000000 --- a/src/SWIG_files/deprecated_modules/AdvApprox.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.AdvApprox is deprecated since pythonocc-0.18.2. Use OCC.Core.AdvApprox", DeprecationWarning) - -from OCC.Core.AdvApprox import * diff --git a/src/SWIG_files/deprecated_modules/AppBlend.py b/src/SWIG_files/deprecated_modules/AppBlend.py deleted file mode 100644 index 94230e92c..000000000 --- a/src/SWIG_files/deprecated_modules/AppBlend.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.AppBlend is deprecated since pythonocc-0.18.2. Use OCC.Core.AppBlend", DeprecationWarning) - -from OCC.Core.AppBlend import * diff --git a/src/SWIG_files/deprecated_modules/AppCont.py b/src/SWIG_files/deprecated_modules/AppCont.py deleted file mode 100644 index 9815bf3b3..000000000 --- a/src/SWIG_files/deprecated_modules/AppCont.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.AppCont is deprecated since pythonocc-0.18.2. Use OCC.Core.AppCont", DeprecationWarning) - -from OCC.Core.AppCont import * diff --git a/src/SWIG_files/deprecated_modules/AppDef.py b/src/SWIG_files/deprecated_modules/AppDef.py deleted file mode 100644 index ac86d76a0..000000000 --- a/src/SWIG_files/deprecated_modules/AppDef.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.AppDef is deprecated since pythonocc-0.18.2. Use OCC.Core.AppDef", DeprecationWarning) - -from OCC.Core.AppDef import * diff --git a/src/SWIG_files/deprecated_modules/AppParCurves.py b/src/SWIG_files/deprecated_modules/AppParCurves.py deleted file mode 100644 index 0576a7779..000000000 --- a/src/SWIG_files/deprecated_modules/AppParCurves.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.AppParCurves is deprecated since pythonocc-0.18.2. Use OCC.Core.AppParCurves", DeprecationWarning) - -from OCC.Core.AppParCurves import * diff --git a/src/SWIG_files/deprecated_modules/AppStd.py b/src/SWIG_files/deprecated_modules/AppStd.py deleted file mode 100644 index 54754ed6c..000000000 --- a/src/SWIG_files/deprecated_modules/AppStd.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.AppStd is deprecated since pythonocc-0.18.2. Use OCC.Core.AppStd", DeprecationWarning) - -from OCC.Core.AppStd import * diff --git a/src/SWIG_files/deprecated_modules/AppStdL.py b/src/SWIG_files/deprecated_modules/AppStdL.py deleted file mode 100644 index 4c49573ac..000000000 --- a/src/SWIG_files/deprecated_modules/AppStdL.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.AppStdL is deprecated since pythonocc-0.18.2. Use OCC.Core.AppStdL", DeprecationWarning) - -from OCC.Core.AppStdL import * diff --git a/src/SWIG_files/deprecated_modules/Approx.py b/src/SWIG_files/deprecated_modules/Approx.py deleted file mode 100644 index d8b758d13..000000000 --- a/src/SWIG_files/deprecated_modules/Approx.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.Approx is deprecated since pythonocc-0.18.2. Use OCC.Core.Approx", DeprecationWarning) - -from OCC.Core.Approx import * diff --git a/src/SWIG_files/deprecated_modules/ApproxInt.py b/src/SWIG_files/deprecated_modules/ApproxInt.py deleted file mode 100644 index 5ad50d13f..000000000 --- a/src/SWIG_files/deprecated_modules/ApproxInt.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.ApproxInt is deprecated since pythonocc-0.18.2. Use OCC.Core.ApproxInt", DeprecationWarning) - -from OCC.Core.ApproxInt import * diff --git a/src/SWIG_files/deprecated_modules/Aspect.py b/src/SWIG_files/deprecated_modules/Aspect.py deleted file mode 100644 index cbfc762ab..000000000 --- a/src/SWIG_files/deprecated_modules/Aspect.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.Aspect is deprecated since pythonocc-0.18.2. Use OCC.Core.Aspect", DeprecationWarning) - -from OCC.Core.Aspect import * diff --git a/src/SWIG_files/deprecated_modules/BOPAlgo.py b/src/SWIG_files/deprecated_modules/BOPAlgo.py deleted file mode 100644 index 46696617f..000000000 --- a/src/SWIG_files/deprecated_modules/BOPAlgo.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.BOPAlgo is deprecated since pythonocc-0.18.2. Use OCC.Core.BOPAlgo", DeprecationWarning) - -from OCC.Core.BOPAlgo import * diff --git a/src/SWIG_files/deprecated_modules/BOPCol.py b/src/SWIG_files/deprecated_modules/BOPCol.py deleted file mode 100644 index aaf41dd7c..000000000 --- a/src/SWIG_files/deprecated_modules/BOPCol.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.BOPCol is deprecated since pythonocc-0.18.2. Use OCC.Core.BOPCol", DeprecationWarning) - -from OCC.Core.BOPCol import * diff --git a/src/SWIG_files/deprecated_modules/BOPDS.py b/src/SWIG_files/deprecated_modules/BOPDS.py deleted file mode 100644 index e687693ab..000000000 --- a/src/SWIG_files/deprecated_modules/BOPDS.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.BOPDS is deprecated since pythonocc-0.18.2. Use OCC.Core.BOPDS", DeprecationWarning) - -from OCC.Core.BOPDS import * diff --git a/src/SWIG_files/deprecated_modules/BOPInt.py b/src/SWIG_files/deprecated_modules/BOPInt.py deleted file mode 100644 index 803c60f13..000000000 --- a/src/SWIG_files/deprecated_modules/BOPInt.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.BOPInt is deprecated since pythonocc-0.18.2. Use OCC.Core.BOPInt", DeprecationWarning) - -from OCC.Core.BOPInt import * diff --git a/src/SWIG_files/deprecated_modules/BOPTools.py b/src/SWIG_files/deprecated_modules/BOPTools.py deleted file mode 100644 index 7194b5ee9..000000000 --- a/src/SWIG_files/deprecated_modules/BOPTools.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.BOPTools is deprecated since pythonocc-0.18.2. Use OCC.Core.BOPTools", DeprecationWarning) - -from OCC.Core.BOPTools import * diff --git a/src/SWIG_files/deprecated_modules/BRep.py b/src/SWIG_files/deprecated_modules/BRep.py deleted file mode 100644 index 75005a93d..000000000 --- a/src/SWIG_files/deprecated_modules/BRep.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.BRep is deprecated since pythonocc-0.18.2. Use OCC.Core.BRep", DeprecationWarning) - -from OCC.Core.BRep import * diff --git a/src/SWIG_files/deprecated_modules/BRepAdaptor.py b/src/SWIG_files/deprecated_modules/BRepAdaptor.py deleted file mode 100644 index d1c6fe40b..000000000 --- a/src/SWIG_files/deprecated_modules/BRepAdaptor.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.BRepAdaptor is deprecated since pythonocc-0.18.2. Use OCC.Core.BRepAdaptor", DeprecationWarning) - -from OCC.Core.BRepAdaptor import * diff --git a/src/SWIG_files/deprecated_modules/BRepAlgo.py b/src/SWIG_files/deprecated_modules/BRepAlgo.py deleted file mode 100644 index 3b2c46b79..000000000 --- a/src/SWIG_files/deprecated_modules/BRepAlgo.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.BRepAlgo is deprecated since pythonocc-0.18.2. Use OCC.Core.BRepAlgo", DeprecationWarning) - -from OCC.Core.BRepAlgo import * diff --git a/src/SWIG_files/deprecated_modules/BRepAlgoAPI.py b/src/SWIG_files/deprecated_modules/BRepAlgoAPI.py deleted file mode 100644 index 3341aea25..000000000 --- a/src/SWIG_files/deprecated_modules/BRepAlgoAPI.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.BRepAlgoAPI is deprecated since pythonocc-0.18.2. Use OCC.Core.BRepAlgoAPI", DeprecationWarning) - -from OCC.Core.BRepAlgoAPI import * diff --git a/src/SWIG_files/deprecated_modules/BRepApprox.py b/src/SWIG_files/deprecated_modules/BRepApprox.py deleted file mode 100644 index 9468be635..000000000 --- a/src/SWIG_files/deprecated_modules/BRepApprox.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.BRepApprox is deprecated since pythonocc-0.18.2. Use OCC.Core.BRepApprox", DeprecationWarning) - -from OCC.Core.BRepApprox import * diff --git a/src/SWIG_files/deprecated_modules/BRepBlend.py b/src/SWIG_files/deprecated_modules/BRepBlend.py deleted file mode 100644 index 2da0a1b26..000000000 --- a/src/SWIG_files/deprecated_modules/BRepBlend.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.BRepBlend is deprecated since pythonocc-0.18.2. Use OCC.Core.BRepBlend", DeprecationWarning) - -from OCC.Core.BRepBlend import * diff --git a/src/SWIG_files/deprecated_modules/BRepBndLib.py b/src/SWIG_files/deprecated_modules/BRepBndLib.py deleted file mode 100644 index 4b8f684c9..000000000 --- a/src/SWIG_files/deprecated_modules/BRepBndLib.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.BRepBndLib is deprecated since pythonocc-0.18.2. Use OCC.Core.BRepBndLib", DeprecationWarning) - -from OCC.Core.BRepBndLib import * diff --git a/src/SWIG_files/deprecated_modules/BRepBuilderAPI.py b/src/SWIG_files/deprecated_modules/BRepBuilderAPI.py deleted file mode 100644 index c10b9c889..000000000 --- a/src/SWIG_files/deprecated_modules/BRepBuilderAPI.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.BRepBuilderAPI is deprecated since pythonocc-0.18.2. Use OCC.Core.BRepBuilderAPI", DeprecationWarning) - -from OCC.Core.BRepBuilderAPI import * diff --git a/src/SWIG_files/deprecated_modules/BRepCheck.py b/src/SWIG_files/deprecated_modules/BRepCheck.py deleted file mode 100644 index f5136827b..000000000 --- a/src/SWIG_files/deprecated_modules/BRepCheck.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.BRepCheck is deprecated since pythonocc-0.18.2. Use OCC.Core.BRepCheck", DeprecationWarning) - -from OCC.Core.BRepCheck import * diff --git a/src/SWIG_files/deprecated_modules/BRepClass.py b/src/SWIG_files/deprecated_modules/BRepClass.py deleted file mode 100644 index 481cc6c4d..000000000 --- a/src/SWIG_files/deprecated_modules/BRepClass.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.BRepClass is deprecated since pythonocc-0.18.2. Use OCC.Core.BRepClass", DeprecationWarning) - -from OCC.Core.BRepClass import * diff --git a/src/SWIG_files/deprecated_modules/BRepClass3d.py b/src/SWIG_files/deprecated_modules/BRepClass3d.py deleted file mode 100644 index 178b776ac..000000000 --- a/src/SWIG_files/deprecated_modules/BRepClass3d.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.BRepClass3d is deprecated since pythonocc-0.18.2. Use OCC.Core.BRepClass3d", DeprecationWarning) - -from OCC.Core.BRepClass3d import * diff --git a/src/SWIG_files/deprecated_modules/BRepExtrema.py b/src/SWIG_files/deprecated_modules/BRepExtrema.py deleted file mode 100644 index 3bd821c39..000000000 --- a/src/SWIG_files/deprecated_modules/BRepExtrema.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.BRepExtrema is deprecated since pythonocc-0.18.2. Use OCC.Core.BRepExtrema", DeprecationWarning) - -from OCC.Core.BRepExtrema import * diff --git a/src/SWIG_files/deprecated_modules/BRepFeat.py b/src/SWIG_files/deprecated_modules/BRepFeat.py deleted file mode 100644 index 27c548855..000000000 --- a/src/SWIG_files/deprecated_modules/BRepFeat.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.BRepFeat is deprecated since pythonocc-0.18.2. Use OCC.Core.BRepFeat", DeprecationWarning) - -from OCC.Core.BRepFeat import * diff --git a/src/SWIG_files/deprecated_modules/BRepFill.py b/src/SWIG_files/deprecated_modules/BRepFill.py deleted file mode 100644 index 856b8fa5a..000000000 --- a/src/SWIG_files/deprecated_modules/BRepFill.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.BRepFill is deprecated since pythonocc-0.18.2. Use OCC.Core.BRepFill", DeprecationWarning) - -from OCC.Core.BRepFill import * diff --git a/src/SWIG_files/deprecated_modules/BRepFilletAPI.py b/src/SWIG_files/deprecated_modules/BRepFilletAPI.py deleted file mode 100644 index 66a8c9f67..000000000 --- a/src/SWIG_files/deprecated_modules/BRepFilletAPI.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.BRepFilletAPI is deprecated since pythonocc-0.18.2. Use OCC.Core.BRepFilletAPI", DeprecationWarning) - -from OCC.Core.BRepFilletAPI import * diff --git a/src/SWIG_files/deprecated_modules/BRepGProp.py b/src/SWIG_files/deprecated_modules/BRepGProp.py deleted file mode 100644 index c81e8b78a..000000000 --- a/src/SWIG_files/deprecated_modules/BRepGProp.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.BRepGProp is deprecated since pythonocc-0.18.2. Use OCC.Core.BRepGProp", DeprecationWarning) - -from OCC.Core.BRepGProp import * diff --git a/src/SWIG_files/deprecated_modules/BRepIntCurveSurface.py b/src/SWIG_files/deprecated_modules/BRepIntCurveSurface.py deleted file mode 100644 index b42f46492..000000000 --- a/src/SWIG_files/deprecated_modules/BRepIntCurveSurface.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.BRepIntCurveSurface is deprecated since pythonocc-0.18.2. Use OCC.Core.BRepIntCurveSurface", DeprecationWarning) - -from OCC.Core.BRepIntCurveSurface import * diff --git a/src/SWIG_files/deprecated_modules/BRepLProp.py b/src/SWIG_files/deprecated_modules/BRepLProp.py deleted file mode 100644 index 66539176d..000000000 --- a/src/SWIG_files/deprecated_modules/BRepLProp.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.BRepLProp is deprecated since pythonocc-0.18.2. Use OCC.Core.BRepLProp", DeprecationWarning) - -from OCC.Core.BRepLProp import * diff --git a/src/SWIG_files/deprecated_modules/BRepLib.py b/src/SWIG_files/deprecated_modules/BRepLib.py deleted file mode 100644 index 4628ddf6e..000000000 --- a/src/SWIG_files/deprecated_modules/BRepLib.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.BRepLib is deprecated since pythonocc-0.18.2. Use OCC.Core.BRepLib", DeprecationWarning) - -from OCC.Core.BRepLib import * diff --git a/src/SWIG_files/deprecated_modules/BRepMAT2d.py b/src/SWIG_files/deprecated_modules/BRepMAT2d.py deleted file mode 100644 index 9943800c0..000000000 --- a/src/SWIG_files/deprecated_modules/BRepMAT2d.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.BRepMAT2d is deprecated since pythonocc-0.18.2. Use OCC.Core.BRepMAT2d", DeprecationWarning) - -from OCC.Core.BRepMAT2d import * diff --git a/src/SWIG_files/deprecated_modules/BRepMesh.py b/src/SWIG_files/deprecated_modules/BRepMesh.py deleted file mode 100644 index 9b4270d7a..000000000 --- a/src/SWIG_files/deprecated_modules/BRepMesh.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.BRepMesh is deprecated since pythonocc-0.18.2. Use OCC.Core.BRepMesh", DeprecationWarning) - -from OCC.Core.BRepMesh import * diff --git a/src/SWIG_files/deprecated_modules/BRepOffset.py b/src/SWIG_files/deprecated_modules/BRepOffset.py deleted file mode 100644 index 599f7682e..000000000 --- a/src/SWIG_files/deprecated_modules/BRepOffset.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.BRepOffset is deprecated since pythonocc-0.18.2. Use OCC.Core.BRepOffset", DeprecationWarning) - -from OCC.Core.BRepOffset import * diff --git a/src/SWIG_files/deprecated_modules/BRepOffsetAPI.py b/src/SWIG_files/deprecated_modules/BRepOffsetAPI.py deleted file mode 100644 index 2e6e7f62e..000000000 --- a/src/SWIG_files/deprecated_modules/BRepOffsetAPI.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.BRepOffsetAPI is deprecated since pythonocc-0.18.2. Use OCC.Core.BRepOffsetAPI", DeprecationWarning) - -from OCC.Core.BRepOffsetAPI import * diff --git a/src/SWIG_files/deprecated_modules/BRepPrim.py b/src/SWIG_files/deprecated_modules/BRepPrim.py deleted file mode 100644 index c5668193c..000000000 --- a/src/SWIG_files/deprecated_modules/BRepPrim.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.BRepPrim is deprecated since pythonocc-0.18.2. Use OCC.Core.BRepPrim", DeprecationWarning) - -from OCC.Core.BRepPrim import * diff --git a/src/SWIG_files/deprecated_modules/BRepPrimAPI.py b/src/SWIG_files/deprecated_modules/BRepPrimAPI.py deleted file mode 100644 index 6f17311fd..000000000 --- a/src/SWIG_files/deprecated_modules/BRepPrimAPI.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.BRepPrimAPI is deprecated since pythonocc-0.18.2. Use OCC.Core.BRepPrimAPI", DeprecationWarning) - -from OCC.Core.BRepPrimAPI import * diff --git a/src/SWIG_files/deprecated_modules/BRepProj.py b/src/SWIG_files/deprecated_modules/BRepProj.py deleted file mode 100644 index db9a0148c..000000000 --- a/src/SWIG_files/deprecated_modules/BRepProj.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.BRepProj is deprecated since pythonocc-0.18.2. Use OCC.Core.BRepProj", DeprecationWarning) - -from OCC.Core.BRepProj import * diff --git a/src/SWIG_files/deprecated_modules/BRepSweep.py b/src/SWIG_files/deprecated_modules/BRepSweep.py deleted file mode 100644 index 9ab2f1203..000000000 --- a/src/SWIG_files/deprecated_modules/BRepSweep.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.BRepSweep is deprecated since pythonocc-0.18.2. Use OCC.Core.BRepSweep", DeprecationWarning) - -from OCC.Core.BRepSweep import * diff --git a/src/SWIG_files/deprecated_modules/BRepTools.py b/src/SWIG_files/deprecated_modules/BRepTools.py deleted file mode 100644 index 7a8d37825..000000000 --- a/src/SWIG_files/deprecated_modules/BRepTools.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.BRepTools is deprecated since pythonocc-0.18.2. Use OCC.Core.BRepTools", DeprecationWarning) - -from OCC.Core.BRepTools import * diff --git a/src/SWIG_files/deprecated_modules/BRepTopAdaptor.py b/src/SWIG_files/deprecated_modules/BRepTopAdaptor.py deleted file mode 100644 index af7585ac7..000000000 --- a/src/SWIG_files/deprecated_modules/BRepTopAdaptor.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.BRepTopAdaptor is deprecated since pythonocc-0.18.2. Use OCC.Core.BRepTopAdaptor", DeprecationWarning) - -from OCC.Core.BRepTopAdaptor import * diff --git a/src/SWIG_files/deprecated_modules/BSplCLib.py b/src/SWIG_files/deprecated_modules/BSplCLib.py deleted file mode 100644 index 245f0ca21..000000000 --- a/src/SWIG_files/deprecated_modules/BSplCLib.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.BSplCLib is deprecated since pythonocc-0.18.2. Use OCC.Core.BSplCLib", DeprecationWarning) - -from OCC.Core.BSplCLib import * diff --git a/src/SWIG_files/deprecated_modules/BSplSLib.py b/src/SWIG_files/deprecated_modules/BSplSLib.py deleted file mode 100644 index 9dd9ca47f..000000000 --- a/src/SWIG_files/deprecated_modules/BSplSLib.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.BSplSLib is deprecated since pythonocc-0.18.2. Use OCC.Core.BSplSLib", DeprecationWarning) - -from OCC.Core.BSplSLib import * diff --git a/src/SWIG_files/deprecated_modules/BiTgte.py b/src/SWIG_files/deprecated_modules/BiTgte.py deleted file mode 100644 index 6a59808f4..000000000 --- a/src/SWIG_files/deprecated_modules/BiTgte.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.BiTgte is deprecated since pythonocc-0.18.2. Use OCC.Core.BiTgte", DeprecationWarning) - -from OCC.Core.BiTgte import * diff --git a/src/SWIG_files/deprecated_modules/BinDrivers.py b/src/SWIG_files/deprecated_modules/BinDrivers.py deleted file mode 100644 index e547d22e3..000000000 --- a/src/SWIG_files/deprecated_modules/BinDrivers.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.BinDrivers is deprecated since pythonocc-0.18.2. Use OCC.Core.BinDrivers", DeprecationWarning) - -from OCC.Core.BinDrivers import * diff --git a/src/SWIG_files/deprecated_modules/BinLDrivers.py b/src/SWIG_files/deprecated_modules/BinLDrivers.py deleted file mode 100644 index ba5113855..000000000 --- a/src/SWIG_files/deprecated_modules/BinLDrivers.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.BinLDrivers is deprecated since pythonocc-0.18.2. Use OCC.Core.BinLDrivers", DeprecationWarning) - -from OCC.Core.BinLDrivers import * diff --git a/src/SWIG_files/deprecated_modules/BinMDF.py b/src/SWIG_files/deprecated_modules/BinMDF.py deleted file mode 100644 index 145c6dd67..000000000 --- a/src/SWIG_files/deprecated_modules/BinMDF.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.BinMDF is deprecated since pythonocc-0.18.2. Use OCC.Core.BinMDF", DeprecationWarning) - -from OCC.Core.BinMDF import * diff --git a/src/SWIG_files/deprecated_modules/BinMDataStd.py b/src/SWIG_files/deprecated_modules/BinMDataStd.py deleted file mode 100644 index 4358e1b7d..000000000 --- a/src/SWIG_files/deprecated_modules/BinMDataStd.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.BinMDataStd is deprecated since pythonocc-0.18.2. Use OCC.Core.BinMDataStd", DeprecationWarning) - -from OCC.Core.BinMDataStd import * diff --git a/src/SWIG_files/deprecated_modules/BinMDataXtd.py b/src/SWIG_files/deprecated_modules/BinMDataXtd.py deleted file mode 100644 index c7da272f3..000000000 --- a/src/SWIG_files/deprecated_modules/BinMDataXtd.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.BinMDataXtd is deprecated since pythonocc-0.18.2. Use OCC.Core.BinMDataXtd", DeprecationWarning) - -from OCC.Core.BinMDataXtd import * diff --git a/src/SWIG_files/deprecated_modules/BinMDocStd.py b/src/SWIG_files/deprecated_modules/BinMDocStd.py deleted file mode 100644 index 9a785589b..000000000 --- a/src/SWIG_files/deprecated_modules/BinMDocStd.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.BinMDocStd is deprecated since pythonocc-0.18.2. Use OCC.Core.BinMDocStd", DeprecationWarning) - -from OCC.Core.BinMDocStd import * diff --git a/src/SWIG_files/deprecated_modules/BinMFunction.py b/src/SWIG_files/deprecated_modules/BinMFunction.py deleted file mode 100644 index a1fdc47fe..000000000 --- a/src/SWIG_files/deprecated_modules/BinMFunction.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.BinMFunction is deprecated since pythonocc-0.18.2. Use OCC.Core.BinMFunction", DeprecationWarning) - -from OCC.Core.BinMFunction import * diff --git a/src/SWIG_files/deprecated_modules/BinMNaming.py b/src/SWIG_files/deprecated_modules/BinMNaming.py deleted file mode 100644 index d1fa77664..000000000 --- a/src/SWIG_files/deprecated_modules/BinMNaming.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.BinMNaming is deprecated since pythonocc-0.18.2. Use OCC.Core.BinMNaming", DeprecationWarning) - -from OCC.Core.BinMNaming import * diff --git a/src/SWIG_files/deprecated_modules/BinMPrsStd.py b/src/SWIG_files/deprecated_modules/BinMPrsStd.py deleted file mode 100644 index 2c21a03b6..000000000 --- a/src/SWIG_files/deprecated_modules/BinMPrsStd.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.BinMPrsStd is deprecated since pythonocc-0.18.2. Use OCC.Core.BinMPrsStd", DeprecationWarning) - -from OCC.Core.BinMPrsStd import * diff --git a/src/SWIG_files/deprecated_modules/BinMXCAFDoc.py b/src/SWIG_files/deprecated_modules/BinMXCAFDoc.py deleted file mode 100644 index f42952354..000000000 --- a/src/SWIG_files/deprecated_modules/BinMXCAFDoc.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.BinMXCAFDoc is deprecated since pythonocc-0.18.2. Use OCC.Core.BinMXCAFDoc", DeprecationWarning) - -from OCC.Core.BinMXCAFDoc import * diff --git a/src/SWIG_files/deprecated_modules/BinObjMgt.py b/src/SWIG_files/deprecated_modules/BinObjMgt.py deleted file mode 100644 index d0f96c2e2..000000000 --- a/src/SWIG_files/deprecated_modules/BinObjMgt.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.BinObjMgt is deprecated since pythonocc-0.18.2. Use OCC.Core.BinObjMgt", DeprecationWarning) - -from OCC.Core.BinObjMgt import * diff --git a/src/SWIG_files/deprecated_modules/BinTObjDrivers.py b/src/SWIG_files/deprecated_modules/BinTObjDrivers.py deleted file mode 100644 index f6cc5a8f4..000000000 --- a/src/SWIG_files/deprecated_modules/BinTObjDrivers.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.BinTObjDrivers is deprecated since pythonocc-0.18.2. Use OCC.Core.BinTObjDrivers", DeprecationWarning) - -from OCC.Core.BinTObjDrivers import * diff --git a/src/SWIG_files/deprecated_modules/BinXCAFDrivers.py b/src/SWIG_files/deprecated_modules/BinXCAFDrivers.py deleted file mode 100644 index 710249ecf..000000000 --- a/src/SWIG_files/deprecated_modules/BinXCAFDrivers.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.BinXCAFDrivers is deprecated since pythonocc-0.18.2. Use OCC.Core.BinXCAFDrivers", DeprecationWarning) - -from OCC.Core.BinXCAFDrivers import * diff --git a/src/SWIG_files/deprecated_modules/Bisector.py b/src/SWIG_files/deprecated_modules/Bisector.py deleted file mode 100644 index a06943aa0..000000000 --- a/src/SWIG_files/deprecated_modules/Bisector.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.Bisector is deprecated since pythonocc-0.18.2. Use OCC.Core.Bisector", DeprecationWarning) - -from OCC.Core.Bisector import * diff --git a/src/SWIG_files/deprecated_modules/Blend.py b/src/SWIG_files/deprecated_modules/Blend.py deleted file mode 100644 index 5fd9b0e69..000000000 --- a/src/SWIG_files/deprecated_modules/Blend.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.Blend is deprecated since pythonocc-0.18.2. Use OCC.Core.Blend", DeprecationWarning) - -from OCC.Core.Blend import * diff --git a/src/SWIG_files/deprecated_modules/BlendFunc.py b/src/SWIG_files/deprecated_modules/BlendFunc.py deleted file mode 100644 index 700d90fdd..000000000 --- a/src/SWIG_files/deprecated_modules/BlendFunc.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.BlendFunc is deprecated since pythonocc-0.18.2. Use OCC.Core.BlendFunc", DeprecationWarning) - -from OCC.Core.BlendFunc import * diff --git a/src/SWIG_files/deprecated_modules/Bnd.py b/src/SWIG_files/deprecated_modules/Bnd.py deleted file mode 100644 index ae209982f..000000000 --- a/src/SWIG_files/deprecated_modules/Bnd.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.Bnd is deprecated since pythonocc-0.18.2. Use OCC.Core.Bnd", DeprecationWarning) - -from OCC.Core.Bnd import * diff --git a/src/SWIG_files/deprecated_modules/BndLib.py b/src/SWIG_files/deprecated_modules/BndLib.py deleted file mode 100644 index 7ca5b3eef..000000000 --- a/src/SWIG_files/deprecated_modules/BndLib.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.BndLib is deprecated since pythonocc-0.18.2. Use OCC.Core.BndLib", DeprecationWarning) - -from OCC.Core.BndLib import * diff --git a/src/SWIG_files/deprecated_modules/CDF.py b/src/SWIG_files/deprecated_modules/CDF.py deleted file mode 100644 index ef0243863..000000000 --- a/src/SWIG_files/deprecated_modules/CDF.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.CDF is deprecated since pythonocc-0.18.2. Use OCC.Core.CDF", DeprecationWarning) - -from OCC.Core.CDF import * diff --git a/src/SWIG_files/deprecated_modules/CDM.py b/src/SWIG_files/deprecated_modules/CDM.py deleted file mode 100644 index 94ca0ba10..000000000 --- a/src/SWIG_files/deprecated_modules/CDM.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.CDM is deprecated since pythonocc-0.18.2. Use OCC.Core.CDM", DeprecationWarning) - -from OCC.Core.CDM import * diff --git a/src/SWIG_files/deprecated_modules/CPnts.py b/src/SWIG_files/deprecated_modules/CPnts.py deleted file mode 100644 index db27977bf..000000000 --- a/src/SWIG_files/deprecated_modules/CPnts.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.CPnts is deprecated since pythonocc-0.18.2. Use OCC.Core.CPnts", DeprecationWarning) - -from OCC.Core.CPnts import * diff --git a/src/SWIG_files/deprecated_modules/CSLib.py b/src/SWIG_files/deprecated_modules/CSLib.py deleted file mode 100644 index ff33597a6..000000000 --- a/src/SWIG_files/deprecated_modules/CSLib.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.CSLib is deprecated since pythonocc-0.18.2. Use OCC.Core.CSLib", DeprecationWarning) - -from OCC.Core.CSLib import * diff --git a/src/SWIG_files/deprecated_modules/ChFi2d.py b/src/SWIG_files/deprecated_modules/ChFi2d.py deleted file mode 100644 index 38b03abf5..000000000 --- a/src/SWIG_files/deprecated_modules/ChFi2d.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.ChFi2d is deprecated since pythonocc-0.18.2. Use OCC.Core.ChFi2d", DeprecationWarning) - -from OCC.Core.ChFi2d import * diff --git a/src/SWIG_files/deprecated_modules/ChFi3d.py b/src/SWIG_files/deprecated_modules/ChFi3d.py deleted file mode 100644 index f15d1c010..000000000 --- a/src/SWIG_files/deprecated_modules/ChFi3d.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.ChFi3d is deprecated since pythonocc-0.18.2. Use OCC.Core.ChFi3d", DeprecationWarning) - -from OCC.Core.ChFi3d import * diff --git a/src/SWIG_files/deprecated_modules/ChFiDS.py b/src/SWIG_files/deprecated_modules/ChFiDS.py deleted file mode 100644 index 0be734a4c..000000000 --- a/src/SWIG_files/deprecated_modules/ChFiDS.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.ChFiDS is deprecated since pythonocc-0.18.2. Use OCC.Core.ChFiDS", DeprecationWarning) - -from OCC.Core.ChFiDS import * diff --git a/src/SWIG_files/deprecated_modules/ChFiKPart.py b/src/SWIG_files/deprecated_modules/ChFiKPart.py deleted file mode 100644 index 7ce66778e..000000000 --- a/src/SWIG_files/deprecated_modules/ChFiKPart.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.ChFiKPart is deprecated since pythonocc-0.18.2. Use OCC.Core.ChFiKPart", DeprecationWarning) - -from OCC.Core.ChFiKPart import * diff --git a/src/SWIG_files/deprecated_modules/Contap.py b/src/SWIG_files/deprecated_modules/Contap.py deleted file mode 100644 index 87a3a2eb5..000000000 --- a/src/SWIG_files/deprecated_modules/Contap.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.Contap is deprecated since pythonocc-0.18.2. Use OCC.Core.Contap", DeprecationWarning) - -from OCC.Core.Contap import * diff --git a/src/SWIG_files/deprecated_modules/Convert.py b/src/SWIG_files/deprecated_modules/Convert.py deleted file mode 100644 index 6b080dfdc..000000000 --- a/src/SWIG_files/deprecated_modules/Convert.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.Convert is deprecated since pythonocc-0.18.2. Use OCC.Core.Convert", DeprecationWarning) - -from OCC.Core.Convert import * diff --git a/src/SWIG_files/deprecated_modules/Dico.py b/src/SWIG_files/deprecated_modules/Dico.py deleted file mode 100644 index 17cbd1c0a..000000000 --- a/src/SWIG_files/deprecated_modules/Dico.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.Dico is deprecated since pythonocc-0.18.2. Use OCC.Core.Dico", DeprecationWarning) - -from OCC.Core.Dico import * diff --git a/src/SWIG_files/deprecated_modules/Draft.py b/src/SWIG_files/deprecated_modules/Draft.py deleted file mode 100644 index 86a17a3f8..000000000 --- a/src/SWIG_files/deprecated_modules/Draft.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.Draft is deprecated since pythonocc-0.18.2. Use OCC.Core.Draft", DeprecationWarning) - -from OCC.Core.Draft import * diff --git a/src/SWIG_files/deprecated_modules/DsgPrs.py b/src/SWIG_files/deprecated_modules/DsgPrs.py deleted file mode 100644 index 208afd2fa..000000000 --- a/src/SWIG_files/deprecated_modules/DsgPrs.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.DsgPrs is deprecated since pythonocc-0.18.2. Use OCC.Core.DsgPrs", DeprecationWarning) - -from OCC.Core.DsgPrs import * diff --git a/src/SWIG_files/deprecated_modules/Dynamic.py b/src/SWIG_files/deprecated_modules/Dynamic.py deleted file mode 100644 index a9c2695de..000000000 --- a/src/SWIG_files/deprecated_modules/Dynamic.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.Dynamic is deprecated since pythonocc-0.18.2. Use OCC.Core.Dynamic", DeprecationWarning) - -from OCC.Core.Dynamic import * diff --git a/src/SWIG_files/deprecated_modules/ElCLib.py b/src/SWIG_files/deprecated_modules/ElCLib.py deleted file mode 100644 index d8ada6080..000000000 --- a/src/SWIG_files/deprecated_modules/ElCLib.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.ElCLib is deprecated since pythonocc-0.18.2. Use OCC.Core.ElCLib", DeprecationWarning) - -from OCC.Core.ElCLib import * diff --git a/src/SWIG_files/deprecated_modules/ElSLib.py b/src/SWIG_files/deprecated_modules/ElSLib.py deleted file mode 100644 index f1e54b126..000000000 --- a/src/SWIG_files/deprecated_modules/ElSLib.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.ElSLib is deprecated since pythonocc-0.18.2. Use OCC.Core.ElSLib", DeprecationWarning) - -from OCC.Core.ElSLib import * diff --git a/src/SWIG_files/deprecated_modules/Expr.py b/src/SWIG_files/deprecated_modules/Expr.py deleted file mode 100644 index 1cebf9731..000000000 --- a/src/SWIG_files/deprecated_modules/Expr.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.Expr is deprecated since pythonocc-0.18.2. Use OCC.Core.Expr", DeprecationWarning) - -from OCC.Core.Expr import * diff --git a/src/SWIG_files/deprecated_modules/ExprIntrp.py b/src/SWIG_files/deprecated_modules/ExprIntrp.py deleted file mode 100644 index 7da78932d..000000000 --- a/src/SWIG_files/deprecated_modules/ExprIntrp.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.ExprIntrp is deprecated since pythonocc-0.18.2. Use OCC.Core.ExprIntrp", DeprecationWarning) - -from OCC.Core.ExprIntrp import * diff --git a/src/SWIG_files/deprecated_modules/Extrema.py b/src/SWIG_files/deprecated_modules/Extrema.py deleted file mode 100644 index 8bc0495bd..000000000 --- a/src/SWIG_files/deprecated_modules/Extrema.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.Extrema is deprecated since pythonocc-0.18.2. Use OCC.Core.Extrema", DeprecationWarning) - -from OCC.Core.Extrema import * diff --git a/src/SWIG_files/deprecated_modules/FEmTool.py b/src/SWIG_files/deprecated_modules/FEmTool.py deleted file mode 100644 index 433a13ac2..000000000 --- a/src/SWIG_files/deprecated_modules/FEmTool.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.FEmTool is deprecated since pythonocc-0.18.2. Use OCC.Core.FEmTool", DeprecationWarning) - -from OCC.Core.FEmTool import * diff --git a/src/SWIG_files/deprecated_modules/FSD.py b/src/SWIG_files/deprecated_modules/FSD.py deleted file mode 100644 index 1d9adf353..000000000 --- a/src/SWIG_files/deprecated_modules/FSD.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.FSD is deprecated since pythonocc-0.18.2. Use OCC.Core.FSD", DeprecationWarning) - -from OCC.Core.FSD import * diff --git a/src/SWIG_files/deprecated_modules/FairCurve.py b/src/SWIG_files/deprecated_modules/FairCurve.py deleted file mode 100644 index 7abb79be8..000000000 --- a/src/SWIG_files/deprecated_modules/FairCurve.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.FairCurve is deprecated since pythonocc-0.18.2. Use OCC.Core.FairCurve", DeprecationWarning) - -from OCC.Core.FairCurve import * diff --git a/src/SWIG_files/deprecated_modules/FilletSurf.py b/src/SWIG_files/deprecated_modules/FilletSurf.py deleted file mode 100644 index b95d99e60..000000000 --- a/src/SWIG_files/deprecated_modules/FilletSurf.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.FilletSurf is deprecated since pythonocc-0.18.2. Use OCC.Core.FilletSurf", DeprecationWarning) - -from OCC.Core.FilletSurf import * diff --git a/src/SWIG_files/deprecated_modules/GC.py b/src/SWIG_files/deprecated_modules/GC.py deleted file mode 100644 index 8dacfa97c..000000000 --- a/src/SWIG_files/deprecated_modules/GC.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.GC is deprecated since pythonocc-0.18.2. Use OCC.Core.GC", DeprecationWarning) - -from OCC.Core.GC import * diff --git a/src/SWIG_files/deprecated_modules/GCE2d.py b/src/SWIG_files/deprecated_modules/GCE2d.py deleted file mode 100644 index 005b7c3b6..000000000 --- a/src/SWIG_files/deprecated_modules/GCE2d.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.GCE2d is deprecated since pythonocc-0.18.2. Use OCC.Core.GCE2d", DeprecationWarning) - -from OCC.Core.GCE2d import * diff --git a/src/SWIG_files/deprecated_modules/GCPnts.py b/src/SWIG_files/deprecated_modules/GCPnts.py deleted file mode 100644 index 239c3e8c9..000000000 --- a/src/SWIG_files/deprecated_modules/GCPnts.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.GCPnts is deprecated since pythonocc-0.18.2. Use OCC.Core.GCPnts", DeprecationWarning) - -from OCC.Core.GCPnts import * diff --git a/src/SWIG_files/deprecated_modules/GEOMAlgo.py b/src/SWIG_files/deprecated_modules/GEOMAlgo.py deleted file mode 100644 index 4aa70bc99..000000000 --- a/src/SWIG_files/deprecated_modules/GEOMAlgo.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.GEOMAlgo is deprecated since pythonocc-0.18.2. Use OCC.Core.GEOMAlgo", DeprecationWarning) - -from OCC.Core.GEOMAlgo import * diff --git a/src/SWIG_files/deprecated_modules/GProp.py b/src/SWIG_files/deprecated_modules/GProp.py deleted file mode 100644 index 7bb99e21c..000000000 --- a/src/SWIG_files/deprecated_modules/GProp.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.GProp is deprecated since pythonocc-0.18.2. Use OCC.Core.GProp", DeprecationWarning) - -from OCC.Core.GProp import * diff --git a/src/SWIG_files/deprecated_modules/GccAna.py b/src/SWIG_files/deprecated_modules/GccAna.py deleted file mode 100644 index b1ca98f2a..000000000 --- a/src/SWIG_files/deprecated_modules/GccAna.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.GccAna is deprecated since pythonocc-0.18.2. Use OCC.Core.GccAna", DeprecationWarning) - -from OCC.Core.GccAna import * diff --git a/src/SWIG_files/deprecated_modules/GccEnt.py b/src/SWIG_files/deprecated_modules/GccEnt.py deleted file mode 100644 index 435abc6e4..000000000 --- a/src/SWIG_files/deprecated_modules/GccEnt.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.GccEnt is deprecated since pythonocc-0.18.2. Use OCC.Core.GccEnt", DeprecationWarning) - -from OCC.Core.GccEnt import * diff --git a/src/SWIG_files/deprecated_modules/GccGeo.py b/src/SWIG_files/deprecated_modules/GccGeo.py deleted file mode 100644 index 804e252a1..000000000 --- a/src/SWIG_files/deprecated_modules/GccGeo.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.GccGeo is deprecated since pythonocc-0.18.2. Use OCC.Core.GccGeo", DeprecationWarning) - -from OCC.Core.GccGeo import * diff --git a/src/SWIG_files/deprecated_modules/GccInt.py b/src/SWIG_files/deprecated_modules/GccInt.py deleted file mode 100644 index 6dfc2eae9..000000000 --- a/src/SWIG_files/deprecated_modules/GccInt.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.GccInt is deprecated since pythonocc-0.18.2. Use OCC.Core.GccInt", DeprecationWarning) - -from OCC.Core.GccInt import * diff --git a/src/SWIG_files/deprecated_modules/GccIter.py b/src/SWIG_files/deprecated_modules/GccIter.py deleted file mode 100644 index e7a243351..000000000 --- a/src/SWIG_files/deprecated_modules/GccIter.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.GccIter is deprecated since pythonocc-0.18.2. Use OCC.Core.GccIter", DeprecationWarning) - -from OCC.Core.GccIter import * diff --git a/src/SWIG_files/deprecated_modules/Geom.py b/src/SWIG_files/deprecated_modules/Geom.py deleted file mode 100644 index 2c7429c87..000000000 --- a/src/SWIG_files/deprecated_modules/Geom.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.Geom is deprecated since pythonocc-0.18.2. Use OCC.Core.Geom", DeprecationWarning) - -from OCC.Core.Geom import * diff --git a/src/SWIG_files/deprecated_modules/Geom2d.py b/src/SWIG_files/deprecated_modules/Geom2d.py deleted file mode 100644 index 918b3b6cf..000000000 --- a/src/SWIG_files/deprecated_modules/Geom2d.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.Geom2d is deprecated since pythonocc-0.18.2. Use OCC.Core.Geom2d", DeprecationWarning) - -from OCC.Core.Geom2d import * diff --git a/src/SWIG_files/deprecated_modules/Geom2dAPI.py b/src/SWIG_files/deprecated_modules/Geom2dAPI.py deleted file mode 100644 index 237ea5a05..000000000 --- a/src/SWIG_files/deprecated_modules/Geom2dAPI.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.Geom2dAPI is deprecated since pythonocc-0.18.2. Use OCC.Core.Geom2dAPI", DeprecationWarning) - -from OCC.Core.Geom2dAPI import * diff --git a/src/SWIG_files/deprecated_modules/Geom2dAdaptor.py b/src/SWIG_files/deprecated_modules/Geom2dAdaptor.py deleted file mode 100644 index 7d27b0d53..000000000 --- a/src/SWIG_files/deprecated_modules/Geom2dAdaptor.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.Geom2dAdaptor is deprecated since pythonocc-0.18.2. Use OCC.Core.Geom2dAdaptor", DeprecationWarning) - -from OCC.Core.Geom2dAdaptor import * diff --git a/src/SWIG_files/deprecated_modules/Geom2dConvert.py b/src/SWIG_files/deprecated_modules/Geom2dConvert.py deleted file mode 100644 index 30a9b4f9a..000000000 --- a/src/SWIG_files/deprecated_modules/Geom2dConvert.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.Geom2dConvert is deprecated since pythonocc-0.18.2. Use OCC.Core.Geom2dConvert", DeprecationWarning) - -from OCC.Core.Geom2dConvert import * diff --git a/src/SWIG_files/deprecated_modules/Geom2dGcc.py b/src/SWIG_files/deprecated_modules/Geom2dGcc.py deleted file mode 100644 index cead22e6c..000000000 --- a/src/SWIG_files/deprecated_modules/Geom2dGcc.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.Geom2dGcc is deprecated since pythonocc-0.18.2. Use OCC.Core.Geom2dGcc", DeprecationWarning) - -from OCC.Core.Geom2dGcc import * diff --git a/src/SWIG_files/deprecated_modules/Geom2dHatch.py b/src/SWIG_files/deprecated_modules/Geom2dHatch.py deleted file mode 100644 index 2c5685500..000000000 --- a/src/SWIG_files/deprecated_modules/Geom2dHatch.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.Geom2dHatch is deprecated since pythonocc-0.18.2. Use OCC.Core.Geom2dHatch", DeprecationWarning) - -from OCC.Core.Geom2dHatch import * diff --git a/src/SWIG_files/deprecated_modules/Geom2dInt.py b/src/SWIG_files/deprecated_modules/Geom2dInt.py deleted file mode 100644 index e022754f4..000000000 --- a/src/SWIG_files/deprecated_modules/Geom2dInt.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.Geom2dInt is deprecated since pythonocc-0.18.2. Use OCC.Core.Geom2dInt", DeprecationWarning) - -from OCC.Core.Geom2dInt import * diff --git a/src/SWIG_files/deprecated_modules/Geom2dLProp.py b/src/SWIG_files/deprecated_modules/Geom2dLProp.py deleted file mode 100644 index da6ca55f2..000000000 --- a/src/SWIG_files/deprecated_modules/Geom2dLProp.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.Geom2dLProp is deprecated since pythonocc-0.18.2. Use OCC.Core.Geom2dLProp", DeprecationWarning) - -from OCC.Core.Geom2dLProp import * diff --git a/src/SWIG_files/deprecated_modules/GeomAPI.py b/src/SWIG_files/deprecated_modules/GeomAPI.py deleted file mode 100644 index 318abca4d..000000000 --- a/src/SWIG_files/deprecated_modules/GeomAPI.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.GeomAPI is deprecated since pythonocc-0.18.2. Use OCC.Core.GeomAPI", DeprecationWarning) - -from OCC.Core.GeomAPI import * diff --git a/src/SWIG_files/deprecated_modules/GeomAbs.py b/src/SWIG_files/deprecated_modules/GeomAbs.py deleted file mode 100644 index 15eebfe01..000000000 --- a/src/SWIG_files/deprecated_modules/GeomAbs.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.GeomAbs is deprecated since pythonocc-0.18.2. Use OCC.Core.GeomAbs", DeprecationWarning) - -from OCC.Core.GeomAbs import * diff --git a/src/SWIG_files/deprecated_modules/GeomAdaptor.py b/src/SWIG_files/deprecated_modules/GeomAdaptor.py deleted file mode 100644 index 67f7e2108..000000000 --- a/src/SWIG_files/deprecated_modules/GeomAdaptor.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.GeomAdaptor is deprecated since pythonocc-0.18.2. Use OCC.Core.GeomAdaptor", DeprecationWarning) - -from OCC.Core.GeomAdaptor import * diff --git a/src/SWIG_files/deprecated_modules/GeomConvert.py b/src/SWIG_files/deprecated_modules/GeomConvert.py deleted file mode 100644 index 01ecb85c8..000000000 --- a/src/SWIG_files/deprecated_modules/GeomConvert.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.GeomConvert is deprecated since pythonocc-0.18.2. Use OCC.Core.GeomConvert", DeprecationWarning) - -from OCC.Core.GeomConvert import * diff --git a/src/SWIG_files/deprecated_modules/GeomFill.py b/src/SWIG_files/deprecated_modules/GeomFill.py deleted file mode 100644 index 6467f44fd..000000000 --- a/src/SWIG_files/deprecated_modules/GeomFill.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.GeomFill is deprecated since pythonocc-0.18.2. Use OCC.Core.GeomFill", DeprecationWarning) - -from OCC.Core.GeomFill import * diff --git a/src/SWIG_files/deprecated_modules/GeomInt.py b/src/SWIG_files/deprecated_modules/GeomInt.py deleted file mode 100644 index b698fff18..000000000 --- a/src/SWIG_files/deprecated_modules/GeomInt.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.GeomInt is deprecated since pythonocc-0.18.2. Use OCC.Core.GeomInt", DeprecationWarning) - -from OCC.Core.GeomInt import * diff --git a/src/SWIG_files/deprecated_modules/GeomLProp.py b/src/SWIG_files/deprecated_modules/GeomLProp.py deleted file mode 100644 index 5d87bb83c..000000000 --- a/src/SWIG_files/deprecated_modules/GeomLProp.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.GeomLProp is deprecated since pythonocc-0.18.2. Use OCC.Core.GeomLProp", DeprecationWarning) - -from OCC.Core.GeomLProp import * diff --git a/src/SWIG_files/deprecated_modules/GeomLib.py b/src/SWIG_files/deprecated_modules/GeomLib.py deleted file mode 100644 index 43d0eca4d..000000000 --- a/src/SWIG_files/deprecated_modules/GeomLib.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.GeomLib is deprecated since pythonocc-0.18.2. Use OCC.Core.GeomLib", DeprecationWarning) - -from OCC.Core.GeomLib import * diff --git a/src/SWIG_files/deprecated_modules/GeomPlate.py b/src/SWIG_files/deprecated_modules/GeomPlate.py deleted file mode 100644 index 23a319c81..000000000 --- a/src/SWIG_files/deprecated_modules/GeomPlate.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.GeomPlate is deprecated since pythonocc-0.18.2. Use OCC.Core.GeomPlate", DeprecationWarning) - -from OCC.Core.GeomPlate import * diff --git a/src/SWIG_files/deprecated_modules/GeomProjLib.py b/src/SWIG_files/deprecated_modules/GeomProjLib.py deleted file mode 100644 index 4f464259c..000000000 --- a/src/SWIG_files/deprecated_modules/GeomProjLib.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.GeomProjLib is deprecated since pythonocc-0.18.2. Use OCC.Core.GeomProjLib", DeprecationWarning) - -from OCC.Core.GeomProjLib import * diff --git a/src/SWIG_files/deprecated_modules/GeomToStep.py b/src/SWIG_files/deprecated_modules/GeomToStep.py deleted file mode 100644 index 2c65e4437..000000000 --- a/src/SWIG_files/deprecated_modules/GeomToStep.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.GeomToStep is deprecated since pythonocc-0.18.2. Use OCC.Core.GeomToStep", DeprecationWarning) - -from OCC.Core.GeomToStep import * diff --git a/src/SWIG_files/deprecated_modules/GeomTools.py b/src/SWIG_files/deprecated_modules/GeomTools.py deleted file mode 100644 index ea5b3bf5f..000000000 --- a/src/SWIG_files/deprecated_modules/GeomTools.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.GeomTools is deprecated since pythonocc-0.18.2. Use OCC.Core.GeomTools", DeprecationWarning) - -from OCC.Core.GeomTools import * diff --git a/src/SWIG_files/deprecated_modules/GraphDS.py b/src/SWIG_files/deprecated_modules/GraphDS.py deleted file mode 100644 index d6e58d3c9..000000000 --- a/src/SWIG_files/deprecated_modules/GraphDS.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.GraphDS is deprecated since pythonocc-0.18.2. Use OCC.Core.GraphDS", DeprecationWarning) - -from OCC.Core.GraphDS import * diff --git a/src/SWIG_files/deprecated_modules/GraphTools.py b/src/SWIG_files/deprecated_modules/GraphTools.py deleted file mode 100644 index bdaa0f24c..000000000 --- a/src/SWIG_files/deprecated_modules/GraphTools.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.GraphTools is deprecated since pythonocc-0.18.2. Use OCC.Core.GraphTools", DeprecationWarning) - -from OCC.Core.GraphTools import * diff --git a/src/SWIG_files/deprecated_modules/Graphic3d.py b/src/SWIG_files/deprecated_modules/Graphic3d.py deleted file mode 100644 index 51b8b0c51..000000000 --- a/src/SWIG_files/deprecated_modules/Graphic3d.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.Graphic3d is deprecated since pythonocc-0.18.2. Use OCC.Core.Graphic3d", DeprecationWarning) - -from OCC.Core.Graphic3d import * diff --git a/src/SWIG_files/deprecated_modules/HLRAlgo.py b/src/SWIG_files/deprecated_modules/HLRAlgo.py deleted file mode 100644 index 5d16a2e6b..000000000 --- a/src/SWIG_files/deprecated_modules/HLRAlgo.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.HLRAlgo is deprecated since pythonocc-0.18.2. Use OCC.Core.HLRAlgo", DeprecationWarning) - -from OCC.Core.HLRAlgo import * diff --git a/src/SWIG_files/deprecated_modules/HLRAppli.py b/src/SWIG_files/deprecated_modules/HLRAppli.py deleted file mode 100644 index 0466fcb87..000000000 --- a/src/SWIG_files/deprecated_modules/HLRAppli.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.HLRAppli is deprecated since pythonocc-0.18.2. Use OCC.Core.HLRAppli", DeprecationWarning) - -from OCC.Core.HLRAppli import * diff --git a/src/SWIG_files/deprecated_modules/HLRBRep.py b/src/SWIG_files/deprecated_modules/HLRBRep.py deleted file mode 100644 index 644d68e61..000000000 --- a/src/SWIG_files/deprecated_modules/HLRBRep.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.HLRBRep is deprecated since pythonocc-0.18.2. Use OCC.Core.HLRBRep", DeprecationWarning) - -from OCC.Core.HLRBRep import * diff --git a/src/SWIG_files/deprecated_modules/HLRTopoBRep.py b/src/SWIG_files/deprecated_modules/HLRTopoBRep.py deleted file mode 100644 index 87a32858e..000000000 --- a/src/SWIG_files/deprecated_modules/HLRTopoBRep.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.HLRTopoBRep is deprecated since pythonocc-0.18.2. Use OCC.Core.HLRTopoBRep", DeprecationWarning) - -from OCC.Core.HLRTopoBRep import * diff --git a/src/SWIG_files/deprecated_modules/Hatch.py b/src/SWIG_files/deprecated_modules/Hatch.py deleted file mode 100644 index 86de8bafd..000000000 --- a/src/SWIG_files/deprecated_modules/Hatch.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.Hatch is deprecated since pythonocc-0.18.2. Use OCC.Core.Hatch", DeprecationWarning) - -from OCC.Core.Hatch import * diff --git a/src/SWIG_files/deprecated_modules/HatchGen.py b/src/SWIG_files/deprecated_modules/HatchGen.py deleted file mode 100644 index 9e8bd9762..000000000 --- a/src/SWIG_files/deprecated_modules/HatchGen.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.HatchGen is deprecated since pythonocc-0.18.2. Use OCC.Core.HatchGen", DeprecationWarning) - -from OCC.Core.HatchGen import * diff --git a/src/SWIG_files/deprecated_modules/Hermit.py b/src/SWIG_files/deprecated_modules/Hermit.py deleted file mode 100644 index e19ab17c6..000000000 --- a/src/SWIG_files/deprecated_modules/Hermit.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.Hermit is deprecated since pythonocc-0.18.2. Use OCC.Core.Hermit", DeprecationWarning) - -from OCC.Core.Hermit import * diff --git a/src/SWIG_files/deprecated_modules/IFSelect.py b/src/SWIG_files/deprecated_modules/IFSelect.py deleted file mode 100644 index 9f66160f8..000000000 --- a/src/SWIG_files/deprecated_modules/IFSelect.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.IFSelect is deprecated since pythonocc-0.18.2. Use OCC.Core.IFSelect", DeprecationWarning) - -from OCC.Core.IFSelect import * diff --git a/src/SWIG_files/deprecated_modules/IGESCAFControl.py b/src/SWIG_files/deprecated_modules/IGESCAFControl.py deleted file mode 100644 index 89db9ce78..000000000 --- a/src/SWIG_files/deprecated_modules/IGESCAFControl.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.IGESCAFControl is deprecated since pythonocc-0.18.2. Use OCC.Core.IGESCAFControl", DeprecationWarning) - -from OCC.Core.IGESCAFControl import * diff --git a/src/SWIG_files/deprecated_modules/IGESControl.py b/src/SWIG_files/deprecated_modules/IGESControl.py deleted file mode 100644 index 02c64bc3a..000000000 --- a/src/SWIG_files/deprecated_modules/IGESControl.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.IGESControl is deprecated since pythonocc-0.18.2. Use OCC.Core.IGESControl", DeprecationWarning) - -from OCC.Core.IGESControl import * diff --git a/src/SWIG_files/deprecated_modules/IVtk.py b/src/SWIG_files/deprecated_modules/IVtk.py deleted file mode 100644 index b1b8eb6bf..000000000 --- a/src/SWIG_files/deprecated_modules/IVtk.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.IVtk is deprecated since pythonocc-0.18.2. Use OCC.Core.IVtk", DeprecationWarning) - -from OCC.Core.IVtk import * diff --git a/src/SWIG_files/deprecated_modules/IVtkOCC.py b/src/SWIG_files/deprecated_modules/IVtkOCC.py deleted file mode 100644 index 92117b22b..000000000 --- a/src/SWIG_files/deprecated_modules/IVtkOCC.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.IVtkOCC is deprecated since pythonocc-0.18.2. Use OCC.Core.IVtkOCC", DeprecationWarning) - -from OCC.Core.IVtkOCC import * diff --git a/src/SWIG_files/deprecated_modules/IVtkTools.py b/src/SWIG_files/deprecated_modules/IVtkTools.py deleted file mode 100644 index d24818e63..000000000 --- a/src/SWIG_files/deprecated_modules/IVtkTools.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.IVtkTools is deprecated since pythonocc-0.18.2. Use OCC.Core.IVtkTools", DeprecationWarning) - -from OCC.Core.IVtkTools import * diff --git a/src/SWIG_files/deprecated_modules/IVtkVTK.py b/src/SWIG_files/deprecated_modules/IVtkVTK.py deleted file mode 100644 index fa7e6529e..000000000 --- a/src/SWIG_files/deprecated_modules/IVtkVTK.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.IVtkVTK is deprecated since pythonocc-0.18.2. Use OCC.Core.IVtkVTK", DeprecationWarning) - -from OCC.Core.IVtkVTK import * diff --git a/src/SWIG_files/deprecated_modules/Image.py b/src/SWIG_files/deprecated_modules/Image.py deleted file mode 100644 index cb124a950..000000000 --- a/src/SWIG_files/deprecated_modules/Image.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.Image is deprecated since pythonocc-0.18.2. Use OCC.Core.Image", DeprecationWarning) - -from OCC.Core.Image import * diff --git a/src/SWIG_files/deprecated_modules/IncludeLibrary.py b/src/SWIG_files/deprecated_modules/IncludeLibrary.py deleted file mode 100644 index 025996abe..000000000 --- a/src/SWIG_files/deprecated_modules/IncludeLibrary.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.IncludeLibrary is deprecated since pythonocc-0.18.2. Use OCC.Core.IncludeLibrary", DeprecationWarning) - -from OCC.Core.IncludeLibrary import * diff --git a/src/SWIG_files/deprecated_modules/IntAna.py b/src/SWIG_files/deprecated_modules/IntAna.py deleted file mode 100644 index 39f648aaf..000000000 --- a/src/SWIG_files/deprecated_modules/IntAna.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.IntAna is deprecated since pythonocc-0.18.2. Use OCC.Core.IntAna", DeprecationWarning) - -from OCC.Core.IntAna import * diff --git a/src/SWIG_files/deprecated_modules/IntAna2d.py b/src/SWIG_files/deprecated_modules/IntAna2d.py deleted file mode 100644 index 8e45c13ed..000000000 --- a/src/SWIG_files/deprecated_modules/IntAna2d.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.IntAna2d is deprecated since pythonocc-0.18.2. Use OCC.Core.IntAna2d", DeprecationWarning) - -from OCC.Core.IntAna2d import * diff --git a/src/SWIG_files/deprecated_modules/IntCurve.py b/src/SWIG_files/deprecated_modules/IntCurve.py deleted file mode 100644 index e722bed67..000000000 --- a/src/SWIG_files/deprecated_modules/IntCurve.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.IntCurve is deprecated since pythonocc-0.18.2. Use OCC.Core.IntCurve", DeprecationWarning) - -from OCC.Core.IntCurve import * diff --git a/src/SWIG_files/deprecated_modules/IntCurveSurface.py b/src/SWIG_files/deprecated_modules/IntCurveSurface.py deleted file mode 100644 index 878589ed3..000000000 --- a/src/SWIG_files/deprecated_modules/IntCurveSurface.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.IntCurveSurface is deprecated since pythonocc-0.18.2. Use OCC.Core.IntCurveSurface", DeprecationWarning) - -from OCC.Core.IntCurveSurface import * diff --git a/src/SWIG_files/deprecated_modules/IntCurvesFace.py b/src/SWIG_files/deprecated_modules/IntCurvesFace.py deleted file mode 100644 index baac74cab..000000000 --- a/src/SWIG_files/deprecated_modules/IntCurvesFace.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.IntCurvesFace is deprecated since pythonocc-0.18.2. Use OCC.Core.IntCurvesFace", DeprecationWarning) - -from OCC.Core.IntCurvesFace import * diff --git a/src/SWIG_files/deprecated_modules/IntImp.py b/src/SWIG_files/deprecated_modules/IntImp.py deleted file mode 100644 index 8d90fa512..000000000 --- a/src/SWIG_files/deprecated_modules/IntImp.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.IntImp is deprecated since pythonocc-0.18.2. Use OCC.Core.IntImp", DeprecationWarning) - -from OCC.Core.IntImp import * diff --git a/src/SWIG_files/deprecated_modules/IntImpParGen.py b/src/SWIG_files/deprecated_modules/IntImpParGen.py deleted file mode 100644 index 4092ec778..000000000 --- a/src/SWIG_files/deprecated_modules/IntImpParGen.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.IntImpParGen is deprecated since pythonocc-0.18.2. Use OCC.Core.IntImpParGen", DeprecationWarning) - -from OCC.Core.IntImpParGen import * diff --git a/src/SWIG_files/deprecated_modules/IntPatch.py b/src/SWIG_files/deprecated_modules/IntPatch.py deleted file mode 100644 index 82a01b62d..000000000 --- a/src/SWIG_files/deprecated_modules/IntPatch.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.IntPatch is deprecated since pythonocc-0.18.2. Use OCC.Core.IntPatch", DeprecationWarning) - -from OCC.Core.IntPatch import * diff --git a/src/SWIG_files/deprecated_modules/IntPoly.py b/src/SWIG_files/deprecated_modules/IntPoly.py deleted file mode 100644 index 799a938c2..000000000 --- a/src/SWIG_files/deprecated_modules/IntPoly.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.IntPoly is deprecated since pythonocc-0.18.2. Use OCC.Core.IntPoly", DeprecationWarning) - -from OCC.Core.IntPoly import * diff --git a/src/SWIG_files/deprecated_modules/IntPolyh.py b/src/SWIG_files/deprecated_modules/IntPolyh.py deleted file mode 100644 index b85cd59e7..000000000 --- a/src/SWIG_files/deprecated_modules/IntPolyh.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.IntPolyh is deprecated since pythonocc-0.18.2. Use OCC.Core.IntPolyh", DeprecationWarning) - -from OCC.Core.IntPolyh import * diff --git a/src/SWIG_files/deprecated_modules/IntRes2d.py b/src/SWIG_files/deprecated_modules/IntRes2d.py deleted file mode 100644 index 5db246c41..000000000 --- a/src/SWIG_files/deprecated_modules/IntRes2d.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.IntRes2d is deprecated since pythonocc-0.18.2. Use OCC.Core.IntRes2d", DeprecationWarning) - -from OCC.Core.IntRes2d import * diff --git a/src/SWIG_files/deprecated_modules/IntStart.py b/src/SWIG_files/deprecated_modules/IntStart.py deleted file mode 100644 index 1dac00b8d..000000000 --- a/src/SWIG_files/deprecated_modules/IntStart.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.IntStart is deprecated since pythonocc-0.18.2. Use OCC.Core.IntStart", DeprecationWarning) - -from OCC.Core.IntStart import * diff --git a/src/SWIG_files/deprecated_modules/IntSurf.py b/src/SWIG_files/deprecated_modules/IntSurf.py deleted file mode 100644 index 1e15202b2..000000000 --- a/src/SWIG_files/deprecated_modules/IntSurf.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.IntSurf is deprecated since pythonocc-0.18.2. Use OCC.Core.IntSurf", DeprecationWarning) - -from OCC.Core.IntSurf import * diff --git a/src/SWIG_files/deprecated_modules/IntTools.py b/src/SWIG_files/deprecated_modules/IntTools.py deleted file mode 100644 index 7c3dcb74c..000000000 --- a/src/SWIG_files/deprecated_modules/IntTools.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.IntTools is deprecated since pythonocc-0.18.2. Use OCC.Core.IntTools", DeprecationWarning) - -from OCC.Core.IntTools import * diff --git a/src/SWIG_files/deprecated_modules/IntWalk.py b/src/SWIG_files/deprecated_modules/IntWalk.py deleted file mode 100644 index e1f888de3..000000000 --- a/src/SWIG_files/deprecated_modules/IntWalk.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.IntWalk is deprecated since pythonocc-0.18.2. Use OCC.Core.IntWalk", DeprecationWarning) - -from OCC.Core.IntWalk import * diff --git a/src/SWIG_files/deprecated_modules/Interface.py b/src/SWIG_files/deprecated_modules/Interface.py deleted file mode 100644 index 740d09f46..000000000 --- a/src/SWIG_files/deprecated_modules/Interface.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.Interface is deprecated since pythonocc-0.18.2. Use OCC.Core.Interface", DeprecationWarning) - -from OCC.Core.Interface import * diff --git a/src/SWIG_files/deprecated_modules/InterfaceGraphic.py b/src/SWIG_files/deprecated_modules/InterfaceGraphic.py deleted file mode 100644 index f1a7f4bcf..000000000 --- a/src/SWIG_files/deprecated_modules/InterfaceGraphic.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.InterfaceGraphic is deprecated since pythonocc-0.18.2. Use OCC.Core.InterfaceGraphic", DeprecationWarning) - -from OCC.Core.InterfaceGraphic import * diff --git a/src/SWIG_files/deprecated_modules/Intf.py b/src/SWIG_files/deprecated_modules/Intf.py deleted file mode 100644 index 5d7151ae2..000000000 --- a/src/SWIG_files/deprecated_modules/Intf.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.Intf is deprecated since pythonocc-0.18.2. Use OCC.Core.Intf", DeprecationWarning) - -from OCC.Core.Intf import * diff --git a/src/SWIG_files/deprecated_modules/Intrv.py b/src/SWIG_files/deprecated_modules/Intrv.py deleted file mode 100644 index ed8e5be23..000000000 --- a/src/SWIG_files/deprecated_modules/Intrv.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.Intrv is deprecated since pythonocc-0.18.2. Use OCC.Core.Intrv", DeprecationWarning) - -from OCC.Core.Intrv import * diff --git a/src/SWIG_files/deprecated_modules/LDOM.py b/src/SWIG_files/deprecated_modules/LDOM.py deleted file mode 100644 index d6148a3f9..000000000 --- a/src/SWIG_files/deprecated_modules/LDOM.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.LDOM is deprecated since pythonocc-0.18.2. Use OCC.Core.LDOM", DeprecationWarning) - -from OCC.Core.LDOM import * diff --git a/src/SWIG_files/deprecated_modules/LProp.py b/src/SWIG_files/deprecated_modules/LProp.py deleted file mode 100644 index 1e6609174..000000000 --- a/src/SWIG_files/deprecated_modules/LProp.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.LProp is deprecated since pythonocc-0.18.2. Use OCC.Core.LProp", DeprecationWarning) - -from OCC.Core.LProp import * diff --git a/src/SWIG_files/deprecated_modules/LProp3d.py b/src/SWIG_files/deprecated_modules/LProp3d.py deleted file mode 100644 index 7b00ef516..000000000 --- a/src/SWIG_files/deprecated_modules/LProp3d.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.LProp3d is deprecated since pythonocc-0.18.2. Use OCC.Core.LProp3d", DeprecationWarning) - -from OCC.Core.LProp3d import * diff --git a/src/SWIG_files/deprecated_modules/Law.py b/src/SWIG_files/deprecated_modules/Law.py deleted file mode 100644 index 29b7245bc..000000000 --- a/src/SWIG_files/deprecated_modules/Law.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.Law is deprecated since pythonocc-0.18.2. Use OCC.Core.Law", DeprecationWarning) - -from OCC.Core.Law import * diff --git a/src/SWIG_files/deprecated_modules/LocOpe.py b/src/SWIG_files/deprecated_modules/LocOpe.py deleted file mode 100644 index 60c3f763c..000000000 --- a/src/SWIG_files/deprecated_modules/LocOpe.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.LocOpe is deprecated since pythonocc-0.18.2. Use OCC.Core.LocOpe", DeprecationWarning) - -from OCC.Core.LocOpe import * diff --git a/src/SWIG_files/deprecated_modules/LocalAnalysis.py b/src/SWIG_files/deprecated_modules/LocalAnalysis.py deleted file mode 100644 index 5f40aad80..000000000 --- a/src/SWIG_files/deprecated_modules/LocalAnalysis.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.LocalAnalysis is deprecated since pythonocc-0.18.2. Use OCC.Core.LocalAnalysis", DeprecationWarning) - -from OCC.Core.LocalAnalysis import * diff --git a/src/SWIG_files/deprecated_modules/MAT.py b/src/SWIG_files/deprecated_modules/MAT.py deleted file mode 100644 index 0e6f4f11e..000000000 --- a/src/SWIG_files/deprecated_modules/MAT.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.MAT is deprecated since pythonocc-0.18.2. Use OCC.Core.MAT", DeprecationWarning) - -from OCC.Core.MAT import * diff --git a/src/SWIG_files/deprecated_modules/MAT2d.py b/src/SWIG_files/deprecated_modules/MAT2d.py deleted file mode 100644 index b66f8dca7..000000000 --- a/src/SWIG_files/deprecated_modules/MAT2d.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.MAT2d is deprecated since pythonocc-0.18.2. Use OCC.Core.MAT2d", DeprecationWarning) - -from OCC.Core.MAT2d import * diff --git a/src/SWIG_files/deprecated_modules/MDF.py b/src/SWIG_files/deprecated_modules/MDF.py deleted file mode 100644 index 9ddd4fa2e..000000000 --- a/src/SWIG_files/deprecated_modules/MDF.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.MDF is deprecated since pythonocc-0.18.2. Use OCC.Core.MDF", DeprecationWarning) - -from OCC.Core.MDF import * diff --git a/src/SWIG_files/deprecated_modules/MDataStd.py b/src/SWIG_files/deprecated_modules/MDataStd.py deleted file mode 100644 index 532175e6f..000000000 --- a/src/SWIG_files/deprecated_modules/MDataStd.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.MDataStd is deprecated since pythonocc-0.18.2. Use OCC.Core.MDataStd", DeprecationWarning) - -from OCC.Core.MDataStd import * diff --git a/src/SWIG_files/deprecated_modules/MDataXtd.py b/src/SWIG_files/deprecated_modules/MDataXtd.py deleted file mode 100644 index 659347d4a..000000000 --- a/src/SWIG_files/deprecated_modules/MDataXtd.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.MDataXtd is deprecated since pythonocc-0.18.2. Use OCC.Core.MDataXtd", DeprecationWarning) - -from OCC.Core.MDataXtd import * diff --git a/src/SWIG_files/deprecated_modules/MDocStd.py b/src/SWIG_files/deprecated_modules/MDocStd.py deleted file mode 100644 index 64db70774..000000000 --- a/src/SWIG_files/deprecated_modules/MDocStd.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.MDocStd is deprecated since pythonocc-0.18.2. Use OCC.Core.MDocStd", DeprecationWarning) - -from OCC.Core.MDocStd import * diff --git a/src/SWIG_files/deprecated_modules/MFunction.py b/src/SWIG_files/deprecated_modules/MFunction.py deleted file mode 100644 index 5d8cd7873..000000000 --- a/src/SWIG_files/deprecated_modules/MFunction.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.MFunction is deprecated since pythonocc-0.18.2. Use OCC.Core.MFunction", DeprecationWarning) - -from OCC.Core.MFunction import * diff --git a/src/SWIG_files/deprecated_modules/MMgt.py b/src/SWIG_files/deprecated_modules/MMgt.py deleted file mode 100644 index 7056e6934..000000000 --- a/src/SWIG_files/deprecated_modules/MMgt.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.MMgt is deprecated since pythonocc-0.18.2. Use OCC.Core.MMgt", DeprecationWarning) - -from OCC.Core.MMgt import * diff --git a/src/SWIG_files/deprecated_modules/MNaming.py b/src/SWIG_files/deprecated_modules/MNaming.py deleted file mode 100644 index 1bd2f2ce9..000000000 --- a/src/SWIG_files/deprecated_modules/MNaming.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.MNaming is deprecated since pythonocc-0.18.2. Use OCC.Core.MNaming", DeprecationWarning) - -from OCC.Core.MNaming import * diff --git a/src/SWIG_files/deprecated_modules/MPrsStd.py b/src/SWIG_files/deprecated_modules/MPrsStd.py deleted file mode 100644 index 1b3537b1e..000000000 --- a/src/SWIG_files/deprecated_modules/MPrsStd.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.MPrsStd is deprecated since pythonocc-0.18.2. Use OCC.Core.MPrsStd", DeprecationWarning) - -from OCC.Core.MPrsStd import * diff --git a/src/SWIG_files/deprecated_modules/Materials.py b/src/SWIG_files/deprecated_modules/Materials.py deleted file mode 100644 index ab1389211..000000000 --- a/src/SWIG_files/deprecated_modules/Materials.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.Materials is deprecated since pythonocc-0.18.2. Use OCC.Core.Materials", DeprecationWarning) - -from OCC.Core.Materials import * diff --git a/src/SWIG_files/deprecated_modules/MeshVS.py b/src/SWIG_files/deprecated_modules/MeshVS.py deleted file mode 100644 index 44f9289b6..000000000 --- a/src/SWIG_files/deprecated_modules/MeshVS.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.MeshVS is deprecated since pythonocc-0.18.2. Use OCC.Core.MeshVS", DeprecationWarning) - -from OCC.Core.MeshVS import * diff --git a/src/SWIG_files/deprecated_modules/Message.py b/src/SWIG_files/deprecated_modules/Message.py deleted file mode 100644 index a0251c670..000000000 --- a/src/SWIG_files/deprecated_modules/Message.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.Message is deprecated since pythonocc-0.18.2. Use OCC.Core.Message", DeprecationWarning) - -from OCC.Core.Message import * diff --git a/src/SWIG_files/deprecated_modules/NCollection.py b/src/SWIG_files/deprecated_modules/NCollection.py deleted file mode 100644 index cdb2b453a..000000000 --- a/src/SWIG_files/deprecated_modules/NCollection.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.NCollection is deprecated since pythonocc-0.18.2. Use OCC.Core.NCollection", DeprecationWarning) - -from OCC.Core.NCollection import * diff --git a/src/SWIG_files/deprecated_modules/NETGENPlugin.py b/src/SWIG_files/deprecated_modules/NETGENPlugin.py deleted file mode 100644 index 816a8dcf2..000000000 --- a/src/SWIG_files/deprecated_modules/NETGENPlugin.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.NETGENPlugin is deprecated since pythonocc-0.18.2. Use OCC.Core.NETGENPlugin", DeprecationWarning) - -from OCC.Core.NETGENPlugin import * diff --git a/src/SWIG_files/deprecated_modules/NIS.py b/src/SWIG_files/deprecated_modules/NIS.py deleted file mode 100644 index 2a7c09909..000000000 --- a/src/SWIG_files/deprecated_modules/NIS.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.NIS is deprecated since pythonocc-0.18.2. Use OCC.Core.NIS", DeprecationWarning) - -from OCC.Core.NIS import * diff --git a/src/SWIG_files/deprecated_modules/NLPlate.py b/src/SWIG_files/deprecated_modules/NLPlate.py deleted file mode 100644 index f34f2daad..000000000 --- a/src/SWIG_files/deprecated_modules/NLPlate.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.NLPlate is deprecated since pythonocc-0.18.2. Use OCC.Core.NLPlate", DeprecationWarning) - -from OCC.Core.NLPlate import * diff --git a/src/SWIG_files/deprecated_modules/OSD.py b/src/SWIG_files/deprecated_modules/OSD.py deleted file mode 100644 index 1f8125e37..000000000 --- a/src/SWIG_files/deprecated_modules/OSD.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.OSD is deprecated since pythonocc-0.18.2. Use OCC.Core.OSD", DeprecationWarning) - -from OCC.Core.OSD import * diff --git a/src/SWIG_files/deprecated_modules/PCDM.py b/src/SWIG_files/deprecated_modules/PCDM.py deleted file mode 100644 index 9f051be05..000000000 --- a/src/SWIG_files/deprecated_modules/PCDM.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.PCDM is deprecated since pythonocc-0.18.2. Use OCC.Core.PCDM", DeprecationWarning) - -from OCC.Core.PCDM import * diff --git a/src/SWIG_files/deprecated_modules/PDF.py b/src/SWIG_files/deprecated_modules/PDF.py deleted file mode 100644 index f084732e1..000000000 --- a/src/SWIG_files/deprecated_modules/PDF.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.PDF is deprecated since pythonocc-0.18.2. Use OCC.Core.PDF", DeprecationWarning) - -from OCC.Core.PDF import * diff --git a/src/SWIG_files/deprecated_modules/PDataStd.py b/src/SWIG_files/deprecated_modules/PDataStd.py deleted file mode 100644 index 887163b65..000000000 --- a/src/SWIG_files/deprecated_modules/PDataStd.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.PDataStd is deprecated since pythonocc-0.18.2. Use OCC.Core.PDataStd", DeprecationWarning) - -from OCC.Core.PDataStd import * diff --git a/src/SWIG_files/deprecated_modules/PDataXtd.py b/src/SWIG_files/deprecated_modules/PDataXtd.py deleted file mode 100644 index 7f5e384eb..000000000 --- a/src/SWIG_files/deprecated_modules/PDataXtd.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.PDataXtd is deprecated since pythonocc-0.18.2. Use OCC.Core.PDataXtd", DeprecationWarning) - -from OCC.Core.PDataXtd import * diff --git a/src/SWIG_files/deprecated_modules/PDocStd.py b/src/SWIG_files/deprecated_modules/PDocStd.py deleted file mode 100644 index 04ddf1300..000000000 --- a/src/SWIG_files/deprecated_modules/PDocStd.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.PDocStd is deprecated since pythonocc-0.18.2. Use OCC.Core.PDocStd", DeprecationWarning) - -from OCC.Core.PDocStd import * diff --git a/src/SWIG_files/deprecated_modules/PFunction.py b/src/SWIG_files/deprecated_modules/PFunction.py deleted file mode 100644 index cab31f5dc..000000000 --- a/src/SWIG_files/deprecated_modules/PFunction.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.PFunction is deprecated since pythonocc-0.18.2. Use OCC.Core.PFunction", DeprecationWarning) - -from OCC.Core.PFunction import * diff --git a/src/SWIG_files/deprecated_modules/PLib.py b/src/SWIG_files/deprecated_modules/PLib.py deleted file mode 100644 index c9264b6bd..000000000 --- a/src/SWIG_files/deprecated_modules/PLib.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.PLib is deprecated since pythonocc-0.18.2. Use OCC.Core.PLib", DeprecationWarning) - -from OCC.Core.PLib import * diff --git a/src/SWIG_files/deprecated_modules/PNaming.py b/src/SWIG_files/deprecated_modules/PNaming.py deleted file mode 100644 index 73cc23853..000000000 --- a/src/SWIG_files/deprecated_modules/PNaming.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.PNaming is deprecated since pythonocc-0.18.2. Use OCC.Core.PNaming", DeprecationWarning) - -from OCC.Core.PNaming import * diff --git a/src/SWIG_files/deprecated_modules/PPrsStd.py b/src/SWIG_files/deprecated_modules/PPrsStd.py deleted file mode 100644 index afc38be8b..000000000 --- a/src/SWIG_files/deprecated_modules/PPrsStd.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.PPrsStd is deprecated since pythonocc-0.18.2. Use OCC.Core.PPrsStd", DeprecationWarning) - -from OCC.Core.PPrsStd import * diff --git a/src/SWIG_files/deprecated_modules/Plate.py b/src/SWIG_files/deprecated_modules/Plate.py deleted file mode 100644 index 50923729f..000000000 --- a/src/SWIG_files/deprecated_modules/Plate.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.Plate is deprecated since pythonocc-0.18.2. Use OCC.Core.Plate", DeprecationWarning) - -from OCC.Core.Plate import * diff --git a/src/SWIG_files/deprecated_modules/Plugin.py b/src/SWIG_files/deprecated_modules/Plugin.py deleted file mode 100644 index 2bc1ac49c..000000000 --- a/src/SWIG_files/deprecated_modules/Plugin.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.Plugin is deprecated since pythonocc-0.18.2. Use OCC.Core.Plugin", DeprecationWarning) - -from OCC.Core.Plugin import * diff --git a/src/SWIG_files/deprecated_modules/Poly.py b/src/SWIG_files/deprecated_modules/Poly.py deleted file mode 100644 index 2b5ca7d60..000000000 --- a/src/SWIG_files/deprecated_modules/Poly.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.Poly is deprecated since pythonocc-0.18.2. Use OCC.Core.Poly", DeprecationWarning) - -from OCC.Core.Poly import * diff --git a/src/SWIG_files/deprecated_modules/Precision.py b/src/SWIG_files/deprecated_modules/Precision.py deleted file mode 100644 index ac08d26a6..000000000 --- a/src/SWIG_files/deprecated_modules/Precision.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.Precision is deprecated since pythonocc-0.18.2. Use OCC.Core.Precision", DeprecationWarning) - -from OCC.Core.Precision import * diff --git a/src/SWIG_files/deprecated_modules/Primitives.py b/src/SWIG_files/deprecated_modules/Primitives.py deleted file mode 100644 index ba2f5a460..000000000 --- a/src/SWIG_files/deprecated_modules/Primitives.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.Primitives is deprecated since pythonocc-0.18.2. Use OCC.Core.Primitives", DeprecationWarning) - -from OCC.Core.Primitives import * diff --git a/src/SWIG_files/deprecated_modules/ProjLib.py b/src/SWIG_files/deprecated_modules/ProjLib.py deleted file mode 100644 index 4c1eb33c7..000000000 --- a/src/SWIG_files/deprecated_modules/ProjLib.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.ProjLib is deprecated since pythonocc-0.18.2. Use OCC.Core.ProjLib", DeprecationWarning) - -from OCC.Core.ProjLib import * diff --git a/src/SWIG_files/deprecated_modules/Prs3d.py b/src/SWIG_files/deprecated_modules/Prs3d.py deleted file mode 100644 index 30f715a47..000000000 --- a/src/SWIG_files/deprecated_modules/Prs3d.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.Prs3d is deprecated since pythonocc-0.18.2. Use OCC.Core.Prs3d", DeprecationWarning) - -from OCC.Core.Prs3d import * diff --git a/src/SWIG_files/deprecated_modules/PrsMgr.py b/src/SWIG_files/deprecated_modules/PrsMgr.py deleted file mode 100644 index 836a2a694..000000000 --- a/src/SWIG_files/deprecated_modules/PrsMgr.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.PrsMgr is deprecated since pythonocc-0.18.2. Use OCC.Core.PrsMgr", DeprecationWarning) - -from OCC.Core.PrsMgr import * diff --git a/src/SWIG_files/deprecated_modules/Quantity.py b/src/SWIG_files/deprecated_modules/Quantity.py deleted file mode 100644 index 197b9a0ea..000000000 --- a/src/SWIG_files/deprecated_modules/Quantity.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.Quantity is deprecated since pythonocc-0.18.2. Use OCC.Core.Quantity", DeprecationWarning) - -from OCC.Core.Quantity import * diff --git a/src/SWIG_files/deprecated_modules/RWStepAP203.py b/src/SWIG_files/deprecated_modules/RWStepAP203.py deleted file mode 100644 index 0b506db83..000000000 --- a/src/SWIG_files/deprecated_modules/RWStepAP203.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.RWStepAP203 is deprecated since pythonocc-0.18.2. Use OCC.Core.RWStepAP203", DeprecationWarning) - -from OCC.Core.RWStepAP203 import * diff --git a/src/SWIG_files/deprecated_modules/RWStepAP214.py b/src/SWIG_files/deprecated_modules/RWStepAP214.py deleted file mode 100644 index 4a59408a6..000000000 --- a/src/SWIG_files/deprecated_modules/RWStepAP214.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.RWStepAP214 is deprecated since pythonocc-0.18.2. Use OCC.Core.RWStepAP214", DeprecationWarning) - -from OCC.Core.RWStepAP214 import * diff --git a/src/SWIG_files/deprecated_modules/RWStepBasic.py b/src/SWIG_files/deprecated_modules/RWStepBasic.py deleted file mode 100644 index cc1aaefd3..000000000 --- a/src/SWIG_files/deprecated_modules/RWStepBasic.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.RWStepBasic is deprecated since pythonocc-0.18.2. Use OCC.Core.RWStepBasic", DeprecationWarning) - -from OCC.Core.RWStepBasic import * diff --git a/src/SWIG_files/deprecated_modules/RWStepDimTol.py b/src/SWIG_files/deprecated_modules/RWStepDimTol.py deleted file mode 100644 index 889ba4dd4..000000000 --- a/src/SWIG_files/deprecated_modules/RWStepDimTol.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.RWStepDimTol is deprecated since pythonocc-0.18.2. Use OCC.Core.RWStepDimTol", DeprecationWarning) - -from OCC.Core.RWStepDimTol import * diff --git a/src/SWIG_files/deprecated_modules/RWStepElement.py b/src/SWIG_files/deprecated_modules/RWStepElement.py deleted file mode 100644 index db40f0450..000000000 --- a/src/SWIG_files/deprecated_modules/RWStepElement.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.RWStepElement is deprecated since pythonocc-0.18.2. Use OCC.Core.RWStepElement", DeprecationWarning) - -from OCC.Core.RWStepElement import * diff --git a/src/SWIG_files/deprecated_modules/RWStepFEA.py b/src/SWIG_files/deprecated_modules/RWStepFEA.py deleted file mode 100644 index bc0a6bb03..000000000 --- a/src/SWIG_files/deprecated_modules/RWStepFEA.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.RWStepFEA is deprecated since pythonocc-0.18.2. Use OCC.Core.RWStepFEA", DeprecationWarning) - -from OCC.Core.RWStepFEA import * diff --git a/src/SWIG_files/deprecated_modules/RWStepGeom.py b/src/SWIG_files/deprecated_modules/RWStepGeom.py deleted file mode 100644 index eb0441d20..000000000 --- a/src/SWIG_files/deprecated_modules/RWStepGeom.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.RWStepGeom is deprecated since pythonocc-0.18.2. Use OCC.Core.RWStepGeom", DeprecationWarning) - -from OCC.Core.RWStepGeom import * diff --git a/src/SWIG_files/deprecated_modules/RWStepRepr.py b/src/SWIG_files/deprecated_modules/RWStepRepr.py deleted file mode 100644 index acf4552d9..000000000 --- a/src/SWIG_files/deprecated_modules/RWStepRepr.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.RWStepRepr is deprecated since pythonocc-0.18.2. Use OCC.Core.RWStepRepr", DeprecationWarning) - -from OCC.Core.RWStepRepr import * diff --git a/src/SWIG_files/deprecated_modules/RWStepShape.py b/src/SWIG_files/deprecated_modules/RWStepShape.py deleted file mode 100644 index 8cbaad585..000000000 --- a/src/SWIG_files/deprecated_modules/RWStepShape.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.RWStepShape is deprecated since pythonocc-0.18.2. Use OCC.Core.RWStepShape", DeprecationWarning) - -from OCC.Core.RWStepShape import * diff --git a/src/SWIG_files/deprecated_modules/RWStepVisual.py b/src/SWIG_files/deprecated_modules/RWStepVisual.py deleted file mode 100644 index 8617e5fcd..000000000 --- a/src/SWIG_files/deprecated_modules/RWStepVisual.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.RWStepVisual is deprecated since pythonocc-0.18.2. Use OCC.Core.RWStepVisual", DeprecationWarning) - -from OCC.Core.RWStepVisual import * diff --git a/src/SWIG_files/deprecated_modules/RWStl.py b/src/SWIG_files/deprecated_modules/RWStl.py deleted file mode 100644 index 6d1fe3502..000000000 --- a/src/SWIG_files/deprecated_modules/RWStl.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.RWStl is deprecated since pythonocc-0.18.2. Use OCC.Core.RWStl", DeprecationWarning) - -from OCC.Core.RWStl import * diff --git a/src/SWIG_files/deprecated_modules/Resource.py b/src/SWIG_files/deprecated_modules/Resource.py deleted file mode 100644 index 47f0c67a4..000000000 --- a/src/SWIG_files/deprecated_modules/Resource.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.Resource is deprecated since pythonocc-0.18.2. Use OCC.Core.Resource", DeprecationWarning) - -from OCC.Core.Resource import * diff --git a/src/SWIG_files/deprecated_modules/SMDS.py b/src/SWIG_files/deprecated_modules/SMDS.py deleted file mode 100644 index 5d5cac3b6..000000000 --- a/src/SWIG_files/deprecated_modules/SMDS.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.SMDS is deprecated since pythonocc-0.18.2. Use OCC.Core.SMDS", DeprecationWarning) - -from OCC.Core.SMDS import * diff --git a/src/SWIG_files/deprecated_modules/SMDSAbs.py b/src/SWIG_files/deprecated_modules/SMDSAbs.py deleted file mode 100644 index aa779d328..000000000 --- a/src/SWIG_files/deprecated_modules/SMDSAbs.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.SMDSAbs is deprecated since pythonocc-0.18.2. Use OCC.Core.SMDSAbs", DeprecationWarning) - -from OCC.Core.SMDSAbs import * diff --git a/src/SWIG_files/deprecated_modules/SMESH.py b/src/SWIG_files/deprecated_modules/SMESH.py deleted file mode 100644 index 222c48036..000000000 --- a/src/SWIG_files/deprecated_modules/SMESH.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.SMESH is deprecated since pythonocc-0.18.2. Use OCC.Core.SMESH", DeprecationWarning) - -from OCC.Core.SMESH import * diff --git a/src/SWIG_files/deprecated_modules/SMESHDS.py b/src/SWIG_files/deprecated_modules/SMESHDS.py deleted file mode 100644 index c8db12358..000000000 --- a/src/SWIG_files/deprecated_modules/SMESHDS.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.SMESHDS is deprecated since pythonocc-0.18.2. Use OCC.Core.SMESHDS", DeprecationWarning) - -from OCC.Core.SMESHDS import * diff --git a/src/SWIG_files/deprecated_modules/STEPCAFControl.py b/src/SWIG_files/deprecated_modules/STEPCAFControl.py deleted file mode 100644 index 178271b20..000000000 --- a/src/SWIG_files/deprecated_modules/STEPCAFControl.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.STEPCAFControl is deprecated since pythonocc-0.18.2. Use OCC.Core.STEPCAFControl", DeprecationWarning) - -from OCC.Core.STEPCAFControl import * diff --git a/src/SWIG_files/deprecated_modules/STEPConstruct.py b/src/SWIG_files/deprecated_modules/STEPConstruct.py deleted file mode 100644 index 1751e8f33..000000000 --- a/src/SWIG_files/deprecated_modules/STEPConstruct.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.STEPConstruct is deprecated since pythonocc-0.18.2. Use OCC.Core.STEPConstruct", DeprecationWarning) - -from OCC.Core.STEPConstruct import * diff --git a/src/SWIG_files/deprecated_modules/STEPControl.py b/src/SWIG_files/deprecated_modules/STEPControl.py deleted file mode 100644 index fb562a009..000000000 --- a/src/SWIG_files/deprecated_modules/STEPControl.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.STEPControl is deprecated since pythonocc-0.18.2. Use OCC.Core.STEPControl", DeprecationWarning) - -from OCC.Core.STEPControl import * diff --git a/src/SWIG_files/deprecated_modules/STEPEdit.py b/src/SWIG_files/deprecated_modules/STEPEdit.py deleted file mode 100644 index 09a89a341..000000000 --- a/src/SWIG_files/deprecated_modules/STEPEdit.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.STEPEdit is deprecated since pythonocc-0.18.2. Use OCC.Core.STEPEdit", DeprecationWarning) - -from OCC.Core.STEPEdit import * diff --git a/src/SWIG_files/deprecated_modules/STEPSelections.py b/src/SWIG_files/deprecated_modules/STEPSelections.py deleted file mode 100644 index dddfca60e..000000000 --- a/src/SWIG_files/deprecated_modules/STEPSelections.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.STEPSelections is deprecated since pythonocc-0.18.2. Use OCC.Core.STEPSelections", DeprecationWarning) - -from OCC.Core.STEPSelections import * diff --git a/src/SWIG_files/deprecated_modules/Select3D.py b/src/SWIG_files/deprecated_modules/Select3D.py deleted file mode 100644 index 19bfb2181..000000000 --- a/src/SWIG_files/deprecated_modules/Select3D.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.Select3D is deprecated since pythonocc-0.18.2. Use OCC.Core.Select3D", DeprecationWarning) - -from OCC.Core.Select3D import * diff --git a/src/SWIG_files/deprecated_modules/SelectBasics.py b/src/SWIG_files/deprecated_modules/SelectBasics.py deleted file mode 100644 index 4d58b7836..000000000 --- a/src/SWIG_files/deprecated_modules/SelectBasics.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.SelectBasics is deprecated since pythonocc-0.18.2. Use OCC.Core.SelectBasics", DeprecationWarning) - -from OCC.Core.SelectBasics import * diff --git a/src/SWIG_files/deprecated_modules/SelectMgr.py b/src/SWIG_files/deprecated_modules/SelectMgr.py deleted file mode 100644 index d13feabd6..000000000 --- a/src/SWIG_files/deprecated_modules/SelectMgr.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.SelectMgr is deprecated since pythonocc-0.18.2. Use OCC.Core.SelectMgr", DeprecationWarning) - -from OCC.Core.SelectMgr import * diff --git a/src/SWIG_files/deprecated_modules/ShapeAlgo.py b/src/SWIG_files/deprecated_modules/ShapeAlgo.py deleted file mode 100644 index 7915df9e3..000000000 --- a/src/SWIG_files/deprecated_modules/ShapeAlgo.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.ShapeAlgo is deprecated since pythonocc-0.18.2. Use OCC.Core.ShapeAlgo", DeprecationWarning) - -from OCC.Core.ShapeAlgo import * diff --git a/src/SWIG_files/deprecated_modules/ShapeAnalysis.py b/src/SWIG_files/deprecated_modules/ShapeAnalysis.py deleted file mode 100644 index 1ca0e1119..000000000 --- a/src/SWIG_files/deprecated_modules/ShapeAnalysis.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.ShapeAnalysis is deprecated since pythonocc-0.18.2. Use OCC.Core.ShapeAnalysis", DeprecationWarning) - -from OCC.Core.ShapeAnalysis import * diff --git a/src/SWIG_files/deprecated_modules/ShapeBuild.py b/src/SWIG_files/deprecated_modules/ShapeBuild.py deleted file mode 100644 index 86b7efd31..000000000 --- a/src/SWIG_files/deprecated_modules/ShapeBuild.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.ShapeBuild is deprecated since pythonocc-0.18.2. Use OCC.Core.ShapeBuild", DeprecationWarning) - -from OCC.Core.ShapeBuild import * diff --git a/src/SWIG_files/deprecated_modules/ShapeConstruct.py b/src/SWIG_files/deprecated_modules/ShapeConstruct.py deleted file mode 100644 index 2e9e99116..000000000 --- a/src/SWIG_files/deprecated_modules/ShapeConstruct.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.ShapeConstruct is deprecated since pythonocc-0.18.2. Use OCC.Core.ShapeConstruct", DeprecationWarning) - -from OCC.Core.ShapeConstruct import * diff --git a/src/SWIG_files/deprecated_modules/ShapeCustom.py b/src/SWIG_files/deprecated_modules/ShapeCustom.py deleted file mode 100644 index 187853f5e..000000000 --- a/src/SWIG_files/deprecated_modules/ShapeCustom.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.ShapeCustom is deprecated since pythonocc-0.18.2. Use OCC.Core.ShapeCustom", DeprecationWarning) - -from OCC.Core.ShapeCustom import * diff --git a/src/SWIG_files/deprecated_modules/ShapeExtend.py b/src/SWIG_files/deprecated_modules/ShapeExtend.py deleted file mode 100644 index c72b89298..000000000 --- a/src/SWIG_files/deprecated_modules/ShapeExtend.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.ShapeExtend is deprecated since pythonocc-0.18.2. Use OCC.Core.ShapeExtend", DeprecationWarning) - -from OCC.Core.ShapeExtend import * diff --git a/src/SWIG_files/deprecated_modules/ShapeFix.py b/src/SWIG_files/deprecated_modules/ShapeFix.py deleted file mode 100644 index 39d962cf8..000000000 --- a/src/SWIG_files/deprecated_modules/ShapeFix.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.ShapeFix is deprecated since pythonocc-0.18.2. Use OCC.Core.ShapeFix", DeprecationWarning) - -from OCC.Core.ShapeFix import * diff --git a/src/SWIG_files/deprecated_modules/ShapeProcess.py b/src/SWIG_files/deprecated_modules/ShapeProcess.py deleted file mode 100644 index f8fdf7892..000000000 --- a/src/SWIG_files/deprecated_modules/ShapeProcess.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.ShapeProcess is deprecated since pythonocc-0.18.2. Use OCC.Core.ShapeProcess", DeprecationWarning) - -from OCC.Core.ShapeProcess import * diff --git a/src/SWIG_files/deprecated_modules/ShapeProcessAPI.py b/src/SWIG_files/deprecated_modules/ShapeProcessAPI.py deleted file mode 100644 index ba003b260..000000000 --- a/src/SWIG_files/deprecated_modules/ShapeProcessAPI.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.ShapeProcessAPI is deprecated since pythonocc-0.18.2. Use OCC.Core.ShapeProcessAPI", DeprecationWarning) - -from OCC.Core.ShapeProcessAPI import * diff --git a/src/SWIG_files/deprecated_modules/ShapeUpgrade.py b/src/SWIG_files/deprecated_modules/ShapeUpgrade.py deleted file mode 100644 index b856c2ef0..000000000 --- a/src/SWIG_files/deprecated_modules/ShapeUpgrade.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.ShapeUpgrade is deprecated since pythonocc-0.18.2. Use OCC.Core.ShapeUpgrade", DeprecationWarning) - -from OCC.Core.ShapeUpgrade import * diff --git a/src/SWIG_files/deprecated_modules/SortTools.py b/src/SWIG_files/deprecated_modules/SortTools.py deleted file mode 100644 index 80d53d787..000000000 --- a/src/SWIG_files/deprecated_modules/SortTools.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.SortTools is deprecated since pythonocc-0.18.2. Use OCC.Core.SortTools", DeprecationWarning) - -from OCC.Core.SortTools import * diff --git a/src/SWIG_files/deprecated_modules/Standard.py b/src/SWIG_files/deprecated_modules/Standard.py deleted file mode 100644 index d8e63d5ad..000000000 --- a/src/SWIG_files/deprecated_modules/Standard.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.Standard is deprecated since pythonocc-0.18.2. Use OCC.Core.Standard", DeprecationWarning) - -from OCC.Core.Standard import * diff --git a/src/SWIG_files/deprecated_modules/StdFail.py b/src/SWIG_files/deprecated_modules/StdFail.py deleted file mode 100644 index 9e3c904d4..000000000 --- a/src/SWIG_files/deprecated_modules/StdFail.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.StdFail is deprecated since pythonocc-0.18.2. Use OCC.Core.StdFail", DeprecationWarning) - -from OCC.Core.StdFail import * diff --git a/src/SWIG_files/deprecated_modules/StdMeshers.py b/src/SWIG_files/deprecated_modules/StdMeshers.py deleted file mode 100644 index 8691a1d18..000000000 --- a/src/SWIG_files/deprecated_modules/StdMeshers.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.StdMeshers is deprecated since pythonocc-0.18.2. Use OCC.Core.StdMeshers", DeprecationWarning) - -from OCC.Core.StdMeshers import * diff --git a/src/SWIG_files/deprecated_modules/StdPrs.py b/src/SWIG_files/deprecated_modules/StdPrs.py deleted file mode 100644 index 01c13c392..000000000 --- a/src/SWIG_files/deprecated_modules/StdPrs.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.StdPrs is deprecated since pythonocc-0.18.2. Use OCC.Core.StdPrs", DeprecationWarning) - -from OCC.Core.StdPrs import * diff --git a/src/SWIG_files/deprecated_modules/StdSelect.py b/src/SWIG_files/deprecated_modules/StdSelect.py deleted file mode 100644 index fcd6598b8..000000000 --- a/src/SWIG_files/deprecated_modules/StdSelect.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.StdSelect is deprecated since pythonocc-0.18.2. Use OCC.Core.StdSelect", DeprecationWarning) - -from OCC.Core.StdSelect import * diff --git a/src/SWIG_files/deprecated_modules/StepAP203.py b/src/SWIG_files/deprecated_modules/StepAP203.py deleted file mode 100644 index c7aca8e88..000000000 --- a/src/SWIG_files/deprecated_modules/StepAP203.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.StepAP203 is deprecated since pythonocc-0.18.2. Use OCC.Core.StepAP203", DeprecationWarning) - -from OCC.Core.StepAP203 import * diff --git a/src/SWIG_files/deprecated_modules/StepAP209.py b/src/SWIG_files/deprecated_modules/StepAP209.py deleted file mode 100644 index 3cbeec8fd..000000000 --- a/src/SWIG_files/deprecated_modules/StepAP209.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.StepAP209 is deprecated since pythonocc-0.18.2. Use OCC.Core.StepAP209", DeprecationWarning) - -from OCC.Core.StepAP209 import * diff --git a/src/SWIG_files/deprecated_modules/StepAP214.py b/src/SWIG_files/deprecated_modules/StepAP214.py deleted file mode 100644 index 31237da7f..000000000 --- a/src/SWIG_files/deprecated_modules/StepAP214.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.StepAP214 is deprecated since pythonocc-0.18.2. Use OCC.Core.StepAP214", DeprecationWarning) - -from OCC.Core.StepAP214 import * diff --git a/src/SWIG_files/deprecated_modules/StepBasic.py b/src/SWIG_files/deprecated_modules/StepBasic.py deleted file mode 100644 index f94e5b125..000000000 --- a/src/SWIG_files/deprecated_modules/StepBasic.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.StepBasic is deprecated since pythonocc-0.18.2. Use OCC.Core.StepBasic", DeprecationWarning) - -from OCC.Core.StepBasic import * diff --git a/src/SWIG_files/deprecated_modules/StepDimTol.py b/src/SWIG_files/deprecated_modules/StepDimTol.py deleted file mode 100644 index bc229da1c..000000000 --- a/src/SWIG_files/deprecated_modules/StepDimTol.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.StepDimTol is deprecated since pythonocc-0.18.2. Use OCC.Core.StepDimTol", DeprecationWarning) - -from OCC.Core.StepDimTol import * diff --git a/src/SWIG_files/deprecated_modules/StepElement.py b/src/SWIG_files/deprecated_modules/StepElement.py deleted file mode 100644 index a925b83c2..000000000 --- a/src/SWIG_files/deprecated_modules/StepElement.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.StepElement is deprecated since pythonocc-0.18.2. Use OCC.Core.StepElement", DeprecationWarning) - -from OCC.Core.StepElement import * diff --git a/src/SWIG_files/deprecated_modules/StepFEA.py b/src/SWIG_files/deprecated_modules/StepFEA.py deleted file mode 100644 index 740d0275e..000000000 --- a/src/SWIG_files/deprecated_modules/StepFEA.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.StepFEA is deprecated since pythonocc-0.18.2. Use OCC.Core.StepFEA", DeprecationWarning) - -from OCC.Core.StepFEA import * diff --git a/src/SWIG_files/deprecated_modules/StepGeom.py b/src/SWIG_files/deprecated_modules/StepGeom.py deleted file mode 100644 index 4272dd8df..000000000 --- a/src/SWIG_files/deprecated_modules/StepGeom.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.StepGeom is deprecated since pythonocc-0.18.2. Use OCC.Core.StepGeom", DeprecationWarning) - -from OCC.Core.StepGeom import * diff --git a/src/SWIG_files/deprecated_modules/StepRepr.py b/src/SWIG_files/deprecated_modules/StepRepr.py deleted file mode 100644 index d1748af84..000000000 --- a/src/SWIG_files/deprecated_modules/StepRepr.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.StepRepr is deprecated since pythonocc-0.18.2. Use OCC.Core.StepRepr", DeprecationWarning) - -from OCC.Core.StepRepr import * diff --git a/src/SWIG_files/deprecated_modules/StepShape.py b/src/SWIG_files/deprecated_modules/StepShape.py deleted file mode 100644 index b0c4ed88f..000000000 --- a/src/SWIG_files/deprecated_modules/StepShape.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.StepShape is deprecated since pythonocc-0.18.2. Use OCC.Core.StepShape", DeprecationWarning) - -from OCC.Core.StepShape import * diff --git a/src/SWIG_files/deprecated_modules/StepToGeom.py b/src/SWIG_files/deprecated_modules/StepToGeom.py deleted file mode 100644 index 40664ae19..000000000 --- a/src/SWIG_files/deprecated_modules/StepToGeom.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.StepToGeom is deprecated since pythonocc-0.18.2. Use OCC.Core.StepToGeom", DeprecationWarning) - -from OCC.Core.StepToGeom import * diff --git a/src/SWIG_files/deprecated_modules/StepToTopoDS.py b/src/SWIG_files/deprecated_modules/StepToTopoDS.py deleted file mode 100644 index 15a88e0f5..000000000 --- a/src/SWIG_files/deprecated_modules/StepToTopoDS.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.StepToTopoDS is deprecated since pythonocc-0.18.2. Use OCC.Core.StepToTopoDS", DeprecationWarning) - -from OCC.Core.StepToTopoDS import * diff --git a/src/SWIG_files/deprecated_modules/StepVisual.py b/src/SWIG_files/deprecated_modules/StepVisual.py deleted file mode 100644 index d202c0450..000000000 --- a/src/SWIG_files/deprecated_modules/StepVisual.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.StepVisual is deprecated since pythonocc-0.18.2. Use OCC.Core.StepVisual", DeprecationWarning) - -from OCC.Core.StepVisual import * diff --git a/src/SWIG_files/deprecated_modules/StlAPI.py b/src/SWIG_files/deprecated_modules/StlAPI.py deleted file mode 100644 index bd88d1200..000000000 --- a/src/SWIG_files/deprecated_modules/StlAPI.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.StlAPI is deprecated since pythonocc-0.18.2. Use OCC.Core.StlAPI", DeprecationWarning) - -from OCC.Core.StlAPI import * diff --git a/src/SWIG_files/deprecated_modules/StlMesh.py b/src/SWIG_files/deprecated_modules/StlMesh.py deleted file mode 100644 index 2e90a47c5..000000000 --- a/src/SWIG_files/deprecated_modules/StlMesh.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.StlMesh is deprecated since pythonocc-0.18.2. Use OCC.Core.StlMesh", DeprecationWarning) - -from OCC.Core.StlMesh import * diff --git a/src/SWIG_files/deprecated_modules/StlTransfer.py b/src/SWIG_files/deprecated_modules/StlTransfer.py deleted file mode 100644 index 261541a2b..000000000 --- a/src/SWIG_files/deprecated_modules/StlTransfer.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.StlTransfer is deprecated since pythonocc-0.18.2. Use OCC.Core.StlTransfer", DeprecationWarning) - -from OCC.Core.StlTransfer import * diff --git a/src/SWIG_files/deprecated_modules/Storage.py b/src/SWIG_files/deprecated_modules/Storage.py deleted file mode 100644 index fec489cda..000000000 --- a/src/SWIG_files/deprecated_modules/Storage.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.Storage is deprecated since pythonocc-0.18.2. Use OCC.Core.Storage", DeprecationWarning) - -from OCC.Core.Storage import * diff --git a/src/SWIG_files/deprecated_modules/Sweep.py b/src/SWIG_files/deprecated_modules/Sweep.py deleted file mode 100644 index d9043c937..000000000 --- a/src/SWIG_files/deprecated_modules/Sweep.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.Sweep is deprecated since pythonocc-0.18.2. Use OCC.Core.Sweep", DeprecationWarning) - -from OCC.Core.Sweep import * diff --git a/src/SWIG_files/deprecated_modules/TColGeom.py b/src/SWIG_files/deprecated_modules/TColGeom.py deleted file mode 100644 index dc1c6e44e..000000000 --- a/src/SWIG_files/deprecated_modules/TColGeom.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.TColGeom is deprecated since pythonocc-0.18.2. Use OCC.Core.TColGeom", DeprecationWarning) - -from OCC.Core.TColGeom import * diff --git a/src/SWIG_files/deprecated_modules/TColGeom2d.py b/src/SWIG_files/deprecated_modules/TColGeom2d.py deleted file mode 100644 index d04e35bac..000000000 --- a/src/SWIG_files/deprecated_modules/TColGeom2d.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.TColGeom2d is deprecated since pythonocc-0.18.2. Use OCC.Core.TColGeom2d", DeprecationWarning) - -from OCC.Core.TColGeom2d import * diff --git a/src/SWIG_files/deprecated_modules/TColQuantity.py b/src/SWIG_files/deprecated_modules/TColQuantity.py deleted file mode 100644 index f9f7b343a..000000000 --- a/src/SWIG_files/deprecated_modules/TColQuantity.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.TColQuantity is deprecated since pythonocc-0.18.2. Use OCC.Core.TColQuantity", DeprecationWarning) - -from OCC.Core.TColQuantity import * diff --git a/src/SWIG_files/deprecated_modules/TColStd.py b/src/SWIG_files/deprecated_modules/TColStd.py deleted file mode 100644 index dad4bb646..000000000 --- a/src/SWIG_files/deprecated_modules/TColStd.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.TColStd is deprecated since pythonocc-0.18.2. Use OCC.Core.TColStd", DeprecationWarning) - -from OCC.Core.TColStd import * diff --git a/src/SWIG_files/deprecated_modules/TColgp.py b/src/SWIG_files/deprecated_modules/TColgp.py deleted file mode 100644 index 3c7916d85..000000000 --- a/src/SWIG_files/deprecated_modules/TColgp.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.TColgp is deprecated since pythonocc-0.18.2. Use OCC.Core.TColgp", DeprecationWarning) - -from OCC.Core.TColgp import * diff --git a/src/SWIG_files/deprecated_modules/TCollection.py b/src/SWIG_files/deprecated_modules/TCollection.py deleted file mode 100644 index 89e6d4909..000000000 --- a/src/SWIG_files/deprecated_modules/TCollection.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.TCollection is deprecated since pythonocc-0.18.2. Use OCC.Core.TCollection", DeprecationWarning) - -from OCC.Core.TCollection import * diff --git a/src/SWIG_files/deprecated_modules/TDF.py b/src/SWIG_files/deprecated_modules/TDF.py deleted file mode 100644 index 9e0d7c65e..000000000 --- a/src/SWIG_files/deprecated_modules/TDF.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.TDF is deprecated since pythonocc-0.18.2. Use OCC.Core.TDF", DeprecationWarning) - -from OCC.Core.TDF import * diff --git a/src/SWIG_files/deprecated_modules/TDataStd.py b/src/SWIG_files/deprecated_modules/TDataStd.py deleted file mode 100644 index ddd6149df..000000000 --- a/src/SWIG_files/deprecated_modules/TDataStd.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.TDataStd is deprecated since pythonocc-0.18.2. Use OCC.Core.TDataStd", DeprecationWarning) - -from OCC.Core.TDataStd import * diff --git a/src/SWIG_files/deprecated_modules/TDataXtd.py b/src/SWIG_files/deprecated_modules/TDataXtd.py deleted file mode 100644 index 133317c5a..000000000 --- a/src/SWIG_files/deprecated_modules/TDataXtd.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.TDataXtd is deprecated since pythonocc-0.18.2. Use OCC.Core.TDataXtd", DeprecationWarning) - -from OCC.Core.TDataXtd import * diff --git a/src/SWIG_files/deprecated_modules/TDocStd.py b/src/SWIG_files/deprecated_modules/TDocStd.py deleted file mode 100644 index 18866f1db..000000000 --- a/src/SWIG_files/deprecated_modules/TDocStd.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.TDocStd is deprecated since pythonocc-0.18.2. Use OCC.Core.TDocStd", DeprecationWarning) - -from OCC.Core.TDocStd import * diff --git a/src/SWIG_files/deprecated_modules/TFunction.py b/src/SWIG_files/deprecated_modules/TFunction.py deleted file mode 100644 index 35a823d63..000000000 --- a/src/SWIG_files/deprecated_modules/TFunction.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.TFunction is deprecated since pythonocc-0.18.2. Use OCC.Core.TFunction", DeprecationWarning) - -from OCC.Core.TFunction import * diff --git a/src/SWIG_files/deprecated_modules/TNaming.py b/src/SWIG_files/deprecated_modules/TNaming.py deleted file mode 100644 index 995f1c92f..000000000 --- a/src/SWIG_files/deprecated_modules/TNaming.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.TNaming is deprecated since pythonocc-0.18.2. Use OCC.Core.TNaming", DeprecationWarning) - -from OCC.Core.TNaming import * diff --git a/src/SWIG_files/deprecated_modules/TPrsStd.py b/src/SWIG_files/deprecated_modules/TPrsStd.py deleted file mode 100644 index 72aa46ece..000000000 --- a/src/SWIG_files/deprecated_modules/TPrsStd.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.TPrsStd is deprecated since pythonocc-0.18.2. Use OCC.Core.TPrsStd", DeprecationWarning) - -from OCC.Core.TPrsStd import * diff --git a/src/SWIG_files/deprecated_modules/TShort.py b/src/SWIG_files/deprecated_modules/TShort.py deleted file mode 100644 index 831ca3b89..000000000 --- a/src/SWIG_files/deprecated_modules/TShort.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.TShort is deprecated since pythonocc-0.18.2. Use OCC.Core.TShort", DeprecationWarning) - -from OCC.Core.TShort import * diff --git a/src/SWIG_files/deprecated_modules/TopAbs.py b/src/SWIG_files/deprecated_modules/TopAbs.py deleted file mode 100644 index 5e70a2af2..000000000 --- a/src/SWIG_files/deprecated_modules/TopAbs.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.TopAbs is deprecated since pythonocc-0.18.2. Use OCC.Core.TopAbs", DeprecationWarning) - -from OCC.Core.TopAbs import * diff --git a/src/SWIG_files/deprecated_modules/TopBas.py b/src/SWIG_files/deprecated_modules/TopBas.py deleted file mode 100644 index e6f8166ea..000000000 --- a/src/SWIG_files/deprecated_modules/TopBas.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.TopBas is deprecated since pythonocc-0.18.2. Use OCC.Core.TopBas", DeprecationWarning) - -from OCC.Core.TopBas import * diff --git a/src/SWIG_files/deprecated_modules/TopClass.py b/src/SWIG_files/deprecated_modules/TopClass.py deleted file mode 100644 index 4900dcedb..000000000 --- a/src/SWIG_files/deprecated_modules/TopClass.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.TopClass is deprecated since pythonocc-0.18.2. Use OCC.Core.TopClass", DeprecationWarning) - -from OCC.Core.TopClass import * diff --git a/src/SWIG_files/deprecated_modules/TopCnx.py b/src/SWIG_files/deprecated_modules/TopCnx.py deleted file mode 100644 index e1359934d..000000000 --- a/src/SWIG_files/deprecated_modules/TopCnx.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.TopCnx is deprecated since pythonocc-0.18.2. Use OCC.Core.TopCnx", DeprecationWarning) - -from OCC.Core.TopCnx import * diff --git a/src/SWIG_files/deprecated_modules/TopExp.py b/src/SWIG_files/deprecated_modules/TopExp.py deleted file mode 100644 index 14fee05a1..000000000 --- a/src/SWIG_files/deprecated_modules/TopExp.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.TopExp is deprecated since pythonocc-0.18.2. Use OCC.Core.TopExp", DeprecationWarning) - -from OCC.Core.TopExp import * diff --git a/src/SWIG_files/deprecated_modules/TopLoc.py b/src/SWIG_files/deprecated_modules/TopLoc.py deleted file mode 100644 index 39ff75239..000000000 --- a/src/SWIG_files/deprecated_modules/TopLoc.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.TopLoc is deprecated since pythonocc-0.18.2. Use OCC.Core.TopLoc", DeprecationWarning) - -from OCC.Core.TopLoc import * diff --git a/src/SWIG_files/deprecated_modules/TopOpeBRep.py b/src/SWIG_files/deprecated_modules/TopOpeBRep.py deleted file mode 100644 index 0ce6428be..000000000 --- a/src/SWIG_files/deprecated_modules/TopOpeBRep.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.TopOpeBRep is deprecated since pythonocc-0.18.2. Use OCC.Core.TopOpeBRep", DeprecationWarning) - -from OCC.Core.TopOpeBRep import * diff --git a/src/SWIG_files/deprecated_modules/TopOpeBRepBuild.py b/src/SWIG_files/deprecated_modules/TopOpeBRepBuild.py deleted file mode 100644 index e1cd303e0..000000000 --- a/src/SWIG_files/deprecated_modules/TopOpeBRepBuild.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.TopOpeBRepBuild is deprecated since pythonocc-0.18.2. Use OCC.Core.TopOpeBRepBuild", DeprecationWarning) - -from OCC.Core.TopOpeBRepBuild import * diff --git a/src/SWIG_files/deprecated_modules/TopOpeBRepDS.py b/src/SWIG_files/deprecated_modules/TopOpeBRepDS.py deleted file mode 100644 index 26b07824a..000000000 --- a/src/SWIG_files/deprecated_modules/TopOpeBRepDS.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.TopOpeBRepDS is deprecated since pythonocc-0.18.2. Use OCC.Core.TopOpeBRepDS", DeprecationWarning) - -from OCC.Core.TopOpeBRepDS import * diff --git a/src/SWIG_files/deprecated_modules/TopOpeBRepTool.py b/src/SWIG_files/deprecated_modules/TopOpeBRepTool.py deleted file mode 100644 index 25bb9cde2..000000000 --- a/src/SWIG_files/deprecated_modules/TopOpeBRepTool.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.TopOpeBRepTool is deprecated since pythonocc-0.18.2. Use OCC.Core.TopOpeBRepTool", DeprecationWarning) - -from OCC.Core.TopOpeBRepTool import * diff --git a/src/SWIG_files/deprecated_modules/TopTools.py b/src/SWIG_files/deprecated_modules/TopTools.py deleted file mode 100644 index b34019fce..000000000 --- a/src/SWIG_files/deprecated_modules/TopTools.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.TopTools is deprecated since pythonocc-0.18.2. Use OCC.Core.TopTools", DeprecationWarning) - -from OCC.Core.TopTools import * diff --git a/src/SWIG_files/deprecated_modules/TopTrans.py b/src/SWIG_files/deprecated_modules/TopTrans.py deleted file mode 100644 index d42f937e0..000000000 --- a/src/SWIG_files/deprecated_modules/TopTrans.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.TopTrans is deprecated since pythonocc-0.18.2. Use OCC.Core.TopTrans", DeprecationWarning) - -from OCC.Core.TopTrans import * diff --git a/src/SWIG_files/deprecated_modules/TopoDS.py b/src/SWIG_files/deprecated_modules/TopoDS.py deleted file mode 100644 index 3ac304b91..000000000 --- a/src/SWIG_files/deprecated_modules/TopoDS.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.TopoDS is deprecated since pythonocc-0.18.2. Use OCC.Core.TopoDS", DeprecationWarning) - -from OCC.Core.TopoDS import * diff --git a/src/SWIG_files/deprecated_modules/TopoDSToStep.py b/src/SWIG_files/deprecated_modules/TopoDSToStep.py deleted file mode 100644 index 65efea3ac..000000000 --- a/src/SWIG_files/deprecated_modules/TopoDSToStep.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.TopoDSToStep is deprecated since pythonocc-0.18.2. Use OCC.Core.TopoDSToStep", DeprecationWarning) - -from OCC.Core.TopoDSToStep import * diff --git a/src/SWIG_files/deprecated_modules/UTL.py b/src/SWIG_files/deprecated_modules/UTL.py deleted file mode 100644 index c15e3349a..000000000 --- a/src/SWIG_files/deprecated_modules/UTL.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.UTL is deprecated since pythonocc-0.18.2. Use OCC.Core.UTL", DeprecationWarning) - -from OCC.Core.UTL import * diff --git a/src/SWIG_files/deprecated_modules/Units.py b/src/SWIG_files/deprecated_modules/Units.py deleted file mode 100644 index 13d15faff..000000000 --- a/src/SWIG_files/deprecated_modules/Units.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.Units is deprecated since pythonocc-0.18.2. Use OCC.Core.Units", DeprecationWarning) - -from OCC.Core.Units import * diff --git a/src/SWIG_files/deprecated_modules/UnitsAPI.py b/src/SWIG_files/deprecated_modules/UnitsAPI.py deleted file mode 100644 index 9e6880769..000000000 --- a/src/SWIG_files/deprecated_modules/UnitsAPI.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.UnitsAPI is deprecated since pythonocc-0.18.2. Use OCC.Core.UnitsAPI", DeprecationWarning) - -from OCC.Core.UnitsAPI import * diff --git a/src/SWIG_files/deprecated_modules/V3d.py b/src/SWIG_files/deprecated_modules/V3d.py deleted file mode 100644 index 014318621..000000000 --- a/src/SWIG_files/deprecated_modules/V3d.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.V3d is deprecated since pythonocc-0.18.2. Use OCC.Core.V3d", DeprecationWarning) - -from OCC.Core.V3d import * diff --git a/src/SWIG_files/deprecated_modules/Visual3d.py b/src/SWIG_files/deprecated_modules/Visual3d.py deleted file mode 100644 index b01db3db0..000000000 --- a/src/SWIG_files/deprecated_modules/Visual3d.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.Visual3d is deprecated since pythonocc-0.18.2. Use OCC.Core.Visual3d", DeprecationWarning) - -from OCC.Core.Visual3d import * diff --git a/src/SWIG_files/deprecated_modules/Voxel.py b/src/SWIG_files/deprecated_modules/Voxel.py deleted file mode 100644 index e204b14bf..000000000 --- a/src/SWIG_files/deprecated_modules/Voxel.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.Voxel is deprecated since pythonocc-0.18.2. Use OCC.Core.Voxel", DeprecationWarning) - -from OCC.Core.Voxel import * diff --git a/src/SWIG_files/deprecated_modules/Vrml.py b/src/SWIG_files/deprecated_modules/Vrml.py deleted file mode 100644 index 0f7ce4818..000000000 --- a/src/SWIG_files/deprecated_modules/Vrml.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.Vrml is deprecated since pythonocc-0.18.2. Use OCC.Core.Vrml", DeprecationWarning) - -from OCC.Core.Vrml import * diff --git a/src/SWIG_files/deprecated_modules/VrmlAPI.py b/src/SWIG_files/deprecated_modules/VrmlAPI.py deleted file mode 100644 index 9de57ee42..000000000 --- a/src/SWIG_files/deprecated_modules/VrmlAPI.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.VrmlAPI is deprecated since pythonocc-0.18.2. Use OCC.Core.VrmlAPI", DeprecationWarning) - -from OCC.Core.VrmlAPI import * diff --git a/src/SWIG_files/deprecated_modules/VrmlConverter.py b/src/SWIG_files/deprecated_modules/VrmlConverter.py deleted file mode 100644 index a4dd6a99c..000000000 --- a/src/SWIG_files/deprecated_modules/VrmlConverter.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.VrmlConverter is deprecated since pythonocc-0.18.2. Use OCC.Core.VrmlConverter", DeprecationWarning) - -from OCC.Core.VrmlConverter import * diff --git a/src/SWIG_files/deprecated_modules/VrmlData.py b/src/SWIG_files/deprecated_modules/VrmlData.py deleted file mode 100644 index 8016e0163..000000000 --- a/src/SWIG_files/deprecated_modules/VrmlData.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.VrmlData is deprecated since pythonocc-0.18.2. Use OCC.Core.VrmlData", DeprecationWarning) - -from OCC.Core.VrmlData import * diff --git a/src/SWIG_files/deprecated_modules/XBRepMesh.py b/src/SWIG_files/deprecated_modules/XBRepMesh.py deleted file mode 100644 index 51167f666..000000000 --- a/src/SWIG_files/deprecated_modules/XBRepMesh.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.XBRepMesh is deprecated since pythonocc-0.18.2. Use OCC.Core.XBRepMesh", DeprecationWarning) - -from OCC.Core.XBRepMesh import * diff --git a/src/SWIG_files/deprecated_modules/XCAFApp.py b/src/SWIG_files/deprecated_modules/XCAFApp.py deleted file mode 100644 index 05edb9d25..000000000 --- a/src/SWIG_files/deprecated_modules/XCAFApp.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.XCAFApp is deprecated since pythonocc-0.18.2. Use OCC.Core.XCAFApp", DeprecationWarning) - -from OCC.Core.XCAFApp import * diff --git a/src/SWIG_files/deprecated_modules/XCAFDoc.py b/src/SWIG_files/deprecated_modules/XCAFDoc.py deleted file mode 100644 index c8ec4421f..000000000 --- a/src/SWIG_files/deprecated_modules/XCAFDoc.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.XCAFDoc is deprecated since pythonocc-0.18.2. Use OCC.Core.XCAFDoc", DeprecationWarning) - -from OCC.Core.XCAFDoc import * diff --git a/src/SWIG_files/deprecated_modules/XCAFPrs.py b/src/SWIG_files/deprecated_modules/XCAFPrs.py deleted file mode 100644 index 532a0a102..000000000 --- a/src/SWIG_files/deprecated_modules/XCAFPrs.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.XCAFPrs is deprecated since pythonocc-0.18.2. Use OCC.Core.XCAFPrs", DeprecationWarning) - -from OCC.Core.XCAFPrs import * diff --git a/src/SWIG_files/deprecated_modules/XSControl.py b/src/SWIG_files/deprecated_modules/XSControl.py deleted file mode 100644 index dea21d523..000000000 --- a/src/SWIG_files/deprecated_modules/XSControl.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.XSControl is deprecated since pythonocc-0.18.2. Use OCC.Core.XSControl", DeprecationWarning) - -from OCC.Core.XSControl import * diff --git a/src/SWIG_files/deprecated_modules/XmlDrivers.py b/src/SWIG_files/deprecated_modules/XmlDrivers.py deleted file mode 100644 index bdff7e5d4..000000000 --- a/src/SWIG_files/deprecated_modules/XmlDrivers.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.XmlDrivers is deprecated since pythonocc-0.18.2. Use OCC.Core.XmlDrivers", DeprecationWarning) - -from OCC.Core.XmlDrivers import * diff --git a/src/SWIG_files/deprecated_modules/XmlLDrivers.py b/src/SWIG_files/deprecated_modules/XmlLDrivers.py deleted file mode 100644 index 65acb1426..000000000 --- a/src/SWIG_files/deprecated_modules/XmlLDrivers.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.XmlLDrivers is deprecated since pythonocc-0.18.2. Use OCC.Core.XmlLDrivers", DeprecationWarning) - -from OCC.Core.XmlLDrivers import * diff --git a/src/SWIG_files/deprecated_modules/XmlMDF.py b/src/SWIG_files/deprecated_modules/XmlMDF.py deleted file mode 100644 index 1ed4fc5d0..000000000 --- a/src/SWIG_files/deprecated_modules/XmlMDF.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.XmlMDF is deprecated since pythonocc-0.18.2. Use OCC.Core.XmlMDF", DeprecationWarning) - -from OCC.Core.XmlMDF import * diff --git a/src/SWIG_files/deprecated_modules/XmlMDataStd.py b/src/SWIG_files/deprecated_modules/XmlMDataStd.py deleted file mode 100644 index 4017a450f..000000000 --- a/src/SWIG_files/deprecated_modules/XmlMDataStd.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.XmlMDataStd is deprecated since pythonocc-0.18.2. Use OCC.Core.XmlMDataStd", DeprecationWarning) - -from OCC.Core.XmlMDataStd import * diff --git a/src/SWIG_files/deprecated_modules/XmlMDataXtd.py b/src/SWIG_files/deprecated_modules/XmlMDataXtd.py deleted file mode 100644 index 8d6f0eb4b..000000000 --- a/src/SWIG_files/deprecated_modules/XmlMDataXtd.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.XmlMDataXtd is deprecated since pythonocc-0.18.2. Use OCC.Core.XmlMDataXtd", DeprecationWarning) - -from OCC.Core.XmlMDataXtd import * diff --git a/src/SWIG_files/deprecated_modules/XmlMDocStd.py b/src/SWIG_files/deprecated_modules/XmlMDocStd.py deleted file mode 100644 index ce1b68996..000000000 --- a/src/SWIG_files/deprecated_modules/XmlMDocStd.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.XmlMDocStd is deprecated since pythonocc-0.18.2. Use OCC.Core.XmlMDocStd", DeprecationWarning) - -from OCC.Core.XmlMDocStd import * diff --git a/src/SWIG_files/deprecated_modules/XmlMFunction.py b/src/SWIG_files/deprecated_modules/XmlMFunction.py deleted file mode 100644 index 8e50ef64c..000000000 --- a/src/SWIG_files/deprecated_modules/XmlMFunction.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.XmlMFunction is deprecated since pythonocc-0.18.2. Use OCC.Core.XmlMFunction", DeprecationWarning) - -from OCC.Core.XmlMFunction import * diff --git a/src/SWIG_files/deprecated_modules/XmlMNaming.py b/src/SWIG_files/deprecated_modules/XmlMNaming.py deleted file mode 100644 index 580a22c81..000000000 --- a/src/SWIG_files/deprecated_modules/XmlMNaming.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.XmlMNaming is deprecated since pythonocc-0.18.2. Use OCC.Core.XmlMNaming", DeprecationWarning) - -from OCC.Core.XmlMNaming import * diff --git a/src/SWIG_files/deprecated_modules/XmlMPrsStd.py b/src/SWIG_files/deprecated_modules/XmlMPrsStd.py deleted file mode 100644 index 1caa4b8ac..000000000 --- a/src/SWIG_files/deprecated_modules/XmlMPrsStd.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.XmlMPrsStd is deprecated since pythonocc-0.18.2. Use OCC.Core.XmlMPrsStd", DeprecationWarning) - -from OCC.Core.XmlMPrsStd import * diff --git a/src/SWIG_files/deprecated_modules/XmlMXCAFDoc.py b/src/SWIG_files/deprecated_modules/XmlMXCAFDoc.py deleted file mode 100644 index 77ae99615..000000000 --- a/src/SWIG_files/deprecated_modules/XmlMXCAFDoc.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.XmlMXCAFDoc is deprecated since pythonocc-0.18.2. Use OCC.Core.XmlMXCAFDoc", DeprecationWarning) - -from OCC.Core.XmlMXCAFDoc import * diff --git a/src/SWIG_files/deprecated_modules/XmlObjMgt.py b/src/SWIG_files/deprecated_modules/XmlObjMgt.py deleted file mode 100644 index d0e42cc76..000000000 --- a/src/SWIG_files/deprecated_modules/XmlObjMgt.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.XmlObjMgt is deprecated since pythonocc-0.18.2. Use OCC.Core.XmlObjMgt", DeprecationWarning) - -from OCC.Core.XmlObjMgt import * diff --git a/src/SWIG_files/deprecated_modules/XmlTObjDrivers.py b/src/SWIG_files/deprecated_modules/XmlTObjDrivers.py deleted file mode 100644 index 4764d2d8c..000000000 --- a/src/SWIG_files/deprecated_modules/XmlTObjDrivers.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.XmlTObjDrivers is deprecated since pythonocc-0.18.2. Use OCC.Core.XmlTObjDrivers", DeprecationWarning) - -from OCC.Core.XmlTObjDrivers import * diff --git a/src/SWIG_files/deprecated_modules/XmlXCAFDrivers.py b/src/SWIG_files/deprecated_modules/XmlXCAFDrivers.py deleted file mode 100644 index f63c7a94b..000000000 --- a/src/SWIG_files/deprecated_modules/XmlXCAFDrivers.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.XmlXCAFDrivers is deprecated since pythonocc-0.18.2. Use OCC.Core.XmlXCAFDrivers", DeprecationWarning) - -from OCC.Core.XmlXCAFDrivers import * diff --git a/src/SWIG_files/deprecated_modules/gce.py b/src/SWIG_files/deprecated_modules/gce.py deleted file mode 100644 index bd2b990c4..000000000 --- a/src/SWIG_files/deprecated_modules/gce.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.gce is deprecated since pythonocc-0.18.2. Use OCC.Core.gce", DeprecationWarning) - -from OCC.Core.gce import * diff --git a/src/SWIG_files/deprecated_modules/gp.py b/src/SWIG_files/deprecated_modules/gp.py deleted file mode 100644 index 411112564..000000000 --- a/src/SWIG_files/deprecated_modules/gp.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.gp is deprecated since pythonocc-0.18.2. Use OCC.Core.gp", DeprecationWarning) - -from OCC.Core.gp import * diff --git a/src/SWIG_files/deprecated_modules/math.py b/src/SWIG_files/deprecated_modules/math.py deleted file mode 100644 index 31f078c87..000000000 --- a/src/SWIG_files/deprecated_modules/math.py +++ /dev/null @@ -1,5 +0,0 @@ -import warnings -warnings.simplefilter('once', DeprecationWarning) -warnings.warn("OCC.math is deprecated since pythonocc-0.18.2. Use OCC.Core.math", DeprecationWarning) - -from OCC.Core.math import * diff --git a/src/SWIG_files/headers/AIS_module.hxx b/src/SWIG_files/headers/AIS_module.hxx new file mode 100644 index 000000000..942d53616 --- /dev/null +++ b/src/SWIG_files/headers/AIS_module.hxx @@ -0,0 +1,130 @@ +#ifndef AIS_HXX +#define AIS_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#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 +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#endif // AIS_HXX diff --git a/src/SWIG_files/headers/Adaptor2d_module.hxx b/src/SWIG_files/headers/Adaptor2d_module.hxx new file mode 100644 index 000000000..3fc526273 --- /dev/null +++ b/src/SWIG_files/headers/Adaptor2d_module.hxx @@ -0,0 +1,29 @@ +#ifndef ADAPTOR2D_HXX +#define ADAPTOR2D_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include +#include +#include + +#endif // ADAPTOR2D_HXX diff --git a/src/SWIG_files/headers/Adaptor3d_module.hxx b/src/SWIG_files/headers/Adaptor3d_module.hxx new file mode 100644 index 000000000..feb5bade1 --- /dev/null +++ b/src/SWIG_files/headers/Adaptor3d_module.hxx @@ -0,0 +1,38 @@ +#ifndef ADAPTOR3D_HXX +#define ADAPTOR3D_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#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 new file mode 100644 index 000000000..2291317a7 --- /dev/null +++ b/src/SWIG_files/headers/AdvApp2Var_module.hxx @@ -0,0 +1,43 @@ +#ifndef ADVAPP2VAR_HXX +#define ADVAPP2VAR_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#endif // ADVAPP2VAR_HXX diff --git a/src/SWIG_files/headers/AdvApprox_module.hxx b/src/SWIG_files/headers/AdvApprox_module.hxx new file mode 100644 index 000000000..9d8b32684 --- /dev/null +++ b/src/SWIG_files/headers/AdvApprox_module.hxx @@ -0,0 +1,30 @@ +#ifndef ADVAPPROX_HXX +#define ADVAPPROX_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include +#include +#include +#include + +#endif // ADVAPPROX_HXX diff --git a/src/SWIG_files/headers/AppBlend_module.hxx b/src/SWIG_files/headers/AppBlend_module.hxx new file mode 100644 index 000000000..efc31dd41 --- /dev/null +++ b/src/SWIG_files/headers/AppBlend_module.hxx @@ -0,0 +1,24 @@ +#ifndef APPBLEND_HXX +#define APPBLEND_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include + +#endif // APPBLEND_HXX diff --git a/src/SWIG_files/headers/AppCont_module.hxx b/src/SWIG_files/headers/AppCont_module.hxx new file mode 100644 index 000000000..effd78929 --- /dev/null +++ b/src/SWIG_files/headers/AppCont_module.hxx @@ -0,0 +1,26 @@ +#ifndef APPCONT_HXX +#define APPCONT_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include + +#endif // APPCONT_HXX diff --git a/src/SWIG_files/headers/AppDef_module.hxx b/src/SWIG_files/headers/AppDef_module.hxx new file mode 100644 index 000000000..fc9aefd8c --- /dev/null +++ b/src/SWIG_files/headers/AppDef_module.hxx @@ -0,0 +1,55 @@ +#ifndef APPDEF_HXX +#define APPDEF_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#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 // APPDEF_HXX diff --git a/src/SWIG_files/headers/AppParCurves_module.hxx b/src/SWIG_files/headers/AppParCurves_module.hxx new file mode 100644 index 000000000..9533887eb --- /dev/null +++ b/src/SWIG_files/headers/AppParCurves_module.hxx @@ -0,0 +1,39 @@ +#ifndef APPPARCURVES_HXX +#define APPPARCURVES_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#endif // APPPARCURVES_HXX diff --git a/src/SWIG_files/headers/AppStdL_module.hxx b/src/SWIG_files/headers/AppStdL_module.hxx new file mode 100644 index 000000000..d9eb033dd --- /dev/null +++ b/src/SWIG_files/headers/AppStdL_module.hxx @@ -0,0 +1,24 @@ +#ifndef APPSTDL_HXX +#define APPSTDL_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include + +#endif // APPSTDL_HXX diff --git a/src/SWIG_files/headers/AppStd_module.hxx b/src/SWIG_files/headers/AppStd_module.hxx new file mode 100644 index 000000000..fc77510a3 --- /dev/null +++ b/src/SWIG_files/headers/AppStd_module.hxx @@ -0,0 +1,24 @@ +#ifndef APPSTD_HXX +#define APPSTD_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include + +#endif // APPSTD_HXX diff --git a/src/SWIG_files/headers/ApproxInt_module.hxx b/src/SWIG_files/headers/ApproxInt_module.hxx new file mode 100644 index 000000000..2ad8c44a1 --- /dev/null +++ b/src/SWIG_files/headers/ApproxInt_module.hxx @@ -0,0 +1,25 @@ +#ifndef APPROXINT_HXX +#define APPROXINT_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include + +#endif // APPROXINT_HXX diff --git a/src/SWIG_files/headers/Approx_module.hxx b/src/SWIG_files/headers/Approx_module.hxx new file mode 100644 index 000000000..6de3e0612 --- /dev/null +++ b/src/SWIG_files/headers/Approx_module.hxx @@ -0,0 +1,41 @@ +#ifndef APPROX_HXX +#define APPROX_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#endif // APPROX_HXX diff --git a/src/SWIG_files/headers/Aspect_module.hxx b/src/SWIG_files/headers/Aspect_module.hxx new file mode 100644 index 000000000..4192594af --- /dev/null +++ b/src/SWIG_files/headers/Aspect_module.hxx @@ -0,0 +1,74 @@ +#ifndef ASPECT_HXX +#define ASPECT_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#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 // ASPECT_HXX diff --git a/src/SWIG_files/headers/BOPAlgo_module.hxx b/src/SWIG_files/headers/BOPAlgo_module.hxx new file mode 100644 index 000000000..39b32a7aa --- /dev/null +++ b/src/SWIG_files/headers/BOPAlgo_module.hxx @@ -0,0 +1,59 @@ +#ifndef BOPALGO_HXX +#define BOPALGO_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#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 // BOPALGO_HXX diff --git a/src/SWIG_files/headers/BOPDS_module.hxx b/src/SWIG_files/headers/BOPDS_module.hxx new file mode 100644 index 000000000..1b6e55622 --- /dev/null +++ b/src/SWIG_files/headers/BOPDS_module.hxx @@ -0,0 +1,78 @@ +#ifndef BOPDS_HXX +#define BOPDS_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#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 // BOPDS_HXX diff --git a/src/SWIG_files/headers/BOPTools_module.hxx b/src/SWIG_files/headers/BOPTools_module.hxx new file mode 100644 index 000000000..c3b6bca86 --- /dev/null +++ b/src/SWIG_files/headers/BOPTools_module.hxx @@ -0,0 +1,38 @@ +#ifndef BOPTOOLS_HXX +#define BOPTOOLS_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#endif // BOPTOOLS_HXX diff --git a/src/SWIG_files/headers/BRepAdaptor_module.hxx b/src/SWIG_files/headers/BRepAdaptor_module.hxx new file mode 100644 index 000000000..cb95b6c0f --- /dev/null +++ b/src/SWIG_files/headers/BRepAdaptor_module.hxx @@ -0,0 +1,33 @@ +#ifndef BREPADAPTOR_HXX +#define BREPADAPTOR_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#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 new file mode 100644 index 000000000..09cae9f7b --- /dev/null +++ b/src/SWIG_files/headers/BRepAlgoAPI_module.hxx @@ -0,0 +1,33 @@ +#ifndef BREPALGOAPI_HXX +#define BREPALGOAPI_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#endif // BREPALGOAPI_HXX diff --git a/src/SWIG_files/headers/BRepAlgo_module.hxx b/src/SWIG_files/headers/BRepAlgo_module.hxx new file mode 100644 index 000000000..92cb7abb7 --- /dev/null +++ b/src/SWIG_files/headers/BRepAlgo_module.hxx @@ -0,0 +1,36 @@ +#ifndef BREPALGO_HXX +#define BREPALGO_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#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 new file mode 100644 index 000000000..2f0643017 --- /dev/null +++ b/src/SWIG_files/headers/BRepApprox_module.hxx @@ -0,0 +1,48 @@ +#ifndef BREPAPPROX_HXX +#define BREPAPPROX_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#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 // BREPAPPROX_HXX diff --git a/src/SWIG_files/headers/BRepBlend_module.hxx b/src/SWIG_files/headers/BRepBlend_module.hxx new file mode 100644 index 000000000..e8f96247a --- /dev/null +++ b/src/SWIG_files/headers/BRepBlend_module.hxx @@ -0,0 +1,63 @@ +#ifndef BREPBLEND_HXX +#define BREPBLEND_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#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 // BREPBLEND_HXX diff --git a/src/SWIG_files/headers/BRepBndLib_module.hxx b/src/SWIG_files/headers/BRepBndLib_module.hxx new file mode 100644 index 000000000..90b170059 --- /dev/null +++ b/src/SWIG_files/headers/BRepBndLib_module.hxx @@ -0,0 +1,24 @@ +#ifndef BREPBNDLIB_HXX +#define BREPBNDLIB_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include + +#endif // BREPBNDLIB_HXX diff --git a/src/SWIG_files/headers/BRepBuilderAPI_module.hxx b/src/SWIG_files/headers/BRepBuilderAPI_module.hxx new file mode 100644 index 000000000..d553fa85f --- /dev/null +++ b/src/SWIG_files/headers/BRepBuilderAPI_module.hxx @@ -0,0 +1,53 @@ +#ifndef BREPBUILDERAPI_HXX +#define BREPBUILDERAPI_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#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 // BREPBUILDERAPI_HXX diff --git a/src/SWIG_files/headers/BRepCheck_module.hxx b/src/SWIG_files/headers/BRepCheck_module.hxx new file mode 100644 index 000000000..2a1abd981 --- /dev/null +++ b/src/SWIG_files/headers/BRepCheck_module.hxx @@ -0,0 +1,39 @@ +#ifndef BREPCHECK_HXX +#define BREPCHECK_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#endif // BREPCHECK_HXX diff --git a/src/SWIG_files/headers/BRepClass3d_module.hxx b/src/SWIG_files/headers/BRepClass3d_module.hxx new file mode 100644 index 000000000..384383909 --- /dev/null +++ b/src/SWIG_files/headers/BRepClass3d_module.hxx @@ -0,0 +1,32 @@ +#ifndef BREPCLASS3D_HXX +#define BREPCLASS3D_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#endif // BREPCLASS3D_HXX diff --git a/src/SWIG_files/headers/BRepClass_module.hxx b/src/SWIG_files/headers/BRepClass_module.hxx new file mode 100644 index 000000000..6e8c8a591 --- /dev/null +++ b/src/SWIG_files/headers/BRepClass_module.hxx @@ -0,0 +1,30 @@ +#ifndef BREPCLASS_HXX +#define BREPCLASS_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include +#include +#include +#include + +#endif // BREPCLASS_HXX diff --git a/src/SWIG_files/headers/BRepExtrema_module.hxx b/src/SWIG_files/headers/BRepExtrema_module.hxx new file mode 100644 index 000000000..2d909d6a0 --- /dev/null +++ b/src/SWIG_files/headers/BRepExtrema_module.hxx @@ -0,0 +1,41 @@ +#ifndef BREPEXTREMA_HXX +#define BREPEXTREMA_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#endif // BREPEXTREMA_HXX diff --git a/src/SWIG_files/headers/BRepFeat_module.hxx b/src/SWIG_files/headers/BRepFeat_module.hxx new file mode 100644 index 000000000..f03bdebc3 --- /dev/null +++ b/src/SWIG_files/headers/BRepFeat_module.hxx @@ -0,0 +1,39 @@ +#ifndef BREPFEAT_HXX +#define BREPFEAT_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#endif // BREPFEAT_HXX diff --git a/src/SWIG_files/headers/BRepFill_module.hxx b/src/SWIG_files/headers/BRepFill_module.hxx new file mode 100644 index 000000000..22b5df423 --- /dev/null +++ b/src/SWIG_files/headers/BRepFill_module.hxx @@ -0,0 +1,76 @@ +#ifndef BREPFILL_HXX +#define BREPFILL_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#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 // BREPFILL_HXX diff --git a/src/SWIG_files/headers/BRepFilletAPI_module.hxx b/src/SWIG_files/headers/BRepFilletAPI_module.hxx new file mode 100644 index 000000000..885bd0cb9 --- /dev/null +++ b/src/SWIG_files/headers/BRepFilletAPI_module.hxx @@ -0,0 +1,27 @@ +#ifndef BREPFILLETAPI_HXX +#define BREPFILLETAPI_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include + +#endif // BREPFILLETAPI_HXX diff --git a/src/SWIG_files/headers/BRepGProp_module.hxx b/src/SWIG_files/headers/BRepGProp_module.hxx new file mode 100644 index 000000000..07c35c3e1 --- /dev/null +++ b/src/SWIG_files/headers/BRepGProp_module.hxx @@ -0,0 +1,36 @@ +#ifndef BREPGPROP_HXX +#define BREPGPROP_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#endif // BREPGPROP_HXX diff --git a/src/SWIG_files/headers/BRepIntCurveSurface_module.hxx b/src/SWIG_files/headers/BRepIntCurveSurface_module.hxx new file mode 100644 index 000000000..67cbc04fa --- /dev/null +++ b/src/SWIG_files/headers/BRepIntCurveSurface_module.hxx @@ -0,0 +1,24 @@ +#ifndef BREPINTCURVESURFACE_HXX +#define BREPINTCURVESURFACE_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include + +#endif // BREPINTCURVESURFACE_HXX diff --git a/src/SWIG_files/headers/BRepLProp_module.hxx b/src/SWIG_files/headers/BRepLProp_module.hxx new file mode 100644 index 000000000..e62525868 --- /dev/null +++ b/src/SWIG_files/headers/BRepLProp_module.hxx @@ -0,0 +1,28 @@ +#ifndef BREPLPROP_HXX +#define BREPLPROP_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include +#include + +#endif // BREPLPROP_HXX diff --git a/src/SWIG_files/headers/BRepLib_module.hxx b/src/SWIG_files/headers/BRepLib_module.hxx new file mode 100644 index 000000000..388a81381 --- /dev/null +++ b/src/SWIG_files/headers/BRepLib_module.hxx @@ -0,0 +1,42 @@ +#ifndef BREPLIB_HXX +#define BREPLIB_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#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 new file mode 100644 index 000000000..deef1ea1e --- /dev/null +++ b/src/SWIG_files/headers/BRepMAT2d_module.hxx @@ -0,0 +1,30 @@ +#ifndef BREPMAT2D_HXX +#define BREPMAT2D_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include +#include +#include +#include + +#endif // BREPMAT2D_HXX diff --git a/src/SWIG_files/headers/BRepMeshData_module.hxx b/src/SWIG_files/headers/BRepMeshData_module.hxx new file mode 100644 index 000000000..5dc1f5a89 --- /dev/null +++ b/src/SWIG_files/headers/BRepMeshData_module.hxx @@ -0,0 +1,29 @@ +#ifndef BREPMESHDATA_HXX +#define BREPMESHDATA_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include +#include +#include + +#endif // BREPMESHDATA_HXX diff --git a/src/SWIG_files/headers/BRepMesh_module.hxx b/src/SWIG_files/headers/BRepMesh_module.hxx new file mode 100644 index 000000000..639c5a7b0 --- /dev/null +++ b/src/SWIG_files/headers/BRepMesh_module.hxx @@ -0,0 +1,69 @@ +#ifndef BREPMESH_HXX +#define BREPMESH_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#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 // BREPMESH_HXX diff --git a/src/SWIG_files/headers/BRepOffsetAPI_module.hxx b/src/SWIG_files/headers/BRepOffsetAPI_module.hxx new file mode 100644 index 000000000..f4b52d3fd --- /dev/null +++ b/src/SWIG_files/headers/BRepOffsetAPI_module.hxx @@ -0,0 +1,39 @@ +#ifndef BREPOFFSETAPI_HXX +#define BREPOFFSETAPI_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#endif // BREPOFFSETAPI_HXX diff --git a/src/SWIG_files/headers/BRepOffset_module.hxx b/src/SWIG_files/headers/BRepOffset_module.hxx new file mode 100644 index 000000000..328c6b528 --- /dev/null +++ b/src/SWIG_files/headers/BRepOffset_module.hxx @@ -0,0 +1,46 @@ +#ifndef BREPOFFSET_HXX +#define BREPOFFSET_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#endif // BREPOFFSET_HXX diff --git a/src/SWIG_files/headers/BRepPrimAPI_module.hxx b/src/SWIG_files/headers/BRepPrimAPI_module.hxx new file mode 100644 index 000000000..dde818128 --- /dev/null +++ b/src/SWIG_files/headers/BRepPrimAPI_module.hxx @@ -0,0 +1,35 @@ +#ifndef BREPPRIMAPI_HXX +#define BREPPRIMAPI_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#endif // BREPPRIMAPI_HXX diff --git a/src/SWIG_files/headers/BRepPrim_module.hxx b/src/SWIG_files/headers/BRepPrim_module.hxx new file mode 100644 index 000000000..15c374eeb --- /dev/null +++ b/src/SWIG_files/headers/BRepPrim_module.hxx @@ -0,0 +1,34 @@ +#ifndef BREPPRIM_HXX +#define BREPPRIM_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#endif // BREPPRIM_HXX diff --git a/src/SWIG_files/headers/BRepProj_module.hxx b/src/SWIG_files/headers/BRepProj_module.hxx new file mode 100644 index 000000000..881a27fe2 --- /dev/null +++ b/src/SWIG_files/headers/BRepProj_module.hxx @@ -0,0 +1,24 @@ +#ifndef BREPPROJ_HXX +#define BREPPROJ_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include + +#endif // BREPPROJ_HXX diff --git a/src/SWIG_files/headers/BRepSweep_module.hxx b/src/SWIG_files/headers/BRepSweep_module.hxx new file mode 100644 index 000000000..7e79be8c9 --- /dev/null +++ b/src/SWIG_files/headers/BRepSweep_module.hxx @@ -0,0 +1,32 @@ +#ifndef BREPSWEEP_HXX +#define BREPSWEEP_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#endif // BREPSWEEP_HXX diff --git a/src/SWIG_files/headers/BRepTools_module.hxx b/src/SWIG_files/headers/BRepTools_module.hxx new file mode 100644 index 000000000..4d61b947f --- /dev/null +++ b/src/SWIG_files/headers/BRepTools_module.hxx @@ -0,0 +1,37 @@ +#ifndef BREPTOOLS_HXX +#define BREPTOOLS_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#endif // BREPTOOLS_HXX diff --git a/src/SWIG_files/headers/BRepTopAdaptor_module.hxx b/src/SWIG_files/headers/BRepTopAdaptor_module.hxx new file mode 100644 index 000000000..5935d2d15 --- /dev/null +++ b/src/SWIG_files/headers/BRepTopAdaptor_module.hxx @@ -0,0 +1,30 @@ +#ifndef BREPTOPADAPTOR_HXX +#define BREPTOPADAPTOR_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include +#include +#include +#include + +#endif // BREPTOPADAPTOR_HXX diff --git a/src/SWIG_files/headers/BRep_module.hxx b/src/SWIG_files/headers/BRep_module.hxx new file mode 100644 index 000000000..4850d0dc0 --- /dev/null +++ b/src/SWIG_files/headers/BRep_module.hxx @@ -0,0 +1,48 @@ +#ifndef BREP_HXX +#define BREP_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#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 // BREP_HXX diff --git a/src/SWIG_files/headers/BSplCLib_module.hxx b/src/SWIG_files/headers/BSplCLib_module.hxx new file mode 100644 index 000000000..e1eb7de2f --- /dev/null +++ b/src/SWIG_files/headers/BSplCLib_module.hxx @@ -0,0 +1,29 @@ +#ifndef BSPLCLIB_HXX +#define BSPLCLIB_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include +#include +#include + +#endif // BSPLCLIB_HXX diff --git a/src/SWIG_files/headers/BSplSLib_module.hxx b/src/SWIG_files/headers/BSplSLib_module.hxx new file mode 100644 index 000000000..10d0b1dbf --- /dev/null +++ b/src/SWIG_files/headers/BSplSLib_module.hxx @@ -0,0 +1,26 @@ +#ifndef BSPLSLIB_HXX +#define BSPLSLIB_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include + +#endif // BSPLSLIB_HXX diff --git a/src/SWIG_files/headers/BVH_module.hxx b/src/SWIG_files/headers/BVH_module.hxx new file mode 100644 index 000000000..21ca1cf48 --- /dev/null +++ b/src/SWIG_files/headers/BVH_module.hxx @@ -0,0 +1,54 @@ +#ifndef BVH_HXX +#define BVH_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#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 // BVH_HXX diff --git a/src/SWIG_files/headers/BiTgte_module.hxx b/src/SWIG_files/headers/BiTgte_module.hxx new file mode 100644 index 000000000..a996af937 --- /dev/null +++ b/src/SWIG_files/headers/BiTgte_module.hxx @@ -0,0 +1,29 @@ +#ifndef BITGTE_HXX +#define BITGTE_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#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 new file mode 100644 index 000000000..c5f434e07 --- /dev/null +++ b/src/SWIG_files/headers/BinDrivers_module.hxx @@ -0,0 +1,27 @@ +#ifndef BINDRIVERS_HXX +#define BINDRIVERS_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include + +#endif // BINDRIVERS_HXX diff --git a/src/SWIG_files/headers/BinLDrivers_module.hxx b/src/SWIG_files/headers/BinLDrivers_module.hxx new file mode 100644 index 000000000..d31e39935 --- /dev/null +++ b/src/SWIG_files/headers/BinLDrivers_module.hxx @@ -0,0 +1,29 @@ +#ifndef BINLDRIVERS_HXX +#define BINLDRIVERS_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include +#include +#include + +#endif // BINLDRIVERS_HXX diff --git a/src/SWIG_files/headers/BinMDF_module.hxx b/src/SWIG_files/headers/BinMDF_module.hxx new file mode 100644 index 000000000..4c39e3a99 --- /dev/null +++ b/src/SWIG_files/headers/BinMDF_module.hxx @@ -0,0 +1,33 @@ +#ifndef BINMDF_HXX +#define BINMDF_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#endif // BINMDF_HXX diff --git a/src/SWIG_files/headers/BinMDataStd_module.hxx b/src/SWIG_files/headers/BinMDataStd_module.hxx new file mode 100644 index 000000000..eb51c65b9 --- /dev/null +++ b/src/SWIG_files/headers/BinMDataStd_module.hxx @@ -0,0 +1,50 @@ +#ifndef BINMDATASTD_HXX +#define BINMDATASTD_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#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 // BINMDATASTD_HXX diff --git a/src/SWIG_files/headers/BinMDataXtd_module.hxx b/src/SWIG_files/headers/BinMDataXtd_module.hxx new file mode 100644 index 000000000..58bbc6350 --- /dev/null +++ b/src/SWIG_files/headers/BinMDataXtd_module.hxx @@ -0,0 +1,35 @@ +#ifndef BINMDATAXTD_HXX +#define BINMDATAXTD_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#endif // BINMDATAXTD_HXX diff --git a/src/SWIG_files/headers/BinMDocStd_module.hxx b/src/SWIG_files/headers/BinMDocStd_module.hxx new file mode 100644 index 000000000..7423c1e93 --- /dev/null +++ b/src/SWIG_files/headers/BinMDocStd_module.hxx @@ -0,0 +1,25 @@ +#ifndef BINMDOCSTD_HXX +#define BINMDOCSTD_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include + +#endif // BINMDOCSTD_HXX diff --git a/src/SWIG_files/headers/BinMFunction_module.hxx b/src/SWIG_files/headers/BinMFunction_module.hxx new file mode 100644 index 000000000..f39654189 --- /dev/null +++ b/src/SWIG_files/headers/BinMFunction_module.hxx @@ -0,0 +1,27 @@ +#ifndef BINMFUNCTION_HXX +#define BINMFUNCTION_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include + +#endif // BINMFUNCTION_HXX diff --git a/src/SWIG_files/headers/BinMNaming_module.hxx b/src/SWIG_files/headers/BinMNaming_module.hxx new file mode 100644 index 000000000..1ca507d21 --- /dev/null +++ b/src/SWIG_files/headers/BinMNaming_module.hxx @@ -0,0 +1,26 @@ +#ifndef BINMNAMING_HXX +#define BINMNAMING_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include + +#endif // BINMNAMING_HXX diff --git a/src/SWIG_files/headers/BinMXCAFDoc_module.hxx b/src/SWIG_files/headers/BinMXCAFDoc_module.hxx new file mode 100644 index 000000000..098efe9bc --- /dev/null +++ b/src/SWIG_files/headers/BinMXCAFDoc_module.hxx @@ -0,0 +1,50 @@ +#ifndef BINMXCAFDOC_HXX +#define BINMXCAFDOC_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#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 // BINMXCAFDOC_HXX diff --git a/src/SWIG_files/headers/BinObjMgt_module.hxx b/src/SWIG_files/headers/BinObjMgt_module.hxx new file mode 100644 index 000000000..00d4abeaa --- /dev/null +++ b/src/SWIG_files/headers/BinObjMgt_module.hxx @@ -0,0 +1,32 @@ +#ifndef BINOBJMGT_HXX +#define BINOBJMGT_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#endif // BINOBJMGT_HXX diff --git a/src/SWIG_files/headers/BinTObjDrivers_module.hxx b/src/SWIG_files/headers/BinTObjDrivers_module.hxx new file mode 100644 index 000000000..b230c33f1 --- /dev/null +++ b/src/SWIG_files/headers/BinTObjDrivers_module.hxx @@ -0,0 +1,31 @@ +#ifndef BINTOBJDRIVERS_HXX +#define BINTOBJDRIVERS_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include +#include +#include +#include +#include + +#endif // BINTOBJDRIVERS_HXX diff --git a/src/SWIG_files/headers/BinTools_module.hxx b/src/SWIG_files/headers/BinTools_module.hxx new file mode 100644 index 000000000..09a8450b9 --- /dev/null +++ b/src/SWIG_files/headers/BinTools_module.hxx @@ -0,0 +1,30 @@ +#ifndef BINTOOLS_HXX +#define BINTOOLS_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#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 new file mode 100644 index 000000000..ab0377120 --- /dev/null +++ b/src/SWIG_files/headers/BinXCAFDrivers_module.hxx @@ -0,0 +1,26 @@ +#ifndef BINXCAFDRIVERS_HXX +#define BINXCAFDRIVERS_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include + +#endif // BINXCAFDRIVERS_HXX diff --git a/src/SWIG_files/headers/Bisector_module.hxx b/src/SWIG_files/headers/Bisector_module.hxx new file mode 100644 index 000000000..135f17da7 --- /dev/null +++ b/src/SWIG_files/headers/Bisector_module.hxx @@ -0,0 +1,34 @@ +#ifndef BISECTOR_HXX +#define BISECTOR_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#endif // BISECTOR_HXX diff --git a/src/SWIG_files/headers/BlendFunc_module.hxx b/src/SWIG_files/headers/BlendFunc_module.hxx new file mode 100644 index 000000000..80e91537e --- /dev/null +++ b/src/SWIG_files/headers/BlendFunc_module.hxx @@ -0,0 +1,45 @@ +#ifndef BLENDFUNC_HXX +#define BLENDFUNC_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#endif // BLENDFUNC_HXX diff --git a/src/SWIG_files/headers/Blend_module.hxx b/src/SWIG_files/headers/Blend_module.hxx new file mode 100644 index 000000000..67414ac2d --- /dev/null +++ b/src/SWIG_files/headers/Blend_module.hxx @@ -0,0 +1,36 @@ +#ifndef BLEND_HXX +#define BLEND_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#endif // BLEND_HXX diff --git a/src/SWIG_files/headers/BndLib_module.hxx b/src/SWIG_files/headers/BndLib_module.hxx new file mode 100644 index 000000000..872e71062 --- /dev/null +++ b/src/SWIG_files/headers/BndLib_module.hxx @@ -0,0 +1,27 @@ +#ifndef BNDLIB_HXX +#define BNDLIB_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include + +#endif // BNDLIB_HXX diff --git a/src/SWIG_files/headers/Bnd_module.hxx b/src/SWIG_files/headers/Bnd_module.hxx new file mode 100644 index 000000000..d75090a9c --- /dev/null +++ b/src/SWIG_files/headers/Bnd_module.hxx @@ -0,0 +1,42 @@ +#ifndef BND_HXX +#define BND_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#endif // BND_HXX diff --git a/src/SWIG_files/headers/CDF_module.hxx b/src/SWIG_files/headers/CDF_module.hxx new file mode 100644 index 000000000..173eb9cb6 --- /dev/null +++ b/src/SWIG_files/headers/CDF_module.hxx @@ -0,0 +1,38 @@ +#ifndef CDF_HXX +#define CDF_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#endif // CDF_HXX diff --git a/src/SWIG_files/headers/CDM_module.hxx b/src/SWIG_files/headers/CDM_module.hxx new file mode 100644 index 000000000..2653441ab --- /dev/null +++ b/src/SWIG_files/headers/CDM_module.hxx @@ -0,0 +1,42 @@ +#ifndef CDM_HXX +#define CDM_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#endif // CDM_HXX diff --git a/src/SWIG_files/headers/CPnts_module.hxx b/src/SWIG_files/headers/CPnts_module.hxx new file mode 100644 index 000000000..bf3989ce1 --- /dev/null +++ b/src/SWIG_files/headers/CPnts_module.hxx @@ -0,0 +1,28 @@ +#ifndef CPNTS_HXX +#define CPNTS_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include +#include + +#endif // CPNTS_HXX diff --git a/src/SWIG_files/headers/CSLib_module.hxx b/src/SWIG_files/headers/CSLib_module.hxx new file mode 100644 index 000000000..2142cb343 --- /dev/null +++ b/src/SWIG_files/headers/CSLib_module.hxx @@ -0,0 +1,28 @@ +#ifndef CSLIB_HXX +#define CSLIB_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include +#include + +#endif // CSLIB_HXX diff --git a/src/SWIG_files/headers/ChFi2d_module.hxx b/src/SWIG_files/headers/ChFi2d_module.hxx new file mode 100644 index 000000000..022b00080 --- /dev/null +++ b/src/SWIG_files/headers/ChFi2d_module.hxx @@ -0,0 +1,30 @@ +#ifndef CHFI2D_HXX +#define CHFI2D_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include +#include +#include +#include + +#endif // CHFI2D_HXX diff --git a/src/SWIG_files/headers/ChFi3d_module.hxx b/src/SWIG_files/headers/ChFi3d_module.hxx new file mode 100644 index 000000000..4f198a09a --- /dev/null +++ b/src/SWIG_files/headers/ChFi3d_module.hxx @@ -0,0 +1,30 @@ +#ifndef CHFI3D_HXX +#define CHFI3D_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include +#include +#include +#include + +#endif // CHFI3D_HXX diff --git a/src/SWIG_files/headers/ChFiDS_module.hxx b/src/SWIG_files/headers/ChFiDS_module.hxx new file mode 100644 index 000000000..ece32e1d9 --- /dev/null +++ b/src/SWIG_files/headers/ChFiDS_module.hxx @@ -0,0 +1,53 @@ +#ifndef CHFIDS_HXX +#define CHFIDS_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#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 // CHFIDS_HXX diff --git a/src/SWIG_files/headers/ChFiKPart_module.hxx b/src/SWIG_files/headers/ChFiKPart_module.hxx new file mode 100644 index 000000000..7d486ee56 --- /dev/null +++ b/src/SWIG_files/headers/ChFiKPart_module.hxx @@ -0,0 +1,36 @@ +#ifndef CHFIKPART_HXX +#define CHFIKPART_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#endif // CHFIKPART_HXX diff --git a/src/SWIG_files/headers/Contap_module.hxx b/src/SWIG_files/headers/Contap_module.hxx new file mode 100644 index 000000000..de7fd836a --- /dev/null +++ b/src/SWIG_files/headers/Contap_module.hxx @@ -0,0 +1,46 @@ +#ifndef CONTAP_HXX +#define CONTAP_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#endif // CONTAP_HXX diff --git a/src/SWIG_files/headers/Convert_module.hxx b/src/SWIG_files/headers/Convert_module.hxx new file mode 100644 index 000000000..a69e46261 --- /dev/null +++ b/src/SWIG_files/headers/Convert_module.hxx @@ -0,0 +1,42 @@ +#ifndef CONVERT_HXX +#define CONVERT_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#endif // CONVERT_HXX diff --git a/src/SWIG_files/headers/Draft_module.hxx b/src/SWIG_files/headers/Draft_module.hxx new file mode 100644 index 000000000..63835b8ca --- /dev/null +++ b/src/SWIG_files/headers/Draft_module.hxx @@ -0,0 +1,32 @@ +#ifndef DRAFT_HXX +#define DRAFT_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#endif // DRAFT_HXX diff --git a/src/SWIG_files/headers/DsgPrs_module.hxx b/src/SWIG_files/headers/DsgPrs_module.hxx new file mode 100644 index 000000000..9a12e5e04 --- /dev/null +++ b/src/SWIG_files/headers/DsgPrs_module.hxx @@ -0,0 +1,49 @@ +#ifndef DSGPRS_HXX +#define DSGPRS_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#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 // DSGPRS_HXX diff --git a/src/SWIG_files/headers/ElCLib_module.hxx b/src/SWIG_files/headers/ElCLib_module.hxx new file mode 100644 index 000000000..bf157ff7b --- /dev/null +++ b/src/SWIG_files/headers/ElCLib_module.hxx @@ -0,0 +1,24 @@ +#ifndef ELCLIB_HXX +#define ELCLIB_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include + +#endif // ELCLIB_HXX diff --git a/src/SWIG_files/headers/ElSLib_module.hxx b/src/SWIG_files/headers/ElSLib_module.hxx new file mode 100644 index 000000000..ab00dc1a4 --- /dev/null +++ b/src/SWIG_files/headers/ElSLib_module.hxx @@ -0,0 +1,24 @@ +#ifndef ELSLIB_HXX +#define ELSLIB_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include + +#endif // ELSLIB_HXX diff --git a/src/SWIG_files/headers/ExprIntrp_module.hxx b/src/SWIG_files/headers/ExprIntrp_module.hxx new file mode 100644 index 000000000..09307c685 --- /dev/null +++ b/src/SWIG_files/headers/ExprIntrp_module.hxx @@ -0,0 +1,40 @@ +#ifndef EXPRINTRP_HXX +#define EXPRINTRP_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#endif // EXPRINTRP_HXX diff --git a/src/SWIG_files/headers/Expr_module.hxx b/src/SWIG_files/headers/Expr_module.hxx new file mode 100644 index 000000000..8332e149e --- /dev/null +++ b/src/SWIG_files/headers/Expr_module.hxx @@ -0,0 +1,88 @@ +#ifndef EXPR_HXX +#define EXPR_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#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 // EXPR_HXX diff --git a/src/SWIG_files/headers/Extrema_module.hxx b/src/SWIG_files/headers/Extrema_module.hxx new file mode 100644 index 000000000..4730c094c --- /dev/null +++ b/src/SWIG_files/headers/Extrema_module.hxx @@ -0,0 +1,102 @@ +#ifndef EXTREMA_HXX +#define EXTREMA_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#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 // EXTREMA_HXX diff --git a/src/SWIG_files/headers/FEmTool_module.hxx b/src/SWIG_files/headers/FEmTool_module.hxx new file mode 100644 index 000000000..fad51d8f8 --- /dev/null +++ b/src/SWIG_files/headers/FEmTool_module.hxx @@ -0,0 +1,37 @@ +#ifndef FEMTOOL_HXX +#define FEMTOOL_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#endif // FEMTOOL_HXX diff --git a/src/SWIG_files/headers/FSD_module.hxx b/src/SWIG_files/headers/FSD_module.hxx new file mode 100644 index 000000000..3fd571036 --- /dev/null +++ b/src/SWIG_files/headers/FSD_module.hxx @@ -0,0 +1,30 @@ +#ifndef FSD_HXX +#define FSD_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include +#include +#include +#include + +#endif // FSD_HXX diff --git a/src/SWIG_files/headers/FairCurve_module.hxx b/src/SWIG_files/headers/FairCurve_module.hxx new file mode 100644 index 000000000..c139e3a46 --- /dev/null +++ b/src/SWIG_files/headers/FairCurve_module.hxx @@ -0,0 +1,35 @@ +#ifndef FAIRCURVE_HXX +#define FAIRCURVE_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#endif // FAIRCURVE_HXX diff --git a/src/SWIG_files/headers/FilletSurf_module.hxx b/src/SWIG_files/headers/FilletSurf_module.hxx new file mode 100644 index 000000000..866ec9a01 --- /dev/null +++ b/src/SWIG_files/headers/FilletSurf_module.hxx @@ -0,0 +1,28 @@ +#ifndef FILLETSURF_HXX +#define FILLETSURF_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include +#include + +#endif // FILLETSURF_HXX diff --git a/src/SWIG_files/headers/GCE2d_module.hxx b/src/SWIG_files/headers/GCE2d_module.hxx new file mode 100644 index 000000000..4af1f02a9 --- /dev/null +++ b/src/SWIG_files/headers/GCE2d_module.hxx @@ -0,0 +1,38 @@ +#ifndef GCE2D_HXX +#define GCE2D_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#endif // GCE2D_HXX diff --git a/src/SWIG_files/headers/GCPnts_module.hxx b/src/SWIG_files/headers/GCPnts_module.hxx new file mode 100644 index 000000000..a17054f0a --- /dev/null +++ b/src/SWIG_files/headers/GCPnts_module.hxx @@ -0,0 +1,33 @@ +#ifndef GCPNTS_HXX +#define GCPNTS_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#endif // GCPNTS_HXX diff --git a/src/SWIG_files/headers/GC_module.hxx b/src/SWIG_files/headers/GC_module.hxx new file mode 100644 index 000000000..1ea66a93f --- /dev/null +++ b/src/SWIG_files/headers/GC_module.hxx @@ -0,0 +1,42 @@ +#ifndef GC_HXX +#define GC_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#endif // GC_HXX diff --git a/src/SWIG_files/headers/GProp_module.hxx b/src/SWIG_files/headers/GProp_module.hxx new file mode 100644 index 000000000..cf7d6bc91 --- /dev/null +++ b/src/SWIG_files/headers/GProp_module.hxx @@ -0,0 +1,34 @@ +#ifndef GPROP_HXX +#define GPROP_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#endif // GPROP_HXX diff --git a/src/SWIG_files/headers/GccAna_module.hxx b/src/SWIG_files/headers/GccAna_module.hxx new file mode 100644 index 000000000..260c192d9 --- /dev/null +++ b/src/SWIG_files/headers/GccAna_module.hxx @@ -0,0 +1,39 @@ +#ifndef GCCANA_HXX +#define GCCANA_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#endif // GCCANA_HXX diff --git a/src/SWIG_files/headers/GccEnt_module.hxx b/src/SWIG_files/headers/GccEnt_module.hxx new file mode 100644 index 000000000..26439cb67 --- /dev/null +++ b/src/SWIG_files/headers/GccEnt_module.hxx @@ -0,0 +1,29 @@ +#ifndef GCCENT_HXX +#define GCCENT_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include +#include +#include + +#endif // GCCENT_HXX diff --git a/src/SWIG_files/headers/GccInt_module.hxx b/src/SWIG_files/headers/GccInt_module.hxx new file mode 100644 index 000000000..c02e94401 --- /dev/null +++ b/src/SWIG_files/headers/GccInt_module.hxx @@ -0,0 +1,31 @@ +#ifndef GCCINT_HXX +#define GCCINT_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include +#include +#include +#include +#include + +#endif // GCCINT_HXX diff --git a/src/SWIG_files/headers/Geom2dAPI_module.hxx b/src/SWIG_files/headers/Geom2dAPI_module.hxx new file mode 100644 index 000000000..d968c55ff --- /dev/null +++ b/src/SWIG_files/headers/Geom2dAPI_module.hxx @@ -0,0 +1,28 @@ +#ifndef GEOM2DAPI_HXX +#define GEOM2DAPI_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include +#include + +#endif // GEOM2DAPI_HXX diff --git a/src/SWIG_files/headers/Geom2dAdaptor_module.hxx b/src/SWIG_files/headers/Geom2dAdaptor_module.hxx new file mode 100644 index 000000000..79d79ea2f --- /dev/null +++ b/src/SWIG_files/headers/Geom2dAdaptor_module.hxx @@ -0,0 +1,27 @@ +#ifndef GEOM2DADAPTOR_HXX +#define GEOM2DADAPTOR_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#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 new file mode 100644 index 000000000..1e5888b91 --- /dev/null +++ b/src/SWIG_files/headers/Geom2dConvert_module.hxx @@ -0,0 +1,28 @@ +#ifndef GEOM2DCONVERT_HXX +#define GEOM2DCONVERT_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include +#include + +#endif // GEOM2DCONVERT_HXX diff --git a/src/SWIG_files/headers/Geom2dEvaluator_module.hxx b/src/SWIG_files/headers/Geom2dEvaluator_module.hxx new file mode 100644 index 000000000..8374fe63c --- /dev/null +++ b/src/SWIG_files/headers/Geom2dEvaluator_module.hxx @@ -0,0 +1,25 @@ +#ifndef GEOM2DEVALUATOR_HXX +#define GEOM2DEVALUATOR_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include + +#endif // GEOM2DEVALUATOR_HXX diff --git a/src/SWIG_files/headers/Geom2dGcc_module.hxx b/src/SWIG_files/headers/Geom2dGcc_module.hxx new file mode 100644 index 000000000..7a417ccdb --- /dev/null +++ b/src/SWIG_files/headers/Geom2dGcc_module.hxx @@ -0,0 +1,52 @@ +#ifndef GEOM2DGCC_HXX +#define GEOM2DGCC_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#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 // GEOM2DGCC_HXX diff --git a/src/SWIG_files/headers/Geom2dHatch_module.hxx b/src/SWIG_files/headers/Geom2dHatch_module.hxx new file mode 100644 index 000000000..27de76bce --- /dev/null +++ b/src/SWIG_files/headers/Geom2dHatch_module.hxx @@ -0,0 +1,34 @@ +#ifndef GEOM2DHATCH_HXX +#define GEOM2DHATCH_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#endif // GEOM2DHATCH_HXX diff --git a/src/SWIG_files/headers/Geom2dInt_module.hxx b/src/SWIG_files/headers/Geom2dInt_module.hxx new file mode 100644 index 000000000..f42a951b3 --- /dev/null +++ b/src/SWIG_files/headers/Geom2dInt_module.hxx @@ -0,0 +1,37 @@ +#ifndef GEOM2DINT_HXX +#define GEOM2DINT_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#endif // GEOM2DINT_HXX diff --git a/src/SWIG_files/headers/Geom2dLProp_module.hxx b/src/SWIG_files/headers/Geom2dLProp_module.hxx new file mode 100644 index 000000000..2f8e291e0 --- /dev/null +++ b/src/SWIG_files/headers/Geom2dLProp_module.hxx @@ -0,0 +1,29 @@ +#ifndef GEOM2DLPROP_HXX +#define GEOM2DLPROP_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include +#include +#include + +#endif // GEOM2DLPROP_HXX diff --git a/src/SWIG_files/headers/Geom2d_module.hxx b/src/SWIG_files/headers/Geom2d_module.hxx new file mode 100644 index 000000000..5f1f3c0c4 --- /dev/null +++ b/src/SWIG_files/headers/Geom2d_module.hxx @@ -0,0 +1,45 @@ +#ifndef GEOM2D_HXX +#define GEOM2D_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#endif // GEOM2D_HXX diff --git a/src/SWIG_files/headers/GeomAPI_module.hxx b/src/SWIG_files/headers/GeomAPI_module.hxx new file mode 100644 index 000000000..a79950ef0 --- /dev/null +++ b/src/SWIG_files/headers/GeomAPI_module.hxx @@ -0,0 +1,34 @@ +#ifndef GEOMAPI_HXX +#define GEOMAPI_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#endif // GEOMAPI_HXX diff --git a/src/SWIG_files/headers/GeomAbs_module.hxx b/src/SWIG_files/headers/GeomAbs_module.hxx new file mode 100644 index 000000000..5fde90d3a --- /dev/null +++ b/src/SWIG_files/headers/GeomAbs_module.hxx @@ -0,0 +1,32 @@ +#ifndef GEOMABS_HXX +#define GEOMABS_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#endif // GEOMABS_HXX diff --git a/src/SWIG_files/headers/GeomAdaptor_module.hxx b/src/SWIG_files/headers/GeomAdaptor_module.hxx new file mode 100644 index 000000000..6f7dcc4a4 --- /dev/null +++ b/src/SWIG_files/headers/GeomAdaptor_module.hxx @@ -0,0 +1,34 @@ +#ifndef GEOMADAPTOR_HXX +#define GEOMADAPTOR_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#endif // GEOMADAPTOR_HXX diff --git a/src/SWIG_files/headers/GeomConvert_module.hxx b/src/SWIG_files/headers/GeomConvert_module.hxx new file mode 100644 index 000000000..dd63d9185 --- /dev/null +++ b/src/SWIG_files/headers/GeomConvert_module.hxx @@ -0,0 +1,32 @@ +#ifndef GEOMCONVERT_HXX +#define GEOMCONVERT_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include +#include +#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 new file mode 100644 index 000000000..670876a50 --- /dev/null +++ b/src/SWIG_files/headers/GeomEvaluator_module.hxx @@ -0,0 +1,29 @@ +#ifndef GEOMEVALUATOR_HXX +#define GEOMEVALUATOR_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include +#include +#include + +#endif // GEOMEVALUATOR_HXX diff --git a/src/SWIG_files/headers/GeomFill_module.hxx b/src/SWIG_files/headers/GeomFill_module.hxx new file mode 100644 index 000000000..06938a0f0 --- /dev/null +++ b/src/SWIG_files/headers/GeomFill_module.hxx @@ -0,0 +1,89 @@ +#ifndef GEOMFILL_HXX +#define GEOMFILL_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#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 // GEOMFILL_HXX diff --git a/src/SWIG_files/headers/GeomInt_module.hxx b/src/SWIG_files/headers/GeomInt_module.hxx new file mode 100644 index 000000000..21cf757d1 --- /dev/null +++ b/src/SWIG_files/headers/GeomInt_module.hxx @@ -0,0 +1,54 @@ +#ifndef GEOMINT_HXX +#define GEOMINT_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#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 // GEOMINT_HXX diff --git a/src/SWIG_files/headers/GeomLProp_module.hxx b/src/SWIG_files/headers/GeomLProp_module.hxx new file mode 100644 index 000000000..eb5847e74 --- /dev/null +++ b/src/SWIG_files/headers/GeomLProp_module.hxx @@ -0,0 +1,28 @@ +#ifndef GEOMLPROP_HXX +#define GEOMLPROP_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include +#include + +#endif // GEOMLPROP_HXX diff --git a/src/SWIG_files/headers/GeomLib_module.hxx b/src/SWIG_files/headers/GeomLib_module.hxx new file mode 100644 index 000000000..8fd5e8b79 --- /dev/null +++ b/src/SWIG_files/headers/GeomLib_module.hxx @@ -0,0 +1,37 @@ +#ifndef GEOMLIB_HXX +#define GEOMLIB_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#endif // GEOMLIB_HXX diff --git a/src/SWIG_files/headers/GeomPlate_module.hxx b/src/SWIG_files/headers/GeomPlate_module.hxx new file mode 100644 index 000000000..a1abb7b06 --- /dev/null +++ b/src/SWIG_files/headers/GeomPlate_module.hxx @@ -0,0 +1,41 @@ +#ifndef GEOMPLATE_HXX +#define GEOMPLATE_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#endif // GEOMPLATE_HXX diff --git a/src/SWIG_files/headers/GeomProjLib_module.hxx b/src/SWIG_files/headers/GeomProjLib_module.hxx new file mode 100644 index 000000000..9d6cc7b10 --- /dev/null +++ b/src/SWIG_files/headers/GeomProjLib_module.hxx @@ -0,0 +1,24 @@ +#ifndef GEOMPROJLIB_HXX +#define GEOMPROJLIB_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include + +#endif // GEOMPROJLIB_HXX diff --git a/src/SWIG_files/headers/GeomToStep_module.hxx b/src/SWIG_files/headers/GeomToStep_module.hxx new file mode 100644 index 000000000..018ef5c70 --- /dev/null +++ b/src/SWIG_files/headers/GeomToStep_module.hxx @@ -0,0 +1,55 @@ +#ifndef GEOMTOSTEP_HXX +#define GEOMTOSTEP_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#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 // GEOMTOSTEP_HXX diff --git a/src/SWIG_files/headers/GeomTools_module.hxx b/src/SWIG_files/headers/GeomTools_module.hxx new file mode 100644 index 000000000..393a928a0 --- /dev/null +++ b/src/SWIG_files/headers/GeomTools_module.hxx @@ -0,0 +1,28 @@ +#ifndef GEOMTOOLS_HXX +#define GEOMTOOLS_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include +#include + +#endif // GEOMTOOLS_HXX diff --git a/src/SWIG_files/headers/Geom_module.hxx b/src/SWIG_files/headers/Geom_module.hxx new file mode 100644 index 000000000..c4df021b3 --- /dev/null +++ b/src/SWIG_files/headers/Geom_module.hxx @@ -0,0 +1,65 @@ +#ifndef GEOM_HXX +#define GEOM_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#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 // GEOM_HXX diff --git a/src/SWIG_files/headers/Graphic3d_module.hxx b/src/SWIG_files/headers/Graphic3d_module.hxx new file mode 100644 index 000000000..77aee871c --- /dev/null +++ b/src/SWIG_files/headers/Graphic3d_module.hxx @@ -0,0 +1,165 @@ +#ifndef GRAPHIC3D_HXX +#define GRAPHIC3D_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#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 +#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 // GRAPHIC3D_HXX diff --git a/src/SWIG_files/headers/HLRAlgo_module.hxx b/src/SWIG_files/headers/HLRAlgo_module.hxx new file mode 100644 index 000000000..7400e531c --- /dev/null +++ b/src/SWIG_files/headers/HLRAlgo_module.hxx @@ -0,0 +1,52 @@ +#ifndef HLRALGO_HXX +#define HLRALGO_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#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 // HLRALGO_HXX diff --git a/src/SWIG_files/headers/HLRAppli_module.hxx b/src/SWIG_files/headers/HLRAppli_module.hxx new file mode 100644 index 000000000..726e0967d --- /dev/null +++ b/src/SWIG_files/headers/HLRAppli_module.hxx @@ -0,0 +1,24 @@ +#ifndef HLRAPPLI_HXX +#define HLRAPPLI_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include + +#endif // HLRAPPLI_HXX diff --git a/src/SWIG_files/headers/HLRBRep_module.hxx b/src/SWIG_files/headers/HLRBRep_module.hxx new file mode 100644 index 000000000..ee1be97b4 --- /dev/null +++ b/src/SWIG_files/headers/HLRBRep_module.hxx @@ -0,0 +1,87 @@ +#ifndef HLRBREP_HXX +#define HLRBREP_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#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 // HLRBREP_HXX diff --git a/src/SWIG_files/headers/HLRTopoBRep_module.hxx b/src/SWIG_files/headers/HLRTopoBRep_module.hxx new file mode 100644 index 000000000..0cb903265 --- /dev/null +++ b/src/SWIG_files/headers/HLRTopoBRep_module.hxx @@ -0,0 +1,35 @@ +#ifndef HLRTOPOBREP_HXX +#define HLRTOPOBREP_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#endif // HLRTOPOBREP_HXX diff --git a/src/SWIG_files/headers/HatchGen_module.hxx b/src/SWIG_files/headers/HatchGen_module.hxx new file mode 100644 index 000000000..20b2f5e9e --- /dev/null +++ b/src/SWIG_files/headers/HatchGen_module.hxx @@ -0,0 +1,32 @@ +#ifndef HATCHGEN_HXX +#define HATCHGEN_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#endif // HATCHGEN_HXX diff --git a/src/SWIG_files/headers/Hatch_module.hxx b/src/SWIG_files/headers/Hatch_module.hxx new file mode 100644 index 000000000..e6a580fcd --- /dev/null +++ b/src/SWIG_files/headers/Hatch_module.hxx @@ -0,0 +1,29 @@ +#ifndef HATCH_HXX +#define HATCH_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include +#include +#include + +#endif // HATCH_HXX diff --git a/src/SWIG_files/headers/Hermit_module.hxx b/src/SWIG_files/headers/Hermit_module.hxx new file mode 100644 index 000000000..af0dc104e --- /dev/null +++ b/src/SWIG_files/headers/Hermit_module.hxx @@ -0,0 +1,24 @@ +#ifndef HERMIT_HXX +#define HERMIT_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include + +#endif // HERMIT_HXX diff --git a/src/SWIG_files/headers/IFSelect_module.hxx b/src/SWIG_files/headers/IFSelect_module.hxx new file mode 100644 index 000000000..4f96c765f --- /dev/null +++ b/src/SWIG_files/headers/IFSelect_module.hxx @@ -0,0 +1,112 @@ +#ifndef IFSELECT_HXX +#define IFSELECT_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#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 // IFSELECT_HXX diff --git a/src/SWIG_files/headers/IGESCAFControl_module.hxx b/src/SWIG_files/headers/IGESCAFControl_module.hxx new file mode 100644 index 000000000..79c86f2be --- /dev/null +++ b/src/SWIG_files/headers/IGESCAFControl_module.hxx @@ -0,0 +1,26 @@ +#ifndef IGESCAFCONTROL_HXX +#define IGESCAFCONTROL_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include + +#endif // IGESCAFCONTROL_HXX diff --git a/src/SWIG_files/headers/IGESControl_module.hxx b/src/SWIG_files/headers/IGESControl_module.hxx new file mode 100644 index 000000000..dddb03335 --- /dev/null +++ b/src/SWIG_files/headers/IGESControl_module.hxx @@ -0,0 +1,30 @@ +#ifndef IGESCONTROL_HXX +#define IGESCONTROL_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include +#include +#include +#include + +#endif // IGESCONTROL_HXX diff --git a/src/SWIG_files/headers/IGESData_module.hxx b/src/SWIG_files/headers/IGESData_module.hxx new file mode 100644 index 000000000..2b72b8539 --- /dev/null +++ b/src/SWIG_files/headers/IGESData_module.hxx @@ -0,0 +1,71 @@ +#ifndef IGESDATA_HXX +#define IGESDATA_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#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 // IGESDATA_HXX diff --git a/src/SWIG_files/headers/IGESToBRep_module.hxx b/src/SWIG_files/headers/IGESToBRep_module.hxx new file mode 100644 index 000000000..62f669234 --- /dev/null +++ b/src/SWIG_files/headers/IGESToBRep_module.hxx @@ -0,0 +1,35 @@ +#ifndef IGESTOBREP_HXX +#define IGESTOBREP_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#endif // IGESTOBREP_HXX diff --git a/src/SWIG_files/headers/IMeshData_module.hxx b/src/SWIG_files/headers/IMeshData_module.hxx new file mode 100644 index 000000000..844b4693a --- /dev/null +++ b/src/SWIG_files/headers/IMeshData_module.hxx @@ -0,0 +1,35 @@ +#ifndef IMESHDATA_HXX +#define IMESHDATA_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#endif // IMESHDATA_HXX diff --git a/src/SWIG_files/headers/IMeshTools_module.hxx b/src/SWIG_files/headers/IMeshTools_module.hxx new file mode 100644 index 000000000..0f0453984 --- /dev/null +++ b/src/SWIG_files/headers/IMeshTools_module.hxx @@ -0,0 +1,33 @@ +#ifndef IMESHTOOLS_HXX +#define IMESHTOOLS_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#endif // IMESHTOOLS_HXX diff --git a/src/SWIG_files/headers/IVtkOCC_module.hxx b/src/SWIG_files/headers/IVtkOCC_module.hxx new file mode 100644 index 000000000..96d92c5be --- /dev/null +++ b/src/SWIG_files/headers/IVtkOCC_module.hxx @@ -0,0 +1,23 @@ +#ifndef IVTKOCC_HXX +#define IVTKOCC_HXX + +/* +Copyright 2008-2019 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 . +*/ + + +#endif // IVTKOCC_HXX diff --git a/src/SWIG_files/headers/IVtkTools_module.hxx b/src/SWIG_files/headers/IVtkTools_module.hxx new file mode 100644 index 000000000..abc768fa1 --- /dev/null +++ b/src/SWIG_files/headers/IVtkTools_module.hxx @@ -0,0 +1,23 @@ +#ifndef IVTKTOOLS_HXX +#define IVTKTOOLS_HXX + +/* +Copyright 2008-2019 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 . +*/ + + +#endif // IVTKTOOLS_HXX diff --git a/src/SWIG_files/headers/IVtkVTK_module.hxx b/src/SWIG_files/headers/IVtkVTK_module.hxx new file mode 100644 index 000000000..d1c66300b --- /dev/null +++ b/src/SWIG_files/headers/IVtkVTK_module.hxx @@ -0,0 +1,23 @@ +#ifndef IVTKVTK_HXX +#define IVTKVTK_HXX + +/* +Copyright 2008-2019 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 . +*/ + + +#endif // IVTKVTK_HXX diff --git a/src/SWIG_files/headers/IVtk_module.hxx b/src/SWIG_files/headers/IVtk_module.hxx new file mode 100644 index 000000000..bae4fdbc8 --- /dev/null +++ b/src/SWIG_files/headers/IVtk_module.hxx @@ -0,0 +1,23 @@ +#ifndef IVTK_HXX +#define IVTK_HXX + +/* +Copyright 2008-2019 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 . +*/ + + +#endif // IVTK_HXX diff --git a/src/SWIG_files/headers/Image_module.hxx b/src/SWIG_files/headers/Image_module.hxx new file mode 100644 index 000000000..90d5f15a4 --- /dev/null +++ b/src/SWIG_files/headers/Image_module.hxx @@ -0,0 +1,32 @@ +#ifndef IMAGE_HXX +#define IMAGE_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#endif // IMAGE_HXX diff --git a/src/SWIG_files/headers/IntAna2d_module.hxx b/src/SWIG_files/headers/IntAna2d_module.hxx new file mode 100644 index 000000000..fe9a9fe1b --- /dev/null +++ b/src/SWIG_files/headers/IntAna2d_module.hxx @@ -0,0 +1,27 @@ +#ifndef INTANA2D_HXX +#define INTANA2D_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include + +#endif // INTANA2D_HXX diff --git a/src/SWIG_files/headers/IntAna_module.hxx b/src/SWIG_files/headers/IntAna_module.hxx new file mode 100644 index 000000000..55222c93b --- /dev/null +++ b/src/SWIG_files/headers/IntAna_module.hxx @@ -0,0 +1,33 @@ +#ifndef INTANA_HXX +#define INTANA_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#endif // INTANA_HXX diff --git a/src/SWIG_files/headers/IntCurveSurface_module.hxx b/src/SWIG_files/headers/IntCurveSurface_module.hxx new file mode 100644 index 000000000..a3abe82da --- /dev/null +++ b/src/SWIG_files/headers/IntCurveSurface_module.hxx @@ -0,0 +1,40 @@ +#ifndef INTCURVESURFACE_HXX +#define INTCURVESURFACE_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#endif // INTCURVESURFACE_HXX diff --git a/src/SWIG_files/headers/IntCurve_module.hxx b/src/SWIG_files/headers/IntCurve_module.hxx new file mode 100644 index 000000000..ddd4517c5 --- /dev/null +++ b/src/SWIG_files/headers/IntCurve_module.hxx @@ -0,0 +1,31 @@ +#ifndef INTCURVE_HXX +#define INTCURVE_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include +#include +#include +#include +#include + +#endif // INTCURVE_HXX diff --git a/src/SWIG_files/headers/IntCurvesFace_module.hxx b/src/SWIG_files/headers/IntCurvesFace_module.hxx new file mode 100644 index 000000000..814b5fedf --- /dev/null +++ b/src/SWIG_files/headers/IntCurvesFace_module.hxx @@ -0,0 +1,25 @@ +#ifndef INTCURVESFACE_HXX +#define INTCURVESFACE_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include + +#endif // INTCURVESFACE_HXX diff --git a/src/SWIG_files/headers/IntImpParGen_module.hxx b/src/SWIG_files/headers/IntImpParGen_module.hxx new file mode 100644 index 000000000..0f65f6fbd --- /dev/null +++ b/src/SWIG_files/headers/IntImpParGen_module.hxx @@ -0,0 +1,26 @@ +#ifndef INTIMPPARGEN_HXX +#define INTIMPPARGEN_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include + +#endif // INTIMPPARGEN_HXX diff --git a/src/SWIG_files/headers/IntImp_module.hxx b/src/SWIG_files/headers/IntImp_module.hxx new file mode 100644 index 000000000..4bb39869e --- /dev/null +++ b/src/SWIG_files/headers/IntImp_module.hxx @@ -0,0 +1,25 @@ +#ifndef INTIMP_HXX +#define INTIMP_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include + +#endif // INTIMP_HXX diff --git a/src/SWIG_files/headers/IntPatch_module.hxx b/src/SWIG_files/headers/IntPatch_module.hxx new file mode 100644 index 000000000..142786af4 --- /dev/null +++ b/src/SWIG_files/headers/IntPatch_module.hxx @@ -0,0 +1,66 @@ +#ifndef INTPATCH_HXX +#define INTPATCH_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#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 // INTPATCH_HXX diff --git a/src/SWIG_files/headers/IntPolyh_module.hxx b/src/SWIG_files/headers/IntPolyh_module.hxx new file mode 100644 index 000000000..b9f50d1c1 --- /dev/null +++ b/src/SWIG_files/headers/IntPolyh_module.hxx @@ -0,0 +1,43 @@ +#ifndef INTPOLYH_HXX +#define INTPOLYH_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#endif // INTPOLYH_HXX diff --git a/src/SWIG_files/headers/IntRes2d_module.hxx b/src/SWIG_files/headers/IntRes2d_module.hxx new file mode 100644 index 000000000..e030a8db2 --- /dev/null +++ b/src/SWIG_files/headers/IntRes2d_module.hxx @@ -0,0 +1,33 @@ +#ifndef INTRES2D_HXX +#define INTRES2D_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#endif // INTRES2D_HXX diff --git a/src/SWIG_files/headers/IntStart_module.hxx b/src/SWIG_files/headers/IntStart_module.hxx new file mode 100644 index 000000000..3becc867c --- /dev/null +++ b/src/SWIG_files/headers/IntStart_module.hxx @@ -0,0 +1,24 @@ +#ifndef INTSTART_HXX +#define INTSTART_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include + +#endif // INTSTART_HXX diff --git a/src/SWIG_files/headers/IntSurf_module.hxx b/src/SWIG_files/headers/IntSurf_module.hxx new file mode 100644 index 000000000..e6f01d56f --- /dev/null +++ b/src/SWIG_files/headers/IntSurf_module.hxx @@ -0,0 +1,43 @@ +#ifndef INTSURF_HXX +#define INTSURF_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#endif // INTSURF_HXX diff --git a/src/SWIG_files/headers/IntTools_module.hxx b/src/SWIG_files/headers/IntTools_module.hxx new file mode 100644 index 000000000..52d9494fc --- /dev/null +++ b/src/SWIG_files/headers/IntTools_module.hxx @@ -0,0 +1,71 @@ +#ifndef INTTOOLS_HXX +#define INTTOOLS_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#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 // INTTOOLS_HXX diff --git a/src/SWIG_files/headers/IntWalk_module.hxx b/src/SWIG_files/headers/IntWalk_module.hxx new file mode 100644 index 000000000..da83beb41 --- /dev/null +++ b/src/SWIG_files/headers/IntWalk_module.hxx @@ -0,0 +1,28 @@ +#ifndef INTWALK_HXX +#define INTWALK_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include +#include + +#endif // INTWALK_HXX diff --git a/src/SWIG_files/headers/InterfaceGraphic_module.hxx b/src/SWIG_files/headers/InterfaceGraphic_module.hxx new file mode 100644 index 000000000..8e2409ba1 --- /dev/null +++ b/src/SWIG_files/headers/InterfaceGraphic_module.hxx @@ -0,0 +1,24 @@ +#ifndef INTERFACEGRAPHIC_HXX +#define INTERFACEGRAPHIC_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include + +#endif // INTERFACEGRAPHIC_HXX diff --git a/src/SWIG_files/headers/Interface_module.hxx b/src/SWIG_files/headers/Interface_module.hxx new file mode 100644 index 000000000..016395503 --- /dev/null +++ b/src/SWIG_files/headers/Interface_module.hxx @@ -0,0 +1,89 @@ +#ifndef INTERFACE_HXX +#define INTERFACE_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#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 // INTERFACE_HXX diff --git a/src/SWIG_files/headers/Intf_module.hxx b/src/SWIG_files/headers/Intf_module.hxx new file mode 100644 index 000000000..67a474105 --- /dev/null +++ b/src/SWIG_files/headers/Intf_module.hxx @@ -0,0 +1,36 @@ +#ifndef INTF_HXX +#define INTF_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#endif // INTF_HXX diff --git a/src/SWIG_files/headers/Intrv_module.hxx b/src/SWIG_files/headers/Intrv_module.hxx new file mode 100644 index 000000000..92b795c0b --- /dev/null +++ b/src/SWIG_files/headers/Intrv_module.hxx @@ -0,0 +1,27 @@ +#ifndef INTRV_HXX +#define INTRV_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include + +#endif // INTRV_HXX diff --git a/src/SWIG_files/headers/LDOM_module.hxx b/src/SWIG_files/headers/LDOM_module.hxx new file mode 100644 index 000000000..ae965f230 --- /dev/null +++ b/src/SWIG_files/headers/LDOM_module.hxx @@ -0,0 +1,44 @@ +#ifndef LDOM_HXX +#define LDOM_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#endif // LDOM_HXX diff --git a/src/SWIG_files/headers/LProp3d_module.hxx b/src/SWIG_files/headers/LProp3d_module.hxx new file mode 100644 index 000000000..8b6d70cd4 --- /dev/null +++ b/src/SWIG_files/headers/LProp3d_module.hxx @@ -0,0 +1,27 @@ +#ifndef LPROP3D_HXX +#define LPROP3D_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include + +#endif // LPROP3D_HXX diff --git a/src/SWIG_files/headers/LProp_module.hxx b/src/SWIG_files/headers/LProp_module.hxx new file mode 100644 index 000000000..a1531d6c1 --- /dev/null +++ b/src/SWIG_files/headers/LProp_module.hxx @@ -0,0 +1,30 @@ +#ifndef LPROP_HXX +#define LPROP_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include +#include +#include +#include + +#endif // LPROP_HXX diff --git a/src/SWIG_files/headers/Law_module.hxx b/src/SWIG_files/headers/Law_module.hxx new file mode 100644 index 000000000..885b13b47 --- /dev/null +++ b/src/SWIG_files/headers/Law_module.hxx @@ -0,0 +1,36 @@ +#ifndef LAW_HXX +#define LAW_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#endif // LAW_HXX diff --git a/src/SWIG_files/headers/LocOpe_module.hxx b/src/SWIG_files/headers/LocOpe_module.hxx new file mode 100644 index 000000000..0a38455ab --- /dev/null +++ b/src/SWIG_files/headers/LocOpe_module.hxx @@ -0,0 +1,51 @@ +#ifndef LOCOPE_HXX +#define LOCOPE_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#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 // LOCOPE_HXX diff --git a/src/SWIG_files/headers/LocalAnalysis_module.hxx b/src/SWIG_files/headers/LocalAnalysis_module.hxx new file mode 100644 index 000000000..3979be119 --- /dev/null +++ b/src/SWIG_files/headers/LocalAnalysis_module.hxx @@ -0,0 +1,27 @@ +#ifndef LOCALANALYSIS_HXX +#define LOCALANALYSIS_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include + +#endif // LOCALANALYSIS_HXX diff --git a/src/SWIG_files/headers/MAT2d_module.hxx b/src/SWIG_files/headers/MAT2d_module.hxx new file mode 100644 index 000000000..0d1ce5e1b --- /dev/null +++ b/src/SWIG_files/headers/MAT2d_module.hxx @@ -0,0 +1,49 @@ +#ifndef MAT2D_HXX +#define MAT2D_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#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 // MAT2D_HXX diff --git a/src/SWIG_files/headers/MAT_module.hxx b/src/SWIG_files/headers/MAT_module.hxx new file mode 100644 index 000000000..6ef42f10e --- /dev/null +++ b/src/SWIG_files/headers/MAT_module.hxx @@ -0,0 +1,45 @@ +#ifndef MAT_HXX +#define MAT_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#endif // MAT_HXX diff --git a/src/SWIG_files/headers/MMgt_module.hxx b/src/SWIG_files/headers/MMgt_module.hxx new file mode 100644 index 000000000..b470c3348 --- /dev/null +++ b/src/SWIG_files/headers/MMgt_module.hxx @@ -0,0 +1,24 @@ +#ifndef MMGT_HXX +#define MMGT_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include + +#endif // MMGT_HXX diff --git a/src/SWIG_files/headers/MeshVS_module.hxx b/src/SWIG_files/headers/MeshVS_module.hxx new file mode 100644 index 000000000..ad5b494de --- /dev/null +++ b/src/SWIG_files/headers/MeshVS_module.hxx @@ -0,0 +1,85 @@ +#ifndef MESHVS_HXX +#define MESHVS_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#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 // MESHVS_HXX diff --git a/src/SWIG_files/headers/Message_module.hxx b/src/SWIG_files/headers/Message_module.hxx new file mode 100644 index 000000000..6aca1f943 --- /dev/null +++ b/src/SWIG_files/headers/Message_module.hxx @@ -0,0 +1,45 @@ +#ifndef MESSAGE_HXX +#define MESSAGE_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#endif // MESSAGE_HXX diff --git a/src/SWIG_files/headers/MoniTool_module.hxx b/src/SWIG_files/headers/MoniTool_module.hxx new file mode 100644 index 000000000..a5b5f2923 --- /dev/null +++ b/src/SWIG_files/headers/MoniTool_module.hxx @@ -0,0 +1,49 @@ +#ifndef MONITOOL_HXX +#define MONITOOL_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#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 // MONITOOL_HXX diff --git a/src/SWIG_files/headers/NCollection_module.hxx b/src/SWIG_files/headers/NCollection_module.hxx new file mode 100644 index 000000000..777c9d24c --- /dev/null +++ b/src/SWIG_files/headers/NCollection_module.hxx @@ -0,0 +1,85 @@ +#ifndef NCOLLECTION_HXX +#define NCOLLECTION_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#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 // NCOLLECTION_HXX diff --git a/src/SWIG_files/headers/NETGENPlugin_module.hxx b/src/SWIG_files/headers/NETGENPlugin_module.hxx new file mode 100644 index 000000000..f2e9c9800 --- /dev/null +++ b/src/SWIG_files/headers/NETGENPlugin_module.hxx @@ -0,0 +1,23 @@ +#ifndef NETGENPLUGIN_HXX +#define NETGENPLUGIN_HXX + +/* +Copyright 2008-2019 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 . +*/ + + +#endif // NETGENPLUGIN_HXX diff --git a/src/SWIG_files/headers/NLPlate_module.hxx b/src/SWIG_files/headers/NLPlate_module.hxx new file mode 100644 index 000000000..6c8c8baa7 --- /dev/null +++ b/src/SWIG_files/headers/NLPlate_module.hxx @@ -0,0 +1,35 @@ +#ifndef NLPLATE_HXX +#define NLPLATE_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#endif // NLPLATE_HXX diff --git a/src/SWIG_files/headers/OSD_module.hxx b/src/SWIG_files/headers/OSD_module.hxx new file mode 100644 index 000000000..8fc74f56c --- /dev/null +++ b/src/SWIG_files/headers/OSD_module.hxx @@ -0,0 +1,90 @@ +#ifndef OSD_HXX +#define OSD_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#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 // OSD_HXX diff --git a/src/SWIG_files/headers/PCDM_module.hxx b/src/SWIG_files/headers/PCDM_module.hxx new file mode 100644 index 000000000..330e53425 --- /dev/null +++ b/src/SWIG_files/headers/PCDM_module.hxx @@ -0,0 +1,41 @@ +#ifndef PCDM_HXX +#define PCDM_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#endif // PCDM_HXX diff --git a/src/SWIG_files/headers/PLib_module.hxx b/src/SWIG_files/headers/PLib_module.hxx new file mode 100644 index 000000000..7f59ce542 --- /dev/null +++ b/src/SWIG_files/headers/PLib_module.hxx @@ -0,0 +1,28 @@ +#ifndef PLIB_HXX +#define PLIB_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include +#include + +#endif // PLIB_HXX diff --git a/src/SWIG_files/headers/Plate_module.hxx b/src/SWIG_files/headers/Plate_module.hxx new file mode 100644 index 000000000..60549a021 --- /dev/null +++ b/src/SWIG_files/headers/Plate_module.hxx @@ -0,0 +1,41 @@ +#ifndef PLATE_HXX +#define PLATE_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#endif // PLATE_HXX diff --git a/src/SWIG_files/headers/Plugin_module.hxx b/src/SWIG_files/headers/Plugin_module.hxx new file mode 100644 index 000000000..49b76efa9 --- /dev/null +++ b/src/SWIG_files/headers/Plugin_module.hxx @@ -0,0 +1,28 @@ +#ifndef PLUGIN_HXX +#define PLUGIN_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include +#include + +#endif // PLUGIN_HXX diff --git a/src/SWIG_files/headers/Poly_module.hxx b/src/SWIG_files/headers/Poly_module.hxx new file mode 100644 index 000000000..3fd4c072d --- /dev/null +++ b/src/SWIG_files/headers/Poly_module.hxx @@ -0,0 +1,39 @@ +#ifndef POLY_HXX +#define POLY_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include +#include +#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 new file mode 100644 index 000000000..dd692307a --- /dev/null +++ b/src/SWIG_files/headers/Precision_module.hxx @@ -0,0 +1,24 @@ +#ifndef PRECISION_HXX +#define PRECISION_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include + +#endif // PRECISION_HXX diff --git a/src/SWIG_files/headers/ProjLib_module.hxx b/src/SWIG_files/headers/ProjLib_module.hxx new file mode 100644 index 000000000..8e9f4f043 --- /dev/null +++ b/src/SWIG_files/headers/ProjLib_module.hxx @@ -0,0 +1,42 @@ +#ifndef PROJLIB_HXX +#define PROJLIB_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#endif // PROJLIB_HXX diff --git a/src/SWIG_files/headers/Prs3d_module.hxx b/src/SWIG_files/headers/Prs3d_module.hxx new file mode 100644 index 000000000..44d16047f --- /dev/null +++ b/src/SWIG_files/headers/Prs3d_module.hxx @@ -0,0 +1,63 @@ +#ifndef PRS3D_HXX +#define PRS3D_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#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 // PRS3D_HXX diff --git a/src/SWIG_files/headers/PrsMgr_module.hxx b/src/SWIG_files/headers/PrsMgr_module.hxx new file mode 100644 index 000000000..8aa173a24 --- /dev/null +++ b/src/SWIG_files/headers/PrsMgr_module.hxx @@ -0,0 +1,32 @@ +#ifndef PRSMGR_HXX +#define PRSMGR_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#endif // PRSMGR_HXX diff --git a/src/SWIG_files/headers/Quantity_module.hxx b/src/SWIG_files/headers/Quantity_module.hxx new file mode 100644 index 000000000..51135fffe --- /dev/null +++ b/src/SWIG_files/headers/Quantity_module.hxx @@ -0,0 +1,117 @@ +#ifndef QUANTITY_HXX +#define QUANTITY_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#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 +#include + +#endif // QUANTITY_HXX diff --git a/src/SWIG_files/headers/RWGltf_module.hxx b/src/SWIG_files/headers/RWGltf_module.hxx new file mode 100644 index 000000000..f959faa41 --- /dev/null +++ b/src/SWIG_files/headers/RWGltf_module.hxx @@ -0,0 +1,39 @@ +#ifndef RWGLTF_HXX +#define RWGLTF_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#endif // RWGLTF_HXX diff --git a/src/SWIG_files/headers/RWObj_module.hxx b/src/SWIG_files/headers/RWObj_module.hxx new file mode 100644 index 000000000..24441fd12 --- /dev/null +++ b/src/SWIG_files/headers/RWObj_module.hxx @@ -0,0 +1,32 @@ +#ifndef RWOBJ_HXX +#define RWOBJ_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#endif // RWOBJ_HXX diff --git a/src/SWIG_files/headers/RWStepAP203_module.hxx b/src/SWIG_files/headers/RWStepAP203_module.hxx new file mode 100644 index 000000000..8dff3f3ba --- /dev/null +++ b/src/SWIG_files/headers/RWStepAP203_module.hxx @@ -0,0 +1,34 @@ +#ifndef RWSTEPAP203_HXX +#define RWSTEPAP203_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#endif // RWSTEPAP203_HXX diff --git a/src/SWIG_files/headers/RWStepAP214_module.hxx b/src/SWIG_files/headers/RWStepAP214_module.hxx new file mode 100644 index 000000000..ac2befe3f --- /dev/null +++ b/src/SWIG_files/headers/RWStepAP214_module.hxx @@ -0,0 +1,52 @@ +#ifndef RWSTEPAP214_HXX +#define RWSTEPAP214_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#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 // RWSTEPAP214_HXX diff --git a/src/SWIG_files/headers/RWStepAP242_module.hxx b/src/SWIG_files/headers/RWStepAP242_module.hxx new file mode 100644 index 000000000..8d17c8345 --- /dev/null +++ b/src/SWIG_files/headers/RWStepAP242_module.hxx @@ -0,0 +1,27 @@ +#ifndef RWSTEPAP242_HXX +#define RWSTEPAP242_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include + +#endif // RWSTEPAP242_HXX diff --git a/src/SWIG_files/headers/RWStepBasic_module.hxx b/src/SWIG_files/headers/RWStepBasic_module.hxx new file mode 100644 index 000000000..427f7921d --- /dev/null +++ b/src/SWIG_files/headers/RWStepBasic_module.hxx @@ -0,0 +1,140 @@ +#ifndef RWSTEPBASIC_HXX +#define RWSTEPBASIC_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#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 +#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 // RWSTEPBASIC_HXX diff --git a/src/SWIG_files/headers/RWStepDimTol_module.hxx b/src/SWIG_files/headers/RWStepDimTol_module.hxx new file mode 100644 index 000000000..06961525c --- /dev/null +++ b/src/SWIG_files/headers/RWStepDimTol_module.hxx @@ -0,0 +1,72 @@ +#ifndef RWSTEPDIMTOL_HXX +#define RWSTEPDIMTOL_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#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 // RWSTEPDIMTOL_HXX diff --git a/src/SWIG_files/headers/RWStepElement_module.hxx b/src/SWIG_files/headers/RWStepElement_module.hxx new file mode 100644 index 000000000..dae6292e2 --- /dev/null +++ b/src/SWIG_files/headers/RWStepElement_module.hxx @@ -0,0 +1,38 @@ +#ifndef RWSTEPELEMENT_HXX +#define RWSTEPELEMENT_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#endif // RWSTEPELEMENT_HXX diff --git a/src/SWIG_files/headers/RWStepFEA_module.hxx b/src/SWIG_files/headers/RWStepFEA_module.hxx new file mode 100644 index 000000000..9ac8bc146 --- /dev/null +++ b/src/SWIG_files/headers/RWStepFEA_module.hxx @@ -0,0 +1,75 @@ +#ifndef RWSTEPFEA_HXX +#define RWSTEPFEA_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#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 // RWSTEPFEA_HXX diff --git a/src/SWIG_files/headers/RWStepGeom_module.hxx b/src/SWIG_files/headers/RWStepGeom_module.hxx new file mode 100644 index 000000000..d4e0283cb --- /dev/null +++ b/src/SWIG_files/headers/RWStepGeom_module.hxx @@ -0,0 +1,105 @@ +#ifndef RWSTEPGEOM_HXX +#define RWSTEPGEOM_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#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 // RWSTEPGEOM_HXX diff --git a/src/SWIG_files/headers/RWStepRepr_module.hxx b/src/SWIG_files/headers/RWStepRepr_module.hxx new file mode 100644 index 000000000..8752efc5b --- /dev/null +++ b/src/SWIG_files/headers/RWStepRepr_module.hxx @@ -0,0 +1,88 @@ +#ifndef RWSTEPREPR_HXX +#define RWSTEPREPR_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#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 // RWSTEPREPR_HXX diff --git a/src/SWIG_files/headers/RWStepShape_module.hxx b/src/SWIG_files/headers/RWStepShape_module.hxx new file mode 100644 index 000000000..48d72188e --- /dev/null +++ b/src/SWIG_files/headers/RWStepShape_module.hxx @@ -0,0 +1,114 @@ +#ifndef RWSTEPSHAPE_HXX +#define RWSTEPSHAPE_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#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 // RWSTEPSHAPE_HXX diff --git a/src/SWIG_files/headers/RWStepVisual_module.hxx b/src/SWIG_files/headers/RWStepVisual_module.hxx new file mode 100644 index 000000000..49d2b4755 --- /dev/null +++ b/src/SWIG_files/headers/RWStepVisual_module.hxx @@ -0,0 +1,98 @@ +#ifndef RWSTEPVISUAL_HXX +#define RWSTEPVISUAL_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#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 // RWSTEPVISUAL_HXX diff --git a/src/SWIG_files/headers/RWStl_module.hxx b/src/SWIG_files/headers/RWStl_module.hxx new file mode 100644 index 000000000..18dc4797a --- /dev/null +++ b/src/SWIG_files/headers/RWStl_module.hxx @@ -0,0 +1,25 @@ +#ifndef RWSTL_HXX +#define RWSTL_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include + +#endif // RWSTL_HXX diff --git a/src/SWIG_files/headers/Resource_module.hxx b/src/SWIG_files/headers/Resource_module.hxx new file mode 100644 index 000000000..d18770032 --- /dev/null +++ b/src/SWIG_files/headers/Resource_module.hxx @@ -0,0 +1,33 @@ +#ifndef RESOURCE_HXX +#define RESOURCE_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#endif // RESOURCE_HXX diff --git a/src/SWIG_files/headers/SMDSAbs_module.hxx b/src/SWIG_files/headers/SMDSAbs_module.hxx new file mode 100644 index 000000000..61f36aa25 --- /dev/null +++ b/src/SWIG_files/headers/SMDSAbs_module.hxx @@ -0,0 +1,23 @@ +#ifndef SMDSABS_HXX +#define SMDSABS_HXX + +/* +Copyright 2008-2019 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 . +*/ + + +#endif // SMDSABS_HXX diff --git a/src/SWIG_files/headers/SMDS_module.hxx b/src/SWIG_files/headers/SMDS_module.hxx new file mode 100644 index 000000000..82d99d51d --- /dev/null +++ b/src/SWIG_files/headers/SMDS_module.hxx @@ -0,0 +1,23 @@ +#ifndef SMDS_HXX +#define SMDS_HXX + +/* +Copyright 2008-2019 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 . +*/ + + +#endif // SMDS_HXX diff --git a/src/SWIG_files/headers/SMESHDS_module.hxx b/src/SWIG_files/headers/SMESHDS_module.hxx new file mode 100644 index 000000000..83296a9e8 --- /dev/null +++ b/src/SWIG_files/headers/SMESHDS_module.hxx @@ -0,0 +1,23 @@ +#ifndef SMESHDS_HXX +#define SMESHDS_HXX + +/* +Copyright 2008-2019 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 . +*/ + + +#endif // SMESHDS_HXX diff --git a/src/SWIG_files/headers/SMESH_module.hxx b/src/SWIG_files/headers/SMESH_module.hxx new file mode 100644 index 000000000..5418ea145 --- /dev/null +++ b/src/SWIG_files/headers/SMESH_module.hxx @@ -0,0 +1,23 @@ +#ifndef SMESH_HXX +#define SMESH_HXX + +/* +Copyright 2008-2019 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 . +*/ + + +#endif // SMESH_HXX diff --git a/src/SWIG_files/headers/STEPCAFControl_module.hxx b/src/SWIG_files/headers/STEPCAFControl_module.hxx new file mode 100644 index 000000000..b4f277643 --- /dev/null +++ b/src/SWIG_files/headers/STEPCAFControl_module.hxx @@ -0,0 +1,41 @@ +#ifndef STEPCAFCONTROL_HXX +#define STEPCAFCONTROL_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#endif // STEPCAFCONTROL_HXX diff --git a/src/SWIG_files/headers/STEPConstruct_module.hxx b/src/SWIG_files/headers/STEPConstruct_module.hxx new file mode 100644 index 000000000..305e176fe --- /dev/null +++ b/src/SWIG_files/headers/STEPConstruct_module.hxx @@ -0,0 +1,38 @@ +#ifndef STEPCONSTRUCT_HXX +#define STEPCONSTRUCT_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#endif // STEPCONSTRUCT_HXX diff --git a/src/SWIG_files/headers/STEPControl_module.hxx b/src/SWIG_files/headers/STEPControl_module.hxx new file mode 100644 index 000000000..87fe3663d --- /dev/null +++ b/src/SWIG_files/headers/STEPControl_module.hxx @@ -0,0 +1,29 @@ +#ifndef STEPCONTROL_HXX +#define STEPCONTROL_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include +#include +#include + +#endif // STEPCONTROL_HXX diff --git a/src/SWIG_files/headers/STEPEdit_module.hxx b/src/SWIG_files/headers/STEPEdit_module.hxx new file mode 100644 index 000000000..b7ad9cbaf --- /dev/null +++ b/src/SWIG_files/headers/STEPEdit_module.hxx @@ -0,0 +1,26 @@ +#ifndef STEPEDIT_HXX +#define STEPEDIT_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include + +#endif // STEPEDIT_HXX diff --git a/src/SWIG_files/headers/STEPSelections_module.hxx b/src/SWIG_files/headers/STEPSelections_module.hxx new file mode 100644 index 000000000..c5d4d525e --- /dev/null +++ b/src/SWIG_files/headers/STEPSelections_module.hxx @@ -0,0 +1,36 @@ +#ifndef STEPSELECTIONS_HXX +#define STEPSELECTIONS_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#endif // STEPSELECTIONS_HXX diff --git a/src/SWIG_files/headers/Select3D_module.hxx b/src/SWIG_files/headers/Select3D_module.hxx new file mode 100644 index 000000000..dad85a75d --- /dev/null +++ b/src/SWIG_files/headers/Select3D_module.hxx @@ -0,0 +1,46 @@ +#ifndef SELECT3D_HXX +#define SELECT3D_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#endif // SELECT3D_HXX diff --git a/src/SWIG_files/headers/SelectBasics_module.hxx b/src/SWIG_files/headers/SelectBasics_module.hxx new file mode 100644 index 000000000..dd145b475 --- /dev/null +++ b/src/SWIG_files/headers/SelectBasics_module.hxx @@ -0,0 +1,28 @@ +#ifndef SELECTBASICS_HXX +#define SELECTBASICS_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include +#include + +#endif // SELECTBASICS_HXX diff --git a/src/SWIG_files/headers/SelectMgr_module.hxx b/src/SWIG_files/headers/SelectMgr_module.hxx new file mode 100644 index 000000000..b2d33286e --- /dev/null +++ b/src/SWIG_files/headers/SelectMgr_module.hxx @@ -0,0 +1,58 @@ +#ifndef SELECTMGR_HXX +#define SELECTMGR_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#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 // SELECTMGR_HXX diff --git a/src/SWIG_files/headers/ShapeAlgo_module.hxx b/src/SWIG_files/headers/ShapeAlgo_module.hxx new file mode 100644 index 000000000..36293d341 --- /dev/null +++ b/src/SWIG_files/headers/ShapeAlgo_module.hxx @@ -0,0 +1,26 @@ +#ifndef SHAPEALGO_HXX +#define SHAPEALGO_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include + +#endif // SHAPEALGO_HXX diff --git a/src/SWIG_files/headers/ShapeAnalysis_module.hxx b/src/SWIG_files/headers/ShapeAnalysis_module.hxx new file mode 100644 index 000000000..1844770a4 --- /dev/null +++ b/src/SWIG_files/headers/ShapeAnalysis_module.hxx @@ -0,0 +1,45 @@ +#ifndef SHAPEANALYSIS_HXX +#define SHAPEANALYSIS_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#endif // SHAPEANALYSIS_HXX diff --git a/src/SWIG_files/headers/ShapeBuild_module.hxx b/src/SWIG_files/headers/ShapeBuild_module.hxx new file mode 100644 index 000000000..ebcd0f93a --- /dev/null +++ b/src/SWIG_files/headers/ShapeBuild_module.hxx @@ -0,0 +1,27 @@ +#ifndef SHAPEBUILD_HXX +#define SHAPEBUILD_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include + +#endif // SHAPEBUILD_HXX diff --git a/src/SWIG_files/headers/ShapeConstruct_module.hxx b/src/SWIG_files/headers/ShapeConstruct_module.hxx new file mode 100644 index 000000000..0cd1a66fa --- /dev/null +++ b/src/SWIG_files/headers/ShapeConstruct_module.hxx @@ -0,0 +1,27 @@ +#ifndef SHAPECONSTRUCT_HXX +#define SHAPECONSTRUCT_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include + +#endif // SHAPECONSTRUCT_HXX diff --git a/src/SWIG_files/headers/ShapeCustom_module.hxx b/src/SWIG_files/headers/ShapeCustom_module.hxx new file mode 100644 index 000000000..5691df66e --- /dev/null +++ b/src/SWIG_files/headers/ShapeCustom_module.hxx @@ -0,0 +1,35 @@ +#ifndef SHAPECUSTOM_HXX +#define SHAPECUSTOM_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#endif // SHAPECUSTOM_HXX diff --git a/src/SWIG_files/headers/ShapeExtend_module.hxx b/src/SWIG_files/headers/ShapeExtend_module.hxx new file mode 100644 index 000000000..cd41eacf1 --- /dev/null +++ b/src/SWIG_files/headers/ShapeExtend_module.hxx @@ -0,0 +1,36 @@ +#ifndef SHAPEEXTEND_HXX +#define SHAPEEXTEND_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#endif // SHAPEEXTEND_HXX diff --git a/src/SWIG_files/headers/ShapeFix_module.hxx b/src/SWIG_files/headers/ShapeFix_module.hxx new file mode 100644 index 000000000..7d91bfb02 --- /dev/null +++ b/src/SWIG_files/headers/ShapeFix_module.hxx @@ -0,0 +1,48 @@ +#ifndef SHAPEFIX_HXX +#define SHAPEFIX_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#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 // SHAPEFIX_HXX diff --git a/src/SWIG_files/headers/ShapeProcessAPI_module.hxx b/src/SWIG_files/headers/ShapeProcessAPI_module.hxx new file mode 100644 index 000000000..66230707f --- /dev/null +++ b/src/SWIG_files/headers/ShapeProcessAPI_module.hxx @@ -0,0 +1,24 @@ +#ifndef SHAPEPROCESSAPI_HXX +#define SHAPEPROCESSAPI_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include + +#endif // SHAPEPROCESSAPI_HXX diff --git a/src/SWIG_files/headers/ShapeProcess_module.hxx b/src/SWIG_files/headers/ShapeProcess_module.hxx new file mode 100644 index 000000000..45bd436cf --- /dev/null +++ b/src/SWIG_files/headers/ShapeProcess_module.hxx @@ -0,0 +1,30 @@ +#ifndef SHAPEPROCESS_HXX +#define SHAPEPROCESS_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include +#include +#include +#include + +#endif // SHAPEPROCESS_HXX diff --git a/src/SWIG_files/headers/ShapeUpgrade_module.hxx b/src/SWIG_files/headers/ShapeUpgrade_module.hxx new file mode 100644 index 000000000..a67f0e2bd --- /dev/null +++ b/src/SWIG_files/headers/ShapeUpgrade_module.hxx @@ -0,0 +1,55 @@ +#ifndef SHAPEUPGRADE_HXX +#define SHAPEUPGRADE_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#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 // SHAPEUPGRADE_HXX diff --git a/src/SWIG_files/headers/Standard_module.hxx b/src/SWIG_files/headers/Standard_module.hxx new file mode 100644 index 000000000..9a7f694fc --- /dev/null +++ b/src/SWIG_files/headers/Standard_module.hxx @@ -0,0 +1,104 @@ +#ifndef STANDARD_HXX +#define STANDARD_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#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 // STANDARD_HXX diff --git a/src/SWIG_files/headers/StdFail_module.hxx b/src/SWIG_files/headers/StdFail_module.hxx new file mode 100644 index 000000000..cf82e7277 --- /dev/null +++ b/src/SWIG_files/headers/StdFail_module.hxx @@ -0,0 +1,28 @@ +#ifndef STDFAIL_HXX +#define STDFAIL_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include +#include + +#endif // STDFAIL_HXX diff --git a/src/SWIG_files/headers/StdMeshers_module.hxx b/src/SWIG_files/headers/StdMeshers_module.hxx new file mode 100644 index 000000000..e1d6fbd35 --- /dev/null +++ b/src/SWIG_files/headers/StdMeshers_module.hxx @@ -0,0 +1,23 @@ +#ifndef STDMESHERS_HXX +#define STDMESHERS_HXX + +/* +Copyright 2008-2019 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 . +*/ + + +#endif // STDMESHERS_HXX diff --git a/src/SWIG_files/headers/StdPrs_module.hxx b/src/SWIG_files/headers/StdPrs_module.hxx new file mode 100644 index 000000000..63f2a494c --- /dev/null +++ b/src/SWIG_files/headers/StdPrs_module.hxx @@ -0,0 +1,47 @@ +#ifndef STDPRS_HXX +#define STDPRS_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#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 // STDPRS_HXX diff --git a/src/SWIG_files/headers/StdSelect_module.hxx b/src/SWIG_files/headers/StdSelect_module.hxx new file mode 100644 index 000000000..2358e9bb7 --- /dev/null +++ b/src/SWIG_files/headers/StdSelect_module.hxx @@ -0,0 +1,39 @@ +#ifndef STDSELECT_HXX +#define STDSELECT_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#endif // STDSELECT_HXX diff --git a/src/SWIG_files/headers/StepAP203_module.hxx b/src/SWIG_files/headers/StepAP203_module.hxx new file mode 100644 index 000000000..f42592779 --- /dev/null +++ b/src/SWIG_files/headers/StepAP203_module.hxx @@ -0,0 +1,64 @@ +#ifndef STEPAP203_HXX +#define STEPAP203_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#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 // STEPAP203_HXX diff --git a/src/SWIG_files/headers/StepAP209_module.hxx b/src/SWIG_files/headers/StepAP209_module.hxx new file mode 100644 index 000000000..b933d8fa3 --- /dev/null +++ b/src/SWIG_files/headers/StepAP209_module.hxx @@ -0,0 +1,24 @@ +#ifndef STEPAP209_HXX +#define STEPAP209_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include + +#endif // STEPAP209_HXX diff --git a/src/SWIG_files/headers/StepAP214_module.hxx b/src/SWIG_files/headers/StepAP214_module.hxx new file mode 100644 index 000000000..506bc00aa --- /dev/null +++ b/src/SWIG_files/headers/StepAP214_module.hxx @@ -0,0 +1,103 @@ +#ifndef STEPAP214_HXX +#define STEPAP214_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#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 // STEPAP214_HXX diff --git a/src/SWIG_files/headers/StepAP242_module.hxx b/src/SWIG_files/headers/StepAP242_module.hxx new file mode 100644 index 000000000..826e518a6 --- /dev/null +++ b/src/SWIG_files/headers/StepAP242_module.hxx @@ -0,0 +1,29 @@ +#ifndef STEPAP242_HXX +#define STEPAP242_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include +#include +#include + +#endif // STEPAP242_HXX diff --git a/src/SWIG_files/headers/StepBasic_module.hxx b/src/SWIG_files/headers/StepBasic_module.hxx new file mode 100644 index 000000000..13f86cc1f --- /dev/null +++ b/src/SWIG_files/headers/StepBasic_module.hxx @@ -0,0 +1,189 @@ +#ifndef STEPBASIC_HXX +#define STEPBASIC_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#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 +#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 // STEPBASIC_HXX diff --git a/src/SWIG_files/headers/StepData_module.hxx b/src/SWIG_files/headers/StepData_module.hxx new file mode 100644 index 000000000..88e37ecdc --- /dev/null +++ b/src/SWIG_files/headers/StepData_module.hxx @@ -0,0 +1,62 @@ +#ifndef STEPDATA_HXX +#define STEPDATA_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#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 // STEPDATA_HXX diff --git a/src/SWIG_files/headers/StepDimTol_module.hxx b/src/SWIG_files/headers/StepDimTol_module.hxx new file mode 100644 index 000000000..cc9df99fa --- /dev/null +++ b/src/SWIG_files/headers/StepDimTol_module.hxx @@ -0,0 +1,99 @@ +#ifndef STEPDIMTOL_HXX +#define STEPDIMTOL_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#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 // STEPDIMTOL_HXX diff --git a/src/SWIG_files/headers/StepElement_module.hxx b/src/SWIG_files/headers/StepElement_module.hxx new file mode 100644 index 000000000..583335602 --- /dev/null +++ b/src/SWIG_files/headers/StepElement_module.hxx @@ -0,0 +1,90 @@ +#ifndef STEPELEMENT_HXX +#define STEPELEMENT_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#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 // STEPELEMENT_HXX diff --git a/src/SWIG_files/headers/StepFEA_module.hxx b/src/SWIG_files/headers/StepFEA_module.hxx new file mode 100644 index 000000000..48ba49209 --- /dev/null +++ b/src/SWIG_files/headers/StepFEA_module.hxx @@ -0,0 +1,110 @@ +#ifndef STEPFEA_HXX +#define STEPFEA_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#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 // STEPFEA_HXX diff --git a/src/SWIG_files/headers/StepGeom_module.hxx b/src/SWIG_files/headers/StepGeom_module.hxx new file mode 100644 index 000000000..cc4f93765 --- /dev/null +++ b/src/SWIG_files/headers/StepGeom_module.hxx @@ -0,0 +1,137 @@ +#ifndef STEPGEOM_HXX +#define STEPGEOM_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#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 +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#endif // STEPGEOM_HXX diff --git a/src/SWIG_files/headers/StepRepr_module.hxx b/src/SWIG_files/headers/StepRepr_module.hxx new file mode 100644 index 000000000..5fff4c769 --- /dev/null +++ b/src/SWIG_files/headers/StepRepr_module.hxx @@ -0,0 +1,114 @@ +#ifndef STEPREPR_HXX +#define STEPREPR_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#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 // STEPREPR_HXX diff --git a/src/SWIG_files/headers/StepShape_module.hxx b/src/SWIG_files/headers/StepShape_module.hxx new file mode 100644 index 000000000..af86dde22 --- /dev/null +++ b/src/SWIG_files/headers/StepShape_module.hxx @@ -0,0 +1,150 @@ +#ifndef STEPSHAPE_HXX +#define STEPSHAPE_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#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 +#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 // STEPSHAPE_HXX diff --git a/src/SWIG_files/headers/StepToGeom_module.hxx b/src/SWIG_files/headers/StepToGeom_module.hxx new file mode 100644 index 000000000..663989dff --- /dev/null +++ b/src/SWIG_files/headers/StepToGeom_module.hxx @@ -0,0 +1,24 @@ +#ifndef STEPTOGEOM_HXX +#define STEPTOGEOM_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include + +#endif // STEPTOGEOM_HXX diff --git a/src/SWIG_files/headers/StepToTopoDS_module.hxx b/src/SWIG_files/headers/StepToTopoDS_module.hxx new file mode 100644 index 000000000..793aeb8c1 --- /dev/null +++ b/src/SWIG_files/headers/StepToTopoDS_module.hxx @@ -0,0 +1,60 @@ +#ifndef STEPTOTOPODS_HXX +#define STEPTOTOPODS_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#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 // STEPTOTOPODS_HXX diff --git a/src/SWIG_files/headers/StepVisual_module.hxx b/src/SWIG_files/headers/StepVisual_module.hxx new file mode 100644 index 000000000..c686bc2bf --- /dev/null +++ b/src/SWIG_files/headers/StepVisual_module.hxx @@ -0,0 +1,164 @@ +#ifndef STEPVISUAL_HXX +#define STEPVISUAL_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#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 +#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 // STEPVISUAL_HXX diff --git a/src/SWIG_files/headers/StlAPI_module.hxx b/src/SWIG_files/headers/StlAPI_module.hxx new file mode 100644 index 000000000..f1dffbf6d --- /dev/null +++ b/src/SWIG_files/headers/StlAPI_module.hxx @@ -0,0 +1,26 @@ +#ifndef STLAPI_HXX +#define STLAPI_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include + +#endif // STLAPI_HXX diff --git a/src/SWIG_files/headers/Storage_module.hxx b/src/SWIG_files/headers/Storage_module.hxx new file mode 100644 index 000000000..2628e33ce --- /dev/null +++ b/src/SWIG_files/headers/Storage_module.hxx @@ -0,0 +1,60 @@ +#ifndef STORAGE_HXX +#define STORAGE_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#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 // STORAGE_HXX diff --git a/src/SWIG_files/headers/Sweep_module.hxx b/src/SWIG_files/headers/Sweep_module.hxx new file mode 100644 index 000000000..01e1c5f8c --- /dev/null +++ b/src/SWIG_files/headers/Sweep_module.hxx @@ -0,0 +1,26 @@ +#ifndef SWEEP_HXX +#define SWEEP_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include + +#endif // SWEEP_HXX diff --git a/src/SWIG_files/headers/TColGeom2d_module.hxx b/src/SWIG_files/headers/TColGeom2d_module.hxx new file mode 100644 index 000000000..a694f6caa --- /dev/null +++ b/src/SWIG_files/headers/TColGeom2d_module.hxx @@ -0,0 +1,34 @@ +#ifndef TCOLGEOM2D_HXX +#define TCOLGEOM2D_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#endif // TCOLGEOM2D_HXX diff --git a/src/SWIG_files/headers/TColGeom_module.hxx b/src/SWIG_files/headers/TColGeom_module.hxx new file mode 100644 index 000000000..e268c8511 --- /dev/null +++ b/src/SWIG_files/headers/TColGeom_module.hxx @@ -0,0 +1,39 @@ +#ifndef TCOLGEOM_HXX +#define TCOLGEOM_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#endif // TCOLGEOM_HXX diff --git a/src/SWIG_files/headers/TColQuantity_module.hxx b/src/SWIG_files/headers/TColQuantity_module.hxx new file mode 100644 index 000000000..2ceb9b24a --- /dev/null +++ b/src/SWIG_files/headers/TColQuantity_module.hxx @@ -0,0 +1,27 @@ +#ifndef TCOLQUANTITY_HXX +#define TCOLQUANTITY_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include + +#endif // TCOLQUANTITY_HXX diff --git a/src/SWIG_files/headers/TColStd_module.hxx b/src/SWIG_files/headers/TColStd_module.hxx new file mode 100644 index 000000000..1c344c2fc --- /dev/null +++ b/src/SWIG_files/headers/TColStd_module.hxx @@ -0,0 +1,108 @@ +#ifndef TCOLSTD_HXX +#define TCOLSTD_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#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 // TCOLSTD_HXX diff --git a/src/SWIG_files/headers/TColgp_module.hxx b/src/SWIG_files/headers/TColgp_module.hxx new file mode 100644 index 000000000..eb487b3af --- /dev/null +++ b/src/SWIG_files/headers/TColgp_module.hxx @@ -0,0 +1,81 @@ +#ifndef TCOLGP_HXX +#define TCOLGP_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#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 // TCOLGP_HXX diff --git a/src/SWIG_files/headers/TCollection_module.hxx b/src/SWIG_files/headers/TCollection_module.hxx new file mode 100644 index 000000000..e50254bb8 --- /dev/null +++ b/src/SWIG_files/headers/TCollection_module.hxx @@ -0,0 +1,36 @@ +#ifndef TCOLLECTION_HXX +#define TCOLLECTION_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#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 new file mode 100644 index 000000000..580961a37 --- /dev/null +++ b/src/SWIG_files/headers/TDF_module.hxx @@ -0,0 +1,89 @@ +#ifndef TDF_HXX +#define TDF_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#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 // TDF_HXX diff --git a/src/SWIG_files/headers/TDataStd_module.hxx b/src/SWIG_files/headers/TDataStd_module.hxx new file mode 100644 index 000000000..7044a3b1e --- /dev/null +++ b/src/SWIG_files/headers/TDataStd_module.hxx @@ -0,0 +1,81 @@ +#ifndef TDATASTD_HXX +#define TDATASTD_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#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 // TDATASTD_HXX diff --git a/src/SWIG_files/headers/TDataXtd_module.hxx b/src/SWIG_files/headers/TDataXtd_module.hxx new file mode 100644 index 000000000..a9f55a57f --- /dev/null +++ b/src/SWIG_files/headers/TDataXtd_module.hxx @@ -0,0 +1,40 @@ +#ifndef TDATAXTD_HXX +#define TDATAXTD_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#endif // TDATAXTD_HXX diff --git a/src/SWIG_files/headers/TDocStd_module.hxx b/src/SWIG_files/headers/TDocStd_module.hxx new file mode 100644 index 000000000..7990fe5a1 --- /dev/null +++ b/src/SWIG_files/headers/TDocStd_module.hxx @@ -0,0 +1,42 @@ +#ifndef TDOCSTD_HXX +#define TDOCSTD_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#endif // TDOCSTD_HXX diff --git a/src/SWIG_files/headers/TFunction_module.hxx b/src/SWIG_files/headers/TFunction_module.hxx new file mode 100644 index 000000000..09206e38f --- /dev/null +++ b/src/SWIG_files/headers/TFunction_module.hxx @@ -0,0 +1,40 @@ +#ifndef TFUNCTION_HXX +#define TFUNCTION_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#endif // TFUNCTION_HXX diff --git a/src/SWIG_files/headers/TNaming_module.hxx b/src/SWIG_files/headers/TNaming_module.hxx new file mode 100644 index 000000000..06518437d --- /dev/null +++ b/src/SWIG_files/headers/TNaming_module.hxx @@ -0,0 +1,66 @@ +#ifndef TNAMING_HXX +#define TNAMING_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#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 // TNAMING_HXX diff --git a/src/SWIG_files/headers/TObj_module.hxx b/src/SWIG_files/headers/TObj_module.hxx new file mode 100644 index 000000000..de468949d --- /dev/null +++ b/src/SWIG_files/headers/TObj_module.hxx @@ -0,0 +1,48 @@ +#ifndef TOBJ_HXX +#define TOBJ_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#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 // TOBJ_HXX diff --git a/src/SWIG_files/headers/TPrsStd_module.hxx b/src/SWIG_files/headers/TPrsStd_module.hxx new file mode 100644 index 000000000..eb5257a67 --- /dev/null +++ b/src/SWIG_files/headers/TPrsStd_module.hxx @@ -0,0 +1,34 @@ +#ifndef TPRSSTD_HXX +#define TPRSSTD_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#endif // TPRSSTD_HXX diff --git a/src/SWIG_files/headers/TShort_module.hxx b/src/SWIG_files/headers/TShort_module.hxx new file mode 100644 index 000000000..40e7fc5b2 --- /dev/null +++ b/src/SWIG_files/headers/TShort_module.hxx @@ -0,0 +1,29 @@ +#ifndef TSHORT_HXX +#define TSHORT_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include +#include +#include + +#endif // TSHORT_HXX diff --git a/src/SWIG_files/headers/TopAbs_module.hxx b/src/SWIG_files/headers/TopAbs_module.hxx new file mode 100644 index 000000000..4f9512192 --- /dev/null +++ b/src/SWIG_files/headers/TopAbs_module.hxx @@ -0,0 +1,27 @@ +#ifndef TOPABS_HXX +#define TOPABS_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include + +#endif // TOPABS_HXX diff --git a/src/SWIG_files/headers/TopBas_module.hxx b/src/SWIG_files/headers/TopBas_module.hxx new file mode 100644 index 000000000..f7f95848b --- /dev/null +++ b/src/SWIG_files/headers/TopBas_module.hxx @@ -0,0 +1,26 @@ +#ifndef TOPBAS_HXX +#define TOPBAS_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include + +#endif // TOPBAS_HXX diff --git a/src/SWIG_files/headers/TopClass_module.hxx b/src/SWIG_files/headers/TopClass_module.hxx new file mode 100644 index 000000000..0a79ba034 --- /dev/null +++ b/src/SWIG_files/headers/TopClass_module.hxx @@ -0,0 +1,24 @@ +#ifndef TOPCLASS_HXX +#define TOPCLASS_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include + +#endif // TOPCLASS_HXX diff --git a/src/SWIG_files/headers/TopCnx_module.hxx b/src/SWIG_files/headers/TopCnx_module.hxx new file mode 100644 index 000000000..ca30c4b65 --- /dev/null +++ b/src/SWIG_files/headers/TopCnx_module.hxx @@ -0,0 +1,24 @@ +#ifndef TOPCNX_HXX +#define TOPCNX_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include + +#endif // TOPCNX_HXX diff --git a/src/SWIG_files/headers/TopExp_module.hxx b/src/SWIG_files/headers/TopExp_module.hxx new file mode 100644 index 000000000..ff750eda2 --- /dev/null +++ b/src/SWIG_files/headers/TopExp_module.hxx @@ -0,0 +1,26 @@ +#ifndef TOPEXP_HXX +#define TOPEXP_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include + +#endif // TOPEXP_HXX diff --git a/src/SWIG_files/headers/TopLoc_module.hxx b/src/SWIG_files/headers/TopLoc_module.hxx new file mode 100644 index 000000000..11e14b813 --- /dev/null +++ b/src/SWIG_files/headers/TopLoc_module.hxx @@ -0,0 +1,32 @@ +#ifndef TOPLOC_HXX +#define TOPLOC_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#endif // TOPLOC_HXX diff --git a/src/SWIG_files/headers/TopOpeBRepBuild_module.hxx b/src/SWIG_files/headers/TopOpeBRepBuild_module.hxx new file mode 100644 index 000000000..696737d38 --- /dev/null +++ b/src/SWIG_files/headers/TopOpeBRepBuild_module.hxx @@ -0,0 +1,78 @@ +#ifndef TOPOPEBREPBUILD_HXX +#define TOPOPEBREPBUILD_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#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 // TOPOPEBREPBUILD_HXX diff --git a/src/SWIG_files/headers/TopOpeBRepDS_module.hxx b/src/SWIG_files/headers/TopOpeBRepDS_module.hxx new file mode 100644 index 000000000..6ff6e039e --- /dev/null +++ b/src/SWIG_files/headers/TopOpeBRepDS_module.hxx @@ -0,0 +1,111 @@ +#ifndef TOPOPEBREPDS_HXX +#define TOPOPEBREPDS_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#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 // TOPOPEBREPDS_HXX diff --git a/src/SWIG_files/headers/TopOpeBRepTool_module.hxx b/src/SWIG_files/headers/TopOpeBRepTool_module.hxx new file mode 100644 index 000000000..1727d9caa --- /dev/null +++ b/src/SWIG_files/headers/TopOpeBRepTool_module.hxx @@ -0,0 +1,75 @@ +#ifndef TOPOPEBREPTOOL_HXX +#define TOPOPEBREPTOOL_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#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 // TOPOPEBREPTOOL_HXX diff --git a/src/SWIG_files/headers/TopOpeBRep_module.hxx b/src/SWIG_files/headers/TopOpeBRep_module.hxx new file mode 100644 index 000000000..9839fad82 --- /dev/null +++ b/src/SWIG_files/headers/TopOpeBRep_module.hxx @@ -0,0 +1,70 @@ +#ifndef TOPOPEBREP_HXX +#define TOPOPEBREP_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#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 // TOPOPEBREP_HXX diff --git a/src/SWIG_files/headers/TopTools_module.hxx b/src/SWIG_files/headers/TopTools_module.hxx new file mode 100644 index 000000000..e2291ac84 --- /dev/null +++ b/src/SWIG_files/headers/TopTools_module.hxx @@ -0,0 +1,72 @@ +#ifndef TOPTOOLS_HXX +#define TOPTOOLS_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#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 // TOPTOOLS_HXX diff --git a/src/SWIG_files/headers/TopTrans_module.hxx b/src/SWIG_files/headers/TopTrans_module.hxx new file mode 100644 index 000000000..077628641 --- /dev/null +++ b/src/SWIG_files/headers/TopTrans_module.hxx @@ -0,0 +1,26 @@ +#ifndef TOPTRANS_HXX +#define TOPTRANS_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include + +#endif // TOPTRANS_HXX diff --git a/src/SWIG_files/headers/TopoDSToStep_module.hxx b/src/SWIG_files/headers/TopoDSToStep_module.hxx new file mode 100644 index 000000000..3cc7f4de1 --- /dev/null +++ b/src/SWIG_files/headers/TopoDSToStep_module.hxx @@ -0,0 +1,45 @@ +#ifndef TOPODSTOSTEP_HXX +#define TOPODSTOSTEP_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#endif // TOPODSTOSTEP_HXX diff --git a/src/SWIG_files/headers/TopoDS_module.hxx b/src/SWIG_files/headers/TopoDS_module.hxx new file mode 100644 index 000000000..c2a37781c --- /dev/null +++ b/src/SWIG_files/headers/TopoDS_module.hxx @@ -0,0 +1,51 @@ +#ifndef TOPODS_HXX +#define TOPODS_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#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 // TOPODS_HXX diff --git a/src/SWIG_files/headers/TransferBRep_module.hxx b/src/SWIG_files/headers/TransferBRep_module.hxx new file mode 100644 index 000000000..118da3341 --- /dev/null +++ b/src/SWIG_files/headers/TransferBRep_module.hxx @@ -0,0 +1,34 @@ +#ifndef TRANSFERBREP_HXX +#define TRANSFERBREP_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#endif // TRANSFERBREP_HXX diff --git a/src/SWIG_files/headers/Transfer_module.hxx b/src/SWIG_files/headers/Transfer_module.hxx new file mode 100644 index 000000000..e8d51a814 --- /dev/null +++ b/src/SWIG_files/headers/Transfer_module.hxx @@ -0,0 +1,63 @@ +#ifndef TRANSFER_HXX +#define TRANSFER_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#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 // TRANSFER_HXX diff --git a/src/SWIG_files/headers/UTL_module.hxx b/src/SWIG_files/headers/UTL_module.hxx new file mode 100644 index 000000000..2e1ba15df --- /dev/null +++ b/src/SWIG_files/headers/UTL_module.hxx @@ -0,0 +1,24 @@ +#ifndef UTL_HXX +#define UTL_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include + +#endif // UTL_HXX diff --git a/src/SWIG_files/headers/UnitsAPI_module.hxx b/src/SWIG_files/headers/UnitsAPI_module.hxx new file mode 100644 index 000000000..26fb66513 --- /dev/null +++ b/src/SWIG_files/headers/UnitsAPI_module.hxx @@ -0,0 +1,25 @@ +#ifndef UNITSAPI_HXX +#define UNITSAPI_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include + +#endif // UNITSAPI_HXX diff --git a/src/SWIG_files/headers/Units_module.hxx b/src/SWIG_files/headers/Units_module.hxx new file mode 100644 index 000000000..97469ec53 --- /dev/null +++ b/src/SWIG_files/headers/Units_module.hxx @@ -0,0 +1,48 @@ +#ifndef UNITS_HXX +#define UNITS_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#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 // UNITS_HXX diff --git a/src/SWIG_files/headers/V3d_module.hxx b/src/SWIG_files/headers/V3d_module.hxx new file mode 100644 index 000000000..2d62a7ee4 --- /dev/null +++ b/src/SWIG_files/headers/V3d_module.hxx @@ -0,0 +1,56 @@ +#ifndef V3D_HXX +#define V3D_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#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 // V3D_HXX diff --git a/src/SWIG_files/headers/Visual3d_module.hxx b/src/SWIG_files/headers/Visual3d_module.hxx new file mode 100644 index 000000000..3f9ce132e --- /dev/null +++ b/src/SWIG_files/headers/Visual3d_module.hxx @@ -0,0 +1,23 @@ +#ifndef VISUAL3D_HXX +#define VISUAL3D_HXX + +/* +Copyright 2008-2019 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 . +*/ + + +#endif // VISUAL3D_HXX diff --git a/src/SWIG_files/headers/VrmlAPI_module.hxx b/src/SWIG_files/headers/VrmlAPI_module.hxx new file mode 100644 index 000000000..7fd05de7a --- /dev/null +++ b/src/SWIG_files/headers/VrmlAPI_module.hxx @@ -0,0 +1,26 @@ +#ifndef VRMLAPI_HXX +#define VRMLAPI_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include + +#endif // VRMLAPI_HXX diff --git a/src/SWIG_files/headers/VrmlConverter_module.hxx b/src/SWIG_files/headers/VrmlConverter_module.hxx new file mode 100644 index 000000000..7e4c3ef26 --- /dev/null +++ b/src/SWIG_files/headers/VrmlConverter_module.hxx @@ -0,0 +1,39 @@ +#ifndef VRMLCONVERTER_HXX +#define VRMLCONVERTER_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#endif // VRMLCONVERTER_HXX diff --git a/src/SWIG_files/headers/VrmlData_module.hxx b/src/SWIG_files/headers/VrmlData_module.hxx new file mode 100644 index 000000000..77f545464 --- /dev/null +++ b/src/SWIG_files/headers/VrmlData_module.hxx @@ -0,0 +1,53 @@ +#ifndef VRMLDATA_HXX +#define VRMLDATA_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#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 // VRMLDATA_HXX diff --git a/src/SWIG_files/headers/Vrml_module.hxx b/src/SWIG_files/headers/Vrml_module.hxx new file mode 100644 index 000000000..6a10a8487 --- /dev/null +++ b/src/SWIG_files/headers/Vrml_module.hxx @@ -0,0 +1,76 @@ +#ifndef VRML_HXX +#define VRML_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#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 // VRML_HXX diff --git a/src/SWIG_files/headers/XBRepMesh_module.hxx b/src/SWIG_files/headers/XBRepMesh_module.hxx new file mode 100644 index 000000000..6981d3bd0 --- /dev/null +++ b/src/SWIG_files/headers/XBRepMesh_module.hxx @@ -0,0 +1,24 @@ +#ifndef XBREPMESH_HXX +#define XBREPMESH_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include + +#endif // XBREPMESH_HXX diff --git a/src/SWIG_files/headers/XCAFApp_module.hxx b/src/SWIG_files/headers/XCAFApp_module.hxx new file mode 100644 index 000000000..3c3e7caeb --- /dev/null +++ b/src/SWIG_files/headers/XCAFApp_module.hxx @@ -0,0 +1,24 @@ +#ifndef XCAFAPP_HXX +#define XCAFAPP_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include + +#endif // XCAFAPP_HXX diff --git a/src/SWIG_files/headers/XCAFDimTolObjects_module.hxx b/src/SWIG_files/headers/XCAFDimTolObjects_module.hxx new file mode 100644 index 000000000..83ce7971f --- /dev/null +++ b/src/SWIG_files/headers/XCAFDimTolObjects_module.hxx @@ -0,0 +1,48 @@ +#ifndef XCAFDIMTOLOBJECTS_HXX +#define XCAFDIMTOLOBJECTS_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#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 // XCAFDIMTOLOBJECTS_HXX diff --git a/src/SWIG_files/headers/XCAFDoc_module.hxx b/src/SWIG_files/headers/XCAFDoc_module.hxx new file mode 100644 index 000000000..b1ae50a8a --- /dev/null +++ b/src/SWIG_files/headers/XCAFDoc_module.hxx @@ -0,0 +1,58 @@ +#ifndef XCAFDOC_HXX +#define XCAFDOC_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#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 // XCAFDOC_HXX diff --git a/src/SWIG_files/headers/XCAFNoteObjects_module.hxx b/src/SWIG_files/headers/XCAFNoteObjects_module.hxx new file mode 100644 index 000000000..50f7b9fcf --- /dev/null +++ b/src/SWIG_files/headers/XCAFNoteObjects_module.hxx @@ -0,0 +1,24 @@ +#ifndef XCAFNOTEOBJECTS_HXX +#define XCAFNOTEOBJECTS_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include + +#endif // XCAFNOTEOBJECTS_HXX diff --git a/src/SWIG_files/headers/XCAFPrs_module.hxx b/src/SWIG_files/headers/XCAFPrs_module.hxx new file mode 100644 index 000000000..4575906a0 --- /dev/null +++ b/src/SWIG_files/headers/XCAFPrs_module.hxx @@ -0,0 +1,36 @@ +#ifndef XCAFPRS_HXX +#define XCAFPRS_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#endif // XCAFPRS_HXX diff --git a/src/SWIG_files/headers/XCAFView_module.hxx b/src/SWIG_files/headers/XCAFView_module.hxx new file mode 100644 index 000000000..6ec9f504c --- /dev/null +++ b/src/SWIG_files/headers/XCAFView_module.hxx @@ -0,0 +1,25 @@ +#ifndef XCAFVIEW_HXX +#define XCAFVIEW_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include + +#endif // XCAFVIEW_HXX diff --git a/src/SWIG_files/headers/XSControl_module.hxx b/src/SWIG_files/headers/XSControl_module.hxx new file mode 100644 index 000000000..b4bd885db --- /dev/null +++ b/src/SWIG_files/headers/XSControl_module.hxx @@ -0,0 +1,37 @@ +#ifndef XSCONTROL_HXX +#define XSCONTROL_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#endif // XSCONTROL_HXX diff --git a/src/SWIG_files/headers/XmlDrivers_module.hxx b/src/SWIG_files/headers/XmlDrivers_module.hxx new file mode 100644 index 000000000..6eb0d8b74 --- /dev/null +++ b/src/SWIG_files/headers/XmlDrivers_module.hxx @@ -0,0 +1,26 @@ +#ifndef XMLDRIVERS_HXX +#define XMLDRIVERS_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include + +#endif // XMLDRIVERS_HXX diff --git a/src/SWIG_files/headers/XmlLDrivers_module.hxx b/src/SWIG_files/headers/XmlLDrivers_module.hxx new file mode 100644 index 000000000..d9462ab99 --- /dev/null +++ b/src/SWIG_files/headers/XmlLDrivers_module.hxx @@ -0,0 +1,28 @@ +#ifndef XMLLDRIVERS_HXX +#define XMLLDRIVERS_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include +#include + +#endif // XMLLDRIVERS_HXX diff --git a/src/SWIG_files/headers/XmlMDF_module.hxx b/src/SWIG_files/headers/XmlMDF_module.hxx new file mode 100644 index 000000000..b90c19e3d --- /dev/null +++ b/src/SWIG_files/headers/XmlMDF_module.hxx @@ -0,0 +1,32 @@ +#ifndef XMLMDF_HXX +#define XMLMDF_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#endif // XMLMDF_HXX diff --git a/src/SWIG_files/headers/XmlMDataStd_module.hxx b/src/SWIG_files/headers/XmlMDataStd_module.hxx new file mode 100644 index 000000000..b3b9a218a --- /dev/null +++ b/src/SWIG_files/headers/XmlMDataStd_module.hxx @@ -0,0 +1,50 @@ +#ifndef XMLMDATASTD_HXX +#define XMLMDATASTD_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#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 // XMLMDATASTD_HXX diff --git a/src/SWIG_files/headers/XmlMDataXtd_module.hxx b/src/SWIG_files/headers/XmlMDataXtd_module.hxx new file mode 100644 index 000000000..3d43ffb27 --- /dev/null +++ b/src/SWIG_files/headers/XmlMDataXtd_module.hxx @@ -0,0 +1,35 @@ +#ifndef XMLMDATAXTD_HXX +#define XMLMDATAXTD_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#endif // XMLMDATAXTD_HXX diff --git a/src/SWIG_files/headers/XmlMDocStd_module.hxx b/src/SWIG_files/headers/XmlMDocStd_module.hxx new file mode 100644 index 000000000..4daabd459 --- /dev/null +++ b/src/SWIG_files/headers/XmlMDocStd_module.hxx @@ -0,0 +1,25 @@ +#ifndef XMLMDOCSTD_HXX +#define XMLMDOCSTD_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include + +#endif // XMLMDOCSTD_HXX diff --git a/src/SWIG_files/headers/XmlMFunction_module.hxx b/src/SWIG_files/headers/XmlMFunction_module.hxx new file mode 100644 index 000000000..67a15d0ba --- /dev/null +++ b/src/SWIG_files/headers/XmlMFunction_module.hxx @@ -0,0 +1,27 @@ +#ifndef XMLMFUNCTION_HXX +#define XMLMFUNCTION_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include + +#endif // XMLMFUNCTION_HXX diff --git a/src/SWIG_files/headers/XmlMNaming_module.hxx b/src/SWIG_files/headers/XmlMNaming_module.hxx new file mode 100644 index 000000000..c7d390ed2 --- /dev/null +++ b/src/SWIG_files/headers/XmlMNaming_module.hxx @@ -0,0 +1,27 @@ +#ifndef XMLMNAMING_HXX +#define XMLMNAMING_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include + +#endif // XMLMNAMING_HXX diff --git a/src/SWIG_files/headers/XmlMXCAFDoc_module.hxx b/src/SWIG_files/headers/XmlMXCAFDoc_module.hxx new file mode 100644 index 000000000..6cfcd22eb --- /dev/null +++ b/src/SWIG_files/headers/XmlMXCAFDoc_module.hxx @@ -0,0 +1,47 @@ +#ifndef XMLMXCAFDOC_HXX +#define XMLMXCAFDOC_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#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 // XMLMXCAFDOC_HXX diff --git a/src/SWIG_files/headers/XmlObjMgt_module.hxx b/src/SWIG_files/headers/XmlObjMgt_module.hxx new file mode 100644 index 000000000..1005bcd1b --- /dev/null +++ b/src/SWIG_files/headers/XmlObjMgt_module.hxx @@ -0,0 +1,32 @@ +#ifndef XMLOBJMGT_HXX +#define XMLOBJMGT_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#endif // XMLOBJMGT_HXX diff --git a/src/SWIG_files/headers/XmlTObjDrivers_module.hxx b/src/SWIG_files/headers/XmlTObjDrivers_module.hxx new file mode 100644 index 000000000..0a678dc95 --- /dev/null +++ b/src/SWIG_files/headers/XmlTObjDrivers_module.hxx @@ -0,0 +1,31 @@ +#ifndef XMLTOBJDRIVERS_HXX +#define XMLTOBJDRIVERS_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include +#include +#include +#include +#include +#include + +#endif // XMLTOBJDRIVERS_HXX diff --git a/src/SWIG_files/headers/XmlXCAFDrivers_module.hxx b/src/SWIG_files/headers/XmlXCAFDrivers_module.hxx new file mode 100644 index 000000000..909dfbb4c --- /dev/null +++ b/src/SWIG_files/headers/XmlXCAFDrivers_module.hxx @@ -0,0 +1,26 @@ +#ifndef XMLXCAFDRIVERS_HXX +#define XMLXCAFDRIVERS_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#include +#include +#include + +#endif // XMLXCAFDRIVERS_HXX diff --git a/src/SWIG_files/headers/gce_module.hxx b/src/SWIG_files/headers/gce_module.hxx new file mode 100644 index 000000000..e9e1363c0 --- /dev/null +++ b/src/SWIG_files/headers/gce_module.hxx @@ -0,0 +1,48 @@ +#ifndef GCE_HXX +#define GCE_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#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 // GCE_HXX diff --git a/src/SWIG_files/headers/gp_module.hxx b/src/SWIG_files/headers/gp_module.hxx new file mode 100644 index 000000000..24608aad7 --- /dev/null +++ b/src/SWIG_files/headers/gp_module.hxx @@ -0,0 +1,65 @@ +#ifndef GP_HXX +#define GP_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#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 // GP_HXX diff --git a/src/SWIG_files/headers/math_module.hxx b/src/SWIG_files/headers/math_module.hxx new file mode 100644 index 000000000..1637d8dc2 --- /dev/null +++ b/src/SWIG_files/headers/math_module.hxx @@ -0,0 +1,78 @@ +#ifndef MATH_HXX +#define MATH_HXX + +/* +Copyright 2008-2019 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 . +*/ + +#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 // MATH_HXX diff --git a/src/SWIG_files/wrapper/AIS.i b/src/SWIG_files/wrapper/AIS.i index 6c404c5a5..5f5dd38c4 100644 --- a/src/SWIG_files/wrapper/AIS.i +++ b/src/SWIG_files/wrapper/AIS.i @@ -1,6 +1,5 @@ /* -Copyright 2008-2017 Thomas Paviot (tpaviot@gmail.com) - +Copyright 2008-2019 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -15,121 +14,13 @@ 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 AISDOCSTRING -"Application Interactive Services provide the means to -create links between an application GUI viewer and -the packages which are used to manage selection -and presentation. The tools AIS defined in order to -do this include different sorts of entities: both the -selectable viewable objects themselves and the -context and attribute managers to define their -selection and display. -To orient the user as he works in a modeling -environment, views and selections must be -comprehensible. There must be several different sorts -of selectable and viewable object defined. These must -also be interactive, that is, connecting graphic -representation and the underlying reference -geometry. These entities are called Interactive -Objects, and are divided into four types: -- the Datum -- the Relation -- the Object -- None. -The Datum groups together the construction elements -such as lines, circles, points, trihedra, plane trihedra, -planes and axes. -The Relation is made up of constraints on one or -more interactive shapes and the corresponding -reference geometry. For example, you might want to -constrain two edges in a parallel relation. This -contraint is considered as an object in its own right, -and is shown as a sensitive primitive. This takes the -graphic form of a perpendicular arrow marked with -the || symbol and lying between the two edges. -The Object type includes topological shapes, and -connections between shapes. -None, in order not to eliminate the object, tells the -application to look further until it finds an object -definition in its generation which is accepted. -Inside these categories, you have the possibility -of an additional characterization by means of a -signature. The signature provides an index to the -further characterization. By default, the Interactive -Object has a None type and a signature of 0 -(equivalent to None.) If you want to give a particular -type and signature to your interactive object, you must -redefine the two virtual methods: Type and Signature. -In the C++ inheritance structure of the package, each -class representing a specific Interactive Object -inherits AIS_InteractiveObject. Among these -inheriting classes, AIS_Relation functions as the -abstract mother class for tinheriting classes defining -display of specific relational constraints and types of -dimension. Some of these include: -- display of constraints based on relations of -symmetry, tangency, parallelism and concentricity -- display of dimensions for angles, offsets, -diameters, radii and chamfers. -No viewer can show everything at once with any -coherence or clarity. Views must be managed -carefully both sequentially and at any given instant. -Another function of the view is that of a context to -carry out design in. The design changes are applied -to the objects in the view and then extended to the -underlying reference geometry by a solver. To make -sense of this complicated visual data, several display -and selection tools are required. To facilitate -management, each object and each construction -element has a selection priority. There are also -means to modify the default priority. -To define an environment of dynamic detection, you -can use standard filter classes or create your own. A -filter questions the owner of the sensitive primitive in -local context to determine if it has the the desired -qualities. If it answers positively, it is kept. If not, it is rejected. -The standard filters supplied in AIS include: -AIS_AttributeFilter -AIS_SignatureFilter -AIS_TypeFilter. -Only the type filter can be used in the default -operating mode, the neutral point. The others can -only be used in open local contexts. -Neutral point and local context constitute the two -operating modes of the central entity which pilots -visualizations and selections, the Interactive Context. -It is linked to a main viewer and if you like, a trash bin -viewer as well. -The neutral point, which is the default mode, allows -you to easily visualize and select interactive objects -which have been loaded into the context. Opening -local contexts allows you to prepare and use a -temporary selection environment without disturbing -the neutral point. A set of functions allows you to -choose the interactive objects which you want to act -on, the selection modes which you want to activate, -and the temporary visualizations which you will -execute. When the operation is finished, you close the -current local context and return to the state in which -you were before opening it (neutral point or previous -local context). -An interactive object can have a certain number of -graphic attributes which are specific to it, such as -visualization mode, color, and material. By the same -token, the interactive context has a set of graphic -attributes, the Drawer which is valid by default for the -objects it controls. When an interactive object is -visualized, the required graphic attributes are first -taken from the object's own Drawer if one exists, or -from the context drawer for the others. - -" +"AIS module, see official documentation at +https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_ais.html" %enddef %module (package="OCC.Core", docstring=AISDOCSTRING) AIS -#pragma SWIG nowarn=504,325,503 %{ #ifdef WNT @@ -144,16 +35,87 @@ from the context drawer for the others. %include ../common/OccHandle.i -%include AIS_headers.i +%{ +#include + +//Dependencies +#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 +%}; +%import Standard.i +%import NCollection.i +%import SelectMgr.i +%import Geom.i +%import gp.i +%import TopoDS.i +%import Prs3d.i +%import Quantity.i +%import Aspect.i +%import Bnd.i +%import TCollection.i +%import TopAbs.i +%import PrsMgr.i +%import TColStd.i +%import Graphic3d.i +%import V3d.i +%import TopLoc.i +%import StdSelect.i +%import TColgp.i +%import Select3D.i +%import DsgPrs.i +%import Poly.i +%import Image.i +/* public enums */ +enum AIS_TrihedronSelectionMode { + AIS_TrihedronSelectionMode_EntireObject = 0, + AIS_TrihedronSelectionMode_Origin = 1, + AIS_TrihedronSelectionMode_Axes = 2, + AIS_TrihedronSelectionMode_MainPlanes = 3, +}; -/* typedefs */ -typedef NCollection_List AIS_NListTransient; -typedef AIS_NListTransient::Iterator AIS_NListIteratorOfListTransient; -typedef AIS_InteractiveContext * AIS_PToContext; -typedef NCollection_DataMap AIS_NDataMapOfTransientIteratorOfListTransient; -/* end typedefs declaration */ +enum AIS_MouseGesture { + AIS_MouseGesture_NONE = 0, + AIS_MouseGesture_SelectRectangle = 1, + AIS_MouseGesture_SelectLasso = 2, + AIS_MouseGesture_Zoom = 3, + AIS_MouseGesture_Pan = 4, + AIS_MouseGesture_RotateOrbit = 5, + AIS_MouseGesture_RotateView = 6, +}; -/* public enums */ enum AIS_ClearMode { AIS_CM_All = 0, AIS_CM_Interactive = 1, @@ -175,9 +137,17 @@ enum AIS_TypeOfAttribute { AIS_TOA_Section = 9, AIS_TOA_Hidden = 10, AIS_TOA_Seen = 11, - AIS_TOA_FirstAxis = 12, - AIS_TOA_SecondAxis = 13, - AIS_TOA_ThirdAxis = 14, + AIS_TOA_FaceBoundary = 12, + AIS_TOA_FirstAxis = 13, + AIS_TOA_SecondAxis = 14, + AIS_TOA_ThirdAxis = 15, +}; + +enum AIS_TypeOfAngleArrowVisibility { + AIS_TOAV_Both = 0, + AIS_TOAV_First = 1, + AIS_TOAV_Second = 2, + AIS_TOAV_None = 3, }; enum AIS_DimensionSelectionMode { @@ -236,6 +206,11 @@ enum AIS_KindOfUnit { AIS_TOU_TIME = 7, }; +enum AIS_TypeOfAngle { + AIS_TOA_Interior = 0, + AIS_TOA_Exterior = 1, +}; + enum AIS_ConnectStatus { AIS_CS_None = 0, AIS_CS_Connection = 1, @@ -243,12 +218,61 @@ enum AIS_ConnectStatus { AIS_CS_Both = 3, }; +enum AIS_RotationMode { + AIS_RotationMode_BndBoxActive = 0, + AIS_RotationMode_PickLast = 1, + AIS_RotationMode_PickCenter = 2, + AIS_RotationMode_CameraAt = 3, + AIS_RotationMode_BndBoxScene = 4, +}; + +enum { + AIS_RotationMode_LOWER = 0, + AIS_RotationMode_UPPER = AIS_RotationMode_BndBoxScene, +}; + +enum AIS_ViewSelectionTool { + AIS_ViewSelectionTool_Picking = 0, + AIS_ViewSelectionTool_RubberBand = 1, + AIS_ViewSelectionTool_Polygon = 2, +}; + +enum AIS_ViewInputBufferType { + AIS_ViewInputBufferType_UI = 0, + AIS_ViewInputBufferType_GL = 1, +}; + +enum AIS_NavigationMode { + AIS_NavigationMode_Orbit = 0, + AIS_NavigationMode_FirstPersonFlight = 1, + AIS_NavigationMode_FirstPersonWalk = 2, +}; + +enum { + AIS_NavigationMode_LOWER = 0, + AIS_NavigationMode_UPPER = AIS_NavigationMode_FirstPersonWalk, +}; + enum AIS_TypeOfIso { AIS_TOI_IsoU = 0, AIS_TOI_IsoV = 1, AIS_TOI_Both = 2, }; +enum AIS_KindOfRelation { + AIS_KOR_NONE = 0, + AIS_KOR_CONCENTRIC = 1, + AIS_KOR_EQUALDISTANCE = 2, + AIS_KOR_EQUALRADIUS = 3, + AIS_KOR_FIX = 4, + AIS_KOR_IDENTIC = 5, + AIS_KOR_OFFSET = 6, + AIS_KOR_PARALLEL = 7, + AIS_KOR_PERPENDICULAR = 8, + AIS_KOR_TANGENT = 9, + AIS_KOR_SYMMETRIC = 10, +}; + enum AIS_StatusOfDetection { AIS_SOD_Error = 0, AIS_SOD_Nothing = 1, @@ -259,6 +283,32 @@ enum AIS_StatusOfDetection { AIS_SOD_SeveralGood = 6, }; +enum AIS_WalkTranslation { + AIS_WalkTranslation_Forward = 0, + AIS_WalkTranslation_Side = 1, + AIS_WalkTranslation_Up = 2, +}; + +enum AIS_WalkRotation { + AIS_WalkRotation_Yaw = 0, + AIS_WalkRotation_Pitch = 1, + AIS_WalkRotation_Roll = 2, +}; + +enum AIS_ManipulatorMode { + AIS_MM_None = 0, + AIS_MM_Translation = 1, + AIS_MM_Rotation = 2, + AIS_MM_Scaling = 3, + AIS_MM_TranslationPlane = 4, +}; + +enum AIS_SelectionModesConcurrency { + AIS_SelectionModesConcurrency_Single = 0, + AIS_SelectionModesConcurrency_GlobalOrLocal = 1, + AIS_SelectionModesConcurrency_Multiple = 2, +}; + enum AIS_KindOfSurface { AIS_KOS_Plane = 0, AIS_KOS_Cylinder = 1, @@ -294,6 +344,13 @@ enum AIS_StatusOfPick { AIS_SOP_SeveralSelected = 4, }; +enum AIS_DragAction { + AIS_DragAction_Start = 0, + AIS_DragAction_Update = 1, + AIS_DragAction_Stop = 2, + AIS_DragAction_Abort = 3, +}; + enum AIS_DisplaySpecialSymbol { AIS_DSS_No = 0, AIS_DSS_Before = 1, @@ -316,44 +373,41 @@ enum AIS_TypeOfPlane { enum AIS_DisplayStatus { AIS_DS_Displayed = 0, AIS_DS_Erased = 1, - AIS_DS_Temporary = 2, - AIS_DS_None = 3, + AIS_DS_None = 2, }; /* end public enums declaration */ +/* handles */ +%wrap_handle(AIS_Animation) %wrap_handle(AIS_AttributeFilter) %wrap_handle(AIS_BadEdgeFilter) %wrap_handle(AIS_C0RegularityFilter) -%wrap_handle(AIS_DataMapNodeOfDataMapOfILC) -%wrap_handle(AIS_DataMapNodeOfDataMapOfIOStatus) -%wrap_handle(AIS_DataMapNodeOfDataMapOfSelStat) -%wrap_handle(AIS_DataMapNodeOfDataMapofIntegerListOfinteractive) +%wrap_handle(AIS_ColoredDrawer) %wrap_handle(AIS_DimensionOwner) %wrap_handle(AIS_ExclusionFilter) %wrap_handle(AIS_GlobalStatus) -%wrap_handle(AIS_IndexedDataMapNodeOfIndexedDataMapOfOwnerPrs) %wrap_handle(AIS_InteractiveContext) %wrap_handle(AIS_InteractiveObject) -%wrap_handle(AIS_ListNodeOfListOfInteractive) -%wrap_handle(AIS_LocalContext) -%wrap_handle(AIS_LocalStatus) +%wrap_handle(AIS_ManipulatorOwner) %wrap_handle(AIS_Selection) -%wrap_handle(AIS_SequenceNodeOfSequenceOfDimension) -%wrap_handle(AIS_SequenceNodeOfSequenceOfInteractive) -%wrap_handle(AIS_StdMapNodeOfMapOfInteractive) +%wrap_handle(AIS_TrihedronOwner) %wrap_handle(AIS_TypeFilter) -%wrap_handle(AIS_Axis) +%wrap_handle(AIS_AnimationCamera) +%wrap_handle(AIS_AnimationObject) %wrap_handle(AIS_Circle) +%wrap_handle(AIS_ColorScale) %wrap_handle(AIS_ConnectedInteractive) %wrap_handle(AIS_Dimension) %wrap_handle(AIS_Line) +%wrap_handle(AIS_Manipulator) %wrap_handle(AIS_MultipleConnectedInteractive) %wrap_handle(AIS_Plane) %wrap_handle(AIS_PlaneTrihedron) %wrap_handle(AIS_Point) %wrap_handle(AIS_PointCloud) %wrap_handle(AIS_Relation) +%wrap_handle(AIS_RubberBand) %wrap_handle(AIS_Shape) %wrap_handle(AIS_SignatureFilter) %wrap_handle(AIS_TextLabel) @@ -381,117 +435,129 @@ enum AIS_DisplayStatus { %wrap_handle(AIS_TexturedShape) %wrap_handle(AIS_MaxRadiusDimension) %wrap_handle(AIS_MinRadiusDimension) +/* end handles declaration */ + +/* templates */ +%template(AIS_DataMapofIntegerListOfinteractive) NCollection_DataMap ; +%template(AIS_ListOfInteractive) NCollection_List >; +%template(AIS_ListIteratorOfListOfInteractive) NCollection_TListIterator>; +%template(AIS_MouseGestureMap) NCollection_DataMap ; +%template(AIS_DataMapOfShapeDrawer) NCollection_DataMap , TopTools_ShapeMapHasher>; +%template(AIS_MapOfInteractive) NCollection_Map , TColStd_MapTransientHasher>; +%template(AIS_DataMapOfIOStatus) NCollection_DataMap , opencascade::handle , TColStd_MapTransientHasher>; +%template(AIS_SequenceOfDimension) NCollection_Sequence >; +%template(AIS_IndexedDataMapOfOwnerPrs) NCollection_IndexedDataMap , opencascade::handle , TColStd_MapTransientHasher>; +%template(AIS_NListOfEntityOwner) NCollection_List >; +%template(AIS_SequenceOfInteractive) NCollection_Sequence >; +/* end templates declaration */ + +/* typedefs */ +typedef NCollection_DataMap AIS_DataMapofIntegerListOfinteractive; +typedef NCollection_DataMap ::Iterator AIS_DataMapIteratorOfDataMapofIntegerListOfinteractive; +typedef NCollection_List > AIS_ListOfInteractive; +typedef NCollection_List >::Iterator AIS_ListIteratorOfListOfInteractive; +typedef NCollection_DataMap AIS_MouseGestureMap; +typedef NCollection_DataMap , TopTools_ShapeMapHasher> AIS_DataMapOfShapeDrawer; +typedef NCollection_Map , TColStd_MapTransientHasher> AIS_MapOfInteractive; +typedef NCollection_Map , TColStd_MapTransientHasher>::Iterator AIS_MapIteratorOfMapOfInteractive; +typedef NCollection_DataMap , opencascade::handle , TColStd_MapTransientHasher> AIS_DataMapOfIOStatus; +typedef NCollection_DataMap , opencascade::handle , TColStd_MapTransientHasher>::Iterator AIS_DataMapIteratorOfDataMapOfIOStatus; +typedef NCollection_Sequence > AIS_SequenceOfDimension; +typedef NCollection_IndexedDataMap , opencascade::handle , TColStd_MapTransientHasher> AIS_IndexedDataMapOfOwnerPrs; +typedef NCollection_List > AIS_NListOfEntityOwner; +typedef NCollection_Sequence > AIS_SequenceOfInteractive; +typedef Media_Timer AIS_AnimationTimer; +/* end typedefs declaration */ +/************ +* class AIS * +************/ %rename(ais) AIS; class AIS { public: - %feature("compactdefaultargs") Nearest; - %feature("autodoc", " * Returns the nearest point in a shape. This is used by several classes in calculation of dimensions. - - :param aShape: - :type aShape: TopoDS_Shape & - :param aPoint: - :type aPoint: gp_Pnt - :rtype: gp_Pnt -") Nearest; - static gp_Pnt Nearest (const TopoDS_Shape & aShape,const gp_Pnt & aPoint); - %feature("compactdefaultargs") Nearest; - %feature("autodoc", " * returns the nearest point on the line. - - :param theLine: - :type theLine: gp_Lin - :param thePoint: - :type thePoint: gp_Pnt - :rtype: gp_Pnt -") Nearest; - static gp_Pnt Nearest (const gp_Lin & theLine,const gp_Pnt & thePoint); - %feature("compactdefaultargs") Nearest; - %feature("autodoc", " * For the given point finds nearest point on the curve, returns True if found point is belongs to the curve and False otherwise. + /****************** ComputeGeomCurve ******************/ + %feature("compactdefaultargs") ComputeGeomCurve; + %feature("autodoc", "* Checks if aCurve belongs to aPlane; if not, projects aCurve in aPlane and returns aCurve; Return True if ok + :param aCurve: + :type aCurve: opencascade::handle & + :param first1: + :type first1: float + :param last1: + :type last1: float + :param FirstPnt1: + :type FirstPnt1: gp_Pnt + :param LastPnt1: + :type LastPnt1: gp_Pnt + :param aPlane: + :type aPlane: opencascade::handle & + :param isOnPlane: + :type isOnPlane: bool + :rtype: bool") ComputeGeomCurve; + static Standard_Boolean ComputeGeomCurve (opencascade::handle & aCurve,const Standard_Real first1,const Standard_Real last1,gp_Pnt & FirstPnt1,gp_Pnt & LastPnt1,const opencascade::handle & aPlane,Standard_Boolean &OutValue); - :param theCurve: - :type theCurve: Handle_Geom_Curve & - :param thePoint: - :type thePoint: gp_Pnt - :param theFirstPoint: - :type theFirstPoint: gp_Pnt - :param theLastPoint: - :type theLastPoint: gp_Pnt - :param theNearestPoint: - :type theNearestPoint: gp_Pnt - :rtype: bool -") Nearest; - static Standard_Boolean Nearest (const Handle_Geom_Curve & theCurve,const gp_Pnt & thePoint,const gp_Pnt & theFirstPoint,const gp_Pnt & theLastPoint,gp_Pnt & theNearestPoint); - %feature("compactdefaultargs") Farest; - %feature("autodoc", " :param aShape: - :type aShape: TopoDS_Shape & - :param aPoint: - :type aPoint: gp_Pnt - :rtype: gp_Pnt -") Farest; - static gp_Pnt Farest (const TopoDS_Shape & aShape,const gp_Pnt & aPoint); + /****************** ComputeGeometry ******************/ %feature("compactdefaultargs") ComputeGeometry; - %feature("autodoc", " * Used by 2d Relation only Computes the 3d geometry of in the current WorkingPlane and the extremities if any Return True if ok. - + %feature("autodoc", "* Used by 2d Relation only Computes the 3d geometry of in the current WorkingPlane and the extremities if any Return True if ok. :param theEdge: :type theEdge: TopoDS_Edge & :param theCurve: - :type theCurve: Handle_Geom_Curve & + :type theCurve: opencascade::handle & :param theFirstPnt: :type theFirstPnt: gp_Pnt :param theLastPnt: :type theLastPnt: gp_Pnt - :rtype: bool -") ComputeGeometry; - static Standard_Boolean ComputeGeometry (const TopoDS_Edge & theEdge,Handle_Geom_Curve & theCurve,gp_Pnt & theFirstPnt,gp_Pnt & theLastPnt); - %feature("compactdefaultargs") ComputeGeometry; - %feature("autodoc", " * Used by dimensions only. Computes the 3d geometry of . Return True if ok. + :rtype: bool") ComputeGeometry; + static Standard_Boolean ComputeGeometry (const TopoDS_Edge & theEdge,opencascade::handle & theCurve,gp_Pnt & theFirstPnt,gp_Pnt & theLastPnt); + /****************** ComputeGeometry ******************/ + %feature("compactdefaultargs") ComputeGeometry; + %feature("autodoc", "* Used by dimensions only. Computes the 3d geometry of . Return True if ok. :param theEdge: :type theEdge: TopoDS_Edge & :param theCurve: - :type theCurve: Handle_Geom_Curve & + :type theCurve: opencascade::handle & :param theFirstPnt: :type theFirstPnt: gp_Pnt :param theLastPnt: :type theLastPnt: gp_Pnt :param theIsInfinite: :type theIsInfinite: bool - :rtype: bool -") ComputeGeometry; - static Standard_Boolean ComputeGeometry (const TopoDS_Edge & theEdge,Handle_Geom_Curve & theCurve,gp_Pnt & theFirstPnt,gp_Pnt & theLastPnt,Standard_Boolean &OutValue); - %feature("compactdefaultargs") ComputeGeometry; - %feature("autodoc", " * Used by 2d Relation only Computes the 3d geometry of in the current WorkingPlane and the extremities if any. If is not in the current plane, contains the not projected curve associated to . If is infinite, = true and the 2 parameters and have no signification. Return True if ok. + :rtype: bool") ComputeGeometry; + static Standard_Boolean ComputeGeometry (const TopoDS_Edge & theEdge,opencascade::handle & theCurve,gp_Pnt & theFirstPnt,gp_Pnt & theLastPnt,Standard_Boolean &OutValue); + /****************** ComputeGeometry ******************/ + %feature("compactdefaultargs") ComputeGeometry; + %feature("autodoc", "* Used by 2d Relation only Computes the 3d geometry of in the current WorkingPlane and the extremities if any. If is not in the current plane, contains the not projected curve associated to . If is infinite, = true and the 2 parameters and have no signification. Return True if ok. :param theEdge: :type theEdge: TopoDS_Edge & :param theCurve: - :type theCurve: Handle_Geom_Curve & + :type theCurve: opencascade::handle & :param theFirstPnt: :type theFirstPnt: gp_Pnt :param theLastPnt: :type theLastPnt: gp_Pnt :param theExtCurve: - :type theExtCurve: Handle_Geom_Curve & + :type theExtCurve: opencascade::handle & :param theIsInfinite: :type theIsInfinite: bool :param theIsOnPlane: :type theIsOnPlane: bool :param thePlane: - :type thePlane: Handle_Geom_Plane & - :rtype: bool -") ComputeGeometry; - static Standard_Boolean ComputeGeometry (const TopoDS_Edge & theEdge,Handle_Geom_Curve & theCurve,gp_Pnt & theFirstPnt,gp_Pnt & theLastPnt,Handle_Geom_Curve & theExtCurve,Standard_Boolean &OutValue,Standard_Boolean &OutValue,const Handle_Geom_Plane & thePlane); - %feature("compactdefaultargs") ComputeGeometry; - %feature("autodoc", " * Used by 2d Relation only Computes the 3d geometry of in the current WorkingPlane and the extremities if any Return True if ok. + :type thePlane: opencascade::handle & + :rtype: bool") ComputeGeometry; + static Standard_Boolean ComputeGeometry (const TopoDS_Edge & theEdge,opencascade::handle & theCurve,gp_Pnt & theFirstPnt,gp_Pnt & theLastPnt,opencascade::handle & theExtCurve,Standard_Boolean &OutValue,Standard_Boolean &OutValue,const opencascade::handle & thePlane); + /****************** ComputeGeometry ******************/ + %feature("compactdefaultargs") ComputeGeometry; + %feature("autodoc", "* Used by 2d Relation only Computes the 3d geometry of in the current WorkingPlane and the extremities if any Return True if ok. :param theFirstEdge: :type theFirstEdge: TopoDS_Edge & :param theSecondEdge: :type theSecondEdge: TopoDS_Edge & :param theFirstCurve: - :type theFirstCurve: Handle_Geom_Curve & + :type theFirstCurve: opencascade::handle & :param theSecondCurve: - :type theSecondCurve: Handle_Geom_Curve & + :type theSecondCurve: opencascade::handle & :param theFirstPnt1: :type theFirstPnt1: gp_Pnt :param theLastPnt1: @@ -501,21 +567,21 @@ class AIS { :param theLastPnt2: :type theLastPnt2: gp_Pnt :param thePlane: - :type thePlane: Handle_Geom_Plane & - :rtype: bool -") ComputeGeometry; - static Standard_Boolean ComputeGeometry (const TopoDS_Edge & theFirstEdge,const TopoDS_Edge & theSecondEdge,Handle_Geom_Curve & theFirstCurve,Handle_Geom_Curve & theSecondCurve,gp_Pnt & theFirstPnt1,gp_Pnt & theLastPnt1,gp_Pnt & theFirstPnt2,gp_Pnt & theLastPnt2,const Handle_Geom_Plane & thePlane); - %feature("compactdefaultargs") ComputeGeometry; - %feature("autodoc", " * Used by dimensions only.Computes the 3d geometry of and and checks if they are infinite. + :type thePlane: opencascade::handle & + :rtype: bool") ComputeGeometry; + static Standard_Boolean ComputeGeometry (const TopoDS_Edge & theFirstEdge,const TopoDS_Edge & theSecondEdge,opencascade::handle & theFirstCurve,opencascade::handle & theSecondCurve,gp_Pnt & theFirstPnt1,gp_Pnt & theLastPnt1,gp_Pnt & theFirstPnt2,gp_Pnt & theLastPnt2,const opencascade::handle & thePlane); + /****************** ComputeGeometry ******************/ + %feature("compactdefaultargs") ComputeGeometry; + %feature("autodoc", "* Used by dimensions only.Computes the 3d geometry of and and checks if they are infinite. :param theFirstEdge: :type theFirstEdge: TopoDS_Edge & :param theSecondEdge: :type theSecondEdge: TopoDS_Edge & :param theFirstCurve: - :type theFirstCurve: Handle_Geom_Curve & + :type theFirstCurve: opencascade::handle & :param theSecondCurve: - :type theSecondCurve: Handle_Geom_Curve & + :type theSecondCurve: opencascade::handle & :param theFirstPnt1: :type theFirstPnt1: gp_Pnt :param theLastPnt1: @@ -528,12 +594,12 @@ class AIS { :type theIsinfinite1: bool :param theIsinfinite2: :type theIsinfinite2: bool - :rtype: bool -") ComputeGeometry; - static Standard_Boolean ComputeGeometry (const TopoDS_Edge & theFirstEdge,const TopoDS_Edge & theSecondEdge,Handle_Geom_Curve & theFirstCurve,Handle_Geom_Curve & theSecondCurve,gp_Pnt & theFirstPnt1,gp_Pnt & theLastPnt1,gp_Pnt & theFirstPnt2,gp_Pnt & theLastPnt2,Standard_Boolean &OutValue,Standard_Boolean &OutValue); - %feature("compactdefaultargs") ComputeGeometry; - %feature("autodoc", " * Used by 2d Relation only Computes the 3d geometry of and in the current Plane and the extremities if any. Return in ExtCurve the 3d curve (not projected in the plane) of the first edge if =1 or of the 2nd edge if = 2. If = 0, ExtCurve is Null. if there is an edge external to the plane, is true if this edge is infinite. So, the extremities of it are not significant. Return True if ok + :rtype: bool") ComputeGeometry; + static Standard_Boolean ComputeGeometry (const TopoDS_Edge & theFirstEdge,const TopoDS_Edge & theSecondEdge,opencascade::handle & theFirstCurve,opencascade::handle & theSecondCurve,gp_Pnt & theFirstPnt1,gp_Pnt & theLastPnt1,gp_Pnt & theFirstPnt2,gp_Pnt & theLastPnt2,Standard_Boolean &OutValue,Standard_Boolean &OutValue); + /****************** ComputeGeometry ******************/ + %feature("compactdefaultargs") ComputeGeometry; + %feature("autodoc", "* Used by 2d Relation only Computes the 3d geometry of and in the current Plane and the extremities if any. Return in ExtCurve the 3d curve (not projected in the plane) of the first edge if =1 or of the 2nd edge if = 2. If = 0, ExtCurve is Null. if there is an edge external to the plane, is true if this edge is infinite. So, the extremities of it are not significant. Return True if ok :param theFirstEdge: :type theFirstEdge: TopoDS_Edge & :param theSecondEdge: @@ -541,9 +607,9 @@ class AIS { :param theExtIndex: :type theExtIndex: int & :param theFirstCurve: - :type theFirstCurve: Handle_Geom_Curve & + :type theFirstCurve: opencascade::handle & :param theSecondCurve: - :type theSecondCurve: Handle_Geom_Curve & + :type theSecondCurve: opencascade::handle & :param theFirstPnt1: :type theFirstPnt1: gp_Pnt :param theLastPnt1: @@ -553,101 +619,149 @@ class AIS { :param theLastPnt2: :type theLastPnt2: gp_Pnt :param theExtCurve: - :type theExtCurve: Handle_Geom_Curve & + :type theExtCurve: opencascade::handle & :param theIsinfinite1: :type theIsinfinite1: bool :param theIsinfinite2: :type theIsinfinite2: bool :param thePlane: - :type thePlane: Handle_Geom_Plane & - :rtype: bool -") ComputeGeometry; - static Standard_Boolean ComputeGeometry (const TopoDS_Edge & theFirstEdge,const TopoDS_Edge & theSecondEdge,Standard_Integer &OutValue,Handle_Geom_Curve & theFirstCurve,Handle_Geom_Curve & theSecondCurve,gp_Pnt & theFirstPnt1,gp_Pnt & theLastPnt1,gp_Pnt & theFirstPnt2,gp_Pnt & theLastPnt2,Handle_Geom_Curve & theExtCurve,Standard_Boolean &OutValue,Standard_Boolean &OutValue,const Handle_Geom_Plane & thePlane); - %feature("compactdefaultargs") ComputeGeomCurve; - %feature("autodoc", " * Checks if aCurve belongs to aPlane; if not, projects aCurve in aPlane and returns aCurve; Return True if ok + :type thePlane: opencascade::handle & + :rtype: bool") ComputeGeometry; + static Standard_Boolean ComputeGeometry (const TopoDS_Edge & theFirstEdge,const TopoDS_Edge & theSecondEdge,Standard_Integer &OutValue,opencascade::handle & theFirstCurve,opencascade::handle & theSecondCurve,gp_Pnt & theFirstPnt1,gp_Pnt & theLastPnt1,gp_Pnt & theFirstPnt2,gp_Pnt & theLastPnt2,opencascade::handle & theExtCurve,Standard_Boolean &OutValue,Standard_Boolean &OutValue,const opencascade::handle & thePlane); - :param aCurve: - :type aCurve: Handle_Geom_Curve & - :param first1: - :type first1: float - :param last1: - :type last1: float - :param FirstPnt1: - :type FirstPnt1: gp_Pnt - :param LastPnt1: - :type LastPnt1: gp_Pnt - :param aPlane: - :type aPlane: Handle_Geom_Plane & - :param isOnPlane: - :type isOnPlane: bool - :rtype: bool -") ComputeGeomCurve; - static Standard_Boolean ComputeGeomCurve (Handle_Geom_Curve & aCurve,const Standard_Real first1,const Standard_Real last1,gp_Pnt & FirstPnt1,gp_Pnt & LastPnt1,const Handle_Geom_Plane & aPlane,Standard_Boolean &OutValue); + /****************** ComputeGeometry ******************/ %feature("compactdefaultargs") ComputeGeometry; - %feature("autodoc", " :param aVertex: + %feature("autodoc", ":param aVertex: :type aVertex: TopoDS_Vertex & :param point: :type point: gp_Pnt :param aPlane: - :type aPlane: Handle_Geom_Plane & + :type aPlane: opencascade::handle & :param isOnPlane: :type isOnPlane: bool - :rtype: bool -") ComputeGeometry; - static Standard_Boolean ComputeGeometry (const TopoDS_Vertex & aVertex,gp_Pnt & point,const Handle_Geom_Plane & aPlane,Standard_Boolean &OutValue); - %feature("compactdefaultargs") GetPlaneFromFace; - %feature("autodoc", " * Tryes to get Plane from Face. Returns Surface of Face in aSurf. Returns Standard_True and Plane of Face in aPlane in following cases: Face is Plane, Offset of Plane, Extrusion of Line and Offset of Extrusion of Line Returns pure type of Surface which can be: Plane, Cylinder, Cone, Sphere, Torus, SurfaceOfRevolution, SurfaceOfExtrusion + :rtype: bool") ComputeGeometry; + static Standard_Boolean ComputeGeometry (const TopoDS_Vertex & aVertex,gp_Pnt & point,const opencascade::handle & aPlane,Standard_Boolean &OutValue); + + /****************** ComputeProjEdgePresentation ******************/ + %feature("compactdefaultargs") ComputeProjEdgePresentation; + %feature("autodoc", ":param aPres: + :type aPres: opencascade::handle & + :param aDrawer: + :type aDrawer: opencascade::handle & + :param anEdge: + :type anEdge: TopoDS_Edge & + :param ProjCurve: + :type ProjCurve: opencascade::handle & + :param FirstP: + :type FirstP: gp_Pnt + :param LastP: + :type LastP: gp_Pnt + :param aColor: default value is Quantity_NOC_PURPLE + :type aColor: Quantity_NameOfColor + :param aWidth: default value is 2 + :type aWidth: float + :param aProjTOL: default value is Aspect_TOL_DASH + :type aProjTOL: Aspect_TypeOfLine + :param aCallTOL: default value is Aspect_TOL_DOT + :type aCallTOL: Aspect_TypeOfLine + :rtype: void") ComputeProjEdgePresentation; + static void ComputeProjEdgePresentation (const opencascade::handle & aPres,const opencascade::handle & aDrawer,const TopoDS_Edge & anEdge,const opencascade::handle & ProjCurve,const gp_Pnt & FirstP,const gp_Pnt & LastP,const Quantity_NameOfColor aColor = Quantity_NOC_PURPLE,const Standard_Real aWidth = 2,const Aspect_TypeOfLine aProjTOL = Aspect_TOL_DASH,const Aspect_TypeOfLine aCallTOL = Aspect_TOL_DOT); + + /****************** ComputeProjVertexPresentation ******************/ + %feature("compactdefaultargs") ComputeProjVertexPresentation; + %feature("autodoc", ":param aPres: + :type aPres: opencascade::handle & + :param aDrawer: + :type aDrawer: opencascade::handle & + :param aVertex: + :type aVertex: TopoDS_Vertex & + :param ProjPoint: + :type ProjPoint: gp_Pnt + :param aColor: default value is Quantity_NOC_PURPLE + :type aColor: Quantity_NameOfColor + :param aWidth: default value is 2 + :type aWidth: float + :param aProjTOM: default value is Aspect_TOM_PLUS + :type aProjTOM: Aspect_TypeOfMarker + :param aCallTOL: default value is Aspect_TOL_DOT + :type aCallTOL: Aspect_TypeOfLine + :rtype: void") ComputeProjVertexPresentation; + static void ComputeProjVertexPresentation (const opencascade::handle & aPres,const opencascade::handle & aDrawer,const TopoDS_Vertex & aVertex,const gp_Pnt & ProjPoint,const Quantity_NameOfColor aColor = Quantity_NOC_PURPLE,const Standard_Real aWidth = 2,const Aspect_TypeOfMarker aProjTOM = Aspect_TOM_PLUS,const Aspect_TypeOfLine aCallTOL = Aspect_TOL_DOT); + + /****************** DistanceFromApex ******************/ + %feature("compactdefaultargs") DistanceFromApex; + %feature("autodoc", "* computes length of ellipse arc in parametric units + :param elips: + :type elips: gp_Elips + :param Apex: + :type Apex: gp_Pnt + :param par: + :type par: float + :rtype: float") DistanceFromApex; + static Standard_Real DistanceFromApex (const gp_Elips & elips,const gp_Pnt & Apex,const Standard_Real par); + + /****************** Farest ******************/ + %feature("compactdefaultargs") Farest; + %feature("autodoc", ":param aShape: + :type aShape: TopoDS_Shape & + :param aPoint: + :type aPoint: gp_Pnt + :rtype: gp_Pnt") Farest; + static gp_Pnt Farest (const TopoDS_Shape & aShape,const gp_Pnt & aPoint); + /****************** GetPlaneFromFace ******************/ + %feature("compactdefaultargs") GetPlaneFromFace; + %feature("autodoc", "* Tryes to get Plane from Face. Returns Surface of Face in aSurf. Returns Standard_True and Plane of Face in aPlane in following cases: Face is Plane, Offset of Plane, Extrusion of Line and Offset of Extrusion of Line Returns pure type of Surface which can be: Plane, Cylinder, Cone, Sphere, Torus, SurfaceOfRevolution, SurfaceOfExtrusion :param aFace: :type aFace: TopoDS_Face & :param aPlane: :type aPlane: gp_Pln :param aSurf: - :type aSurf: Handle_Geom_Surface & + :type aSurf: opencascade::handle & :param aSurfType: :type aSurfType: AIS_KindOfSurface & :param Offset: :type Offset: float & - :rtype: bool -") GetPlaneFromFace; - static Standard_Boolean GetPlaneFromFace (const TopoDS_Face & aFace,gp_Pln & aPlane,Handle_Geom_Surface & aSurf,AIS_KindOfSurface & aSurfType,Standard_Real &OutValue); - %feature("compactdefaultargs") InitFaceLength; - %feature("autodoc", " :param aFace: - :type aFace: TopoDS_Face & - :param aPlane: - :type aPlane: gp_Pln - :param aSurface: - :type aSurface: Handle_Geom_Surface & - :param aSurfaceType: - :type aSurfaceType: AIS_KindOfSurface & - :param anOffset: - :type anOffset: float & - :rtype: void -") InitFaceLength; - static void InitFaceLength (const TopoDS_Face & aFace,gp_Pln & aPlane,Handle_Geom_Surface & aSurface,AIS_KindOfSurface & aSurfaceType,Standard_Real &OutValue); - %feature("compactdefaultargs") InitLengthBetweenCurvilinearFaces; - %feature("autodoc", " * Finds attachment points on two curvilinear faces for length dimension. @param thePlaneDir [in] the direction on the dimension plane to compute the plane automatically. It will not be taken into account if plane is defined by user. + :rtype: bool") GetPlaneFromFace; + static Standard_Boolean GetPlaneFromFace (const TopoDS_Face & aFace,gp_Pln & aPlane,opencascade::handle & aSurf,AIS_KindOfSurface & aSurfType,Standard_Real &OutValue); + + /****************** InDomain ******************/ + %feature("compactdefaultargs") InDomain; + %feature("autodoc", "* returns True if point with anAttachPar is in domain of arc + :param aFirstPar: + :type aFirstPar: float + :param aLastPar: + :type aLastPar: float + :param anAttachPar: + :type anAttachPar: float + :rtype: bool") InDomain; + static Standard_Boolean InDomain (const Standard_Real aFirstPar,const Standard_Real aLastPar,const Standard_Real anAttachPar); + /****************** InitAngleBetweenCurvilinearFaces ******************/ + %feature("compactdefaultargs") InitAngleBetweenCurvilinearFaces; + %feature("autodoc", "* Finds three points for the angle dimension between two curvilinear surfaces. :param theFirstFace: :type theFirstFace: TopoDS_Face & :param theSecondFace: :type theSecondFace: TopoDS_Face & - :param theFirstSurf: - :type theFirstSurf: Handle_Geom_Surface & - :param theSecondSurf: - :type theSecondSurf: Handle_Geom_Surface & + :param theFirstSurfType: + :type theFirstSurfType: AIS_KindOfSurface + :param theSecondSurfType: + :type theSecondSurfType: AIS_KindOfSurface + :param theCenter: + :type theCenter: gp_Pnt :param theFirstAttach: :type theFirstAttach: gp_Pnt :param theSecondAttach: :type theSecondAttach: gp_Pnt - :param theDirOnPlane: - :type theDirOnPlane: gp_Dir - :rtype: void -") InitLengthBetweenCurvilinearFaces; - static void InitLengthBetweenCurvilinearFaces (const TopoDS_Face & theFirstFace,const TopoDS_Face & theSecondFace,Handle_Geom_Surface & theFirstSurf,Handle_Geom_Surface & theSecondSurf,gp_Pnt & theFirstAttach,gp_Pnt & theSecondAttach,gp_Dir & theDirOnPlane); - %feature("compactdefaultargs") InitAngleBetweenPlanarFaces; - %feature("autodoc", " * Finds three points for the angle dimension between two planes. + :param theIsFirstPointSet: default value is Standard_False + :type theIsFirstPointSet: bool + :rtype: bool") InitAngleBetweenCurvilinearFaces; + static Standard_Boolean InitAngleBetweenCurvilinearFaces (const TopoDS_Face & theFirstFace,const TopoDS_Face & theSecondFace,const AIS_KindOfSurface theFirstSurfType,const AIS_KindOfSurface theSecondSurfType,gp_Pnt & theCenter,gp_Pnt & theFirstAttach,gp_Pnt & theSecondAttach,const Standard_Boolean theIsFirstPointSet = Standard_False); + /****************** InitAngleBetweenPlanarFaces ******************/ + %feature("compactdefaultargs") InitAngleBetweenPlanarFaces; + %feature("autodoc", "* Finds three points for the angle dimension between two planes. :param theFirstFace: :type theFirstFace: TopoDS_Face & :param theSecondFace: @@ -660,75 +774,86 @@ class AIS { :type theSecondAttach: gp_Pnt :param theIsFirstPointSet: default value is Standard_False :type theIsFirstPointSet: bool - :rtype: bool -") InitAngleBetweenPlanarFaces; + :rtype: bool") InitAngleBetweenPlanarFaces; static Standard_Boolean InitAngleBetweenPlanarFaces (const TopoDS_Face & theFirstFace,const TopoDS_Face & theSecondFace,gp_Pnt & theCenter,gp_Pnt & theFirstAttach,gp_Pnt & theSecondAttach,const Standard_Boolean theIsFirstPointSet = Standard_False); - %feature("compactdefaultargs") InitAngleBetweenCurvilinearFaces; - %feature("autodoc", " * Finds three points for the angle dimension between two curvilinear surfaces. + /****************** InitFaceLength ******************/ + %feature("compactdefaultargs") InitFaceLength; + %feature("autodoc", ":param aFace: + :type aFace: TopoDS_Face & + :param aPlane: + :type aPlane: gp_Pln + :param aSurface: + :type aSurface: opencascade::handle & + :param aSurfaceType: + :type aSurfaceType: AIS_KindOfSurface & + :param anOffset: + :type anOffset: float & + :rtype: void") InitFaceLength; + static void InitFaceLength (const TopoDS_Face & aFace,gp_Pln & aPlane,opencascade::handle & aSurface,AIS_KindOfSurface & aSurfaceType,Standard_Real &OutValue); + + /****************** InitLengthBetweenCurvilinearFaces ******************/ + %feature("compactdefaultargs") InitLengthBetweenCurvilinearFaces; + %feature("autodoc", "* Finds attachment points on two curvilinear faces for length dimension. @param thePlaneDir [in] the direction on the dimension plane to compute the plane automatically. It will not be taken into account if plane is defined by user. :param theFirstFace: :type theFirstFace: TopoDS_Face & :param theSecondFace: :type theSecondFace: TopoDS_Face & - :param theFirstSurfType: - :type theFirstSurfType: AIS_KindOfSurface - :param theSecondSurfType: - :type theSecondSurfType: AIS_KindOfSurface - :param theCenter: - :type theCenter: gp_Pnt + :param theFirstSurf: + :type theFirstSurf: opencascade::handle & + :param theSecondSurf: + :type theSecondSurf: opencascade::handle & :param theFirstAttach: :type theFirstAttach: gp_Pnt :param theSecondAttach: :type theSecondAttach: gp_Pnt - :param theIsFirstPointSet: default value is Standard_False - :type theIsFirstPointSet: bool - :rtype: bool -") InitAngleBetweenCurvilinearFaces; - static Standard_Boolean InitAngleBetweenCurvilinearFaces (const TopoDS_Face & theFirstFace,const TopoDS_Face & theSecondFace,const AIS_KindOfSurface theFirstSurfType,const AIS_KindOfSurface theSecondSurfType,gp_Pnt & theCenter,gp_Pnt & theFirstAttach,gp_Pnt & theSecondAttach,const Standard_Boolean theIsFirstPointSet = Standard_False); - %feature("compactdefaultargs") ProjectPointOnPlane; - %feature("autodoc", " :param aPoint: - :type aPoint: gp_Pnt - :param aPlane: - :type aPlane: gp_Pln - :rtype: gp_Pnt -") ProjectPointOnPlane; - static gp_Pnt ProjectPointOnPlane (const gp_Pnt & aPoint,const gp_Pln & aPlane); - %feature("compactdefaultargs") ProjectPointOnLine; - %feature("autodoc", " :param aPoint: - :type aPoint: gp_Pnt - :param aLine: - :type aLine: gp_Lin - :rtype: gp_Pnt -") ProjectPointOnLine; - static gp_Pnt ProjectPointOnLine (const gp_Pnt & aPoint,const gp_Lin & aLine); - %feature("compactdefaultargs") TranslatePointToBound; - %feature("autodoc", " :param aPoint: + :param theDirOnPlane: + :type theDirOnPlane: gp_Dir + :rtype: void") InitLengthBetweenCurvilinearFaces; + static void InitLengthBetweenCurvilinearFaces (const TopoDS_Face & theFirstFace,const TopoDS_Face & theSecondFace,opencascade::handle & theFirstSurf,opencascade::handle & theSecondSurf,gp_Pnt & theFirstAttach,gp_Pnt & theSecondAttach,gp_Dir & theDirOnPlane); + + /****************** Nearest ******************/ + %feature("compactdefaultargs") Nearest; + %feature("autodoc", "* Returns the nearest point in a shape. This is used by several classes in calculation of dimensions. + :param aShape: + :type aShape: TopoDS_Shape & + :param aPoint: :type aPoint: gp_Pnt - :param aDir: - :type aDir: gp_Dir - :param aBndBox: - :type aBndBox: Bnd_Box & - :rtype: gp_Pnt -") TranslatePointToBound; - static gp_Pnt TranslatePointToBound (const gp_Pnt & aPoint,const gp_Dir & aDir,const Bnd_Box & aBndBox); - %feature("compactdefaultargs") InDomain; - %feature("autodoc", " * returns True if point with anAttachPar is in domain of arc + :rtype: gp_Pnt") Nearest; + static gp_Pnt Nearest (const TopoDS_Shape & aShape,const gp_Pnt & aPoint); - :param aFirstPar: - :type aFirstPar: float - :param aLastPar: - :type aLastPar: float - :param anAttachPar: - :type anAttachPar: float - :rtype: bool -") InDomain; - static Standard_Boolean InDomain (const Standard_Real aFirstPar,const Standard_Real aLastPar,const Standard_Real anAttachPar); - %feature("compactdefaultargs") NearestApex; - %feature("autodoc", " * computes nearest to ellipse arc apex + /****************** Nearest ******************/ + %feature("compactdefaultargs") Nearest; + %feature("autodoc", "* returns the nearest point on the line. + :param theLine: + :type theLine: gp_Lin + :param thePoint: + :type thePoint: gp_Pnt + :rtype: gp_Pnt") Nearest; + static gp_Pnt Nearest (const gp_Lin & theLine,const gp_Pnt & thePoint); - :param elips: - :type elips: gp_Elips - :param pApex: + /****************** Nearest ******************/ + %feature("compactdefaultargs") Nearest; + %feature("autodoc", "* For the given point finds nearest point on the curve, returns True if found point is belongs to the curve and False otherwise. + :param theCurve: + :type theCurve: opencascade::handle & + :param thePoint: + :type thePoint: gp_Pnt + :param theFirstPoint: + :type theFirstPoint: gp_Pnt + :param theLastPoint: + :type theLastPoint: gp_Pnt + :param theNearestPoint: + :type theNearestPoint: gp_Pnt + :rtype: bool") Nearest; + static Standard_Boolean Nearest (const opencascade::handle & theCurve,const gp_Pnt & thePoint,const gp_Pnt & theFirstPoint,const gp_Pnt & theLastPoint,gp_Pnt & theNearestPoint); + + /****************** NearestApex ******************/ + %feature("compactdefaultargs") NearestApex; + %feature("autodoc", "* computes nearest to ellipse arc apex + :param elips: + :type elips: gp_Elips + :param pApex: :type pApex: gp_Pnt :param nApex: :type nApex: gp_Pnt @@ -738,65 +863,38 @@ class AIS { :type lpara: float :param IsInDomain: :type IsInDomain: bool - :rtype: gp_Pnt -") NearestApex; + :rtype: gp_Pnt") NearestApex; static gp_Pnt NearestApex (const gp_Elips & elips,const gp_Pnt & pApex,const gp_Pnt & nApex,const Standard_Real fpara,const Standard_Real lpara,Standard_Boolean &OutValue); - %feature("compactdefaultargs") DistanceFromApex; - %feature("autodoc", " * computes length of ellipse arc in parametric units - :param elips: - :type elips: gp_Elips - :param Apex: - :type Apex: gp_Pnt - :param par: - :type par: float - :rtype: float -") DistanceFromApex; - static Standard_Real DistanceFromApex (const gp_Elips & elips,const gp_Pnt & Apex,const Standard_Real par); - %feature("compactdefaultargs") ComputeProjEdgePresentation; - %feature("autodoc", " :param aPres: - :type aPres: Handle_Prs3d_Presentation & - :param aDrawer: - :type aDrawer: Handle_Prs3d_Drawer & - :param anEdge: - :type anEdge: TopoDS_Edge & - :param ProjCurve: - :type ProjCurve: Handle_Geom_Curve & - :param FirstP: - :type FirstP: gp_Pnt - :param LastP: - :type LastP: gp_Pnt - :param aColor: default value is Quantity_NOC_PURPLE - :type aColor: Quantity_NameOfColor - :param aWidth: default value is 2 - :type aWidth: float - :param aProjTOL: default value is Aspect_TOL_DASH - :type aProjTOL: Aspect_TypeOfLine - :param aCallTOL: default value is Aspect_TOL_DOT - :type aCallTOL: Aspect_TypeOfLine - :rtype: void -") ComputeProjEdgePresentation; - static void ComputeProjEdgePresentation (const Handle_Prs3d_Presentation & aPres,const Handle_Prs3d_Drawer & aDrawer,const TopoDS_Edge & anEdge,const Handle_Geom_Curve & ProjCurve,const gp_Pnt & FirstP,const gp_Pnt & LastP,const Quantity_NameOfColor aColor = Quantity_NOC_PURPLE,const Standard_Real aWidth = 2,const Aspect_TypeOfLine aProjTOL = Aspect_TOL_DASH,const Aspect_TypeOfLine aCallTOL = Aspect_TOL_DOT); - %feature("compactdefaultargs") ComputeProjVertexPresentation; - %feature("autodoc", " :param aPres: - :type aPres: Handle_Prs3d_Presentation & - :param aDrawer: - :type aDrawer: Handle_Prs3d_Drawer & - :param aVertex: - :type aVertex: TopoDS_Vertex & - :param ProjPoint: - :type ProjPoint: gp_Pnt - :param aColor: default value is Quantity_NOC_PURPLE - :type aColor: Quantity_NameOfColor - :param aWidth: default value is 2 - :type aWidth: float - :param aProjTOM: default value is Aspect_TOM_PLUS - :type aProjTOM: Aspect_TypeOfMarker - :param aCallTOL: default value is Aspect_TOL_DOT - :type aCallTOL: Aspect_TypeOfLine - :rtype: void -") ComputeProjVertexPresentation; - static void ComputeProjVertexPresentation (const Handle_Prs3d_Presentation & aPres,const Handle_Prs3d_Drawer & aDrawer,const TopoDS_Vertex & aVertex,const gp_Pnt & ProjPoint,const Quantity_NameOfColor aColor = Quantity_NOC_PURPLE,const Standard_Real aWidth = 2,const Aspect_TypeOfMarker aProjTOM = Aspect_TOM_PLUS,const Aspect_TypeOfLine aCallTOL = Aspect_TOL_DOT); + /****************** ProjectPointOnLine ******************/ + %feature("compactdefaultargs") ProjectPointOnLine; + %feature("autodoc", ":param aPoint: + :type aPoint: gp_Pnt + :param aLine: + :type aLine: gp_Lin + :rtype: gp_Pnt") ProjectPointOnLine; + static gp_Pnt ProjectPointOnLine (const gp_Pnt & aPoint,const gp_Lin & aLine); + + /****************** ProjectPointOnPlane ******************/ + %feature("compactdefaultargs") ProjectPointOnPlane; + %feature("autodoc", ":param aPoint: + :type aPoint: gp_Pnt + :param aPlane: + :type aPlane: gp_Pln + :rtype: gp_Pnt") ProjectPointOnPlane; + static gp_Pnt ProjectPointOnPlane (const gp_Pnt & aPoint,const gp_Pln & aPlane); + + /****************** TranslatePointToBound ******************/ + %feature("compactdefaultargs") TranslatePointToBound; + %feature("autodoc", ":param aPoint: + :type aPoint: gp_Pnt + :param aDir: + :type aDir: gp_Dir + :param aBndBox: + :type aBndBox: Bnd_Box & + :rtype: gp_Pnt") TranslatePointToBound; + static gp_Pnt TranslatePointToBound (const gp_Pnt & aPoint,const gp_Dir & aDir,const Bnd_Box & aBndBox); + }; @@ -805,79 +903,298 @@ class AIS { __repr__ = _dumps_object } }; + +/********************** +* class AIS_Animation * +**********************/ +%nodefaultctor AIS_Animation; +class AIS_Animation : public Standard_Transient { + public: + /****************** AIS_Animation ******************/ + %feature("compactdefaultargs") AIS_Animation; + %feature("autodoc", "* Creates empty animation. + :param theAnimationName: + :type theAnimationName: TCollection_AsciiString & + :rtype: None") AIS_Animation; + AIS_Animation (const TCollection_AsciiString & theAnimationName); + + /****************** Add ******************/ + %feature("compactdefaultargs") Add; + %feature("autodoc", "* Add single animation to the timeline. @param theAnimation input animation + :param theAnimation: + :type theAnimation: opencascade::handle & + :rtype: None") Add; + void Add (const opencascade::handle & theAnimation); + + /****************** Children ******************/ + %feature("compactdefaultargs") Children; + %feature("autodoc", "* Return sequence of child animations. + :rtype: NCollection_Sequence >") Children; + const NCollection_Sequence > & Children (); + + /****************** Clear ******************/ + %feature("compactdefaultargs") Clear; + %feature("autodoc", "* Clear animation timeline - remove all animations from it. + :rtype: None") Clear; + void Clear (); + + /****************** CopyFrom ******************/ + %feature("compactdefaultargs") CopyFrom; + %feature("autodoc", "* Clears own children and then copy child animations from another object. Copy also Start Time and Duration values. + :param theOther: + :type theOther: opencascade::handle & + :rtype: None") CopyFrom; + void CopyFrom (const opencascade::handle & theOther); + + /****************** Duration ******************/ + %feature("compactdefaultargs") Duration; + %feature("autodoc", "* returns duration of the animation in the timeline + :rtype: float") Duration; + Standard_Real Duration (); + + /****************** ElapsedTime ******************/ + %feature("compactdefaultargs") ElapsedTime; + %feature("autodoc", "* Return elapsed time. + :rtype: float") ElapsedTime; + Standard_Real ElapsedTime (); + + /****************** Find ******************/ + %feature("compactdefaultargs") Find; + %feature("autodoc", "* Return the child animation with the given name. + :param theAnimationName: + :type theAnimationName: TCollection_AsciiString & + :rtype: opencascade::handle") Find; + opencascade::handle Find (const TCollection_AsciiString & theAnimationName); + + /****************** HasOwnDuration ******************/ + %feature("compactdefaultargs") HasOwnDuration; + %feature("autodoc", "* Return true if duration is defined. + :rtype: bool") HasOwnDuration; + Standard_Boolean HasOwnDuration (); + + /****************** IsStopped ******************/ + %feature("compactdefaultargs") IsStopped; + %feature("autodoc", "* Check if animation is to be performed in the animation timeline. returns True if it is stopped of finished. + :rtype: bool") IsStopped; + bool IsStopped (); + + /****************** Name ******************/ + %feature("compactdefaultargs") Name; + %feature("autodoc", "* Animation name. + :rtype: TCollection_AsciiString") Name; + const TCollection_AsciiString & Name (); + + /****************** OwnDuration ******************/ + %feature("compactdefaultargs") OwnDuration; + %feature("autodoc", "* returns own duration of the animation in the timeline + :rtype: float") OwnDuration; + Standard_Real OwnDuration (); + + /****************** Pause ******************/ + %feature("compactdefaultargs") Pause; + %feature("autodoc", "* Pause the process timeline. + :rtype: void") Pause; + virtual void Pause (); + + /****************** Remove ******************/ + %feature("compactdefaultargs") Remove; + %feature("autodoc", "* Remove the child animation. + :param theAnimation: + :type theAnimation: opencascade::handle & + :rtype: bool") Remove; + Standard_Boolean Remove (const opencascade::handle & theAnimation); + + /****************** Replace ******************/ + %feature("compactdefaultargs") Replace; + %feature("autodoc", "* Replace the child animation. + :param theAnimationOld: + :type theAnimationOld: opencascade::handle & + :param theAnimationNew: + :type theAnimationNew: opencascade::handle & + :rtype: bool") Replace; + Standard_Boolean Replace (const opencascade::handle & theAnimationOld,const opencascade::handle & theAnimationNew); + + /****************** SetOwnDuration ******************/ + %feature("compactdefaultargs") SetOwnDuration; + %feature("autodoc", "* Defines duration of the animation. + :param theDuration: + :type theDuration: float + :rtype: None") SetOwnDuration; + void SetOwnDuration (const Standard_Real theDuration); + + /****************** SetStartPts ******************/ + %feature("compactdefaultargs") SetStartPts; + %feature("autodoc", "* Sets time limits for animation in the animation timeline + :param thePtsStart: + :type thePtsStart: float + :rtype: None") SetStartPts; + void SetStartPts (const Standard_Real thePtsStart); + + /****************** Start ******************/ + %feature("compactdefaultargs") Start; + %feature("autodoc", "* Start animation. This method changes status of the animation to Started. This status defines whether animation is to be performed in the timeline or not. @param theToUpdate call Update() method + :param theToUpdate: + :type theToUpdate: bool + :rtype: void") Start; + virtual void Start (const Standard_Boolean theToUpdate); + + /****************** StartPts ******************/ + %feature("compactdefaultargs") StartPts; + %feature("autodoc", "* returns start time of the animation in the timeline + :rtype: float") StartPts; + Standard_Real StartPts (); + + /****************** StartTimer ******************/ + %feature("compactdefaultargs") StartTimer; + %feature("autodoc", "* Start animation with internally defined timer instance. Calls ::Start() internally. //! Note, that this method initializes a timer calculating an elapsed time (presentation timestamps within AIS_Animation::UpdateTimer()), not a multimedia timer executing Viewer updates at specific intervals! Viewer redrawing should be managed at application level, so that AIS_Animation::UpdateTimer() is called once right before each redrawing of a Viewer content. //! @param theStartPts starting timer position (presentation timestamp) @param thePlaySpeed playback speed (1.0 means normal speed) @param theToUpdate flag to update defined animations to specified start position @param theToStopTimer flag to pause timer at the starting position + :param theStartPts: + :type theStartPts: float + :param thePlaySpeed: + :type thePlaySpeed: float + :param theToUpdate: + :type theToUpdate: bool + :param theToStopTimer: default value is Standard_False + :type theToStopTimer: bool + :rtype: void") StartTimer; + virtual void StartTimer (const Standard_Real theStartPts,const Standard_Real thePlaySpeed,const Standard_Boolean theToUpdate,const Standard_Boolean theToStopTimer = Standard_False); + + /****************** Stop ******************/ + %feature("compactdefaultargs") Stop; + %feature("autodoc", "* Stop animation. This method changed status of the animation to Stopped. This status shows that animation will not be performed in the timeline or it is finished. + :rtype: void") Stop; + virtual void Stop (); + + /****************** Update ******************/ + %feature("compactdefaultargs") Update; + %feature("autodoc", "* Update single frame of animation, update timer state @param thePts [in] the time moment within [0; Duration()] returns True if timeline is in progress + :param thePts: + :type thePts: float + :rtype: bool") Update; + virtual Standard_Boolean Update (const Standard_Real thePts); + + /****************** UpdateTimer ******************/ + %feature("compactdefaultargs") UpdateTimer; + %feature("autodoc", "* Update single frame of animation, update timer state returns current time of timeline progress. + :rtype: float") UpdateTimer; + virtual Standard_Real UpdateTimer (); + + /****************** UpdateTotalDuration ******************/ + %feature("compactdefaultargs") UpdateTotalDuration; + %feature("autodoc", "* Update total duration considering all animations on timeline. + :rtype: None") UpdateTotalDuration; + void UpdateTotalDuration (); + +}; + + +%make_alias(AIS_Animation) + +%extend AIS_Animation { + %pythoncode { + __repr__ = _dumps_object + } +}; + +/****************************** +* class AIS_AnimationProgress * +******************************/ +%nodefaultctor AIS_AnimationProgress; +class AIS_AnimationProgress { + public: + float Pts; + float LocalPts; + float LocalNormalized; + /****************** AIS_AnimationProgress ******************/ + %feature("compactdefaultargs") AIS_AnimationProgress; + %feature("autodoc", "* //!< normalized position within current animation within 0..1 range + :rtype: None") AIS_AnimationProgress; + AIS_AnimationProgress (); + +}; + + +%extend AIS_AnimationProgress { + %pythoncode { + __repr__ = _dumps_object + } +}; + +/**************************** +* class AIS_AttributeFilter * +****************************/ %nodefaultctor AIS_AttributeFilter; class AIS_AttributeFilter : public SelectMgr_Filter { public: + /****************** AIS_AttributeFilter ******************/ %feature("compactdefaultargs") AIS_AttributeFilter; - %feature("autodoc", " * Constructs an empty attribute filter object. This filter object determines whether selectable interactive objects have a non-null owner. - - :rtype: None -") AIS_AttributeFilter; + %feature("autodoc", "* Constructs an empty attribute filter object. This filter object determines whether selectable interactive objects have a non-null owner. + :rtype: None") AIS_AttributeFilter; AIS_AttributeFilter (); - %feature("compactdefaultargs") AIS_AttributeFilter; - %feature("autodoc", " * Constructs an attribute filter object defined by the color attribute aCol. + /****************** AIS_AttributeFilter ******************/ + %feature("compactdefaultargs") AIS_AttributeFilter; + %feature("autodoc", "* Constructs an attribute filter object defined by the color attribute aCol. :param aCol: :type aCol: Quantity_NameOfColor - :rtype: None -") AIS_AttributeFilter; + :rtype: None") AIS_AttributeFilter; AIS_AttributeFilter (const Quantity_NameOfColor aCol); - %feature("compactdefaultargs") AIS_AttributeFilter; - %feature("autodoc", " * Constructs an attribute filter object defined by the line width attribute aWidth. + /****************** AIS_AttributeFilter ******************/ + %feature("compactdefaultargs") AIS_AttributeFilter; + %feature("autodoc", "* Constructs an attribute filter object defined by the line width attribute aWidth. :param aWidth: :type aWidth: float - :rtype: None -") AIS_AttributeFilter; + :rtype: None") AIS_AttributeFilter; AIS_AttributeFilter (const Standard_Real aWidth); - %feature("compactdefaultargs") HasColor; - %feature("autodoc", " * Indicates that the Interactive Object has the color setting specified by the argument aCol at construction time. - :rtype: bool -") HasColor; + /****************** HasColor ******************/ + %feature("compactdefaultargs") HasColor; + %feature("autodoc", "* Indicates that the Interactive Object has the color setting specified by the argument aCol at construction time. + :rtype: bool") HasColor; Standard_Boolean HasColor (); - %feature("compactdefaultargs") HasWidth; - %feature("autodoc", " * Indicates that the Interactive Object has the width setting specified by the argument aWidth at construction time. - :rtype: bool -") HasWidth; + /****************** HasWidth ******************/ + %feature("compactdefaultargs") HasWidth; + %feature("autodoc", "* Indicates that the Interactive Object has the width setting specified by the argument aWidth at construction time. + :rtype: bool") HasWidth; Standard_Boolean HasWidth (); - %feature("compactdefaultargs") SetColor; - %feature("autodoc", " * Sets the color aCol. This must be chosen from the list of colors in Quantity_NameOfColor. + /****************** IsOk ******************/ + %feature("compactdefaultargs") IsOk; + %feature("autodoc", "* Indicates that the selected Interactive Object passes the filter. The owner, anObj, can be either direct or user. A direct owner is the corresponding construction element, whereas a user is the compound shape of which the entity forms a part. If the Interactive Object returns Standard_True when detected by the Local Context selector through the mouse, the object is kept; if not, it is rejected. + :param anObj: + :type anObj: opencascade::handle & + :rtype: bool") IsOk; + virtual Standard_Boolean IsOk (const opencascade::handle & anObj); + + /****************** SetColor ******************/ + %feature("compactdefaultargs") SetColor; + %feature("autodoc", "* Sets the color aCol. This must be chosen from the list of colors in Quantity_NameOfColor. :param aCol: :type aCol: Quantity_NameOfColor - :rtype: None -") SetColor; + :rtype: None") SetColor; void SetColor (const Quantity_NameOfColor aCol); - %feature("compactdefaultargs") SetWidth; - %feature("autodoc", " * Sets the line width aWidth. + /****************** SetWidth ******************/ + %feature("compactdefaultargs") SetWidth; + %feature("autodoc", "* Sets the line width aWidth. :param aWidth: :type aWidth: float - :rtype: None -") SetWidth; + :rtype: None") SetWidth; void SetWidth (const Standard_Real aWidth); - %feature("compactdefaultargs") UnsetColor; - %feature("autodoc", " * Removes the setting for color from the filter. - :rtype: None -") UnsetColor; + /****************** UnsetColor ******************/ + %feature("compactdefaultargs") UnsetColor; + %feature("autodoc", "* Removes the setting for color from the filter. + :rtype: None") UnsetColor; void UnsetColor (); - %feature("compactdefaultargs") UnsetWidth; - %feature("autodoc", " * Removes the setting for width from the filter. - :rtype: None -") UnsetWidth; + /****************** UnsetWidth ******************/ + %feature("compactdefaultargs") UnsetWidth; + %feature("autodoc", "* Removes the setting for width from the filter. + :rtype: None") UnsetWidth; void UnsetWidth (); - %feature("compactdefaultargs") IsOk; - %feature("autodoc", " * Indicates that the selected Interactive Object passes the filter. The owner, anObj, can be either direct or user. A direct owner is the corresponding construction element, whereas a user is the compound shape of which the entity forms a part. If the Interactive Object returns Standard_True when detected by the Local Context selector through the mouse, the object is kept; if not, it is rejected. - :param anObj: - :type anObj: Handle_SelectMgr_EntityOwner & - :rtype: bool -") IsOk; - virtual Standard_Boolean IsOk (const Handle_SelectMgr_EntityOwner & anObj); }; @@ -888,53 +1205,59 @@ class AIS_AttributeFilter : public SelectMgr_Filter { __repr__ = _dumps_object } }; + +/************************** +* class AIS_BadEdgeFilter * +**************************/ %nodefaultctor AIS_BadEdgeFilter; class AIS_BadEdgeFilter : public SelectMgr_Filter { public: + /****************** AIS_BadEdgeFilter ******************/ %feature("compactdefaultargs") AIS_BadEdgeFilter; - %feature("autodoc", " * Constructs an empty filter object for bad edges. - - :rtype: None -") AIS_BadEdgeFilter; + %feature("autodoc", "* Constructs an empty filter object for bad edges. + :rtype: None") AIS_BadEdgeFilter; AIS_BadEdgeFilter (); + + /****************** ActsOn ******************/ %feature("compactdefaultargs") ActsOn; - %feature("autodoc", " :param aType: + %feature("autodoc", ":param aType: :type aType: TopAbs_ShapeEnum - :rtype: bool -") ActsOn; + :rtype: bool") ActsOn; virtual Standard_Boolean ActsOn (const TopAbs_ShapeEnum aType); - %feature("compactdefaultargs") IsOk; - %feature("autodoc", " :param EO: - :type EO: Handle_SelectMgr_EntityOwner & - :rtype: bool -") IsOk; - virtual Standard_Boolean IsOk (const Handle_SelectMgr_EntityOwner & EO); - %feature("compactdefaultargs") SetContour; - %feature("autodoc", " * sets with current contour. used by IsOk. - :param Index: - :type Index: int - :rtype: None -") SetContour; - void SetContour (const Standard_Integer Index); + /****************** AddEdge ******************/ %feature("compactdefaultargs") AddEdge; - %feature("autodoc", " * Adds an edge to the list of non-selectionnable edges. - + %feature("autodoc", "* Adds an edge to the list of non-selectionnable edges. :param anEdge: :type anEdge: TopoDS_Edge & :param Index: :type Index: int - :rtype: None -") AddEdge; + :rtype: None") AddEdge; void AddEdge (const TopoDS_Edge & anEdge,const Standard_Integer Index); - %feature("compactdefaultargs") RemoveEdges; - %feature("autodoc", " * removes from the list of non-selectionnable edges all edges in the contour . + /****************** IsOk ******************/ + %feature("compactdefaultargs") IsOk; + %feature("autodoc", ":param EO: + :type EO: opencascade::handle & + :rtype: bool") IsOk; + virtual Standard_Boolean IsOk (const opencascade::handle & EO); + + /****************** RemoveEdges ******************/ + %feature("compactdefaultargs") RemoveEdges; + %feature("autodoc", "* removes from the list of non-selectionnable edges all edges in the contour . :param Index: :type Index: int - :rtype: None -") RemoveEdges; + :rtype: None") RemoveEdges; void RemoveEdges (const Standard_Integer Index); + + /****************** SetContour ******************/ + %feature("compactdefaultargs") SetContour; + %feature("autodoc", "* sets with current contour. used by IsOk. + :param Index: + :type Index: int + :rtype: None") SetContour; + void SetContour (const Standard_Integer Index); + }; @@ -945,27 +1268,34 @@ class AIS_BadEdgeFilter : public SelectMgr_Filter { __repr__ = _dumps_object } }; + +/******************************* +* class AIS_C0RegularityFilter * +*******************************/ %nodefaultctor AIS_C0RegularityFilter; class AIS_C0RegularityFilter : public SelectMgr_Filter { public: + /****************** AIS_C0RegularityFilter ******************/ %feature("compactdefaultargs") AIS_C0RegularityFilter; - %feature("autodoc", " :param aShape: + %feature("autodoc", ":param aShape: :type aShape: TopoDS_Shape & - :rtype: None -") AIS_C0RegularityFilter; + :rtype: None") AIS_C0RegularityFilter; AIS_C0RegularityFilter (const TopoDS_Shape & aShape); + + /****************** ActsOn ******************/ %feature("compactdefaultargs") ActsOn; - %feature("autodoc", " :param aType: + %feature("autodoc", ":param aType: :type aType: TopAbs_ShapeEnum - :rtype: bool -") ActsOn; + :rtype: bool") ActsOn; virtual Standard_Boolean ActsOn (const TopAbs_ShapeEnum aType); + + /****************** IsOk ******************/ %feature("compactdefaultargs") IsOk; - %feature("autodoc", " :param EO: - :type EO: Handle_SelectMgr_EntityOwner & - :rtype: bool -") IsOk; - virtual Standard_Boolean IsOk (const Handle_SelectMgr_EntityOwner & EO); + %feature("autodoc", ":param EO: + :type EO: opencascade::handle & + :rtype: bool") IsOk; + virtual Standard_Boolean IsOk (const opencascade::handle & EO); + }; @@ -976,790 +1306,280 @@ class AIS_C0RegularityFilter : public SelectMgr_Filter { __repr__ = _dumps_object } }; -%nodefaultctor AIS_DataMapIteratorOfDataMapOfILC; -class AIS_DataMapIteratorOfDataMapOfILC : public TCollection_BasicMapIterator { - public: - %feature("compactdefaultargs") AIS_DataMapIteratorOfDataMapOfILC; - %feature("autodoc", " :rtype: None -") AIS_DataMapIteratorOfDataMapOfILC; - AIS_DataMapIteratorOfDataMapOfILC (); - %feature("compactdefaultargs") AIS_DataMapIteratorOfDataMapOfILC; - %feature("autodoc", " :param aMap: - :type aMap: AIS_DataMapOfILC & - :rtype: None -") AIS_DataMapIteratorOfDataMapOfILC; - AIS_DataMapIteratorOfDataMapOfILC (const AIS_DataMapOfILC & aMap); - %feature("compactdefaultargs") Initialize; - %feature("autodoc", " :param aMap: - :type aMap: AIS_DataMapOfILC & - :rtype: None -") Initialize; - void Initialize (const AIS_DataMapOfILC & aMap); - %feature("compactdefaultargs") Key; - %feature("autodoc", " :rtype: int -") Key; - const Standard_Integer & Key (); - %feature("compactdefaultargs") Value; - %feature("autodoc", " :rtype: Handle_AIS_LocalContext -") Value; - Handle_AIS_LocalContext Value (); -}; - -%extend AIS_DataMapIteratorOfDataMapOfILC { - %pythoncode { - __repr__ = _dumps_object - } -}; -%nodefaultctor AIS_DataMapIteratorOfDataMapOfIOStatus; -class AIS_DataMapIteratorOfDataMapOfIOStatus : public TCollection_BasicMapIterator { +/************************** +* class AIS_ColoredDrawer * +**************************/ +%nodefaultctor AIS_ColoredDrawer; +class AIS_ColoredDrawer : public Prs3d_Drawer { public: - %feature("compactdefaultargs") AIS_DataMapIteratorOfDataMapOfIOStatus; - %feature("autodoc", " :rtype: None -") AIS_DataMapIteratorOfDataMapOfIOStatus; - AIS_DataMapIteratorOfDataMapOfIOStatus (); - %feature("compactdefaultargs") AIS_DataMapIteratorOfDataMapOfIOStatus; - %feature("autodoc", " :param aMap: - :type aMap: AIS_DataMapOfIOStatus & - :rtype: None -") AIS_DataMapIteratorOfDataMapOfIOStatus; - AIS_DataMapIteratorOfDataMapOfIOStatus (const AIS_DataMapOfIOStatus & aMap); - %feature("compactdefaultargs") Initialize; - %feature("autodoc", " :param aMap: - :type aMap: AIS_DataMapOfIOStatus & - :rtype: None -") Initialize; - void Initialize (const AIS_DataMapOfIOStatus & aMap); - %feature("compactdefaultargs") Key; - %feature("autodoc", " :rtype: Handle_AIS_InteractiveObject -") Key; - Handle_AIS_InteractiveObject Key (); - %feature("compactdefaultargs") Value; - %feature("autodoc", " :rtype: Handle_AIS_GlobalStatus -") Value; - Handle_AIS_GlobalStatus Value (); -}; - - -%extend AIS_DataMapIteratorOfDataMapOfIOStatus { + bool myIsHidden; + bool myHasOwnColor; + bool myHasOwnTransp; + bool myHasOwnWidth; + /****************** AIS_ColoredDrawer ******************/ + %feature("compactdefaultargs") AIS_ColoredDrawer; + %feature("autodoc", "* Default constructor. + :param theLink: + :type theLink: opencascade::handle & + :rtype: None") AIS_ColoredDrawer; + AIS_ColoredDrawer (const opencascade::handle & theLink); + + /****************** HasOwnColor ******************/ + %feature("compactdefaultargs") HasOwnColor; + %feature("autodoc", ":rtype: bool") HasOwnColor; + bool HasOwnColor (); + + /****************** HasOwnTransparency ******************/ + %feature("compactdefaultargs") HasOwnTransparency; + %feature("autodoc", ":rtype: bool") HasOwnTransparency; + bool HasOwnTransparency (); + + /****************** HasOwnWidth ******************/ + %feature("compactdefaultargs") HasOwnWidth; + %feature("autodoc", ":rtype: bool") HasOwnWidth; + bool HasOwnWidth (); + + /****************** IsHidden ******************/ + %feature("compactdefaultargs") IsHidden; + %feature("autodoc", ":rtype: bool") IsHidden; + bool IsHidden (); + + /****************** SetHidden ******************/ + %feature("compactdefaultargs") SetHidden; + %feature("autodoc", ":param theToHide: + :type theToHide: bool + :rtype: None") SetHidden; + void SetHidden (const bool theToHide); + + /****************** SetOwnColor ******************/ + %feature("compactdefaultargs") SetOwnColor; + %feature("autodoc", ":param &: + :type &: Quantity_Color + :rtype: None") SetOwnColor; + void SetOwnColor (const Quantity_Color &); + + /****************** SetOwnTransparency ******************/ + %feature("compactdefaultargs") SetOwnTransparency; + %feature("autodoc", ":param : + :type : float + :rtype: None") SetOwnTransparency; + void SetOwnTransparency (Standard_Real ); + + /****************** SetOwnWidth ******************/ + %feature("compactdefaultargs") SetOwnWidth; + %feature("autodoc", ":param Standard_Real: + :type Standard_Real: + :rtype: None") SetOwnWidth; + void SetOwnWidth (const Standard_Real); + + /****************** UnsetOwnColor ******************/ + %feature("compactdefaultargs") UnsetOwnColor; + %feature("autodoc", ":rtype: None") UnsetOwnColor; + void UnsetOwnColor (); + + /****************** UnsetOwnTransparency ******************/ + %feature("compactdefaultargs") UnsetOwnTransparency; + %feature("autodoc", ":rtype: None") UnsetOwnTransparency; + void UnsetOwnTransparency (); + + /****************** UnsetOwnWidth ******************/ + %feature("compactdefaultargs") UnsetOwnWidth; + %feature("autodoc", ":rtype: None") UnsetOwnWidth; + void UnsetOwnWidth (); + +}; + + +%make_alias(AIS_ColoredDrawer) + +%extend AIS_ColoredDrawer { %pythoncode { __repr__ = _dumps_object } }; -%nodefaultctor AIS_DataMapIteratorOfDataMapOfSelStat; -class AIS_DataMapIteratorOfDataMapOfSelStat : public TCollection_BasicMapIterator { + +/*************************** +* class AIS_DimensionOwner * +***************************/ +%nodefaultctor AIS_DimensionOwner; +class AIS_DimensionOwner : public SelectMgr_EntityOwner { public: - %feature("compactdefaultargs") AIS_DataMapIteratorOfDataMapOfSelStat; - %feature("autodoc", " :rtype: None -") AIS_DataMapIteratorOfDataMapOfSelStat; - AIS_DataMapIteratorOfDataMapOfSelStat (); - %feature("compactdefaultargs") AIS_DataMapIteratorOfDataMapOfSelStat; - %feature("autodoc", " :param aMap: - :type aMap: AIS_DataMapOfSelStat & - :rtype: None -") AIS_DataMapIteratorOfDataMapOfSelStat; - AIS_DataMapIteratorOfDataMapOfSelStat (const AIS_DataMapOfSelStat & aMap); - %feature("compactdefaultargs") Initialize; - %feature("autodoc", " :param aMap: - :type aMap: AIS_DataMapOfSelStat & - :rtype: None -") Initialize; - void Initialize (const AIS_DataMapOfSelStat & aMap); - %feature("compactdefaultargs") Key; - %feature("autodoc", " :rtype: Handle_SelectMgr_SelectableObject -") Key; - Handle_SelectMgr_SelectableObject Key (); - %feature("compactdefaultargs") Value; - %feature("autodoc", " :rtype: Handle_AIS_LocalStatus -") Value; - Handle_AIS_LocalStatus Value (); -}; + /****************** AIS_DimensionOwner ******************/ + %feature("compactdefaultargs") AIS_DimensionOwner; + %feature("autodoc", "* Initializes the dimension owner, theSO, and attributes it the priority, thePriority. + :param theSelObject: + :type theSelObject: opencascade::handle & + :param theSelMode: + :type theSelMode: AIS_DimensionSelectionMode + :param thePriority: default value is 0 + :type thePriority: int + :rtype: None") AIS_DimensionOwner; + AIS_DimensionOwner (const opencascade::handle & theSelObject,const AIS_DimensionSelectionMode theSelMode,const Standard_Integer thePriority = 0); + /****************** HilightWithColor ******************/ + %feature("compactdefaultargs") HilightWithColor; + %feature("autodoc", ":param thePM: + :type thePM: opencascade::handle & + :param theStyle: + :type theStyle: opencascade::handle & + :param theMode: default value is 0 + :type theMode: int + :rtype: void") HilightWithColor; + virtual void HilightWithColor (const opencascade::handle & thePM,const opencascade::handle & theStyle,const Standard_Integer theMode = 0); -%extend AIS_DataMapIteratorOfDataMapOfSelStat { - %pythoncode { - __repr__ = _dumps_object - } -}; -%nodefaultctor AIS_DataMapIteratorOfDataMapofIntegerListOfinteractive; -class AIS_DataMapIteratorOfDataMapofIntegerListOfinteractive : public TCollection_BasicMapIterator { - public: - %feature("compactdefaultargs") AIS_DataMapIteratorOfDataMapofIntegerListOfinteractive; - %feature("autodoc", " :rtype: None -") AIS_DataMapIteratorOfDataMapofIntegerListOfinteractive; - AIS_DataMapIteratorOfDataMapofIntegerListOfinteractive (); - %feature("compactdefaultargs") AIS_DataMapIteratorOfDataMapofIntegerListOfinteractive; - %feature("autodoc", " :param aMap: - :type aMap: AIS_DataMapofIntegerListOfinteractive & - :rtype: None -") AIS_DataMapIteratorOfDataMapofIntegerListOfinteractive; - AIS_DataMapIteratorOfDataMapofIntegerListOfinteractive (const AIS_DataMapofIntegerListOfinteractive & aMap); - %feature("compactdefaultargs") Initialize; - %feature("autodoc", " :param aMap: - :type aMap: AIS_DataMapofIntegerListOfinteractive & - :rtype: None -") Initialize; - void Initialize (const AIS_DataMapofIntegerListOfinteractive & aMap); - %feature("compactdefaultargs") Key; - %feature("autodoc", " :rtype: int -") Key; - const Standard_Integer & Key (); - %feature("compactdefaultargs") Value; - %feature("autodoc", " :rtype: AIS_ListOfInteractive -") Value; - const AIS_ListOfInteractive & Value (); -}; + /****************** IsHilighted ******************/ + %feature("compactdefaultargs") IsHilighted; + %feature("autodoc", "* Returns true if an object with the selection mode aMode is highlighted in the presentation manager aPM. + :param thePM: + :type thePM: opencascade::handle & + :param theMode: default value is 0 + :type theMode: int + :rtype: bool") IsHilighted; + virtual Standard_Boolean IsHilighted (const opencascade::handle & thePM,const Standard_Integer theMode = 0); + /****************** SelectionMode ******************/ + %feature("compactdefaultargs") SelectionMode; + %feature("autodoc", ":rtype: AIS_DimensionSelectionMode") SelectionMode; + AIS_DimensionSelectionMode SelectionMode (); + + /****************** Unhilight ******************/ + %feature("compactdefaultargs") Unhilight; + %feature("autodoc", "* Removes highlighting from the selected part of dimension. + :param thePM: + :type thePM: opencascade::handle & + :param theMode: default value is 0 + :type theMode: int + :rtype: void") Unhilight; + virtual void Unhilight (const opencascade::handle & thePM,const Standard_Integer theMode = 0); -%extend AIS_DataMapIteratorOfDataMapofIntegerListOfinteractive { - %pythoncode { - __repr__ = _dumps_object - } -}; -%nodefaultctor AIS_DataMapNodeOfDataMapOfILC; -class AIS_DataMapNodeOfDataMapOfILC : public TCollection_MapNode { - public: - %feature("compactdefaultargs") AIS_DataMapNodeOfDataMapOfILC; - %feature("autodoc", " :param K: - :type K: int & - :param I: - :type I: Handle_AIS_LocalContext & - :param n: - :type n: TCollection_MapNodePtr & - :rtype: None -") AIS_DataMapNodeOfDataMapOfILC; - AIS_DataMapNodeOfDataMapOfILC (const Standard_Integer & K,const Handle_AIS_LocalContext & I,const TCollection_MapNodePtr & n); - - %feature("autodoc","1"); - %extend { - Standard_Integer GetKey() { - return (Standard_Integer) $self->Key(); - } - }; - %feature("autodoc","1"); - %extend { - void SetKey(Standard_Integer value ) { - $self->Key()=value; - } - }; - %feature("compactdefaultargs") Value; - %feature("autodoc", " :rtype: Handle_AIS_LocalContext -") Value; - Handle_AIS_LocalContext Value (); -}; - - -%make_alias(AIS_DataMapNodeOfDataMapOfILC) - -%extend AIS_DataMapNodeOfDataMapOfILC { - %pythoncode { - __repr__ = _dumps_object - } -}; -%nodefaultctor AIS_DataMapNodeOfDataMapOfIOStatus; -class AIS_DataMapNodeOfDataMapOfIOStatus : public TCollection_MapNode { - public: - %feature("compactdefaultargs") AIS_DataMapNodeOfDataMapOfIOStatus; - %feature("autodoc", " :param K: - :type K: Handle_AIS_InteractiveObject & - :param I: - :type I: Handle_AIS_GlobalStatus & - :param n: - :type n: TCollection_MapNodePtr & - :rtype: None -") AIS_DataMapNodeOfDataMapOfIOStatus; - AIS_DataMapNodeOfDataMapOfIOStatus (const Handle_AIS_InteractiveObject & K,const Handle_AIS_GlobalStatus & I,const TCollection_MapNodePtr & n); - %feature("compactdefaultargs") Key; - %feature("autodoc", " :rtype: Handle_AIS_InteractiveObject -") Key; - Handle_AIS_InteractiveObject Key (); - %feature("compactdefaultargs") Value; - %feature("autodoc", " :rtype: Handle_AIS_GlobalStatus -") Value; - Handle_AIS_GlobalStatus Value (); }; -%make_alias(AIS_DataMapNodeOfDataMapOfIOStatus) +%make_alias(AIS_DimensionOwner) -%extend AIS_DataMapNodeOfDataMapOfIOStatus { +%extend AIS_DimensionOwner { %pythoncode { __repr__ = _dumps_object } }; -%nodefaultctor AIS_DataMapNodeOfDataMapOfSelStat; -class AIS_DataMapNodeOfDataMapOfSelStat : public TCollection_MapNode { + +/**************************** +* class AIS_ExclusionFilter * +****************************/ +%nodefaultctor AIS_ExclusionFilter; +class AIS_ExclusionFilter : public SelectMgr_Filter { public: - %feature("compactdefaultargs") AIS_DataMapNodeOfDataMapOfSelStat; - %feature("autodoc", " :param K: - :type K: Handle_SelectMgr_SelectableObject & - :param I: - :type I: Handle_AIS_LocalStatus & - :param n: - :type n: TCollection_MapNodePtr & - :rtype: None -") AIS_DataMapNodeOfDataMapOfSelStat; - AIS_DataMapNodeOfDataMapOfSelStat (const Handle_SelectMgr_SelectableObject & K,const Handle_AIS_LocalStatus & I,const TCollection_MapNodePtr & n); - %feature("compactdefaultargs") Key; - %feature("autodoc", " :rtype: Handle_SelectMgr_SelectableObject -") Key; - Handle_SelectMgr_SelectableObject Key (); - %feature("compactdefaultargs") Value; - %feature("autodoc", " :rtype: Handle_AIS_LocalStatus -") Value; - Handle_AIS_LocalStatus Value (); -}; + /****************** AIS_ExclusionFilter ******************/ + %feature("compactdefaultargs") AIS_ExclusionFilter; + %feature("autodoc", "* Constructs an empty exclusion filter object defined by the flag setting ExclusionFlagOn. By default, the flag is set to true. + :param ExclusionFlagOn: default value is Standard_True + :type ExclusionFlagOn: bool + :rtype: None") AIS_ExclusionFilter; + AIS_ExclusionFilter (const Standard_Boolean ExclusionFlagOn = Standard_True); + + /****************** AIS_ExclusionFilter ******************/ + %feature("compactdefaultargs") AIS_ExclusionFilter; + %feature("autodoc", "* All the AIS objects of Will be rejected by the IsOk Method. + :param TypeToExclude: + :type TypeToExclude: AIS_KindOfInteractive + :param ExclusionFlagOn: default value is Standard_True + :type ExclusionFlagOn: bool + :rtype: None") AIS_ExclusionFilter; + AIS_ExclusionFilter (const AIS_KindOfInteractive TypeToExclude,const Standard_Boolean ExclusionFlagOn = Standard_True); + /****************** AIS_ExclusionFilter ******************/ + %feature("compactdefaultargs") AIS_ExclusionFilter; + %feature("autodoc", "* Constructs an exclusion filter object defined by the enumeration value TypeToExclude, the signature SignatureInType, and the flag setting ExclusionFlagOn. By default, the flag is set to true. + :param TypeToExclude: + :type TypeToExclude: AIS_KindOfInteractive + :param SignatureInType: + :type SignatureInType: int + :param ExclusionFlagOn: default value is Standard_True + :type ExclusionFlagOn: bool + :rtype: None") AIS_ExclusionFilter; + AIS_ExclusionFilter (const AIS_KindOfInteractive TypeToExclude,const Standard_Integer SignatureInType,const Standard_Boolean ExclusionFlagOn = Standard_True); -%make_alias(AIS_DataMapNodeOfDataMapOfSelStat) + /****************** Add ******************/ + %feature("compactdefaultargs") Add; + %feature("autodoc", "* Adds the type TypeToExclude to the list of types. + :param TypeToExclude: + :type TypeToExclude: AIS_KindOfInteractive + :rtype: bool") Add; + Standard_Boolean Add (const AIS_KindOfInteractive TypeToExclude); -%extend AIS_DataMapNodeOfDataMapOfSelStat { - %pythoncode { - __repr__ = _dumps_object - } -}; -%nodefaultctor AIS_DataMapNodeOfDataMapofIntegerListOfinteractive; -class AIS_DataMapNodeOfDataMapofIntegerListOfinteractive : public TCollection_MapNode { - public: - %feature("compactdefaultargs") AIS_DataMapNodeOfDataMapofIntegerListOfinteractive; - %feature("autodoc", " :param K: - :type K: int & - :param I: - :type I: AIS_ListOfInteractive & - :param n: - :type n: TCollection_MapNodePtr & - :rtype: None -") AIS_DataMapNodeOfDataMapofIntegerListOfinteractive; - AIS_DataMapNodeOfDataMapofIntegerListOfinteractive (const Standard_Integer & K,const AIS_ListOfInteractive & I,const TCollection_MapNodePtr & n); - - %feature("autodoc","1"); - %extend { - Standard_Integer GetKey() { - return (Standard_Integer) $self->Key(); - } - }; - %feature("autodoc","1"); - %extend { - void SetKey(Standard_Integer value ) { - $self->Key()=value; - } - }; - %feature("compactdefaultargs") Value; - %feature("autodoc", " :rtype: AIS_ListOfInteractive -") Value; - AIS_ListOfInteractive & Value (); -}; - - -%make_alias(AIS_DataMapNodeOfDataMapofIntegerListOfinteractive) - -%extend AIS_DataMapNodeOfDataMapofIntegerListOfinteractive { - %pythoncode { - __repr__ = _dumps_object - } -}; -%nodefaultctor AIS_DataMapOfILC; -class AIS_DataMapOfILC : public TCollection_BasicMap { - public: - %feature("compactdefaultargs") AIS_DataMapOfILC; - %feature("autodoc", " :param NbBuckets: default value is 1 - :type NbBuckets: int - :rtype: None -") AIS_DataMapOfILC; - AIS_DataMapOfILC (const Standard_Integer NbBuckets = 1); - %feature("compactdefaultargs") Assign; - %feature("autodoc", " :param Other: - :type Other: AIS_DataMapOfILC & - :rtype: AIS_DataMapOfILC -") Assign; - AIS_DataMapOfILC & Assign (const AIS_DataMapOfILC & Other); - %feature("compactdefaultargs") operator =; - %feature("autodoc", " :param Other: - :type Other: AIS_DataMapOfILC & - :rtype: AIS_DataMapOfILC -") operator =; - AIS_DataMapOfILC & operator = (const AIS_DataMapOfILC & Other); - %feature("compactdefaultargs") ReSize; - %feature("autodoc", " :param NbBuckets: - :type NbBuckets: int - :rtype: None -") ReSize; - void ReSize (const Standard_Integer NbBuckets); + /****************** Add ******************/ + %feature("compactdefaultargs") Add; + %feature("autodoc", ":param TypeToExclude: + :type TypeToExclude: AIS_KindOfInteractive + :param SignatureInType: + :type SignatureInType: int + :rtype: bool") Add; + Standard_Boolean Add (const AIS_KindOfInteractive TypeToExclude,const Standard_Integer SignatureInType); + + /****************** Clear ******************/ %feature("compactdefaultargs") Clear; - %feature("autodoc", " :rtype: None -") Clear; + %feature("autodoc", ":rtype: None") Clear; void Clear (); - %feature("compactdefaultargs") Bind; - %feature("autodoc", " :param K: - :type K: int & - :param I: - :type I: Handle_AIS_LocalContext & - :rtype: bool -") Bind; - Standard_Boolean Bind (const Standard_Integer & K,const Handle_AIS_LocalContext & I); - %feature("compactdefaultargs") IsBound; - %feature("autodoc", " :param K: - :type K: int & - :rtype: bool -") IsBound; - Standard_Boolean IsBound (const Standard_Integer & K); - %feature("compactdefaultargs") UnBind; - %feature("autodoc", " :param K: - :type K: int & - :rtype: bool -") UnBind; - Standard_Boolean UnBind (const Standard_Integer & K); - %feature("compactdefaultargs") Find; - %feature("autodoc", " :param K: - :type K: int & - :rtype: Handle_AIS_LocalContext -") Find; - Handle_AIS_LocalContext Find (const Standard_Integer & K); - %feature("compactdefaultargs") ChangeFind; - %feature("autodoc", " :param K: - :type K: int & - :rtype: Handle_AIS_LocalContext -") ChangeFind; - Handle_AIS_LocalContext ChangeFind (const Standard_Integer & K); - %feature("compactdefaultargs") Find1; - %feature("autodoc", " :param K: - :type K: int & - :rtype: Standard_Address -") Find1; - Standard_Address Find1 (const Standard_Integer & K); - %feature("compactdefaultargs") ChangeFind1; - %feature("autodoc", " :param K: - :type K: int & - :rtype: Standard_Address -") ChangeFind1; - Standard_Address ChangeFind1 (const Standard_Integer & K); -}; - - -%extend AIS_DataMapOfILC { - %pythoncode { - __repr__ = _dumps_object - } -}; -%nodefaultctor AIS_DataMapOfIOStatus; -class AIS_DataMapOfIOStatus : public TCollection_BasicMap { - public: - %feature("compactdefaultargs") AIS_DataMapOfIOStatus; - %feature("autodoc", " :param NbBuckets: default value is 1 - :type NbBuckets: int - :rtype: None -") AIS_DataMapOfIOStatus; - AIS_DataMapOfIOStatus (const Standard_Integer NbBuckets = 1); - %feature("compactdefaultargs") Assign; - %feature("autodoc", " :param Other: - :type Other: AIS_DataMapOfIOStatus & - :rtype: AIS_DataMapOfIOStatus -") Assign; - AIS_DataMapOfIOStatus & Assign (const AIS_DataMapOfIOStatus & Other); - %feature("compactdefaultargs") operator =; - %feature("autodoc", " :param Other: - :type Other: AIS_DataMapOfIOStatus & - :rtype: AIS_DataMapOfIOStatus -") operator =; - AIS_DataMapOfIOStatus & operator = (const AIS_DataMapOfIOStatus & Other); - %feature("compactdefaultargs") ReSize; - %feature("autodoc", " :param NbBuckets: - :type NbBuckets: int - :rtype: None -") ReSize; - void ReSize (const Standard_Integer NbBuckets); - %feature("compactdefaultargs") Clear; - %feature("autodoc", " :rtype: None -") Clear; - void Clear (); - %feature("compactdefaultargs") Bind; - %feature("autodoc", " :param K: - :type K: Handle_AIS_InteractiveObject & - :param I: - :type I: Handle_AIS_GlobalStatus & - :rtype: bool -") Bind; - Standard_Boolean Bind (const Handle_AIS_InteractiveObject & K,const Handle_AIS_GlobalStatus & I); - %feature("compactdefaultargs") IsBound; - %feature("autodoc", " :param K: - :type K: Handle_AIS_InteractiveObject & - :rtype: bool -") IsBound; - Standard_Boolean IsBound (const Handle_AIS_InteractiveObject & K); - %feature("compactdefaultargs") UnBind; - %feature("autodoc", " :param K: - :type K: Handle_AIS_InteractiveObject & - :rtype: bool -") UnBind; - Standard_Boolean UnBind (const Handle_AIS_InteractiveObject & K); - %feature("compactdefaultargs") Find; - %feature("autodoc", " :param K: - :type K: Handle_AIS_InteractiveObject & - :rtype: Handle_AIS_GlobalStatus -") Find; - Handle_AIS_GlobalStatus Find (const Handle_AIS_InteractiveObject & K); - %feature("compactdefaultargs") ChangeFind; - %feature("autodoc", " :param K: - :type K: Handle_AIS_InteractiveObject & - :rtype: Handle_AIS_GlobalStatus -") ChangeFind; - Handle_AIS_GlobalStatus ChangeFind (const Handle_AIS_InteractiveObject & K); - %feature("compactdefaultargs") Find1; - %feature("autodoc", " :param K: - :type K: Handle_AIS_InteractiveObject & - :rtype: Standard_Address -") Find1; - Standard_Address Find1 (const Handle_AIS_InteractiveObject & K); - %feature("compactdefaultargs") ChangeFind1; - %feature("autodoc", " :param K: - :type K: Handle_AIS_InteractiveObject & - :rtype: Standard_Address -") ChangeFind1; - Standard_Address ChangeFind1 (const Handle_AIS_InteractiveObject & K); -}; - - -%extend AIS_DataMapOfIOStatus { - %pythoncode { - __repr__ = _dumps_object - } -}; -%nodefaultctor AIS_DataMapOfSelStat; -class AIS_DataMapOfSelStat : public TCollection_BasicMap { - public: - %feature("compactdefaultargs") AIS_DataMapOfSelStat; - %feature("autodoc", " :param NbBuckets: default value is 1 - :type NbBuckets: int - :rtype: None -") AIS_DataMapOfSelStat; - AIS_DataMapOfSelStat (const Standard_Integer NbBuckets = 1); - %feature("compactdefaultargs") Assign; - %feature("autodoc", " :param Other: - :type Other: AIS_DataMapOfSelStat & - :rtype: AIS_DataMapOfSelStat -") Assign; - AIS_DataMapOfSelStat & Assign (const AIS_DataMapOfSelStat & Other); - %feature("compactdefaultargs") operator =; - %feature("autodoc", " :param Other: - :type Other: AIS_DataMapOfSelStat & - :rtype: AIS_DataMapOfSelStat -") operator =; - AIS_DataMapOfSelStat & operator = (const AIS_DataMapOfSelStat & Other); - %feature("compactdefaultargs") ReSize; - %feature("autodoc", " :param NbBuckets: - :type NbBuckets: int - :rtype: None -") ReSize; - void ReSize (const Standard_Integer NbBuckets); - %feature("compactdefaultargs") Clear; - %feature("autodoc", " :rtype: None -") Clear; - void Clear (); - %feature("compactdefaultargs") Bind; - %feature("autodoc", " :param K: - :type K: Handle_SelectMgr_SelectableObject & - :param I: - :type I: Handle_AIS_LocalStatus & - :rtype: bool -") Bind; - Standard_Boolean Bind (const Handle_SelectMgr_SelectableObject & K,const Handle_AIS_LocalStatus & I); - %feature("compactdefaultargs") IsBound; - %feature("autodoc", " :param K: - :type K: Handle_SelectMgr_SelectableObject & - :rtype: bool -") IsBound; - Standard_Boolean IsBound (const Handle_SelectMgr_SelectableObject & K); - %feature("compactdefaultargs") UnBind; - %feature("autodoc", " :param K: - :type K: Handle_SelectMgr_SelectableObject & - :rtype: bool -") UnBind; - Standard_Boolean UnBind (const Handle_SelectMgr_SelectableObject & K); - %feature("compactdefaultargs") Find; - %feature("autodoc", " :param K: - :type K: Handle_SelectMgr_SelectableObject & - :rtype: Handle_AIS_LocalStatus -") Find; - Handle_AIS_LocalStatus Find (const Handle_SelectMgr_SelectableObject & K); - %feature("compactdefaultargs") ChangeFind; - %feature("autodoc", " :param K: - :type K: Handle_SelectMgr_SelectableObject & - :rtype: Handle_AIS_LocalStatus -") ChangeFind; - Handle_AIS_LocalStatus ChangeFind (const Handle_SelectMgr_SelectableObject & K); - %feature("compactdefaultargs") Find1; - %feature("autodoc", " :param K: - :type K: Handle_SelectMgr_SelectableObject & - :rtype: Standard_Address -") Find1; - Standard_Address Find1 (const Handle_SelectMgr_SelectableObject & K); - %feature("compactdefaultargs") ChangeFind1; - %feature("autodoc", " :param K: - :type K: Handle_SelectMgr_SelectableObject & - :rtype: Standard_Address -") ChangeFind1; - Standard_Address ChangeFind1 (const Handle_SelectMgr_SelectableObject & K); -}; - - -%extend AIS_DataMapOfSelStat { - %pythoncode { - __repr__ = _dumps_object - } -}; -%nodefaultctor AIS_DataMapofIntegerListOfinteractive; -class AIS_DataMapofIntegerListOfinteractive : public TCollection_BasicMap { - public: - %feature("compactdefaultargs") AIS_DataMapofIntegerListOfinteractive; - %feature("autodoc", " :param NbBuckets: default value is 1 - :type NbBuckets: int - :rtype: None -") AIS_DataMapofIntegerListOfinteractive; - AIS_DataMapofIntegerListOfinteractive (const Standard_Integer NbBuckets = 1); - %feature("compactdefaultargs") Assign; - %feature("autodoc", " :param Other: - :type Other: AIS_DataMapofIntegerListOfinteractive & - :rtype: AIS_DataMapofIntegerListOfinteractive -") Assign; - AIS_DataMapofIntegerListOfinteractive & Assign (const AIS_DataMapofIntegerListOfinteractive & Other); - %feature("compactdefaultargs") operator =; - %feature("autodoc", " :param Other: - :type Other: AIS_DataMapofIntegerListOfinteractive & - :rtype: AIS_DataMapofIntegerListOfinteractive -") operator =; - AIS_DataMapofIntegerListOfinteractive & operator = (const AIS_DataMapofIntegerListOfinteractive & Other); - %feature("compactdefaultargs") ReSize; - %feature("autodoc", " :param NbBuckets: - :type NbBuckets: int - :rtype: None -") ReSize; - void ReSize (const Standard_Integer NbBuckets); - %feature("compactdefaultargs") Clear; - %feature("autodoc", " :rtype: None -") Clear; - void Clear (); - %feature("compactdefaultargs") Bind; - %feature("autodoc", " :param K: - :type K: int & - :param I: - :type I: AIS_ListOfInteractive & - :rtype: bool -") Bind; - Standard_Boolean Bind (const Standard_Integer & K,const AIS_ListOfInteractive & I); - %feature("compactdefaultargs") IsBound; - %feature("autodoc", " :param K: - :type K: int & - :rtype: bool -") IsBound; - Standard_Boolean IsBound (const Standard_Integer & K); - %feature("compactdefaultargs") UnBind; - %feature("autodoc", " :param K: - :type K: int & - :rtype: bool -") UnBind; - Standard_Boolean UnBind (const Standard_Integer & K); - %feature("compactdefaultargs") Find; - %feature("autodoc", " :param K: - :type K: int & - :rtype: AIS_ListOfInteractive -") Find; - const AIS_ListOfInteractive & Find (const Standard_Integer & K); - %feature("compactdefaultargs") ChangeFind; - %feature("autodoc", " :param K: - :type K: int & - :rtype: AIS_ListOfInteractive -") ChangeFind; - AIS_ListOfInteractive & ChangeFind (const Standard_Integer & K); - %feature("compactdefaultargs") Find1; - %feature("autodoc", " :param K: - :type K: int & - :rtype: Standard_Address -") Find1; - Standard_Address Find1 (const Standard_Integer & K); - %feature("compactdefaultargs") ChangeFind1; - %feature("autodoc", " :param K: - :type K: int & - :rtype: Standard_Address -") ChangeFind1; - Standard_Address ChangeFind1 (const Standard_Integer & K); -}; - - -%extend AIS_DataMapofIntegerListOfinteractive { - %pythoncode { - __repr__ = _dumps_object - } -}; -%nodefaultctor AIS_DimensionOwner; -class AIS_DimensionOwner : public SelectMgr_EntityOwner { - public: - %feature("compactdefaultargs") AIS_DimensionOwner; - %feature("autodoc", " * Initializes the dimension owner, theSO, and attributes it the priority, thePriority. - - :param theSelObject: - :type theSelObject: Handle_SelectMgr_SelectableObject & - :param theSelMode: - :type theSelMode: AIS_DimensionSelectionMode - :param thePriority: default value is 0 - :type thePriority: int - :rtype: None -") AIS_DimensionOwner; - AIS_DimensionOwner (const Handle_SelectMgr_SelectableObject & theSelObject,const AIS_DimensionSelectionMode theSelMode,const Standard_Integer thePriority = 0); - %feature("compactdefaultargs") SelectionMode; - %feature("autodoc", " :rtype: AIS_DimensionSelectionMode -") SelectionMode; - AIS_DimensionSelectionMode SelectionMode (); - %feature("compactdefaultargs") HilightWithColor; - %feature("autodoc", " :param thePM: - :type thePM: Handle_PrsMgr_PresentationManager3d & - :param theColor: - :type theColor: Quantity_NameOfColor - :param theMode: default value is 0 - :type theMode: int - :rtype: void -") HilightWithColor; - virtual void HilightWithColor (const Handle_PrsMgr_PresentationManager3d & thePM,const Quantity_NameOfColor theColor,const Standard_Integer theMode = 0); - %feature("compactdefaultargs") IsHilighted; - %feature("autodoc", " * Returns true if an object with the selection mode aMode is highlighted in the presentation manager aPM. - - :param thePM: - :type thePM: Handle_PrsMgr_PresentationManager & - :param theMode: default value is 0 - :type theMode: int - :rtype: bool -") IsHilighted; - virtual Standard_Boolean IsHilighted (const Handle_PrsMgr_PresentationManager & thePM,const Standard_Integer theMode = 0); - %feature("compactdefaultargs") Hilight; - %feature("autodoc", " :param thePM: - :type thePM: Handle_PrsMgr_PresentationManager & - :param theMode: default value is 0 - :type theMode: int - :rtype: void -") Hilight; - virtual void Hilight (const Handle_PrsMgr_PresentationManager & thePM,const Standard_Integer theMode = 0); - %feature("compactdefaultargs") Unhilight; - %feature("autodoc", " * Removes highlighting from the selected part of dimension. - - :param thePM: - :type thePM: Handle_PrsMgr_PresentationManager & - :param theMode: default value is 0 - :type theMode: int - :rtype: void -") Unhilight; - virtual void Unhilight (const Handle_PrsMgr_PresentationManager & thePM,const Standard_Integer theMode = 0); -}; + /****************** IsExclusionFlagOn ******************/ + %feature("compactdefaultargs") IsExclusionFlagOn; + %feature("autodoc", ":rtype: bool") IsExclusionFlagOn; + Standard_Boolean IsExclusionFlagOn (); -%make_alias(AIS_DimensionOwner) - -%extend AIS_DimensionOwner { - %pythoncode { - __repr__ = _dumps_object - } -}; -%nodefaultctor AIS_ExclusionFilter; -class AIS_ExclusionFilter : public SelectMgr_Filter { - public: - %feature("compactdefaultargs") AIS_ExclusionFilter; - %feature("autodoc", " * Constructs an empty exclusion filter object defined by the flag setting ExclusionFlagOn. By default, the flag is set to true. + /****************** IsOk ******************/ + %feature("compactdefaultargs") IsOk; + %feature("autodoc", ":param anObj: + :type anObj: opencascade::handle & + :rtype: bool") IsOk; + virtual Standard_Boolean IsOk (const opencascade::handle & anObj); - :param ExclusionFlagOn: default value is Standard_True - :type ExclusionFlagOn: bool - :rtype: None -") AIS_ExclusionFilter; - AIS_ExclusionFilter (const Standard_Boolean ExclusionFlagOn = Standard_True); - %feature("compactdefaultargs") AIS_ExclusionFilter; - %feature("autodoc", " * All the AIS objects of Will be rejected by the IsOk Method. + /****************** IsStored ******************/ + %feature("compactdefaultargs") IsStored; + %feature("autodoc", ":param aType: + :type aType: AIS_KindOfInteractive + :rtype: bool") IsStored; + Standard_Boolean IsStored (const AIS_KindOfInteractive aType); - :param TypeToExclude: - :type TypeToExclude: AIS_KindOfInteractive - :param ExclusionFlagOn: default value is Standard_True - :type ExclusionFlagOn: bool - :rtype: None -") AIS_ExclusionFilter; - AIS_ExclusionFilter (const AIS_KindOfInteractive TypeToExclude,const Standard_Boolean ExclusionFlagOn = Standard_True); - %feature("compactdefaultargs") AIS_ExclusionFilter; - %feature("autodoc", " * Constructs an exclusion filter object defined by the enumeration value TypeToExclude, the signature SignatureInType, and the flag setting ExclusionFlagOn. By default, the flag is set to true. + /****************** ListOfSignature ******************/ + %feature("compactdefaultargs") ListOfSignature; + %feature("autodoc", ":param aType: + :type aType: AIS_KindOfInteractive + :param TheStoredList: + :type TheStoredList: TColStd_ListOfInteger & + :rtype: None") ListOfSignature; + void ListOfSignature (const AIS_KindOfInteractive aType,TColStd_ListOfInteger & TheStoredList); - :param TypeToExclude: - :type TypeToExclude: AIS_KindOfInteractive - :param SignatureInType: - :type SignatureInType: int - :param ExclusionFlagOn: default value is Standard_True - :type ExclusionFlagOn: bool - :rtype: None -") AIS_ExclusionFilter; - AIS_ExclusionFilter (const AIS_KindOfInteractive TypeToExclude,const Standard_Integer SignatureInType,const Standard_Boolean ExclusionFlagOn = Standard_True); - %feature("compactdefaultargs") IsOk; - %feature("autodoc", " :param anObj: - :type anObj: Handle_SelectMgr_EntityOwner & - :rtype: bool -") IsOk; - virtual Standard_Boolean IsOk (const Handle_SelectMgr_EntityOwner & anObj); - %feature("compactdefaultargs") Add; - %feature("autodoc", " * Adds the type TypeToExclude to the list of types. + /****************** ListOfStoredTypes ******************/ + %feature("compactdefaultargs") ListOfStoredTypes; + %feature("autodoc", ":param TheList: + :type TheList: TColStd_ListOfInteger & + :rtype: None") ListOfStoredTypes; + void ListOfStoredTypes (TColStd_ListOfInteger & TheList); - :param TypeToExclude: - :type TypeToExclude: AIS_KindOfInteractive - :rtype: bool -") Add; - Standard_Boolean Add (const AIS_KindOfInteractive TypeToExclude); - %feature("compactdefaultargs") Add; - %feature("autodoc", " :param TypeToExclude: - :type TypeToExclude: AIS_KindOfInteractive - :param SignatureInType: - :type SignatureInType: int - :rtype: bool -") Add; - Standard_Boolean Add (const AIS_KindOfInteractive TypeToExclude,const Standard_Integer SignatureInType); + /****************** Remove ******************/ %feature("compactdefaultargs") Remove; - %feature("autodoc", " :param TypeToExclude: + %feature("autodoc", ":param TypeToExclude: :type TypeToExclude: AIS_KindOfInteractive - :rtype: bool -") Remove; + :rtype: bool") Remove; Standard_Boolean Remove (const AIS_KindOfInteractive TypeToExclude); + + /****************** Remove ******************/ %feature("compactdefaultargs") Remove; - %feature("autodoc", " :param TypeToExclude: + %feature("autodoc", ":param TypeToExclude: :type TypeToExclude: AIS_KindOfInteractive :param SignatureInType: :type SignatureInType: int - :rtype: bool -") Remove; + :rtype: bool") Remove; Standard_Boolean Remove (const AIS_KindOfInteractive TypeToExclude,const Standard_Integer SignatureInType); - %feature("compactdefaultargs") Clear; - %feature("autodoc", " :rtype: None -") Clear; - void Clear (); - %feature("compactdefaultargs") IsExclusionFlagOn; - %feature("autodoc", " :rtype: bool -") IsExclusionFlagOn; - Standard_Boolean IsExclusionFlagOn (); + + /****************** SetExclusionFlag ******************/ %feature("compactdefaultargs") SetExclusionFlag; - %feature("autodoc", " :param Status: + %feature("autodoc", ":param Status: :type Status: bool - :rtype: None -") SetExclusionFlag; + :rtype: None") SetExclusionFlag; void SetExclusionFlag (const Standard_Boolean Status); - %feature("compactdefaultargs") IsStored; - %feature("autodoc", " :param aType: - :type aType: AIS_KindOfInteractive - :rtype: bool -") IsStored; - Standard_Boolean IsStored (const AIS_KindOfInteractive aType); - %feature("compactdefaultargs") ListOfStoredTypes; - %feature("autodoc", " :param TheList: - :type TheList: TColStd_ListOfInteger & - :rtype: None -") ListOfStoredTypes; - void ListOfStoredTypes (TColStd_ListOfInteger & TheList); - %feature("compactdefaultargs") ListOfSignature; - %feature("autodoc", " :param aType: - :type aType: AIS_KindOfInteractive - :param TheStoredList: - :type TheStoredList: TColStd_ListOfInteger & - :rtype: None -") ListOfSignature; - void ListOfSignature (const AIS_KindOfInteractive aType,TColStd_ListOfInteger & TheStoredList); + }; @@ -1770,15 +1590,21 @@ class AIS_ExclusionFilter : public SelectMgr_Filter { __repr__ = _dumps_object } }; + +/************************* +* class AIS_GlobalStatus * +*************************/ %nodefaultctor AIS_GlobalStatus; -class AIS_GlobalStatus : public MMgt_TShared { +class AIS_GlobalStatus : public Standard_Transient { public: + /****************** AIS_GlobalStatus ******************/ %feature("compactdefaultargs") AIS_GlobalStatus; - %feature("autodoc", " :rtype: None -") AIS_GlobalStatus; + %feature("autodoc", ":rtype: None") AIS_GlobalStatus; AIS_GlobalStatus (); + + /****************** AIS_GlobalStatus ******************/ %feature("compactdefaultargs") AIS_GlobalStatus; - %feature("autodoc", " :param aStat: + %feature("autodoc", ":param aStat: :type aStat: AIS_DisplayStatus :param aDispMode: :type aDispMode: int @@ -1786,113 +1612,123 @@ class AIS_GlobalStatus : public MMgt_TShared { :type aSelMode: int :param ishilighted: default value is Standard_False :type ishilighted: bool - :param TheHiCol: default value is Quantity_NOC_WHITE - :type TheHiCol: Quantity_NameOfColor :param aLayerIndex: default value is 0 :type aLayerIndex: int - :rtype: None -") AIS_GlobalStatus; - AIS_GlobalStatus (const AIS_DisplayStatus aStat,const Standard_Integer aDispMode,const Standard_Integer aSelMode,const Standard_Boolean ishilighted = Standard_False,const Quantity_NameOfColor TheHiCol = Quantity_NOC_WHITE,const Standard_Integer aLayerIndex = 0); - %feature("compactdefaultargs") SetGraphicStatus; - %feature("autodoc", " :param aStat: - :type aStat: AIS_DisplayStatus - :rtype: None -") SetGraphicStatus; - void SetGraphicStatus (const AIS_DisplayStatus aStat); - %feature("compactdefaultargs") AddDisplayMode; - %feature("autodoc", " :param aMode: - :type aMode: int - :rtype: None -") AddDisplayMode; - void AddDisplayMode (const Standard_Integer aMode); + :rtype: 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 ******************/ %feature("compactdefaultargs") AddSelectionMode; - %feature("autodoc", " :param aMode: - :type aMode: int - :rtype: None -") AddSelectionMode; - void AddSelectionMode (const Standard_Integer aMode); - %feature("compactdefaultargs") SetLayerIndex; - %feature("autodoc", " :param AnIndex: - :type AnIndex: int - :rtype: None -") SetLayerIndex; - void SetLayerIndex (const Standard_Integer AnIndex); - %feature("compactdefaultargs") SetHilightStatus; - %feature("autodoc", " :param aStat: - :type aStat: bool - :rtype: None -") SetHilightStatus; - void SetHilightStatus (const Standard_Boolean aStat); - %feature("compactdefaultargs") SetHilightColor; - %feature("autodoc", " :param aHiCol: - :type aHiCol: Quantity_NameOfColor - :rtype: None -") SetHilightColor; - void SetHilightColor (const Quantity_NameOfColor aHiCol); - %feature("compactdefaultargs") IsSubIntensityOn; - %feature("autodoc", " :rtype: bool -") IsSubIntensityOn; - Standard_Boolean IsSubIntensityOn (); - %feature("compactdefaultargs") SubIntensityOn; - %feature("autodoc", " :rtype: None -") SubIntensityOn; - void SubIntensityOn (); - %feature("compactdefaultargs") SubIntensityOff; - %feature("autodoc", " :rtype: None -") SubIntensityOff; - void SubIntensityOff (); - %feature("compactdefaultargs") RemoveDisplayMode; - %feature("autodoc", " :param aMode: - :type aMode: int - :rtype: None -") RemoveDisplayMode; - void RemoveDisplayMode (const Standard_Integer aMode); - %feature("compactdefaultargs") RemoveSelectionMode; - %feature("autodoc", " :param aMode: - :type aMode: int - :rtype: None -") RemoveSelectionMode; - void RemoveSelectionMode (const Standard_Integer aMode); + %feature("autodoc", ":param theMode: + :type theMode: int + :rtype: None") AddSelectionMode; + void AddSelectionMode (const Standard_Integer theMode); + + /****************** ClearSelectionModes ******************/ %feature("compactdefaultargs") ClearSelectionModes; - %feature("autodoc", " :rtype: None -") ClearSelectionModes; + %feature("autodoc", ":rtype: None") ClearSelectionModes; void ClearSelectionModes (); + + /****************** DisplayMode ******************/ + %feature("compactdefaultargs") DisplayMode; + %feature("autodoc", "* Returns the display mode. + :rtype: int") DisplayMode; + Standard_Integer DisplayMode (); + + /****************** GetLayerIndex ******************/ + %feature("compactdefaultargs") GetLayerIndex; + %feature("autodoc", "* Returns layer index. + :rtype: int") GetLayerIndex; + Standard_Integer GetLayerIndex (); + + /****************** GraphicStatus ******************/ %feature("compactdefaultargs") GraphicStatus; - %feature("autodoc", " :rtype: AIS_DisplayStatus -") GraphicStatus; + %feature("autodoc", ":rtype: AIS_DisplayStatus") GraphicStatus; AIS_DisplayStatus GraphicStatus (); - %feature("compactdefaultargs") DisplayedModes; - %feature("autodoc", " * keeps the information of displayed modes in the main viewer. - :rtype: TColStd_ListOfInteger -") DisplayedModes; - const TColStd_ListOfInteger & DisplayedModes (); - %feature("compactdefaultargs") SelectionModes; - %feature("autodoc", " * keeps the active selection modes of the object in the main viewer. + /****************** HilightStyle ******************/ + %feature("compactdefaultargs") HilightStyle; + %feature("autodoc", "* Returns applied highlight style for a particular object + :rtype: opencascade::handle") HilightStyle; + const opencascade::handle & HilightStyle (); - :rtype: TColStd_ListOfInteger -") SelectionModes; - const TColStd_ListOfInteger & SelectionModes (); + /****************** IsHilighted ******************/ %feature("compactdefaultargs") IsHilighted; - %feature("autodoc", " :rtype: bool -") IsHilighted; + %feature("autodoc", ":rtype: bool") IsHilighted; Standard_Boolean IsHilighted (); - %feature("compactdefaultargs") HilightColor; - %feature("autodoc", " :rtype: Quantity_NameOfColor -") HilightColor; - Quantity_NameOfColor HilightColor (); - %feature("compactdefaultargs") IsDModeIn; - %feature("autodoc", " :param aMode: - :type aMode: int - :rtype: bool -") IsDModeIn; - Standard_Boolean IsDModeIn (const Standard_Integer aMode); + + /****************** IsSModeIn ******************/ %feature("compactdefaultargs") IsSModeIn; - %feature("autodoc", " :param aMode: + %feature("autodoc", ":param aMode: :type aMode: int - :rtype: bool -") IsSModeIn; + :rtype: bool") IsSModeIn; Standard_Boolean IsSModeIn (const Standard_Integer aMode); + + /****************** IsSubIntensityOn ******************/ + %feature("compactdefaultargs") IsSubIntensityOn; + %feature("autodoc", ":rtype: bool") IsSubIntensityOn; + Standard_Boolean IsSubIntensityOn (); + + /****************** RemoveSelectionMode ******************/ + %feature("compactdefaultargs") RemoveSelectionMode; + %feature("autodoc", ":param aMode: + :type aMode: int + :rtype: None") RemoveSelectionMode; + void RemoveSelectionMode (const Standard_Integer aMode); + + /****************** SelectionModes ******************/ + %feature("compactdefaultargs") SelectionModes; + %feature("autodoc", "* keeps the active selection modes of the object in the main viewer. + :rtype: TColStd_ListOfInteger") SelectionModes; + const TColStd_ListOfInteger & SelectionModes (); + + /****************** SetDisplayMode ******************/ + %feature("compactdefaultargs") SetDisplayMode; + %feature("autodoc", "* Sets display mode. + :param theMode: + :type theMode: int + :rtype: None") SetDisplayMode; + void SetDisplayMode (const Standard_Integer theMode); + + /****************** SetGraphicStatus ******************/ + %feature("compactdefaultargs") SetGraphicStatus; + %feature("autodoc", ":param theStatus: + :type theStatus: AIS_DisplayStatus + :rtype: None") SetGraphicStatus; + void SetGraphicStatus (const AIS_DisplayStatus theStatus); + + /****************** SetHilightStatus ******************/ + %feature("compactdefaultargs") SetHilightStatus; + %feature("autodoc", ":param theStatus: + :type theStatus: bool + :rtype: None") SetHilightStatus; + void SetHilightStatus (const Standard_Boolean theStatus); + + /****************** SetHilightStyle ******************/ + %feature("compactdefaultargs") SetHilightStyle; + %feature("autodoc", "* Changes applied highlight style for a particular object + :param theStyle: + :type theStyle: opencascade::handle & + :rtype: None") SetHilightStyle; + void SetHilightStyle (const opencascade::handle & theStyle); + + /****************** SetLayerIndex ******************/ + %feature("compactdefaultargs") SetLayerIndex; + %feature("autodoc", ":param theIndex: + :type theIndex: int + :rtype: None") SetLayerIndex; + void SetLayerIndex (const Standard_Integer theIndex); + + /****************** SubIntensityOff ******************/ + %feature("compactdefaultargs") SubIntensityOff; + %feature("autodoc", ":rtype: None") SubIntensityOff; + void SubIntensityOff (); + + /****************** SubIntensityOn ******************/ + %feature("compactdefaultargs") SubIntensityOn; + %feature("autodoc", ":rtype: None") SubIntensityOn; + void SubIntensityOn (); + }; @@ -1903,76 +1739,88 @@ class AIS_GlobalStatus : public MMgt_TShared { __repr__ = _dumps_object } }; + +/************************ +* class AIS_GraphicTool * +************************/ class AIS_GraphicTool { public: + /****************** GetInteriorColor ******************/ + %feature("compactdefaultargs") GetInteriorColor; + %feature("autodoc", ":param aDrawer: + :type aDrawer: opencascade::handle & + :rtype: Quantity_NameOfColor") GetInteriorColor; + static Quantity_NameOfColor GetInteriorColor (const opencascade::handle & aDrawer); + + /****************** GetInteriorColor ******************/ + %feature("compactdefaultargs") GetInteriorColor; + %feature("autodoc", ":param aDrawer: + :type aDrawer: opencascade::handle & + :param aColor: + :type aColor: Quantity_Color & + :rtype: void") GetInteriorColor; + static void GetInteriorColor (const opencascade::handle & aDrawer,Quantity_Color & aColor); + + /****************** GetLineAtt ******************/ + %feature("compactdefaultargs") GetLineAtt; + %feature("autodoc", ":param aDrawer: + :type aDrawer: opencascade::handle & + :param TheTypeOfAttributes: + :type TheTypeOfAttributes: AIS_TypeOfAttribute + :param aCol: + :type aCol: Quantity_NameOfColor & + :param aWidth: + :type aWidth: float & + :param aTyp: + :type aTyp: Aspect_TypeOfLine & + :rtype: void") GetLineAtt; + static void GetLineAtt (const opencascade::handle & aDrawer,const AIS_TypeOfAttribute TheTypeOfAttributes,Quantity_NameOfColor & aCol,Standard_Real &OutValue,Aspect_TypeOfLine & aTyp); + + /****************** GetLineColor ******************/ %feature("compactdefaultargs") GetLineColor; - %feature("autodoc", " :param aDrawer: - :type aDrawer: Handle_Prs3d_Drawer & + %feature("autodoc", ":param aDrawer: + :type aDrawer: opencascade::handle & :param TheTypeOfAttributes: :type TheTypeOfAttributes: AIS_TypeOfAttribute - :rtype: Quantity_NameOfColor -") GetLineColor; - static Quantity_NameOfColor GetLineColor (const Handle_Prs3d_Drawer & aDrawer,const AIS_TypeOfAttribute TheTypeOfAttributes); + :rtype: Quantity_NameOfColor") GetLineColor; + static Quantity_NameOfColor GetLineColor (const opencascade::handle & aDrawer,const AIS_TypeOfAttribute TheTypeOfAttributes); + + /****************** GetLineColor ******************/ %feature("compactdefaultargs") GetLineColor; - %feature("autodoc", " :param aDrawer: - :type aDrawer: Handle_Prs3d_Drawer & + %feature("autodoc", ":param aDrawer: + :type aDrawer: opencascade::handle & :param TheTypeOfAttributes: :type TheTypeOfAttributes: AIS_TypeOfAttribute :param TheLineColor: :type TheLineColor: Quantity_Color & - :rtype: void -") GetLineColor; - static void GetLineColor (const Handle_Prs3d_Drawer & aDrawer,const AIS_TypeOfAttribute TheTypeOfAttributes,Quantity_Color & TheLineColor); - %feature("compactdefaultargs") GetLineWidth; - %feature("autodoc", " :param aDrawer: - :type aDrawer: Handle_Prs3d_Drawer & - :param TheTypeOfAttributes: - :type TheTypeOfAttributes: AIS_TypeOfAttribute - :rtype: float -") GetLineWidth; - static Standard_Real GetLineWidth (const Handle_Prs3d_Drawer & aDrawer,const AIS_TypeOfAttribute TheTypeOfAttributes); + :rtype: void") GetLineColor; + static void GetLineColor (const opencascade::handle & aDrawer,const AIS_TypeOfAttribute TheTypeOfAttributes,Quantity_Color & TheLineColor); + + /****************** GetLineType ******************/ %feature("compactdefaultargs") GetLineType; - %feature("autodoc", " :param aDrawer: - :type aDrawer: Handle_Prs3d_Drawer & + %feature("autodoc", ":param aDrawer: + :type aDrawer: opencascade::handle & :param TheTypeOfAttributes: :type TheTypeOfAttributes: AIS_TypeOfAttribute - :rtype: Aspect_TypeOfLine -") GetLineType; - static Aspect_TypeOfLine GetLineType (const Handle_Prs3d_Drawer & aDrawer,const AIS_TypeOfAttribute TheTypeOfAttributes); - %feature("compactdefaultargs") GetLineAtt; - %feature("autodoc", " :param aDrawer: - :type aDrawer: Handle_Prs3d_Drawer & + :rtype: Aspect_TypeOfLine") GetLineType; + static Aspect_TypeOfLine GetLineType (const opencascade::handle & aDrawer,const AIS_TypeOfAttribute TheTypeOfAttributes); + + /****************** GetLineWidth ******************/ + %feature("compactdefaultargs") GetLineWidth; + %feature("autodoc", ":param aDrawer: + :type aDrawer: opencascade::handle & :param TheTypeOfAttributes: :type TheTypeOfAttributes: AIS_TypeOfAttribute - :param aCol: - :type aCol: Quantity_NameOfColor & - :param aWidth: - :type aWidth: float & - :param aTyp: - :type aTyp: Aspect_TypeOfLine & - :rtype: void -") GetLineAtt; - static void GetLineAtt (const Handle_Prs3d_Drawer & aDrawer,const AIS_TypeOfAttribute TheTypeOfAttributes,Quantity_NameOfColor & aCol,Standard_Real &OutValue,Aspect_TypeOfLine & aTyp); - %feature("compactdefaultargs") GetInteriorColor; - %feature("autodoc", " :param aDrawer: - :type aDrawer: Handle_Prs3d_Drawer & - :rtype: Quantity_NameOfColor -") GetInteriorColor; - static Quantity_NameOfColor GetInteriorColor (const Handle_Prs3d_Drawer & aDrawer); - %feature("compactdefaultargs") GetInteriorColor; - %feature("autodoc", " :param aDrawer: - :type aDrawer: Handle_Prs3d_Drawer & - :param aColor: - :type aColor: Quantity_Color & - :rtype: void -") GetInteriorColor; - static void GetInteriorColor (const Handle_Prs3d_Drawer & aDrawer,Quantity_Color & aColor); + :rtype: float") GetLineWidth; + static Standard_Real GetLineWidth (const opencascade::handle & aDrawer,const AIS_TypeOfAttribute TheTypeOfAttributes); + + /****************** GetMaterial ******************/ %feature("compactdefaultargs") GetMaterial; - %feature("autodoc", " :param aDrawer: - :type aDrawer: Handle_Prs3d_Drawer & - :rtype: Graphic3d_MaterialAspect -") GetMaterial; - static Graphic3d_MaterialAspect GetMaterial (const Handle_Prs3d_Drawer & aDrawer); + %feature("autodoc", ":param aDrawer: + :type aDrawer: opencascade::handle & + :rtype: Graphic3d_MaterialAspect") GetMaterial; + static Graphic3d_MaterialAspect GetMaterial (const opencascade::handle & aDrawer); + }; @@ -1981,1929 +1829,960 @@ class AIS_GraphicTool { __repr__ = _dumps_object } }; -%nodefaultctor AIS_IndexedDataMapNodeOfIndexedDataMapOfOwnerPrs; -class AIS_IndexedDataMapNodeOfIndexedDataMapOfOwnerPrs : public TCollection_MapNode { - public: - %feature("compactdefaultargs") AIS_IndexedDataMapNodeOfIndexedDataMapOfOwnerPrs; - %feature("autodoc", " :param K1: - :type K1: Handle_SelectMgr_EntityOwner & - :param K2: - :type K2: int - :param I: - :type I: Handle_Prs3d_Presentation & - :param n1: - :type n1: TCollection_MapNodePtr & - :param n2: - :type n2: TCollection_MapNodePtr & - :rtype: None -") AIS_IndexedDataMapNodeOfIndexedDataMapOfOwnerPrs; - AIS_IndexedDataMapNodeOfIndexedDataMapOfOwnerPrs (const Handle_SelectMgr_EntityOwner & K1,const Standard_Integer K2,const Handle_Prs3d_Presentation & I,const TCollection_MapNodePtr & n1,const TCollection_MapNodePtr & n2); - %feature("compactdefaultargs") Key1; - %feature("autodoc", " :rtype: Handle_SelectMgr_EntityOwner -") Key1; - Handle_SelectMgr_EntityOwner Key1 (); - - %feature("autodoc","1"); - %extend { - Standard_Integer GetKey2() { - return (Standard_Integer) $self->Key2(); - } - }; - %feature("autodoc","1"); - %extend { - void SetKey2(Standard_Integer value ) { - $self->Key2()=value; - } - }; - %feature("compactdefaultargs") Next2; - %feature("autodoc", " :rtype: TCollection_MapNodePtr -") Next2; - TCollection_MapNodePtr & Next2 (); - %feature("compactdefaultargs") Value; - %feature("autodoc", " :rtype: Handle_Prs3d_Presentation -") Value; - Handle_Prs3d_Presentation Value (); -}; - -%make_alias(AIS_IndexedDataMapNodeOfIndexedDataMapOfOwnerPrs) - -%extend AIS_IndexedDataMapNodeOfIndexedDataMapOfOwnerPrs { - %pythoncode { - __repr__ = _dumps_object - } -}; -%nodefaultctor AIS_IndexedDataMapOfOwnerPrs; -class AIS_IndexedDataMapOfOwnerPrs : public TCollection_BasicMap { - public: - %feature("compactdefaultargs") AIS_IndexedDataMapOfOwnerPrs; - %feature("autodoc", " :param NbBuckets: default value is 1 - :type NbBuckets: int - :rtype: None -") AIS_IndexedDataMapOfOwnerPrs; - AIS_IndexedDataMapOfOwnerPrs (const Standard_Integer NbBuckets = 1); - %feature("compactdefaultargs") Assign; - %feature("autodoc", " :param Other: - :type Other: AIS_IndexedDataMapOfOwnerPrs & - :rtype: AIS_IndexedDataMapOfOwnerPrs -") Assign; - AIS_IndexedDataMapOfOwnerPrs & Assign (const AIS_IndexedDataMapOfOwnerPrs & Other); - %feature("compactdefaultargs") operator =; - %feature("autodoc", " :param Other: - :type Other: AIS_IndexedDataMapOfOwnerPrs & - :rtype: AIS_IndexedDataMapOfOwnerPrs -") operator =; - AIS_IndexedDataMapOfOwnerPrs & operator = (const AIS_IndexedDataMapOfOwnerPrs & Other); - %feature("compactdefaultargs") ReSize; - %feature("autodoc", " :param NbBuckets: - :type NbBuckets: int - :rtype: None -") ReSize; - void ReSize (const Standard_Integer NbBuckets); - %feature("compactdefaultargs") Clear; - %feature("autodoc", " :rtype: None -") Clear; - void Clear (); - %feature("compactdefaultargs") Add; - %feature("autodoc", " :param K: - :type K: Handle_SelectMgr_EntityOwner & - :param I: - :type I: Handle_Prs3d_Presentation & - :rtype: int -") Add; - Standard_Integer Add (const Handle_SelectMgr_EntityOwner & K,const Handle_Prs3d_Presentation & I); - %feature("compactdefaultargs") Substitute; - %feature("autodoc", " :param I: - :type I: int - :param K: - :type K: Handle_SelectMgr_EntityOwner & - :param T: - :type T: Handle_Prs3d_Presentation & - :rtype: None -") Substitute; - void Substitute (const Standard_Integer I,const Handle_SelectMgr_EntityOwner & K,const Handle_Prs3d_Presentation & T); - %feature("compactdefaultargs") RemoveLast; - %feature("autodoc", " :rtype: None -") RemoveLast; - void RemoveLast (); - %feature("compactdefaultargs") Contains; - %feature("autodoc", " :param K: - :type K: Handle_SelectMgr_EntityOwner & - :rtype: bool -") Contains; - Standard_Boolean Contains (const Handle_SelectMgr_EntityOwner & K); - %feature("compactdefaultargs") FindKey; - %feature("autodoc", " :param I: - :type I: int - :rtype: Handle_SelectMgr_EntityOwner -") FindKey; - Handle_SelectMgr_EntityOwner FindKey (const Standard_Integer I); - %feature("compactdefaultargs") FindFromIndex; - %feature("autodoc", " :param I: - :type I: int - :rtype: Handle_Prs3d_Presentation -") FindFromIndex; - Handle_Prs3d_Presentation FindFromIndex (const Standard_Integer I); - %feature("compactdefaultargs") ChangeFromIndex; - %feature("autodoc", " :param I: - :type I: int - :rtype: Handle_Prs3d_Presentation -") ChangeFromIndex; - Handle_Prs3d_Presentation ChangeFromIndex (const Standard_Integer I); - %feature("compactdefaultargs") FindIndex; - %feature("autodoc", " :param K: - :type K: Handle_SelectMgr_EntityOwner & - :rtype: int -") FindIndex; - Standard_Integer FindIndex (const Handle_SelectMgr_EntityOwner & K); - %feature("compactdefaultargs") FindFromKey; - %feature("autodoc", " :param K: - :type K: Handle_SelectMgr_EntityOwner & - :rtype: Handle_Prs3d_Presentation -") FindFromKey; - Handle_Prs3d_Presentation FindFromKey (const Handle_SelectMgr_EntityOwner & K); - %feature("compactdefaultargs") ChangeFromKey; - %feature("autodoc", " :param K: - :type K: Handle_SelectMgr_EntityOwner & - :rtype: Handle_Prs3d_Presentation -") ChangeFromKey; - Handle_Prs3d_Presentation ChangeFromKey (const Handle_SelectMgr_EntityOwner & K); - %feature("compactdefaultargs") FindFromKey1; - %feature("autodoc", " :param K: - :type K: Handle_SelectMgr_EntityOwner & - :rtype: Standard_Address -") FindFromKey1; - Standard_Address FindFromKey1 (const Handle_SelectMgr_EntityOwner & K); - %feature("compactdefaultargs") ChangeFromKey1; - %feature("autodoc", " :param K: - :type K: Handle_SelectMgr_EntityOwner & - :rtype: Standard_Address -") ChangeFromKey1; - Standard_Address ChangeFromKey1 (const Handle_SelectMgr_EntityOwner & K); -}; - - -%extend AIS_IndexedDataMapOfOwnerPrs { - %pythoncode { - __repr__ = _dumps_object - } -}; +/******************************* +* class AIS_InteractiveContext * +*******************************/ %nodefaultctor AIS_InteractiveContext; -class AIS_InteractiveContext : public MMgt_TShared { +class AIS_InteractiveContext : public Standard_Transient { public: + /****************** AIS_InteractiveContext ******************/ %feature("compactdefaultargs") AIS_InteractiveContext; - %feature("autodoc", " * Constructs the interactive context object defined by the principal viewer MainViewer. - + %feature("autodoc", "* @name object display management Constructs the interactive context object defined by the principal viewer MainViewer. :param MainViewer: - :type MainViewer: Handle_V3d_Viewer & - :rtype: None -") AIS_InteractiveContext; - AIS_InteractiveContext (const Handle_V3d_Viewer & MainViewer); - %feature("compactdefaultargs") Delete; - %feature("autodoc", " :rtype: void -") Delete; - virtual void Delete (); - %feature("compactdefaultargs") SetAutoActivateSelection; - %feature("autodoc", " :param Auto: - :type Auto: bool - :rtype: None -") SetAutoActivateSelection; - void SetAutoActivateSelection (const Standard_Boolean Auto); - %feature("compactdefaultargs") GetAutoActivateSelection; - %feature("autodoc", " :rtype: bool -") GetAutoActivateSelection; - Standard_Boolean GetAutoActivateSelection (); - %feature("compactdefaultargs") Display; - %feature("autodoc", " * Controls the choice between the using the display and selection modes of open local context which you have defined and activating those available by default. If a local context is open and if updateviewer equals Standard_False, the Interactive Object anIobj is displayed in the default active mode. This will be the object's default display mode, if there is one. Otherwise, it will be the context mode. The Interactive Object's default selection mode is activated. In general, this is 0. This syntax has the same behavior as local context, open or closed. If you want to view the object in open local context without selection, use the syntax below, setting aSelectionMode to -1. + :type MainViewer: opencascade::handle & + :rtype: None") AIS_InteractiveContext; + AIS_InteractiveContext (const opencascade::handle & MainViewer); - :param anIobj: - :type anIobj: Handle_AIS_InteractiveObject & - :param updateviewer: default value is Standard_True - :type updateviewer: bool - :rtype: None -") Display; - void Display (const Handle_AIS_InteractiveObject & anIobj,const Standard_Boolean updateviewer = Standard_True); - %feature("compactdefaultargs") Display; - %feature("autodoc", " * Controls the choice between the using the display and selection modes of open local context which you have defined and activating those available by default. If no Local Context is opened. and the Interactive Object theIObj has no display mode of its own, the default display mode, 0, is used. Likewise, if theIObj has no selection mode of its own, the default one, 0, is used. If a local context is open and if theToUpdateViewer equals Standard_False, the presentation of the Interactive Object activates the selection mode; the object is displayed but no viewer will be updated. If theSelectionMode equals -1, theIObj will not be activated: it will be displayed but will not be selectable. Use this if you want to view the object in open local context without selection. Note: This option is only available in Local Context. If theToAllowDecomposition equals true, theIObj can have subshapes detected by selection mechanisms. theIObj must be able to give a shape selection modes which fit the AIS_Shape selection modes: - vertices: 1 - edges: 2 - wires: 3. + /****************** Activate ******************/ + %feature("compactdefaultargs") Activate; + %feature("autodoc", "* Activates the selection mode aMode whose index is given, for the given interactive entity anIobj. + :param theObj: + :type theObj: opencascade::handle & + :param theMode: default value is 0 + :type theMode: int + :param theIsForce: default value is Standard_False + :type theIsForce: bool + :rtype: None") Activate; + void Activate (const opencascade::handle & theObj,const Standard_Integer theMode = 0,const Standard_Boolean theIsForce = Standard_False); - :param theIObj: - :type theIObj: Handle_AIS_InteractiveObject & - :param theDispMode: - :type theDispMode: int - :param theSelectionMode: - :type theSelectionMode: int - :param theToUpdateViewer: default value is Standard_True - :type theToUpdateViewer: bool - :param theToAllowDecomposition: default value is Standard_True - :type theToAllowDecomposition: bool - :param theDispStatus: default value is AIS_DS_None - :type theDispStatus: AIS_DisplayStatus - :rtype: None -") Display; - void Display (const Handle_AIS_InteractiveObject & theIObj,const Standard_Integer theDispMode,const Standard_Integer theSelectionMode,const Standard_Boolean theToUpdateViewer = Standard_True,const Standard_Boolean theToAllowDecomposition = Standard_True,const AIS_DisplayStatus theDispStatus = AIS_DS_None); - %feature("compactdefaultargs") Load; - %feature("autodoc", " * Allows you to load the Interactive Object aniobj with a given selection mode SelectionMode, and/or with the desired decomposition option, whether the object is visualized or not. If AllowDecomp = Standard_True and, if the interactive object is of the 'Shape' type, these 'standard' selection modes will be automatically activated as a function of the modes present in the Local Context. The loaded objects will be selectable but displayable in highlighting only when detected by the Selector. This method is available only when Local Contexts are open. - - :param aniobj: - :type aniobj: Handle_AIS_InteractiveObject & - :param SelectionMode: default value is -1 - :type SelectionMode: int - :param AllowDecomp: default value is Standard_False - :type AllowDecomp: bool - :rtype: None -") Load; - void Load (const Handle_AIS_InteractiveObject & aniobj,const Standard_Integer SelectionMode = -1,const Standard_Boolean AllowDecomp = Standard_False); - %feature("compactdefaultargs") Erase; - %feature("autodoc", " * Hides the object. The object's presentations are simply flagged as invisible and therefore excluded from redrawing. To show hidden objects, use Display(). - - :param aniobj: - :type aniobj: Handle_AIS_InteractiveObject & - :param updateviewer: default value is Standard_True - :type updateviewer: bool - :rtype: None -") Erase; - void Erase (const Handle_AIS_InteractiveObject & aniobj,const Standard_Boolean updateviewer = Standard_True); - %feature("compactdefaultargs") EraseAll; - %feature("autodoc", " * Hides all objects. The object's presentations are simply flagged as invisible and therefore excluded from redrawing. To show all hidden objects, use DisplayAll(). - - :param updateviewer: default value is Standard_True - :type updateviewer: bool - :rtype: None -") EraseAll; - void EraseAll (const Standard_Boolean updateviewer = Standard_True); - %feature("compactdefaultargs") DisplayAll; - %feature("autodoc", " * Displays all hidden objects. - - :param updateviewer: default value is Standard_True - :type updateviewer: bool - :rtype: None -") DisplayAll; - void DisplayAll (const Standard_Boolean updateviewer = Standard_True); - %feature("compactdefaultargs") EraseSelected; - %feature("autodoc", " * Hides selected objects. The object's presentations are simply flagged as invisible and therefore excluded from redrawing. To show hidden objects, use Display(). - - :param updateviewer: default value is Standard_True - :type updateviewer: bool - :rtype: None -") EraseSelected; - void EraseSelected (const Standard_Boolean updateviewer = Standard_True); - %feature("compactdefaultargs") DisplaySelected; - %feature("autodoc", " * Displays selected objects if a local context is open. Displays current objects if there is no active local context. Objects selected when there is no open local context are called current objects; those selected in open local context, selected objects. If a local context is open and if updateviewer equals Standard_False, the presentation of the Interactive Object activates the selection mode; the object is displayed but no viewer will be updated. + /****************** Activate ******************/ + %feature("compactdefaultargs") Activate; + %feature("autodoc", "* Activates the given selection mode for the all displayed objects. + :param theMode: + :type theMode: int + :param theIsForce: default value is Standard_False + :type theIsForce: bool + :rtype: None") Activate; + void Activate (const Standard_Integer theMode,const Standard_Boolean theIsForce = Standard_False); - :param updateviewer: default value is Standard_True - :type updateviewer: bool - :rtype: None -") DisplaySelected; - void DisplaySelected (const Standard_Boolean updateviewer = Standard_True); - %feature("compactdefaultargs") KeepTemporary; - %feature("autodoc", " * Changes the status of a temporary object. It will be kept at the neutral point, i.e. put in the list of displayed objects along withwith its temporary attributes. These include display mode and selection mode, for example. Returns true if done. inWhichLocal gives the local context in which anIObj is displayed. By default, the index -1 refers to the last Local Context opened. + /****************** ActivatedModes ******************/ + %feature("compactdefaultargs") ActivatedModes; + %feature("autodoc", "* Returns the list of activated selection modes. + :param anIobj: + :type anIobj: opencascade::handle & + :param theList: + :type theList: TColStd_ListOfInteger & + :rtype: None") ActivatedModes; + void ActivatedModes (const opencascade::handle & anIobj,TColStd_ListOfInteger & theList); - :param anIObj: - :type anIObj: Handle_AIS_InteractiveObject & - :param InWhichLocal: default value is -1 - :type InWhichLocal: int - :rtype: bool -") KeepTemporary; - Standard_Boolean KeepTemporary (const Handle_AIS_InteractiveObject & anIObj,const Standard_Integer InWhichLocal = -1); - %feature("compactdefaultargs") ClearPrs; - %feature("autodoc", " * Empties the graphic presentation of the mode indexed by aMode. If a local context is open and if updateviewer equals Standard_False, the presentation of the Interactive Object activates the selection mode; the object is displayed but no viewer will be updated. Warning Removes anIobj. anIobj is still active if it was previously activated. + /****************** AddFilter ******************/ + %feature("compactdefaultargs") AddFilter; + %feature("autodoc", "* Allows you to add the filter. + :param theFilter: + :type theFilter: opencascade::handle & + :rtype: None") AddFilter; + void AddFilter (const opencascade::handle & theFilter); - :param aniobj: - :type aniobj: Handle_AIS_InteractiveObject & - :param aMode: default value is 0 - :type aMode: int - :param updateviewer: default value is Standard_True - :type updateviewer: bool - :rtype: None -") ClearPrs; - void ClearPrs (const Handle_AIS_InteractiveObject & aniobj,const Standard_Integer aMode = 0,const Standard_Boolean updateviewer = Standard_True); - %feature("compactdefaultargs") Remove; - %feature("autodoc", " * Removes aniobj from every viewer. aniobj is no longer referenced in the Context. If a local context is open and if updateviewer equals Standard_False, the presentation of the Interactive Object activates the selection mode; the object is displayed but no viewer will be updated. + /****************** AddOrRemoveCurrentObject ******************/ + %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. + :param theObj: + :type theObj: opencascade::handle & + :param theIsToUpdateViewer: + :type theIsToUpdateViewer: bool + :rtype: None") AddOrRemoveCurrentObject; + void AddOrRemoveCurrentObject (const opencascade::handle & theObj,const Standard_Boolean theIsToUpdateViewer); - :param aniobj: - :type aniobj: Handle_AIS_InteractiveObject & - :param updateviewer: default value is Standard_True - :type updateviewer: bool - :rtype: None -") Remove; - void Remove (const Handle_AIS_InteractiveObject & aniobj,const Standard_Boolean updateviewer = Standard_True); - %feature("compactdefaultargs") RemoveAll; - %feature("autodoc", " * Removes all the objects from all opened Local Contexts and from the Neutral Point + /****************** AddOrRemoveSelected ******************/ + %feature("compactdefaultargs") AddOrRemoveSelected; + %feature("autodoc", "* Allows to highlight or unhighlight the owner given depending on its selection status + :param theObject: + :type theObject: opencascade::handle & + :param theToUpdateViewer: + :type theToUpdateViewer: bool + :rtype: None") AddOrRemoveSelected; + void AddOrRemoveSelected (const opencascade::handle & theObject,const Standard_Boolean theToUpdateViewer); - :param updateviewer: default value is Standard_True - :type updateviewer: bool - :rtype: None -") RemoveAll; - void RemoveAll (const Standard_Boolean updateviewer = Standard_True); - %feature("compactdefaultargs") Hilight; - %feature("autodoc", " * Updates the display in the viewer to take dynamic detection into account. On dynamic detection by the mouse cursor, sensitive primitives are highlighted. The highlight color of entities detected by mouse movement is white by default. If a local context is open and if updateviewer equals Standard_False, the presentation of the Interactive Object activates the selection mode; the object is displayed but no viewer will be updated. + /****************** AddOrRemoveSelected ******************/ + %feature("compactdefaultargs") AddOrRemoveSelected; + %feature("autodoc", "* Allows to highlight or unhighlight the owner given depending on its selection status + :param theOwner: + :type theOwner: opencascade::handle & + :param theToUpdateViewer: + :type theToUpdateViewer: bool + :rtype: None") AddOrRemoveSelected; + void AddOrRemoveSelected (const opencascade::handle & theOwner,const Standard_Boolean theToUpdateViewer); - :param aniobj: - :type aniobj: Handle_AIS_InteractiveObject & - :param updateviewer: default value is Standard_True - :type updateviewer: bool - :rtype: None -") Hilight; - void Hilight (const Handle_AIS_InteractiveObject & aniobj,const Standard_Boolean updateviewer = Standard_True); - %feature("compactdefaultargs") HilightWithColor; - %feature("autodoc", " * Changes the color of all the lines of the object in view, aniobj. It paints these lines the color passed as the argument, aCol. If a local context is open and if updateviewer equals Standard_False, the presentation of the Interactive Object activates the selection mode; the object is displayed but no viewer will be updated. + /****************** AddSelect ******************/ + %feature("compactdefaultargs") AddSelect; + %feature("autodoc", "* Adds object in the selection. + :param theObject: + :type theObject: opencascade::handle & + :rtype: AIS_StatusOfPick") AddSelect; + AIS_StatusOfPick AddSelect (const opencascade::handle & theObject); - :param aniobj: - :type aniobj: Handle_AIS_InteractiveObject & - :param aCol: - :type aCol: Quantity_NameOfColor - :param updateviewer: default value is Standard_True - :type updateviewer: bool - :rtype: None -") HilightWithColor; - void HilightWithColor (const Handle_AIS_InteractiveObject & aniobj,const Quantity_NameOfColor aCol,const Standard_Boolean updateviewer = Standard_True); - %feature("compactdefaultargs") Unhilight; - %feature("autodoc", " * Removes hilighting from the entity aniobj. Updates the viewer. If a local context is open and if updateviewer equals Standard_False, the presentation of the Interactive Object activates the selection mode; the object is displayed but no viewer will be updated. + /****************** AddSelect ******************/ + %feature("compactdefaultargs") AddSelect; + %feature("autodoc", "* Adds object in the selection. + :param theObject: + :type theObject: opencascade::handle & + :rtype: AIS_StatusOfPick") AddSelect; + AIS_StatusOfPick AddSelect (const opencascade::handle & theObject); - :param aniobj: - :type aniobj: Handle_AIS_InteractiveObject & - :param updateviewer: default value is Standard_True - :type updateviewer: bool - :rtype: None -") Unhilight; - void Unhilight (const Handle_AIS_InteractiveObject & aniobj,const Standard_Boolean updateviewer = Standard_True); - %feature("compactdefaultargs") SetDisplayPriority; - %feature("autodoc", " * Sets the display priority aPriority of the seen parts presentation of the entity anIobj. + /****************** Applicative ******************/ + %feature("compactdefaultargs") Applicative; + %feature("autodoc", "* Returns SelectedInteractive()->GetOwner(). @sa SelectedOwner(). + :rtype: opencascade::handle") Applicative; + opencascade::handle Applicative (); - :param anIobj: - :type anIobj: Handle_AIS_InteractiveObject & - :param aPriority: - :type aPriority: int - :rtype: None -") SetDisplayPriority; - void SetDisplayPriority (const Handle_AIS_InteractiveObject & anIobj,const Standard_Integer aPriority); - %feature("compactdefaultargs") SetZLayer; - %feature("autodoc", " * Set Z layer id for interactive object. The Z layers can be used to display temporarily presentations of some object in front of the other objects in the scene. The ids for Z layers are generated by V3d_Viewer. + /****************** AutomaticHilight ******************/ + %feature("compactdefaultargs") AutomaticHilight; + %feature("autodoc", "* Returns true if the automatic highlight mode is active; True by default. @sa MoveTo(), Select(), HilightWithColor(), Unhilight() + :rtype: bool") AutomaticHilight; + Standard_Boolean AutomaticHilight (); - :param theIObj: - :type theIObj: Handle_AIS_InteractiveObject & - :param theLayerId: - :type theLayerId: int - :rtype: None -") SetZLayer; - void SetZLayer (const Handle_AIS_InteractiveObject & theIObj,const Standard_Integer theLayerId); - %feature("compactdefaultargs") GetZLayer; - %feature("autodoc", " * Get Z layer id set for displayed interactive object. + /****************** BeginImmediateDraw ******************/ + %feature("compactdefaultargs") BeginImmediateDraw; + %feature("autodoc", "* @name immediate mode rendering initializes the list of presentations to be displayed returns False if no local context is opened. + :rtype: bool") BeginImmediateDraw; + Standard_Boolean BeginImmediateDraw (); - :param theIObj: - :type theIObj: Handle_AIS_InteractiveObject & - :rtype: int -") GetZLayer; - Standard_Integer GetZLayer (const Handle_AIS_InteractiveObject & theIObj); - %feature("compactdefaultargs") Redisplay; - %feature("autodoc", " * Recomputes the seen parts presentation of the entity aniobj. If allmodes equals true, all presentations are present in the object even if unseen. If a local context is open and if updateviewer equals Standard_False, the presentation of the Interactive Object activates the selection mode; the object is displayed but no viewer will be updated. + /****************** BoundingBoxOfSelection ******************/ + %feature("compactdefaultargs") BoundingBoxOfSelection; + %feature("autodoc", "* Returns bounding box of selected objects. + :rtype: Bnd_Box") BoundingBoxOfSelection; + Bnd_Box BoundingBoxOfSelection (); - :param aniobj: - :type aniobj: Handle_AIS_InteractiveObject & - :param updateviewer: default value is Standard_True - :type updateviewer: bool - :param allmodes: default value is Standard_False - :type allmodes: bool - :rtype: None -") Redisplay; - void Redisplay (const Handle_AIS_InteractiveObject & aniobj,const Standard_Boolean updateviewer = Standard_True,const Standard_Boolean allmodes = Standard_False); - %feature("compactdefaultargs") Redisplay; - %feature("autodoc", " * Recomputes the Prs/Selection of displayed objects of a given type and a given signature. if signature = -1 doesnt take signature criterion. - - :param aTypeOfObject: - :type aTypeOfObject: AIS_KindOfInteractive - :param Signature: default value is -1 - :type Signature: int - :param updateviewer: default value is Standard_True - :type updateviewer: bool - :rtype: None -") Redisplay; - void Redisplay (const AIS_KindOfInteractive aTypeOfObject,const Standard_Integer Signature = -1,const Standard_Boolean updateviewer = Standard_True); - %feature("compactdefaultargs") RecomputePrsOnly; - %feature("autodoc", " * Recomputes the displayed presentations, flags the others Doesn't update presentations + /****************** ClearActiveSensitive ******************/ + %feature("compactdefaultargs") ClearActiveSensitive; + %feature("autodoc", "* Clear visualization of sensitives. + :param aView: + :type aView: opencascade::handle & + :rtype: None") ClearActiveSensitive; + void ClearActiveSensitive (const opencascade::handle & aView); - :param anIobj: - :type anIobj: Handle_AIS_InteractiveObject & - :param updateviewer: default value is Standard_True - :type updateviewer: bool - :param allmodes: default value is Standard_False - :type allmodes: bool - :rtype: None -") RecomputePrsOnly; - void RecomputePrsOnly (const Handle_AIS_InteractiveObject & anIobj,const Standard_Boolean updateviewer = Standard_True,const Standard_Boolean allmodes = Standard_False); - %feature("compactdefaultargs") RecomputeSelectionOnly; - %feature("autodoc", " * Recomputes the active selections, flags the others Doesn't update presentations + /****************** ClearCurrents ******************/ + %feature("compactdefaultargs") ClearCurrents; + %feature("autodoc", "* Empties previous current objects in order to get the current objects detected by the selector using UpdateCurrent. Objects selected when there is no open local context are called current objects; those selected in open local context, selected objects. + :param theToUpdateViewer: + :type theToUpdateViewer: bool + :rtype: None") ClearCurrents; + void ClearCurrents (const Standard_Boolean theToUpdateViewer); - :param anIObj: - :type anIObj: Handle_AIS_InteractiveObject & - :rtype: None -") RecomputeSelectionOnly; - void RecomputeSelectionOnly (const Handle_AIS_InteractiveObject & anIObj); - %feature("compactdefaultargs") Update; - %feature("autodoc", " * Updates displayed interactive object by checking and recomputing its flagged as 'to be recomputed' presentation and selection structures. This method does not force any recomputation on its own. The method recomputes selections even if they are loaded without activation in particular selector. + /****************** ClearDetected ******************/ + %feature("compactdefaultargs") ClearDetected; + %feature("autodoc", "* Clears the list of entities detected by MoveTo() and resets dynamic highlighting. @param theToRedrawImmediate if True, the main Viewer will be redrawn on update returns True if viewer needs to be updated (e.g. there were actually dynamically highlighted entities) + :param theToRedrawImmediate: default value is Standard_False + :type theToRedrawImmediate: bool + :rtype: bool") ClearDetected; + Standard_Boolean ClearDetected (Standard_Boolean theToRedrawImmediate = Standard_False); + /****************** ClearPrs ******************/ + %feature("compactdefaultargs") ClearPrs; + %feature("autodoc", "* Empties the graphic presentation of the mode indexed by aMode. Warning! Removes theIObj. theIObj is still active if it was previously activated. :param theIObj: - :type theIObj: Handle_AIS_InteractiveObject & - :param theUpdateViewer: default value is Standard_True - :type theUpdateViewer: bool - :rtype: None -") Update; - void Update (const Handle_AIS_InteractiveObject & theIObj,const Standard_Boolean theUpdateViewer = Standard_True); - %feature("compactdefaultargs") SetDisplayMode; - %feature("autodoc", " * Sets the display mode of seen Interactive Objects. aMode provides the display mode index of the entity aniobj. If updateviewer equals Standard_True, the predominant mode aMode will overule the context mode. If a local context is open and if updateviewer equals Standard_False, the presentation of the Interactive Object returns to the default selection mode; the object is displayed but no viewer will be updated. Note that display mode 3 is only used if you have an AIS_Textured Shape. - - :param aniobj: - :type aniobj: Handle_AIS_InteractiveObject & - :param aMode: - :type aMode: int - :param updateviewer: default value is Standard_True - :type updateviewer: bool - :rtype: None -") SetDisplayMode; - void SetDisplayMode (const Handle_AIS_InteractiveObject & aniobj,const Standard_Integer aMode,const Standard_Boolean updateviewer = Standard_True); - %feature("compactdefaultargs") UnsetDisplayMode; - %feature("autodoc", " * Unsets the display mode of seen Interactive Objects. aMode provides the display mode index of the entity aniobj. If updateviewer equals Standard_True, the predominant mode aMode will overule the context mode. If a local context is open and if updateviewer equals Standard_False, the presentation of the Interactive Object returns to the default selection mode; the object is displayed but no viewer will be updated. + :type theIObj: opencascade::handle & + :param theMode: + :type theMode: int + :param theToUpdateViewer: + :type theToUpdateViewer: bool + :rtype: None") ClearPrs; + void ClearPrs (const opencascade::handle & theIObj,const Standard_Integer theMode,const Standard_Boolean theToUpdateViewer); - :param aniobj: - :type aniobj: Handle_AIS_InteractiveObject & - :param updateviewer: default value is Standard_True - :type updateviewer: bool - :rtype: None -") UnsetDisplayMode; - void UnsetDisplayMode (const Handle_AIS_InteractiveObject & aniobj,const Standard_Boolean updateviewer = Standard_True); - %feature("compactdefaultargs") SetSelectionMode; - %feature("autodoc", " * Sets the selection mode of Interactive Objects. aMode provides the selection mode index of the entity aniobj. + /****************** ClearSelected ******************/ + %feature("compactdefaultargs") ClearSelected; + %feature("autodoc", "* Empties previous selected objects in order to get the selected objects detected by the selector using UpdateSelected. + :param theToUpdateViewer: + :type theToUpdateViewer: bool + :rtype: None") ClearSelected; + void ClearSelected (const Standard_Boolean theToUpdateViewer); + /****************** Color ******************/ + %feature("compactdefaultargs") Color; + %feature("autodoc", "* Returns the color of the Object in the interactive context. :param aniobj: - :type aniobj: Handle_AIS_InteractiveObject & - :param aMode: - :type aMode: int - :rtype: None -") SetSelectionMode; - void SetSelectionMode (const Handle_AIS_InteractiveObject & aniobj,const Standard_Integer aMode); - %feature("compactdefaultargs") UnsetSelectionMode; - %feature("autodoc", " * Removes selection mode from Interactive Objects. aMode provides the selection mode index of the entity aniobj. + :type aniobj: opencascade::handle & + :param acolor: + :type acolor: Quantity_Color & + :rtype: None") Color; + void Color (const opencascade::handle & aniobj,Quantity_Color & acolor); - :param aniobj: - :type aniobj: Handle_AIS_InteractiveObject & - :rtype: None -") UnsetSelectionMode; - void UnsetSelectionMode (const Handle_AIS_InteractiveObject & aniobj); - %feature("compactdefaultargs") SetPixelTolerance; - %feature("autodoc", " * Disables the mechanism of adaptive tolerance calculation in SelectMgr_ViewerSelector and sets the given tolerance for ALL sensitive entities activated. For more information, see SelectMgr_ViewerSelector documentation Warning: When a local context is open the sensitivity is apply on it instead on the main context. + /****************** Current ******************/ + %feature("compactdefaultargs") Current; + %feature("autodoc", "* Returns the current interactive object. Objects selected when there is no open local context are called current objects; those selected in open local context, selected objects. + :rtype: opencascade::handle") Current; + opencascade::handle Current (); - :param aPrecision: default value is 2 - :type aPrecision: int - :rtype: None -") SetPixelTolerance; - void SetPixelTolerance (const Standard_Integer aPrecision = 2); - %feature("compactdefaultargs") PixelTolerance; - %feature("autodoc", " * Returns the pixel tolerance. + /****************** CurrentViewer ******************/ + %feature("compactdefaultargs") CurrentViewer; + %feature("autodoc", "* Returns the current viewer. + :rtype: opencascade::handle") CurrentViewer; + const opencascade::handle & CurrentViewer (); - :rtype: int -") PixelTolerance; - Standard_Integer PixelTolerance (); - %feature("compactdefaultargs") SetSelectionSensitivity; - %feature("autodoc", " * Allows to manage sensitivity of a particular selection of interactive object theObject and changes previous sensitivity value of all sensitive entities in selection with theMode to the given theNewSensitivity. + /****************** Deactivate ******************/ + %feature("compactdefaultargs") Deactivate; + %feature("autodoc", "* Deactivates all the activated selection modes of an object. + :param theObj: + :type theObj: opencascade::handle & + :rtype: None") Deactivate; + void Deactivate (const opencascade::handle & theObj); - :param theObject: - :type theObject: Handle_AIS_InteractiveObject & + /****************** Deactivate ******************/ + %feature("compactdefaultargs") Deactivate; + %feature("autodoc", "* Deactivates all the activated selection modes of the interactive object anIobj with a given selection mode aMode. + :param theObj: + :type theObj: opencascade::handle & :param theMode: :type theMode: int - :param theNewSensitivity: - :type theNewSensitivity: int - :rtype: None -") SetSelectionSensitivity; - void SetSelectionSensitivity (const Handle_AIS_InteractiveObject & theObject,const Standard_Integer theMode,const Standard_Integer theNewSensitivity); - %feature("compactdefaultargs") SetLocation; - %feature("autodoc", " * Puts the location aLocation on the initial graphic representation and the selection for the entity aniobj. In other words, aniobj is visible and selectable at a position other than initial position. Graphic and selection primitives are not recomputed. To clean the view correctly, you must reset the previous location. + :rtype: None") Deactivate; + void Deactivate (const opencascade::handle & theObj,const Standard_Integer theMode); - :param aniobj: - :type aniobj: Handle_AIS_InteractiveObject & - :param aLocation: - :type aLocation: TopLoc_Location & - :rtype: None -") SetLocation; - void SetLocation (const Handle_AIS_InteractiveObject & aniobj,const TopLoc_Location & aLocation); - %feature("compactdefaultargs") ResetLocation; - %feature("autodoc", " * Puts the entity aniobj back into its initial position. + /****************** Deactivate ******************/ + %feature("compactdefaultargs") Deactivate; + %feature("autodoc", "* Deactivates the given selection mode for all displayed objects. + :param theMode: + :type theMode: int + :rtype: None") Deactivate; + void Deactivate (const Standard_Integer theMode); - :param aniobj: - :type aniobj: Handle_AIS_InteractiveObject & - :rtype: None -") ResetLocation; - void ResetLocation (const Handle_AIS_InteractiveObject & aniobj); - %feature("compactdefaultargs") HasLocation; - %feature("autodoc", " * Returns true if the entity aniobj has a location. + /****************** Deactivate ******************/ + %feature("compactdefaultargs") Deactivate; + %feature("autodoc", "* Deactivates all the activated selection mode at all displayed objects. + :rtype: None") Deactivate; + void Deactivate (); - :param aniobj: - :type aniobj: Handle_AIS_InteractiveObject & - :rtype: bool -") HasLocation; - Standard_Boolean HasLocation (const Handle_AIS_InteractiveObject & aniobj); - %feature("compactdefaultargs") Location; - %feature("autodoc", " * Returns the location of the entity aniobj. + /****************** DefaultDrawer ******************/ + %feature("compactdefaultargs") DefaultDrawer; + %feature("autodoc", "* @name common properties Returns the default attribute manager. This contains all the color and line attributes which can be used by interactive objects which do not have their own attributes. + :rtype: opencascade::handle") DefaultDrawer; + const opencascade::handle & DefaultDrawer (); - :param aniobj: - :type aniobj: Handle_AIS_InteractiveObject & - :rtype: TopLoc_Location -") Location; - TopLoc_Location Location (const Handle_AIS_InteractiveObject & aniobj); - %feature("compactdefaultargs") SetCurrentFacingModel; - %feature("autodoc", " * change the current facing model apply on polygons for SetColor(), SetTransparency(), SetMaterial() methods default facing model is Aspect_TOFM_TWO_SIDE. This mean that attributes is applying both on the front and back face. + /****************** DetectedCurrentObject ******************/ + %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(). + :rtype: opencascade::handle") DetectedCurrentObject; + opencascade::handle DetectedCurrentObject (); - :param aniobj: - :type aniobj: Handle_AIS_InteractiveObject & - :param aModel: default value is Aspect_TOFM_BOTH_SIDE - :type aModel: Aspect_TypeOfFacingModel - :rtype: None -") SetCurrentFacingModel; - void SetCurrentFacingModel (const Handle_AIS_InteractiveObject & aniobj,const Aspect_TypeOfFacingModel aModel = Aspect_TOFM_BOTH_SIDE); - %feature("compactdefaultargs") SetColor; - %feature("autodoc", " :param aniobj: - :type aniobj: Handle_AIS_InteractiveObject & - :param aColor: - :type aColor: Quantity_NameOfColor - :param updateviewer: default value is Standard_True - :type updateviewer: bool - :rtype: None -") SetColor; - void SetColor (const Handle_AIS_InteractiveObject & aniobj,const Quantity_NameOfColor aColor,const Standard_Boolean updateviewer = Standard_True); - %feature("compactdefaultargs") SetColor; - %feature("autodoc", " * Sets the color of the selected entity. If a local context is open and if updateviewer equals Standard_False, the presentation of the Interactive Object activates the selection mode; the object is displayed but no viewer will be updated. + /****************** DetectedCurrentOwner ******************/ + %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(). + :rtype: opencascade::handle") DetectedCurrentOwner; + opencascade::handle DetectedCurrentOwner (); - :param aniobj: - :type aniobj: Handle_AIS_InteractiveObject & - :param aColor: - :type aColor: Quantity_Color & - :param updateviewer: default value is Standard_True - :type updateviewer: bool - :rtype: None -") SetColor; - void SetColor (const Handle_AIS_InteractiveObject & aniobj,const Quantity_Color & aColor,const Standard_Boolean updateviewer = Standard_True); - %feature("compactdefaultargs") UnsetColor; - %feature("autodoc", " * Removes the color selection for the selected entity. If a local context is open and if updateviewer equals Standard_False, the presentation of the Interactive Object activates the selection mode; the object is displayed but no viewer will be updated. + /****************** DetectedCurrentShape ******************/ + %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(). + :rtype: TopoDS_Shape") DetectedCurrentShape; + const TopoDS_Shape DetectedCurrentShape (); - :param aniobj: - :type aniobj: Handle_AIS_InteractiveObject & - :param updateviewer: default value is Standard_True - :type updateviewer: bool - :rtype: None -") UnsetColor; - void UnsetColor (const Handle_AIS_InteractiveObject & aniobj,const Standard_Boolean updateviewer = Standard_True); - %feature("compactdefaultargs") SetWidth; - %feature("autodoc", " * Sets the width of the entity aniobj. If a local context is open and if updateviewer equals Standard_False, the presentation of the Interactive Object activates the selection mode; the object is displayed but no viewer will be updated. + /****************** DetectedInteractive ******************/ + %feature("compactdefaultargs") DetectedInteractive; + %feature("autodoc", "* Returns the interactive objects last detected in context. In general this is just a wrapper for opencascade::handle::DownCast(DetectedOwner()->Selectable()). @sa DetectedOwner() + :rtype: opencascade::handle") DetectedInteractive; + opencascade::handle DetectedInteractive (); - :param aniobj: - :type aniobj: Handle_AIS_InteractiveObject & - :param aValue: - :type aValue: float - :param updateviewer: default value is Standard_True - :type updateviewer: bool - :rtype: void -") SetWidth; - virtual void SetWidth (const Handle_AIS_InteractiveObject & aniobj,const Standard_Real aValue,const Standard_Boolean updateviewer = Standard_True); - %feature("compactdefaultargs") UnsetWidth; - %feature("autodoc", " * Removes the width setting of the entity aniobj. If a local context is open and if updateviewer equals Standard_False, the presentation of the Interactive Object activates the selection mode; the object is displayed but no viewer will be updated. + /****************** DetectedOwner ******************/ + %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(). + :rtype: opencascade::handle") DetectedOwner; + const opencascade::handle & DetectedOwner (); - :param aniobj: - :type aniobj: Handle_AIS_InteractiveObject & - :param updateviewer: default value is Standard_True - :type updateviewer: bool - :rtype: void -") UnsetWidth; - virtual void UnsetWidth (const Handle_AIS_InteractiveObject & aniobj,const Standard_Boolean updateviewer = Standard_True); - %feature("compactdefaultargs") SetMaterial; - %feature("autodoc", " * Provides the type of material setting for the view of the entity aniobj. The range of settings includes: BRASS, BRONZE, GOLD, PEWTER, SILVER, STONE. If a local context is open and if updateviewer equals Standard_False, the presentation of the Interactive Object activates the selection mode; the object is displayed but no viewer will be updated. + /****************** DetectedShape ******************/ + %feature("compactdefaultargs") DetectedShape; + %feature("autodoc", "* Returns the shape detected in local context. @sa DetectedOwner() + :rtype: TopoDS_Shape") DetectedShape; + const TopoDS_Shape DetectedShape (); - :param aniobj: - :type aniobj: Handle_AIS_InteractiveObject & - :param aName: - :type aName: Graphic3d_NameOfMaterial - :param updateviewer: default value is Standard_True - :type updateviewer: bool - :rtype: None -") SetMaterial; - void SetMaterial (const Handle_AIS_InteractiveObject & aniobj,const Graphic3d_NameOfMaterial aName,const Standard_Boolean updateviewer = Standard_True); - %feature("compactdefaultargs") UnsetMaterial; - %feature("autodoc", " * Removes the type of material setting for viewing the entity aniobj. If a local context is open and if updateviewer equals Standard_False, the presentation of the Interactive Object activates the selection mode; the object is displayed but no viewer will be updated. + /****************** DeviationAngle ******************/ + %feature("compactdefaultargs") DeviationAngle; + %feature("autodoc", ":rtype: float") DeviationAngle; + Standard_Real DeviationAngle (); - :param anObj: - :type anObj: Handle_AIS_InteractiveObject & - :param updateviewer: default value is Standard_True - :type updateviewer: bool - :rtype: None -") UnsetMaterial; - void UnsetMaterial (const Handle_AIS_InteractiveObject & anObj,const Standard_Boolean updateviewer = Standard_True); - %feature("compactdefaultargs") SetTransparency; - %feature("autodoc", " * Provides the transparency settings for viewing the entity aniobj. The transparency value aValue may be between 0.0, opaque, and 1.0, fully transparent. If a local context is open and if updateviewer equals Standard_False, the presentation of the Interactive Object activates the selection mode; the object is displayed but no viewer will be updated. + /****************** DeviationCoefficient ******************/ + %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. + :rtype: float") DeviationCoefficient; + Standard_Real DeviationCoefficient (); - :param aniobj: - :type aniobj: Handle_AIS_InteractiveObject & - :param aValue: default value is 0.6 - :type aValue: float - :param updateviewer: default value is Standard_True - :type updateviewer: bool - :rtype: None -") SetTransparency; - void SetTransparency (const Handle_AIS_InteractiveObject & aniobj,const Standard_Real aValue = 0.6,const Standard_Boolean updateviewer = Standard_True); - %feature("compactdefaultargs") UnsetTransparency; - %feature("autodoc", " * Removes the transparency settings for viewing the entity aniobj. The transparency value aValue may be between 0.0, opaque, and 1.0, fully transparent. If a local context is open and if updateviewer equals Standard_False, the presentation of the Interactive Object activates the selection mode; the object is displayed but no viewer will be updated. + /****************** DisableDrawHiddenLine ******************/ + %feature("compactdefaultargs") DisableDrawHiddenLine; + %feature("autodoc", ":rtype: None") DisableDrawHiddenLine; + void DisableDrawHiddenLine (); - :param aniobj: - :type aniobj: Handle_AIS_InteractiveObject & - :param updateviewer: default value is Standard_True - :type updateviewer: bool - :rtype: None -") UnsetTransparency; - void UnsetTransparency (const Handle_AIS_InteractiveObject & aniobj,const Standard_Boolean updateviewer = Standard_True); - %feature("compactdefaultargs") SetLocalAttributes; - %feature("autodoc", " * Sets the attributes of the interactive object aniobj by plugging the attribute manager aDrawer into the local context. The graphic attributes of aDrawer such as visualization mode, color, and material, are then used to display aniobj. If a local context is open and if updateviewer equals Standard_False, the presentation of the Interactive Object activates the selection mode; the object is displayed but no viewer will be updated. + /****************** Disconnect ******************/ + %feature("compactdefaultargs") Disconnect; + %feature("autodoc", "* Disconnects theObjToDisconnect from theAssembly and removes dependent selection structures + :param theAssembly: + :type theAssembly: opencascade::handle & + :param theObjToDisconnect: default value is NULL + :type theObjToDisconnect: opencascade::handle & + :rtype: None") Disconnect; + void Disconnect (const opencascade::handle & theAssembly,const opencascade::handle & theObjToDisconnect = NULL); - :param aniobj: - :type aniobj: Handle_AIS_InteractiveObject & - :param aDrawer: - :type aDrawer: Handle_Prs3d_Drawer & - :param updateviewer: default value is Standard_True - :type updateviewer: bool - :rtype: None -") SetLocalAttributes; - void SetLocalAttributes (const Handle_AIS_InteractiveObject & aniobj,const Handle_Prs3d_Drawer & aDrawer,const Standard_Boolean updateviewer = Standard_True); - %feature("compactdefaultargs") UnsetLocalAttributes; - %feature("autodoc", " * Removes the settings for local attributes of the entity anObj and returns to the Neutral Point attributes or those of the previous local context. If a local context is open and if updateviewer equals Standard_False, the presentation of the Interactive Object activates the selection mode; the object is displayed but no viewer will be updated. + /****************** Display ******************/ + %feature("compactdefaultargs") Display; + %feature("autodoc", "* Displays the object in this Context using default Display Mode. This will be the object's default display mode, if there is one. Otherwise, it will be the context mode. The Interactive Object's default selection mode is activated if GetAutoActivateSelection() is True. In general, this is 0. + :param theIObj: + :type theIObj: opencascade::handle & + :param theToUpdateViewer: + :type theToUpdateViewer: bool + :rtype: None") Display; + void Display (const opencascade::handle & theIObj,const Standard_Boolean theToUpdateViewer); - :param anObj: - :type anObj: Handle_AIS_InteractiveObject & - :param updateviewer: default value is Standard_True - :type updateviewer: bool - :rtype: None -") UnsetLocalAttributes; - void UnsetLocalAttributes (const Handle_AIS_InteractiveObject & anObj,const Standard_Boolean updateviewer = Standard_True); - %feature("compactdefaultargs") SetPolygonOffsets; - %feature("autodoc", " * Sets up polygon offsets for the given AIS_InteractiveObject. It simply calls anObj->SetPolygonOffsets() + /****************** Display ******************/ + %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. + :param theIObj: + :type theIObj: opencascade::handle & + :param theDispMode: + :type theDispMode: int + :param theSelectionMode: + :type theSelectionMode: int + :param theToUpdateViewer: + :type theToUpdateViewer: bool + :param theDispStatus: default value is AIS_DS_None + :type theDispStatus: AIS_DisplayStatus + :rtype: 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); - :param anObj: - :type anObj: Handle_AIS_InteractiveObject & - :param aMode: - :type aMode: int - :param aFactor: default value is 1.0 - :type aFactor: Standard_ShortReal - :param aUnits: default value is 0.0 - :type aUnits: Standard_ShortReal - :param updateviewer: default value is Standard_True - :type updateviewer: bool - :rtype: None -") SetPolygonOffsets; - void SetPolygonOffsets (const Handle_AIS_InteractiveObject & anObj,const Standard_Integer aMode,const Standard_ShortReal aFactor = 1.0,const Standard_ShortReal aUnits = 0.0,const Standard_Boolean updateviewer = Standard_True); - %feature("compactdefaultargs") HasPolygonOffsets; - %feature("autodoc", " * simply calls anObj->HasPolygonOffsets() + /****************** Display ******************/ + %feature("compactdefaultargs") Display; + %feature("autodoc", ":param theIObj: + :type theIObj: opencascade::handle & + :param theDispMode: + :type theDispMode: int + :param theSelectionMode: + :type theSelectionMode: int + :param theToUpdateViewer: + :type theToUpdateViewer: bool + :param theToAllowDecomposition: + :type theToAllowDecomposition: bool + :param theDispStatus: default value is AIS_DS_None + :type theDispStatus: AIS_DisplayStatus + :rtype: 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); - :param anObj: - :type anObj: Handle_AIS_InteractiveObject & - :rtype: bool -") HasPolygonOffsets; - Standard_Boolean HasPolygonOffsets (const Handle_AIS_InteractiveObject & anObj); - %feature("compactdefaultargs") PolygonOffsets; - %feature("autodoc", " * Retrieves current polygon offsets settings for . + /****************** DisplayActiveSensitive ******************/ + %feature("compactdefaultargs") DisplayActiveSensitive; + %feature("autodoc", "* @name debug visualization Visualization of sensitives - for debugging purposes! + :param aView: + :type aView: opencascade::handle & + :rtype: None") DisplayActiveSensitive; + void DisplayActiveSensitive (const opencascade::handle & aView); - :param anObj: - :type anObj: Handle_AIS_InteractiveObject & - :param aMode: - :type aMode: int & - :param aFactor: - :type aFactor: Standard_ShortReal & - :param aUnits: - :type aUnits: Standard_ShortReal & - :rtype: None -") PolygonOffsets; - void PolygonOffsets (const Handle_AIS_InteractiveObject & anObj,Standard_Integer &OutValue,Standard_ShortReal & aFactor,Standard_ShortReal & aUnits); - %feature("compactdefaultargs") SetTrihedronSize; - %feature("autodoc", " * Sets the size aSize of the trihedron. Is used to change the default value 100 mm for display of trihedra. Use of this function in one of your own interactive objects requires a call to the Compute function of the new class. This will recalculate the presentation for every trihedron displayed. If a local context is open and if updateviewer equals Standard_False, the presentation of the Interactive Object activates the selection mode; the object is displayed but no viewer will be updated. - - :param aSize: - :type aSize: float - :param updateviewer: default value is Standard_True - :type updateviewer: bool - :rtype: None -") SetTrihedronSize; - void SetTrihedronSize (const Standard_Real aSize,const Standard_Boolean updateviewer = Standard_True); - %feature("compactdefaultargs") TrihedronSize; - %feature("autodoc", " * returns the current value of trihedron size. + /****************** DisplayActiveSensitive ******************/ + %feature("compactdefaultargs") DisplayActiveSensitive; + %feature("autodoc", "* Visualization of sensitives - for debugging purposes! + :param anObject: + :type anObject: opencascade::handle & + :param aView: + :type aView: opencascade::handle & + :rtype: None") DisplayActiveSensitive; + void DisplayActiveSensitive (const opencascade::handle & anObject,const opencascade::handle & aView); - :rtype: float -") TrihedronSize; - Standard_Real TrihedronSize (); - %feature("compactdefaultargs") SetPlaneSize; - %feature("autodoc", " * Sets the plane size defined by the length in the X direction XSize and that in the Y direction YSize. If a local context is open and if updateviewer equals Standard_False, the presentation of the Interactive Object activates the selection mode; the object is displayed but no viewer will be updated. - - :param aSizeX: - :type aSizeX: float - :param aSizeY: - :type aSizeY: float - :param updateviewer: default value is Standard_True - :type updateviewer: bool - :rtype: None -") SetPlaneSize; - void SetPlaneSize (const Standard_Real aSizeX,const Standard_Real aSizeY,const Standard_Boolean updateviewer = Standard_True); - %feature("compactdefaultargs") SetPlaneSize; - %feature("autodoc", " * Sets the plane size aSize. If a local context is open and if updateviewer equals Standard_False, the presentation of the Interactive Object activates the selection mode; the object is displayed but no viewer will be updated. May be used if PlaneSize returns true. - - :param aSize: - :type aSize: float - :param updateviewer: default value is Standard_True - :type updateviewer: bool - :rtype: None -") SetPlaneSize; - void SetPlaneSize (const Standard_Real aSize,const Standard_Boolean updateviewer = Standard_True); - %feature("compactdefaultargs") PlaneSize; - %feature("autodoc", " * Returns true if the length in the X direction XSize is the same as that in the Y direction YSize. + /****************** DisplayAll ******************/ + %feature("compactdefaultargs") DisplayAll; + %feature("autodoc", "* Displays all hidden objects. + :param theToUpdateViewer: + :type theToUpdateViewer: bool + :rtype: None") DisplayAll; + void DisplayAll (const Standard_Boolean theToUpdateViewer); - :param XSize: - :type XSize: float & - :param YSize: - :type YSize: float & - :rtype: bool -") PlaneSize; - Standard_Boolean PlaneSize (Standard_Real &OutValue,Standard_Real &OutValue); - %feature("compactdefaultargs") DisplayStatus; - %feature("autodoc", " * Returns the display status of the entity anIobj. This will be one of the following: - DS_Displayed displayed in main viewer - DS_Erased hidden in main viewer - DS_Temporary temporarily displayed - DS_None nowhere displayed. + /****************** DisplayMode ******************/ + %feature("compactdefaultargs") DisplayMode; + %feature("autodoc", "* @name Display Mode management Returns the Display Mode setting to be used by default. + :rtype: int") DisplayMode; + Standard_Integer DisplayMode (); - :param anIobj: - :type anIobj: Handle_AIS_InteractiveObject & - :rtype: AIS_DisplayStatus -") DisplayStatus; - AIS_DisplayStatus DisplayStatus (const Handle_AIS_InteractiveObject & anIobj); - %feature("compactdefaultargs") DisplayedModes; - %feature("autodoc", " * Returns the list of active display modes for the entity aniobj. + /****************** DisplayPriority ******************/ + %feature("compactdefaultargs") DisplayPriority; + %feature("autodoc", "* @name object presence management (View affinity, Layer, Priority) Returns the display priority of the Object. + :param theIObj: + :type theIObj: opencascade::handle & + :rtype: int") DisplayPriority; + Standard_Integer DisplayPriority (const opencascade::handle & theIObj); - :param aniobj: - :type aniobj: Handle_AIS_InteractiveObject & - :rtype: TColStd_ListOfInteger -") DisplayedModes; - const TColStd_ListOfInteger & DisplayedModes (const Handle_AIS_InteractiveObject & aniobj); - %feature("compactdefaultargs") IsDisplayed; - %feature("autodoc", " * Returns true if anIobj is displayed in the interactive context. + /****************** DisplaySelected ******************/ + %feature("compactdefaultargs") DisplaySelected; + %feature("autodoc", "* Displays current objects. + :param theToUpdateViewer: + :type theToUpdateViewer: bool + :rtype: None") DisplaySelected; + void DisplaySelected (const Standard_Boolean theToUpdateViewer); + /****************** DisplayStatus ******************/ + %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. :param anIobj: - :type anIobj: Handle_AIS_InteractiveObject & - :rtype: bool -") IsDisplayed; - Standard_Boolean IsDisplayed (const Handle_AIS_InteractiveObject & anIobj); - %feature("compactdefaultargs") IsDisplayed; - %feature("autodoc", " :param aniobj: - :type aniobj: Handle_AIS_InteractiveObject & - :param aMode: - :type aMode: int - :rtype: bool -") IsDisplayed; - Standard_Boolean IsDisplayed (const Handle_AIS_InteractiveObject & aniobj,const Standard_Integer aMode); - %feature("compactdefaultargs") IsHilighted; - %feature("autodoc", " :param aniobj: - :type aniobj: Handle_AIS_InteractiveObject & - :rtype: bool -") IsHilighted; - Standard_Boolean IsHilighted (const Handle_AIS_InteractiveObject & aniobj); - %feature("compactdefaultargs") IsHilighted; - %feature("autodoc", " * if is hilighted with a specific color will be returned True gives the name of the hilightcolor + :type anIobj: opencascade::handle & + :rtype: AIS_DisplayStatus") DisplayStatus; + AIS_DisplayStatus DisplayStatus (const opencascade::handle & anIobj); - :param anIobj: - :type anIobj: Handle_AIS_InteractiveObject & - :param WithColor: - :type WithColor: bool - :param theHiCol: - :type theHiCol: Quantity_NameOfColor & - :rtype: bool -") IsHilighted; - Standard_Boolean IsHilighted (const Handle_AIS_InteractiveObject & anIobj,Standard_Boolean &OutValue,Quantity_NameOfColor & theHiCol); - %feature("compactdefaultargs") DisplayPriority; - %feature("autodoc", " * Returns the display priority of the entity anIobj. This will be display mode of anIobj if it is in the main viewer. + /****************** DisplayedObjects ******************/ + %feature("compactdefaultargs") DisplayedObjects; + %feature("autodoc", "* Returns the list of displayed objects of a particular Type WhichKind and Signature WhichSignature. By Default, WhichSignature equals -1. This means that there is a check on type only. + :param aListOfIO: + :type aListOfIO: AIS_ListOfInteractive & + :rtype: None") DisplayedObjects; + void DisplayedObjects (AIS_ListOfInteractive & aListOfIO); - :param anIobj: - :type anIobj: Handle_AIS_InteractiveObject & - :rtype: int -") DisplayPriority; - Standard_Integer DisplayPriority (const Handle_AIS_InteractiveObject & anIobj); - %feature("compactdefaultargs") HasColor; - %feature("autodoc", " * Returns true if a view of the Interactive Object aniobj has color. + /****************** DisplayedObjects ******************/ + %feature("compactdefaultargs") DisplayedObjects; + %feature("autodoc", "* gives the list of displayed objects of a particular Type and signature. by Default, = -1 means control only on . + :param theWhichKind: + :type theWhichKind: AIS_KindOfInteractive + :param theWhichSignature: + :type theWhichSignature: int + :param theListOfIO: + :type theListOfIO: AIS_ListOfInteractive & + :rtype: None") DisplayedObjects; + void DisplayedObjects (const AIS_KindOfInteractive theWhichKind,const Standard_Integer theWhichSignature,AIS_ListOfInteractive & theListOfIO); - :param aniobj: - :type aniobj: Handle_AIS_InteractiveObject & - :rtype: bool -") HasColor; - Standard_Boolean HasColor (const Handle_AIS_InteractiveObject & aniobj); - %feature("compactdefaultargs") Color; - %feature("autodoc", " :param aniobj: - :type aniobj: Handle_AIS_InteractiveObject & - :rtype: Quantity_NameOfColor -") Color; - Quantity_NameOfColor Color (const Handle_AIS_InteractiveObject & aniobj); - %feature("compactdefaultargs") Color; - %feature("autodoc", " * Returns the color Color of the entity aniobj in the interactive context. - - :param aniobj: - :type aniobj: Handle_AIS_InteractiveObject & - :param acolor: - :type acolor: Quantity_Color & - :rtype: None -") Color; - void Color (const Handle_AIS_InteractiveObject & aniobj,Quantity_Color & acolor); - %feature("compactdefaultargs") Width; - %feature("autodoc", " * Returns the width of the Interactive Object aniobj in the interactive context. - - :param aniobj: - :type aniobj: Handle_AIS_InteractiveObject & - :rtype: float -") Width; - virtual Standard_Real Width (const Handle_AIS_InteractiveObject & aniobj); - %feature("compactdefaultargs") Status; - %feature("autodoc", " * Returns the status astatus of the Interactive Context for the view of the Interactive Object anObj. + /****************** DrawHiddenLine ******************/ + %feature("compactdefaultargs") DrawHiddenLine; + %feature("autodoc", "* returns Standard_True if the hidden lines are to be drawn. By default the hidden lines are not drawn. + :rtype: bool") DrawHiddenLine; + Standard_Boolean DrawHiddenLine (); - :param anObj: - :type anObj: Handle_AIS_InteractiveObject & - :param astatus: - :type astatus: TCollection_ExtendedString & - :rtype: None -") Status; - void Status (const Handle_AIS_InteractiveObject & anObj,TCollection_ExtendedString & astatus); - %feature("compactdefaultargs") UpdateCurrentViewer; - %feature("autodoc", " * Updates the current viewer, the viewer in Neutral Point. Objects selected when there is no open local context are called current objects; those selected in open local context, selected objects. + /****************** EnableDrawHiddenLine ******************/ + %feature("compactdefaultargs") EnableDrawHiddenLine; + %feature("autodoc", ":rtype: None") EnableDrawHiddenLine; + void EnableDrawHiddenLine (); - :rtype: None -") UpdateCurrentViewer; - void UpdateCurrentViewer (); - %feature("compactdefaultargs") DisplayMode; - %feature("autodoc", " * Returns the display mode setting. Note that mode 3 is only used. + /****************** EndImmediateDraw ******************/ + %feature("compactdefaultargs") EndImmediateDraw; + %feature("autodoc", "* returns True if the immediate display has been done. + :param theView: + :type theView: opencascade::handle & + :rtype: bool") EndImmediateDraw; + Standard_Boolean EndImmediateDraw (const opencascade::handle & theView); - :rtype: int -") DisplayMode; - Standard_Integer DisplayMode (); - %feature("compactdefaultargs") HilightColor; - %feature("autodoc", " * Returns the name of the color used to show highlighted entities, that is, entities picked out by the mouse. - - :rtype: Quantity_NameOfColor -") HilightColor; - Quantity_NameOfColor HilightColor (); - %feature("compactdefaultargs") SelectionColor; - %feature("autodoc", " * Returns the name of the color used to show selected entities. By default, this is Quantity_NOC_GRAY80. - - :rtype: Quantity_NameOfColor -") SelectionColor; - Quantity_NameOfColor SelectionColor (); - %feature("compactdefaultargs") PreSelectionColor; - %feature("autodoc", " * Returns the name of the color used to show preselection. By default, this is Quantity_NOC_GREEN. - - :rtype: Quantity_NameOfColor -") PreSelectionColor; - Quantity_NameOfColor PreSelectionColor (); - %feature("compactdefaultargs") DefaultColor; - %feature("autodoc", " * Returns the name of the color used by default. By default, this is Quantity_NOC_GOLDENROD. - - :rtype: Quantity_NameOfColor -") DefaultColor; - Quantity_NameOfColor DefaultColor (); - %feature("compactdefaultargs") SubIntensityColor; - %feature("autodoc", " * Returns the name of the color used to show that an object is not currently selected. By default, this is Quantity_NOC_GRAY40. - - :rtype: Quantity_NameOfColor -") SubIntensityColor; - Quantity_NameOfColor SubIntensityColor (); - %feature("compactdefaultargs") SetHilightColor; - %feature("autodoc", " * Sets the color used to show highlighted entities, that is, entities picked by the mouse. By default, this is Quantity_NOC_CYAN1. - - :param aHiCol: - :type aHiCol: Quantity_NameOfColor - :rtype: None -") SetHilightColor; - void SetHilightColor (const Quantity_NameOfColor aHiCol); - %feature("compactdefaultargs") SelectionColor; - %feature("autodoc", " * Sets the color used to show selected entities. By default, this is Quantity_NOC_GRAY80. + /****************** EndImmediateDraw ******************/ + %feature("compactdefaultargs") EndImmediateDraw; + %feature("autodoc", "* Uses the First Active View of Main Viewer! returns True if the immediate display has been done. + :rtype: bool") EndImmediateDraw; + Standard_Boolean EndImmediateDraw (); - :param aCol: - :type aCol: Quantity_NameOfColor - :rtype: None -") SelectionColor; - void SelectionColor (const Quantity_NameOfColor aCol); - %feature("compactdefaultargs") SetPreselectionColor; - %feature("autodoc", " * Allows you to set the color used to show preselection. By default, this is Quantity_NOC_GREEN. A preselected entity is one which has been selected as the domain of application of a function such as a fillet. + /****************** Erase ******************/ + %feature("compactdefaultargs") Erase; + %feature("autodoc", "* Hides the object. The object's presentations are simply flagged as invisible and therefore excluded from redrawing. To show hidden objects, use Display(). + :param theIObj: + :type theIObj: opencascade::handle & + :param theToUpdateViewer: + :type theToUpdateViewer: bool + :rtype: None") Erase; + void Erase (const opencascade::handle & theIObj,const Standard_Boolean theToUpdateViewer); - :param aCol: - :type aCol: Quantity_NameOfColor - :rtype: None -") SetPreselectionColor; - void SetPreselectionColor (const Quantity_NameOfColor aCol); - %feature("compactdefaultargs") SetSubIntensityColor; - %feature("autodoc", " * Sets the color used to show that an object is not currently selected. By default, this is Quantity_NOC_GRAY40. + /****************** EraseAll ******************/ + %feature("compactdefaultargs") EraseAll; + %feature("autodoc", "* Hides all objects. The object's presentations are simply flagged as invisible and therefore excluded from redrawing. To show all hidden objects, use DisplayAll(). + :param theToUpdateViewer: + :type theToUpdateViewer: bool + :rtype: None") EraseAll; + void EraseAll (const Standard_Boolean theToUpdateViewer); - :param aCol: - :type aCol: Quantity_NameOfColor - :rtype: None -") SetSubIntensityColor; - void SetSubIntensityColor (const Quantity_NameOfColor aCol); - %feature("compactdefaultargs") SetDisplayMode; - %feature("autodoc", " * Sets the display mode of seen Interactive Objects. aMode provides the display mode index of the entity aniobj. If updateviewer equals Standard_True, the predominant mode aMode will overule the context mode. If a local context is open and if updateviewer equals Standard_False, the presentation of the Interactive Object returns to the default selection mode; the object is displayed but no viewer will be updated. Note that display mode 3 is only used if you have an AIS_Textured Shape. - - :param AMode: - :type AMode: AIS_DisplayMode - :param updateviewer: default value is Standard_True - :type updateviewer: bool - :rtype: None -") SetDisplayMode; - void SetDisplayMode (const AIS_DisplayMode AMode,const Standard_Boolean updateviewer = Standard_True); - %feature("compactdefaultargs") SetDeviationCoefficient; - %feature("autodoc", " * Sets the deviation coefficient aCoefficient. 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 aCoefficient 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. default 0.001 + /****************** EraseSelected ******************/ + %feature("compactdefaultargs") EraseSelected; + %feature("autodoc", "* Hides selected objects. The object's presentations are simply flagged as invisible and therefore excluded from redrawing. To show hidden objects, use Display(). + :param theToUpdateViewer: + :type theToUpdateViewer: bool + :rtype: None") EraseSelected; + void EraseSelected (const Standard_Boolean theToUpdateViewer); - :param aniobj: - :type aniobj: Handle_AIS_InteractiveObject & - :param aCoefficient: - :type aCoefficient: float - :param updateviewer: default value is Standard_True - :type updateviewer: bool - :rtype: None -") SetDeviationCoefficient; - void SetDeviationCoefficient (const Handle_AIS_InteractiveObject & aniobj,const Standard_Real aCoefficient,const Standard_Boolean updateviewer = Standard_True); - %feature("compactdefaultargs") SetDeviationAngle; - %feature("autodoc", " :param aniobj: - :type aniobj: Handle_AIS_InteractiveObject & - :param anAngle: - :type anAngle: float - :param updateviewer: default value is Standard_True - :type updateviewer: bool - :rtype: None -") SetDeviationAngle; - void SetDeviationAngle (const Handle_AIS_InteractiveObject & aniobj,const Standard_Real anAngle,const Standard_Boolean updateviewer = Standard_True); - %feature("compactdefaultargs") SetAngleAndDeviation; - %feature("autodoc", " * Calls the AIS_Shape SetAngleAndDeviation to set both Angle and Deviation coefficients + /****************** ErasedObjects ******************/ + %feature("compactdefaultargs") ErasedObjects; + %feature("autodoc", "* Returns the list theListOfIO of erased objects (hidden objects) particular Type WhichKind and Signature WhichSignature. By Default, WhichSignature equals 1. This means that there is a check on type only. + :param theListOfIO: + :type theListOfIO: AIS_ListOfInteractive & + :rtype: None") ErasedObjects; + void ErasedObjects (AIS_ListOfInteractive & theListOfIO); - :param aniobj: - :type aniobj: Handle_AIS_InteractiveObject & - :param anAngle: - :type anAngle: float - :param updateviewer: default value is Standard_True - :type updateviewer: bool - :rtype: None -") SetAngleAndDeviation; - void SetAngleAndDeviation (const Handle_AIS_InteractiveObject & aniobj,const Standard_Real anAngle,const Standard_Boolean updateviewer = Standard_True); - %feature("compactdefaultargs") SetHLRDeviationCoefficient; - %feature("autodoc", " * Sets the deviation coefficient aCoefficient for removal of hidden lines created by different viewpoints in different presentations. The Default value is 0.02. + /****************** ErasedObjects ******************/ + %feature("compactdefaultargs") ErasedObjects; + %feature("autodoc", "* gives the list of erased objects (hidden objects) Type and signature by Default, = -1 means control only on . + :param theWhichKind: + :type theWhichKind: AIS_KindOfInteractive + :param theWhichSignature: + :type theWhichSignature: int + :param theListOfIO: + :type theListOfIO: AIS_ListOfInteractive & + :rtype: None") ErasedObjects; + void ErasedObjects (const AIS_KindOfInteractive theWhichKind,const Standard_Integer theWhichSignature,AIS_ListOfInteractive & theListOfIO); - :param aniobj: - :type aniobj: Handle_AIS_InteractiveObject & - :param aCoefficient: - :type aCoefficient: float - :param updateviewer: default value is Standard_True - :type updateviewer: bool - :rtype: None -") SetHLRDeviationCoefficient; - void SetHLRDeviationCoefficient (const Handle_AIS_InteractiveObject & aniobj,const Standard_Real aCoefficient,const Standard_Boolean updateviewer = Standard_True); - %feature("compactdefaultargs") SetHLRDeviationAngle; - %feature("autodoc", " :param aniobj: - :type aniobj: Handle_AIS_InteractiveObject & - :param anAngle: - :type anAngle: float - :param updateviewer: default value is Standard_True - :type updateviewer: bool - :rtype: None -") SetHLRDeviationAngle; - void SetHLRDeviationAngle (const Handle_AIS_InteractiveObject & aniobj,const Standard_Real anAngle,const Standard_Boolean updateviewer = Standard_True); - %feature("compactdefaultargs") SetHLRAngleAndDeviation; - %feature("autodoc", " * Computes a HLRAngle and a HLRDeviationCoefficient by means of the angle anAngle and sets the corresponding methods in the default drawing tool with these values. + /****************** Filters ******************/ + %feature("compactdefaultargs") Filters; + %feature("autodoc", "* @name Selection Filters management Returns the list of filters active in a local context. + :rtype: SelectMgr_ListOfFilter") Filters; + const SelectMgr_ListOfFilter & Filters (); - :param aniobj: - :type aniobj: Handle_AIS_InteractiveObject & - :param anAngle: - :type anAngle: float - :param updateviewer: default value is Standard_True - :type updateviewer: bool - :rtype: None -") SetHLRAngleAndDeviation; - void SetHLRAngleAndDeviation (const Handle_AIS_InteractiveObject & aniobj,const Standard_Real anAngle,const Standard_Boolean updateviewer = Standard_True); - %feature("compactdefaultargs") SetDeviationCoefficient; - %feature("autodoc", " * Sets the deviation coefficient aCoefficient. 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 aCoefficient 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. default 0.001 + /****************** FirstSelectedObject ******************/ + %feature("compactdefaultargs") FirstSelectedObject; + %feature("autodoc", "* Returns the first selected object in the list of current selected. + :rtype: opencascade::handle") FirstSelectedObject; + opencascade::handle FirstSelectedObject (); - :param aCoefficient: - :type aCoefficient: float - :rtype: None -") SetDeviationCoefficient; - void SetDeviationCoefficient (const Standard_Real aCoefficient); - %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. + /****************** FitSelected ******************/ + %feature("compactdefaultargs") FitSelected; + %feature("autodoc", "* Fits the view correspondingly to the bounds of selected objects. Infinite objects are ignored if infinite state of AIS_InteractiveObject is set to true. + :param theView: + :type theView: opencascade::handle & + :param theMargin: + :type theMargin: float + :param theToUpdate: + :type theToUpdate: bool + :rtype: None") FitSelected; + void FitSelected (const opencascade::handle & theView,const Standard_Real theMargin,const Standard_Boolean theToUpdate); - :rtype: float -") DeviationCoefficient; - Standard_Real DeviationCoefficient (); - %feature("compactdefaultargs") SetDeviationAngle; - %feature("autodoc", " * default 6degrees + /****************** FitSelected ******************/ + %feature("compactdefaultargs") FitSelected; + %feature("autodoc", "* Fits the view correspondingly to the bounds of selected objects. Infinite objects are ignored if infinite state of AIS_InteractiveObject is set to true. + :param theView: + :type theView: opencascade::handle & + :rtype: None") FitSelected; + void FitSelected (const opencascade::handle & theView); - :param anAngle: - :type anAngle: float - :rtype: None -") SetDeviationAngle; - void SetDeviationAngle (const Standard_Real anAngle); - %feature("compactdefaultargs") DeviationAngle; - %feature("autodoc", " :rtype: float -") DeviationAngle; - Standard_Real DeviationAngle (); - %feature("compactdefaultargs") SetHLRDeviationCoefficient; - %feature("autodoc", " * Sets the deviation coefficient aCoefficient for removal of hidden lines created by different viewpoints in different presentations. The Default value is 0.02. + /****************** GetAutoActivateSelection ******************/ + %feature("compactdefaultargs") GetAutoActivateSelection; + %feature("autodoc", "* Manages displaying the new object should also automatically activate default selection mode; True by default. + :rtype: bool") GetAutoActivateSelection; + Standard_Boolean GetAutoActivateSelection (); - :param aCoefficient: - :type aCoefficient: float - :rtype: None -") SetHLRDeviationCoefficient; - void SetHLRDeviationCoefficient (const Standard_Real aCoefficient); - %feature("compactdefaultargs") HLRDeviationCoefficient; - %feature("autodoc", " * Returns the real number value of the hidden line removal deviation coefficient. 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 give 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. To find the hidden lines, hidden line display mode entails recalculation of the view at each different projector perspective. Because hidden lines entail calculations of more than usual complexity to decompose them into these triangles, a deviation coefficient allowing greater tolerance is used. This increases efficiency in calculation. The Default value is 0.02. + /****************** GetZLayer ******************/ + %feature("compactdefaultargs") GetZLayer; + %feature("autodoc", "* Get Z layer id set for displayed interactive object. + :param theIObj: + :type theIObj: opencascade::handle & + :rtype: Graphic3d_ZLayerId") GetZLayer; + Graphic3d_ZLayerId GetZLayer (const opencascade::handle & theIObj); - :rtype: float -") HLRDeviationCoefficient; - Standard_Real HLRDeviationCoefficient (); - %feature("compactdefaultargs") SetHLRAngle; - %feature("autodoc", " * Sets the HLR angle anAngle. + /****************** GravityPoint ******************/ + %feature("compactdefaultargs") GravityPoint; + %feature("autodoc", "* Return rotation gravity point. + :param theView: + :type theView: opencascade::handle & + :rtype: gp_Pnt") GravityPoint; + virtual gp_Pnt GravityPoint (const opencascade::handle & theView); - :param anAngle: - :type anAngle: float - :rtype: None -") SetHLRAngle; - void SetHLRAngle (const Standard_Real anAngle); + /****************** HLRAngle ******************/ %feature("compactdefaultargs") HLRAngle; - %feature("autodoc", " * Returns the real number value of the deviation angle in hidden line removal views in this interactive context. The default value is 20*PI/180. - - :rtype: float -") HLRAngle; + %feature("autodoc", "* Returns the real number value of the deviation angle in hidden line removal views in this interactive context. The default value is 20*PI/180. + :rtype: float") HLRAngle; Standard_Real HLRAngle (); - %feature("compactdefaultargs") SetHLRAngleAndDeviation; - %feature("autodoc", " * compute with anangle a HLRAngle and a HLRDeviationCoefficient and set them in myHLRAngle and in myHLRDeviationCoefficient of myDefaultDrawer ; anAngle is in radian ; ( 1 deg < angle in deg < 20 deg) - :param anAngle: - :type anAngle: float - :rtype: None -") SetHLRAngleAndDeviation; - void SetHLRAngleAndDeviation (const Standard_Real anAngle); - %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. + /****************** HLRDeviationCoefficient ******************/ + %feature("compactdefaultargs") HLRDeviationCoefficient; + %feature("autodoc", "* Returns the real number value of the hidden line removal deviation coefficient. 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 give 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. To find the hidden lines, hidden line display mode entails recalculation of the view at each different projector perspective. Because hidden lines entail calculations of more than usual complexity to decompose them into these triangles, a deviation coefficient allowing greater tolerance is used. This increases efficiency in calculation. The Default value is 0.02. + :rtype: float") HLRDeviationCoefficient; + Standard_Real HLRDeviationCoefficient (); - :rtype: Handle_Prs3d_LineAspect -") HiddenLineAspect; - Handle_Prs3d_LineAspect HiddenLineAspect (); - %feature("compactdefaultargs") SetHiddenLineAspect; - %feature("autodoc", " * Sets the hidden line aspect anAspect. anAspect defines display attributes for hidden lines in HLR projections. + /****************** HasApplicative ******************/ + %feature("compactdefaultargs") HasApplicative; + %feature("autodoc", "* Returns SelectedInteractive()->HasOwner(). @sa SelectedOwner(). + :rtype: bool") HasApplicative; + Standard_Boolean HasApplicative (); - :param anAspect: - :type anAspect: Handle_Prs3d_LineAspect & - :rtype: None -") SetHiddenLineAspect; - void SetHiddenLineAspect (const Handle_Prs3d_LineAspect & anAspect); - %feature("compactdefaultargs") DrawHiddenLine; - %feature("autodoc", " * returns Standard_True if the hidden lines are to be drawn. By default the hidden lines are not drawn. + /****************** HasColor ******************/ + %feature("compactdefaultargs") HasColor; + %feature("autodoc", "* Returns true if a view of the Interactive Object has color. + :param aniobj: + :type aniobj: opencascade::handle & + :rtype: bool") HasColor; + Standard_Boolean HasColor (const opencascade::handle & aniobj); - :rtype: bool -") DrawHiddenLine; - Standard_Boolean DrawHiddenLine (); - %feature("compactdefaultargs") EnableDrawHiddenLine; - %feature("autodoc", " :rtype: None -") EnableDrawHiddenLine; - void EnableDrawHiddenLine (); - %feature("compactdefaultargs") DisableDrawHiddenLine; - %feature("autodoc", " :rtype: None -") DisableDrawHiddenLine; - void DisableDrawHiddenLine (); - %feature("compactdefaultargs") SetIsoNumber; - %feature("autodoc", " * Sets the number of U and V isoparameters displayed. + /****************** HasDetected ******************/ + %feature("compactdefaultargs") HasDetected; + %feature("autodoc", "* Returns true if there is a mouse-detected entity in context. @sa DetectedOwner()/HasNextDetected()/HilightPreviousDetected()/HilightNextDetected(). + :rtype: bool") HasDetected; + Standard_Boolean HasDetected (); - :param NbIsos: - :type NbIsos: int - :param WhichIsos: default value is AIS_TOI_Both - :type WhichIsos: AIS_TypeOfIso - :rtype: None -") SetIsoNumber; - void SetIsoNumber (const Standard_Integer NbIsos,const AIS_TypeOfIso WhichIsos = AIS_TOI_Both); - %feature("compactdefaultargs") IsoNumber; - %feature("autodoc", " * Returns the number of U and V isoparameters displayed. + /****************** HasDetectedShape ******************/ + %feature("compactdefaultargs") HasDetectedShape; + %feature("autodoc", "* Returns true if there is a detected shape in local context. @sa HasDetected()/DetectedShape() + :rtype: bool") HasDetectedShape; + Standard_Boolean HasDetectedShape (); - :param WhichIsos: default value is AIS_TOI_Both - :type WhichIsos: AIS_TypeOfIso - :rtype: int -") IsoNumber; - Standard_Integer IsoNumber (const AIS_TypeOfIso WhichIsos = AIS_TOI_Both); - %feature("compactdefaultargs") IsoOnPlane; - %feature("autodoc", " * Returns True if drawing isoparameters on planes is enabled. + /****************** HasLocation ******************/ + %feature("compactdefaultargs") HasLocation; + %feature("autodoc", "* Returns true if the Object has a location. + :param theObject: + :type theObject: opencascade::handle & + :rtype: bool") HasLocation; + Standard_Boolean HasLocation (const opencascade::handle & theObject); - :param SwitchOn: - :type SwitchOn: bool - :rtype: None -") IsoOnPlane; - void IsoOnPlane (const Standard_Boolean SwitchOn); - %feature("compactdefaultargs") IsoOnPlane; - %feature("autodoc", " * Returns True if drawing isoparameters on planes is enabled. if = False, + /****************** HasNextDetected ******************/ + %feature("compactdefaultargs") HasNextDetected; + %feature("autodoc", "* returns True if other entities were detected in the last mouse detection @sa HilightPreviousDetected()/HilightNextDetected(). + :rtype: bool") HasNextDetected; + Standard_Boolean HasNextDetected (); - :rtype: bool -") IsoOnPlane; - Standard_Boolean IsoOnPlane (); - %feature("compactdefaultargs") SetSelectedAspect; - %feature("autodoc", " * Sets the graphic basic aspect to the current presentation of ALL selected objects. When is True , the full object presentation is changed. When is False , only the current group of the object presentation is changed. Updates the viewer when is True + /****************** HasPolygonOffsets ******************/ + %feature("compactdefaultargs") HasPolygonOffsets; + %feature("autodoc", "* Simply calls AIS_InteractiveObject::HasPolygonOffsets(). + :param anObj: + :type anObj: opencascade::handle & + :rtype: bool") HasPolygonOffsets; + Standard_Boolean HasPolygonOffsets (const opencascade::handle & anObj); - :param anAspect: - :type anAspect: Handle_Prs3d_BasicAspect & - :param globalChange: default value is Standard_True - :type globalChange: bool - :param updateViewer: default value is Standard_True - :type updateViewer: bool - :rtype: None -") SetSelectedAspect; - void SetSelectedAspect (const Handle_Prs3d_BasicAspect & anAspect,const Standard_Boolean globalChange = Standard_True,const Standard_Boolean updateViewer = Standard_True); - %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. Functions in both Neutral Point and local contexts. If theToRedrawOnUpdate is set to false, callee should call RedrawImmediate() to highlight detected object. + /****************** HasSelectedShape ******************/ + %feature("compactdefaultargs") HasSelectedShape; + %feature("autodoc", "* Returns True if the interactive context has a shape selected. @sa SelectedShape(). + :rtype: bool") HasSelectedShape; + Standard_Boolean HasSelectedShape (); - :param theXPix: - :type theXPix: int - :param theYPix: - :type theYPix: int - :param theView: - :type theView: Handle_V3d_View & - :param theToRedrawOnUpdate: default value is Standard_True - :type theToRedrawOnUpdate: bool - :rtype: AIS_StatusOfDetection -") MoveTo; - AIS_StatusOfDetection MoveTo (const Standard_Integer theXPix,const Standard_Integer theYPix,const Handle_V3d_View & theView,const Standard_Boolean theToRedrawOnUpdate = Standard_True); - %feature("compactdefaultargs") HasNextDetected; - %feature("autodoc", " * returns True if other entities were detected in the last mouse detection + /****************** HiddenLineAspect ******************/ + %feature("compactdefaultargs") HiddenLineAspect; + %feature("autodoc", "* @name HLR (Hidden Line Removal) display attributes 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. + :rtype: opencascade::handle") HiddenLineAspect; + opencascade::handle HiddenLineAspect (); + + /****************** HighlightStyle ******************/ + %feature("compactdefaultargs") HighlightStyle; + %feature("autodoc", "* @name highlighting management Returns highlight style settings. + :param theStyleType: + :type theStyleType: Prs3d_TypeOfHighlight + :rtype: opencascade::handle") HighlightStyle; + const opencascade::handle & HighlightStyle (const Prs3d_TypeOfHighlight theStyleType); + + /****************** HighlightStyle ******************/ + %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. + :rtype: opencascade::handle") HighlightStyle; + const opencascade::handle & HighlightStyle (); + + /****************** HighlightStyle ******************/ + %feature("compactdefaultargs") HighlightStyle; + %feature("autodoc", "* Returns highlight style of the object if it is marked as highlighted via global status @param theObj [in] the object to check + :param theObj: + :type theObj: opencascade::handle & + :param theStyle: + :type theStyle: opencascade::handle & + :rtype: bool") HighlightStyle; + Standard_Boolean HighlightStyle (const opencascade::handle & theObj,opencascade::handle & theStyle); + + /****************** HighlightStyle ******************/ + %feature("compactdefaultargs") HighlightStyle; + %feature("autodoc", "* Returns highlight style of the owner if it is selected @param theOwner [in] the owner to check + :param theOwner: + :type theOwner: opencascade::handle & + :param theStyle: + :type theStyle: opencascade::handle & + :rtype: bool") HighlightStyle; + Standard_Boolean HighlightStyle (const opencascade::handle & theOwner,opencascade::handle & theStyle); + + /****************** Hilight ******************/ + %feature("compactdefaultargs") Hilight; + %feature("autodoc", "* Updates the display in the viewer to take dynamic detection into account. On dynamic detection by the mouse cursor, sensitive primitives are highlighted. The highlight color of entities detected by mouse movement is white by default. + :param theObj: + :type theObj: opencascade::handle & + :param theIsToUpdateViewer: + :type theIsToUpdateViewer: bool + :rtype: None") Hilight; + void Hilight (const opencascade::handle & theObj,const Standard_Boolean theIsToUpdateViewer); - :rtype: bool -") HasNextDetected; - Standard_Boolean HasNextDetected (); - %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! returns the Rank of hilighted entity WARNING : Loop Method. When all the detected entities have been hilighted , the next call will hilight the first one again + /****************** HilightCurrents ******************/ + %feature("compactdefaultargs") HilightCurrents; + %feature("autodoc", "* Highlights current objects. Objects selected when there is no open local context are called current objects; those selected in open local context, selected objects. + :param theToUpdateViewer: + :type theToUpdateViewer: bool + :rtype: None") HilightCurrents; + void HilightCurrents (const Standard_Boolean theToUpdateViewer); + /****************** HilightNextDetected ******************/ + %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(). :param theView: - :type theView: Handle_V3d_View & + :type theView: opencascade::handle & :param theToRedrawImmediate: default value is Standard_True :type theToRedrawImmediate: bool - :rtype: int -") HilightNextDetected; - Standard_Integer HilightNextDetected (const Handle_V3d_View & theView,const Standard_Boolean theToRedrawImmediate = Standard_True); - %feature("compactdefaultargs") HilightPreviousDetected; - %feature("autodoc", " * Same as previous methods in reverse direction... + :rtype: int") HilightNextDetected; + Standard_Integer HilightNextDetected (const opencascade::handle & theView,const Standard_Boolean theToRedrawImmediate = Standard_True); + /****************** HilightPreviousDetected ******************/ + %feature("compactdefaultargs") HilightPreviousDetected; + %feature("autodoc", "* Same as previous methods in reverse direction. @sa HasNextDetected()/HilightNextDetected(). :param theView: - :type theView: Handle_V3d_View & + :type theView: opencascade::handle & :param theToRedrawImmediate: default value is Standard_True :type theToRedrawImmediate: bool - :rtype: int -") HilightPreviousDetected; - Standard_Integer HilightPreviousDetected (const Handle_V3d_View & theView,const Standard_Boolean theToRedrawImmediate = Standard_True); - %feature("compactdefaultargs") Select; - %feature("autodoc", " * Selects everything found in the bounding rectangle defined by the pixel minima and maxima, XPMin, YPMin, XPMax, and YPMax in the view, aView The objects detected are passed to the main viewer, which is then updated. - - :param XPMin: - :type XPMin: int - :param YPMin: - :type YPMin: int - :param XPMax: - :type XPMax: int - :param YPMax: - :type YPMax: int - :param aView: - :type aView: Handle_V3d_View & - :param updateviewer: default value is Standard_True - :type updateviewer: bool - :rtype: AIS_StatusOfPick -") Select; - AIS_StatusOfPick Select (const Standard_Integer XPMin,const Standard_Integer YPMin,const Standard_Integer XPMax,const Standard_Integer YPMax,const Handle_V3d_View & aView,const Standard_Boolean updateviewer = Standard_True); - %feature("compactdefaultargs") Select; - %feature("autodoc", " * polyline selection; clears the previous picked list - - :param Polyline: - :type Polyline: TColgp_Array1OfPnt2d - :param aView: - :type aView: Handle_V3d_View & - :param updateviewer: default value is Standard_True - :type updateviewer: bool - :rtype: AIS_StatusOfPick -") Select; - AIS_StatusOfPick Select (const TColgp_Array1OfPnt2d & Polyline,const Handle_V3d_View & aView,const Standard_Boolean updateviewer = Standard_True); - %feature("compactdefaultargs") Select; - %feature("autodoc", " * Stores and hilights the previous detected; Unhilights the previous picked. - - :param updateviewer: default value is Standard_True - :type updateviewer: bool - :rtype: AIS_StatusOfPick -") Select; - AIS_StatusOfPick Select (const Standard_Boolean updateviewer = Standard_True); - %feature("compactdefaultargs") ShiftSelect; - %feature("autodoc", " * adds the last detected to the list of previous picked. if the last detected was already declared as picked, removes it from the Picked List. + :rtype: int") HilightPreviousDetected; + Standard_Integer HilightPreviousDetected (const opencascade::handle & theView,const Standard_Boolean theToRedrawImmediate = Standard_True); - :param updateviewer: default value is Standard_True - :type updateviewer: bool - :rtype: AIS_StatusOfPick -") ShiftSelect; - AIS_StatusOfPick ShiftSelect (const Standard_Boolean updateviewer = Standard_True); - %feature("compactdefaultargs") ShiftSelect; - %feature("autodoc", " * adds the last detected to the list of previous picked. if the last detected was already declared as picked, removes it from the Picked List. + /****************** HilightSelected ******************/ + %feature("compactdefaultargs") HilightSelected; + %feature("autodoc", "* Highlights selected objects. + :param theToUpdateViewer: + :type theToUpdateViewer: bool + :rtype: None") HilightSelected; + void HilightSelected (const Standard_Boolean theToUpdateViewer); - :param Polyline: - :type Polyline: TColgp_Array1OfPnt2d - :param aView: - :type aView: Handle_V3d_View & - :param updateviewer: default value is Standard_True - :type updateviewer: bool - :rtype: AIS_StatusOfPick -") ShiftSelect; - AIS_StatusOfPick ShiftSelect (const TColgp_Array1OfPnt2d & Polyline,const Handle_V3d_View & aView,const Standard_Boolean updateviewer = Standard_True); - %feature("compactdefaultargs") ShiftSelect; - %feature("autodoc", " * rectangle of selection ; adds new detected entities into the picked list, removes the detected entities that were already stored... - - :param XPMin: - :type XPMin: int - :param YPMin: - :type YPMin: int - :param XPMax: - :type XPMax: int - :param YPMax: - :type YPMax: int - :param aView: - :type aView: Handle_V3d_View & - :param updateviewer: default value is Standard_True - :type updateviewer: bool - :rtype: AIS_StatusOfPick -") ShiftSelect; - AIS_StatusOfPick ShiftSelect (const Standard_Integer XPMin,const Standard_Integer YPMin,const Standard_Integer XPMax,const Standard_Integer YPMax,const Handle_V3d_View & aView,const Standard_Boolean updateviewer = Standard_True); - %feature("compactdefaultargs") SetToHilightSelected; - %feature("autodoc", " * Specify whether selected object must be hilighted when mouse cursor is moved above it (in MoveTo method). By default this value is false and selected object is not hilighted in this case. + /****************** HilightWithColor ******************/ + %feature("compactdefaultargs") HilightWithColor; + %feature("autodoc", "* Changes the color of all the lines of the object in view. + :param theObj: + :type theObj: opencascade::handle & + :param theStyle: + :type theStyle: opencascade::handle & + :param theToUpdateViewer: + :type theToUpdateViewer: bool + :rtype: None") HilightWithColor; + void HilightWithColor (const opencascade::handle & theObj,const opencascade::handle & theStyle,const Standard_Boolean theToUpdateViewer); - :param toHilight: - :type toHilight: bool - :rtype: None -") SetToHilightSelected; - void SetToHilightSelected (const Standard_Boolean toHilight); - %feature("compactdefaultargs") ToHilightSelected; - %feature("autodoc", " * Return value specified whether selected object must be hilighted when mouse cursor is moved above it + /****************** ImmediateAdd ******************/ + %feature("compactdefaultargs") ImmediateAdd; + %feature("autodoc", "* returns True if has been stored in the list. + :param theObj: + :type theObj: opencascade::handle & + :param theMode: default value is 0 + :type theMode: int + :rtype: bool") ImmediateAdd; + Standard_Boolean ImmediateAdd (const opencascade::handle & theObj,const Standard_Integer theMode = 0); - :rtype: bool -") ToHilightSelected; - Standard_Boolean ToHilightSelected (); - %feature("compactdefaultargs") SetCurrentObject; - %feature("autodoc", " * Updates the view of the current object in open context. Objects selected when there is no open local context are called current objects; those selected in open local context, selected objects. If a local context is open and if updateviewer equals Standard_False, the presentation of the Interactive Object activates the selection mode; the object is displayed but no viewer will be updated. + /****************** InitCurrent ******************/ + %feature("compactdefaultargs") InitCurrent; + %feature("autodoc", "* Initializes a scan of the current selected objects in Neutral Point. Objects selected when there is no open local context are called current objects; those selected in open local context, selected objects. + :rtype: None") InitCurrent; + void InitCurrent (); - :param aniobj: - :type aniobj: Handle_AIS_InteractiveObject & - :param updateviewer: default value is Standard_True - :type updateviewer: bool - :rtype: None -") SetCurrentObject; - void SetCurrentObject (const Handle_AIS_InteractiveObject & aniobj,const Standard_Boolean updateviewer = Standard_True); - %feature("compactdefaultargs") AddOrRemoveCurrentObject; - %feature("autodoc", " * Allows you to add a current object to the list of current objects or remove it from that list. Objects selected when there is no open local context are called current objects; those selected in open local context, selected objects. If a local context is open and if updateviewer equals Standard_False, the presentation of the Interactive Object activates the selection mode; the object is displayed but no viewer will be updated. + /****************** InitDetected ******************/ + %feature("compactdefaultargs") InitDetected; + %feature("autodoc", "* @name iteration through detected entities Initialization for iteration through mouse-detected objects in interactive context or in local context if it is opened. @sa DetectedCurrentOwner()/MoreDetected()/NextDetected(). + :rtype: None") InitDetected; + void InitDetected (); - :param aniobj: - :type aniobj: Handle_AIS_InteractiveObject & - :param updateviewer: default value is Standard_True - :type updateviewer: bool - :rtype: None -") AddOrRemoveCurrentObject; - void AddOrRemoveCurrentObject (const Handle_AIS_InteractiveObject & aniobj,const Standard_Boolean updateviewer = Standard_True); - %feature("compactdefaultargs") UpdateCurrent; - %feature("autodoc", " * Updates the list of current objects, i.e. hilights new current objects, removes hilighting from former current objects. Objects selected when there is no open local context are called current objects; those selected in open local context, selected objects. + /****************** InitSelected ******************/ + %feature("compactdefaultargs") InitSelected; + %feature("autodoc", "* Initializes a scan of the selected objects. @sa SelectedOwner()/MoreSelected()/NextSelected(). + :rtype: None") InitSelected; + void InitSelected (); - :rtype: None -") UpdateCurrent; - void UpdateCurrent (); - %feature("compactdefaultargs") WasCurrentTouched; - %feature("autodoc", " * Returns the current selection touched by the cursor. Objects selected when there is no open local context are called current objects; those selected in open local context, selected objects. - - :rtype: bool -") WasCurrentTouched; - Standard_Boolean WasCurrentTouched (); - %feature("compactdefaultargs") SetOkCurrent; - %feature("autodoc", " :rtype: None -") SetOkCurrent; - void SetOkCurrent (); + /****************** IsCurrent ******************/ %feature("compactdefaultargs") IsCurrent; - %feature("autodoc", " * Returns true if there is a non-null interactive object in Neutral Point. Objects selected when there is no open local context are called current objects; those selected in open local context, selected objects. - - :param aniobj: - :type aniobj: Handle_AIS_InteractiveObject & - :rtype: bool -") IsCurrent; - Standard_Boolean IsCurrent (const Handle_AIS_InteractiveObject & aniobj); - %feature("compactdefaultargs") InitCurrent; - %feature("autodoc", " * Initializes a scan of the current selected objects in Neutral Point. Objects selected when there is no open local context are called current objects; those selected in open local context, selected objects. - - :rtype: None -") InitCurrent; - void InitCurrent (); - %feature("compactdefaultargs") MoreCurrent; - %feature("autodoc", " * Returns true if there is another object found by the scan of the list of current objects. Objects selected when there is no open local context are called current objects; those selected in open local context, selected objects. + %feature("autodoc", "* Returns true if there is a non-null interactive object in Neutral Point. Objects selected when there is no open local context are called current objects; those selected in open local context, selected objects. + :param theObject: + :type theObject: opencascade::handle & + :rtype: bool") IsCurrent; + Standard_Boolean IsCurrent (const opencascade::handle & theObject); - :rtype: bool -") MoreCurrent; - Standard_Boolean MoreCurrent (); - %feature("compactdefaultargs") NextCurrent; - %feature("autodoc", " * Continues the scan to the next object in the list of current objects. Objects selected when there is no open local context are called current objects; those selected in open local context, selected objects. + /****************** IsDisplayed ******************/ + %feature("compactdefaultargs") IsDisplayed; + %feature("autodoc", "* Returns true if Object is displayed in the interactive context. + :param anIobj: + :type anIobj: opencascade::handle & + :rtype: bool") IsDisplayed; + Standard_Boolean IsDisplayed (const opencascade::handle & anIobj); - :rtype: None -") NextCurrent; - void NextCurrent (); - %feature("compactdefaultargs") Current; - %feature("autodoc", " * Returns the current interactive object. Objects selected when there is no open local context are called current objects; those selected in open local context, selected objects. + /****************** IsDisplayed ******************/ + %feature("compactdefaultargs") IsDisplayed; + %feature("autodoc", ":param aniobj: + :type aniobj: opencascade::handle & + :param aMode: + :type aMode: int + :rtype: bool") IsDisplayed; + Standard_Boolean IsDisplayed (const opencascade::handle & aniobj,const Standard_Integer aMode); - :rtype: Handle_AIS_InteractiveObject -") Current; - Handle_AIS_InteractiveObject Current (); - %feature("compactdefaultargs") NbCurrents; - %feature("autodoc", " :rtype: int -") NbCurrents; - Standard_Integer NbCurrents (); - %feature("compactdefaultargs") FirstCurrentObject; - %feature("autodoc", " * Returns the first current object in the list of current objects. Objects selected when there is no open local context are called current objects; those selected in open local context, selected objects. + /****************** IsHilighted ******************/ + %feature("compactdefaultargs") IsHilighted; + %feature("autodoc", "* Returns true if the object is marked as highlighted via its global status @param theObj [in] the object to check + :param theObj: + :type theObj: opencascade::handle & + :rtype: bool") IsHilighted; + Standard_Boolean IsHilighted (const opencascade::handle & theObj); - :rtype: Handle_AIS_InteractiveObject -") FirstCurrentObject; - Handle_AIS_InteractiveObject FirstCurrentObject (); - %feature("compactdefaultargs") HilightCurrents; - %feature("autodoc", " * Highlights current objects. Objects selected when there is no open local context are called current objects; those selected in open local context, selected objects. If a local context is open and if updateviewer equals Standard_False, the presentation of the Interactive Object activates the selection mode; the object is displayed but no viewer will be updated. + /****************** IsHilighted ******************/ + %feature("compactdefaultargs") IsHilighted; + %feature("autodoc", "* Returns true if the owner is marked as selected @param theOwner [in] the owner to check + :param theOwner: + :type theOwner: opencascade::handle & + :rtype: bool") IsHilighted; + Standard_Boolean IsHilighted (const opencascade::handle & theOwner); - :param updateviewer: default value is Standard_True - :type updateviewer: bool - :rtype: None -") HilightCurrents; - void HilightCurrents (const Standard_Boolean updateviewer = Standard_True); - %feature("compactdefaultargs") UnhilightCurrents; - %feature("autodoc", " * Removes highlighting from current objects. Objects selected when there is no open local context are called current objects; those selected in open local context, selected objects. If a local context is open and if updateviewer equals Standard_False, the presentation of the Interactive Object activates the selection mode; the object is displayed but no viewer will be updated. + /****************** IsImmediateModeOn ******************/ + %feature("compactdefaultargs") IsImmediateModeOn; + %feature("autodoc", ":rtype: bool") IsImmediateModeOn; + Standard_Boolean IsImmediateModeOn (); - :param updateviewer: default value is Standard_True - :type updateviewer: bool - :rtype: None -") UnhilightCurrents; - void UnhilightCurrents (const Standard_Boolean updateviewer = Standard_True); - %feature("compactdefaultargs") ClearCurrents; - %feature("autodoc", " * Empties previous current objects in order to get the current objects detected by the selector using UpdateCurrent. Objects selected when there is no open local context are called current objects; those selected in open local context, selected objects. If a local context is open and if updateviewer equals Standard_False, the presentation of the Interactive Object activates the selection mode; the object is displayed but no viewer will be updated. + /****************** IsSelected ******************/ + %feature("compactdefaultargs") IsSelected; + %feature("autodoc", "* Returns true is the owner given is selected + :param theOwner: + :type theOwner: opencascade::handle & + :rtype: bool") IsSelected; + Standard_Boolean IsSelected (const opencascade::handle & theOwner); - :param updateviewer: default value is Standard_True - :type updateviewer: bool - :rtype: None -") ClearCurrents; - void ClearCurrents (const Standard_Boolean updateviewer = Standard_True); - %feature("compactdefaultargs") SetSelected; - %feature("autodoc", " * Puts the interactive object aniObj in the list of selected objects. If a local context is open and if updateviewer equals Standard_False, the presentation of the Interactive Object activates the selection mode; the object is displayed but no viewer will be updated. - - :param aniObj: - :type aniObj: Handle_AIS_InteractiveObject & - :param updateviewer: default value is Standard_True - :type updateviewer: bool - :rtype: None -") SetSelected; - void SetSelected (const Handle_AIS_InteractiveObject & aniObj,const Standard_Boolean updateviewer = Standard_True); - %feature("compactdefaultargs") SetSelectedCurrent; - %feature("autodoc", " * puts the selected list in the current objects List. - - :rtype: None -") SetSelectedCurrent; - void SetSelectedCurrent (); - %feature("compactdefaultargs") UpdateSelected; - %feature("autodoc", " * updates the list of selected objects i.e. hilights the new selected unhilights old selected objects + /****************** IsSelected ******************/ + %feature("compactdefaultargs") IsSelected; + %feature("autodoc", "* Returns true is the object given is selected + :param theObj: + :type theObj: opencascade::handle & + :rtype: bool") IsSelected; + Standard_Boolean IsSelected (const opencascade::handle & theObj); - :param updateviewer: default value is Standard_True - :type updateviewer: bool - :rtype: None -") UpdateSelected; - void UpdateSelected (const Standard_Boolean updateviewer = Standard_True); - %feature("compactdefaultargs") AddOrRemoveSelected; - %feature("autodoc", " * Allows you to add a selected object to the list of selected objects or remove it from that list. This entity can be an Interactive Object aniobj or its owner aShape as can be seen in the two syntaxes above. Objects selected when there is no open local context are called current objects; those selected in open local context, selected objects. If a local context is open and if updateviewer equals Standard_False, the presentation of the Interactive Object activates the selection mode; the object is displayed but no viewer will be updated. + /****************** IsoNumber ******************/ + %feature("compactdefaultargs") IsoNumber; + %feature("autodoc", "* Returns the number of U and V isoparameters displayed. + :param WhichIsos: default value is AIS_TOI_Both + :type WhichIsos: AIS_TypeOfIso + :rtype: int") IsoNumber; + Standard_Integer IsoNumber (const AIS_TypeOfIso WhichIsos = AIS_TOI_Both); - :param aniobj: - :type aniobj: Handle_AIS_InteractiveObject & - :param updateviewer: default value is Standard_True - :type updateviewer: bool - :rtype: None -") AddOrRemoveSelected; - void AddOrRemoveSelected (const Handle_AIS_InteractiveObject & aniobj,const Standard_Boolean updateviewer = Standard_True); - %feature("compactdefaultargs") HilightSelected; - %feature("autodoc", " * Highlights selected objects. Objects selected when there is no open local context are called current objects; those selected in open local context, selected objects. If a local context is open and if updateviewer equals Standard_False, the presentation of the Interactive Object activates the selection mode; the object is displayed but no viewer will be updated. + /****************** IsoOnPlane ******************/ + %feature("compactdefaultargs") IsoOnPlane; + %feature("autodoc", "* Returns True if drawing isoparameters on planes is enabled. + :param SwitchOn: + :type SwitchOn: bool + :rtype: None") IsoOnPlane; + void IsoOnPlane (const Standard_Boolean SwitchOn); - :param updateviewer: default value is Standard_True - :type updateviewer: bool - :rtype: None -") HilightSelected; - void HilightSelected (const Standard_Boolean updateviewer = Standard_True); - %feature("compactdefaultargs") UnhilightSelected; - %feature("autodoc", " * Removes highlighting from selected objects. Objects selected when there is no open local context are called current objects; those selected in open local context, selected objects. If a local context is open and if updateviewer equals Standard_False, the presentation of the Interactive Object activates the selection mode; the object is displayed but no viewer will be updated. + /****************** IsoOnPlane ******************/ + %feature("compactdefaultargs") IsoOnPlane; + %feature("autodoc", "* Returns True if drawing isoparameters on planes is enabled. if = False, + :rtype: bool") IsoOnPlane; + Standard_Boolean IsoOnPlane (); - :param updateviewer: default value is Standard_True - :type updateviewer: bool - :rtype: None -") UnhilightSelected; - void UnhilightSelected (const Standard_Boolean updateviewer = Standard_True); - %feature("compactdefaultargs") ClearSelected; - %feature("autodoc", " * Empties previous selected objects in order to get the selected objects detected by the selector using UpdateSelected. Objects selected when there is no open local context are called current objects; those selected in open local context, selected objects. If a local context is open and if updateviewer equals Standard_False, the presentation of the Interactive Object activates the selection mode; the object is displayed but no viewer will be updated. + /****************** IsoOnTriangulation ******************/ + %feature("compactdefaultargs") IsoOnTriangulation; + %feature("autodoc", "* Enables or disables on-triangulation build for isolines for a particular object. In case if on-triangulation builder is disabled, default on-plane builder will compute isolines for the object given. + :param theIsEnabled: + :type theIsEnabled: bool + :param theObject: + :type theObject: opencascade::handle & + :rtype: None") IsoOnTriangulation; + void IsoOnTriangulation (const Standard_Boolean theIsEnabled,const opencascade::handle & theObject); + + /****************** IsoOnTriangulation ******************/ + %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. + :param theToSwitchOn: + :type theToSwitchOn: bool + :rtype: None") IsoOnTriangulation; + void IsoOnTriangulation (const Standard_Boolean theToSwitchOn); + + /****************** IsoOnTriangulation ******************/ + %feature("compactdefaultargs") IsoOnTriangulation; + %feature("autodoc", "* Returns true if drawing isolines on triangulation algorithm is enabled. + :rtype: bool") IsoOnTriangulation; + Standard_Boolean IsoOnTriangulation (); + + /****************** LastActiveView ******************/ + %feature("compactdefaultargs") LastActiveView; + %feature("autodoc", "* Returns last active View (argument of MoveTo()/Select() methods). + :rtype: opencascade::handle") LastActiveView; + opencascade::handle LastActiveView (); + + /****************** Load ******************/ + %feature("compactdefaultargs") Load; + %feature("autodoc", "* Allows you to load the Interactive Object with a given selection mode, and/or with the desired decomposition option, whether the object is visualized or not. The loaded objects will be selectable but displayable in highlighting only when detected by the Selector. + :param theObj: + :type theObj: opencascade::handle & + :param theSelectionMode: default value is -1 + :type theSelectionMode: int + :rtype: None") Load; + void Load (const opencascade::handle & theObj,const Standard_Integer theSelectionMode = -1); - :param updateviewer: default value is Standard_True - :type updateviewer: bool - :rtype: None -") ClearSelected; - void ClearSelected (const Standard_Boolean updateviewer = Standard_True); - %feature("compactdefaultargs") AddOrRemoveSelected; - %feature("autodoc", " * No right to Add a selected Shape (Internal Management of shape Selection). A Previous selected shape may only be removed. - - :param aShape: - :type aShape: TopoDS_Shape & - :param updateviewer: default value is Standard_True - :type updateviewer: bool - :rtype: None -") AddOrRemoveSelected; - void AddOrRemoveSelected (const TopoDS_Shape & aShape,const Standard_Boolean updateviewer = Standard_True); - %feature("compactdefaultargs") AddOrRemoveSelected; - %feature("autodoc", " * allows to add/remove in the selected list the entities represented by in the selection process. - - :param anOwner: - :type anOwner: Handle_SelectMgr_EntityOwner & - :param updateviewer: default value is Standard_True - :type updateviewer: bool - :rtype: None -") AddOrRemoveSelected; - void AddOrRemoveSelected (const Handle_SelectMgr_EntityOwner & anOwner,const Standard_Boolean updateviewer = Standard_True); - %feature("compactdefaultargs") IsSelected; - %feature("autodoc", " * Finds the selected object aniobj in local context and returns its name. Objects selected when there is no open local context are called current objects; those selected in open local context, selected objects. - - :param aniobj: - :type aniobj: Handle_AIS_InteractiveObject & - :rtype: bool -") IsSelected; - Standard_Boolean IsSelected (const Handle_AIS_InteractiveObject & aniobj); - %feature("compactdefaultargs") InitSelected; - %feature("autodoc", " * Initializes a scan of the selected objects in local context. Objects selected when there is no open local context are called current objects; those selected in open local context, selected objects. - - :rtype: None -") InitSelected; - void InitSelected (); - %feature("compactdefaultargs") MoreSelected; - %feature("autodoc", " * Returns true if there is another object found by the scan of the list of selected objects. Objects selected when there is no open local context are called current objects; those selected in open local context, selected objects. - - :rtype: bool -") MoreSelected; - Standard_Boolean MoreSelected (); - %feature("compactdefaultargs") NextSelected; - %feature("autodoc", " * Continues the scan to the next object in the list of selected objects. Objects selected when there is no open local context are called current objects; those selected in open local context, selected objects. - - :rtype: None -") NextSelected; - void NextSelected (); - %feature("compactdefaultargs") NbSelected; - %feature("autodoc", " :rtype: int -") NbSelected; - Standard_Integer NbSelected (); - %feature("compactdefaultargs") HasSelectedShape; - %feature("autodoc", " * Returns true if the interactive context has a shape selected in it which results from the decomposition of another entity in local context. If HasSelectedShape returns true, SelectedShape returns the shape which has been shown to be selected. Interactive returns the Interactive Object from which the shape has been selected. If HasSelectedShape returns false, Interactive returns the interactive entity selected by the click of the mouse. - - :rtype: bool -") HasSelectedShape; - Standard_Boolean HasSelectedShape (); - %feature("compactdefaultargs") SelectedShape; - %feature("autodoc", " * Returns the selected shape in the open local context. Objects selected when there is no open local context are called current objects; those selected in open local context, selected objects. - - :rtype: TopoDS_Shape -") SelectedShape; - TopoDS_Shape SelectedShape (); - %feature("compactdefaultargs") SelectedOwner; - %feature("autodoc", " * Returns the owner of the selected entity resulting from the decomposition of another entity in local context. - - :rtype: Handle_SelectMgr_EntityOwner -") SelectedOwner; - Handle_SelectMgr_EntityOwner SelectedOwner (); - %feature("compactdefaultargs") EntityOwners; - %feature("autodoc", " * Returns a collection containing all entity owners created for the interactive object in the selection mode theMode (in all active modes if the Mode == -1) - - :param theOwners: - :type theOwners: Handle_SelectMgr_IndexedMapOfOwner & - :param theIObj: - :type theIObj: Handle_AIS_InteractiveObject & - :param theMode: default value is -1 - :type theMode: int - :rtype: None -") EntityOwners; - void EntityOwners (Handle_SelectMgr_IndexedMapOfOwner & theOwners,const Handle_AIS_InteractiveObject & theIObj,const Standard_Integer theMode = -1); - %feature("compactdefaultargs") Interactive; - %feature("autodoc", " * Returns the location of the selected Interactive Object. - - :rtype: Handle_AIS_InteractiveObject -") Interactive; - Handle_AIS_InteractiveObject Interactive (); - %feature("compactdefaultargs") SelectedInteractive; - %feature("autodoc", " :rtype: Handle_AIS_InteractiveObject -") SelectedInteractive; - Handle_AIS_InteractiveObject SelectedInteractive (); - %feature("compactdefaultargs") HasApplicative; - %feature("autodoc", " * Returns true if the applicative object has an owner from Interactive attributed to it. - - :rtype: bool -") HasApplicative; - Standard_Boolean HasApplicative (); - %feature("compactdefaultargs") Applicative; - %feature("autodoc", " * Returns the owner of the applicative entity detected in interactive context. The owner can be a shape for a set of sub-shapes or a sub-shape for sub-shapes which it is composed of. - - :rtype: Handle_Standard_Transient -") Applicative; - Handle_Standard_Transient Applicative (); - %feature("compactdefaultargs") HasDetected; - %feature("autodoc", " * Returns true if there is a mouse-detected entity in local context. If there is no open local context, the objects selected are called current objects; selected objects if there is one. Iterators allow entities to be recovered in either case. This method is one of a set which allows you to manipulate the objects which have been placed in these two lists. - - :rtype: bool -") HasDetected; - Standard_Boolean HasDetected (); - %feature("compactdefaultargs") HasDetectedShape; - %feature("autodoc", " * Returns true if there is a detected shape in local context. If there is no open local context, the objects selected are called current objects; selected objects if there is one. Iterators allow entities to be recovered in either case. This method is one of a set which allows you to manipulate the objects which have been placed in these two lists. + /****************** Load ******************/ + %feature("compactdefaultargs") Load; + %feature("autodoc", ":param theObj: + :type theObj: opencascade::handle & + :param theSelectionMode: + :type theSelectionMode: int + :param : + :type : bool + :rtype: None") Load; + void Load (const opencascade::handle & theObj,Standard_Integer theSelectionMode,Standard_Boolean ); - :rtype: bool -") HasDetectedShape; - Standard_Boolean HasDetectedShape (); - %feature("compactdefaultargs") DetectedShape; - %feature("autodoc", " * Returns the shape detected in local context. If there is no open local context, the objects selected are called current objects; selected objects if there is one. Iterators allow entities to be recovered in either case. This method is one of a set which allows you to manipulate the objects which have been placed in these two lists. + /****************** Location ******************/ + %feature("compactdefaultargs") Location; + %feature("autodoc", "* Returns the location of the Object. + :param theObject: + :type theObject: opencascade::handle & + :rtype: TopLoc_Location") Location; + TopLoc_Location Location (const opencascade::handle & theObject); - :rtype: TopoDS_Shape -") DetectedShape; - const TopoDS_Shape DetectedShape (); - %feature("compactdefaultargs") DetectedInteractive; - %feature("autodoc", " * Returns the interactive objects last detected in open context. If there is no open local context, the objects selected are called current objects; selected objects if there is one. Iterators allow entities to be recovered in either case. This method is one of a set which allows you to manipulate the objects which have been placed in these two lists. + /****************** MainPrsMgr ******************/ + %feature("compactdefaultargs") MainPrsMgr; + %feature("autodoc", ":rtype: opencascade::handle") MainPrsMgr; + const opencascade::handle & MainPrsMgr (); - :rtype: Handle_AIS_InteractiveObject -") DetectedInteractive; - Handle_AIS_InteractiveObject DetectedInteractive (); - %feature("compactdefaultargs") DetectedOwner; - %feature("autodoc", " * returns the owner of the detected sensitive primitive. + /****************** MainSelector ******************/ + %feature("compactdefaultargs") MainSelector; + %feature("autodoc", ":rtype: opencascade::handle") MainSelector; + const opencascade::handle & MainSelector (); - :rtype: Handle_SelectMgr_EntityOwner -") DetectedOwner; - Handle_SelectMgr_EntityOwner DetectedOwner (); - %feature("compactdefaultargs") InitDetected; - %feature("autodoc", " * Initialization for iteration through mouse-detected objects in interactive context or in local context if it is opened. + /****************** MoreCurrent ******************/ + %feature("compactdefaultargs") MoreCurrent; + %feature("autodoc", "* Returns true if there is another object found by the scan of the list of current objects. Objects selected when there is no open local context are called current objects; those selected in open local context, selected objects. + :rtype: bool") MoreCurrent; + Standard_Boolean MoreCurrent (); - :rtype: None -") InitDetected; - void InitDetected (); + /****************** MoreDetected ******************/ %feature("compactdefaultargs") MoreDetected; - %feature("autodoc", " * returns true if there is more mouse-detected objects after the current one during iteration through mouse-detected interactive objects. - - :rtype: bool -") 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(). + :rtype: bool") MoreDetected; Standard_Boolean MoreDetected (); - %feature("compactdefaultargs") NextDetected; - %feature("autodoc", " * Gets next current object during iteration through mouse-detected interactive objects. - - :rtype: None -") NextDetected; - void NextDetected (); - %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. - - :rtype: TopoDS_Shape -") DetectedCurrentShape; - const TopoDS_Shape DetectedCurrentShape (); - %feature("compactdefaultargs") DetectedCurrentObject; - %feature("autodoc", " :rtype: Handle_AIS_InteractiveObject -") DetectedCurrentObject; - Handle_AIS_InteractiveObject DetectedCurrentObject (); - %feature("compactdefaultargs") OpenLocalContext; - %feature("autodoc", " * Opens local contexts and specifies how this is to be done. The options listed above function in the following manner: - UseDisplayedObjects -allows you to load or not load the interactive objects visualized at Neutral Point in the local context which you open. If false, the local context is empty after being opened. If true, the objects at Neutral Point are loaded by their default selection mode. - AllowShapeDecomposition -AIS_Shape allows or prevents decomposition in standard shape location mode of objects at Neutral Point which are type-'privileged'. This Flag is only taken into account when UseDisplayedObjects is true. - AcceptEraseOfObjects -authorises other local contexts to erase the interactive objects present in this context. This option is rarely used. - BothViewers - Has no use currently defined. This method returns the index of the created local context. It should be kept and used to close the context. Opening a local context allows you to prepare an environment for temporary presentations and selections which will disappear once the local context is closed. You can open several local contexts, but only the last one will be active. - - :param UseDisplayedObjects: default value is Standard_True - :type UseDisplayedObjects: bool - :param AllowShapeDecomposition: default value is Standard_True - :type AllowShapeDecomposition: bool - :param AcceptEraseOfObjects: default value is Standard_False - :type AcceptEraseOfObjects: bool - :param BothViewers: default value is Standard_False - :type BothViewers: bool - :rtype: int -") OpenLocalContext; - Standard_Integer OpenLocalContext (const Standard_Boolean UseDisplayedObjects = Standard_True,const Standard_Boolean AllowShapeDecomposition = Standard_True,const Standard_Boolean AcceptEraseOfObjects = Standard_False,const Standard_Boolean BothViewers = Standard_False); - %feature("compactdefaultargs") CloseLocalContext; - %feature("autodoc", " * Allows you to close local contexts. For greater security, you should close the context with the index Index given on opening. When you close a local context, the one before, which is still on the stack, reactivates. If none is left, you return to Neutral Point. If a local context is open and if updateviewer equals Standard_False, the presentation of the Interactive Object activates the selection mode; the object is displayed but no viewer will be updated. Warning When the index isn't specified, the current context is closed. This option can be dangerous, as other Interactive Functions can open local contexts without necessarily warning the user. - - :param Index: default value is -1 - :type Index: int - :param updateviewer: default value is Standard_True - :type updateviewer: bool - :rtype: None -") CloseLocalContext; - void CloseLocalContext (const Standard_Integer Index = -1,const Standard_Boolean updateviewer = Standard_True); - %feature("compactdefaultargs") IndexOfCurrentLocal; - %feature("autodoc", " * returns -1 if no opened local context. - - :rtype: int -") IndexOfCurrentLocal; - Standard_Integer IndexOfCurrentLocal (); - %feature("compactdefaultargs") CloseAllContexts; - %feature("autodoc", " * Allows you to close all local contexts at one go and return to Neutral Point. If a local context is open and if updateviewer equals Standard_False, the presentation of the Interactive Object activates the selection mode; the object is displayed but no viewer will be updated. - - :param updateviewer: default value is Standard_True - :type updateviewer: bool - :rtype: None -") CloseAllContexts; - void CloseAllContexts (const Standard_Boolean updateviewer = Standard_True); - %feature("compactdefaultargs") ResetOriginalState; - %feature("autodoc", " * to be used only with no opened local context.. displays and activates objects in their original state before local contexts were opened... - - :param updateviewer: default value is Standard_True - :type updateviewer: bool - :rtype: None -") ResetOriginalState; - void ResetOriginalState (const Standard_Boolean updateviewer = Standard_True); - %feature("compactdefaultargs") ClearLocalContext; - %feature("autodoc", " * clears Objects/Filters/Activated Modes list in the current opened local context. - - :param TheMode: default value is AIS_CM_All - :type TheMode: AIS_ClearMode - :rtype: None -") ClearLocalContext; - void ClearLocalContext (const AIS_ClearMode TheMode = AIS_CM_All); - %feature("compactdefaultargs") UseDisplayedObjects; - %feature("autodoc", " :rtype: None -") UseDisplayedObjects; - void UseDisplayedObjects (); - %feature("compactdefaultargs") NotUseDisplayedObjects; - %feature("autodoc", " * when a local Context is opened, one is able to use/not use the displayed objects at neutral point at anytime. - - :rtype: None -") NotUseDisplayedObjects; - void NotUseDisplayedObjects (); - %feature("compactdefaultargs") BeginImmediateDraw; - %feature("autodoc", " * initializes the list of presentations to be displayed returns False if No Local COnte - :rtype: bool -") BeginImmediateDraw; - Standard_Boolean BeginImmediateDraw (); - %feature("compactdefaultargs") ImmediateAdd; - %feature("autodoc", " * returns True if has been stored in the list. - - :param theObj: - :type theObj: Handle_AIS_InteractiveObject & - :param theMode: default value is 0 - :type theMode: int - :rtype: bool -") ImmediateAdd; - Standard_Boolean ImmediateAdd (const Handle_AIS_InteractiveObject & theObj,const Standard_Integer theMode = 0); - %feature("compactdefaultargs") EndImmediateDraw; - %feature("autodoc", " * returns True if the immediate display has been done. + /****************** MoreSelected ******************/ + %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(). + :rtype: bool") MoreSelected; + Standard_Boolean MoreSelected (); + /****************** MoveTo ******************/ + %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() + :param theXPix: + :type theXPix: int + :param theYPix: + :type theYPix: int :param theView: - :type theView: Handle_V3d_View & - :rtype: bool -") EndImmediateDraw; - Standard_Boolean EndImmediateDraw (const Handle_V3d_View & theView); - %feature("compactdefaultargs") EndImmediateDraw; - %feature("autodoc", " * Uses the First Active View of Main Viewer! returns True if the immediate display has been done. - - :rtype: bool -") EndImmediateDraw; - Standard_Boolean EndImmediateDraw (); - %feature("compactdefaultargs") IsImmediateModeOn; - %feature("autodoc", " :rtype: bool -") IsImmediateModeOn; - Standard_Boolean IsImmediateModeOn (); - %feature("compactdefaultargs") SetAutomaticHilight; - %feature("autodoc", " * Sets the highlighting status aStatus of detected and selected entities. Whether you are in Neutral Point or local context, this is automatically managed by the Interactive Context. This function allows you to disconnect the automatic mode. - - :param aStatus: - :type aStatus: bool - :rtype: None -") SetAutomaticHilight; - void SetAutomaticHilight (const Standard_Boolean aStatus); - %feature("compactdefaultargs") AutomaticHilight; - %feature("autodoc", " * Returns true if the automatic highlight mode is active in an open context. - - :rtype: bool -") AutomaticHilight; - Standard_Boolean AutomaticHilight (); - %feature("compactdefaultargs") SetZDetection; - %feature("autodoc", " * Enables/Disables the Z detection. If True the detection echo can be partially hidden by the detected object. - - :param aStatus: default value is Standard_False - :type aStatus: bool - :rtype: None -") SetZDetection; - void SetZDetection (const Standard_Boolean aStatus = Standard_False); - %feature("compactdefaultargs") ZDetection; - %feature("autodoc", " * Retrieves the Z detection state. - - :rtype: bool -") ZDetection; - Standard_Boolean ZDetection (); - %feature("compactdefaultargs") Activate; - %feature("autodoc", " * Activates the selection mode aMode whose index is given, for the given interactive entity anIobj. - - :param anIobj: - :type anIobj: Handle_AIS_InteractiveObject & - :param aMode: default value is 0 - :type aMode: int - :param theIsForce: default value is Standard_False - :type theIsForce: bool - :rtype: None -") Activate; - void Activate (const Handle_AIS_InteractiveObject & anIobj,const Standard_Integer aMode = 0,const Standard_Boolean theIsForce = Standard_False); - %feature("compactdefaultargs") Deactivate; - %feature("autodoc", " * Deactivates all the activated selection modes of an object. - - :param anIObj: - :type anIObj: Handle_AIS_InteractiveObject & - :rtype: None -") Deactivate; - void Deactivate (const Handle_AIS_InteractiveObject & anIObj); - %feature("compactdefaultargs") Deactivate; - %feature("autodoc", " * Deactivates all the activated selection modes of the interactive object anIobj with a given selection mode aMode. - - :param anIobj: - :type anIobj: Handle_AIS_InteractiveObject & - :param aMode: - :type aMode: int - :rtype: None -") Deactivate; - void Deactivate (const Handle_AIS_InteractiveObject & anIobj,const Standard_Integer aMode); - %feature("compactdefaultargs") ActivatedModes; - %feature("autodoc", " * Returns the list of activated selection modes in an open context. - - :param anIobj: - :type anIobj: Handle_AIS_InteractiveObject & - :param theList: - :type theList: TColStd_ListOfInteger & - :rtype: None -") ActivatedModes; - void ActivatedModes (const Handle_AIS_InteractiveObject & anIobj,TColStd_ListOfInteger & theList); - %feature("compactdefaultargs") SetShapeDecomposition; - %feature("autodoc", " * to be Used only with opened local context and if is of type shape... if = True will be sensitive to shape selection modes activation. = False, will not be senstive any more. - - :param anIobj: - :type anIobj: Handle_AIS_InteractiveObject & - :param aStatus: - :type aStatus: bool - :rtype: None -") SetShapeDecomposition; - void SetShapeDecomposition (const Handle_AIS_InteractiveObject & anIobj,const Standard_Boolean aStatus); - %feature("compactdefaultargs") SetTemporaryAttributes; - %feature("autodoc", " * Sets the temporary graphic attributes of the entity anObj. These are provided by the attribute manager aDrawer and are valid for a particular local context only. If a local context is open and if updateviewer equals Standard_False, the presentation of the Interactive Object activates the selection mode; the object is displayed but no viewer will be updated. - - :param anObj: - :type anObj: Handle_AIS_InteractiveObject & - :param aDrawer: - :type aDrawer: Handle_Prs3d_Drawer & - :param updateviewer: default value is Standard_True - :type updateviewer: bool - :rtype: None -") SetTemporaryAttributes; - void SetTemporaryAttributes (const Handle_AIS_InteractiveObject & anObj,const Handle_Prs3d_Drawer & aDrawer,const Standard_Boolean updateviewer = Standard_True); - %feature("compactdefaultargs") SubIntensityOn; - %feature("autodoc", " * Highlights, and removes highlights from, the displayed object aniobj which is displayed at Neutral Point with subintensity color; available only for active local context. There is no effect if there is no local context. If a local context is open and if updateviewer equals Standard_False, the presentation of the Interactive Object activates the selection mode; the object is displayed but no viewer will be updated. - - :param aniobj: - :type aniobj: Handle_AIS_InteractiveObject & - :param updateviewer: default value is Standard_True - :type updateviewer: bool - :rtype: None -") SubIntensityOn; - void SubIntensityOn (const Handle_AIS_InteractiveObject & aniobj,const Standard_Boolean updateviewer = Standard_True); - %feature("compactdefaultargs") SubIntensityOff; - %feature("autodoc", " * Removes the subintensity option for the entity aniobj. If a local context is open and if updateviewer equals Standard_False, the presentation of the Interactive Object activates the selection mode; the object is displayed but no viewer will be updated. - - :param aniobj: - :type aniobj: Handle_AIS_InteractiveObject & - :param updateviewer: default value is Standard_True - :type updateviewer: bool - :rtype: None -") SubIntensityOff; - void SubIntensityOff (const Handle_AIS_InteractiveObject & aniobj,const Standard_Boolean updateviewer = Standard_True); - %feature("compactdefaultargs") SubIntensityOn; - %feature("autodoc", " * hilights/unhilights displayed objects which are displayed at neutral state with subintensity color; available only for active local context. No effect if no local context. - - :param updateviewer: default value is Standard_True - :type updateviewer: bool - :rtype: None -") SubIntensityOn; - void SubIntensityOn (const Standard_Boolean updateviewer = Standard_True); - %feature("compactdefaultargs") SubIntensityOff; - %feature("autodoc", " * removes subintensity option for all objects. - - :param updateviewer: default value is Standard_True - :type updateviewer: bool - :rtype: None -") SubIntensityOff; - void SubIntensityOff (const Standard_Boolean updateviewer = Standard_True); - %feature("compactdefaultargs") AddFilter; - %feature("autodoc", " * Allows you to add the filter aFilter to Neutral Point or to a local context if one or more selection modes have been activated. Only type filters may be active in Neutral Point. - - :param aFilter: - :type aFilter: Handle_SelectMgr_Filter & - :rtype: None -") AddFilter; - void AddFilter (const Handle_SelectMgr_Filter & aFilter); - %feature("compactdefaultargs") RemoveFilter; - %feature("autodoc", " * Removes a filter from Neutral Point or a local context if one or more selection modes have been activated. Only type filters are activated in Neutral Point. - - :param aFilter: - :type aFilter: Handle_SelectMgr_Filter & - :rtype: None -") RemoveFilter; - void RemoveFilter (const Handle_SelectMgr_Filter & aFilter); - %feature("compactdefaultargs") RemoveFilters; - %feature("autodoc", " * Remove a filter to Neutral Point or a local context if one or more selection modes have been activated. Only type filters are active in Neutral Point. - - :rtype: None -") RemoveFilters; - void RemoveFilters (); - %feature("compactdefaultargs") ActivateStandardMode; - %feature("autodoc", " * Provides an alternative to the Display methods when activating specific selection modes. This has the effect of activating the corresponding selection mode aStandardActivation for all objects in Local Context which accept decomposition into sub-shapes. Every new Object which has been loaded into the interactive context and which answers these decomposition criteria is automatically activated according to these modes. Warning If you have opened a local context by loading an object with the default options (= Standard_True), all objects of the 'Shape' type are also activated with the same modes. You can act on the state of these 'Standard' objects by using SetShapeDecomposition(Status). - - :param aStandardActivation: - :type aStandardActivation: TopAbs_ShapeEnum - :rtype: None -") ActivateStandardMode; - void ActivateStandardMode (const TopAbs_ShapeEnum aStandardActivation); - %feature("compactdefaultargs") DeactivateStandardMode; - %feature("autodoc", " * Provides an alternative to the Display methods when deactivating specific selection modes. This has the effect of deactivating the corresponding selection mode aStandardActivation for all objects in Local Context which accept decomposition into sub-shapes. - - :param aStandardActivation: - :type aStandardActivation: TopAbs_ShapeEnum - :rtype: None -") DeactivateStandardMode; - void DeactivateStandardMode (const TopAbs_ShapeEnum aStandardActivation); - %feature("compactdefaultargs") ActivatedStandardModes; - %feature("autodoc", " * Returns the list of activated standard selection modes available in a local context. - - :rtype: TColStd_ListOfInteger -") ActivatedStandardModes; - const TColStd_ListOfInteger & ActivatedStandardModes (); - %feature("compactdefaultargs") Filters; - %feature("autodoc", " * Returns the list of filters active in a local context. - - :rtype: SelectMgr_ListOfFilter -") Filters; - const SelectMgr_ListOfFilter & Filters (); - %feature("compactdefaultargs") DefaultDrawer; - %feature("autodoc", " * Returns the default attribute manager. This contains all the color and line attributes which can be used by interactive objects which do not have their own attributes. + :type theView: opencascade::handle & + :param theToRedrawOnUpdate: + :type theToRedrawOnUpdate: bool + :rtype: AIS_StatusOfDetection") MoveTo; + AIS_StatusOfDetection MoveTo (const Standard_Integer theXPix,const Standard_Integer theYPix,const opencascade::handle & theView,const Standard_Boolean theToRedrawOnUpdate); - :rtype: Handle_Prs3d_Drawer -") DefaultDrawer; - Handle_Prs3d_Drawer DefaultDrawer (); - %feature("compactdefaultargs") CurrentViewer; - %feature("autodoc", " * Returns the current viewer. + /****************** NbCurrents ******************/ + %feature("compactdefaultargs") NbCurrents; + %feature("autodoc", ":rtype: int") NbCurrents; + Standard_Integer NbCurrents (); - :rtype: Handle_V3d_Viewer -") CurrentViewer; - Handle_V3d_Viewer CurrentViewer (); - %feature("compactdefaultargs") DisplayedObjects; - %feature("autodoc", " * Returns the list of displayed objects of a particular Type WhichKind and Signature WhichSignature. By Default, WhichSignature equals -1. This means that there is a check on type only. + /****************** NbSelected ******************/ + %feature("compactdefaultargs") NbSelected; + %feature("autodoc", "* Count a number of selected entities using InitSelected()+MoreSelected()+NextSelected() iterator. @sa SelectedOwner()/InitSelected()/MoreSelected()/NextSelected(). + :rtype: int") NbSelected; + Standard_Integer NbSelected (); - :param aListOfIO: - :type aListOfIO: AIS_ListOfInteractive & - :param OnlyFromNeutral: default value is Standard_False - :type OnlyFromNeutral: bool - :rtype: None -") DisplayedObjects; - void DisplayedObjects (AIS_ListOfInteractive & aListOfIO,const Standard_Boolean OnlyFromNeutral = Standard_False); - %feature("compactdefaultargs") DisplayedObjects; - %feature("autodoc", " * gives the list of displayed objects of a particular Type and signature. by Default, = -1 means control only on . + /****************** NextCurrent ******************/ + %feature("compactdefaultargs") NextCurrent; + %feature("autodoc", "* Continues the scan to the next object in the list of current objects. Objects selected when there is no open local context are called current objects; those selected in open local context, selected objects. + :rtype: None") NextCurrent; + void NextCurrent (); - :param WhichKind: - :type WhichKind: AIS_KindOfInteractive - :param WhichSignature: - :type WhichSignature: int - :param aListOfIO: - :type aListOfIO: AIS_ListOfInteractive & - :param OnlyFromNeutral: default value is Standard_False - :type OnlyFromNeutral: bool - :rtype: None -") DisplayedObjects; - void DisplayedObjects (const AIS_KindOfInteractive WhichKind,const Standard_Integer WhichSignature,AIS_ListOfInteractive & aListOfIO,const Standard_Boolean OnlyFromNeutral = Standard_False); - %feature("compactdefaultargs") ErasedObjects; - %feature("autodoc", " * Returns the list theListOfIO of erased objects (hidden objects) particular Type WhichKind and Signature WhichSignature. By Default, WhichSignature equals 1. This means that there is a check on type only. + /****************** NextDetected ******************/ + %feature("compactdefaultargs") NextDetected; + %feature("autodoc", "* Gets next current object during iteration through mouse-detected interactive objects. @sa DetectedCurrentOwner()/InitDetected()/MoreDetected(). + :rtype: None") NextDetected; + void NextDetected (); - :param theListOfIO: - :type theListOfIO: AIS_ListOfInteractive & - :rtype: None -") ErasedObjects; - void ErasedObjects (AIS_ListOfInteractive & theListOfIO); - %feature("compactdefaultargs") ErasedObjects; - %feature("autodoc", " * gives the list of erased objects (hidden objects) Type and signature by Default, = -1 means control only on . + /****************** NextSelected ******************/ + %feature("compactdefaultargs") NextSelected; + %feature("autodoc", "* Continues the scan to the next object in the list of selected objects. @sa SelectedOwner()/InitSelected()/MoreSelected(). + :rtype: None") NextSelected; + void NextSelected (); - :param WhichKind: - :type WhichKind: AIS_KindOfInteractive - :param WhichSignature: - :type WhichSignature: int - :param theListOfIO: - :type theListOfIO: AIS_ListOfInteractive & - :rtype: None -") ErasedObjects; - void ErasedObjects (const AIS_KindOfInteractive WhichKind,const Standard_Integer WhichSignature,AIS_ListOfInteractive & theListOfIO); + /****************** ObjectsByDisplayStatus ******************/ %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. - + %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. :param theStatus: :type theStatus: AIS_DisplayStatus :param theListOfIO: :type theListOfIO: AIS_ListOfInteractive & - :rtype: None -") ObjectsByDisplayStatus; + :rtype: None") ObjectsByDisplayStatus; void ObjectsByDisplayStatus (const AIS_DisplayStatus theStatus,AIS_ListOfInteractive & theListOfIO); - %feature("compactdefaultargs") ObjectsByDisplayStatus; - %feature("autodoc", " * gives the list of objects with indicated display status Type and signature by Default, = -1 means control only on . + /****************** ObjectsByDisplayStatus ******************/ + %feature("compactdefaultargs") ObjectsByDisplayStatus; + %feature("autodoc", "* gives the list of objects with indicated display status Type and signature by Default, = -1 means control only on . :param WhichKind: :type WhichKind: AIS_KindOfInteractive :param WhichSignature: @@ -3912,1880 +2791,1302 @@ class AIS_InteractiveContext : public MMgt_TShared { :type theStatus: AIS_DisplayStatus :param theListOfIO: :type theListOfIO: AIS_ListOfInteractive & - :rtype: None -") ObjectsByDisplayStatus; + :rtype: None") ObjectsByDisplayStatus; void ObjectsByDisplayStatus (const AIS_KindOfInteractive WhichKind,const Standard_Integer WhichSignature,const AIS_DisplayStatus theStatus,AIS_ListOfInteractive & theListOfIO); - %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. + /****************** ObjectsForView ******************/ + %feature("compactdefaultargs") ObjectsForView; + %feature("autodoc", "* Query objects visible or hidden in specified view due to affinity mask. + :param theListOfIO: + :type theListOfIO: AIS_ListOfInteractive & + :param theView: + :type theView: opencascade::handle & + :param theIsVisibleInView: + :type theIsVisibleInView: bool + :param theStatus: default value is AIS_DS_None + :type theStatus: AIS_DisplayStatus + :rtype: None") ObjectsForView; + void ObjectsForView (AIS_ListOfInteractive & theListOfIO,const opencascade::handle & theView,const Standard_Boolean theIsVisibleInView,const AIS_DisplayStatus theStatus = AIS_DS_None); + + /****************** ObjectsInside ******************/ + %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. :param aListOfIO: :type aListOfIO: AIS_ListOfInteractive & :param WhichKind: default value is AIS_KOI_None :type WhichKind: AIS_KindOfInteractive :param WhichSignature: default value is -1 :type WhichSignature: int - :rtype: None -") ObjectsInside; + :rtype: None") ObjectsInside; void ObjectsInside (AIS_ListOfInteractive & aListOfIO,const AIS_KindOfInteractive WhichKind = AIS_KOI_None,const Standard_Integer WhichSignature = -1); - %feature("compactdefaultargs") HasOpenedContext; - %feature("autodoc", " * Returns true if there is an open context. - - :rtype: bool -") HasOpenedContext; - Standard_Boolean HasOpenedContext (); - %feature("compactdefaultargs") CurrentName; - %feature("autodoc", " * Returns the name of the current selected entity in Neutral Point. Objects selected when there is no open local context are called current objects; those selected in open local context, selected objects. - - :rtype: TCollection_AsciiString -") CurrentName; - const TCollection_AsciiString & CurrentName (); - %feature("compactdefaultargs") SelectionName; - %feature("autodoc", " * Returns the name of the current selected entity in open local context. Objects selected when there is no open local context are called current objects; those selected in open local context, selected objects. - - :rtype: TCollection_AsciiString -") SelectionName; - const TCollection_AsciiString & SelectionName (); - %feature("compactdefaultargs") DomainOfMainViewer; - %feature("autodoc", " * Returns the domain name of the main viewer. - - :rtype: char * -") DomainOfMainViewer; - const char * DomainOfMainViewer (); - %feature("compactdefaultargs") LocalContext; - %feature("autodoc", " * This method is only intended for advanced operation, particularly with the aim to improve performance when many objects have to be selected together. Otherwise, you should use other (non-internal) methods of class AIS_InteractiveContext without trying to obtain an instance of AIS_LocalContext. - - :rtype: Handle_AIS_LocalContext -") LocalContext; - Handle_AIS_LocalContext LocalContext (); - %feature("compactdefaultargs") SelectionManager; - %feature("autodoc", " :rtype: Handle_SelectMgr_SelectionManager -") SelectionManager; - Handle_SelectMgr_SelectionManager SelectionManager (); - %feature("compactdefaultargs") MainPrsMgr; - %feature("autodoc", " :rtype: Handle_PrsMgr_PresentationManager3d -") MainPrsMgr; - Handle_PrsMgr_PresentationManager3d MainPrsMgr (); - %feature("compactdefaultargs") MainSelector; - %feature("autodoc", " :rtype: Handle_StdSelect_ViewerSelector3d -") MainSelector; - Handle_StdSelect_ViewerSelector3d MainSelector (); - %feature("compactdefaultargs") LocalSelector; - %feature("autodoc", " :rtype: Handle_StdSelect_ViewerSelector3d -") LocalSelector; - Handle_StdSelect_ViewerSelector3d LocalSelector (); - %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. - :rtype: int -") PurgeDisplay; - Standard_Integer PurgeDisplay (); - %feature("compactdefaultargs") HighestIndex; - %feature("autodoc", " :rtype: int -") HighestIndex; - Standard_Integer HighestIndex (); - %feature("compactdefaultargs") DisplayActiveSensitive; - %feature("autodoc", " :param aView: - :type aView: Handle_V3d_View & - :rtype: None -") DisplayActiveSensitive; - void DisplayActiveSensitive (const Handle_V3d_View & aView); - %feature("compactdefaultargs") ClearActiveSensitive; - %feature("autodoc", " :param aView: - :type aView: Handle_V3d_View & - :rtype: None -") ClearActiveSensitive; - void ClearActiveSensitive (const Handle_V3d_View & aView); - %feature("compactdefaultargs") FitSelected; - %feature("autodoc", " * Fits the view correspondingly to the bounds of selected objects. Infinite objects are ignored if infinite state of AIS_InteractiveObject is set to true. + /****************** PickingStrategy ******************/ + %feature("compactdefaultargs") PickingStrategy; + %feature("autodoc", "* Return picking strategy; SelectMgr_PickingStrategy_FirstAcceptable by default. @sa MoveTo()/Filters() + :rtype: SelectMgr_PickingStrategy") PickingStrategy; + SelectMgr_PickingStrategy PickingStrategy (); - :param theView: - :type theView: Handle_V3d_View & - :param theMargin: default value is 0.01 - :type theMargin: float - :param theToUpdate: default value is Standard_True - :type theToUpdate: bool - :rtype: None -") FitSelected; - void FitSelected (const Handle_V3d_View & theView,const Standard_Real theMargin = 0.01,const Standard_Boolean theToUpdate = Standard_True); - %feature("compactdefaultargs") DisplayActiveSensitive; - %feature("autodoc", " :param anObject: - :type anObject: Handle_AIS_InteractiveObject & - :param aView: - :type aView: Handle_V3d_View & - :rtype: None -") DisplayActiveSensitive; - void DisplayActiveSensitive (const Handle_AIS_InteractiveObject & anObject,const Handle_V3d_View & aView); - %feature("compactdefaultargs") IsInLocal; - %feature("autodoc", " * returns if possible, the first local context where the object is seen + /****************** PixelTolerance ******************/ + %feature("compactdefaultargs") PixelTolerance; + %feature("autodoc", "* Returns the pixel tolerance, default is 2. Pixel Tolerance extends sensitivity within MoveTo() operation (picking by point) and can be adjusted by application based on user input precision (e.g. screen pixel density, input device precision, etc.). + :rtype: int") PixelTolerance; + Standard_Integer PixelTolerance (); - :param anObject: - :type anObject: Handle_AIS_InteractiveObject & - :param TheIndex: - :type TheIndex: int & - :rtype: bool -") IsInLocal; - Standard_Boolean IsInLocal (const Handle_AIS_InteractiveObject & anObject,Standard_Integer &OutValue); - %feature("compactdefaultargs") RebuildSelectionStructs; - %feature("autodoc", " * Rebuilds 1st level of BVH selection forcibly + /****************** PlaneSize ******************/ + %feature("compactdefaultargs") PlaneSize; + %feature("autodoc", "* Returns true if the length in the X direction XSize is the same as that in the Y direction YSize. + :param XSize: + :type XSize: float & + :param YSize: + :type YSize: float & + :rtype: bool") PlaneSize; + Standard_Boolean PlaneSize (Standard_Real &OutValue,Standard_Real &OutValue); + + /****************** PolygonOffsets ******************/ + %feature("compactdefaultargs") PolygonOffsets; + %feature("autodoc", "* Retrieves current polygon offsets settings for Object. + :param anObj: + :type anObj: opencascade::handle & + :param aMode: + :type aMode: int & + :param aFactor: + :type aFactor: Standard_ShortReal & + :param aUnits: + :type aUnits: Standard_ShortReal & + :rtype: None") PolygonOffsets; + void PolygonOffsets (const opencascade::handle & anObj,Standard_Integer &OutValue,Standard_ShortReal & aFactor,Standard_ShortReal & aUnits); - :rtype: None -") RebuildSelectionStructs; + /****************** PurgeDisplay ******************/ + %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. + :rtype: int") PurgeDisplay; + Standard_Integer PurgeDisplay (); + + /****************** RebuildSelectionStructs ******************/ + %feature("compactdefaultargs") RebuildSelectionStructs; + %feature("autodoc", "* Rebuilds 1st level of BVH selection forcibly + :rtype: None") RebuildSelectionStructs; void RebuildSelectionStructs (); - %feature("compactdefaultargs") SetViewAffinity; - %feature("autodoc", " * setup object visibility in specified view, has no effect if object is not disaplyed in this context. + /****************** RecomputePrsOnly ******************/ + %feature("compactdefaultargs") RecomputePrsOnly; + %feature("autodoc", "* Recomputes the displayed presentations, flags the others. Doesn't update presentations. :param theIObj: - :type theIObj: Handle_AIS_InteractiveObject & - :param theView: - :type theView: Handle_V3d_View & - :param theIsVisible: - :type theIsVisible: bool - :rtype: None -") SetViewAffinity; - void SetViewAffinity (const Handle_AIS_InteractiveObject & theIObj,const Handle_V3d_View & theView,const Standard_Boolean theIsVisible); - %feature("compactdefaultargs") Disconnect; - %feature("autodoc", " * Disconnects theObjToDisconnect from theAssembly and removes dependent selection structures + :type theIObj: opencascade::handle & + :param theToUpdateViewer: + :type theToUpdateViewer: bool + :param theAllModes: default value is Standard_False + :type theAllModes: bool + :rtype: None") RecomputePrsOnly; + void RecomputePrsOnly (const opencascade::handle & theIObj,const Standard_Boolean theToUpdateViewer,const Standard_Boolean theAllModes = Standard_False); - :param theAssembly: - :type theAssembly: Handle_AIS_InteractiveObject & - :param theObjToDisconnect: default value is NULL - :type theObjToDisconnect: Handle_AIS_InteractiveObject & - :rtype: None -") Disconnect; - void Disconnect (const Handle_AIS_InteractiveObject & theAssembly,const Handle_AIS_InteractiveObject & theObjToDisconnect = NULL); - %feature("compactdefaultargs") ObjectsForView; - %feature("autodoc", " * Query objects visible or hidden in specified view due to affinity mask. + /****************** RecomputeSelectionOnly ******************/ + %feature("compactdefaultargs") RecomputeSelectionOnly; + %feature("autodoc", "* Recomputes the active selections, flags the others. Doesn't update presentations. + :param anIObj: + :type anIObj: opencascade::handle & + :rtype: None") RecomputeSelectionOnly; + void RecomputeSelectionOnly (const opencascade::handle & anIObj); - :param theListOfIO: - :type theListOfIO: AIS_ListOfInteractive & - :param theView: - :type theView: Handle_V3d_View & - :param theIsVisibleInView: - :type theIsVisibleInView: bool - :param theStatus: default value is AIS_DS_None - :type theStatus: AIS_DisplayStatus - :rtype: None -") ObjectsForView; - void ObjectsForView (AIS_ListOfInteractive & theListOfIO,const Handle_V3d_View & theView,const Standard_Boolean theIsVisibleInView,const AIS_DisplayStatus theStatus = AIS_DS_None); -}; + /****************** Redisplay ******************/ + %feature("compactdefaultargs") Redisplay; + %feature("autodoc", "* Recomputes the seen parts presentation of the Object. If theAllModes equals true, all presentations are present in the object even if unseen. + :param theIObj: + :type theIObj: opencascade::handle & + :param theToUpdateViewer: + :type theToUpdateViewer: bool + :param theAllModes: default value is Standard_False + :type theAllModes: bool + :rtype: None") Redisplay; + void Redisplay (const opencascade::handle & theIObj,const Standard_Boolean theToUpdateViewer,const Standard_Boolean theAllModes = Standard_False); + /****************** Redisplay ******************/ + %feature("compactdefaultargs") Redisplay; + %feature("autodoc", "* Recomputes the Prs/Selection of displayed objects of a given type and a given signature. if signature = -1 doesn't take signature criterion. + :param theTypeOfObject: + :type theTypeOfObject: AIS_KindOfInteractive + :param theSignature: + :type theSignature: int + :param theToUpdateViewer: + :type theToUpdateViewer: bool + :rtype: None") Redisplay; + void Redisplay (const AIS_KindOfInteractive theTypeOfObject,const Standard_Integer theSignature,const Standard_Boolean theToUpdateViewer); + + /****************** RedrawImmediate ******************/ + %feature("compactdefaultargs") RedrawImmediate; + %feature("autodoc", "* Redraws immediate structures in all views of the viewer given taking into account its visibility. + :param theViewer: + :type theViewer: opencascade::handle & + :rtype: None") RedrawImmediate; + void RedrawImmediate (const opencascade::handle & theViewer); + + /****************** Remove ******************/ + %feature("compactdefaultargs") Remove; + %feature("autodoc", "* Removes Object from every viewer. + :param theIObj: + :type theIObj: opencascade::handle & + :param theToUpdateViewer: + :type theToUpdateViewer: bool + :rtype: None") Remove; + void Remove (const opencascade::handle & theIObj,const Standard_Boolean theToUpdateViewer); -%make_alias(AIS_InteractiveContext) + /****************** RemoveAll ******************/ + %feature("compactdefaultargs") RemoveAll; + %feature("autodoc", "* Removes all the objects from Context. + :param theToUpdateViewer: + :type theToUpdateViewer: bool + :rtype: None") RemoveAll; + void RemoveAll (const Standard_Boolean theToUpdateViewer); -%extend AIS_InteractiveContext { - %pythoncode { - __repr__ = _dumps_object - } -}; -%nodefaultctor AIS_InteractiveObject; -class AIS_InteractiveObject : public SelectMgr_SelectableObject { - public: - %feature("compactdefaultargs") Type; - %feature("autodoc", " * Returns the kind of Interactive Object: - None - Datum - Relation - Object By default, the interactive object has a None type. Because specific shapes entail different behavior according to their sub-shapes, you may need to create a Local Context. This will allow you to specify the additional characteristics which you need to handle these shapes. + /****************** RemoveFilter ******************/ + %feature("compactdefaultargs") RemoveFilter; + %feature("autodoc", "* Removes a filter from context. + :param theFilter: + :type theFilter: opencascade::handle & + :rtype: None") RemoveFilter; + void RemoveFilter (const opencascade::handle & theFilter); - :rtype: AIS_KindOfInteractive -") Type; - virtual AIS_KindOfInteractive Type (); - %feature("compactdefaultargs") Signature; - %feature("autodoc", " * Specifies additional characteristics of Interactive Objects. A signature is, in fact, an index with integer values assigned different properties. This method is frequently used in conjuction with Type to give a particular type and signature to an Interactive Object. By default, the Interactive Object has a None type and a signature of 0. Among the datums, this signature is attributed to the shape The remaining datums have the following default signatures: - Point signature 1 - Axis signature 2 - Trihedron signature 3 - PlaneTrihedron signature 4 - Line signature 5 - Circle signature 6 - Plane signature 7. + /****************** RemoveFilters ******************/ + %feature("compactdefaultargs") RemoveFilters; + %feature("autodoc", "* Remove all filters from context. + :rtype: None") RemoveFilters; + void RemoveFilters (); - :rtype: int -") Signature; - virtual Standard_Integer Signature (); - %feature("compactdefaultargs") AcceptShapeDecomposition; - %feature("autodoc", " * Informs the graphic context that the interactive Object may be decomposed into sub-shapes for dynamic selection. The most used Interactive Object is AIS_Shape. Activation methods for standard selection modes are proposed in the Interactive Context. These include selection by vertex or by edges. For datums with the same behavior as AIS_Shape, such as vetices and edges, we must redefine the virtual method so that AcceptShapeDecomposition returns false. Rule for selection : Mode 0 : Selection of the interactive Object itself Mode 1 : Selection of vertices Mode 2 : Selection Of Edges Mode 3 : Selection Of Wires Mode 4 : Selection Of Faces ... + /****************** ResetLocation ******************/ + %feature("compactdefaultargs") ResetLocation; + %feature("autodoc", "* Puts the Object back into its initial position. + :param theObject: + :type theObject: opencascade::handle & + :rtype: None") ResetLocation; + void ResetLocation (const opencascade::handle & theObject); - :rtype: bool -") AcceptShapeDecomposition; - Standard_Boolean AcceptShapeDecomposition (); - %feature("compactdefaultargs") SetCurrentFacingModel; - %feature("autodoc", " * change the current facing model apply on polygons for SetColor(), SetTransparency(), SetMaterial() methods default facing model is Aspect_TOFM_TWO_SIDE. This mean that attributes is applying both on the front and back face. + /****************** Select ******************/ + %feature("compactdefaultargs") Select; + %feature("autodoc", "* Selects everything found in the bounding rectangle defined by the pixel minima and maxima, XPMin, YPMin, XPMax, and YPMax in the view. The objects detected are passed to the main viewer, which is then updated. + :param theXPMin: + :type theXPMin: int + :param theYPMin: + :type theYPMin: int + :param theXPMax: + :type theXPMax: int + :param theYPMax: + :type theYPMax: int + :param theView: + :type theView: opencascade::handle & + :param theToUpdateViewer: + :type theToUpdateViewer: bool + :rtype: AIS_StatusOfPick") Select; + AIS_StatusOfPick Select (const Standard_Integer theXPMin,const Standard_Integer theYPMin,const Standard_Integer theXPMax,const Standard_Integer theYPMax,const opencascade::handle & theView,const Standard_Boolean theToUpdateViewer); - :param aModel: default value is Aspect_TOFM_BOTH_SIDE - :type aModel: Aspect_TypeOfFacingModel - :rtype: None -") SetCurrentFacingModel; - void SetCurrentFacingModel (const Aspect_TypeOfFacingModel aModel = Aspect_TOFM_BOTH_SIDE); - %feature("compactdefaultargs") CurrentFacingModel; - %feature("autodoc", " * Returns the current facing model which is in effect. - - :rtype: Aspect_TypeOfFacingModel -") CurrentFacingModel; - Aspect_TypeOfFacingModel CurrentFacingModel (); - %feature("compactdefaultargs") SetColor; - %feature("autodoc", " :param aColor: - :type aColor: Quantity_Color & - :rtype: void -") SetColor; - virtual void SetColor (const Quantity_Color & aColor); - %feature("compactdefaultargs") SetColor; - %feature("autodoc", " * only the interactive obj knowns which Drawer attribute is affected by the color (ex: for a wire, it's the wireaspect field of the drawer, but for a vertex, only the point aspect field is affected by the color) WARNING : Do not forget to set the corresponding fields here (hasOwnColor and myOwnColor) + /****************** Select ******************/ + %feature("compactdefaultargs") Select; + %feature("autodoc", "* polyline selection; clears the previous picked list + :param thePolyline: + :type thePolyline: TColgp_Array1OfPnt2d + :param theView: + :type theView: opencascade::handle & + :param theToUpdateViewer: + :type theToUpdateViewer: bool + :rtype: AIS_StatusOfPick") Select; + AIS_StatusOfPick Select (const TColgp_Array1OfPnt2d & thePolyline,const opencascade::handle & theView,const Standard_Boolean theToUpdateViewer); - :param aColor: - :type aColor: Quantity_NameOfColor - :rtype: void -") SetColor; - virtual void SetColor (const Quantity_NameOfColor aColor); - %feature("compactdefaultargs") UnsetColor; - %feature("autodoc", " * Removes color settings. Only the Interactive Object knows which Drawer attribute is affected by the color setting. For a wire, for example, wire aspect is the attribute affected. For a vertex, however, only point aspect is affected by the color setting. + /****************** Select ******************/ + %feature("compactdefaultargs") Select; + %feature("autodoc", "* Stores and hilights the previous detected; Unhilights the previous picked. @sa MoveTo(). + :param theToUpdateViewer: + :type theToUpdateViewer: bool + :rtype: AIS_StatusOfPick") Select; + AIS_StatusOfPick Select (const Standard_Boolean theToUpdateViewer); - :rtype: void -") UnsetColor; - virtual void UnsetColor (); - %feature("compactdefaultargs") SetWidth; - %feature("autodoc", " * Allows you to provide the setting aValue for width. Only the Interactive Object knows which Drawer attribute is affected by the width setting. + /****************** SelectedInteractive ******************/ + %feature("compactdefaultargs") SelectedInteractive; + %feature("autodoc", "* Return opencascade::handle::DownCast (SelectedOwner()->Selectable()). @sa SelectedOwner(). + :rtype: opencascade::handle") SelectedInteractive; + opencascade::handle SelectedInteractive (); - :param aValue: - :type aValue: float - :rtype: void -") SetWidth; - virtual void SetWidth (const Standard_Real aValue); - %feature("compactdefaultargs") UnsetWidth; - %feature("autodoc", " :rtype: void -") UnsetWidth; - virtual void UnsetWidth (); - %feature("compactdefaultargs") AcceptDisplayMode; - %feature("autodoc", " * Returns true if the class of objects accepts the display mode aMode. The interactive context can have a default mode of representation for the set of Interactive Objects. This mode may not be accepted by a given class of objects. Consequently, this virtual method allowing us to get information about the class in question must be implemented. + /****************** SelectedOwner ******************/ + %feature("compactdefaultargs") SelectedOwner; + %feature("autodoc", "* Returns the owner of the selected entity. @sa InitSelected()/MoreSelected()/NextSelected(). + :rtype: opencascade::handle") SelectedOwner; + opencascade::handle SelectedOwner (); - :param aMode: - :type aMode: int - :rtype: bool -") AcceptDisplayMode; - virtual Standard_Boolean AcceptDisplayMode (const Standard_Integer aMode); - %feature("compactdefaultargs") DefaultDisplayMode; - %feature("autodoc", " * Returns the default display mode. This method is to be implemented when the main mode is not mode 0. + /****************** SelectedShape ******************/ + %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(). + :rtype: TopoDS_Shape") SelectedShape; + TopoDS_Shape SelectedShape (); - :rtype: int -") DefaultDisplayMode; - virtual Standard_Integer DefaultDisplayMode (); - %feature("compactdefaultargs") Redisplay; - %feature("autodoc", " * Updates the active presentation; if = Standard_True all the presentations inside are recomputed. IMPORTANT: It is preferable to call Redisplay method of corresponding AIS_InteractiveContext instance for cases when it is accessible. This method just redirects call to myCTXPtr, so this class field must be up to date for proper result. + /****************** Selection ******************/ + %feature("compactdefaultargs") Selection; + %feature("autodoc", "* Returns selection instance + :rtype: opencascade::handle") Selection; + const opencascade::handle & Selection (); - :param AllModes: default value is Standard_False - :type AllModes: bool - :rtype: None -") Redisplay; - void Redisplay (const Standard_Boolean AllModes = Standard_False); - %feature("compactdefaultargs") SetInfiniteState; - %feature("autodoc", " * Sets the infinite state flag aFlage. if = True , the interactiveObject is considered as infinite, i.e. its graphic presentations are not taken in account for View FitAll... - - :param aFlag: default value is Standard_True - :type aFlag: bool - :rtype: None -") SetInfiniteState; - void SetInfiniteState (const Standard_Boolean aFlag = Standard_True); - %feature("compactdefaultargs") IsInfinite; - %feature("autodoc", " * Returns true if the interactive object is infinite. In this case, its graphic presentations are not taken into account in the fit-all view. - - :rtype: bool -") IsInfinite; - Standard_Boolean IsInfinite (); - %feature("compactdefaultargs") HasInteractiveContext; - %feature("autodoc", " * Indicates whether the Interactive Object has a pointer to an interactive context. + /****************** SelectionManager ******************/ + %feature("compactdefaultargs") SelectionManager; + %feature("autodoc", ":rtype: opencascade::handle") SelectionManager; + const opencascade::handle & SelectionManager (); - :rtype: bool -") HasInteractiveContext; - Standard_Boolean HasInteractiveContext (); - %feature("compactdefaultargs") GetContext; - %feature("autodoc", " * Returns the context pointer to the interactive context. + /****************** SelectionStyle ******************/ + %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. + :rtype: opencascade::handle") SelectionStyle; + const opencascade::handle & SelectionStyle (); - :rtype: Handle_AIS_InteractiveContext -") GetContext; - Handle_AIS_InteractiveContext GetContext (); - %feature("compactdefaultargs") SetContext; - %feature("autodoc", " * Sets the interactive context aCtx and provides a link to the default drawing tool or 'Drawer' if there is none. + /****************** SetAngleAndDeviation ******************/ + %feature("compactdefaultargs") SetAngleAndDeviation; + %feature("autodoc", "* Calls the AIS_Shape SetAngleAndDeviation to set both Angle and Deviation coefficients + :param theIObj: + :type theIObj: opencascade::handle & + :param theAngle: + :type theAngle: float + :param theToUpdateViewer: + :type theToUpdateViewer: bool + :rtype: None") SetAngleAndDeviation; + void SetAngleAndDeviation (const opencascade::handle & theIObj,const Standard_Real theAngle,const Standard_Boolean theToUpdateViewer); - :param aCtx: - :type aCtx: Handle_AIS_InteractiveContext & - :rtype: void -") SetContext; - virtual void SetContext (const Handle_AIS_InteractiveContext & aCtx); - %feature("compactdefaultargs") HasOwner; - %feature("autodoc", " * Returns true if the object has an owner attributed to it. The owner can be a shape for a set of sub-shapes or a sub-shape for sub-shapes which it is composed of, and takes the form of a transient. + /****************** SetAutoActivateSelection ******************/ + %feature("compactdefaultargs") SetAutoActivateSelection; + %feature("autodoc", "* Enable or disable automatic activation of default selection mode while displaying the object. + :param theIsAuto: + :type theIsAuto: bool + :rtype: None") SetAutoActivateSelection; + void SetAutoActivateSelection (const Standard_Boolean theIsAuto); - :rtype: bool -") HasOwner; - Standard_Boolean HasOwner (); - %feature("compactdefaultargs") GetOwner; - %feature("autodoc", " * Returns the owner of the Interactive Object. The owner can be a shape for a set of sub-shapes or a sub-shape for sub-shapes which it is composed of, and takes the form of a transient. There are two types of owners: - Direct owners, decomposition shapes such as edges, wires, and faces. - Users, presentable objects connecting to sensitive primitives, or a shape which has been decomposed. + /****************** SetAutomaticHilight ******************/ + %feature("compactdefaultargs") SetAutomaticHilight; + %feature("autodoc", "* Sets the highlighting status of detected and selected entities. This function allows you to disconnect the automatic mode. //! MoveTo() will fill the list of detected entities and Select() will set selected state to detected objects regardless of this flag, but with disabled AutomaticHiligh() their highlighting state will be left unaffected, so that application will be able performing custom highlighting in a different way, if needed. //! This API should be distinguished from SelectMgr_SelectableObject::SetAutoHilight() that is used to implement custom highlighting logic for a specific interactive object class. //! @sa MoveTo(), Select(), HilightWithColor(), Unhilight() + :param theStatus: + :type theStatus: bool + :rtype: None") SetAutomaticHilight; + void SetAutomaticHilight (Standard_Boolean theStatus); - :rtype: Handle_Standard_Transient -") GetOwner; - Handle_Standard_Transient GetOwner (); - %feature("compactdefaultargs") SetOwner; - %feature("autodoc", " * Allows you to attribute the owner ApplicativeEntity to an Interactive Object. This can be a shape for a set of sub-shapes or a sub-shape for sub-shapes which it is composed of. The owner takes the form of a transient. + /****************** SetColor ******************/ + %feature("compactdefaultargs") SetColor; + %feature("autodoc", "* Sets the color of the selected entity. + :param theIObj: + :type theIObj: opencascade::handle & + :param theColor: + :type theColor: Quantity_Color & + :param theToUpdateViewer: + :type theToUpdateViewer: bool + :rtype: None") SetColor; + void SetColor (const opencascade::handle & theIObj,const Quantity_Color & theColor,const Standard_Boolean theToUpdateViewer); - :param ApplicativeEntity: - :type ApplicativeEntity: Handle_Standard_Transient & - :rtype: None -") SetOwner; - void SetOwner (const Handle_Standard_Transient & ApplicativeEntity); - %feature("compactdefaultargs") ClearOwner; - %feature("autodoc", " * Each Interactive Object has methods which allow us to attribute an Owner to it in the form of a Transient. This method removes the owner from the graphic entity. + /****************** SetCurrentFacingModel ******************/ + %feature("compactdefaultargs") SetCurrentFacingModel; + %feature("autodoc", "* change the current facing model apply on polygons for SetColor(), SetTransparency(), SetMaterial() methods default facing model is Aspect_TOFM_TWO_SIDE. This mean that attributes is applying both on the front and back face. + :param aniobj: + :type aniobj: opencascade::handle & + :param aModel: default value is Aspect_TOFM_BOTH_SIDE + :type aModel: Aspect_TypeOfFacingModel + :rtype: None") SetCurrentFacingModel; + void SetCurrentFacingModel (const opencascade::handle & aniobj,const Aspect_TypeOfFacingModel aModel = Aspect_TOFM_BOTH_SIDE); - :rtype: None -") ClearOwner; - void ClearOwner (); - %feature("compactdefaultargs") HasUsers; - %feature("autodoc", " :rtype: bool -") HasUsers; - Standard_Boolean HasUsers (); - %feature("compactdefaultargs") Users; - %feature("autodoc", " :rtype: TColStd_ListOfTransient -") Users; - const TColStd_ListOfTransient & Users (); - %feature("compactdefaultargs") AddUser; - %feature("autodoc", " :param aUser: - :type aUser: Handle_Standard_Transient & - :rtype: None -") AddUser; - void AddUser (const Handle_Standard_Transient & aUser); - %feature("compactdefaultargs") ClearUsers; - %feature("autodoc", " :rtype: None -") ClearUsers; - void ClearUsers (); - %feature("compactdefaultargs") HasDisplayMode; - %feature("autodoc", " * Returns true if the Interactive Object has a display mode setting. Otherwise, it is displayed in Neutral Point. + /****************** SetCurrentObject ******************/ + %feature("compactdefaultargs") SetCurrentObject; + %feature("autodoc", "* @name obsolete methods Updates the view of the current object in open context. Objects selected when there is no open local context are called current objects; those selected in open local context, selected objects. + :param theIObj: + :type theIObj: opencascade::handle & + :param theToUpdateViewer: + :type theToUpdateViewer: bool + :rtype: None") SetCurrentObject; + void SetCurrentObject (const opencascade::handle & theIObj,const Standard_Boolean theToUpdateViewer); - :rtype: bool -") HasDisplayMode; - Standard_Boolean HasDisplayMode (); - %feature("compactdefaultargs") SetDisplayMode; - %feature("autodoc", " * Sets the display mode aMode for the interactive object. An object can have its own temporary display mode, which is different from that proposed by the interactive context. The range of possibilities currently proposed is the following: - AIS_WireFrame - AIS_Shaded This range can, however, be extended through the creation of new display modes. + /****************** SetDeviationAngle ******************/ + %feature("compactdefaultargs") SetDeviationAngle; + %feature("autodoc", ":param theIObj: + :type theIObj: opencascade::handle & + :param theAngle: + :type theAngle: float + :param theToUpdateViewer: + :type theToUpdateViewer: bool + :rtype: None") SetDeviationAngle; + void SetDeviationAngle (const opencascade::handle & theIObj,const Standard_Real theAngle,const Standard_Boolean theToUpdateViewer); - :param aMode: - :type aMode: int - :rtype: None -") SetDisplayMode; - void SetDisplayMode (const Standard_Integer aMode); - %feature("compactdefaultargs") UnsetDisplayMode; - %feature("autodoc", " * Removes display mode settings from the interactive object. + /****************** SetDeviationAngle ******************/ + %feature("compactdefaultargs") SetDeviationAngle; + %feature("autodoc", "* default 12 degrees + :param anAngle: + :type anAngle: float + :rtype: None") SetDeviationAngle; + void SetDeviationAngle (const Standard_Real anAngle); - :rtype: None -") UnsetDisplayMode; - void UnsetDisplayMode (); - %feature("compactdefaultargs") DisplayMode; - %feature("autodoc", " * Returns the display mode setting of the Interactive Object. The range of possibilities is the following: - AIS_WireFrame - AIS_Shaded This range can, however, be extended through the creation of new display modes. + /****************** SetDeviationCoefficient ******************/ + %feature("compactdefaultargs") SetDeviationCoefficient; + %feature("autodoc", "* @name tessellation deviation properties for automatic triangulation 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. + :param theIObj: + :type theIObj: opencascade::handle & + :param theCoefficient: + :type theCoefficient: float + :param theToUpdateViewer: + :type theToUpdateViewer: bool + :rtype: None") SetDeviationCoefficient; + void SetDeviationCoefficient (const opencascade::handle & theIObj,const Standard_Real theCoefficient,const Standard_Boolean theToUpdateViewer); - :rtype: int -") DisplayMode; - Standard_Integer DisplayMode (); - %feature("compactdefaultargs") HasSelectionMode; - %feature("autodoc", " * Allows you to change the selection mode of an Interactive Object. The default selection mode setting is 0. For shapes, for example, the selection modes are as follows: - mode 0 - selection of the shape itself - mode 1 - selection of vertices - mode 2 - selection of edges - mode 3 - selection of wires - mode 4 - selection of faces - mode 5 - selection of shells - mode 6 - selection of solids - mode 7 - selection of compounds For trihedra, on the other hand, the selection modes are the following four: - mode 0 - selection of a trihedron - mode 1 - selection of its origin - mode 2 - selection of its axes - mode 3 - selection of its planes + /****************** SetDeviationCoefficient ******************/ + %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. + :param theCoefficient: + :type theCoefficient: float + :rtype: None") SetDeviationCoefficient; + void SetDeviationCoefficient (const Standard_Real theCoefficient); - :rtype: bool -") HasSelectionMode; - Standard_Boolean HasSelectionMode (); - %feature("compactdefaultargs") SelectionMode; - %feature("autodoc", " * Returns the selection mode of the interactive object. + /****************** SetDisplayMode ******************/ + %feature("compactdefaultargs") SetDisplayMode; + %feature("autodoc", "* Sets the display mode of seen Interactive Objects (which have no overridden Display Mode). + :param theMode: + :type theMode: int + :param theToUpdateViewer: + :type theToUpdateViewer: bool + :rtype: None") SetDisplayMode; + void SetDisplayMode (const Standard_Integer theMode,const Standard_Boolean theToUpdateViewer); - :rtype: int -") SelectionMode; - Standard_Integer SelectionMode (); - %feature("compactdefaultargs") SetSelectionMode; - %feature("autodoc", " * You can change the default selection mode index aMode of an Interactive Object. This is only of interest if you decide that mode 0 adopted by convention will not do. + /****************** SetDisplayMode ******************/ + %feature("compactdefaultargs") SetDisplayMode; + %feature("autodoc", "* Sets the display mode of seen Interactive Objects. theMode provides the display mode index of the entity theIObj. + :param theIObj: + :type theIObj: opencascade::handle & + :param theMode: + :type theMode: int + :param theToUpdateViewer: + :type theToUpdateViewer: bool + :rtype: None") SetDisplayMode; + void SetDisplayMode (const opencascade::handle & theIObj,const Standard_Integer theMode,const Standard_Boolean theToUpdateViewer); - :param aMode: - :type aMode: int - :rtype: None -") SetSelectionMode; - void SetSelectionMode (const Standard_Integer aMode); - %feature("compactdefaultargs") UnsetSelectionMode; - %feature("autodoc", " * You can change the default selection mode index of an Interactive Object. This is only of interest if you decide that the 0 mode adopted by convention will not do. - - :rtype: None -") UnsetSelectionMode; - void UnsetSelectionMode (); - %feature("compactdefaultargs") SelectionPriority; - %feature("autodoc", " * Returns the selection priority setting. -1 indicates that there is none. You can modify the selection priority of an owner to make one entity more selectionable than another one. The default selection priority for an owner is 5, for example. To increase selection priority, choose a setting between 5 and 10. An entity with priority 7 will take priority over one with a setting of 6 if both objects are selected at the same time. You could give vertices priority 8, edges priority 7, faces priority 6, and shapes priority 5. If a vertex, an edge and a face are simultaneously detected during selection, only the vertex will then be highlighted. For trihedra, for example, the default priorities are the following four: - priority 1 - a trihedron - priority 5 - its origin - priority 3 - its axes - priority 2 - its planes + /****************** SetDisplayPriority ******************/ + %feature("compactdefaultargs") SetDisplayPriority; + %feature("autodoc", "* Sets the display priority of the seen parts presentation of the Object. + :param theIObj: + :type theIObj: opencascade::handle & + :param thePriority: + :type thePriority: int + :rtype: None") SetDisplayPriority; + void SetDisplayPriority (const opencascade::handle & theIObj,const Standard_Integer thePriority); - :rtype: int -") SelectionPriority; - Standard_Integer SelectionPriority (); - %feature("compactdefaultargs") SetSelectionPriority; - %feature("autodoc", " * Allows you to provide a setting aPriority for selection priority. You can modify selection priority of an owner to make one entity more selectionable than another one. The default selection priority for an owner is 5, for example. To increase selection priority, choose a setting between 5 and 10. An entity with priority 7 will take priority over one with a setting of 6. - - :param aPriority: - :type aPriority: int - :rtype: None -") SetSelectionPriority; - void SetSelectionPriority (const Standard_Integer aPriority); - %feature("compactdefaultargs") UnsetSelectionPriority; - %feature("autodoc", " * Removes the setting for selection priority. SelectionPriority then returns -1. - - :rtype: None -") UnsetSelectionPriority; - void UnsetSelectionPriority (); - %feature("compactdefaultargs") HasSelectionPriority; - %feature("autodoc", " * Returns true if there is a setting for selection priority. You can modify selection priority of an owner to make one entity more selectionable than another one. The default selection priority for an owner is 5, for example. To increase selection priority, choose a setting between 5 and 10. An entity with priority 7 will take priority over one with a setting of 6. - - :rtype: bool -") HasSelectionPriority; - Standard_Boolean HasSelectionPriority (); - %feature("compactdefaultargs") HasHilightMode; - %feature("autodoc", " * Returns true if the Interactive Object is in highlight mode. - - :rtype: bool -") HasHilightMode; - Standard_Boolean HasHilightMode (); - %feature("compactdefaultargs") HilightMode; - %feature("autodoc", " * Returns the setting for highlight mode. At dynamic detection, the presentation echoed by the Interactive Context, is by default the presentation already on the screen. You can specify a Highlight presentation mode which is valid no matter what the active representation of the object. It makes no difference whether this choice is temporary or definitive. To do this, we use the following functions: - SetHilightMode - UnSetHilightMode In the case of a shape, whether it is visualized in wireframe presentation or with shading, we want to systematically highlight the wireframe presentation. Consequently, we set the highlight mode to 0. - - :rtype: int -") HilightMode; - Standard_Integer HilightMode (); - %feature("compactdefaultargs") SetHilightMode; - %feature("autodoc", " * Sets the highlight mode anIndex for the interactive object. If, for example, you want to systematically highlight the wireframe presentation of a shape - whether visualized in wireframe presentation or with shading - you set the highlight mode to 0. - - :param anIndex: - :type anIndex: int - :rtype: None -") SetHilightMode; - void SetHilightMode (const Standard_Integer anIndex); - %feature("compactdefaultargs") UnsetHilightMode; - %feature("autodoc", " * Allows the user to take a given Prs for hilight ex : for a shape which would be displayed in shading mode the hilight Prs is the wireframe mode. if No specific hilight mode is defined, the displayed Prs will be the hilighted one. - - :rtype: None -") UnsetHilightMode; - void UnsetHilightMode (); - %feature("compactdefaultargs") HasColor; - %feature("autodoc", " * Returns true if the Interactive Object has color. + /****************** SetHLRAngle ******************/ + %feature("compactdefaultargs") SetHLRAngle; + %feature("autodoc", "* Sets the HLR angle. + :param theAngle: + :type theAngle: float + :rtype: None") SetHLRAngle; + void SetHLRAngle (const Standard_Real theAngle); - :rtype: bool -") HasColor; - Standard_Boolean HasColor (); - %feature("compactdefaultargs") Color; - %feature("autodoc", " * Returns the color setting of the Interactive Object. + /****************** SetHLRAngleAndDeviation ******************/ + %feature("compactdefaultargs") SetHLRAngleAndDeviation; + %feature("autodoc", "* Computes a HLRAngle and a HLRDeviationCoefficient by means of the angle anAngle and sets the corresponding methods in the default drawing tool with these values. + :param theIObj: + :type theIObj: opencascade::handle & + :param theAngle: + :type theAngle: float + :param theToUpdateViewer: + :type theToUpdateViewer: bool + :rtype: None") SetHLRAngleAndDeviation; + void SetHLRAngleAndDeviation (const opencascade::handle & theIObj,const Standard_Real theAngle,const Standard_Boolean theToUpdateViewer); - :rtype: Quantity_NameOfColor -") Color; - Quantity_NameOfColor Color (); - %feature("compactdefaultargs") Color; - %feature("autodoc", " :param aColor: - :type aColor: Quantity_Color & - :rtype: None -") Color; - void Color (Quantity_Color & aColor); - %feature("compactdefaultargs") HasWidth; - %feature("autodoc", " * Returns true if the Interactive Object has width. + /****************** SetHLRAngleAndDeviation ******************/ + %feature("compactdefaultargs") SetHLRAngleAndDeviation; + %feature("autodoc", "* compute with theAngle a HLRAngle and a HLRDeviationCoefficient and set them in myHLRAngle and in myHLRDeviationCoefficient of myDefaultDrawer; theAngle is in radian; ( 1 deg < angle in deg < 20 deg) + :param theAngle: + :type theAngle: float + :rtype: None") SetHLRAngleAndDeviation; + void SetHLRAngleAndDeviation (const Standard_Real theAngle); - :rtype: bool -") HasWidth; - Standard_Boolean HasWidth (); - %feature("compactdefaultargs") Width; - %feature("autodoc", " * Returns the width setting of the Interactive Object. + /****************** SetHLRDeviationAngle ******************/ + %feature("compactdefaultargs") SetHLRDeviationAngle; + %feature("autodoc", ":param theIObj: + :type theIObj: opencascade::handle & + :param theAngle: + :type theAngle: float + :param theToUpdateViewer: + :type theToUpdateViewer: bool + :rtype: None") SetHLRDeviationAngle; + void SetHLRDeviationAngle (const opencascade::handle & theIObj,const Standard_Real theAngle,const Standard_Boolean theToUpdateViewer); - :rtype: float -") Width; - Standard_Real Width (); - %feature("compactdefaultargs") HasMaterial; - %feature("autodoc", " * Returns true if the Interactive Object has a setting for material. + /****************** SetHLRDeviationCoefficient ******************/ + %feature("compactdefaultargs") SetHLRDeviationCoefficient; + %feature("autodoc", "* Sets the deviation coefficient aCoefficient for removal of hidden lines created by different viewpoints in different presentations. The Default value is 0.02. + :param theIObj: + :type theIObj: opencascade::handle & + :param theCoefficient: + :type theCoefficient: float + :param theToUpdateViewer: + :type theToUpdateViewer: bool + :rtype: None") SetHLRDeviationCoefficient; + void SetHLRDeviationCoefficient (const opencascade::handle & theIObj,const Standard_Real theCoefficient,const Standard_Boolean theToUpdateViewer); - :rtype: bool -") HasMaterial; - Standard_Boolean HasMaterial (); - %feature("compactdefaultargs") Material; - %feature("autodoc", " * Returns the current material setting. This will be on of the following materials: - Brass - Bronze - Gold - Pewter - Silver - Stone. + /****************** SetHLRDeviationCoefficient ******************/ + %feature("compactdefaultargs") SetHLRDeviationCoefficient; + %feature("autodoc", "* Sets the deviation coefficient aCoefficient for removal of hidden lines created by different viewpoints in different presentations. The Default value is 0.02. + :param aCoefficient: + :type aCoefficient: float + :rtype: None") SetHLRDeviationCoefficient; + void SetHLRDeviationCoefficient (const Standard_Real aCoefficient); - :rtype: Graphic3d_NameOfMaterial -") Material; - virtual Graphic3d_NameOfMaterial Material (); - %feature("compactdefaultargs") SetMaterial; - %feature("autodoc", " * Sets the name aName for material defining this display attribute for the interactive object. Material aspect determines shading aspect, color and transparency of visible entities. + /****************** SetHiddenLineAspect ******************/ + %feature("compactdefaultargs") SetHiddenLineAspect; + %feature("autodoc", "* Sets the hidden line aspect anAspect. Aspect defines display attributes for hidden lines in HLR projections. + :param anAspect: + :type anAspect: opencascade::handle & + :rtype: None") SetHiddenLineAspect; + void SetHiddenLineAspect (const opencascade::handle & anAspect); + + /****************** SetHighlightStyle ******************/ + %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. + :param theStyleType: + :type theStyleType: Prs3d_TypeOfHighlight + :param theStyle: + :type theStyle: opencascade::handle & + :rtype: None") SetHighlightStyle; + void SetHighlightStyle (const Prs3d_TypeOfHighlight theStyleType,const opencascade::handle & theStyle); + + /****************** SetHighlightStyle ******************/ + %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; + :param theStyle: + :type theStyle: opencascade::handle & + :rtype: None") SetHighlightStyle; + void SetHighlightStyle (const opencascade::handle & theStyle); + + /****************** SetIsoNumber ******************/ + %feature("compactdefaultargs") SetIsoNumber; + %feature("autodoc", "* @name iso-line display attributes Sets the number of U and V isoparameters displayed. + :param NbIsos: + :type NbIsos: int + :param WhichIsos: default value is AIS_TOI_Both + :type WhichIsos: AIS_TypeOfIso + :rtype: None") SetIsoNumber; + void SetIsoNumber (const Standard_Integer NbIsos,const AIS_TypeOfIso WhichIsos = AIS_TOI_Both); - :param aName: - :type aName: Graphic3d_NameOfMaterial - :rtype: void -") SetMaterial; - virtual void SetMaterial (const Graphic3d_NameOfMaterial aName); + /****************** SetLocalAttributes ******************/ + %feature("compactdefaultargs") SetLocalAttributes; + %feature("autodoc", "* @name common object display attributes Sets the graphic attributes of the interactive object, such as visualization mode, color, and material. + :param theIObj: + :type theIObj: opencascade::handle & + :param theDrawer: + :type theDrawer: opencascade::handle & + :param theToUpdateViewer: + :type theToUpdateViewer: bool + :rtype: None") SetLocalAttributes; + void SetLocalAttributes (const opencascade::handle & theIObj,const opencascade::handle & theDrawer,const Standard_Boolean theToUpdateViewer); + + /****************** SetLocation ******************/ + %feature("compactdefaultargs") SetLocation; + %feature("autodoc", "* @name object local transformation management Puts the location on the initial graphic representation and the selection for the Object. + :param theObject: + :type theObject: opencascade::handle & + :param theLocation: + :type theLocation: TopLoc_Location & + :rtype: None") SetLocation; + void SetLocation (const opencascade::handle & theObject,const TopLoc_Location & theLocation); + + /****************** SetMaterial ******************/ %feature("compactdefaultargs") SetMaterial; - %feature("autodoc", " * Sets the material aMat defining this display attribute for the interactive object. Material aspect determines shading aspect, color and transparency of visible entities. + %feature("autodoc", "* Provides the type of material setting for the view of the Object. + :param theIObj: + :type theIObj: opencascade::handle & + :param theMaterial: + :type theMaterial: Graphic3d_MaterialAspect & + :param theToUpdateViewer: + :type theToUpdateViewer: bool + :rtype: None") SetMaterial; + void SetMaterial (const opencascade::handle & theIObj,const Graphic3d_MaterialAspect & theMaterial,const Standard_Boolean theToUpdateViewer); + + /****************** SetPickingStrategy ******************/ + %feature("compactdefaultargs") SetPickingStrategy; + %feature("autodoc", "* Setup picking strategy - which entities detected by picking line will be accepted, considering Selection Filters. By default (SelectMgr_PickingStrategy_FirstAcceptable), Selection Filters reduce the list of entities so that the context accepts topmost in remaining. //! This means that entities behind non-selectable (by filters) parts can be picked by user. If this behavior is undesirable, and user wants that non-selectable (by filters) parts should remain an obstacle for picking, SelectMgr_PickingStrategy_OnlyTopmost can be set instead. //! Notice, that since Selection Manager operates only objects registered in it, SelectMgr_PickingStrategy_OnlyTopmost will NOT prevent picking entities behind visible by unregistered in Selection Manager presentations (e.g. deactivated). Hence, SelectMgr_PickingStrategy_OnlyTopmost changes behavior only with Selection Filters enabled. + :param theStrategy: + :type theStrategy: SelectMgr_PickingStrategy + :rtype: None") SetPickingStrategy; + void SetPickingStrategy (const SelectMgr_PickingStrategy theStrategy); + + /****************** SetPixelTolerance ******************/ + %feature("compactdefaultargs") SetPixelTolerance; + %feature("autodoc", "* @name mouse picking logic (detection and dynamic highlighting of entities under cursor) Setup pixel tolerance for MoveTo() operation. @sa MoveTo(). + :param thePrecision: default value is 2 + :type thePrecision: int + :rtype: None") SetPixelTolerance; + void SetPixelTolerance (const Standard_Integer thePrecision = 2); - :param aName: - :type aName: Graphic3d_MaterialAspect & - :rtype: void -") SetMaterial; - virtual void SetMaterial (const Graphic3d_MaterialAspect & aName); - %feature("compactdefaultargs") UnsetMaterial; - %feature("autodoc", " * Removes the setting for material. + /****************** SetPlaneSize ******************/ + %feature("compactdefaultargs") SetPlaneSize; + %feature("autodoc", "* @name plane display attributes Sets the plane size defined by the length in the X direction XSize and that in the Y direction YSize. + :param theSizeX: + :type theSizeX: float + :param theSizeY: + :type theSizeY: float + :param theToUpdateViewer: + :type theToUpdateViewer: bool + :rtype: None") SetPlaneSize; + void SetPlaneSize (const Standard_Real theSizeX,const Standard_Real theSizeY,const Standard_Boolean theToUpdateViewer); - :rtype: void -") UnsetMaterial; - virtual void UnsetMaterial (); + /****************** SetPlaneSize ******************/ + %feature("compactdefaultargs") SetPlaneSize; + %feature("autodoc", "* Sets the plane size aSize. + :param theSize: + :type theSize: float + :param theToUpdateViewer: + :type theToUpdateViewer: bool + :rtype: None") SetPlaneSize; + void SetPlaneSize (const Standard_Real theSize,const Standard_Boolean theToUpdateViewer); + + /****************** SetPolygonOffsets ******************/ + %feature("compactdefaultargs") SetPolygonOffsets; + %feature("autodoc", "* Sets up polygon offsets for the given AIS_InteractiveObject. It simply calls AIS_InteractiveObject::SetPolygonOffsets(). + :param theIObj: + :type theIObj: opencascade::handle & + :param theMode: + :type theMode: int + :param theFactor: + :type theFactor: Standard_ShortReal + :param theUnits: + :type theUnits: Standard_ShortReal + :param theToUpdateViewer: + :type theToUpdateViewer: bool + :rtype: None") SetPolygonOffsets; + void SetPolygonOffsets (const opencascade::handle & theIObj,const Standard_Integer theMode,const Standard_ShortReal theFactor,const Standard_ShortReal theUnits,const Standard_Boolean theToUpdateViewer); + + /****************** SetSelected ******************/ + %feature("compactdefaultargs") SetSelected; + %feature("autodoc", "* Unhighlights previously selected owners and marks them as not selected. Marks owner given as selected and highlights it. Performs selection filters check. + :param theOwners: + :type theOwners: opencascade::handle & + :param theToUpdateViewer: + :type theToUpdateViewer: bool + :rtype: None") SetSelected; + void SetSelected (const opencascade::handle & theOwners,const Standard_Boolean theToUpdateViewer); + + /****************** SetSelected ******************/ + %feature("compactdefaultargs") SetSelected; + %feature("autodoc", "* Puts the interactive object aniObj in the list of selected objects. Performs selection filters check. + :param theObject: + :type theObject: opencascade::handle & + :param theToUpdateViewer: + :type theToUpdateViewer: bool + :rtype: None") SetSelected; + void SetSelected (const opencascade::handle & theObject,const Standard_Boolean theToUpdateViewer); + + /****************** SetSelectedAspect ******************/ + %feature("compactdefaultargs") SetSelectedAspect; + %feature("autodoc", "* @name Selection management Sets the graphic basic aspect to the current presentation of ALL selected objects. + :param theAspect: + :type theAspect: opencascade::handle & + :param theToUpdateViewer: + :type theToUpdateViewer: bool + :rtype: None") SetSelectedAspect; + void SetSelectedAspect (const opencascade::handle & theAspect,const Standard_Boolean theToUpdateViewer); + + /****************** SetSelectedState ******************/ + %feature("compactdefaultargs") SetSelectedState; + %feature("autodoc", "* Updates Selected state of specified owner without calling HilightSelected(). Has no effect if Selected state is not changed, and redirects to AddOrRemoveSelected() otherwise. @param theOwner owner object to set selected state @param theIsSelected new selected state returns True if Selected state has been changed + :param theOwner: + :type theOwner: opencascade::handle & + :param theIsSelected: + :type theIsSelected: bool + :rtype: bool") SetSelectedState; + Standard_Boolean SetSelectedState (const opencascade::handle & theOwner,const Standard_Boolean theIsSelected); + + /****************** SetSelection ******************/ + %feature("compactdefaultargs") SetSelection; + %feature("autodoc", "* Sets selection instance to manipulate a container of selected owners @param theSelection an instance of the selection + :param theSelection: + :type theSelection: opencascade::handle & + :rtype: None") SetSelection; + void SetSelection (const opencascade::handle & theSelection); + + /****************** SetSelectionModeActive ******************/ + %feature("compactdefaultargs") SetSelectionModeActive; + %feature("autodoc", "* @name management of active Selection Modes Activates or deactivates the selection mode for specified object. Has no effect if selection mode was already active/deactivated. @param theObj object to activate/deactivate selection mode @param theMode selection mode to activate/deactivate; deactivation of -1 selection mode will effectively deactivate all selection modes; activation of -1 selection mode with AIS_SelectionModesConcurrency_Single will deactivate all selection modes, and will has no effect otherwise @param theToActivate activation/deactivation flag @param theConcurrency specifies how to handle already activated selection modes; default value (AIS_SelectionModesConcurrency_Multiple) means active selection modes should be left as is, AIS_SelectionModesConcurrency_Single can be used if only one selection mode is expected to be active and AIS_SelectionModesConcurrency_GlobalOrLocal can be used if either AIS_InteractiveObject::GlobalSelectionMode() or any combination of Local selection modes is acceptable; this value is considered only if theToActivate set to True @param theIsForce when set to True, the display status will be ignored while activating selection mode + :param theObj: + :type theObj: opencascade::handle & + :param theMode: + :type theMode: int + :param theToActivate: + :type theToActivate: bool + :param theConcurrency: default value is AIS_SelectionModesConcurrency_Multiple + :type theConcurrency: AIS_SelectionModesConcurrency + :param theIsForce: default value is Standard_False + :type theIsForce: bool + :rtype: None") SetSelectionModeActive; + void SetSelectionModeActive (const opencascade::handle & theObj,const Standard_Integer theMode,const Standard_Boolean theToActivate,const AIS_SelectionModesConcurrency theConcurrency = AIS_SelectionModesConcurrency_Multiple,const Standard_Boolean theIsForce = Standard_False); + + /****************** SetSelectionSensitivity ******************/ + %feature("compactdefaultargs") SetSelectionSensitivity; + %feature("autodoc", "* Allows to manage sensitivity of a particular selection of interactive object theObject and changes previous sensitivity value of all sensitive entities in selection with theMode to the given theNewSensitivity. + :param theObject: + :type theObject: opencascade::handle & + :param theMode: + :type theMode: int + :param theNewSensitivity: + :type theNewSensitivity: int + :rtype: None") SetSelectionSensitivity; + void SetSelectionSensitivity (const opencascade::handle & theObject,const Standard_Integer theMode,const Standard_Integer theNewSensitivity); + + /****************** SetSelectionStyle ******************/ + %feature("compactdefaultargs") SetSelectionStyle; + %feature("autodoc", "* Setup the style of selection highlighting. + :param theStyle: + :type theStyle: opencascade::handle & + :rtype: None") SetSelectionStyle; + void SetSelectionStyle (const opencascade::handle & theStyle); + + /****************** SetSubIntensityColor ******************/ + %feature("compactdefaultargs") SetSubIntensityColor; + %feature("autodoc", "* Sub-intensity allows temporary highlighting of particular objects with specified color in a manner of selection highlight, but without actual selection (e.g., global status and owner's selection state will not be updated). The method sets up the color for such highlighting. By default, this is Quantity_NOC_GRAY40. + :param theColor: + :type theColor: Quantity_Color & + :rtype: None") SetSubIntensityColor; + void SetSubIntensityColor (const Quantity_Color & theColor); + + /****************** SetToHilightSelected ******************/ + %feature("compactdefaultargs") SetToHilightSelected; + %feature("autodoc", "* Specify whether selected object must be hilighted when mouse cursor is moved above it (in MoveTo method). By default this value is false and selected object is not hilighted in this case. @sa MoveTo() + :param toHilight: + :type toHilight: bool + :rtype: None") SetToHilightSelected; + void SetToHilightSelected (const Standard_Boolean toHilight); + + /****************** SetTransformPersistence ******************/ + %feature("compactdefaultargs") SetTransformPersistence; + %feature("autodoc", "* Sets transform persistence. + :param theObject: + :type theObject: opencascade::handle & + :param theTrsfPers: + :type theTrsfPers: opencascade::handle & + :rtype: None") SetTransformPersistence; + void SetTransformPersistence (const opencascade::handle & theObject,const opencascade::handle & theTrsfPers); + + /****************** SetTransformPersistence ******************/ + %feature("compactdefaultargs") SetTransformPersistence; + %feature("autodoc", ":param theObj: + :type theObj: opencascade::handle & + :param theFlag: + :type theFlag: Graphic3d_TransModeFlags & + :param thePoint: default value is gp_Pnt(0.0,0.0,0.0) + :type thePoint: gp_Pnt + :rtype: 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 ******************/ %feature("compactdefaultargs") SetTransparency; - %feature("autodoc", " * Attributes a setting aValue for transparency. The transparency value should be between 0.0 and 1.0. At 0.0 an object will be totally opaque, and at 1.0, fully transparent. Warning At a value of 1.0, there may be nothing visible. + %feature("autodoc", "* Provides the transparency settings for viewing the Object. The transparency value aValue may be between 0.0, opaque, and 1.0, fully transparent. + :param theIObj: + :type theIObj: opencascade::handle & + :param theValue: + :type theValue: float + :param theToUpdateViewer: + :type theToUpdateViewer: bool + :rtype: None") SetTransparency; + void SetTransparency (const opencascade::handle & theIObj,const Standard_Real theValue,const Standard_Boolean theToUpdateViewer); - :param aValue: default value is 0.6 - :type aValue: float - :rtype: void -") SetTransparency; - virtual void SetTransparency (const Standard_Real aValue = 0.6); - %feature("compactdefaultargs") IsTransparent; - %feature("autodoc", " * Returns true if there is a transparency setting. + /****************** SetTrihedronSize ******************/ + %feature("compactdefaultargs") SetTrihedronSize; + %feature("autodoc", "* @name trihedron display attributes Sets the size aSize of the trihedron. Is used to change the default value 100 mm for display of trihedra. Use of this function in one of your own interactive objects requires a call to the Compute function of the new class. This will recalculate the presentation for every trihedron displayed. + :param theSize: + :type theSize: float + :param theToUpdateViewer: + :type theToUpdateViewer: bool + :rtype: None") SetTrihedronSize; + void SetTrihedronSize (const Standard_Real theSize,const Standard_Boolean theToUpdateViewer); - :rtype: bool -") IsTransparent; - Standard_Boolean IsTransparent (); - %feature("compactdefaultargs") Transparency; - %feature("autodoc", " * Returns the transparency setting. This will be between 0.0 and 1.0. At 0.0 an object will be totally opaque, and at 1.0, fully transparent. + /****************** SetViewAffinity ******************/ + %feature("compactdefaultargs") SetViewAffinity; + %feature("autodoc", "* Setup object visibility in specified view. Has no effect if object is not displayed in this context. + :param theIObj: + :type theIObj: opencascade::handle & + :param theView: + :type theView: opencascade::handle & + :param theIsVisible: + :type theIsVisible: bool + :rtype: None") SetViewAffinity; + void SetViewAffinity (const opencascade::handle & theIObj,const opencascade::handle & theView,const Standard_Boolean theIsVisible); - :rtype: float -") Transparency; - virtual Standard_Real Transparency (); - %feature("compactdefaultargs") UnsetTransparency; - %feature("autodoc", " * Removes the transparency setting. The object is opaque by default. + /****************** SetWidth ******************/ + %feature("compactdefaultargs") SetWidth; + %feature("autodoc", "* Sets the width of the Object. + :param theIObj: + :type theIObj: opencascade::handle & + :param theValue: + :type theValue: float + :param theToUpdateViewer: + :type theToUpdateViewer: bool + :rtype: void") SetWidth; + virtual void SetWidth (const opencascade::handle & theIObj,const Standard_Real theValue,const Standard_Boolean theToUpdateViewer); - :rtype: void -") UnsetTransparency; - virtual void UnsetTransparency (); - %feature("compactdefaultargs") UnsetAttributes; - %feature("autodoc", " * Clears settings provided by the drawing tool aDrawer. - - :rtype: void -") UnsetAttributes; - virtual void UnsetAttributes (); - %feature("compactdefaultargs") State; - %feature("autodoc", " :param theState: - :type theState: int - :rtype: None -") State; - void State (const Standard_Integer theState); - %feature("compactdefaultargs") State; - %feature("autodoc", " :rtype: int -") State; - Standard_Integer State (); - %feature("compactdefaultargs") HasPresentation; - %feature("autodoc", " * Returns True when this object has a presentation in the current DisplayMode() + /****************** SetZLayer ******************/ + %feature("compactdefaultargs") SetZLayer; + %feature("autodoc", "* Set Z layer id for interactive object. The Z layers can be used to display temporarily presentations of some object in front of the other objects in the scene. The ids for Z layers are generated by V3d_Viewer. + :param theIObj: + :type theIObj: opencascade::handle & + :param theLayerId: + :type theLayerId: Graphic3d_ZLayerId + :rtype: None") SetZLayer; + void SetZLayer (const opencascade::handle & theIObj,const Graphic3d_ZLayerId theLayerId); - :rtype: bool -") HasPresentation; - Standard_Boolean HasPresentation (); - %feature("compactdefaultargs") Presentation; - %feature("autodoc", " * Returns the current presentation of this object according to the current DisplayMode() + /****************** ShiftSelect ******************/ + %feature("compactdefaultargs") ShiftSelect; + %feature("autodoc", "* Adds the last detected to the list of previous picked. If the last detected was already declared as picked, removes it from the Picked List. @sa MoveTo(). + :param theToUpdateViewer: + :type theToUpdateViewer: bool + :rtype: AIS_StatusOfPick") ShiftSelect; + AIS_StatusOfPick ShiftSelect (const Standard_Boolean theToUpdateViewer); - :rtype: Handle_Prs3d_Presentation -") Presentation; - Handle_Prs3d_Presentation Presentation (); - %feature("compactdefaultargs") SetAspect; - %feature("autodoc", " * Sets the graphic basic aspect to the current presentation. When is True , the full object presentation is changed. When is False , only the current group of the object presentation is changed. + /****************** ShiftSelect ******************/ + %feature("compactdefaultargs") ShiftSelect; + %feature("autodoc", "* Adds the last detected to the list of previous picked. If the last detected was already declared as picked, removes it from the Picked List. + :param thePolyline: + :type thePolyline: TColgp_Array1OfPnt2d + :param theView: + :type theView: opencascade::handle & + :param theToUpdateViewer: + :type theToUpdateViewer: bool + :rtype: AIS_StatusOfPick") ShiftSelect; + AIS_StatusOfPick ShiftSelect (const TColgp_Array1OfPnt2d & thePolyline,const opencascade::handle & theView,const Standard_Boolean theToUpdateViewer); - :param anAspect: - :type anAspect: Handle_Prs3d_BasicAspect & - :param globalChange: default value is Standard_True - :type globalChange: bool - :rtype: None -") SetAspect; - void SetAspect (const Handle_Prs3d_BasicAspect & anAspect,const Standard_Boolean globalChange = Standard_True); - %feature("compactdefaultargs") SetPolygonOffsets; - %feature("autodoc", " * Sets up polygon offsets for this object. It modifies all existing presentations of (if any), so it is reasonable to call this method after has been displayed. Otherwise, Compute() method should pass Graphic3d_AspectFillArea3d aspect from to Graphic3d_Group to make polygon offsets work. //! parameter can contain various combinations of Aspect_PolygonOffsetMode enumeration elements (Aspect_POM_None means that polygon offsets are not changed). If is different from Aspect_POM_Off and Aspect_POM_None, then and arguments are used by graphic renderer to calculate a depth offset value: //! offset = * m + * r, where m - maximum depth slope for the polygon currently being displayed, r - minimum window coordinates depth resolution (implementation-specific). //! Deafult settings for OCC 3D viewer: mode = Aspect_POM_Fill, factor = 1., units = 0. //! Negative offset values move polygons closer to the viewport, while positive values shift polygons away. Consult OpenGL reference for details (glPolygonOffset function description). //! NOTE: This method has a side effect - it creates own shading aspect if not yet created, so it is better to set up object material, color, etc. first. + /****************** ShiftSelect ******************/ + %feature("compactdefaultargs") ShiftSelect; + %feature("autodoc", "* Rectangle of selection; adds new detected entities into the picked list, removes the detected entities that were already stored. + :param theXPMin: + :type theXPMin: int + :param theYPMin: + :type theYPMin: int + :param theXPMax: + :type theXPMax: int + :param theYPMax: + :type theYPMax: int + :param theView: + :type theView: opencascade::handle & + :param theToUpdateViewer: + :type theToUpdateViewer: bool + :rtype: AIS_StatusOfPick") ShiftSelect; + AIS_StatusOfPick ShiftSelect (const Standard_Integer theXPMin,const Standard_Integer theYPMin,const Standard_Integer theXPMax,const Standard_Integer theYPMax,const opencascade::handle & theView,const Standard_Boolean theToUpdateViewer); - :param aMode: - :type aMode: int - :param aFactor: default value is 1.0 - :type aFactor: Standard_ShortReal - :param aUnits: default value is 0.0 - :type aUnits: Standard_ShortReal - :rtype: void -") SetPolygonOffsets; - virtual void SetPolygonOffsets (const Standard_Integer aMode,const Standard_ShortReal aFactor = 1.0,const Standard_ShortReal aUnits = 0.0); - %feature("compactdefaultargs") HasPolygonOffsets; - %feature("autodoc", " * Returns Standard_True if has non-null shading aspect + /****************** SubIntensityColor ******************/ + %feature("compactdefaultargs") SubIntensityColor; + %feature("autodoc", "* @name sub-intensity management (deprecated) Sub-intensity allows temporary highlighting of particular objects with specified color in a manner of selection highlight, but without actual selection (e.g., global status and owner's selection state will not be updated). The method returns the color of such highlighting. By default, it is Quantity_NOC_GRAY40. + :rtype: Quantity_Color") SubIntensityColor; + const Quantity_Color & SubIntensityColor (); - :rtype: bool -") HasPolygonOffsets; - virtual Standard_Boolean HasPolygonOffsets (); - %feature("compactdefaultargs") PolygonOffsets; - %feature("autodoc", " * Retrieves current polygon offsets settings from . + /****************** SubIntensityOff ******************/ + %feature("compactdefaultargs") SubIntensityOff; + %feature("autodoc", "* Removes the subintensity option for the entity. If a local context is open, the presentation of the Interactive Object activates the selection mode. + :param theIObj: + :type theIObj: opencascade::handle & + :param theToUpdateViewer: + :type theToUpdateViewer: bool + :rtype: None") SubIntensityOff; + void SubIntensityOff (const opencascade::handle & theIObj,const Standard_Boolean theToUpdateViewer); - :param aMode: - :type aMode: int & - :param aFactor: - :type aFactor: Standard_ShortReal & - :param aUnits: - :type aUnits: Standard_ShortReal & - :rtype: void -") PolygonOffsets; - virtual void PolygonOffsets (Standard_Integer &OutValue,Standard_ShortReal & aFactor,Standard_ShortReal & aUnits); - %feature("compactdefaultargs") BoundingBox; - %feature("autodoc", " * Returns bounding box of object correspondingly to its current display mode. + /****************** SubIntensityOn ******************/ + %feature("compactdefaultargs") SubIntensityOn; + %feature("autodoc", "* Highlights, and removes highlights from, the displayed object which is displayed at Neutral Point with subintensity color. Available only for active local context. There is no effect if there is no local context. If a local context is open, the presentation of the Interactive Object activates the selection mode. + :param theIObj: + :type theIObj: opencascade::handle & + :param theToUpdateViewer: + :type theToUpdateViewer: bool + :rtype: None") SubIntensityOn; + void SubIntensityOn (const opencascade::handle & theIObj,const Standard_Boolean theToUpdateViewer); + + /****************** ToHilightSelected ******************/ + %feature("compactdefaultargs") ToHilightSelected; + %feature("autodoc", "* Return value specified whether selected object must be hilighted when mouse cursor is moved above it @sa MoveTo() + :rtype: bool") ToHilightSelected; + Standard_Boolean ToHilightSelected (); + + /****************** TrihedronSize ******************/ + %feature("compactdefaultargs") TrihedronSize; + %feature("autodoc", "* returns the current value of trihedron size. + :rtype: float") TrihedronSize; + Standard_Real TrihedronSize (); + + /****************** Unhilight ******************/ + %feature("compactdefaultargs") Unhilight; + %feature("autodoc", "* Removes hilighting from the Object. + :param theIObj: + :type theIObj: opencascade::handle & + :param theToUpdateViewer: + :type theToUpdateViewer: bool + :rtype: None") Unhilight; + void Unhilight (const opencascade::handle & theIObj,const Standard_Boolean theToUpdateViewer); + + /****************** UnhilightCurrents ******************/ + %feature("compactdefaultargs") UnhilightCurrents; + %feature("autodoc", "* Removes highlighting from current objects. Objects selected when there is no open local context are called current objects; those selected in open local context, selected objects. + :param theToUpdateViewer: + :type theToUpdateViewer: bool + :rtype: None") UnhilightCurrents; + void UnhilightCurrents (const Standard_Boolean theToUpdateViewer); + + /****************** UnhilightSelected ******************/ + %feature("compactdefaultargs") UnhilightSelected; + %feature("autodoc", "* Removes highlighting from selected objects. + :param theToUpdateViewer: + :type theToUpdateViewer: bool + :rtype: None") UnhilightSelected; + void UnhilightSelected (const Standard_Boolean theToUpdateViewer); + + /****************** UnsetColor ******************/ + %feature("compactdefaultargs") UnsetColor; + %feature("autodoc", "* Removes the color selection for the selected entity. + :param theIObj: + :type theIObj: opencascade::handle & + :param theToUpdateViewer: + :type theToUpdateViewer: bool + :rtype: None") UnsetColor; + void UnsetColor (const opencascade::handle & theIObj,const Standard_Boolean theToUpdateViewer); + + /****************** UnsetDisplayMode ******************/ + %feature("compactdefaultargs") UnsetDisplayMode; + %feature("autodoc", "* Unsets the display mode of seen Interactive Objects. + :param theIObj: + :type theIObj: opencascade::handle & + :param theToUpdateViewer: + :type theToUpdateViewer: bool + :rtype: None") UnsetDisplayMode; + void UnsetDisplayMode (const opencascade::handle & theIObj,const Standard_Boolean theToUpdateViewer); + + /****************** UnsetLocalAttributes ******************/ + %feature("compactdefaultargs") UnsetLocalAttributes; + %feature("autodoc", "* Removes the settings for local attributes of the Object and returns to defaults. + :param theIObj: + :type theIObj: opencascade::handle & + :param theToUpdateViewer: + :type theToUpdateViewer: bool + :rtype: None") UnsetLocalAttributes; + void UnsetLocalAttributes (const opencascade::handle & theIObj,const Standard_Boolean theToUpdateViewer); + + /****************** UnsetMaterial ******************/ + %feature("compactdefaultargs") UnsetMaterial; + %feature("autodoc", "* Removes the type of material setting for viewing the Object. + :param theIObj: + :type theIObj: opencascade::handle & + :param theToUpdateViewer: + :type theToUpdateViewer: bool + :rtype: None") UnsetMaterial; + void UnsetMaterial (const opencascade::handle & theIObj,const Standard_Boolean theToUpdateViewer); + + /****************** UnsetTransparency ******************/ + %feature("compactdefaultargs") UnsetTransparency; + %feature("autodoc", "* Removes the transparency settings for viewing the Object. + :param theIObj: + :type theIObj: opencascade::handle & + :param theToUpdateViewer: + :type theToUpdateViewer: bool + :rtype: None") UnsetTransparency; + void UnsetTransparency (const opencascade::handle & theIObj,const Standard_Boolean theToUpdateViewer); + + /****************** UnsetWidth ******************/ + %feature("compactdefaultargs") UnsetWidth; + %feature("autodoc", "* Removes the width setting of the Object. + :param theIObj: + :type theIObj: opencascade::handle & + :param theToUpdateViewer: + :type theToUpdateViewer: bool + :rtype: void") UnsetWidth; + virtual void UnsetWidth (const opencascade::handle & theIObj,const Standard_Boolean theToUpdateViewer); - :param theBndBox: - :type theBndBox: Bnd_Box & - :rtype: void -") BoundingBox; - virtual void BoundingBox (Bnd_Box & theBndBox); -}; + /****************** Update ******************/ + %feature("compactdefaultargs") Update; + %feature("autodoc", "* Updates displayed interactive object by checking and recomputing its flagged as 'to be recomputed' presentation and selection structures. This method does not force any recomputation on its own. The method recomputes selections even if they are loaded without activation in particular selector. + :param theIObj: + :type theIObj: opencascade::handle & + :param theUpdateViewer: + :type theUpdateViewer: bool + :rtype: None") Update; + void Update (const opencascade::handle & theIObj,const Standard_Boolean theUpdateViewer); + /****************** UpdateCurrent ******************/ + %feature("compactdefaultargs") UpdateCurrent; + %feature("autodoc", "* Updates the list of current objects, i.e. hilights new current objects, removes hilighting from former current objects. Objects selected when there is no open local context are called current objects; those selected in open local context, selected objects. + :rtype: None") UpdateCurrent; + void UpdateCurrent (); -%make_alias(AIS_InteractiveObject) + /****************** UpdateCurrentViewer ******************/ + %feature("compactdefaultargs") UpdateCurrentViewer; + %feature("autodoc", "* Updates the current viewer. + :rtype: None") UpdateCurrentViewer; + void UpdateCurrentViewer (); -%extend AIS_InteractiveObject { - %pythoncode { - __repr__ = _dumps_object - } -}; -%nodefaultctor AIS_ListIteratorOfListOfInteractive; -class AIS_ListIteratorOfListOfInteractive { - public: - %feature("compactdefaultargs") AIS_ListIteratorOfListOfInteractive; - %feature("autodoc", " :rtype: None -") AIS_ListIteratorOfListOfInteractive; - AIS_ListIteratorOfListOfInteractive (); - %feature("compactdefaultargs") AIS_ListIteratorOfListOfInteractive; - %feature("autodoc", " :param L: - :type L: AIS_ListOfInteractive & - :rtype: None -") AIS_ListIteratorOfListOfInteractive; - AIS_ListIteratorOfListOfInteractive (const AIS_ListOfInteractive & L); - %feature("compactdefaultargs") Initialize; - %feature("autodoc", " :param L: - :type L: AIS_ListOfInteractive & - :rtype: None -") Initialize; - void Initialize (const AIS_ListOfInteractive & L); - %feature("compactdefaultargs") More; - %feature("autodoc", " :rtype: bool -") More; - Standard_Boolean More (); - %feature("compactdefaultargs") Next; - %feature("autodoc", " :rtype: None -") Next; - void Next (); - %feature("compactdefaultargs") Value; - %feature("autodoc", " :rtype: Handle_AIS_InteractiveObject -") Value; - Handle_AIS_InteractiveObject Value (); -}; + /****************** UpdateSelected ******************/ + %feature("compactdefaultargs") UpdateSelected; + %feature("autodoc", "* Updates the list of selected objects: i.e. highlights the newly selected ones and unhighlights previously selected objects. @sa HilightSelected(). + :param theToUpdateViewer: + :type theToUpdateViewer: bool + :rtype: None") UpdateSelected; + void UpdateSelected (Standard_Boolean theToUpdateViewer); + /****************** Width ******************/ + %feature("compactdefaultargs") Width; + %feature("autodoc", "* Returns the width of the Interactive Object in the interactive context. + :param aniobj: + :type aniobj: opencascade::handle & + :rtype: float") Width; + virtual Standard_Real Width (const opencascade::handle & aniobj); -%extend AIS_ListIteratorOfListOfInteractive { - %pythoncode { - __repr__ = _dumps_object - } -}; -%nodefaultctor AIS_ListNodeOfListOfInteractive; -class AIS_ListNodeOfListOfInteractive : public TCollection_MapNode { - public: - %feature("compactdefaultargs") AIS_ListNodeOfListOfInteractive; - %feature("autodoc", " :param I: - :type I: Handle_AIS_InteractiveObject & - :param n: - :type n: TCollection_MapNodePtr & - :rtype: None -") AIS_ListNodeOfListOfInteractive; - AIS_ListNodeOfListOfInteractive (const Handle_AIS_InteractiveObject & I,const TCollection_MapNodePtr & n); - %feature("compactdefaultargs") Value; - %feature("autodoc", " :rtype: Handle_AIS_InteractiveObject -") Value; - Handle_AIS_InteractiveObject Value (); }; -%make_alias(AIS_ListNodeOfListOfInteractive) +%make_alias(AIS_InteractiveContext) -%extend AIS_ListNodeOfListOfInteractive { - %pythoncode { - __repr__ = _dumps_object - } -}; -%nodefaultctor AIS_ListOfInteractive; -class AIS_ListOfInteractive { - public: - %feature("compactdefaultargs") AIS_ListOfInteractive; - %feature("autodoc", " :rtype: None -") AIS_ListOfInteractive; - AIS_ListOfInteractive (); - %feature("compactdefaultargs") AIS_ListOfInteractive; - %feature("autodoc", " :param Other: - :type Other: AIS_ListOfInteractive & - :rtype: None -") AIS_ListOfInteractive; - AIS_ListOfInteractive (const AIS_ListOfInteractive & Other); - %feature("compactdefaultargs") Assign; - %feature("autodoc", " :param Other: - :type Other: AIS_ListOfInteractive & - :rtype: None -") Assign; - void Assign (const AIS_ListOfInteractive & Other); - %feature("compactdefaultargs") operator =; - %feature("autodoc", " :param Other: - :type Other: AIS_ListOfInteractive & - :rtype: None -") operator =; - void operator = (const AIS_ListOfInteractive & Other); - %feature("compactdefaultargs") Extent; - %feature("autodoc", " :rtype: int -") Extent; - Standard_Integer Extent (); - %feature("compactdefaultargs") Clear; - %feature("autodoc", " :rtype: None -") Clear; - void Clear (); - %feature("compactdefaultargs") IsEmpty; - %feature("autodoc", " :rtype: bool -") IsEmpty; - Standard_Boolean IsEmpty (); - %feature("compactdefaultargs") Prepend; - %feature("autodoc", " :param I: - :type I: Handle_AIS_InteractiveObject & - :rtype: None -") Prepend; - void Prepend (const Handle_AIS_InteractiveObject & I); - %feature("compactdefaultargs") Prepend; - %feature("autodoc", " :param I: - :type I: Handle_AIS_InteractiveObject & - :param theIt: - :type theIt: AIS_ListIteratorOfListOfInteractive & - :rtype: None -") Prepend; - void Prepend (const Handle_AIS_InteractiveObject & I,AIS_ListIteratorOfListOfInteractive & theIt); - %feature("compactdefaultargs") Prepend; - %feature("autodoc", " :param Other: - :type Other: AIS_ListOfInteractive & - :rtype: None -") Prepend; - void Prepend (AIS_ListOfInteractive & Other); - %feature("compactdefaultargs") Append; - %feature("autodoc", " :param I: - :type I: Handle_AIS_InteractiveObject & - :rtype: None -") Append; - void Append (const Handle_AIS_InteractiveObject & I); - %feature("compactdefaultargs") Append; - %feature("autodoc", " :param I: - :type I: Handle_AIS_InteractiveObject & - :param theIt: - :type theIt: AIS_ListIteratorOfListOfInteractive & - :rtype: None -") Append; - void Append (const Handle_AIS_InteractiveObject & I,AIS_ListIteratorOfListOfInteractive & theIt); - %feature("compactdefaultargs") Append; - %feature("autodoc", " :param Other: - :type Other: AIS_ListOfInteractive & - :rtype: None -") Append; - void Append (AIS_ListOfInteractive & Other); - %feature("compactdefaultargs") First; - %feature("autodoc", " :rtype: Handle_AIS_InteractiveObject -") First; - Handle_AIS_InteractiveObject First (); - %feature("compactdefaultargs") Last; - %feature("autodoc", " :rtype: Handle_AIS_InteractiveObject -") Last; - Handle_AIS_InteractiveObject Last (); - %feature("compactdefaultargs") RemoveFirst; - %feature("autodoc", " :rtype: None -") RemoveFirst; - void RemoveFirst (); - %feature("compactdefaultargs") Remove; - %feature("autodoc", " :param It: - :type It: AIS_ListIteratorOfListOfInteractive & - :rtype: None -") Remove; - void Remove (AIS_ListIteratorOfListOfInteractive & It); - %feature("compactdefaultargs") InsertBefore; - %feature("autodoc", " :param I: - :type I: Handle_AIS_InteractiveObject & - :param It: - :type It: AIS_ListIteratorOfListOfInteractive & - :rtype: None -") InsertBefore; - void InsertBefore (const Handle_AIS_InteractiveObject & I,AIS_ListIteratorOfListOfInteractive & It); - %feature("compactdefaultargs") InsertBefore; - %feature("autodoc", " :param Other: - :type Other: AIS_ListOfInteractive & - :param It: - :type It: AIS_ListIteratorOfListOfInteractive & - :rtype: None -") InsertBefore; - void InsertBefore (AIS_ListOfInteractive & Other,AIS_ListIteratorOfListOfInteractive & It); - %feature("compactdefaultargs") InsertAfter; - %feature("autodoc", " :param I: - :type I: Handle_AIS_InteractiveObject & - :param It: - :type It: AIS_ListIteratorOfListOfInteractive & - :rtype: None -") InsertAfter; - void InsertAfter (const Handle_AIS_InteractiveObject & I,AIS_ListIteratorOfListOfInteractive & It); - %feature("compactdefaultargs") InsertAfter; - %feature("autodoc", " :param Other: - :type Other: AIS_ListOfInteractive & - :param It: - :type It: AIS_ListIteratorOfListOfInteractive & - :rtype: None -") InsertAfter; - void InsertAfter (AIS_ListOfInteractive & Other,AIS_ListIteratorOfListOfInteractive & It); -}; - - -%extend AIS_ListOfInteractive { +%extend AIS_InteractiveContext { %pythoncode { __repr__ = _dumps_object } }; -%nodefaultctor AIS_LocalContext; -class AIS_LocalContext : public MMgt_TShared { + +/****************************** +* class AIS_InteractiveObject * +******************************/ +%nodefaultctor AIS_InteractiveObject; +class AIS_InteractiveObject : public SelectMgr_SelectableObject { public: - %feature("compactdefaultargs") AIS_LocalContext; - %feature("autodoc", " :rtype: None -") AIS_LocalContext; - AIS_LocalContext (); - %feature("compactdefaultargs") AIS_LocalContext; - %feature("autodoc", " * Constructor By Default, the displayed objects are automatically loaded. + /****************** ClearOwner ******************/ + %feature("compactdefaultargs") ClearOwner; + %feature("autodoc", "* Each Interactive Object has methods which allow us to attribute an Owner to it in the form of a Transient. This method removes the owner from the graphic entity. + :rtype: None") ClearOwner; + void ClearOwner (); - :param aCtx: - :type aCtx: Handle_AIS_InteractiveContext & - :param anIndex: - :type anIndex: int - :param LoadDisplayed: default value is Standard_True - :type LoadDisplayed: bool - :param AcceptStandardModes: default value is Standard_True - :type AcceptStandardModes: bool - :param AcceptErase: default value is Standard_False - :type AcceptErase: bool - :param UseBothViewers: default value is Standard_False - :type UseBothViewers: bool - :rtype: None -") AIS_LocalContext; - AIS_LocalContext (const Handle_AIS_InteractiveContext & aCtx,const Standard_Integer anIndex,const Standard_Boolean LoadDisplayed = Standard_True,const Standard_Boolean AcceptStandardModes = Standard_True,const Standard_Boolean AcceptErase = Standard_False,const Standard_Boolean UseBothViewers = Standard_False); - %feature("compactdefaultargs") AcceptErase; - %feature("autodoc", " * authorize or not others contexts to erase temporary displayed objects here; - - :param aStatus: - :type aStatus: bool - :rtype: None -") AcceptErase; - void AcceptErase (const Standard_Boolean aStatus); - %feature("compactdefaultargs") AcceptErase; - %feature("autodoc", " :rtype: bool -") AcceptErase; - Standard_Boolean AcceptErase (); - %feature("compactdefaultargs") SetContext; - %feature("autodoc", " :param aCtx: - :type aCtx: Handle_AIS_InteractiveContext & - :rtype: None -") SetContext; - void SetContext (const Handle_AIS_InteractiveContext & aCtx); - %feature("compactdefaultargs") SelectionName; - %feature("autodoc", " :rtype: TCollection_AsciiString -") SelectionName; - const TCollection_AsciiString & SelectionName (); - %feature("compactdefaultargs") Terminate; - %feature("autodoc", " :param updateviewer: default value is Standard_True - :type updateviewer: bool - :rtype: None -") Terminate; - void Terminate (const Standard_Boolean updateviewer = Standard_True); - %feature("compactdefaultargs") Display; - %feature("autodoc", " * returns true if done... - - :param anInteractive: - :type anInteractive: Handle_AIS_InteractiveObject & - :param DisplayMode: default value is 0 - :type DisplayMode: int - :param AllowShapeDecomposition: default value is Standard_True - :type AllowShapeDecomposition: bool - :param ActivationMode: default value is 0 - :type ActivationMode: int - :rtype: bool -") Display; - Standard_Boolean Display (const Handle_AIS_InteractiveObject & anInteractive,const Standard_Integer DisplayMode = 0,const Standard_Boolean AllowShapeDecomposition = Standard_True,const Standard_Integer ActivationMode = 0); - %feature("compactdefaultargs") Load; - %feature("autodoc", " * loads with nodisplay... returns true if done - - :param anInteractive: - :type anInteractive: Handle_AIS_InteractiveObject & - :param AllowShapeDecomposition: default value is Standard_True - :type AllowShapeDecomposition: bool - :param ActivationMode: default value is 0 - :type ActivationMode: int - :rtype: bool -") Load; - Standard_Boolean Load (const Handle_AIS_InteractiveObject & anInteractive,const Standard_Boolean AllowShapeDecomposition = Standard_True,const Standard_Integer ActivationMode = 0); - %feature("compactdefaultargs") Erase; - %feature("autodoc", " * returns true if done... - :param anInteractive: - :type anInteractive: Handle_AIS_InteractiveObject & - :rtype: bool -") Erase; - Standard_Boolean Erase (const Handle_AIS_InteractiveObject & anInteractive); - %feature("compactdefaultargs") Remove; - %feature("autodoc", " :param aSelectable: - :type aSelectable: Handle_AIS_InteractiveObject & - :rtype: bool -") Remove; - Standard_Boolean Remove (const Handle_AIS_InteractiveObject & aSelectable); - %feature("compactdefaultargs") ClearPrs; - %feature("autodoc", " :param anInteractive: - :type anInteractive: Handle_AIS_InteractiveObject & - :param aMode: - :type aMode: int - :rtype: bool -") ClearPrs; - Standard_Boolean ClearPrs (const Handle_AIS_InteractiveObject & anInteractive,const Standard_Integer aMode); - %feature("compactdefaultargs") SetShapeDecomposition; - %feature("autodoc", " * allows or forbids the shape decomposition into Activated Standard Mode for does nothing if the object doesn't inherits BasicShape from AIS - - :param aStoredObject: - :type aStoredObject: Handle_AIS_InteractiveObject & - :param aStatus: - :type aStatus: bool - :rtype: None -") SetShapeDecomposition; - void SetShapeDecomposition (const Handle_AIS_InteractiveObject & aStoredObject,const Standard_Boolean aStatus); - %feature("compactdefaultargs") Clear; - %feature("autodoc", " * according to , clears the different parts of the selector (filters, modeof activation, objects...) - - :param atype: default value is AIS_CM_All - :type atype: AIS_ClearMode - :rtype: None -") Clear; - void Clear (const AIS_ClearMode atype = AIS_CM_All); - %feature("compactdefaultargs") ActivateMode; - %feature("autodoc", " * optional : activation of a mode which is not 0 for a selectable... - - :param aSelectable: - :type aSelectable: Handle_AIS_InteractiveObject & - :param aMode: - :type aMode: int - :rtype: None -") ActivateMode; - void ActivateMode (const Handle_AIS_InteractiveObject & aSelectable,const Standard_Integer aMode); - %feature("compactdefaultargs") DeactivateMode; - %feature("autodoc", " :param aSelectable: - :type aSelectable: Handle_AIS_InteractiveObject & - :param aMode: - :type aMode: int - :rtype: None -") DeactivateMode; - void DeactivateMode (const Handle_AIS_InteractiveObject & aSelectable,const Standard_Integer aMode); - %feature("compactdefaultargs") Deactivate; - %feature("autodoc", " :param aSelectable: - :type aSelectable: Handle_AIS_InteractiveObject & - :rtype: None -") Deactivate; - void Deactivate (const Handle_AIS_InteractiveObject & aSelectable); - %feature("compactdefaultargs") ActivateStandardMode; - %feature("autodoc", " * decomposition of shapes into + %feature("autodoc", "1"); + %extend{ + std::string DumpJsonToString(int depth=-1) { + std::stringstream s; + self->DumpJson(s, depth); + return s.str();} + }; + /****************** GetContext ******************/ + %feature("compactdefaultargs") GetContext; + %feature("autodoc", "* Returns the context pointer to the interactive context. + :rtype: opencascade::handle") GetContext; + opencascade::handle GetContext (); - :param aType: - :type aType: TopAbs_ShapeEnum - :rtype: None -") ActivateStandardMode; - void ActivateStandardMode (const TopAbs_ShapeEnum aType); - %feature("compactdefaultargs") DeactivateStandardMode; - %feature("autodoc", " :param aType: - :type aType: TopAbs_ShapeEnum - :rtype: None -") DeactivateStandardMode; - void DeactivateStandardMode (const TopAbs_ShapeEnum aType); - %feature("compactdefaultargs") StandardModes; - %feature("autodoc", " :rtype: TColStd_ListOfInteger -") StandardModes; - const TColStd_ListOfInteger & StandardModes (); - %feature("compactdefaultargs") AddFilter; - %feature("autodoc", " :param aFilter: - :type aFilter: Handle_SelectMgr_Filter & - :rtype: None -") AddFilter; - void AddFilter (const Handle_SelectMgr_Filter & aFilter); - %feature("compactdefaultargs") RemoveFilter; - %feature("autodoc", " :param aFilter: - :type aFilter: Handle_SelectMgr_Filter & - :rtype: None -") RemoveFilter; - void RemoveFilter (const Handle_SelectMgr_Filter & aFilter); - %feature("compactdefaultargs") ListOfFilter; - %feature("autodoc", " :rtype: SelectMgr_ListOfFilter -") ListOfFilter; - const SelectMgr_ListOfFilter & ListOfFilter (); - %feature("compactdefaultargs") Filter; - %feature("autodoc", " :rtype: Handle_SelectMgr_OrFilter -") Filter; - Handle_SelectMgr_OrFilter Filter (); - %feature("compactdefaultargs") SetAutomaticHilight; - %feature("autodoc", " * if = True , the shapes or subshapes detected by the selector will be automatically hilighted in the main viewer. Else the user has to manage the detected shape outside the Shape Selector.... + /****************** GetOwner ******************/ + %feature("compactdefaultargs") GetOwner; + %feature("autodoc", "* Returns the owner of the Interactive Object. The owner can be a shape for a set of sub-shapes or a sub-shape for sub-shapes which it is composed of, and takes the form of a transient. There are two types of owners: - Direct owners, decomposition shapes such as edges, wires, and faces. - Users, presentable objects connecting to sensitive primitives, or a shape which has been decomposed. + :rtype: opencascade::handle") GetOwner; + const opencascade::handle & GetOwner (); - :param aStatus: - :type aStatus: bool - :rtype: None -") SetAutomaticHilight; - void SetAutomaticHilight (const Standard_Boolean aStatus); - %feature("compactdefaultargs") AutomaticHilight; - %feature("autodoc", " :rtype: bool -") AutomaticHilight; - Standard_Boolean AutomaticHilight (); - %feature("compactdefaultargs") MoveTo; - %feature("autodoc", " :param theXpix: - :type theXpix: int - :param theYpix: - :type theYpix: int - :param theView: - :type theView: Handle_V3d_View & - :param theToRedrawImmediate: - :type theToRedrawImmediate: bool - :rtype: AIS_StatusOfDetection -") MoveTo; - AIS_StatusOfDetection MoveTo (const Standard_Integer theXpix,const Standard_Integer theYpix,const Handle_V3d_View & theView,const Standard_Boolean theToRedrawImmediate); - %feature("compactdefaultargs") HasNextDetected; - %feature("autodoc", " * returns True if more than one entity was detected at the last Mouse position. + /****************** HasInteractiveContext ******************/ + %feature("compactdefaultargs") HasInteractiveContext; + %feature("autodoc", "* Indicates whether the Interactive Object has a pointer to an interactive context. + :rtype: bool") HasInteractiveContext; + Standard_Boolean HasInteractiveContext (); - :rtype: bool -") HasNextDetected; - Standard_Boolean HasNextDetected (); - %feature("compactdefaultargs") HilightNextDetected; - %feature("autodoc", " * returns True if last detected. the next detected will be first one (endless loop) + /****************** HasOwner ******************/ + %feature("compactdefaultargs") HasOwner; + %feature("autodoc", "* Returns true if the object has an owner attributed to it. The owner can be a shape for a set of sub-shapes or a sub-shape for sub-shapes which it is composed of, and takes the form of a transient. + :rtype: bool") HasOwner; + Standard_Boolean HasOwner (); - :param theView: - :type theView: Handle_V3d_View & - :param theToRedrawImmediate: - :type theToRedrawImmediate: bool - :rtype: int -") HilightNextDetected; - Standard_Integer HilightNextDetected (const Handle_V3d_View & theView,const Standard_Boolean theToRedrawImmediate); - %feature("compactdefaultargs") HilightPreviousDetected; - %feature("autodoc", " :param theView: - :type theView: Handle_V3d_View & - :param theToRedrawImmediate: - :type theToRedrawImmediate: bool - :rtype: int -") HilightPreviousDetected; - Standard_Integer HilightPreviousDetected (const Handle_V3d_View & theView,const Standard_Boolean theToRedrawImmediate); - %feature("compactdefaultargs") UnhilightLastDetected; - %feature("autodoc", " * returns True if something was done... + /****************** HasPresentation ******************/ + %feature("compactdefaultargs") HasPresentation; + %feature("autodoc", "* Returns True when this object has a presentation in the current DisplayMode() + :rtype: bool") HasPresentation; + Standard_Boolean HasPresentation (); - :param aView: - :type aView: Handle_V3d_View & - :rtype: bool -") UnhilightLastDetected; - Standard_Boolean UnhilightLastDetected (const Handle_V3d_View & aView); - %feature("compactdefaultargs") Select; - %feature("autodoc", " * returns the number of selected + /****************** InteractiveContext ******************/ + %feature("compactdefaultargs") InteractiveContext; + %feature("autodoc", "* Returns the context pointer to the interactive context. + :rtype: AIS_InteractiveContext *") InteractiveContext; + AIS_InteractiveContext * InteractiveContext (); - :param updateviewer: default value is Standard_True - :type updateviewer: bool - :rtype: AIS_StatusOfPick -") Select; - AIS_StatusOfPick Select (const Standard_Boolean updateviewer = Standard_True); - %feature("compactdefaultargs") ShiftSelect; - %feature("autodoc", " :param updateviewer: default value is Standard_True - :type updateviewer: bool - :rtype: AIS_StatusOfPick -") ShiftSelect; - AIS_StatusOfPick ShiftSelect (const Standard_Boolean updateviewer = Standard_True); - %feature("compactdefaultargs") Select; - %feature("autodoc", " :param XPMin: - :type XPMin: int - :param YPMin: - :type YPMin: int - :param XPMax: - :type XPMax: int - :param YPMax: - :type YPMax: int - :param aView: - :type aView: Handle_V3d_View & - :param updateviewer: default value is Standard_True - :type updateviewer: bool - :rtype: AIS_StatusOfPick -") Select; - AIS_StatusOfPick Select (const Standard_Integer XPMin,const Standard_Integer YPMin,const Standard_Integer XPMax,const Standard_Integer YPMax,const Handle_V3d_View & aView,const Standard_Boolean updateviewer = Standard_True); - %feature("compactdefaultargs") ShiftSelect; - %feature("autodoc", " :param XPMin: - :type XPMin: int - :param YPMin: - :type YPMin: int - :param XPMax: - :type XPMax: int - :param YPMax: - :type YPMax: int - :param aView: - :type aView: Handle_V3d_View & - :param updateviewer: default value is Standard_True - :type updateviewer: bool - :rtype: AIS_StatusOfPick -") ShiftSelect; - AIS_StatusOfPick ShiftSelect (const Standard_Integer XPMin,const Standard_Integer YPMin,const Standard_Integer XPMax,const Standard_Integer YPMax,const Handle_V3d_View & aView,const Standard_Boolean updateviewer = Standard_True); - %feature("compactdefaultargs") Select; - %feature("autodoc", " :param Polyline: - :type Polyline: TColgp_Array1OfPnt2d - :param aView: - :type aView: Handle_V3d_View & - :param updateviewer: default value is Standard_True - :type updateviewer: bool - :rtype: AIS_StatusOfPick -") Select; - AIS_StatusOfPick Select (const TColgp_Array1OfPnt2d & Polyline,const Handle_V3d_View & aView,const Standard_Boolean updateviewer = Standard_True); - %feature("compactdefaultargs") ShiftSelect; - %feature("autodoc", " :param Polyline: - :type Polyline: TColgp_Array1OfPnt2d - :param aView: - :type aView: Handle_V3d_View & - :param updateviewer: default value is Standard_True - :type updateviewer: bool - :rtype: AIS_StatusOfPick -") ShiftSelect; - AIS_StatusOfPick ShiftSelect (const TColgp_Array1OfPnt2d & Polyline,const Handle_V3d_View & aView,const Standard_Boolean updateviewer = Standard_True); - %feature("compactdefaultargs") HilightPicked; - %feature("autodoc", " :param updateviewer: default value is Standard_True - :type updateviewer: bool - :rtype: None -") HilightPicked; - void HilightPicked (const Standard_Boolean updateviewer = Standard_True); - %feature("compactdefaultargs") UnhilightPicked; - %feature("autodoc", " :param updateviewer: default value is Standard_True - :type updateviewer: bool - :rtype: None -") UnhilightPicked; - void UnhilightPicked (const Standard_Boolean updateviewer = Standard_True); - %feature("compactdefaultargs") UpdateSelected; - %feature("autodoc", " :param updateviewer: default value is Standard_True - :type updateviewer: bool - :rtype: None -") UpdateSelected; - void UpdateSelected (const Standard_Boolean updateviewer = Standard_True); - %feature("compactdefaultargs") UpdateSelected; - %feature("autodoc", " * Part of advanced selection highlighting mechanism. If no owners belonging to anobj are selected, calls anobj->ClearSelected(), otherwise calls anobj->HilightSelected(). This method can be used to avoid redrawing the whole selection belonging to several Selectable Objects. + /****************** Presentation ******************/ + %feature("compactdefaultargs") Presentation; + %feature("autodoc", "* Returns the current presentation of this object according to the current DisplayMode() + :rtype: opencascade::handle") Presentation; + opencascade::handle Presentation (); - :param anobj: - :type anobj: Handle_AIS_InteractiveObject & - :param updateviewer: default value is Standard_True - :type updateviewer: bool - :rtype: None -") UpdateSelected; - void UpdateSelected (const Handle_AIS_InteractiveObject & anobj,const Standard_Boolean updateviewer = Standard_True); - %feature("compactdefaultargs") SetSelected; - %feature("autodoc", " * useful to update selection with objects coming from Collector or stack + /****************** Redisplay ******************/ + %feature("compactdefaultargs") Redisplay; + %feature("autodoc", "* Updates the active presentation; if = Standard_True all the presentations inside are recomputed. IMPORTANT: It is preferable to call Redisplay method of corresponding AIS_InteractiveContext instance for cases when it is accessible. This method just redirects call to myCTXPtr, so this class field must be up to date for proper result. + :param AllModes: default value is Standard_False + :type AllModes: bool + :rtype: None") Redisplay; + void Redisplay (const Standard_Boolean AllModes = Standard_False); - :param anobj: - :type anobj: Handle_AIS_InteractiveObject & - :param updateviewer: default value is Standard_True - :type updateviewer: bool - :rtype: None -") SetSelected; - void SetSelected (const Handle_AIS_InteractiveObject & anobj,const Standard_Boolean updateviewer = Standard_True); - %feature("compactdefaultargs") AddOrRemoveSelected; - %feature("autodoc", " * useful to update selection with objects coming from Collector or stack + /****************** SetAspect ******************/ + %feature("compactdefaultargs") SetAspect; + %feature("autodoc", "* Sets the graphic basic aspect to the current presentation. + :param anAspect: + :type anAspect: opencascade::handle & + :rtype: None") SetAspect; + void SetAspect (const opencascade::handle & anAspect); - :param anobj: - :type anobj: Handle_AIS_InteractiveObject & - :param updateviewer: default value is Standard_True - :type updateviewer: bool - :rtype: None -") AddOrRemoveSelected; - void AddOrRemoveSelected (const Handle_AIS_InteractiveObject & anobj,const Standard_Boolean updateviewer = Standard_True); - %feature("compactdefaultargs") AddOrRemoveSelected; - %feature("autodoc", " :param aShape: - :type aShape: TopoDS_Shape & - :param updateviewer: default value is Standard_True - :type updateviewer: bool - :rtype: None -") AddOrRemoveSelected; - void AddOrRemoveSelected (const TopoDS_Shape & aShape,const Standard_Boolean updateviewer = Standard_True); - %feature("compactdefaultargs") AddOrRemoveSelected; - %feature("autodoc", " :param theOwner: - :type theOwner: Handle_SelectMgr_EntityOwner & - :param toUpdateViewer: default value is Standard_True - :type toUpdateViewer: bool - :rtype: None -") AddOrRemoveSelected; - void AddOrRemoveSelected (const Handle_SelectMgr_EntityOwner & theOwner,const Standard_Boolean toUpdateViewer = Standard_True); - %feature("compactdefaultargs") ClearSelected; - %feature("autodoc", " * Clears local context selection. @param toUpdateViewer [in] if True the viewer will be updated. - - :param toUpdateViewer: default value is Standard_True - :type toUpdateViewer: bool - :rtype: None -") ClearSelected; - void ClearSelected (const Standard_Boolean toUpdateViewer = Standard_True); - %feature("compactdefaultargs") ClearOutdatedSelection; - %feature("autodoc", " * Clears outdated selection and detection of owners for the interactive object. Use this method if selection structures of the interactive object have changed. The method unhilights and removes outdated entity owners from lists of selected and detected owners. @param theIO [in] the interactive object. @param toClearDeactivated [in] pass True to treat deactivated entity owners as 'outdated' when clearing the selection. - - :param theIO: - :type theIO: Handle_AIS_InteractiveObject & - :param toClearDeactivated: - :type toClearDeactivated: bool - :rtype: None -") ClearOutdatedSelection; - void ClearOutdatedSelection (const Handle_AIS_InteractiveObject & theIO,const Standard_Boolean toClearDeactivated); - %feature("compactdefaultargs") HasDetected; - %feature("autodoc", " :rtype: bool -") HasDetected; - Standard_Boolean HasDetected (); - %feature("compactdefaultargs") InitDetected; - %feature("autodoc", " * Initialization for iteration through mouse-detected objects in local context. + /****************** SetContext ******************/ + %feature("compactdefaultargs") SetContext; + %feature("autodoc", "* Sets the interactive context aCtx and provides a link to the default drawing tool or 'Drawer' if there is none. + :param aCtx: + :type aCtx: opencascade::handle & + :rtype: void") SetContext; + virtual void SetContext (const opencascade::handle & aCtx); - :rtype: None -") InitDetected; - void InitDetected (); - %feature("compactdefaultargs") MoreDetected; - %feature("autodoc", " * returns true if there is more mouse-detected objects after the current one during iteration through mouse-detected interactive objects. + /****************** SetOwner ******************/ + %feature("compactdefaultargs") SetOwner; + %feature("autodoc", "* Allows you to attribute the owner theApplicativeEntity to an Interactive Object. This can be a shape for a set of sub-shapes or a sub-shape for sub-shapes which it is composed of. The owner takes the form of a transient. + :param theApplicativeEntity: + :type theApplicativeEntity: opencascade::handle & + :rtype: None") SetOwner; + void SetOwner (const opencascade::handle & theApplicativeEntity); - :rtype: bool -") MoreDetected; - Standard_Boolean MoreDetected (); - %feature("compactdefaultargs") NextDetected; - %feature("autodoc", " * Gets next current object during iteration through mouse-detected interactive objects. + /****************** Signature ******************/ + %feature("compactdefaultargs") Signature; + %feature("autodoc", "* Specifies additional characteristics of Interactive Object of Type(); -1 by default. Among the datums, this signature is attributed to the shape. The remaining datums have the following default signatures: - Point signature 1 - Axis signature 2 - Trihedron signature 3 - PlaneTrihedron signature 4 - Line signature 5 - Circle signature 6 - Plane signature 7. + :rtype: int") Signature; + Standard_Integer Signature (); - :rtype: None -") NextDetected; - void NextDetected (); - %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. + /****************** Type ******************/ + %feature("compactdefaultargs") Type; + %feature("autodoc", "* Returns the kind of Interactive Object; AIS_KOI_None by default. + :rtype: AIS_KindOfInteractive") Type; + AIS_KindOfInteractive Type (); - :rtype: TopoDS_Shape -") DetectedCurrentShape; - const TopoDS_Shape DetectedCurrentShape (); - %feature("compactdefaultargs") DetectedCurrentObject; - %feature("autodoc", " * returns current mouse-detected interactive object or null object if there is no current detected. +}; - :rtype: Handle_AIS_InteractiveObject -") DetectedCurrentObject; - Handle_AIS_InteractiveObject DetectedCurrentObject (); - %feature("compactdefaultargs") HasDetectedShape; - %feature("autodoc", " :rtype: bool -") HasDetectedShape; - Standard_Boolean HasDetectedShape (); - %feature("compactdefaultargs") DetectedShape; - %feature("autodoc", " :rtype: TopoDS_Shape -") DetectedShape; - const TopoDS_Shape DetectedShape (); - %feature("compactdefaultargs") DetectedInteractive; - %feature("autodoc", " :rtype: Handle_AIS_InteractiveObject -") DetectedInteractive; - Handle_AIS_InteractiveObject DetectedInteractive (); - %feature("compactdefaultargs") DetectedOwner; - %feature("autodoc", " :rtype: Handle_SelectMgr_EntityOwner -") DetectedOwner; - Handle_SelectMgr_EntityOwner DetectedOwner (); - %feature("compactdefaultargs") InitSelected; - %feature("autodoc", " :rtype: None -") InitSelected; - void InitSelected (); - %feature("compactdefaultargs") MoreSelected; - %feature("autodoc", " :rtype: bool -") MoreSelected; - Standard_Boolean MoreSelected (); - %feature("compactdefaultargs") NextSelected; - %feature("autodoc", " :rtype: None -") NextSelected; - void NextSelected (); - %feature("compactdefaultargs") HasShape; - %feature("autodoc", " * returns True if the detected entity is a shape coming from a Decomposition of an element. - :rtype: bool -") HasShape; - Standard_Boolean HasShape (); - %feature("compactdefaultargs") HasSelectedShape; - %feature("autodoc", " * returns true if current selection is not empty and the owner of selected object contains a shape. This method does not take into account decomposition status of detected shape. +%make_alias(AIS_InteractiveObject) - :rtype: bool -") HasSelectedShape; - Standard_Boolean HasSelectedShape (); - %feature("compactdefaultargs") SelectedShape; - %feature("autodoc", " :rtype: TopoDS_Shape -") SelectedShape; - TopoDS_Shape SelectedShape (); - %feature("compactdefaultargs") SelectedOwner; - %feature("autodoc", " :rtype: Handle_SelectMgr_EntityOwner -") SelectedOwner; - Handle_SelectMgr_EntityOwner SelectedOwner (); - %feature("compactdefaultargs") IsSelected; - %feature("autodoc", " :param aniobj: - :type aniobj: Handle_AIS_InteractiveObject & - :rtype: bool -") IsSelected; - Standard_Boolean IsSelected (const Handle_AIS_InteractiveObject & aniobj); - %feature("compactdefaultargs") IsSelected; - %feature("autodoc", " :param anOwner: - :type anOwner: Handle_SelectMgr_EntityOwner & - :rtype: bool -") IsSelected; - Standard_Boolean IsSelected (const Handle_SelectMgr_EntityOwner & anOwner); - %feature("compactdefaultargs") SelectedInteractive; - %feature("autodoc", " :rtype: Handle_AIS_InteractiveObject -") SelectedInteractive; - Handle_AIS_InteractiveObject SelectedInteractive (); - %feature("compactdefaultargs") HasApplicative; - %feature("autodoc", " * returns True if an interactive element was associated with the current picked entity. +%extend AIS_InteractiveObject { + %pythoncode { + __repr__ = _dumps_object + } +}; - :rtype: bool -") HasApplicative; - Standard_Boolean HasApplicative (); - %feature("compactdefaultargs") SelectedApplicative; - %feature("autodoc", " :rtype: Handle_Standard_Transient -") SelectedApplicative; - Handle_Standard_Transient SelectedApplicative (); - %feature("compactdefaultargs") SetDisplayPriority; - %feature("autodoc", " :param anObject: - :type anObject: Handle_AIS_InteractiveObject & - :param Prior: - :type Prior: int - :rtype: None -") SetDisplayPriority; - void SetDisplayPriority (const Handle_AIS_InteractiveObject & anObject,const Standard_Integer Prior); - %feature("compactdefaultargs") DisplayedObjects; - %feature("autodoc", " :param theMapToFill: - :type theMapToFill: TColStd_MapOfTransient & - :rtype: int -") DisplayedObjects; - Standard_Integer DisplayedObjects (TColStd_MapOfTransient & theMapToFill); - %feature("compactdefaultargs") IsIn; - %feature("autodoc", " :param anObject: - :type anObject: Handle_AIS_InteractiveObject & - :rtype: bool -") IsIn; - Standard_Boolean IsIn (const Handle_AIS_InteractiveObject & anObject); - %feature("compactdefaultargs") IsDisplayed; - %feature("autodoc", " :param anObject: - :type anObject: Handle_AIS_InteractiveObject & - :rtype: bool -") IsDisplayed; - Standard_Boolean IsDisplayed (const Handle_AIS_InteractiveObject & anObject); - %feature("compactdefaultargs") IsDisplayed; - %feature("autodoc", " :param anObject: - :type anObject: Handle_AIS_InteractiveObject & - :param aMode: - :type aMode: int - :rtype: bool -") IsDisplayed; - Standard_Boolean IsDisplayed (const Handle_AIS_InteractiveObject & anObject,const Standard_Integer aMode); - %feature("compactdefaultargs") SelectionModes; - %feature("autodoc", " :param anObject: - :type anObject: Handle_AIS_InteractiveObject & - :rtype: TColStd_ListOfInteger -") SelectionModes; - const TColStd_ListOfInteger & SelectionModes (const Handle_AIS_InteractiveObject & anObject); - %feature("compactdefaultargs") SubIntensityOn; - %feature("autodoc", " :param anObject: - :type anObject: Handle_AIS_InteractiveObject & - :rtype: None -") SubIntensityOn; - void SubIntensityOn (const Handle_AIS_InteractiveObject & anObject); - %feature("compactdefaultargs") SubIntensityOff; - %feature("autodoc", " :param anObject: - :type anObject: Handle_AIS_InteractiveObject & - :rtype: None -") SubIntensityOff; - void SubIntensityOff (const Handle_AIS_InteractiveObject & anObject); - %feature("compactdefaultargs") Hilight; - %feature("autodoc", " :param anObject: - :type anObject: Handle_AIS_InteractiveObject & - :rtype: None -") Hilight; - void Hilight (const Handle_AIS_InteractiveObject & anObject); - %feature("compactdefaultargs") Hilight; - %feature("autodoc", " :param anObject: - :type anObject: Handle_AIS_InteractiveObject & - :param aCol: - :type aCol: Quantity_NameOfColor - :rtype: None -") Hilight; - void Hilight (const Handle_AIS_InteractiveObject & anObject,const Quantity_NameOfColor aCol); - %feature("compactdefaultargs") Unhilight; - %feature("autodoc", " :param anObject: - :type anObject: Handle_AIS_InteractiveObject & - :rtype: None -") Unhilight; - void Unhilight (const Handle_AIS_InteractiveObject & anObject); - %feature("compactdefaultargs") IsHilighted; - %feature("autodoc", " :param anObject: - :type anObject: Handle_AIS_InteractiveObject & - :rtype: bool -") IsHilighted; - Standard_Boolean IsHilighted (const Handle_AIS_InteractiveObject & anObject); - %feature("compactdefaultargs") IsHilighted; - %feature("autodoc", " :param anObject: - :type anObject: Handle_AIS_InteractiveObject & - :param WithColor: - :type WithColor: bool - :param HiCol: - :type HiCol: Quantity_NameOfColor & - :rtype: bool -") IsHilighted; - Standard_Boolean IsHilighted (const Handle_AIS_InteractiveObject & anObject,Standard_Boolean &OutValue,Quantity_NameOfColor & HiCol); - %feature("compactdefaultargs") SetPixelTolerance; - %feature("autodoc", " * Define the current selection sensitivity for this local context according to the view size. +/***************************** +* class AIS_ManipulatorOwner * +*****************************/ +%nodefaultctor AIS_ManipulatorOwner; +class AIS_ManipulatorOwner : public SelectMgr_EntityOwner { + public: + /****************** AIS_ManipulatorOwner ******************/ + %feature("compactdefaultargs") AIS_ManipulatorOwner; + %feature("autodoc", ":param theSelObject: + :type theSelObject: opencascade::handle & + :param theIndex: + :type theIndex: int + :param theMode: + :type theMode: AIS_ManipulatorMode + :param thePriority: default value is 0 + :type thePriority: int + :rtype: None") AIS_ManipulatorOwner; + AIS_ManipulatorOwner (const opencascade::handle & theSelObject,const Standard_Integer theIndex,const AIS_ManipulatorMode theMode,const Standard_Integer thePriority = 0); - :param aPrecision: default value is 2 - :type aPrecision: int - :rtype: None -") SetPixelTolerance; - void SetPixelTolerance (const Standard_Integer aPrecision = 2); - %feature("compactdefaultargs") PixelTolerance; - %feature("autodoc", " * Returns the pixel tolerance. + /****************** HilightWithColor ******************/ + %feature("compactdefaultargs") HilightWithColor; + %feature("autodoc", ":param thePM: + :type thePM: opencascade::handle & + :param theStyle: + :type theStyle: opencascade::handle & + :param theMode: + :type theMode: int + :rtype: void") HilightWithColor; + virtual void HilightWithColor (const opencascade::handle & thePM,const opencascade::handle & theStyle,const Standard_Integer theMode); - :rtype: int -") PixelTolerance; - Standard_Integer PixelTolerance (); - %feature("compactdefaultargs") SetSelectionSensitivity; - %feature("autodoc", " * Allows to manage sensitivity of a particular selection of interactive object theObject and changes previous sensitivity value of all sensitive entities in selection with theMode to the given theNewSensitivity. + /****************** Index ******************/ + %feature("compactdefaultargs") Index; + %feature("autodoc", "* returns index of manipulator axis. + :rtype: int") Index; + Standard_Integer Index (); - :param theObject: - :type theObject: Handle_AIS_InteractiveObject & + /****************** IsHilighted ******************/ + %feature("compactdefaultargs") IsHilighted; + %feature("autodoc", ":param thePM: + :type thePM: opencascade::handle & :param theMode: :type theMode: int - :param theNewSensitivity: - :type theNewSensitivity: int - :rtype: None -") SetSelectionSensitivity; - void SetSelectionSensitivity (const Handle_AIS_InteractiveObject & theObject,const Standard_Integer theMode,const Standard_Integer theNewSensitivity); - %feature("compactdefaultargs") BeginImmediateDraw; - %feature("autodoc", " * Resets the transient list of presentations previously displayed in immediate mode and begins accumulation of new list by following AddToImmediateList()/Color()/Highlight() calls. - - :rtype: bool -") BeginImmediateDraw; - Standard_Boolean BeginImmediateDraw (); - %feature("compactdefaultargs") ClearImmediateDraw; - %feature("autodoc", " * Resets the transient list of presentations previously displayed in immediate mode. + :rtype: bool") IsHilighted; + Standard_Boolean IsHilighted (const opencascade::handle & thePM,const Standard_Integer theMode); - :rtype: void -") ClearImmediateDraw; - virtual void ClearImmediateDraw (); - %feature("compactdefaultargs") ImmediateAdd; - %feature("autodoc", " * Stores presentation theMode of object theObj in the transient list of presentations to be displayed in immediate mode. Will be taken in account in EndImmediateDraw method. + /****************** Mode ******************/ + %feature("compactdefaultargs") Mode; + %feature("autodoc", ":rtype: AIS_ManipulatorMode") Mode; + AIS_ManipulatorMode Mode (); - :param theObj: - :type theObj: Handle_AIS_InteractiveObject & - :param theMode: default value is 0 + /****************** Unhilight ******************/ + %feature("compactdefaultargs") Unhilight; + %feature("autodoc", ":param thePM: + :type thePM: opencascade::handle & + :param theMode: :type theMode: int - :rtype: bool -") ImmediateAdd; - Standard_Boolean ImmediateAdd (const Handle_AIS_InteractiveObject & theObj,const Standard_Integer theMode = 0); - %feature("compactdefaultargs") EndImmediateDraw; - %feature("autodoc", " * Allows rapid drawing of the view theView by avoiding an update of the whole background. - - :param theView: - :type theView: Handle_V3d_View & - :rtype: bool -") EndImmediateDraw; - Standard_Boolean EndImmediateDraw (const Handle_V3d_View & theView); - %feature("compactdefaultargs") IsImmediateModeOn; - %feature("autodoc", " * Returns true if Presentation Manager is accumulating transient list of presentations to be displayed in immediate mode. + :rtype: void") Unhilight; + virtual void Unhilight (const opencascade::handle & thePM,const Standard_Integer theMode); - :rtype: bool -") IsImmediateModeOn; - Standard_Boolean IsImmediateModeOn (); - %feature("compactdefaultargs") LoadContextObjects; - %feature("autodoc", " :rtype: None -") LoadContextObjects; - void LoadContextObjects (); - %feature("compactdefaultargs") UnloadContextObjects; - %feature("autodoc", " :rtype: None -") UnloadContextObjects; - void UnloadContextObjects (); - %feature("compactdefaultargs") DisplaySensitive; - %feature("autodoc", " :param aView: - :type aView: Handle_V3d_View & - :rtype: None -") DisplaySensitive; - void DisplaySensitive (const Handle_V3d_View & aView); - %feature("compactdefaultargs") ClearSensitive; - %feature("autodoc", " :param aView: - :type aView: Handle_V3d_View & - :rtype: None -") ClearSensitive; - void ClearSensitive (const Handle_V3d_View & aView); - %feature("compactdefaultargs") MainSelector; - %feature("autodoc", " :rtype: Handle_StdSelect_ViewerSelector3d -") MainSelector; - Handle_StdSelect_ViewerSelector3d MainSelector (); - %feature("compactdefaultargs") FindSelectedOwnerFromIO; - %feature("autodoc", " :param anIObj: - :type anIObj: Handle_AIS_InteractiveObject & - :rtype: Handle_SelectMgr_EntityOwner -") FindSelectedOwnerFromIO; - Handle_SelectMgr_EntityOwner FindSelectedOwnerFromIO (const Handle_AIS_InteractiveObject & anIObj); - %feature("compactdefaultargs") FindSelectedOwnerFromShape; - %feature("autodoc", " :param aShape: - :type aShape: TopoDS_Shape & - :rtype: Handle_SelectMgr_EntityOwner -") FindSelectedOwnerFromShape; - Handle_SelectMgr_EntityOwner FindSelectedOwnerFromShape (const TopoDS_Shape & aShape); }; -%make_alias(AIS_LocalContext) +%make_alias(AIS_ManipulatorOwner) -%extend AIS_LocalContext { +%extend AIS_ManipulatorOwner { %pythoncode { __repr__ = _dumps_object } }; -%nodefaultctor AIS_LocalStatus; -class AIS_LocalStatus : public MMgt_TShared { - public: - %feature("compactdefaultargs") AIS_LocalStatus; - %feature("autodoc", " :param IsTemporary: default value is Standard_True - :type IsTemporary: bool - :param Decompose: default value is Standard_False - :type Decompose: bool - :param DisplayMode: default value is -1 - :type DisplayMode: int - :param SelectionMode: default value is -1 - :type SelectionMode: int - :param HilightMode: default value is 0 - :type HilightMode: int - :param SubIntensity: default value is 0 - :type SubIntensity: bool - :param TheHiCol: default value is Quantity_NOC_WHITE - :type TheHiCol: Quantity_NameOfColor - :rtype: None -") AIS_LocalStatus; - AIS_LocalStatus (const Standard_Boolean IsTemporary = Standard_True,const Standard_Boolean Decompose = Standard_False,const Standard_Integer DisplayMode = -1,const Standard_Integer SelectionMode = -1,const Standard_Integer HilightMode = 0,const Standard_Boolean SubIntensity = 0,const Quantity_NameOfColor TheHiCol = Quantity_NOC_WHITE); - %feature("compactdefaultargs") Decomposed; - %feature("autodoc", " :rtype: bool -") Decomposed; - Standard_Boolean Decomposed (); - %feature("compactdefaultargs") IsTemporary; - %feature("autodoc", " :rtype: bool -") IsTemporary; - Standard_Boolean IsTemporary (); - %feature("compactdefaultargs") DisplayMode; - %feature("autodoc", " :rtype: int -") DisplayMode; - Standard_Integer DisplayMode (); - %feature("compactdefaultargs") SelectionModes; - %feature("autodoc", " :rtype: TColStd_ListOfInteger -") SelectionModes; - const TColStd_ListOfInteger & SelectionModes (); - %feature("compactdefaultargs") IsActivated; - %feature("autodoc", " :param aSelMode: - :type aSelMode: int - :rtype: bool -") IsActivated; - Standard_Boolean IsActivated (const Standard_Integer aSelMode); - %feature("compactdefaultargs") HilightMode; - %feature("autodoc", " :rtype: int -") HilightMode; - Standard_Integer HilightMode (); - %feature("compactdefaultargs") IsSubIntensityOn; - %feature("autodoc", " :rtype: bool -") IsSubIntensityOn; - Standard_Boolean IsSubIntensityOn (); - %feature("compactdefaultargs") HilightColor; - %feature("autodoc", " :rtype: Quantity_NameOfColor -") HilightColor; - Quantity_NameOfColor HilightColor (); - %feature("compactdefaultargs") SetDecomposition; - %feature("autodoc", " :param astatus: - :type astatus: bool - :rtype: None -") SetDecomposition; - void SetDecomposition (const Standard_Boolean astatus); - %feature("compactdefaultargs") SetTemporary; - %feature("autodoc", " :param astatus: - :type astatus: bool - :rtype: None -") SetTemporary; - void SetTemporary (const Standard_Boolean astatus); - %feature("compactdefaultargs") SetDisplayMode; - %feature("autodoc", " :param aMode: - :type aMode: int - :rtype: None -") SetDisplayMode; - void SetDisplayMode (const Standard_Integer aMode); - %feature("compactdefaultargs") SetFirstDisplay; - %feature("autodoc", " :param aStatus: - :type aStatus: bool - :rtype: None -") SetFirstDisplay; - void SetFirstDisplay (const Standard_Boolean aStatus); - %feature("compactdefaultargs") IsFirstDisplay; - %feature("autodoc", " :rtype: bool -") IsFirstDisplay; - Standard_Boolean IsFirstDisplay (); - %feature("compactdefaultargs") AddSelectionMode; - %feature("autodoc", " :param aMode: - :type aMode: int - :rtype: None -") AddSelectionMode; - void AddSelectionMode (const Standard_Integer aMode); - %feature("compactdefaultargs") RemoveSelectionMode; - %feature("autodoc", " :param aMode: - :type aMode: int - :rtype: None -") RemoveSelectionMode; - void RemoveSelectionMode (const Standard_Integer aMode); - %feature("compactdefaultargs") ClearSelectionModes; - %feature("autodoc", " :rtype: None -") ClearSelectionModes; - void ClearSelectionModes (); - %feature("compactdefaultargs") IsSelModeIn; - %feature("autodoc", " :param aMode: - :type aMode: int - :rtype: bool -") IsSelModeIn; - Standard_Boolean IsSelModeIn (const Standard_Integer aMode); - %feature("compactdefaultargs") SetHilightMode; - %feature("autodoc", " :param aMode: - :type aMode: int - :rtype: None -") SetHilightMode; - void SetHilightMode (const Standard_Integer aMode); - %feature("compactdefaultargs") SetHilightColor; - %feature("autodoc", " :param aHiCol: - :type aHiCol: Quantity_NameOfColor - :rtype: None -") SetHilightColor; - void SetHilightColor (const Quantity_NameOfColor aHiCol); - %feature("compactdefaultargs") SubIntensityOn; - %feature("autodoc", " :rtype: None -") SubIntensityOn; - void SubIntensityOn (); - %feature("compactdefaultargs") SubIntensityOff; - %feature("autodoc", " :rtype: None -") SubIntensityOff; - void SubIntensityOff (); - %feature("compactdefaultargs") SetPreviousState; - %feature("autodoc", " :param aStatus: - :type aStatus: Handle_Standard_Transient & - :rtype: None -") SetPreviousState; - void SetPreviousState (const Handle_Standard_Transient & aStatus); - %feature("compactdefaultargs") PreviousState; - %feature("autodoc", " :rtype: Handle_Standard_Transient -") PreviousState; - Handle_Standard_Transient PreviousState (); -}; - -%make_alias(AIS_LocalStatus) - -%extend AIS_LocalStatus { - %pythoncode { - __repr__ = _dumps_object - } -}; -%nodefaultctor AIS_MapIteratorOfMapOfInteractive; -class AIS_MapIteratorOfMapOfInteractive : public TCollection_BasicMapIterator { - public: - %feature("compactdefaultargs") AIS_MapIteratorOfMapOfInteractive; - %feature("autodoc", " :rtype: None -") AIS_MapIteratorOfMapOfInteractive; - AIS_MapIteratorOfMapOfInteractive (); - %feature("compactdefaultargs") AIS_MapIteratorOfMapOfInteractive; - %feature("autodoc", " :param aMap: - :type aMap: AIS_MapOfInteractive & - :rtype: None -") AIS_MapIteratorOfMapOfInteractive; - AIS_MapIteratorOfMapOfInteractive (const AIS_MapOfInteractive & aMap); - %feature("compactdefaultargs") Initialize; - %feature("autodoc", " :param aMap: - :type aMap: AIS_MapOfInteractive & - :rtype: None -") Initialize; - void Initialize (const AIS_MapOfInteractive & aMap); - %feature("compactdefaultargs") Key; - %feature("autodoc", " :rtype: Handle_AIS_InteractiveObject -") Key; - Handle_AIS_InteractiveObject Key (); -}; - - -%extend AIS_MapIteratorOfMapOfInteractive { - %pythoncode { - __repr__ = _dumps_object - } -}; -%nodefaultctor AIS_MapOfInteractive; -class AIS_MapOfInteractive : public TCollection_BasicMap { +/**************************** +* class AIS_PointCloudOwner * +****************************/ +%nodefaultctor AIS_PointCloudOwner; +class AIS_PointCloudOwner : public SelectMgr_EntityOwner { public: - %feature("compactdefaultargs") AIS_MapOfInteractive; - %feature("autodoc", " :param NbBuckets: default value is 1 - :type NbBuckets: int - :rtype: None -") AIS_MapOfInteractive; - AIS_MapOfInteractive (const Standard_Integer NbBuckets = 1); - %feature("compactdefaultargs") AIS_MapOfInteractive; - %feature("autodoc", " :param Other: - :type Other: AIS_MapOfInteractive & - :rtype: None -") AIS_MapOfInteractive; - AIS_MapOfInteractive (const AIS_MapOfInteractive & Other); - %feature("compactdefaultargs") Assign; - %feature("autodoc", " :param Other: - :type Other: AIS_MapOfInteractive & - :rtype: AIS_MapOfInteractive -") Assign; - AIS_MapOfInteractive & Assign (const AIS_MapOfInteractive & Other); - %feature("compactdefaultargs") operator =; - %feature("autodoc", " :param Other: - :type Other: AIS_MapOfInteractive & - :rtype: AIS_MapOfInteractive -") operator =; - AIS_MapOfInteractive & operator = (const AIS_MapOfInteractive & Other); - %feature("compactdefaultargs") ReSize; - %feature("autodoc", " :param NbBuckets: - :type NbBuckets: int - :rtype: None -") ReSize; - void ReSize (const Standard_Integer NbBuckets); + /****************** AIS_PointCloudOwner ******************/ + %feature("compactdefaultargs") AIS_PointCloudOwner; + %feature("autodoc", "* ////DEFINE_STANDARD_RTTIEXT(AIS_PointCloudOwner, SelectMgr_EntityOwner) Main constructor. + :param theOrigin: + :type theOrigin: opencascade::handle & + :rtype: None") AIS_PointCloudOwner; + AIS_PointCloudOwner (const opencascade::handle & theOrigin); + + /****************** Clear ******************/ %feature("compactdefaultargs") Clear; - %feature("autodoc", " :rtype: None -") Clear; - void Clear (); - %feature("compactdefaultargs") Add; - %feature("autodoc", " :param aKey: - :type aKey: Handle_AIS_InteractiveObject & - :rtype: bool -") Add; - Standard_Boolean Add (const Handle_AIS_InteractiveObject & aKey); - %feature("compactdefaultargs") Contains; - %feature("autodoc", " :param aKey: - :type aKey: Handle_AIS_InteractiveObject & - :rtype: bool -") Contains; - Standard_Boolean Contains (const Handle_AIS_InteractiveObject & aKey); - %feature("compactdefaultargs") Remove; - %feature("autodoc", " :param aKey: - :type aKey: Handle_AIS_InteractiveObject & - :rtype: bool -") Remove; - Standard_Boolean Remove (const Handle_AIS_InteractiveObject & aKey); + %feature("autodoc", "* Clears presentation. + :param thePrsMgr: + :type thePrsMgr: opencascade::handle & + :param theMode: + :type theMode: int + :rtype: void") Clear; + virtual void Clear (const opencascade::handle & thePrsMgr,const Standard_Integer theMode); + + /****************** DetectedPoints ******************/ + %feature("compactdefaultargs") DetectedPoints; + %feature("autodoc", "* Return last detected points. WARNING! Indexation starts with 0 (shifted by -1 comparing to Graphic3d_ArrayOfPoints::Vertice()). + :rtype: opencascade::handle") DetectedPoints; + const opencascade::handle & DetectedPoints (); + + /****************** HilightWithColor ******************/ + %feature("compactdefaultargs") HilightWithColor; + %feature("autodoc", "* Handle dynamic highlighting. + :param thePrsMgr: + :type thePrsMgr: opencascade::handle & + :param theStyle: + :type theStyle: opencascade::handle & + :param theMode: + :type theMode: int + :rtype: void") HilightWithColor; + virtual void HilightWithColor (const opencascade::handle & thePrsMgr,const opencascade::handle & theStyle,const Standard_Integer theMode); + + /****************** IsForcedHilight ******************/ + %feature("compactdefaultargs") IsForcedHilight; + %feature("autodoc", "* Always update dynamic highlighting. + :rtype: bool") IsForcedHilight; + virtual Standard_Boolean IsForcedHilight (); + + /****************** SelectedPoints ******************/ + %feature("compactdefaultargs") SelectedPoints; + %feature("autodoc", "* Return selected points. WARNING! Indexation starts with 0 (shifted by -1 comparing to Graphic3d_ArrayOfPoints::Vertice()). + :rtype: opencascade::handle") SelectedPoints; + const opencascade::handle & SelectedPoints (); + + /****************** Unhilight ******************/ + %feature("compactdefaultargs") Unhilight; + %feature("autodoc", "* Removes highlighting. + :param thePrsMgr: + :type thePrsMgr: opencascade::handle & + :param theMode: + :type theMode: int + :rtype: void") Unhilight; + virtual void Unhilight (const opencascade::handle & thePrsMgr,const Standard_Integer theMode); + }; -%extend AIS_MapOfInteractive { +%extend AIS_PointCloudOwner { %pythoncode { __repr__ = _dumps_object } }; + +/********************** +* class AIS_Selection * +**********************/ %nodefaultctor AIS_Selection; -class AIS_Selection : public MMgt_TShared { +class AIS_Selection : public Standard_Transient { public: + /****************** AIS_Selection ******************/ %feature("compactdefaultargs") AIS_Selection; - %feature("autodoc", " * creates a new selection and make it current in the session. the selection will be accessible later through its name to make it again current. //! Note that if a session has been created, a session with the name 'default' is created. //! In this case, the is always a current selection which is the last one created until SetCurrentSelection is used. //! The class methods deals with the current selection. //! Warning : Better Call AIS_Selection::CreateSelection. - - :param aName: - :type aName: char * - :rtype: None -") AIS_Selection; - AIS_Selection (const char * aName); - %feature("compactdefaultargs") Remove; - %feature("autodoc", " :param aName: - :type aName: char * - :rtype: void -") Remove; - static void Remove (const char * aName); - %feature("compactdefaultargs") Find; - %feature("autodoc", " * returns True if a selection having this name exsits. - - :param aName: - :type aName: char * - :rtype: bool -") Find; - static Standard_Boolean Find (const char * aName); - %feature("compactdefaultargs") CreateSelection; - %feature("autodoc", " * calls the private constructor and puts the new Selection in the list of existing selections. returns False if the selection exists. + %feature("autodoc", "* creates a new selection. + :rtype: None") AIS_Selection; + AIS_Selection (); - :param aName: - :type aName: char * - :rtype: bool -") CreateSelection; - static Standard_Boolean CreateSelection (const char * aName); - %feature("compactdefaultargs") Selection; - %feature("autodoc", " :param aName: - :type aName: char * - :rtype: Handle_AIS_Selection -") Selection; - static Handle_AIS_Selection Selection (const char * aName); - %feature("compactdefaultargs") SetCurrentSelection; - %feature("autodoc", " * returns False if There is no selection of name - - :param aName: - :type aName: char * - :rtype: bool -") SetCurrentSelection; - static Standard_Boolean SetCurrentSelection (const char * aName); - %feature("compactdefaultargs") CurrentSelection; - %feature("autodoc", " :rtype: Handle_AIS_Selection -") CurrentSelection; - static Handle_AIS_Selection CurrentSelection (); - %feature("compactdefaultargs") ClearCurrentSelection; - %feature("autodoc", " * Clears selection. - - :rtype: void -") ClearCurrentSelection; - static void ClearCurrentSelection (); - %feature("compactdefaultargs") Select; - %feature("autodoc", " * removes all the object of the currentselection. - - :rtype: void -") Select; - static void Select (); - %feature("compactdefaultargs") Select; - %feature("autodoc", " * if the object is not yet in the current selection, it will be added. if the object is already in the current selection, it will be removed. - - :param anObject: - :type anObject: Handle_Standard_Transient & - :rtype: AIS_SelectStatus -") Select; - static AIS_SelectStatus Select (const Handle_Standard_Transient & anObject); + /****************** AddSelect ******************/ %feature("compactdefaultargs") AddSelect; - %feature("autodoc", " * the object is always add int the selection. faster when the number of objects selected is great. + %feature("autodoc", "* the object is always add int the selection. faster when the number of objects selected is great. + :param theObject: + :type theObject: opencascade::handle & + :rtype: AIS_SelectStatus") AddSelect; + virtual AIS_SelectStatus AddSelect (const opencascade::handle & theObject); - :param anObject: - :type anObject: Handle_Standard_Transient & - :rtype: AIS_SelectStatus -") AddSelect; - static AIS_SelectStatus AddSelect (const Handle_Standard_Transient & anObject); + /****************** Clear ******************/ + %feature("compactdefaultargs") Clear; + %feature("autodoc", "* removes all the object of the selection. + :rtype: void") Clear; + virtual void Clear (); + + /****************** ClearAndSelect ******************/ %feature("compactdefaultargs") ClearAndSelect; - %feature("autodoc", " * clears the selection and adds the object in the selection. + %feature("autodoc", "* clears the selection and adds the object in the selection. + :param theObject: + :type theObject: opencascade::handle & + :rtype: None") ClearAndSelect; + void ClearAndSelect (const opencascade::handle & theObject); - :param anObject: - :type anObject: Handle_Standard_Transient & - :rtype: void -") ClearAndSelect; - static void ClearAndSelect (const Handle_Standard_Transient & anObject); - %feature("compactdefaultargs") IsSelected; - %feature("autodoc", " :param anObject: - :type anObject: Handle_Standard_Transient & - :rtype: bool -") IsSelected; - static Standard_Boolean IsSelected (const Handle_Standard_Transient & anObject); + /****************** Extent ******************/ %feature("compactdefaultargs") Extent; - %feature("autodoc", " * returns the number of objects selected. - - :rtype: int -") Extent; - static Standard_Integer Extent (); - %feature("compactdefaultargs") Single; - %feature("autodoc", " * returns the single object selected. Warning: raises TypeMismatch from Standard if Extent is not equal to 1. + %feature("autodoc", "* Return the number of selected objects. + :rtype: int") Extent; + Standard_Integer Extent (); - :rtype: Handle_Standard_Transient -") Single; - static Handle_Standard_Transient Single (); + /****************** Init ******************/ %feature("compactdefaultargs") Init; - %feature("autodoc", " :rtype: None -") Init; + %feature("autodoc", "* Start iteration through selected objects. + :rtype: None") Init; void Init (); + + /****************** IsEmpty ******************/ + %feature("compactdefaultargs") IsEmpty; + %feature("autodoc", "* Return true if list of selected objects is empty. + :rtype: bool") IsEmpty; + Standard_Boolean IsEmpty (); + + /****************** IsSelected ******************/ + %feature("compactdefaultargs") IsSelected; + %feature("autodoc", "* checks if the object is in the selection. + :param theObject: + :type theObject: opencascade::handle & + :rtype: bool") IsSelected; + Standard_Boolean IsSelected (const opencascade::handle & theObject); + + /****************** More ******************/ %feature("compactdefaultargs") More; - %feature("autodoc", " :rtype: bool -") More; + %feature("autodoc", "* Return true if iterator points to selected object. + :rtype: bool") More; Standard_Boolean More (); + + /****************** Next ******************/ %feature("compactdefaultargs") Next; - %feature("autodoc", " :rtype: None -") Next; + %feature("autodoc", "* Continue iteration through selected objects. + :rtype: None") Next; void Next (); - %feature("compactdefaultargs") Value; - %feature("autodoc", " :rtype: Handle_Standard_Transient -") Value; - Handle_Standard_Transient Value (); - %feature("compactdefaultargs") NbStored; - %feature("autodoc", " :rtype: int -") NbStored; - Standard_Integer NbStored (); + + /****************** Objects ******************/ %feature("compactdefaultargs") Objects; - %feature("autodoc", " :rtype: AIS_NListTransient -") Objects; - const AIS_NListTransient & Objects (); - %feature("compactdefaultargs") Index; - %feature("autodoc", " :param aName: - :type aName: char * - :rtype: int -") Index; - static Standard_Integer Index (const char * aName); + %feature("autodoc", "* Return the list of selected objects. + :rtype: AIS_NListOfEntityOwner") Objects; + const AIS_NListOfEntityOwner & Objects (); + + /****************** Select ******************/ + %feature("compactdefaultargs") Select; + %feature("autodoc", "* if the object is not yet in the selection, it will be added. if the object is already in the selection, it will be removed. + :param theObject: + :type theObject: opencascade::handle & + :rtype: AIS_SelectStatus") Select; + virtual AIS_SelectStatus Select (const opencascade::handle & theObject); + + /****************** Value ******************/ + %feature("compactdefaultargs") Value; + %feature("autodoc", "* Return selected object at iterator position. + :rtype: opencascade::handle") Value; + const opencascade::handle & Value (); + }; @@ -5796,688 +4097,1498 @@ class AIS_Selection : public MMgt_TShared { __repr__ = _dumps_object } }; -%nodefaultctor AIS_SequenceNodeOfSequenceOfDimension; -class AIS_SequenceNodeOfSequenceOfDimension : public TCollection_SeqNode { + +/*************************** +* class AIS_TrihedronOwner * +***************************/ +%nodefaultctor AIS_TrihedronOwner; +class AIS_TrihedronOwner : public SelectMgr_EntityOwner { public: - %feature("compactdefaultargs") AIS_SequenceNodeOfSequenceOfDimension; - %feature("autodoc", " :param I: - :type I: Handle_AIS_Relation & - :param n: - :type n: TCollection_SeqNodePtr & - :param p: - :type p: TCollection_SeqNodePtr & - :rtype: None -") AIS_SequenceNodeOfSequenceOfDimension; - AIS_SequenceNodeOfSequenceOfDimension (const Handle_AIS_Relation & I,const TCollection_SeqNodePtr & n,const TCollection_SeqNodePtr & p); - %feature("compactdefaultargs") Value; - %feature("autodoc", " :rtype: Handle_AIS_Relation -") Value; - Handle_AIS_Relation Value (); + /****************** AIS_TrihedronOwner ******************/ + %feature("compactdefaultargs") AIS_TrihedronOwner; + %feature("autodoc", "* Creates an owner of AIS_Trihedron object. + :param theSelObject: + :type theSelObject: opencascade::handle & + :param theDatumPart: + :type theDatumPart: Prs3d_DatumParts + :param thePriority: + :type thePriority: int + :rtype: None") AIS_TrihedronOwner; + AIS_TrihedronOwner (const opencascade::handle & theSelObject,const Prs3d_DatumParts theDatumPart,const Standard_Integer thePriority); + + /****************** DatumPart ******************/ + %feature("compactdefaultargs") DatumPart; + %feature("autodoc", "* Returns the datum part identifier. + :rtype: Prs3d_DatumParts") DatumPart; + Prs3d_DatumParts DatumPart (); + + /****************** HilightWithColor ******************/ + %feature("compactdefaultargs") HilightWithColor; + %feature("autodoc", "* Highlights selectable object's presentation. + :param thePM: + :type thePM: opencascade::handle & + :param theStyle: + :type theStyle: opencascade::handle & + :param theMode: + :type theMode: int + :rtype: void") HilightWithColor; + virtual void HilightWithColor (const opencascade::handle & thePM,const opencascade::handle & theStyle,const Standard_Integer theMode); + + /****************** IsHilighted ******************/ + %feature("compactdefaultargs") IsHilighted; + %feature("autodoc", "* Returns true if the presentation manager thePM highlights selections corresponding to the selection mode aMode. + :param thePM: + :type thePM: opencascade::handle & + :param theMode: + :type theMode: int + :rtype: bool") IsHilighted; + Standard_Boolean IsHilighted (const opencascade::handle & thePM,const Standard_Integer theMode); + + /****************** Unhilight ******************/ + %feature("compactdefaultargs") Unhilight; + %feature("autodoc", "* Removes highlighting from the owner of a detected selectable object in the presentation manager thePM. + :param thePM: + :type thePM: opencascade::handle & + :param theMode: + :type theMode: int + :rtype: void") Unhilight; + virtual void Unhilight (const opencascade::handle & thePM,const Standard_Integer theMode); + }; -%make_alias(AIS_SequenceNodeOfSequenceOfDimension) +%make_alias(AIS_TrihedronOwner) -%extend AIS_SequenceNodeOfSequenceOfDimension { +%extend AIS_TrihedronOwner { %pythoncode { __repr__ = _dumps_object } }; -%nodefaultctor AIS_SequenceNodeOfSequenceOfInteractive; -class AIS_SequenceNodeOfSequenceOfInteractive : public TCollection_SeqNode { + +/*********************** +* class AIS_TypeFilter * +***********************/ +%nodefaultctor AIS_TypeFilter; +class AIS_TypeFilter : public SelectMgr_Filter { public: - %feature("compactdefaultargs") AIS_SequenceNodeOfSequenceOfInteractive; - %feature("autodoc", " :param I: - :type I: Handle_AIS_InteractiveObject & - :param n: - :type n: TCollection_SeqNodePtr & - :param p: - :type p: TCollection_SeqNodePtr & - :rtype: None -") AIS_SequenceNodeOfSequenceOfInteractive; - AIS_SequenceNodeOfSequenceOfInteractive (const Handle_AIS_InteractiveObject & I,const TCollection_SeqNodePtr & n,const TCollection_SeqNodePtr & p); - %feature("compactdefaultargs") Value; - %feature("autodoc", " :rtype: Handle_AIS_InteractiveObject -") Value; - Handle_AIS_InteractiveObject Value (); + /****************** AIS_TypeFilter ******************/ + %feature("compactdefaultargs") AIS_TypeFilter; + %feature("autodoc", "* Initializes filter for type, aGivenKind. + :param aGivenKind: + :type aGivenKind: AIS_KindOfInteractive + :rtype: None") AIS_TypeFilter; + AIS_TypeFilter (const AIS_KindOfInteractive aGivenKind); + + /****************** IsOk ******************/ + %feature("compactdefaultargs") IsOk; + %feature("autodoc", "* Returns False if the transient is not an Interactive Object, or if the type of the Interactive Object is not the same as that stored in the filter. + :param anobj: + :type anobj: opencascade::handle & + :rtype: bool") IsOk; + virtual Standard_Boolean IsOk (const opencascade::handle & anobj); + }; -%make_alias(AIS_SequenceNodeOfSequenceOfInteractive) +%make_alias(AIS_TypeFilter) -%extend AIS_SequenceNodeOfSequenceOfInteractive { +%extend AIS_TypeFilter { %pythoncode { __repr__ = _dumps_object } }; -%nodefaultctor AIS_SequenceOfDimension; -class AIS_SequenceOfDimension : public TCollection_BaseSequence { + +/*************************** +* class AIS_ViewController * +***************************/ +%nodefaultctor AIS_ViewController; +class AIS_ViewController { public: - %feature("compactdefaultargs") AIS_SequenceOfDimension; - %feature("autodoc", " :rtype: None -") AIS_SequenceOfDimension; - AIS_SequenceOfDimension (); - %feature("compactdefaultargs") AIS_SequenceOfDimension; - %feature("autodoc", " :param Other: - :type Other: AIS_SequenceOfDimension & - :rtype: None -") AIS_SequenceOfDimension; - AIS_SequenceOfDimension (const AIS_SequenceOfDimension & Other); - %feature("compactdefaultargs") Clear; - %feature("autodoc", " :rtype: None -") Clear; - void Clear (); - %feature("compactdefaultargs") Assign; - %feature("autodoc", " :param Other: - :type Other: AIS_SequenceOfDimension & - :rtype: AIS_SequenceOfDimension -") Assign; - const AIS_SequenceOfDimension & Assign (const AIS_SequenceOfDimension & Other); - %feature("compactdefaultargs") operator =; - %feature("autodoc", " :param Other: - :type Other: AIS_SequenceOfDimension & - :rtype: AIS_SequenceOfDimension -") operator =; - const AIS_SequenceOfDimension & operator = (const AIS_SequenceOfDimension & Other); - %feature("compactdefaultargs") Append; - %feature("autodoc", " :param T: - :type T: Handle_AIS_Relation & - :rtype: None -") Append; - void Append (const Handle_AIS_Relation & T); - %feature("compactdefaultargs") Append; - %feature("autodoc", " :param S: - :type S: AIS_SequenceOfDimension & - :rtype: None -") Append; - void Append (AIS_SequenceOfDimension & S); - %feature("compactdefaultargs") Prepend; - %feature("autodoc", " :param T: - :type T: Handle_AIS_Relation & - :rtype: None -") Prepend; - void Prepend (const Handle_AIS_Relation & T); - %feature("compactdefaultargs") Prepend; - %feature("autodoc", " :param S: - :type S: AIS_SequenceOfDimension & - :rtype: None -") Prepend; - void Prepend (AIS_SequenceOfDimension & S); - %feature("compactdefaultargs") InsertBefore; - %feature("autodoc", " :param Index: - :type Index: int - :param T: - :type T: Handle_AIS_Relation & - :rtype: None -") InsertBefore; - void InsertBefore (const Standard_Integer Index,const Handle_AIS_Relation & T); - %feature("compactdefaultargs") InsertBefore; - %feature("autodoc", " :param Index: - :type Index: int - :param S: - :type S: AIS_SequenceOfDimension & - :rtype: None -") InsertBefore; - void InsertBefore (const Standard_Integer Index,AIS_SequenceOfDimension & S); - %feature("compactdefaultargs") InsertAfter; - %feature("autodoc", " :param Index: - :type Index: int - :param T: - :type T: Handle_AIS_Relation & - :rtype: None -") InsertAfter; - void InsertAfter (const Standard_Integer Index,const Handle_AIS_Relation & T); - %feature("compactdefaultargs") InsertAfter; - %feature("autodoc", " :param Index: - :type Index: int - :param S: - :type S: AIS_SequenceOfDimension & - :rtype: None -") InsertAfter; - void InsertAfter (const Standard_Integer Index,AIS_SequenceOfDimension & S); - %feature("compactdefaultargs") First; - %feature("autodoc", " :rtype: Handle_AIS_Relation -") First; - Handle_AIS_Relation First (); - %feature("compactdefaultargs") Last; - %feature("autodoc", " :rtype: Handle_AIS_Relation -") Last; - Handle_AIS_Relation Last (); - %feature("compactdefaultargs") Split; - %feature("autodoc", " :param Index: - :type Index: int - :param Sub: - :type Sub: AIS_SequenceOfDimension & - :rtype: None -") Split; - void Split (const Standard_Integer Index,AIS_SequenceOfDimension & Sub); - %feature("compactdefaultargs") Value; - %feature("autodoc", " :param Index: - :type Index: int - :rtype: Handle_AIS_Relation -") Value; - Handle_AIS_Relation Value (const Standard_Integer Index); - %feature("compactdefaultargs") SetValue; - %feature("autodoc", " :param Index: - :type Index: int - :param I: - :type I: Handle_AIS_Relation & - :rtype: None -") SetValue; - void SetValue (const Standard_Integer Index,const Handle_AIS_Relation & I); - %feature("compactdefaultargs") ChangeValue; - %feature("autodoc", " :param Index: - :type Index: int - :rtype: Handle_AIS_Relation -") ChangeValue; - Handle_AIS_Relation ChangeValue (const Standard_Integer Index); - %feature("compactdefaultargs") Remove; - %feature("autodoc", " :param Index: - :type Index: int - :rtype: None -") Remove; - void Remove (const Standard_Integer Index); - %feature("compactdefaultargs") Remove; - %feature("autodoc", " :param FromIndex: - :type FromIndex: int - :param ToIndex: - :type ToIndex: int - :rtype: None -") Remove; - void Remove (const Standard_Integer FromIndex,const Standard_Integer ToIndex); -}; + /****************** AIS_ViewController ******************/ + %feature("compactdefaultargs") AIS_ViewController; + %feature("autodoc", "* Empty constructor. + :rtype: None") AIS_ViewController; + AIS_ViewController (); + + /****************** AbortViewAnimation ******************/ + %feature("compactdefaultargs") AbortViewAnimation; + %feature("autodoc", "* Interrupt active view animation. + :rtype: None") AbortViewAnimation; + void AbortViewAnimation (); + + /****************** AddTouchPoint ******************/ + %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 + :param theId: + :type theId: Standard_Size + :param thePnt: + :type thePnt: Graphic3d_Vec2d & + :param theClearBefore: default value is false + :type theClearBefore: bool + :rtype: void") AddTouchPoint; + virtual void AddTouchPoint (Standard_Size theId,const Graphic3d_Vec2d & thePnt,Standard_Boolean theClearBefore = false); + + /****************** ChangeInputBuffer ******************/ + %feature("compactdefaultargs") ChangeInputBuffer; + %feature("autodoc", "* Return input buffer. + :param theType: + :type theType: AIS_ViewInputBufferType + :rtype: AIS_ViewInputBuffer") ChangeInputBuffer; + AIS_ViewInputBuffer & ChangeInputBuffer (AIS_ViewInputBufferType theType); + + /****************** ChangeKeys ******************/ + %feature("compactdefaultargs") ChangeKeys; + %feature("autodoc", "* Return keyboard state. + :rtype: Aspect_VKeySet") ChangeKeys; + Aspect_VKeySet & ChangeKeys (); + + /****************** ChangeMouseGestureMap ******************/ + %feature("compactdefaultargs") ChangeMouseGestureMap; + %feature("autodoc", "* Return map defining mouse gestures. + :rtype: AIS_MouseGestureMap") ChangeMouseGestureMap; + AIS_MouseGestureMap & ChangeMouseGestureMap (); + + /****************** EventTime ******************/ + %feature("compactdefaultargs") EventTime; + %feature("autodoc", "* Return event time (e.g. current time). + :rtype: double") EventTime; + double EventTime (); + + /****************** FetchNavigationKeys ******************/ + %feature("compactdefaultargs") FetchNavigationKeys; + %feature("autodoc", "* Fetch active navigation actions. + :param theCrouchRatio: + :type theCrouchRatio: float + :param theRunRatio: + :type theRunRatio: float + :rtype: AIS_WalkDelta") FetchNavigationKeys; + AIS_WalkDelta FetchNavigationKeys (Standard_Real theCrouchRatio,Standard_Real theRunRatio); + + /****************** FlushViewEvents ******************/ + %feature("compactdefaultargs") FlushViewEvents; + %feature("autodoc", "* Update buffer for rendering thread. This method is expected to be called within synchronization barrier between GUI and Rendering threads (e.g. GUI thread should be locked beforehand to avoid data races). @param theCtx interactive context @param theView active view @param theToHandle if True, the HandleViewEvents() will be called + :param theCtx: + :type theCtx: opencascade::handle & + :param theView: + :type theView: opencascade::handle & + :param theToHandle: default value is Standard_False + :type theToHandle: bool + :rtype: void") FlushViewEvents; + virtual void FlushViewEvents (const opencascade::handle & theCtx,const opencascade::handle & theView,Standard_Boolean theToHandle = Standard_False); + + /****************** GravityPoint ******************/ + %feature("compactdefaultargs") GravityPoint; + %feature("autodoc", "* Compute rotation gravity center point depending on rotation mode. This method is expected to be called from rendering thread. + :param theCtx: + :type theCtx: opencascade::handle & + :param theView: + :type theView: opencascade::handle & + :rtype: gp_Pnt") GravityPoint; + virtual gp_Pnt GravityPoint (const opencascade::handle & theCtx,const opencascade::handle & theView); + + /****************** HandleViewEvents ******************/ + %feature("compactdefaultargs") HandleViewEvents; + %feature("autodoc", "* Process events within rendering thread. + :param theCtx: + :type theCtx: opencascade::handle & + :param theView: + :type theView: opencascade::handle & + :rtype: void") HandleViewEvents; + virtual void HandleViewEvents (const opencascade::handle & theCtx,const opencascade::handle & theView); + + /****************** HasPreviousMoveTo ******************/ + %feature("compactdefaultargs") HasPreviousMoveTo; + %feature("autodoc", "* Return True if previous position of MoveTo has been defined. + :rtype: bool") HasPreviousMoveTo; + bool HasPreviousMoveTo (); + + /****************** HasTouchPoints ******************/ + %feature("compactdefaultargs") HasTouchPoints; + %feature("autodoc", "* Return True if touches map is not empty. + :rtype: bool") HasTouchPoints; + bool HasTouchPoints (); + + /****************** InputBuffer ******************/ + %feature("compactdefaultargs") InputBuffer; + %feature("autodoc", "* Return input buffer. + :param theType: + :type theType: AIS_ViewInputBufferType + :rtype: AIS_ViewInputBuffer") InputBuffer; + const AIS_ViewInputBuffer & InputBuffer (AIS_ViewInputBufferType theType); + + /****************** KeyDown ******************/ + %feature("compactdefaultargs") KeyDown; + %feature("autodoc", "* Press key. @param theKey key pressed @param theTime event timestamp + :param theKey: + :type theKey: Aspect_VKey + :param theTime: + :type theTime: double + :param thePressure: default value is 1.0 + :type thePressure: double + :rtype: void") KeyDown; + virtual void KeyDown (Aspect_VKey theKey,double theTime,double thePressure = 1.0); + + /****************** KeyFromAxis ******************/ + %feature("compactdefaultargs") KeyFromAxis; + %feature("autodoc", "* Simulate key up/down events from axis value. + :param theNegative: + :type theNegative: Aspect_VKey + :param thePositive: + :type thePositive: Aspect_VKey + :param theTime: + :type theTime: double + :param thePressure: + :type thePressure: double + :rtype: void") KeyFromAxis; + virtual void KeyFromAxis (Aspect_VKey theNegative,Aspect_VKey thePositive,double theTime,double thePressure); + + /****************** KeyUp ******************/ + %feature("compactdefaultargs") KeyUp; + %feature("autodoc", "* Release key. @param theKey key pressed @param theTime event timestamp + :param theKey: + :type theKey: Aspect_VKey + :param theTime: + :type theTime: double + :rtype: void") KeyUp; + virtual void KeyUp (Aspect_VKey theKey,double theTime); + + /****************** Keys ******************/ + %feature("compactdefaultargs") Keys; + %feature("autodoc", "* @name keyboard input Return keyboard state. + :rtype: Aspect_VKeySet") Keys; + const Aspect_VKeySet & Keys (); + + /****************** LastMouseFlags ******************/ + %feature("compactdefaultargs") LastMouseFlags; + %feature("autodoc", "* Return active key modifiers passed with last mouse event. + :rtype: Aspect_VKeyFlags") LastMouseFlags; + Aspect_VKeyFlags LastMouseFlags (); + + /****************** LastMousePosition ******************/ + %feature("compactdefaultargs") LastMousePosition; + %feature("autodoc", "* Return last mouse position. + :rtype: Graphic3d_Vec2i") LastMousePosition; + const Graphic3d_Vec2i & LastMousePosition (); + + /****************** MinZoomDistance ******************/ + %feature("compactdefaultargs") MinZoomDistance; + %feature("autodoc", "* Return minimal camera distance for zoom operation. + :rtype: double") MinZoomDistance; + double MinZoomDistance (); + + /****************** MouseAcceleration ******************/ + %feature("compactdefaultargs") MouseAcceleration; + %feature("autodoc", "* Return mouse input acceleration ratio in First Person mode; 1.0 by default. + :rtype: float") MouseAcceleration; + float MouseAcceleration (); + + /****************** MouseDoubleClickInterval ******************/ + %feature("compactdefaultargs") MouseDoubleClickInterval; + %feature("autodoc", "* Return double click interval in seconds; 0.4 by default. + :rtype: double") MouseDoubleClickInterval; + double MouseDoubleClickInterval (); + + /****************** MouseGestureMap ******************/ + %feature("compactdefaultargs") MouseGestureMap; + %feature("autodoc", "* @name mouse input Return map defining mouse gestures. + :rtype: AIS_MouseGestureMap") MouseGestureMap; + const AIS_MouseGestureMap & MouseGestureMap (); + + /****************** NavigationMode ******************/ + %feature("compactdefaultargs") NavigationMode; + %feature("autodoc", "* Return camera navigation mode; AIS_NavigationMode_Orbit by default. + :rtype: AIS_NavigationMode") NavigationMode; + AIS_NavigationMode NavigationMode (); + + /****************** OnObjectDragged ******************/ + %feature("compactdefaultargs") OnObjectDragged; + %feature("autodoc", "* Callback called by handleMoveTo() on dragging object in 3D Viewer. This method is expected to be called from rendering thread. + :param theCtx: + :type theCtx: opencascade::handle & + :param theView: + :type theView: opencascade::handle & + :param theAction: + :type theAction: AIS_DragAction + :rtype: void") OnObjectDragged; + virtual void OnObjectDragged (const opencascade::handle & theCtx,const opencascade::handle & theView,AIS_DragAction theAction); + + /****************** OnSelectionChanged ******************/ + %feature("compactdefaultargs") OnSelectionChanged; + %feature("autodoc", "* Callback called by handleMoveTo() on Selection in 3D Viewer. This method is expected to be called from rendering thread. + :param theCtx: + :type theCtx: opencascade::handle & + :param theView: + :type theView: opencascade::handle & + :rtype: void") OnSelectionChanged; + virtual void OnSelectionChanged (const opencascade::handle & theCtx,const opencascade::handle & theView); + + /****************** OrbitAcceleration ******************/ + %feature("compactdefaultargs") OrbitAcceleration; + %feature("autodoc", "* Return orbit rotation acceleration ratio; 1.0 by default. + :rtype: float") OrbitAcceleration; + float OrbitAcceleration (); + + /****************** PickPoint ******************/ + %feature("compactdefaultargs") PickPoint; + %feature("autodoc", "* Pick closest point under mouse cursor. This method is expected to be called from rendering thread. @param thePnt [out] result point @param theCtx [in] interactive context @param theView [in] active view @param theCursor [in] mouse cursor @param theToStickToPickRay [in] when True, the result point will lie on picking ray returns True if result has been found + :param thePnt: + :type thePnt: gp_Pnt + :param theCtx: + :type theCtx: opencascade::handle & + :param theView: + :type theView: opencascade::handle & + :param theCursor: + :type theCursor: Graphic3d_Vec2i & + :param theToStickToPickRay: + :type theToStickToPickRay: bool + :rtype: bool") PickPoint; + virtual bool PickPoint (gp_Pnt & thePnt,const opencascade::handle & theCtx,const opencascade::handle & theView,const Graphic3d_Vec2i & theCursor,bool theToStickToPickRay); + + /****************** PressMouseButton ******************/ + %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 + :param thePoint: + :type thePoint: Graphic3d_Vec2i & + :param theButton: + :type theButton: Aspect_VKeyMouse + :param theModifiers: + :type theModifiers: Aspect_VKeyFlags + :param theIsEmulated: + :type theIsEmulated: bool + :rtype: bool") PressMouseButton; + bool PressMouseButton (const Graphic3d_Vec2i & thePoint,Aspect_VKeyMouse theButton,Aspect_VKeyFlags theModifiers,bool theIsEmulated); + + /****************** PressedMouseButtons ******************/ + %feature("compactdefaultargs") PressedMouseButtons; + %feature("autodoc", "* Return currently pressed mouse buttons. + :rtype: Aspect_VKeyMouse") PressedMouseButtons; + Aspect_VKeyMouse PressedMouseButtons (); + + /****************** PreviousMoveTo ******************/ + %feature("compactdefaultargs") PreviousMoveTo; + %feature("autodoc", "* Return previous position of MoveTo event in 3D viewer. + :rtype: Graphic3d_Vec2i") PreviousMoveTo; + const Graphic3d_Vec2i & PreviousMoveTo (); + + /****************** ReleaseMouseButton ******************/ + %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 + :param thePoint: + :type thePoint: Graphic3d_Vec2i & + :param theButton: + :type theButton: Aspect_VKeyMouse + :param theModifiers: + :type theModifiers: Aspect_VKeyFlags + :param theIsEmulated: + :type theIsEmulated: bool + :rtype: bool") ReleaseMouseButton; + bool ReleaseMouseButton (const Graphic3d_Vec2i & thePoint,Aspect_VKeyMouse theButton,Aspect_VKeyFlags theModifiers,bool theIsEmulated); + + /****************** RemoveTouchPoint ******************/ + %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 + :param theId: + :type theId: Standard_Size + :param theClearSelectPnts: default value is false + :type theClearSelectPnts: bool + :rtype: bool") RemoveTouchPoint; + virtual bool RemoveTouchPoint (Standard_Size theId,Standard_Boolean theClearSelectPnts = false); + + /****************** ResetPreviousMoveTo ******************/ + %feature("compactdefaultargs") ResetPreviousMoveTo; + %feature("autodoc", "* Reset previous position of MoveTo. + :rtype: None") ResetPreviousMoveTo; + void ResetPreviousMoveTo (); + + /****************** ResetViewInput ******************/ + %feature("compactdefaultargs") ResetViewInput; + %feature("autodoc", "* Reset input state (pressed keys, mouse buttons, etc.) e.g. on window focus loss. This method is expected to be called from UI thread. + :rtype: void") ResetViewInput; + virtual void ResetViewInput (); + + /****************** RotationMode ******************/ + %feature("compactdefaultargs") RotationMode; + %feature("autodoc", "* @name global parameters Return camera rotation mode, AIS_RotationMode_BndBoxActive by default. + :rtype: AIS_RotationMode") RotationMode; + AIS_RotationMode RotationMode (); + + /****************** SelectInViewer ******************/ + %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 + :param thePnt: + :type thePnt: Graphic3d_Vec2i & + :param theIsXOR: default value is false + :type theIsXOR: bool + :rtype: void") SelectInViewer; + virtual void SelectInViewer (const Graphic3d_Vec2i & thePnt,const bool theIsXOR = false); + + /****************** SelectInViewer ******************/ + %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 + :param thePnts: + :type thePnts: NCollection_Sequence & + :param theIsXOR: default value is false + :type theIsXOR: bool + :rtype: void") SelectInViewer; + virtual void SelectInViewer (const NCollection_Sequence & thePnts,const bool theIsXOR = false); + + /****************** SetAllowDragging ******************/ + %feature("compactdefaultargs") SetAllowDragging; + %feature("autodoc", "* Set if dynamic highlight on mouse move is allowed. + :param theToEnable: + :type theToEnable: bool + :rtype: None") SetAllowDragging; + void SetAllowDragging (bool theToEnable); + + /****************** SetAllowHighlight ******************/ + %feature("compactdefaultargs") SetAllowHighlight; + %feature("autodoc", "* Set if dragging object is allowed. + :param theToEnable: + :type theToEnable: bool + :rtype: None") SetAllowHighlight; + void SetAllowHighlight (bool theToEnable); + + /****************** SetAllowPanning ******************/ + %feature("compactdefaultargs") SetAllowPanning; + %feature("autodoc", "* Set if panning is allowed. + :param theToEnable: + :type theToEnable: bool + :rtype: None") SetAllowPanning; + void SetAllowPanning (bool theToEnable); + + /****************** SetAllowRotation ******************/ + %feature("compactdefaultargs") SetAllowRotation; + %feature("autodoc", "* Set if camera rotation is allowed. + :param theToEnable: + :type theToEnable: bool + :rtype: None") SetAllowRotation; + void SetAllowRotation (bool theToEnable); + + /****************** SetAllowTouchZRotation ******************/ + %feature("compactdefaultargs") SetAllowTouchZRotation; + %feature("autodoc", "* Set if z-rotation via two-touches gesture is enabled. + :param theToEnable: + :type theToEnable: bool + :rtype: None") SetAllowTouchZRotation; + void SetAllowTouchZRotation (bool theToEnable); + + /****************** SetAllowZFocus ******************/ + %feature("compactdefaultargs") SetAllowZFocus; + %feature("autodoc", "* Set if ZFocus change is allowed. + :param theToEnable: + :type theToEnable: bool + :rtype: None") SetAllowZFocus; + void SetAllowZFocus (bool theToEnable); + + /****************** SetAllowZooming ******************/ + %feature("compactdefaultargs") SetAllowZooming; + %feature("autodoc", "* Set if zooming is allowed. + :param theToEnable: + :type theToEnable: bool + :rtype: None") SetAllowZooming; + void SetAllowZooming (bool theToEnable); + + /****************** SetInvertPitch ******************/ + %feature("compactdefaultargs") SetInvertPitch; + %feature("autodoc", "* Set flag inverting pitch direction. + :param theToInvert: + :type theToInvert: bool + :rtype: None") SetInvertPitch; + void SetInvertPitch (bool theToInvert); + + /****************** SetLockOrbitZUp ******************/ + %feature("compactdefaultargs") SetLockOrbitZUp; + %feature("autodoc", "* Set if camera up orientation within AIS_NavigationMode_Orbit rotation mode should be forced Z up. + :param theToForceUp: + :type theToForceUp: bool + :rtype: None") SetLockOrbitZUp; + void SetLockOrbitZUp (bool theToForceUp); + + /****************** SetMinZoomDistance ******************/ + %feature("compactdefaultargs") SetMinZoomDistance; + %feature("autodoc", "* Set minimal camera distance for zoom operation. + :param theDist: + :type theDist: double + :rtype: None") SetMinZoomDistance; + void SetMinZoomDistance (double theDist); + + /****************** SetMouseAcceleration ******************/ + %feature("compactdefaultargs") SetMouseAcceleration; + %feature("autodoc", "* Set mouse input acceleration ratio. + :param theRatio: + :type theRatio: float + :rtype: None") SetMouseAcceleration; + void SetMouseAcceleration (float theRatio); + + /****************** SetMouseDoubleClickInterval ******************/ + %feature("compactdefaultargs") SetMouseDoubleClickInterval; + %feature("autodoc", "* Set double click interval in seconds. + :param theSeconds: + :type theSeconds: double + :rtype: None") SetMouseDoubleClickInterval; + void SetMouseDoubleClickInterval (double theSeconds); + + /****************** SetNavigationMode ******************/ + %feature("compactdefaultargs") SetNavigationMode; + %feature("autodoc", "* Set camera navigation mode. + :param theMode: + :type theMode: AIS_NavigationMode + :rtype: None") SetNavigationMode; + void SetNavigationMode (AIS_NavigationMode theMode); + + /****************** SetOrbitAcceleration ******************/ + %feature("compactdefaultargs") SetOrbitAcceleration; + %feature("autodoc", "* Set orbit rotation acceleration ratio. + :param theRatio: + :type theRatio: float + :rtype: None") SetOrbitAcceleration; + void SetOrbitAcceleration (float theRatio); + + /****************** SetRotationMode ******************/ + %feature("compactdefaultargs") SetRotationMode; + %feature("autodoc", "* Set camera rotation mode. + :param theMode: + :type theMode: AIS_RotationMode + :rtype: None") SetRotationMode; + void SetRotationMode (AIS_RotationMode theMode); + + /****************** SetShowPanAnchorPoint ******************/ + %feature("compactdefaultargs") SetShowPanAnchorPoint; + %feature("autodoc", "* Set if panning anchor point within perspective projection should be displayed in 3D Viewer. + :param theToShow: + :type theToShow: bool + :rtype: None") SetShowPanAnchorPoint; + void SetShowPanAnchorPoint (bool theToShow); + + /****************** SetShowRotateCenter ******************/ + %feature("compactdefaultargs") SetShowRotateCenter; + %feature("autodoc", "* Set if rotation point should be displayed in 3D Viewer. + :param theToShow: + :type theToShow: bool + :rtype: None") SetShowRotateCenter; + void SetShowRotateCenter (bool theToShow); + + /****************** SetStickToRayOnRotation ******************/ + %feature("compactdefaultargs") SetStickToRayOnRotation; + %feature("autodoc", "* Set if picked point should be projected to picking ray on rotating around point. + :param theToEnable: + :type theToEnable: bool + :rtype: None") SetStickToRayOnRotation; + void SetStickToRayOnRotation (bool theToEnable); + + /****************** SetStickToRayOnZoom ******************/ + %feature("compactdefaultargs") SetStickToRayOnZoom; + %feature("autodoc", "* Set if picked point should be projected to picking ray on zooming at point. + :param theToEnable: + :type theToEnable: bool + :rtype: None") SetStickToRayOnZoom; + void SetStickToRayOnZoom (bool theToEnable); + + /****************** SetThrustSpeed ******************/ + %feature("compactdefaultargs") SetThrustSpeed; + %feature("autodoc", "* Set active thrust value. + :param theSpeed: + :type theSpeed: float + :rtype: None") SetThrustSpeed; + void SetThrustSpeed (float theSpeed); + + /****************** SetTouchToleranceScale ******************/ + %feature("compactdefaultargs") SetTouchToleranceScale; + %feature("autodoc", "* Set scale factor for adjusting tolerances for starting multi-touch gestures. + :param theTolerance: + :type theTolerance: float + :rtype: None") SetTouchToleranceScale; + void SetTouchToleranceScale (float theTolerance); + + /****************** SetViewAnimation ******************/ + %feature("compactdefaultargs") SetViewAnimation; + %feature("autodoc", "* Set view animation to be handled within handleViewRedraw(). + :param theAnimation: + :type theAnimation: opencascade::handle & + :rtype: None") SetViewAnimation; + void SetViewAnimation (const opencascade::handle & theAnimation); + + /****************** SetWalkSpeedAbsolute ******************/ + %feature("compactdefaultargs") SetWalkSpeedAbsolute; + %feature("autodoc", "* Set normal walking speed, in m/s; 1.5 by default. + :param theSpeed: + :type theSpeed: float + :rtype: None") SetWalkSpeedAbsolute; + void SetWalkSpeedAbsolute (float theSpeed); + + /****************** SetWalkSpeedRelative ******************/ + %feature("compactdefaultargs") SetWalkSpeedRelative; + %feature("autodoc", "* Set walking speed relative to scene bounding box. + :param theFactor: + :type theFactor: float + :rtype: None") SetWalkSpeedRelative; + void SetWalkSpeedRelative (float theFactor); + + /****************** ThrustSpeed ******************/ + %feature("compactdefaultargs") ThrustSpeed; + %feature("autodoc", "* Return active thrust value; 0.0f by default. + :rtype: float") ThrustSpeed; + float ThrustSpeed (); + + /****************** ToAllowDragging ******************/ + %feature("compactdefaultargs") ToAllowDragging; + %feature("autodoc", "* Return True if dragging object is allowed; True by default. + :rtype: bool") ToAllowDragging; + bool ToAllowDragging (); + + /****************** ToAllowHighlight ******************/ + %feature("compactdefaultargs") ToAllowHighlight; + %feature("autodoc", "* Return True if dynamic highlight on mouse move is allowed; True by default. + :rtype: bool") ToAllowHighlight; + bool ToAllowHighlight (); + + /****************** ToAllowPanning ******************/ + %feature("compactdefaultargs") ToAllowPanning; + %feature("autodoc", "* Return True if panning is allowed; True by default. + :rtype: bool") ToAllowPanning; + bool ToAllowPanning (); + + /****************** ToAllowRotation ******************/ + %feature("compactdefaultargs") ToAllowRotation; + %feature("autodoc", "* Return True if camera rotation is allowed; True by default. + :rtype: bool") ToAllowRotation; + bool ToAllowRotation (); + + /****************** ToAllowTouchZRotation ******************/ + %feature("compactdefaultargs") ToAllowTouchZRotation; + %feature("autodoc", "* Return True if z-rotation via two-touches gesture is enabled; False by default. + :rtype: bool") ToAllowTouchZRotation; + bool ToAllowTouchZRotation (); + + /****************** ToAllowZFocus ******************/ + %feature("compactdefaultargs") ToAllowZFocus; + %feature("autodoc", "* Return True if ZFocus change is allowed; True by default. + :rtype: bool") ToAllowZFocus; + bool ToAllowZFocus (); + + /****************** ToAllowZooming ******************/ + %feature("compactdefaultargs") ToAllowZooming; + %feature("autodoc", "* Return True if zooming is allowed; True by default. + :rtype: bool") ToAllowZooming; + bool ToAllowZooming (); + + /****************** ToInvertPitch ******************/ + %feature("compactdefaultargs") ToInvertPitch; + %feature("autodoc", "* Return True if pitch direction should be inverted while processing Aspect_VKey_NavLookUp/Aspect_VKey_NavLookDown; False by default. + :rtype: bool") ToInvertPitch; + bool ToInvertPitch (); + + /****************** ToLockOrbitZUp ******************/ + %feature("compactdefaultargs") ToLockOrbitZUp; + %feature("autodoc", "* Return True if camera up orientation within AIS_NavigationMode_Orbit rotation mode should be forced Z up; False by default. + :rtype: bool") ToLockOrbitZUp; + bool ToLockOrbitZUp (); + + /****************** ToShowPanAnchorPoint ******************/ + %feature("compactdefaultargs") ToShowPanAnchorPoint; + %feature("autodoc", "* Return True if panning anchor point within perspective projection should be displayed in 3D Viewer; True by default. + :rtype: bool") ToShowPanAnchorPoint; + bool ToShowPanAnchorPoint (); + + /****************** ToShowRotateCenter ******************/ + %feature("compactdefaultargs") ToShowRotateCenter; + %feature("autodoc", "* Return True if rotation point should be displayed in 3D Viewer; True by default. + :rtype: bool") ToShowRotateCenter; + bool ToShowRotateCenter (); + + /****************** ToStickToRayOnRotation ******************/ + %feature("compactdefaultargs") ToStickToRayOnRotation; + %feature("autodoc", "* Return True if picked point should be projected to picking ray on rotating around point; True by default. + :rtype: bool") ToStickToRayOnRotation; + bool ToStickToRayOnRotation (); + + /****************** ToStickToRayOnZoom ******************/ + %feature("compactdefaultargs") ToStickToRayOnZoom; + %feature("autodoc", "* Return True if picked point should be projected to picking ray on zooming at point; True by default. + :rtype: bool") ToStickToRayOnZoom; + bool ToStickToRayOnZoom (); + + /****************** TouchToleranceScale ******************/ + %feature("compactdefaultargs") TouchToleranceScale; + %feature("autodoc", "* @name multi-touch input Return scale factor for adjusting tolerances for starting multi-touch gestures; 1.0 by default This scale factor is expected to be computed from touch screen resolution. + :rtype: float") TouchToleranceScale; + float TouchToleranceScale (); + + /****************** UpdateMouseButtons ******************/ + %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 + :param thePoint: + :type thePoint: Graphic3d_Vec2i & + :param theButtons: + :type theButtons: Aspect_VKeyMouse + :param theModifiers: + :type theModifiers: Aspect_VKeyFlags + :param theIsEmulated: + :type theIsEmulated: bool + :rtype: bool") UpdateMouseButtons; + virtual bool UpdateMouseButtons (const Graphic3d_Vec2i & thePoint,Aspect_VKeyMouse theButtons,Aspect_VKeyFlags theModifiers,bool theIsEmulated); + + /****************** UpdateMouseClick ******************/ + %feature("compactdefaultargs") UpdateMouseClick; + %feature("autodoc", "* Handle mouse button click event (emulated by UpdateMouseButtons() while releasing single button). Note that as this method is called by UpdateMouseButtons(), it should be executed from UI thread. Default implementation redirects to SelectInViewer(). This method is expected to be called from UI thread. @param thePoint mouse cursor position @param theButton clicked button @param theModifiers key modifiers @param theIsDoubleClick flag indicating double mouse click returns True if View should be redrawn + :param thePoint: + :type thePoint: Graphic3d_Vec2i & + :param theButton: + :type theButton: Aspect_VKeyMouse + :param theModifiers: + :type theModifiers: Aspect_VKeyFlags + :param theIsDoubleClick: + :type theIsDoubleClick: bool + :rtype: bool") UpdateMouseClick; + virtual bool UpdateMouseClick (const Graphic3d_Vec2i & thePoint,Aspect_VKeyMouse theButton,Aspect_VKeyFlags theModifiers,bool theIsDoubleClick); + + /****************** UpdateMousePosition ******************/ + %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 + :param thePoint: + :type thePoint: Graphic3d_Vec2i & + :param theButtons: + :type theButtons: Aspect_VKeyMouse + :param theModifiers: + :type theModifiers: Aspect_VKeyFlags + :param theIsEmulated: + :type theIsEmulated: bool + :rtype: bool") UpdateMousePosition; + virtual bool UpdateMousePosition (const Graphic3d_Vec2i & thePoint,Aspect_VKeyMouse theButtons,Aspect_VKeyFlags theModifiers,bool theIsEmulated); + + /****************** UpdateMouseScroll ******************/ + %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 + :param theDelta: + :type theDelta: Aspect_ScrollDelta & + :rtype: bool") UpdateMouseScroll; + virtual bool UpdateMouseScroll (const Aspect_ScrollDelta & theDelta); + + /****************** UpdatePolySelection ******************/ + %feature("compactdefaultargs") UpdatePolySelection; + %feature("autodoc", "* Update polygonal selection tool. This method is expected to be called from UI thread. @param thePnt new point to add to polygon @param theToAppend append new point or update the last point + :param thePnt: + :type thePnt: Graphic3d_Vec2i & + :param theToAppend: + :type theToAppend: bool + :rtype: void") UpdatePolySelection; + virtual void UpdatePolySelection (const Graphic3d_Vec2i & thePnt,bool theToAppend); + + /****************** UpdateRubberBand ******************/ + %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 + :param thePntFrom: + :type thePntFrom: Graphic3d_Vec2i & + :param thePntTo: + :type thePntTo: Graphic3d_Vec2i & + :param theIsXOR: default value is false + :type theIsXOR: bool + :rtype: void") UpdateRubberBand; + virtual void UpdateRubberBand (const Graphic3d_Vec2i & thePntFrom,const Graphic3d_Vec2i & thePntTo,const bool theIsXOR = false); + + /****************** UpdateTouchPoint ******************/ + %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 + :param theId: + :type theId: Standard_Size + :param thePnt: + :type thePnt: Graphic3d_Vec2d & + :rtype: void") UpdateTouchPoint; + virtual void UpdateTouchPoint (Standard_Size theId,const Graphic3d_Vec2d & thePnt); + + /****************** UpdateViewOrientation ******************/ + %feature("compactdefaultargs") UpdateViewOrientation; + %feature("autodoc", "* Reset view orientation. This method is expected to be called from UI thread. + :param theOrientation: + :type theOrientation: V3d_TypeOfOrientation + :param theToFitAll: + :type theToFitAll: bool + :rtype: void") UpdateViewOrientation; + virtual void UpdateViewOrientation (V3d_TypeOfOrientation theOrientation,bool theToFitAll); + + /****************** UpdateZRotation ******************/ + %feature("compactdefaultargs") UpdateZRotation; + %feature("autodoc", "* Update Z rotation event. @param theAngle rotation angle, in radians. returns True if new zoom event has been created or False if existing one has been updated + :param theAngle: + :type theAngle: double + :rtype: bool") UpdateZRotation; + virtual bool UpdateZRotation (double theAngle); + + /****************** UpdateZoom ******************/ + %feature("compactdefaultargs") UpdateZoom; + %feature("autodoc", "* Update zoom event (e.g. from mouse scroll). This method is expected to be called from UI thread. @param theDelta mouse cursor position to zoom at and zoom delta returns True if new zoom event has been created or False if existing one has been updated + :param theDelta: + :type theDelta: Aspect_ScrollDelta & + :rtype: bool") UpdateZoom; + virtual bool UpdateZoom (const Aspect_ScrollDelta & theDelta); + + /****************** ViewAnimation ******************/ + %feature("compactdefaultargs") ViewAnimation; + %feature("autodoc", "* Return view animation; empty (but not NULL) animation by default. + :rtype: opencascade::handle") ViewAnimation; + const opencascade::handle & ViewAnimation (); + + /****************** WalkSpeedAbsolute ******************/ + %feature("compactdefaultargs") WalkSpeedAbsolute; + %feature("autodoc", "* Return normal walking speed, in m/s; 1.5 by default. + :rtype: float") WalkSpeedAbsolute; + float WalkSpeedAbsolute (); + + /****************** WalkSpeedRelative ******************/ + %feature("compactdefaultargs") WalkSpeedRelative; + %feature("autodoc", "* Return walking speed relative to scene bounding box; 0.1 by default. + :rtype: float") WalkSpeedRelative; + float WalkSpeedRelative (); + + /****************** handleCameraActions ******************/ + %feature("compactdefaultargs") handleCameraActions; + %feature("autodoc", "* Perform camera actions. This method is expected to be called from rendering thread. + :param theCtx: + :type theCtx: opencascade::handle & + :param theView: + :type theView: opencascade::handle & + :param theWalk: + :type theWalk: AIS_WalkDelta & + :rtype: void") handleCameraActions; + virtual void handleCameraActions (const opencascade::handle & theCtx,const opencascade::handle & theView,const AIS_WalkDelta & theWalk); + + /****************** handleMoveTo ******************/ + %feature("compactdefaultargs") handleMoveTo; + %feature("autodoc", "* Perform moveto/selection/dragging. This method is expected to be called from rendering thread. + :param theCtx: + :type theCtx: opencascade::handle & + :param theView: + :type theView: opencascade::handle & + :rtype: void") handleMoveTo; + virtual void handleMoveTo (const opencascade::handle & theCtx,const opencascade::handle & theView); + + /****************** handleOrbitRotation ******************/ + %feature("compactdefaultargs") handleOrbitRotation; + %feature("autodoc", "* Handle orbital rotation events myGL.OrbitRotation. @param theView view to modify @param thePnt 3D point to rotate around @param theToLockZUp amend camera to exclude roll angle (put camera Up vector to plane containing global Z and view direction) + :param theView: + :type theView: opencascade::handle & + :param thePnt: + :type thePnt: gp_Pnt + :param theToLockZUp: + :type theToLockZUp: bool + :rtype: void") handleOrbitRotation; + virtual void handleOrbitRotation (const opencascade::handle & theView,const gp_Pnt & thePnt,bool theToLockZUp); + + /****************** handlePanning ******************/ + %feature("compactdefaultargs") handlePanning; + %feature("autodoc", "* Handle panning event myGL.Panning. + :param theView: + :type theView: opencascade::handle & + :rtype: void") handlePanning; + virtual void handlePanning (const opencascade::handle & theView); + + /****************** handleViewRedraw ******************/ + %feature("compactdefaultargs") handleViewRedraw; + %feature("autodoc", "* Handle view redraw. This method is expected to be called from rendering thread. + :param theCtx: + :type theCtx: opencascade::handle & + :param theView: + :type theView: opencascade::handle & + :rtype: void") handleViewRedraw; + virtual void handleViewRedraw (const opencascade::handle & theCtx,const opencascade::handle & theView); + /****************** handleViewRotation ******************/ + %feature("compactdefaultargs") handleViewRotation; + %feature("autodoc", "* Handle view direction rotation events myGL.ViewRotation. This method is expected to be called from rendering thread. @param theView camera to modify @param theYawExtra extra yaw increment @param thePitchExtra extra pitch increment @param theRoll roll value @param theToRestartOnIncrement flag indicating flight mode + :param theView: + :type theView: opencascade::handle & + :param theYawExtra: + :type theYawExtra: double + :param thePitchExtra: + :type thePitchExtra: double + :param theRoll: + :type theRoll: double + :param theToRestartOnIncrement: + :type theToRestartOnIncrement: bool + :rtype: void") handleViewRotation; + virtual void handleViewRotation (const opencascade::handle & theView,double theYawExtra,double thePitchExtra,double theRoll,bool theToRestartOnIncrement); + + /****************** handleZFocusScroll ******************/ + %feature("compactdefaultargs") handleZFocusScroll; + %feature("autodoc", "* Handle ZScroll event myGL.ZoomActions. This method is expected to be called from rendering thread. + :param theView: + :type theView: opencascade::handle & + :param theParams: + :type theParams: Aspect_ScrollDelta & + :rtype: void") handleZFocusScroll; + virtual void handleZFocusScroll (const opencascade::handle & theView,const Aspect_ScrollDelta & theParams); + + /****************** handleZRotate ******************/ + %feature("compactdefaultargs") handleZRotate; + %feature("autodoc", "* Handle Z rotation event myGL.ZRotate. + :param theView: + :type theView: opencascade::handle & + :rtype: void") handleZRotate; + virtual void handleZRotate (const opencascade::handle & theView); -%extend AIS_SequenceOfDimension { + /****************** handleZoom ******************/ + %feature("compactdefaultargs") handleZoom; + %feature("autodoc", "* Handle zoom event myGL.ZoomActions. This method is expected to be called from rendering thread. + :param theView: + :type theView: opencascade::handle & + :param theParams: + :type theParams: Aspect_ScrollDelta & + :param thePnt: + :type thePnt: gp_Pnt * + :rtype: void") handleZoom; + virtual void handleZoom (const opencascade::handle & theView,const Aspect_ScrollDelta & theParams,const gp_Pnt * thePnt); + + /****************** hasPanningAnchorPoint ******************/ + %feature("compactdefaultargs") hasPanningAnchorPoint; + %feature("autodoc", "* Return if panning anchor point has been defined. + :rtype: bool") hasPanningAnchorPoint; + bool hasPanningAnchorPoint (); + + /****************** panningAnchorPoint ******************/ + %feature("compactdefaultargs") panningAnchorPoint; + %feature("autodoc", "* Return active panning anchor point. + :rtype: gp_Pnt") panningAnchorPoint; + const gp_Pnt panningAnchorPoint (); + + /****************** setAskNextFrame ******************/ + %feature("compactdefaultargs") setAskNextFrame; + %feature("autodoc", "* Set if another frame should be drawn right after this one. + :param theToDraw: default value is true + :type theToDraw: bool + :rtype: None") setAskNextFrame; + void setAskNextFrame (bool theToDraw = true); + + /****************** setPanningAnchorPoint ******************/ + %feature("compactdefaultargs") setPanningAnchorPoint; + %feature("autodoc", "* Set active panning anchor point. + :param thePnt: + :type thePnt: gp_Pnt + :rtype: None") setPanningAnchorPoint; + void setPanningAnchorPoint (const gp_Pnt & thePnt); + + /****************** toAskNextFrame ******************/ + %feature("compactdefaultargs") toAskNextFrame; + %feature("autodoc", "* Return True if another frame should be drawn right after this one. + :rtype: bool") toAskNextFrame; + bool toAskNextFrame (); + +}; + + +%extend AIS_ViewController { %pythoncode { __repr__ = _dumps_object } }; -%nodefaultctor AIS_SequenceOfInteractive; -class AIS_SequenceOfInteractive : public TCollection_BaseSequence { + +/************************** +* class AIS_ViewCubeOwner * +**************************/ +%nodefaultctor AIS_ViewCubeOwner; +class AIS_ViewCubeOwner : public SelectMgr_EntityOwner { public: - %feature("compactdefaultargs") AIS_SequenceOfInteractive; - %feature("autodoc", " :rtype: None -") AIS_SequenceOfInteractive; - AIS_SequenceOfInteractive (); - %feature("compactdefaultargs") AIS_SequenceOfInteractive; - %feature("autodoc", " :param Other: - :type Other: AIS_SequenceOfInteractive & - :rtype: None -") AIS_SequenceOfInteractive; - AIS_SequenceOfInteractive (const AIS_SequenceOfInteractive & Other); - %feature("compactdefaultargs") Clear; - %feature("autodoc", " :rtype: None -") Clear; - void Clear (); - %feature("compactdefaultargs") Assign; - %feature("autodoc", " :param Other: - :type Other: AIS_SequenceOfInteractive & - :rtype: AIS_SequenceOfInteractive -") Assign; - const AIS_SequenceOfInteractive & Assign (const AIS_SequenceOfInteractive & Other); - %feature("compactdefaultargs") operator =; - %feature("autodoc", " :param Other: - :type Other: AIS_SequenceOfInteractive & - :rtype: AIS_SequenceOfInteractive -") operator =; - const AIS_SequenceOfInteractive & operator = (const AIS_SequenceOfInteractive & Other); - %feature("compactdefaultargs") Append; - %feature("autodoc", " :param T: - :type T: Handle_AIS_InteractiveObject & - :rtype: None -") Append; - void Append (const Handle_AIS_InteractiveObject & T); - %feature("compactdefaultargs") Append; - %feature("autodoc", " :param S: - :type S: AIS_SequenceOfInteractive & - :rtype: None -") Append; - void Append (AIS_SequenceOfInteractive & S); - %feature("compactdefaultargs") Prepend; - %feature("autodoc", " :param T: - :type T: Handle_AIS_InteractiveObject & - :rtype: None -") Prepend; - void Prepend (const Handle_AIS_InteractiveObject & T); - %feature("compactdefaultargs") Prepend; - %feature("autodoc", " :param S: - :type S: AIS_SequenceOfInteractive & - :rtype: None -") Prepend; - void Prepend (AIS_SequenceOfInteractive & S); - %feature("compactdefaultargs") InsertBefore; - %feature("autodoc", " :param Index: - :type Index: int - :param T: - :type T: Handle_AIS_InteractiveObject & - :rtype: None -") InsertBefore; - void InsertBefore (const Standard_Integer Index,const Handle_AIS_InteractiveObject & T); - %feature("compactdefaultargs") InsertBefore; - %feature("autodoc", " :param Index: - :type Index: int - :param S: - :type S: AIS_SequenceOfInteractive & - :rtype: None -") InsertBefore; - void InsertBefore (const Standard_Integer Index,AIS_SequenceOfInteractive & S); - %feature("compactdefaultargs") InsertAfter; - %feature("autodoc", " :param Index: - :type Index: int - :param T: - :type T: Handle_AIS_InteractiveObject & - :rtype: None -") InsertAfter; - void InsertAfter (const Standard_Integer Index,const Handle_AIS_InteractiveObject & T); - %feature("compactdefaultargs") InsertAfter; - %feature("autodoc", " :param Index: - :type Index: int - :param S: - :type S: AIS_SequenceOfInteractive & - :rtype: None -") InsertAfter; - void InsertAfter (const Standard_Integer Index,AIS_SequenceOfInteractive & S); - %feature("compactdefaultargs") First; - %feature("autodoc", " :rtype: Handle_AIS_InteractiveObject -") First; - Handle_AIS_InteractiveObject First (); - %feature("compactdefaultargs") Last; - %feature("autodoc", " :rtype: Handle_AIS_InteractiveObject -") Last; - Handle_AIS_InteractiveObject Last (); - %feature("compactdefaultargs") Split; - %feature("autodoc", " :param Index: - :type Index: int - :param Sub: - :type Sub: AIS_SequenceOfInteractive & - :rtype: None -") Split; - void Split (const Standard_Integer Index,AIS_SequenceOfInteractive & Sub); - %feature("compactdefaultargs") Value; - %feature("autodoc", " :param Index: - :type Index: int - :rtype: Handle_AIS_InteractiveObject -") Value; - Handle_AIS_InteractiveObject Value (const Standard_Integer Index); - %feature("compactdefaultargs") SetValue; - %feature("autodoc", " :param Index: - :type Index: int - :param I: - :type I: Handle_AIS_InteractiveObject & - :rtype: None -") SetValue; - void SetValue (const Standard_Integer Index,const Handle_AIS_InteractiveObject & I); - %feature("compactdefaultargs") ChangeValue; - %feature("autodoc", " :param Index: - :type Index: int - :rtype: Handle_AIS_InteractiveObject -") ChangeValue; - Handle_AIS_InteractiveObject ChangeValue (const Standard_Integer Index); - %feature("compactdefaultargs") Remove; - %feature("autodoc", " :param Index: - :type Index: int - :rtype: None -") Remove; - void Remove (const Standard_Integer Index); - %feature("compactdefaultargs") Remove; - %feature("autodoc", " :param FromIndex: - :type FromIndex: int - :param ToIndex: - :type ToIndex: int - :rtype: None -") Remove; - void Remove (const Standard_Integer FromIndex,const Standard_Integer ToIndex); + /****************** AIS_ViewCubeOwner ******************/ + %feature("compactdefaultargs") AIS_ViewCubeOwner; + %feature("autodoc", "* ////DEFINE_STANDARD_RTTIEXT(AIS_ViewCubeOwner, SelectMgr_EntityOwner) Main constructor. + :param theObject: + :type theObject: opencascade::handle & + :param theOrient: + :type theOrient: V3d_TypeOfOrientation + :param thePriority: default value is 5 + :type thePriority: int + :rtype: None") AIS_ViewCubeOwner; + AIS_ViewCubeOwner (const opencascade::handle & theObject,V3d_TypeOfOrientation theOrient,Standard_Integer thePriority = 5); + + /****************** HandleMouseClick ******************/ + %feature("compactdefaultargs") HandleMouseClick; + %feature("autodoc", "* Handle mouse button click event. + :param thePoint: + :type thePoint: Graphic3d_Vec2i & + :param theButton: + :type theButton: Aspect_VKeyMouse + :param theModifiers: + :type theModifiers: Aspect_VKeyFlags + :param theIsDoubleClick: + :type theIsDoubleClick: bool + :rtype: bool") HandleMouseClick; + Standard_Boolean HandleMouseClick (const Graphic3d_Vec2i & thePoint,Aspect_VKeyMouse theButton,Aspect_VKeyFlags theModifiers,bool theIsDoubleClick); + + /****************** IsForcedHilight ******************/ + %feature("compactdefaultargs") IsForcedHilight; + %feature("autodoc", "* returns True. This owner will always call method Hilight for its Selectable Object when the owner is detected. + :rtype: bool") IsForcedHilight; + Standard_Boolean IsForcedHilight (); + + /****************** MainOrientation ******************/ + %feature("compactdefaultargs") MainOrientation; + %feature("autodoc", "* Return new orientation to set. + :rtype: V3d_TypeOfOrientation") MainOrientation; + V3d_TypeOfOrientation MainOrientation (); + }; -%extend AIS_SequenceOfInteractive { +%extend AIS_ViewCubeOwner { %pythoncode { __repr__ = _dumps_object } }; -%nodefaultctor AIS_StdMapNodeOfMapOfInteractive; -class AIS_StdMapNodeOfMapOfInteractive : public TCollection_MapNode { + +/**************************** +* class AIS_ViewInputBuffer * +****************************/ +%nodefaultctor AIS_ViewInputBuffer; +class AIS_ViewInputBuffer { + public: + class _orientation {}; + class _highlighting {}; + class _selection {}; + class _panningParams {}; + class _draggingParams {}; + class _orbitRotation {}; + class _viewRotation {}; + class _zrotateParams {}; + bool IsNewGesture; + NCollection_Sequence ZoomActions; + _orientation Orientation; + _highlighting MoveTo; + _selection Selection; + _panningParams Panning; + _draggingParams Dragging; + _orbitRotation OrbitRotation; + _viewRotation ViewRotation; + _zrotateParams ZRotate; + /****************** AIS_ViewInputBuffer ******************/ + %feature("compactdefaultargs") AIS_ViewInputBuffer; + %feature("autodoc", ":rtype: None") AIS_ViewInputBuffer; + AIS_ViewInputBuffer (); + + /****************** Reset ******************/ + %feature("compactdefaultargs") Reset; + %feature("autodoc", "* Reset events buffer. + :rtype: None") Reset; + void Reset (); + +}; + + +%extend AIS_ViewInputBuffer { + %pythoncode { + __repr__ = _dumps_object + } +}; + +/********************** +* class AIS_WalkDelta * +**********************/ +%nodefaultctor AIS_WalkDelta; +class AIS_WalkDelta { public: - %feature("compactdefaultargs") AIS_StdMapNodeOfMapOfInteractive; - %feature("autodoc", " :param K: - :type K: Handle_AIS_InteractiveObject & - :param n: - :type n: TCollection_MapNodePtr & - :rtype: None -") AIS_StdMapNodeOfMapOfInteractive; - AIS_StdMapNodeOfMapOfInteractive (const Handle_AIS_InteractiveObject & K,const TCollection_MapNodePtr & n); - %feature("compactdefaultargs") Key; - %feature("autodoc", " :rtype: Handle_AIS_InteractiveObject -") Key; - Handle_AIS_InteractiveObject Key (); + /****************** AIS_WalkDelta ******************/ + %feature("compactdefaultargs") AIS_WalkDelta; + %feature("autodoc", "* Empty constructor. + :rtype: None") AIS_WalkDelta; + AIS_WalkDelta (); + + /****************** IsCrouching ******************/ + %feature("compactdefaultargs") IsCrouching; + %feature("autodoc", "* Return crouching state. + :rtype: bool") IsCrouching; + bool IsCrouching (); + + /****************** IsEmpty ******************/ + %feature("compactdefaultargs") IsEmpty; + %feature("autodoc", "* Return True when both Rotation and Translation deltas are empty. + :rtype: bool") IsEmpty; + bool IsEmpty (); + + /****************** IsJumping ******************/ + %feature("compactdefaultargs") IsJumping; + %feature("autodoc", "* Return jumping state. + :rtype: bool") IsJumping; + bool IsJumping (); + + /****************** IsRunning ******************/ + %feature("compactdefaultargs") IsRunning; + %feature("autodoc", "* Return running state. + :rtype: bool") IsRunning; + bool IsRunning (); + + /****************** SetCrouching ******************/ + %feature("compactdefaultargs") SetCrouching; + %feature("autodoc", "* Set crouching state. + :param theIsCrouching: + :type theIsCrouching: bool + :rtype: None") SetCrouching; + void SetCrouching (bool theIsCrouching); + + /****************** SetJumping ******************/ + %feature("compactdefaultargs") SetJumping; + %feature("autodoc", "* Set jumping state. + :param theIsJumping: + :type theIsJumping: bool + :rtype: None") SetJumping; + void SetJumping (bool theIsJumping); + + /****************** SetRunning ******************/ + %feature("compactdefaultargs") SetRunning; + %feature("autodoc", "* Set running state. + :param theIsRunning: + :type theIsRunning: bool + :rtype: None") SetRunning; + void SetRunning (bool theIsRunning); + + /****************** ToMove ******************/ + %feature("compactdefaultargs") ToMove; + %feature("autodoc", "* Return True if translation delta is defined. + :rtype: bool") ToMove; + bool ToMove (); + + /****************** ToRotate ******************/ + %feature("compactdefaultargs") ToRotate; + %feature("autodoc", "* Return True if rotation delta is defined. + :rtype: bool") ToRotate; + bool ToRotate (); + +}; + + +%extend AIS_WalkDelta { + %pythoncode { + __repr__ = _dumps_object + } }; +/********************* +* class AIS_WalkPart * +*********************/ +%nodefaultctor AIS_WalkPart; +class AIS_WalkPart { + public: + float Value; + float Pressure; + float Duration; + /****************** AIS_WalkPart ******************/ + %feature("compactdefaultargs") AIS_WalkPart; + %feature("autodoc", "* Empty constructor. + :rtype: None") AIS_WalkPart; + AIS_WalkPart (); + + /****************** IsEmpty ******************/ + %feature("compactdefaultargs") IsEmpty; + %feature("autodoc", "* //!< duration Return True if delta is empty. + :rtype: bool") IsEmpty; + bool IsEmpty (); + +}; -%make_alias(AIS_StdMapNodeOfMapOfInteractive) -%extend AIS_StdMapNodeOfMapOfInteractive { +%extend AIS_WalkPart { %pythoncode { __repr__ = _dumps_object } }; -%nodefaultctor AIS_TypeFilter; -class AIS_TypeFilter : public SelectMgr_Filter { + +/**************************** +* class AIS_AnimationCamera * +****************************/ +%nodefaultctor AIS_AnimationCamera; +class AIS_AnimationCamera : public AIS_Animation { public: - %feature("compactdefaultargs") AIS_TypeFilter; - %feature("autodoc", " * Initializes filter for type, aGivenKind. + /****************** AIS_AnimationCamera ******************/ + %feature("compactdefaultargs") AIS_AnimationCamera; + %feature("autodoc", "* Main constructor. + :param theAnimationName: + :type theAnimationName: TCollection_AsciiString & + :param theView: + :type theView: opencascade::handle & + :rtype: None") AIS_AnimationCamera; + AIS_AnimationCamera (const TCollection_AsciiString & theAnimationName,const opencascade::handle & theView); + + /****************** CameraEnd ******************/ + %feature("compactdefaultargs") CameraEnd; + %feature("autodoc", "* Return camera end position. + :rtype: opencascade::handle") CameraEnd; + const opencascade::handle & CameraEnd (); + + /****************** CameraStart ******************/ + %feature("compactdefaultargs") CameraStart; + %feature("autodoc", "* Return camera start position. + :rtype: opencascade::handle") CameraStart; + const opencascade::handle & CameraStart (); + + /****************** SetCameraEnd ******************/ + %feature("compactdefaultargs") SetCameraEnd; + %feature("autodoc", "* Define camera end position. + :param theCameraEnd: + :type theCameraEnd: opencascade::handle & + :rtype: None") SetCameraEnd; + void SetCameraEnd (const opencascade::handle & theCameraEnd); + + /****************** SetCameraStart ******************/ + %feature("compactdefaultargs") SetCameraStart; + %feature("autodoc", "* Define camera start position. + :param theCameraStart: + :type theCameraStart: opencascade::handle & + :rtype: None") SetCameraStart; + void SetCameraStart (const opencascade::handle & theCameraStart); + + /****************** SetView ******************/ + %feature("compactdefaultargs") SetView; + %feature("autodoc", "* Set target view. + :param theView: + :type theView: opencascade::handle & + :rtype: None") SetView; + void SetView (const opencascade::handle & theView); - :param aGivenKind: - :type aGivenKind: AIS_KindOfInteractive - :rtype: None -") AIS_TypeFilter; - AIS_TypeFilter (const AIS_KindOfInteractive aGivenKind); - %feature("compactdefaultargs") IsOk; - %feature("autodoc", " * Returns False if the transient is not an Interactive Object, or if the type of the Interactive Object is not the same as that stored in the filter. + /****************** View ******************/ + %feature("compactdefaultargs") View; + %feature("autodoc", "* Return the target view. + :rtype: opencascade::handle") View; + const opencascade::handle & View (); - :param anobj: - :type anobj: Handle_SelectMgr_EntityOwner & - :rtype: bool -") IsOk; - virtual Standard_Boolean IsOk (const Handle_SelectMgr_EntityOwner & anobj); }; -%make_alias(AIS_TypeFilter) +%make_alias(AIS_AnimationCamera) -%extend AIS_TypeFilter { +%extend AIS_AnimationCamera { %pythoncode { __repr__ = _dumps_object } }; -%nodefaultctor AIS_Axis; -class AIS_Axis : public AIS_InteractiveObject { + +/**************************** +* class AIS_AnimationObject * +****************************/ +%nodefaultctor AIS_AnimationObject; +class AIS_AnimationObject : public AIS_Animation { public: - %feature("compactdefaultargs") AIS_Axis; - %feature("autodoc", " * Initializes the line aComponent + /****************** AIS_AnimationObject ******************/ + %feature("compactdefaultargs") AIS_AnimationObject; + %feature("autodoc", "* Constructor with initialization. Note that start/end transformations specify exactly local transformation of the object, not the transformation to be applied to existing local transformation. @param theAnimationName animation identifier @param theContext interactive context where object have been displayed @param theObject object to apply local transformation @param theTrsfStart local transformation at the start of animation (e.g. theObject->LocalTransformation()) @param theTrsfEnd local transformation at the end of animation + :param theAnimationName: + :type theAnimationName: TCollection_AsciiString & + :param theContext: + :type theContext: opencascade::handle & + :param theObject: + :type theObject: opencascade::handle & + :param theTrsfStart: + :type theTrsfStart: gp_Trsf + :param theTrsfEnd: + :type theTrsfEnd: gp_Trsf + :rtype: None") AIS_AnimationObject; + AIS_AnimationObject (const TCollection_AsciiString & theAnimationName,const opencascade::handle & theContext,const opencascade::handle & theObject,const gp_Trsf & theTrsfStart,const gp_Trsf & theTrsfEnd); - :param aComponent: - :type aComponent: Handle_Geom_Line & - :rtype: None -") AIS_Axis; - AIS_Axis (const Handle_Geom_Line & aComponent); - %feature("compactdefaultargs") AIS_Axis; - %feature("autodoc", " * initializes the axis2 position aComponent. The coordinate system used is right-handed. +}; - :param aComponent: - :type aComponent: Handle_Geom_Axis2Placement & - :param anAxisType: - :type anAxisType: AIS_TypeOfAxis - :rtype: None -") AIS_Axis; - AIS_Axis (const Handle_Geom_Axis2Placement & aComponent,const AIS_TypeOfAxis anAxisType); - %feature("compactdefaultargs") AIS_Axis; - %feature("autodoc", " * Initializes the axis1 position anAxis. - - :param anAxis: - :type anAxis: Handle_Geom_Axis1Placement & - :rtype: None -") AIS_Axis; - AIS_Axis (const Handle_Geom_Axis1Placement & anAxis); - %feature("compactdefaultargs") Component; - %feature("autodoc", " * Returns the axis entity aComponent and identifies it as a component of a shape. - :rtype: Handle_Geom_Line -") Component; - Handle_Geom_Line Component (); - %feature("compactdefaultargs") SetComponent; - %feature("autodoc", " * Sets the coordinates of the lin aComponent. +%make_alias(AIS_AnimationObject) - :param aComponent: - :type aComponent: Handle_Geom_Line & - :rtype: None -") SetComponent; - void SetComponent (const Handle_Geom_Line & aComponent); - %feature("compactdefaultargs") Axis2Placement; - %feature("autodoc", " * Returns the position of axis2 and positions it by identifying it as the x, y, or z axis and giving its direction in 3D space. The coordinate system used is right-handed. +%extend AIS_AnimationObject { + %pythoncode { + __repr__ = _dumps_object + } +}; - :rtype: Handle_Geom_Axis2Placement -") Axis2Placement; - Handle_Geom_Axis2Placement Axis2Placement (); - %feature("compactdefaultargs") SetAxis2Placement; - %feature("autodoc", " * Allows you to provide settings for aComponent:the position and direction of an axis in 3D space. The coordinate system used is right-handed. +/************************** +* class AIS_CameraFrustum * +**************************/ +%nodefaultctor AIS_CameraFrustum; +class AIS_CameraFrustum : public AIS_InteractiveObject { + public: +/* public enums */ +enum SelectionMode { + SelectionMode_Edges = 0, + SelectionMode_Volume = 1, +}; - :param aComponent: - :type aComponent: Handle_Geom_Axis2Placement & - :param anAxisType: - :type anAxisType: AIS_TypeOfAxis - :rtype: None -") SetAxis2Placement; - void SetAxis2Placement (const Handle_Geom_Axis2Placement & aComponent,const AIS_TypeOfAxis anAxisType); - %feature("compactdefaultargs") SetAxis1Placement; - %feature("autodoc", " * Constructs a new line to serve as the axis anAxis in 3D space. - - :param anAxis: - :type anAxis: Handle_Geom_Axis1Placement & - :rtype: None -") SetAxis1Placement; - void SetAxis1Placement (const Handle_Geom_Axis1Placement & anAxis); - %feature("compactdefaultargs") TypeOfAxis; - %feature("autodoc", " * Returns the type of axis. - - :rtype: AIS_TypeOfAxis -") TypeOfAxis; - AIS_TypeOfAxis TypeOfAxis (); - %feature("compactdefaultargs") SetTypeOfAxis; - %feature("autodoc", " * Constructs the entity aTypeAxis to stock information concerning type of axis. - - :param aTypeAxis: - :type aTypeAxis: AIS_TypeOfAxis - :rtype: None -") SetTypeOfAxis; - void SetTypeOfAxis (const AIS_TypeOfAxis aTypeAxis); - %feature("compactdefaultargs") IsXYZAxis; - %feature("autodoc", " * Returns a signature of 2 for axis datums. When you activate mode 2 by a signature, you pick AIS objects of type AIS_Axis. - - :rtype: bool -") IsXYZAxis; - Standard_Boolean IsXYZAxis (); - %feature("compactdefaultargs") AcceptDisplayMode; - %feature("autodoc", " * Returns true if the interactive object accepts the display mode aMode. +/* end public enums declaration */ - :param aMode: - :type aMode: int - :rtype: bool -") AcceptDisplayMode; - Standard_Boolean AcceptDisplayMode (const Standard_Integer aMode); - %feature("compactdefaultargs") Compute; - %feature("autodoc", " * computes the presentation according to a point of view given by . To be Used when the associated degenerated Presentations have been transformed by which is not a Pure Translation. The HLR Prs can't be deducted automatically WARNING : must be applied to the object to display before computation !!! + /****************** AIS_CameraFrustum ******************/ + %feature("compactdefaultargs") AIS_CameraFrustum; + %feature("autodoc", "* Constructs camera frustum with default configuration. + :rtype: None") AIS_CameraFrustum; + AIS_CameraFrustum (); - :param aProjector: - :type aProjector: Handle_Prs3d_Projector & - :param aTrsf: - :type aTrsf: Handle_Geom_Transformation & - :param aPresentation: - :type aPresentation: Handle_Prs3d_Presentation & - :rtype: void -") Compute; - virtual void Compute (const Handle_Prs3d_Projector & aProjector,const Handle_Geom_Transformation & aTrsf,const Handle_Prs3d_Presentation & aPresentation); - %feature("compactdefaultargs") Signature; - %feature("autodoc", " :rtype: int -") Signature; - Standard_Integer Signature (); - %feature("compactdefaultargs") Type; - %feature("autodoc", " :rtype: AIS_KindOfInteractive -") Type; - AIS_KindOfInteractive Type (); - %feature("compactdefaultargs") SetColor; - %feature("autodoc", " :param aColor: - :type aColor: Quantity_NameOfColor - :rtype: None -") SetColor; - void SetColor (const Quantity_NameOfColor aColor); + /****************** AcceptDisplayMode ******************/ + %feature("compactdefaultargs") AcceptDisplayMode; + %feature("autodoc", "* Return true if specified display mode is supported. + :param theMode: + :type theMode: int + :rtype: bool") AcceptDisplayMode; + virtual Standard_Boolean AcceptDisplayMode (const Standard_Integer theMode); + + /****************** SetCameraFrustum ******************/ + %feature("compactdefaultargs") SetCameraFrustum; + %feature("autodoc", "* Sets camera frustum. + :param theCamera: + :type theCamera: opencascade::handle & + :rtype: None") SetCameraFrustum; + void SetCameraFrustum (const opencascade::handle & theCamera); + + /****************** SetColor ******************/ %feature("compactdefaultargs") SetColor; - %feature("autodoc", " :param aColor: - :type aColor: Quantity_Color & - :rtype: None -") SetColor; - void SetColor (const Quantity_Color & aColor); - %feature("compactdefaultargs") SetWidth; - %feature("autodoc", " :param aValue: - :type aValue: float - :rtype: None -") SetWidth; - void SetWidth (const Standard_Real aValue); + %feature("autodoc", "* Setup custom color. + :param theColor: + :type theColor: Quantity_Color & + :rtype: void") SetColor; + virtual void SetColor (const Quantity_Color & theColor); + + /****************** UnsetColor ******************/ %feature("compactdefaultargs") UnsetColor; - %feature("autodoc", " :rtype: None -") UnsetColor; - void UnsetColor (); - %feature("compactdefaultargs") UnsetWidth; - %feature("autodoc", " :rtype: None -") UnsetWidth; - void UnsetWidth (); -}; + %feature("autodoc", "* Restore default color. + :rtype: void") UnsetColor; + virtual void UnsetColor (); + + /****************** UnsetTransparency ******************/ + %feature("compactdefaultargs") UnsetTransparency; + %feature("autodoc", "* Restore transparency setting. + :rtype: void") UnsetTransparency; + virtual void UnsetTransparency (); +}; -%make_alias(AIS_Axis) -%extend AIS_Axis { +%extend AIS_CameraFrustum { %pythoncode { __repr__ = _dumps_object } }; + +/******************* +* class AIS_Circle * +*******************/ %nodefaultctor AIS_Circle; class AIS_Circle : public AIS_InteractiveObject { public: + /****************** AIS_Circle ******************/ %feature("compactdefaultargs") AIS_Circle; - %feature("autodoc", " * Initializes this algorithm for constructing AIS circle datums initializes the circle aCircle - + %feature("autodoc", "* Initializes this algorithm for constructing AIS circle datums initializes the circle aCircle :param aCircle: - :type aCircle: Handle_Geom_Circle & - :rtype: None -") AIS_Circle; - AIS_Circle (const Handle_Geom_Circle & aCircle); - %feature("compactdefaultargs") AIS_Circle; - %feature("autodoc", " * Initializes this algorithm for constructing AIS circle datums. Initializes the circle theCircle, the arc starting point theUStart, the arc ending point theUEnd, and the type of sensitivity theIsFilledCircleSens. + :type aCircle: opencascade::handle & + :rtype: None") AIS_Circle; + AIS_Circle (const opencascade::handle & aCircle); + /****************** AIS_Circle ******************/ + %feature("compactdefaultargs") AIS_Circle; + %feature("autodoc", "* Initializes this algorithm for constructing AIS circle datums. Initializes the circle theCircle, the arc starting point theUStart, the arc ending point theUEnd, and the type of sensitivity theIsFilledCircleSens. :param theCircle: - :type theCircle: Handle_Geom_Circle & + :type theCircle: opencascade::handle & :param theUStart: :type theUStart: float :param theUEnd: :type theUEnd: float :param theIsFilledCircleSens: default value is Standard_False :type theIsFilledCircleSens: bool - :rtype: None -") AIS_Circle; - AIS_Circle (const Handle_Geom_Circle & theCircle,const Standard_Real theUStart,const Standard_Real theUEnd,const Standard_Boolean theIsFilledCircleSens = Standard_False); - %feature("compactdefaultargs") Compute; - %feature("autodoc", " * computes the presentation according to a point of view given by . To be Used when the associated degenerated Presentations have been transformed by which is not a Pure Translation. The HLR Prs can't be deducted automatically WARNING : must be applied to the object to display before computation !!! + :rtype: None") AIS_Circle; + AIS_Circle (const opencascade::handle & theCircle,const Standard_Real theUStart,const Standard_Real theUEnd,const Standard_Boolean theIsFilledCircleSens = Standard_False); + + /****************** Circle ******************/ + %feature("compactdefaultargs") Circle; + %feature("autodoc", "* Returns the circle component defined in SetCircle. + :rtype: opencascade::handle") Circle; + const opencascade::handle & Circle (); + /****************** Compute ******************/ + %feature("compactdefaultargs") Compute; + %feature("autodoc", "* computes the presentation according to a point of view given by . To be Used when the associated degenerated Presentations have been transformed by which is not a Pure Translation. The HLR Prs can't be deducted automatically WARNING : must be applied to the object to display before computation !!! :param aProjector: - :type aProjector: Handle_Prs3d_Projector & + :type aProjector: opencascade::handle & :param aTrsf: - :type aTrsf: Handle_Geom_Transformation & + :type aTrsf: opencascade::handle & :param aPresentation: - :type aPresentation: Handle_Prs3d_Presentation & - :rtype: void -") Compute; - virtual void Compute (const Handle_Prs3d_Projector & aProjector,const Handle_Geom_Transformation & aTrsf,const Handle_Prs3d_Presentation & aPresentation); - %feature("compactdefaultargs") Signature; - %feature("autodoc", " * Returns index 6 by default. - - :rtype: int -") Signature; - Standard_Integer Signature (); - %feature("compactdefaultargs") Type; - %feature("autodoc", " * Indicates that the type of Interactive Object is a datum. + :type aPresentation: opencascade::handle & + :rtype: void") Compute; + virtual void Compute (const opencascade::handle & aProjector,const opencascade::handle & aTrsf,const opencascade::handle & aPresentation); - :rtype: AIS_KindOfInteractive -") Type; - AIS_KindOfInteractive Type (); - %feature("compactdefaultargs") Circle; - %feature("autodoc", " * Returns the circle component defined in SetCircle. + /****************** IsFilledCircleSens ******************/ + %feature("compactdefaultargs") IsFilledCircleSens; + %feature("autodoc", "* Returns the type of sensitivity for the circle; + :rtype: bool") IsFilledCircleSens; + Standard_Boolean IsFilledCircleSens (); - :rtype: Handle_Geom_Circle -") Circle; - Handle_Geom_Circle Circle (); + /****************** Parameters ******************/ %feature("compactdefaultargs") Parameters; - %feature("autodoc", " * Constructs instances of the starting point and the end point parameters, u1 and u2. - - :param u1: - :type u1: float & - :param u2: - :type u2: float & - :rtype: None -") Parameters; + %feature("autodoc", "* Constructs instances of the starting point and the end point parameters, theU1 and theU2. + :param theU1: + :type theU1: float & + :param theU2: + :type theU2: float & + :rtype: None") Parameters; void Parameters (Standard_Real &OutValue,Standard_Real &OutValue); + + /****************** SetCircle ******************/ %feature("compactdefaultargs") SetCircle; - %feature("autodoc", " * Allows you to provide settings for the circle datum aCircle. + %feature("autodoc", "* Allows you to provide settings for the circle datum aCircle. + :param theCircle: + :type theCircle: opencascade::handle & + :rtype: None") SetCircle; + void SetCircle (const opencascade::handle & theCircle); + + /****************** SetColor ******************/ + %feature("compactdefaultargs") SetColor; + %feature("autodoc", ":param aColor: + :type aColor: Quantity_Color & + :rtype: None") SetColor; + void SetColor (const Quantity_Color & aColor); - :param aCircle: - :type aCircle: Handle_Geom_Circle & - :rtype: None -") SetCircle; - void SetCircle (const Handle_Geom_Circle & aCircle); + /****************** SetFilledCircleSens ******************/ + %feature("compactdefaultargs") SetFilledCircleSens; + %feature("autodoc", "* Sets the type of sensitivity for the circle. If theIsFilledCircleSens set to Standard_True then the whole circle will be detectable, otherwise only the boundary of the circle. + :param theIsFilledCircleSens: + :type theIsFilledCircleSens: bool + :rtype: None") SetFilledCircleSens; + void SetFilledCircleSens (const Standard_Boolean theIsFilledCircleSens); + + /****************** SetFirstParam ******************/ %feature("compactdefaultargs") SetFirstParam; - %feature("autodoc", " * Allows you to set the parameter u for the starting point of an arc. + %feature("autodoc", "* Allows you to set the parameter theU for the starting point of an arc. + :param theU: + :type theU: float + :rtype: None") SetFirstParam; + void SetFirstParam (const Standard_Real theU); - :param u: - :type u: float - :rtype: None -") SetFirstParam; - void SetFirstParam (const Standard_Real u); + /****************** SetLastParam ******************/ %feature("compactdefaultargs") SetLastParam; - %feature("autodoc", " * Allows you to provide the parameter u for the end point of an arc. - - :param u: - :type u: float - :rtype: None -") SetLastParam; - void SetLastParam (const Standard_Real u); - %feature("compactdefaultargs") SetColor; - %feature("autodoc", " * Assigns the color aColor to the solid line boundary of the circle datum. + %feature("autodoc", "* Allows you to provide the parameter theU for the end point of an arc. + :param theU: + :type theU: float + :rtype: None") SetLastParam; + void SetLastParam (const Standard_Real theU); - :param aColor: - :type aColor: Quantity_NameOfColor - :rtype: None -") SetColor; - void SetColor (const Quantity_NameOfColor aColor); - %feature("compactdefaultargs") SetColor; - %feature("autodoc", " :param aColor: - :type aColor: Quantity_Color & - :rtype: None -") SetColor; - void SetColor (const Quantity_Color & aColor); + /****************** SetWidth ******************/ %feature("compactdefaultargs") SetWidth; - %feature("autodoc", " * Assigns the width aValue to the solid line boundary of the circle datum. - + %feature("autodoc", "* Assigns the width aValue to the solid line boundary of the circle datum. :param aValue: :type aValue: float - :rtype: None -") SetWidth; + :rtype: None") SetWidth; void SetWidth (const Standard_Real aValue); - %feature("compactdefaultargs") UnsetColor; - %feature("autodoc", " * Removes color from the solid line boundary of the circle datum. - :rtype: None -") UnsetColor; + /****************** Signature ******************/ + %feature("compactdefaultargs") Signature; + %feature("autodoc", "* Returns index 6 by default. + :rtype: int") Signature; + Standard_Integer Signature (); + + /****************** Type ******************/ + %feature("compactdefaultargs") Type; + %feature("autodoc", "* Indicates that the type of Interactive Object is a datum. + :rtype: AIS_KindOfInteractive") Type; + AIS_KindOfInteractive Type (); + + /****************** UnsetColor ******************/ + %feature("compactdefaultargs") UnsetColor; + %feature("autodoc", "* Removes color from the solid line boundary of the circle datum. + :rtype: None") UnsetColor; void UnsetColor (); - %feature("compactdefaultargs") UnsetWidth; - %feature("autodoc", " * Removes width settings from the solid line boundary of the circle datum. - :rtype: None -") UnsetWidth; + /****************** UnsetWidth ******************/ + %feature("compactdefaultargs") UnsetWidth; + %feature("autodoc", "* Removes width settings from the solid line boundary of the circle datum. + :rtype: None") UnsetWidth; void UnsetWidth (); - %feature("compactdefaultargs") IsFilledCircleSens; - %feature("autodoc", " * Returns the type of sensitivity for the circle; - - :rtype: bool -") IsFilledCircleSens; - Standard_Boolean IsFilledCircleSens (); - %feature("compactdefaultargs") SetFilledCircleSens; - %feature("autodoc", " * Sets the type of sensitivity for the circle. If theIsFilledCircleSens set to Standard_True then the whole circle will be detectable, otherwise only the boundary of the circle. - :param theIsFilledCircleSens: - :type theIsFilledCircleSens: bool - :rtype: None -") SetFilledCircleSens; - void SetFilledCircleSens (const Standard_Boolean theIsFilledCircleSens); }; @@ -6488,71 +5599,681 @@ class AIS_Circle : public AIS_InteractiveObject { __repr__ = _dumps_object } }; + +/*********************** +* class AIS_ColorScale * +***********************/ +%nodefaultctor AIS_ColorScale; +class AIS_ColorScale : public AIS_InteractiveObject { + public: + /****************** AIS_ColorScale ******************/ + %feature("compactdefaultargs") AIS_ColorScale; + %feature("autodoc", "* Default constructor. + :rtype: None") AIS_ColorScale; + AIS_ColorScale (); + + /****************** AcceptDisplayMode ******************/ + %feature("compactdefaultargs") AcceptDisplayMode; + %feature("autodoc", "* Return true if specified display mode is supported. + :param theMode: + :type theMode: int + :rtype: bool") AcceptDisplayMode; + Standard_Boolean AcceptDisplayMode (const Standard_Integer theMode); + + /****************** ColorRange ******************/ + %feature("compactdefaultargs") ColorRange; + %feature("autodoc", "* Returns color range corresponding to minimum and maximum values, blue to red by default. + :param theMinColor: + :type theMinColor: Quantity_Color & + :param theMaxColor: + :type theMaxColor: Quantity_Color & + :rtype: None") ColorRange; + void ColorRange (Quantity_Color & theMinColor,Quantity_Color & theMaxColor); + + /****************** Compute ******************/ + %feature("compactdefaultargs") Compute; + %feature("autodoc", "* Compute presentation. + :param thePresentationManager: + :type thePresentationManager: opencascade::handle & + :param thePresentation: + :type thePresentation: opencascade::handle & + :param theMode: + :type theMode: int + :rtype: void") Compute; + virtual void Compute (const opencascade::handle & thePresentationManager,const opencascade::handle & thePresentation,const Standard_Integer theMode); + + /****************** ComputeSelection ******************/ + %feature("compactdefaultargs") ComputeSelection; + %feature("autodoc", "* Compute selection - not implemented for color scale. + :param &: + :type &: opencascade::handle + :param Standard_Integer: + :type Standard_Integer: + :rtype: None") ComputeSelection; + void ComputeSelection (const opencascade::handle &,const Standard_Integer); + + /****************** FindColor ******************/ + %feature("compactdefaultargs") FindColor; + %feature("autodoc", "* Calculate color according passed value; returns true if value is in range or false, if isn't + :param theValue: + :type theValue: float + :param theMin: + :type theMin: float + :param theMax: + :type theMax: float + :param theColorsCount: + :type theColorsCount: int + :param theColorHlsMin: + :type theColorHlsMin: Graphic3d_Vec3d & + :param theColorHlsMax: + :type theColorHlsMax: Graphic3d_Vec3d & + :param theColor: + :type theColor: Quantity_Color & + :rtype: bool") FindColor; + static Standard_Boolean FindColor (const Standard_Real theValue,const Standard_Real theMin,const Standard_Real theMax,const Standard_Integer theColorsCount,const Graphic3d_Vec3d & theColorHlsMin,const Graphic3d_Vec3d & theColorHlsMax,Quantity_Color & theColor); + + /****************** FindColor ******************/ + %feature("compactdefaultargs") FindColor; + %feature("autodoc", "* Calculate color according passed value; returns true if value is in range or false, if isn't + :param theValue: + :type theValue: float + :param theMin: + :type theMin: float + :param theMax: + :type theMax: float + :param theColorsCount: + :type theColorsCount: int + :param theColor: + :type theColor: Quantity_Color & + :rtype: bool") FindColor; + static Standard_Boolean FindColor (const Standard_Real theValue,const Standard_Real theMin,const Standard_Real theMax,const Standard_Integer theColorsCount,Quantity_Color & theColor); + + /****************** FindColor ******************/ + %feature("compactdefaultargs") FindColor; + %feature("autodoc", "* Calculate color according passed value; returns true if value is in range or false, if isn't + :param theValue: + :type theValue: float + :param theColor: + :type theColor: Quantity_Color & + :rtype: bool") FindColor; + Standard_Boolean FindColor (const Standard_Real theValue,Quantity_Color & theColor); + + /****************** Format ******************/ + %feature("compactdefaultargs") Format; + %feature("autodoc", "* Returns the format of text. + :rtype: TCollection_AsciiString") Format; + const TCollection_AsciiString & Format (); + + /****************** GetBreadth ******************/ + %feature("compactdefaultargs") GetBreadth; + %feature("autodoc", "* Returns the breadth of color bar, 0 by default (e.g. should be set by user explicitly before displaying). + :rtype: int") GetBreadth; + Standard_Integer GetBreadth (); + + /****************** GetColorType ******************/ + %feature("compactdefaultargs") GetColorType; + %feature("autodoc", "* Returns the type of colors, Aspect_TOCSD_AUTO by default. Aspect_TOCSD_AUTO - value between Red and Blue Aspect_TOCSD_USER - user specified color from color map + :rtype: Aspect_TypeOfColorScaleData") GetColorType; + Aspect_TypeOfColorScaleData GetColorType (); + + /****************** GetColors ******************/ + %feature("compactdefaultargs") GetColors; + %feature("autodoc", "* Returns the user specified colors. + :param theColors: + :type theColors: Aspect_SequenceOfColor & + :rtype: None") GetColors; + void GetColors (Aspect_SequenceOfColor & theColors); + + /****************** GetColors ******************/ + %feature("compactdefaultargs") GetColors; + %feature("autodoc", "* Returns the user specified colors. + :rtype: Aspect_SequenceOfColor") GetColors; + const Aspect_SequenceOfColor & GetColors (); + + /****************** GetFormat ******************/ + %feature("compactdefaultargs") GetFormat; + %feature("autodoc", "* Returns the format for numbers, '%.4g' by default. The same like format for function printf(). Used if GetLabelType() is TOCSD_AUTO; + :rtype: TCollection_AsciiString") GetFormat; + const TCollection_AsciiString & GetFormat (); + + /****************** GetHeight ******************/ + %feature("compactdefaultargs") GetHeight; + %feature("autodoc", "* Returns the height of color bar, 0 by default (e.g. should be set by user explicitly before displaying). + :rtype: int") GetHeight; + Standard_Integer GetHeight (); + + /****************** GetIntervalColor ******************/ + %feature("compactdefaultargs") GetIntervalColor; + %feature("autodoc", "* Returns the user specified color from color map with index (starts at 1). Returns default color if index is out of range in color map. + :param theIndex: + :type theIndex: int + :rtype: Quantity_Color") GetIntervalColor; + Quantity_Color GetIntervalColor (const Standard_Integer theIndex); + + /****************** GetLabel ******************/ + %feature("compactdefaultargs") GetLabel; + %feature("autodoc", "* Returns the user specified label with index theIndex. Index is in range from 1 to GetNumberOfIntervals() or to GetNumberOfIntervals() + 1 if IsLabelAtBorder() is true. Returns empty string if label not defined. + :param theIndex: + :type theIndex: int + :rtype: TCollection_ExtendedString") GetLabel; + TCollection_ExtendedString GetLabel (const Standard_Integer theIndex); + + /****************** GetLabelPosition ******************/ + %feature("compactdefaultargs") GetLabelPosition; + %feature("autodoc", "* Returns the position of labels concerning color filled rectangles, Aspect_TOCSP_RIGHT by default. + :rtype: Aspect_TypeOfColorScalePosition") GetLabelPosition; + Aspect_TypeOfColorScalePosition GetLabelPosition (); + + /****************** GetLabelType ******************/ + %feature("compactdefaultargs") GetLabelType; + %feature("autodoc", "* Returns the type of labels, Aspect_TOCSD_AUTO by default. Aspect_TOCSD_AUTO - labels as boundary values for intervals Aspect_TOCSD_USER - user specified label is used + :rtype: Aspect_TypeOfColorScaleData") GetLabelType; + Aspect_TypeOfColorScaleData GetLabelType (); + + /****************** GetLabels ******************/ + %feature("compactdefaultargs") GetLabels; + %feature("autodoc", "* Returns the user specified labels. + :param theLabels: + :type theLabels: TColStd_SequenceOfExtendedString & + :rtype: None") GetLabels; + void GetLabels (TColStd_SequenceOfExtendedString & theLabels); + + /****************** GetMax ******************/ + %feature("compactdefaultargs") GetMax; + %feature("autodoc", "* Returns maximal value of color scale, 1.0 by default. + :rtype: float") GetMax; + Standard_Real GetMax (); + + /****************** GetMin ******************/ + %feature("compactdefaultargs") GetMin; + %feature("autodoc", "* Returns minimal value of color scale, 0.0 by default. + :rtype: float") GetMin; + Standard_Real GetMin (); + + /****************** GetNumberOfIntervals ******************/ + %feature("compactdefaultargs") GetNumberOfIntervals; + %feature("autodoc", "* Returns the number of color scale intervals, 10 by default. + :rtype: int") GetNumberOfIntervals; + Standard_Integer GetNumberOfIntervals (); + + /****************** GetPosition ******************/ + %feature("compactdefaultargs") GetPosition; + %feature("autodoc", "* Returns the bottom-left position of color scale, 0x0 by default. + :param theX: + :type theX: float & + :param theY: + :type theY: float & + :rtype: None") GetPosition; + void GetPosition (Standard_Real &OutValue,Standard_Real &OutValue); + + /****************** GetRange ******************/ + %feature("compactdefaultargs") GetRange; + %feature("autodoc", "* Returns minimal and maximal values of color scale, 0.0 to 1.0 by default. + :param theMin: + :type theMin: float & + :param theMax: + :type theMax: float & + :rtype: None") GetRange; + void GetRange (Standard_Real &OutValue,Standard_Real &OutValue); + + /****************** GetSize ******************/ + %feature("compactdefaultargs") GetSize; + %feature("autodoc", "* Returns the size of color bar, 0 and 0 by default (e.g. should be set by user explicitly before displaying). + :param theBreadth: + :type theBreadth: int & + :param theHeight: + :type theHeight: int & + :rtype: None") GetSize; + void GetSize (Standard_Integer &OutValue,Standard_Integer &OutValue); + + /****************** GetTextHeight ******************/ + %feature("compactdefaultargs") GetTextHeight; + %feature("autodoc", "* Returns the font height of text labels, 20 by default. + :rtype: int") GetTextHeight; + Standard_Integer GetTextHeight (); + + /****************** GetTitle ******************/ + %feature("compactdefaultargs") GetTitle; + %feature("autodoc", "* Returns the color scale title string, empty string by default. + :rtype: TCollection_ExtendedString") GetTitle; + const TCollection_ExtendedString & GetTitle (); + + /****************** GetTitlePosition ******************/ + %feature("compactdefaultargs") GetTitlePosition; + %feature("autodoc", "* Returns the position of color scale title, Aspect_TOCSP_LEFT by default. + :rtype: Aspect_TypeOfColorScalePosition") GetTitlePosition; + Aspect_TypeOfColorScalePosition GetTitlePosition (); + + /****************** GetXPosition ******************/ + %feature("compactdefaultargs") GetXPosition; + %feature("autodoc", "* Returns the left position of color scale, 0 by default. + :rtype: int") GetXPosition; + Standard_Integer GetXPosition (); + + /****************** GetYPosition ******************/ + %feature("compactdefaultargs") GetYPosition; + %feature("autodoc", "* Returns the bottom position of color scale, 0 by default. + :rtype: int") GetYPosition; + Standard_Integer GetYPosition (); + + /****************** HueMax ******************/ + %feature("compactdefaultargs") HueMax; + %feature("autodoc", "* Returns the hue angle corresponding to maximum value, 0 by default (red). + :rtype: float") HueMax; + Standard_Real HueMax (); + + /****************** HueMin ******************/ + %feature("compactdefaultargs") HueMin; + %feature("autodoc", "* Returns the hue angle corresponding to minimum value, 230 by default (blue). + :rtype: float") HueMin; + Standard_Real HueMin (); + + /****************** HueRange ******************/ + %feature("compactdefaultargs") HueRange; + %feature("autodoc", "* Returns the hue angle range corresponding to minimum and maximum values, 230 to 0 by default (blue to red). + :param theMinAngle: + :type theMinAngle: float & + :param theMaxAngle: + :type theMaxAngle: float & + :rtype: None") HueRange; + void HueRange (Standard_Real &OutValue,Standard_Real &OutValue); + + /****************** IsLabelAtBorder ******************/ + %feature("compactdefaultargs") IsLabelAtBorder; + %feature("autodoc", "* Returns True if the labels are placed at border of color intervals, True by default. The automatically generated label will show value exactly on the current position: - value connecting two neighbor intervals (True) - value in the middle of interval (False) + :rtype: bool") IsLabelAtBorder; + Standard_Boolean IsLabelAtBorder (); + + /****************** IsLogarithmic ******************/ + %feature("compactdefaultargs") IsLogarithmic; + %feature("autodoc", "* Returns True if the color scale has logarithmic intervals, False by default. + :rtype: bool") IsLogarithmic; + Standard_Boolean IsLogarithmic (); + + /****************** IsReversed ******************/ + %feature("compactdefaultargs") IsReversed; + %feature("autodoc", "* Returns True if the labels and colors used in reversed order, False by default. - Normal, bottom-up order with Minimal value on the Bottom and Maximum value on Top. - Reversed, top-down order with Maximum value on the Bottom and Minimum value on Top. + :rtype: bool") IsReversed; + Standard_Boolean IsReversed (); + + /****************** IsSmoothTransition ******************/ + %feature("compactdefaultargs") IsSmoothTransition; + %feature("autodoc", "* Return True if color transition between neighbor intervals should be linearly interpolated, False by default. + :rtype: bool") IsSmoothTransition; + Standard_Boolean IsSmoothTransition (); + + /****************** Labels ******************/ + %feature("compactdefaultargs") Labels; + %feature("autodoc", "* Returns the user specified labels. + :rtype: TColStd_SequenceOfExtendedString") Labels; + const TColStd_SequenceOfExtendedString & Labels (); + + /****************** SetBreadth ******************/ + %feature("compactdefaultargs") SetBreadth; + %feature("autodoc", "* Sets the width of color bar. + :param theBreadth: + :type theBreadth: int + :rtype: None") SetBreadth; + void SetBreadth (const Standard_Integer theBreadth); + + /****************** SetColorRange ******************/ + %feature("compactdefaultargs") SetColorRange; + %feature("autodoc", "* Sets color range corresponding to minimum and maximum values. + :param theMinColor: + :type theMinColor: Quantity_Color & + :param theMaxColor: + :type theMaxColor: Quantity_Color & + :rtype: None") SetColorRange; + void SetColorRange (const Quantity_Color & theMinColor,const Quantity_Color & theMaxColor); + + /****************** SetColorType ******************/ + %feature("compactdefaultargs") SetColorType; + %feature("autodoc", "* Sets the type of colors. Aspect_TOCSD_AUTO - value between Red and Blue Aspect_TOCSD_USER - user specified color from color map + :param theType: + :type theType: Aspect_TypeOfColorScaleData + :rtype: None") SetColorType; + void SetColorType (const Aspect_TypeOfColorScaleData theType); + + /****************** SetColors ******************/ + %feature("compactdefaultargs") SetColors; + %feature("autodoc", "* Sets the color scale colors. The length of the sequence should be equal to GetNumberOfIntervals(). + :param theSeq: + :type theSeq: Aspect_SequenceOfColor & + :rtype: None") SetColors; + void SetColors (const Aspect_SequenceOfColor & theSeq); + + /****************** SetFormat ******************/ + %feature("compactdefaultargs") SetFormat; + %feature("autodoc", "* Sets the color scale auto label format specification. + :param theFormat: + :type theFormat: TCollection_AsciiString & + :rtype: None") SetFormat; + void SetFormat (const TCollection_AsciiString & theFormat); + + /****************** SetHeight ******************/ + %feature("compactdefaultargs") SetHeight; + %feature("autodoc", "* Sets the height of color bar. + :param theHeight: + :type theHeight: int + :rtype: None") SetHeight; + void SetHeight (const Standard_Integer theHeight); + + /****************** SetHueRange ******************/ + %feature("compactdefaultargs") SetHueRange; + %feature("autodoc", "* Sets hue angle range corresponding to minimum and maximum values. The valid angle range is [0, 360], see Quantity_Color and Quantity_TOC_HLS for more details. + :param theMinAngle: + :type theMinAngle: float + :param theMaxAngle: + :type theMaxAngle: float + :rtype: None") SetHueRange; + void SetHueRange (const Standard_Real theMinAngle,const Standard_Real theMaxAngle); + + /****************** SetIntervalColor ******************/ + %feature("compactdefaultargs") SetIntervalColor; + %feature("autodoc", "* Sets the color of the specified interval. Note that list is automatically resized to include specified index. @param theColor color value to set @param theIndex index in range [1, GetNumberOfIntervals()]; appended to the end of list if -1 is specified + :param theColor: + :type theColor: Quantity_Color & + :param theIndex: + :type theIndex: int + :rtype: None") SetIntervalColor; + void SetIntervalColor (const Quantity_Color & theColor,const Standard_Integer theIndex); + + /****************** SetLabel ******************/ + %feature("compactdefaultargs") SetLabel; + %feature("autodoc", "* Sets the color scale label at index. Note that list is automatically resized to include specified index. @param theLabel new label text @param theIndex index in range [1, GetNumberOfIntervals()] or [1, GetNumberOfIntervals() + 1] if IsLabelAtBorder() is true; label is appended to the end of list if negative index is specified + :param theLabel: + :type theLabel: TCollection_ExtendedString & + :param theIndex: + :type theIndex: int + :rtype: None") SetLabel; + void SetLabel (const TCollection_ExtendedString & theLabel,const Standard_Integer theIndex); + + /****************** SetLabelAtBorder ******************/ + %feature("compactdefaultargs") SetLabelAtBorder; + %feature("autodoc", "* Sets true if the labels are placed at border of color intervals (True by default). If set to False, labels will be drawn at color intervals rather than at borders. + :param theOn: + :type theOn: bool + :rtype: None") SetLabelAtBorder; + void SetLabelAtBorder (const Standard_Boolean theOn); + + /****************** SetLabelPosition ******************/ + %feature("compactdefaultargs") SetLabelPosition; + %feature("autodoc", "* Sets the color scale labels position relative to color bar. + :param thePos: + :type thePos: Aspect_TypeOfColorScalePosition + :rtype: None") SetLabelPosition; + void SetLabelPosition (const Aspect_TypeOfColorScalePosition thePos); + + /****************** SetLabelType ******************/ + %feature("compactdefaultargs") SetLabelType; + %feature("autodoc", "* Sets the type of labels. Aspect_TOCSD_AUTO - labels as boundary values for intervals Aspect_TOCSD_USER - user specified label is used + :param theType: + :type theType: Aspect_TypeOfColorScaleData + :rtype: None") SetLabelType; + void SetLabelType (const Aspect_TypeOfColorScaleData theType); + + /****************** SetLabels ******************/ + %feature("compactdefaultargs") SetLabels; + %feature("autodoc", "* Sets the color scale labels. The length of the sequence should be equal to GetNumberOfIntervals() or to GetNumberOfIntervals() + 1 if IsLabelAtBorder() is true. If length of the sequence does not much the number of intervals, then these labels will be considered as 'free' and will be located at the virtual intervals corresponding to the number of labels (with flag IsLabelAtBorder() having the same effect as in normal case). + :param theSeq: + :type theSeq: TColStd_SequenceOfExtendedString & + :rtype: None") SetLabels; + void SetLabels (const TColStd_SequenceOfExtendedString & theSeq); + + /****************** SetLogarithmic ******************/ + %feature("compactdefaultargs") SetLogarithmic; + %feature("autodoc", "* Sets true if the color scale has logarithmic intervals. + :param isLogarithmic: + :type isLogarithmic: bool + :rtype: None") SetLogarithmic; + void SetLogarithmic (const Standard_Boolean isLogarithmic); + + /****************** SetMax ******************/ + %feature("compactdefaultargs") SetMax; + %feature("autodoc", "* Sets the maximal value of color scale. + :param theMax: + :type theMax: float + :rtype: None") SetMax; + void SetMax (const Standard_Real theMax); + + /****************** SetMin ******************/ + %feature("compactdefaultargs") SetMin; + %feature("autodoc", "* Sets the minimal value of color scale. + :param theMin: + :type theMin: float + :rtype: None") SetMin; + void SetMin (const Standard_Real theMin); + + /****************** SetNumberOfIntervals ******************/ + %feature("compactdefaultargs") SetNumberOfIntervals; + %feature("autodoc", "* Sets the number of color scale intervals. + :param theNum: + :type theNum: int + :rtype: None") SetNumberOfIntervals; + void SetNumberOfIntervals (const Standard_Integer theNum); + + /****************** SetPosition ******************/ + %feature("compactdefaultargs") SetPosition; + %feature("autodoc", "* Sets the position of color scale. + :param theX: + :type theX: int + :param theY: + :type theY: int + :rtype: None") SetPosition; + void SetPosition (const Standard_Integer theX,const Standard_Integer theY); + + /****************** SetRange ******************/ + %feature("compactdefaultargs") SetRange; + %feature("autodoc", "* Sets the minimal and maximal value of color scale. Note that values order will be ignored - the minimum and maximum values will be swapped if needed. ::SetReversed() should be called to swap displaying order. + :param theMin: + :type theMin: float + :param theMax: + :type theMax: float + :rtype: None") SetRange; + void SetRange (const Standard_Real theMin,const Standard_Real theMax); + + /****************** SetReversed ******************/ + %feature("compactdefaultargs") SetReversed; + %feature("autodoc", "* Sets true if the labels and colors used in reversed order. + :param theReverse: + :type theReverse: bool + :rtype: None") SetReversed; + void SetReversed (const Standard_Boolean theReverse); + + /****************** SetSize ******************/ + %feature("compactdefaultargs") SetSize; + %feature("autodoc", "* Sets the size of color bar. + :param theBreadth: + :type theBreadth: int + :param theHeight: + :type theHeight: int + :rtype: None") SetSize; + void SetSize (const Standard_Integer theBreadth,const Standard_Integer theHeight); + + /****************** SetSmoothTransition ******************/ + %feature("compactdefaultargs") SetSmoothTransition; + %feature("autodoc", "* Setup smooth color transition. + :param theIsSmooth: + :type theIsSmooth: bool + :rtype: None") SetSmoothTransition; + void SetSmoothTransition (const Standard_Boolean theIsSmooth); + + /****************** SetTextHeight ******************/ + %feature("compactdefaultargs") SetTextHeight; + %feature("autodoc", "* Sets the height of text of color scale. + :param theHeight: + :type theHeight: int + :rtype: None") SetTextHeight; + void SetTextHeight (const Standard_Integer theHeight); + + /****************** SetTitle ******************/ + %feature("compactdefaultargs") SetTitle; + %feature("autodoc", "* Sets the color scale title string. + :param theTitle: + :type theTitle: TCollection_ExtendedString & + :rtype: None") SetTitle; + void SetTitle (const TCollection_ExtendedString & theTitle); + + /****************** SetTitlePosition ******************/ + %feature("compactdefaultargs") SetTitlePosition; + %feature("autodoc", "* Sets the color scale title position. + :param thePos: + :type thePos: Aspect_TypeOfColorScalePosition + :rtype: None") SetTitlePosition; + void SetTitlePosition (const Aspect_TypeOfColorScalePosition thePos); + + /****************** SetXPosition ******************/ + %feature("compactdefaultargs") SetXPosition; + %feature("autodoc", "* Sets the left position of color scale. + :param theX: + :type theX: int + :rtype: None") SetXPosition; + void SetXPosition (const Standard_Integer theX); + + /****************** SetYPosition ******************/ + %feature("compactdefaultargs") SetYPosition; + %feature("autodoc", "* Sets the bottom position of color scale. + :param theY: + :type theY: int + :rtype: None") SetYPosition; + void SetYPosition (const Standard_Integer theY); + + /****************** TextHeight ******************/ + %feature("compactdefaultargs") TextHeight; + %feature("autodoc", "* Returns the height of text. @param theText [in] the text of which to calculate height. + :param theText: + :type theText: TCollection_ExtendedString & + :rtype: int") TextHeight; + Standard_Integer TextHeight (const TCollection_ExtendedString & theText); + + /****************** TextSize ******************/ + %feature("compactdefaultargs") TextSize; + %feature("autodoc", ":param theText: + :type theText: TCollection_ExtendedString & + :param theHeight: + :type theHeight: int + :param theWidth: + :type theWidth: int & + :param theAscent: + :type theAscent: int & + :param theDescent: + :type theDescent: int & + :rtype: None") TextSize; + void TextSize (const TCollection_ExtendedString & theText,const Standard_Integer theHeight,Standard_Integer &OutValue,Standard_Integer &OutValue,Standard_Integer &OutValue); + + /****************** TextWidth ******************/ + %feature("compactdefaultargs") TextWidth; + %feature("autodoc", "* Returns the width of text. @param theText [in] the text of which to calculate width. + :param theText: + :type theText: TCollection_ExtendedString & + :rtype: int") TextWidth; + Standard_Integer TextWidth (const TCollection_ExtendedString & theText); + + /****************** hueToValidRange ******************/ + %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. + :param theHue: + :type theHue: float + :rtype: float") hueToValidRange; + static Standard_Real hueToValidRange (const Standard_Real theHue); + +}; + + +%make_alias(AIS_ColorScale) + +%extend AIS_ColorScale { + %pythoncode { + __repr__ = _dumps_object + } +}; + +/********************************* +* class AIS_ConnectedInteractive * +*********************************/ %nodefaultctor AIS_ConnectedInteractive; class AIS_ConnectedInteractive : public AIS_InteractiveObject { public: + /****************** AIS_ConnectedInteractive ******************/ %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. - + %feature("autodoc", "* Disconnects the previous view and sets highlight mode to 0. This highlights the wireframe presentation aTypeOfPresentation3d. Top_AllView deactivates hidden line removal. :param aTypeOfPresentation3d: default value is PrsMgr_TOP_AllView :type aTypeOfPresentation3d: PrsMgr_TypeOfPresentation3d - :rtype: None -") AIS_ConnectedInteractive; + :rtype: None") AIS_ConnectedInteractive; AIS_ConnectedInteractive (const PrsMgr_TypeOfPresentation3d aTypeOfPresentation3d = PrsMgr_TOP_AllView); - %feature("compactdefaultargs") Type; - %feature("autodoc", " * Returns KOI_Object - :rtype: AIS_KindOfInteractive -") Type; - virtual AIS_KindOfInteractive Type (); - %feature("compactdefaultargs") Signature; - %feature("autodoc", " * Returns 1 + /****************** AcceptDisplayMode ******************/ + %feature("compactdefaultargs") AcceptDisplayMode; + %feature("autodoc", "* Return true if reference presentation accepts specified display mode. + :param theMode: + :type theMode: int + :rtype: bool") AcceptDisplayMode; + Standard_Boolean AcceptDisplayMode (const Standard_Integer theMode); - :rtype: int -") Signature; - virtual Standard_Integer Signature (); + /****************** AcceptShapeDecomposition ******************/ + %feature("compactdefaultargs") AcceptShapeDecomposition; + %feature("autodoc", "* Informs the graphic context that the interactive Object may be decomposed into sub-shapes for dynamic selection. + :rtype: bool") AcceptShapeDecomposition; + Standard_Boolean AcceptShapeDecomposition (); + + /****************** Connect ******************/ %feature("compactdefaultargs") Connect; - %feature("autodoc", " * Establishes the connection between the Connected Interactive Object, anotherIobj, and its reference. + %feature("autodoc", "* Establishes the connection between the Connected Interactive Object, anotherIobj, and its reference. + :param theAnotherObj: + :type theAnotherObj: opencascade::handle & + :rtype: None") Connect; + void Connect (const opencascade::handle & theAnotherObj); - :param anotherIObj: - :type anotherIObj: Handle_AIS_InteractiveObject & - :rtype: void -") Connect; - virtual void Connect (const Handle_AIS_InteractiveObject & anotherIObj); + /****************** Connect ******************/ %feature("compactdefaultargs") Connect; - %feature("autodoc", " * Establishes the connection between the Connected Interactive Object, anotherIobj, and its reference. Locates instance in aLocation. - - :param anotherIobj: - :type anotherIobj: Handle_AIS_InteractiveObject & - :param aLocation: - :type aLocation: gp_Trsf - :rtype: void -") Connect; - virtual void Connect (const Handle_AIS_InteractiveObject & anotherIobj,const gp_Trsf & aLocation); - %feature("compactdefaultargs") HasConnection; - %feature("autodoc", " * Returns true if there is a connection established between the presentation and its source reference. + %feature("autodoc", "* Establishes the connection between the Connected Interactive Object, anotherIobj, and its reference. Locates instance in aLocation. + :param theAnotherObj: + :type theAnotherObj: opencascade::handle & + :param theLocation: + :type theLocation: gp_Trsf + :rtype: None") Connect; + void Connect (const opencascade::handle & theAnotherObj,const gp_Trsf & theLocation); - :rtype: bool -") HasConnection; - Standard_Boolean HasConnection (); + /****************** Connect ******************/ + %feature("compactdefaultargs") Connect; + %feature("autodoc", "* Establishes the connection between the Connected Interactive Object, anotherIobj, and its reference. Locates instance in aLocation. + :param theAnotherObj: + :type theAnotherObj: opencascade::handle & + :param theLocation: + :type theLocation: opencascade::handle & + :rtype: None") Connect; + void Connect (const opencascade::handle & theAnotherObj,const opencascade::handle & theLocation); + + /****************** ConnectedTo ******************/ %feature("compactdefaultargs") ConnectedTo; - %feature("autodoc", " * Returns the connection with the reference Interactive Object. + %feature("autodoc", "* Returns the connection with the reference Interactive Object. + :rtype: opencascade::handle") ConnectedTo; + const opencascade::handle & ConnectedTo (); - :rtype: Handle_AIS_InteractiveObject -") ConnectedTo; - Handle_AIS_InteractiveObject ConnectedTo (); + /****************** Disconnect ******************/ %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. - - :rtype: None -") 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. + :rtype: None") Disconnect; void Disconnect (); - %feature("compactdefaultargs") AcceptShapeDecomposition; - %feature("autodoc", " * Informs the graphic context that the interactive Object may be decomposed into sub-shapes for dynamic selection. - :rtype: bool -") AcceptShapeDecomposition; - Standard_Boolean AcceptShapeDecomposition (); + /****************** HasConnection ******************/ + %feature("compactdefaultargs") HasConnection; + %feature("autodoc", "* Returns true if there is a connection established between the presentation and its source reference. + :rtype: bool") HasConnection; + Standard_Boolean HasConnection (); + + /****************** Signature ******************/ + %feature("compactdefaultargs") Signature; + %feature("autodoc", "* Returns 0 + :rtype: int") Signature; + Standard_Integer Signature (); + + /****************** Type ******************/ + %feature("compactdefaultargs") Type; + %feature("autodoc", "* Returns KOI_Object + :rtype: AIS_KindOfInteractive") Type; + AIS_KindOfInteractive Type (); + }; @@ -6563,9 +6284,14 @@ class AIS_ConnectedInteractive : public AIS_InteractiveObject { __repr__ = _dumps_object } }; + +/********************** +* class AIS_Dimension * +**********************/ %nodefaultctor AIS_Dimension; class AIS_Dimension : public AIS_InteractiveObject { public: + class SelectionGeometry {}; /* public enums */ enum ComputeMode { ComputeMode_All = 0, @@ -6575,196 +6301,212 @@ enum ComputeMode { /* end public enums declaration */ - %feature("compactdefaultargs") AIS_Dimension; - %feature("autodoc", " * Constructor with default parameters values. @param theType [in] the type of dimension. + /****************** AcceptDisplayMode ******************/ + %feature("compactdefaultargs") AcceptDisplayMode; + %feature("autodoc", "* Returns true if the class of objects accepts the display mode theMode. The interactive context can have a default mode of representation for the set of Interactive Objects. This mode may not be accepted by object. + :param theMode: + :type theMode: int + :rtype: bool") AcceptDisplayMode; + Standard_Boolean AcceptDisplayMode (const Standard_Integer theMode); + + /****************** DimensionAspect ******************/ + %feature("compactdefaultargs") DimensionAspect; + %feature("autodoc", "* Gets the dimension aspect from AIS object drawer. Dimension aspect contains aspects of line, text and arrows for dimension presentation. + :rtype: opencascade::handle") DimensionAspect; + opencascade::handle DimensionAspect (); - :param theType: - :type theType: AIS_KindOfDimension - :rtype: None -") AIS_Dimension; - AIS_Dimension (const AIS_KindOfDimension theType); - %feature("compactdefaultargs") GetValue; - %feature("autodoc", " * Gets dimension measurement value. If the value to display is not specified by user, then the dimension object is responsible to compute it on its own in model space coordinates. returns the dimension value (in model units) which is used during display of the presentation. + /****************** DisplaySpecialSymbol ******************/ + %feature("compactdefaultargs") DisplaySpecialSymbol; + %feature("autodoc", "* returns dimension special symbol display options. + :rtype: AIS_DisplaySpecialSymbol") DisplaySpecialSymbol; + AIS_DisplaySpecialSymbol DisplaySpecialSymbol (); - :rtype: float -") GetValue; - Standard_Real GetValue (); - %feature("compactdefaultargs") SetCustomValue; - %feature("autodoc", " * Sets user-defined dimension value. The user-defined dimension value is specified in model space, and affect by unit conversion during the display. @param theValue [in] the user-defined value to display. + /****************** GetCustomValue ******************/ + %feature("compactdefaultargs") GetCustomValue; + %feature("autodoc", "* Gets user-defined dimension value. returns dimension value string. + :rtype: TCollection_ExtendedString") GetCustomValue; + const TCollection_ExtendedString & GetCustomValue (); - :param theValue: - :type theValue: float - :rtype: None -") SetCustomValue; - void SetCustomValue (const Standard_Real theValue); - %feature("compactdefaultargs") GetPlane; - %feature("autodoc", " * Get the dimension plane in which the 2D dimension presentation is computed. By default, if plane is not defined by user, it is computed automatically after dimension geometry is computed. If computed dimension geometry (points) can't be placed on the user-defined plane, dimension geometry was set as invalid (validity flag is set to false) and dimension presentation will not be computed. If user-defined plane allow geometry placement on it, it will be used for computing of the dimension presentation. returns dimension plane used for presentation computing. + /****************** GetDisplayUnits ******************/ + %feature("compactdefaultargs") GetDisplayUnits; + %feature("autodoc", ":rtype: TCollection_AsciiString") GetDisplayUnits; + virtual const TCollection_AsciiString & GetDisplayUnits (); - :rtype: gp_Pln -") GetPlane; - const gp_Pln GetPlane (); - %feature("compactdefaultargs") GetGeometryType; - %feature("autodoc", " * Geometry type defines type of shapes on which the dimension is to be built. returns type of geometry on which the dimension will be built. + /****************** GetFlyout ******************/ + %feature("compactdefaultargs") GetFlyout; + %feature("autodoc", "* returns flyout value for dimension. + :rtype: float") GetFlyout; + Standard_Real GetFlyout (); - :rtype: int -") GetGeometryType; + /****************** GetGeometryType ******************/ + %feature("compactdefaultargs") GetGeometryType; + %feature("autodoc", "* Geometry type defines type of shapes on which the dimension is to be built. returns type of geometry on which the dimension will be built. + :rtype: int") GetGeometryType; Standard_Integer GetGeometryType (); - %feature("compactdefaultargs") SetCustomPlane; - %feature("autodoc", " * Sets user-defined plane where the 2D dimension presentation will be placed. Checks validity of this plane if geometry has been set already. Validity of the plane is checked according to the geometry set and has different criteria for different kinds of dimensions. - - :param thePlane: - :type thePlane: gp_Pln - :rtype: void -") SetCustomPlane; - virtual void SetCustomPlane (const gp_Pln & thePlane); - %feature("compactdefaultargs") UnsetCustomPlane; - %feature("autodoc", " * Unsets user-defined plane. Therefore the plane for dimension will be computed automatically. - :rtype: None -") UnsetCustomPlane; - void UnsetCustomPlane (); - %feature("compactdefaultargs") IsTextPositionCustom; - %feature("autodoc", " * returns True if text position is set by user with method SetTextPosition(). + /****************** GetModelUnits ******************/ + %feature("compactdefaultargs") GetModelUnits; + %feature("autodoc", ":rtype: TCollection_AsciiString") GetModelUnits; + virtual const TCollection_AsciiString & GetModelUnits (); - :rtype: bool -") IsTextPositionCustom; - Standard_Boolean IsTextPositionCustom (); - %feature("compactdefaultargs") SetTextPosition; - %feature("autodoc", " * Fixes the absolute text position and adjusts flyout, plane and text alignment according to it. Updates presentation if the text position is valid. ATTENTION! It does not change vertical text alignment. @param theTextPos [in] the point of text position. + /****************** GetPlane ******************/ + %feature("compactdefaultargs") GetPlane; + %feature("autodoc", "* Get the dimension plane in which the 2D dimension presentation is computed. By default, if plane is not defined by user, it is computed automatically after dimension geometry is computed. If computed dimension geometry (points) can't be placed on the user-defined plane, dimension geometry was set as invalid (validity flag is set to false) and dimension presentation will not be computed. If user-defined plane allow geometry placement on it, it will be used for computing of the dimension presentation. returns dimension plane used for presentation computing. + :rtype: gp_Pln") GetPlane; + const gp_Pln GetPlane (); - :param &: - :type &: gp_Pnt - :rtype: None -") SetTextPosition; - void SetTextPosition (const gp_Pnt &); + /****************** GetTextPosition ******************/ %feature("compactdefaultargs") GetTextPosition; - %feature("autodoc", " * Computes absolute text position from dimension parameters (flyout, plane and text alignment). - - :rtype: gp_Pnt -") GetTextPosition; + %feature("autodoc", "* Computes absolute text position from dimension parameters (flyout, plane and text alignment). + :rtype: gp_Pnt") GetTextPosition; const gp_Pnt GetTextPosition (); - %feature("compactdefaultargs") DimensionAspect; - %feature("autodoc", " * Gets the dimension aspect from AIS object drawer. Dimension aspect contains aspects of line, text and arrows for dimension presentation. - :rtype: Handle_Prs3d_DimensionAspect -") DimensionAspect; - Handle_Prs3d_DimensionAspect DimensionAspect (); - %feature("compactdefaultargs") SetDimensionAspect; - %feature("autodoc", " * Sets new dimension aspect for the interactive object drawer. The dimension aspect provides dynamic properties which are generally used during computation of dimension presentations. + /****************** GetValue ******************/ + %feature("compactdefaultargs") GetValue; + %feature("autodoc", "* Gets dimension measurement value. If the value to display is not specified by user, then the dimension object is responsible to compute it on its own in model space coordinates. returns the dimension value (in model units) which is used during display of the presentation. + :rtype: float") GetValue; + Standard_Real GetValue (); - :param theDimensionAspect: - :type theDimensionAspect: Handle_Prs3d_DimensionAspect & - :rtype: None -") SetDimensionAspect; - void SetDimensionAspect (const Handle_Prs3d_DimensionAspect & theDimensionAspect); - %feature("compactdefaultargs") KindOfDimension; - %feature("autodoc", " * returns the kind of dimension. + /****************** IsTextPositionCustom ******************/ + %feature("compactdefaultargs") IsTextPositionCustom; + %feature("autodoc", "* returns True if text position is set by user with method SetTextPosition(). + :rtype: bool") IsTextPositionCustom; + Standard_Boolean IsTextPositionCustom (); + + /****************** IsValid ******************/ + %feature("compactdefaultargs") IsValid; + %feature("autodoc", "* Check that the input geometry for dimension is valid and the presentation can be successfully computed. returns True if dimension geometry is ok. + :rtype: bool") IsValid; + Standard_Boolean IsValid (); - :rtype: AIS_KindOfDimension -") KindOfDimension; + /****************** KindOfDimension ******************/ + %feature("compactdefaultargs") KindOfDimension; + %feature("autodoc", "* returns the kind of dimension. + :rtype: AIS_KindOfDimension") KindOfDimension; AIS_KindOfDimension KindOfDimension (); - %feature("compactdefaultargs") Type; - %feature("autodoc", " * returns the kind of interactive. - :rtype: AIS_KindOfInteractive -") Type; - AIS_KindOfInteractive Type (); - %feature("compactdefaultargs") AcceptDisplayMode; - %feature("autodoc", " * Returns true if the class of objects accepts the display mode theMode. The interactive context can have a default mode of representation for the set of Interactive Objects. This mode may not be accepted by object. + /****************** SelToleranceForText2d ******************/ + %feature("compactdefaultargs") SelToleranceForText2d; + %feature("autodoc", "* Returns selection tolerance for text2d: For 2d text selection detection sensitive point with tolerance is used Important! Only for 2d text. + :rtype: float") SelToleranceForText2d; + Standard_Real SelToleranceForText2d (); - :param theMode: - :type theMode: int - :rtype: bool -") AcceptDisplayMode; - Standard_Boolean AcceptDisplayMode (const Standard_Integer theMode); - %feature("compactdefaultargs") DisplaySpecialSymbol; - %feature("autodoc", " * returns dimension special symbol display options. + /****************** SetComputedValue ******************/ + %feature("compactdefaultargs") SetComputedValue; + %feature("autodoc", "* Sets computed dimension value. Resets custom value mode if it was set. + :rtype: None") SetComputedValue; + void SetComputedValue (); - :rtype: AIS_DisplaySpecialSymbol -") DisplaySpecialSymbol; - AIS_DisplaySpecialSymbol DisplaySpecialSymbol (); - %feature("compactdefaultargs") SetDisplaySpecialSymbol; - %feature("autodoc", " * Specifies whether to display special symbol or not. + /****************** SetCustomPlane ******************/ + %feature("compactdefaultargs") SetCustomPlane; + %feature("autodoc", "* Sets user-defined plane where the 2D dimension presentation will be placed. Checks validity of this plane if geometry has been set already. Validity of the plane is checked according to the geometry set and has different criteria for different kinds of dimensions. + :param thePlane: + :type thePlane: gp_Pln + :rtype: void") SetCustomPlane; + virtual void SetCustomPlane (const gp_Pln & thePlane); + + /****************** SetCustomValue ******************/ + %feature("compactdefaultargs") SetCustomValue; + %feature("autodoc", "* Sets user-defined dimension value. The user-defined dimension value is specified in model space, and affect by unit conversion during the display. @param theValue [in] the user-defined value to display. + :param theValue: + :type theValue: float + :rtype: None") SetCustomValue; + void SetCustomValue (const Standard_Real theValue); + + /****************** SetCustomValue ******************/ + %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. + :param theValue: + :type theValue: TCollection_ExtendedString & + :rtype: None") SetCustomValue; + void SetCustomValue (const TCollection_ExtendedString & theValue); + + /****************** SetDimensionAspect ******************/ + %feature("compactdefaultargs") SetDimensionAspect; + %feature("autodoc", "* Sets new dimension aspect for the interactive object drawer. The dimension aspect provides dynamic properties which are generally used during computation of dimension presentations. + :param theDimensionAspect: + :type theDimensionAspect: opencascade::handle & + :rtype: None") SetDimensionAspect; + void SetDimensionAspect (const opencascade::handle & theDimensionAspect); + /****************** SetDisplaySpecialSymbol ******************/ + %feature("compactdefaultargs") SetDisplaySpecialSymbol; + %feature("autodoc", "* Specifies whether to display special symbol or not. :param theDisplaySpecSymbol: :type theDisplaySpecSymbol: AIS_DisplaySpecialSymbol - :rtype: None -") SetDisplaySpecialSymbol; + :rtype: None") SetDisplaySpecialSymbol; void SetDisplaySpecialSymbol (const AIS_DisplaySpecialSymbol theDisplaySpecSymbol); - %feature("compactdefaultargs") SpecialSymbol; - %feature("autodoc", " * returns special symbol. - - :rtype: Standard_ExtCharacter -") SpecialSymbol; - Standard_ExtCharacter SpecialSymbol (); - %feature("compactdefaultargs") SetSpecialSymbol; - %feature("autodoc", " * Specifies special symbol. - :param theSpecialSymbol: - :type theSpecialSymbol: Standard_ExtCharacter - :rtype: None -") SetSpecialSymbol; - void SetSpecialSymbol (const Standard_ExtCharacter theSpecialSymbol); - %feature("compactdefaultargs") GetDisplayUnits; - %feature("autodoc", " :rtype: TCollection_AsciiString -") GetDisplayUnits; - virtual const TCollection_AsciiString & GetDisplayUnits (); - %feature("compactdefaultargs") GetModelUnits; - %feature("autodoc", " :rtype: TCollection_AsciiString -") GetModelUnits; - virtual const TCollection_AsciiString & GetModelUnits (); + /****************** SetDisplayUnits ******************/ %feature("compactdefaultargs") SetDisplayUnits; - %feature("autodoc", " :param &: + %feature("autodoc", ":param &: :type &: TCollection_AsciiString - :rtype: void -") SetDisplayUnits; - virtual void SetDisplayUnits (const TCollection_AsciiString &); + :rtype: None") SetDisplayUnits; + void SetDisplayUnits (const TCollection_AsciiString &); + + /****************** SetFlyout ******************/ + %feature("compactdefaultargs") SetFlyout; + %feature("autodoc", "* Sets flyout value for dimension. + :param theFlyout: + :type theFlyout: float + :rtype: None") SetFlyout; + void SetFlyout (const Standard_Real theFlyout); + + /****************** SetModelUnits ******************/ %feature("compactdefaultargs") SetModelUnits; - %feature("autodoc", " :param &: + %feature("autodoc", ":param &: :type &: TCollection_AsciiString - :rtype: void -") SetModelUnits; - virtual void SetModelUnits (const TCollection_AsciiString &); - %feature("compactdefaultargs") UnsetFixedTextPosition; - %feature("autodoc", " * Unsets user defined text positioning and enables text positioning by other parameters: text alignment, extension size, flyout and custom plane. - - :rtype: None -") UnsetFixedTextPosition; - void UnsetFixedTextPosition (); - %feature("compactdefaultargs") SelToleranceForText2d; - %feature("autodoc", " * Returns selection tolerance for text2d: For 2d text selection detection sensitive point with tolerance is used Important! Only for 2d text. + :rtype: None") SetModelUnits; + void SetModelUnits (const TCollection_AsciiString &); - :rtype: float -") SelToleranceForText2d; - Standard_Real SelToleranceForText2d (); + /****************** SetSelToleranceForText2d ******************/ %feature("compactdefaultargs") SetSelToleranceForText2d; - %feature("autodoc", " * Sets selection tolerance for text2d: For 2d text selection detection sensitive point with tolerance is used to change this tolerance use this method Important! Only for 2d text. - + %feature("autodoc", "* Sets selection tolerance for text2d: For 2d text selection detection sensitive point with tolerance is used to change this tolerance use this method Important! Only for 2d text. :param theTol: :type theTol: float - :rtype: None -") SetSelToleranceForText2d; + :rtype: None") SetSelToleranceForText2d; void SetSelToleranceForText2d (const Standard_Real theTol); - %feature("compactdefaultargs") GetFlyout; - %feature("autodoc", " * returns flyout value for dimension. - :rtype: float -") GetFlyout; - Standard_Real GetFlyout (); - %feature("compactdefaultargs") SetFlyout; - %feature("autodoc", " * Sets flyout value for dimension. + /****************** SetSpecialSymbol ******************/ + %feature("compactdefaultargs") SetSpecialSymbol; + %feature("autodoc", "* Specifies special symbol. + :param theSpecialSymbol: + :type theSpecialSymbol: Standard_ExtCharacter + :rtype: None") SetSpecialSymbol; + void SetSpecialSymbol (const Standard_ExtCharacter theSpecialSymbol); - :param theFlyout: - :type theFlyout: float - :rtype: None -") SetFlyout; - void SetFlyout (const Standard_Real theFlyout); - %feature("compactdefaultargs") IsValid; - %feature("autodoc", " * Check that the input geometry for dimension is valid and the presentation can be successfully computed. returns True if dimension geometry is ok. + /****************** SetTextPosition ******************/ + %feature("compactdefaultargs") SetTextPosition; + %feature("autodoc", "* Fixes the absolute text position and adjusts flyout, plane and text alignment according to it. Updates presentation if the text position is valid. ATTENTION! It does not change vertical text alignment. @param theTextPos [in] the point of text position. + :param &: + :type &: gp_Pnt + :rtype: None") SetTextPosition; + void SetTextPosition (const gp_Pnt &); + + /****************** SpecialSymbol ******************/ + %feature("compactdefaultargs") SpecialSymbol; + %feature("autodoc", "* returns special symbol. + :rtype: Standard_ExtCharacter") SpecialSymbol; + Standard_ExtCharacter SpecialSymbol (); + + /****************** Type ******************/ + %feature("compactdefaultargs") Type; + %feature("autodoc", "* returns the kind of interactive. + :rtype: AIS_KindOfInteractive") Type; + AIS_KindOfInteractive Type (); + + /****************** UnsetCustomPlane ******************/ + %feature("compactdefaultargs") UnsetCustomPlane; + %feature("autodoc", "* Unsets user-defined plane. Therefore the plane for dimension will be computed automatically. + :rtype: None") UnsetCustomPlane; + void UnsetCustomPlane (); + + /****************** UnsetFixedTextPosition ******************/ + %feature("compactdefaultargs") UnsetFixedTextPosition; + %feature("autodoc", "* Unsets user defined text positioning and enables text positioning by other parameters: text alignment, extension size, flyout and custom plane. + :rtype: None") UnsetFixedTextPosition; + void UnsetFixedTextPosition (); - :rtype: bool -") IsValid; - Standard_Boolean IsValid (); }; @@ -6775,119 +6517,117 @@ enum ComputeMode { __repr__ = _dumps_object } }; + +/***************** +* class AIS_Line * +*****************/ %nodefaultctor AIS_Line; class AIS_Line : public AIS_InteractiveObject { public: + /****************** AIS_Line ******************/ %feature("compactdefaultargs") AIS_Line; - %feature("autodoc", " * Initializes the line aLine. - + %feature("autodoc", "* Initializes the line aLine. :param aLine: - :type aLine: Handle_Geom_Line & - :rtype: None -") AIS_Line; - AIS_Line (const Handle_Geom_Line & aLine); - %feature("compactdefaultargs") AIS_Line; - %feature("autodoc", " * Initializes a starting point aStartPoint and a finishing point aEndPoint for the line. + :type aLine: opencascade::handle & + :rtype: None") AIS_Line; + AIS_Line (const opencascade::handle & aLine); + /****************** AIS_Line ******************/ + %feature("compactdefaultargs") AIS_Line; + %feature("autodoc", "* Initializes a starting point aStartPoint and a finishing point aEndPoint for the line. :param aStartPoint: - :type aStartPoint: Handle_Geom_Point & + :type aStartPoint: opencascade::handle & :param aEndPoint: - :type aEndPoint: Handle_Geom_Point & - :rtype: None -") AIS_Line; - AIS_Line (const Handle_Geom_Point & aStartPoint,const Handle_Geom_Point & aEndPoint); - %feature("compactdefaultargs") Compute; - %feature("autodoc", " * computes the presentation according to a point of view given by . To be Used when the associated degenerated Presentations have been transformed by which is not a Pure Translation. The HLR Prs can't be deducted automatically WARNING : must be applied to the object to display before computation !!! + :type aEndPoint: opencascade::handle & + :rtype: None") AIS_Line; + AIS_Line (const opencascade::handle & aStartPoint,const opencascade::handle & aEndPoint); + /****************** Compute ******************/ + %feature("compactdefaultargs") Compute; + %feature("autodoc", "* computes the presentation according to a point of view given by . To be Used when the associated degenerated Presentations have been transformed by which is not a Pure Translation. The HLR Prs can't be deducted automatically WARNING : must be applied to the object to display before computation !!! :param aProjector: - :type aProjector: Handle_Prs3d_Projector & + :type aProjector: opencascade::handle & :param aTrsf: - :type aTrsf: Handle_Geom_Transformation & + :type aTrsf: opencascade::handle & :param aPresentation: - :type aPresentation: Handle_Prs3d_Presentation & - :rtype: void -") Compute; - virtual void Compute (const Handle_Prs3d_Projector & aProjector,const Handle_Geom_Transformation & aTrsf,const Handle_Prs3d_Presentation & aPresentation); - %feature("compactdefaultargs") Signature; - %feature("autodoc", " * Returns the signature 5. - - :rtype: int -") Signature; - Standard_Integer Signature (); - %feature("compactdefaultargs") Type; - %feature("autodoc", " * Returns the type Datum. + :type aPresentation: opencascade::handle & + :rtype: void") Compute; + virtual void Compute (const opencascade::handle & aProjector,const opencascade::handle & aTrsf,const opencascade::handle & aPresentation); - :rtype: AIS_KindOfInteractive -") Type; - AIS_KindOfInteractive Type (); + /****************** Line ******************/ %feature("compactdefaultargs") Line; - %feature("autodoc", " * Constructs an infinite line. + %feature("autodoc", "* Constructs an infinite line. + :rtype: opencascade::handle") Line; + const opencascade::handle & Line (); - :rtype: Handle_Geom_Line -") Line; - Handle_Geom_Line Line (); + /****************** Points ******************/ %feature("compactdefaultargs") Points; - %feature("autodoc", " * Returns the starting point PStart and the end point PEnd of the line set by SetPoints. - - :param PStart: - :type PStart: Handle_Geom_Point & - :param PEnd: - :type PEnd: Handle_Geom_Point & - :rtype: None -") Points; - void Points (Handle_Geom_Point & PStart,Handle_Geom_Point & PEnd); - %feature("compactdefaultargs") SetLine; - %feature("autodoc", " * instantiates an infinite line. - - :param L: - :type L: Handle_Geom_Line & - :rtype: None -") SetLine; - void SetLine (const Handle_Geom_Line & L); - %feature("compactdefaultargs") SetPoints; - %feature("autodoc", " * Sets the starting point P1 and ending point P2 of the infinite line to create a finite line segment. - - :param P1: - :type P1: Handle_Geom_Point & - :param P2: - :type P2: Handle_Geom_Point & - :rtype: None -") SetPoints; - void SetPoints (const Handle_Geom_Point & P1,const Handle_Geom_Point & P2); + %feature("autodoc", "* Returns the starting point thePStart and the end point thePEnd of the line set by SetPoints. + :param thePStart: + :type thePStart: opencascade::handle & + :param thePEnd: + :type thePEnd: opencascade::handle & + :rtype: None") Points; + void Points (opencascade::handle & thePStart,opencascade::handle & thePEnd); + + /****************** SetColor ******************/ %feature("compactdefaultargs") SetColor; - %feature("autodoc", " * Provides a new color setting aColor for the line in the drawing tool, or 'Drawer'. - + %feature("autodoc", "* Provides a new color setting aColor for the line in the drawing tool, or 'Drawer'. :param aColor: - :type aColor: Quantity_NameOfColor - :rtype: None -") SetColor; - void SetColor (const Quantity_NameOfColor aColor); - %feature("compactdefaultargs") SetColor; - %feature("autodoc", " :param aColor: :type aColor: Quantity_Color & - :rtype: None -") SetColor; + :rtype: None") SetColor; void SetColor (const Quantity_Color & aColor); - %feature("compactdefaultargs") SetWidth; - %feature("autodoc", " * Provides the new width setting aValue for the line in the drawing tool, or 'Drawer'. + /****************** SetLine ******************/ + %feature("compactdefaultargs") SetLine; + %feature("autodoc", "* instantiates an infinite line. + :param theLine: + :type theLine: opencascade::handle & + :rtype: None") SetLine; + void SetLine (const opencascade::handle & theLine); + + /****************** SetPoints ******************/ + %feature("compactdefaultargs") SetPoints; + %feature("autodoc", "* Sets the starting point thePStart and ending point thePEnd of the infinite line to create a finite line segment. + :param thePStart: + :type thePStart: opencascade::handle & + :param thePEnd: + :type thePEnd: opencascade::handle & + :rtype: None") SetPoints; + void SetPoints (const opencascade::handle & thePStart,const opencascade::handle & thePEnd); + + /****************** SetWidth ******************/ + %feature("compactdefaultargs") SetWidth; + %feature("autodoc", "* Provides the new width setting aValue for the line in the drawing tool, or 'Drawer'. :param aValue: :type aValue: float - :rtype: None -") SetWidth; + :rtype: None") SetWidth; void SetWidth (const Standard_Real aValue); - %feature("compactdefaultargs") UnsetColor; - %feature("autodoc", " * Removes the color setting and returns the original color. - :rtype: None -") UnsetColor; + /****************** Signature ******************/ + %feature("compactdefaultargs") Signature; + %feature("autodoc", "* Returns the signature 5. + :rtype: int") Signature; + Standard_Integer Signature (); + + /****************** Type ******************/ + %feature("compactdefaultargs") Type; + %feature("autodoc", "* Returns the type Datum. + :rtype: AIS_KindOfInteractive") Type; + AIS_KindOfInteractive Type (); + + /****************** UnsetColor ******************/ + %feature("compactdefaultargs") UnsetColor; + %feature("autodoc", "* Removes the color setting and returns the original color. + :rtype: None") UnsetColor; void UnsetColor (); - %feature("compactdefaultargs") UnsetWidth; - %feature("autodoc", " * Removes the width setting and returns the original width. - :rtype: None -") UnsetWidth; + /****************** UnsetWidth ******************/ + %feature("compactdefaultargs") UnsetWidth; + %feature("autodoc", "* Removes the width setting and returns the original width. + :rtype: None") UnsetWidth; void UnsetWidth (); + }; @@ -6898,101 +6638,563 @@ class AIS_Line : public AIS_InteractiveObject { __repr__ = _dumps_object } }; + +/************************ +* class AIS_Manipulator * +************************/ +%nodefaultctor AIS_Manipulator; +class AIS_Manipulator : public AIS_InteractiveObject { + public: + class OptionsForAttach {}; + class BehaviorOnTransform {}; + class Quadric {}; + class Disk {}; + class Sphere {}; + class Cube {}; + class Sector {}; + class Axis {}; + /****************** AIS_Manipulator ******************/ + %feature("compactdefaultargs") AIS_Manipulator; + %feature("autodoc", "* Constructs a manipulator object with default placement and all parts to be displayed. + :rtype: None") AIS_Manipulator; + AIS_Manipulator (); + + /****************** AIS_Manipulator ******************/ + %feature("compactdefaultargs") AIS_Manipulator; + %feature("autodoc", "* Constructs a manipulator object with input location and positions of axes and all parts to be displayed. + :param thePosition: + :type thePosition: gp_Ax2 + :rtype: None") AIS_Manipulator; + AIS_Manipulator (const gp_Ax2 & thePosition); + + /****************** ActiveMode ******************/ + %feature("compactdefaultargs") ActiveMode; + %feature("autodoc", "* @name Setters for parameters + :rtype: AIS_ManipulatorMode") ActiveMode; + AIS_ManipulatorMode ActiveMode (); + + /****************** Attach ******************/ + %feature("compactdefaultargs") Attach; + %feature("autodoc", "* Attaches himself to the input interactive object and become displayed in the same context. It is placed in the center of object bounding box, and its size is adjusted to the object bounding box. + :param theObject: + :type theObject: opencascade::handle & + :param theOptions: default value is OptionsForAttach() + :type theOptions: OptionsForAttach & + :rtype: None") Attach; + void Attach (const opencascade::handle & theObject,const OptionsForAttach & theOptions = OptionsForAttach()); + + /****************** Attach ******************/ + %feature("compactdefaultargs") Attach; + %feature("autodoc", "* Attaches himself to the input interactive object group and become displayed in the same context. It become attached to the first object, baut manage manipulation of the whole group. It is placed in the center of object bounding box, and its size is adjusted to the object bounding box. + :param theObject: + :type theObject: opencascade::handle & + :param theOptions: default value is OptionsForAttach() + :type theOptions: OptionsForAttach & + :rtype: None") Attach; + void Attach (const opencascade::handle & theObject,const OptionsForAttach & theOptions = OptionsForAttach()); + + /****************** ClearSelected ******************/ + %feature("compactdefaultargs") ClearSelected; + %feature("autodoc", "* Method which clear all selected owners belonging to this selectable object ( for fast presentation draw ). + :rtype: void") ClearSelected; + virtual void ClearSelected (); + + /****************** Compute ******************/ + %feature("compactdefaultargs") Compute; + %feature("autodoc", "* @name Presentation computation Fills presentation. @note Manipulator presentation does not use display mode and for all modes has the same presentation. + :param thePrsMgr: + :type thePrsMgr: opencascade::handle & + :param thePrs: + :type thePrs: opencascade::handle & + :param theMode: default value is 0 + :type theMode: int + :rtype: void") Compute; + virtual void Compute (const opencascade::handle & thePrsMgr,const opencascade::handle & thePrs,const Standard_Integer theMode = 0); + + /****************** ComputeSelection ******************/ + %feature("compactdefaultargs") ComputeSelection; + %feature("autodoc", "* Computes selection sensitive zones (triangulation) for manipulator. @param theNode [in] Selection mode that is treated as transformation mode. + :param theSelection: + :type theSelection: opencascade::handle & + :param theMode: + :type theMode: int + :rtype: void") ComputeSelection; + virtual void ComputeSelection (const opencascade::handle & theSelection,const Standard_Integer theMode); + + /****************** DeactivateCurrentMode ******************/ + %feature("compactdefaultargs") DeactivateCurrentMode; + %feature("autodoc", "* Make inactive the current selected manipulator part and reset current axis index and current mode. After its call HasActiveMode() returns false. @sa HasActiveMode() + :rtype: None") DeactivateCurrentMode; + void DeactivateCurrentMode (); + + /****************** Detach ******************/ + %feature("compactdefaultargs") Detach; + %feature("autodoc", "* Detaches himself from the owner object, and removes itself from context. + :rtype: None") Detach; + void Detach (); + + /****************** EnableMode ******************/ + %feature("compactdefaultargs") EnableMode; + %feature("autodoc", "* Enable manipualtion mode. @warning It activates selection mode in the current context. If manipulator is not displayed, no mode will be activated. + :param theMode: + :type theMode: AIS_ManipulatorMode + :rtype: None") EnableMode; + void EnableMode (const AIS_ManipulatorMode theMode); + + /****************** HasActiveMode ******************/ + %feature("compactdefaultargs") HasActiveMode; + %feature("autodoc", "* returns true if some part of manipulator is selected (transformation mode is active, and owning object can be transformed). + :rtype: bool") HasActiveMode; + Standard_Boolean HasActiveMode (); + + /****************** HasActiveTransformation ******************/ + %feature("compactdefaultargs") HasActiveTransformation; + %feature("autodoc", ":rtype: bool") HasActiveTransformation; + Standard_Boolean HasActiveTransformation (); + + /****************** HilightOwnerWithColor ******************/ + %feature("compactdefaultargs") HilightOwnerWithColor; + %feature("autodoc", "* Method which hilight an owner belonging to this selectable object ( for fast presentation draw ). + :param thePM: + :type thePM: opencascade::handle & + :param theStyle: + :type theStyle: opencascade::handle & + :param theOwner: + :type theOwner: opencascade::handle & + :rtype: void") HilightOwnerWithColor; + virtual void HilightOwnerWithColor (const opencascade::handle & thePM,const opencascade::handle & theStyle,const opencascade::handle & theOwner); + + /****************** HilightSelected ******************/ + %feature("compactdefaultargs") HilightSelected; + %feature("autodoc", "* Method which draws selected owners ( for fast presentation draw ). + :param thePM: + :type thePM: opencascade::handle & + :param theSeq: + :type theSeq: SelectMgr_SequenceOfOwner & + :rtype: void") HilightSelected; + virtual void HilightSelected (const opencascade::handle & thePM,const SelectMgr_SequenceOfOwner & theSeq); + + /****************** IsAttached ******************/ + %feature("compactdefaultargs") IsAttached; + %feature("autodoc", "* returns true if manipulator is attached to some interactive object (has owning object). + :rtype: bool") IsAttached; + Standard_Boolean IsAttached (); + + /****************** IsAutoHilight ******************/ + %feature("compactdefaultargs") IsAutoHilight; + %feature("autodoc", "* Disables auto highlighting to use HilightSelected() and HilightOwnerWithColor() overridden methods. + :rtype: bool") IsAutoHilight; + Standard_Boolean IsAutoHilight (); + + /****************** IsModeActivationOnDetection ******************/ + %feature("compactdefaultargs") IsModeActivationOnDetection; + %feature("autodoc", "* returns true if manual mode activation is enabled. + :rtype: bool") IsModeActivationOnDetection; + Standard_Boolean IsModeActivationOnDetection (); + + /****************** Object ******************/ + %feature("compactdefaultargs") Object; + %feature("autodoc", "* returns the first (leading) object of the owning objects. + :rtype: opencascade::handle") Object; + opencascade::handle Object (); + + /****************** Object ******************/ + %feature("compactdefaultargs") Object; + %feature("autodoc", "* returns one of the owning objects. @warning raises program error if theIndex is more than owning objects count or less than 1. + :param theIndex: + :type theIndex: int + :rtype: opencascade::handle") Object; + opencascade::handle Object (const Standard_Integer theIndex); + + /****************** ObjectTransformation ******************/ + %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. + :param theX: + :type theX: int + :param theY: + :type theY: int + :param theView: + :type theView: opencascade::handle & + :param theTrsf: + :type theTrsf: gp_Trsf + :rtype: bool") ObjectTransformation; + Standard_Boolean ObjectTransformation (const Standard_Integer theX,const Standard_Integer theY,const opencascade::handle & theView,gp_Trsf & theTrsf); + + /****************** Objects ******************/ + %feature("compactdefaultargs") Objects; + %feature("autodoc", "* returns all owning objects. + :rtype: opencascade::handle") Objects; + opencascade::handle Objects (); + + /****************** Position ******************/ + %feature("compactdefaultargs") Position; + %feature("autodoc", "* returns poition of manipulator interactive object. + :rtype: gp_Ax2") Position; + const gp_Ax2 Position (); + + /****************** SetGap ******************/ + %feature("compactdefaultargs") SetGap; + %feature("autodoc", "* Sets gaps between translator, scaler and rotator sub-presentations. + :param theValue: + :type theValue: Standard_ShortReal + :rtype: None") SetGap; + void SetGap (const Standard_ShortReal theValue); + + /****************** SetModeActivationOnDetection ******************/ + %feature("compactdefaultargs") SetModeActivationOnDetection; + %feature("autodoc", "* Enables mode activation on detection (highlighting). By default, mode is activated on selection of manipulator part. @warning If this mode is enabled, selection of parts does nothing. + :param theToEnable: + :type theToEnable: bool + :rtype: None") SetModeActivationOnDetection; + void SetModeActivationOnDetection (const Standard_Boolean theToEnable); + + /****************** SetPart ******************/ + %feature("compactdefaultargs") SetPart; + %feature("autodoc", "* Disable or enable visual parts for translation, rotation or scaling for some axis. By default all parts are enabled (will be displayed). @warning Enabling or disabling of visual parts of manipulator does not manage the manipulation (selection) mode. @warning Raises program error if axis index is < 0 or > 2. + :param theAxisIndex: + :type theAxisIndex: int + :param theMode: + :type theMode: AIS_ManipulatorMode + :param theIsEnabled: + :type theIsEnabled: bool + :rtype: None") SetPart; + void SetPart (const Standard_Integer theAxisIndex,const AIS_ManipulatorMode theMode,const Standard_Boolean theIsEnabled); + + /****************** SetPart ******************/ + %feature("compactdefaultargs") SetPart; + %feature("autodoc", "* Disable or enable visual parts for translation, rotation or scaling for ALL axes. By default all parts are enabled (will be displayed). @warning Enabling or disabling of visual parts of manipulator does not manage the manipulation (selection) mode. @warning Raises program error if axis index is < 0 or > 2. + :param theMode: + :type theMode: AIS_ManipulatorMode + :param theIsEnabled: + :type theIsEnabled: bool + :rtype: None") SetPart; + void SetPart (const AIS_ManipulatorMode theMode,const Standard_Boolean theIsEnabled); + + /****************** SetPosition ******************/ + %feature("compactdefaultargs") SetPosition; + %feature("autodoc", "* Sets position of the manipulator object. + :param thePosition: + :type thePosition: gp_Ax2 + :rtype: None") SetPosition; + void SetPosition (const gp_Ax2 & thePosition); + + /****************** SetSize ******************/ + %feature("compactdefaultargs") SetSize; + %feature("autodoc", "* Sets size (length of side of the manipulator cubic bounding box. + :param theSideLength: + :type theSideLength: Standard_ShortReal + :rtype: None") SetSize; + void SetSize (const Standard_ShortReal theSideLength); + + /****************** SetTransformPersistence ******************/ + %feature("compactdefaultargs") SetTransformPersistence; + %feature("autodoc", "* Redefines transform persistence management to setup transformation for sub-presentation of axes. @warning this interactive object does not support custom transformation persistence when using \sa ZoomPersistence mode. In this mode the transformation persistence flags for presentations are overridden by this class. @warning Invokes debug assertion to catch incompatible usage of the method with \sa ZoomPersistence mode, silently does nothing in release mode. @warning revise use of AdjustSize argument of of \sa AttachToObjects method when enabling zoom persistence. + :param theTrsfPers: + :type theTrsfPers: opencascade::handle & + :rtype: void") SetTransformPersistence; + virtual void SetTransformPersistence (const opencascade::handle & theTrsfPers); + + /****************** SetZoomPersistence ******************/ + %feature("compactdefaultargs") SetZoomPersistence; + %feature("autodoc", "* @name Configuration of graphical transformations Enable or disable zoom persistence mode for the manipulator. With this mode turned on the presentation will keep fixed screen size. @warning when turned on this option overrides transform persistence properties and local transformation to achieve necessary visual effect. @warning revise use of AdjustSize argument of of \sa AttachToObjects method when enabling zoom persistence. + :param theToEnable: + :type theToEnable: bool + :rtype: None") SetZoomPersistence; + void SetZoomPersistence (const Standard_Boolean theToEnable); + + /****************** Size ******************/ + %feature("compactdefaultargs") Size; + %feature("autodoc", ":rtype: Standard_ShortReal") Size; + Standard_ShortReal Size (); + + /****************** StartTransform ******************/ + %feature("compactdefaultargs") StartTransform; + %feature("autodoc", "* Init start (reference) transformation. @warning It is used in chain with StartTransform-Transform(gp_Trsf)-StopTransform and is used only for custom transform set. If Transform(const Standard_Integer, const Standard_Integer) is used, initial data is set automatically, and it is reset on DeactivateCurrentMode call if it is not reset yet. + :param theX: + :type theX: int + :param theY: + :type theY: int + :param theView: + :type theView: opencascade::handle & + :rtype: None") StartTransform; + void StartTransform (const Standard_Integer theX,const Standard_Integer theY,const opencascade::handle & theView); + + /****************** StartTransformation ******************/ + %feature("compactdefaultargs") StartTransformation; + %feature("autodoc", ":rtype: gp_Trsf") StartTransformation; + gp_Trsf StartTransformation (); + + /****************** StartTransformation ******************/ + %feature("compactdefaultargs") StartTransformation; + %feature("autodoc", ":param theIndex: + :type theIndex: int + :rtype: gp_Trsf") StartTransformation; + gp_Trsf StartTransformation (Standard_Integer theIndex); + + /****************** StopTransform ******************/ + %feature("compactdefaultargs") StopTransform; + %feature("autodoc", "* Reset start (reference) transformation. @param theToApply [in] option to apply or to cancel the started transformation. @warning It is used in chain with StartTransform-Transform(gp_Trsf)-StopTransform and is used only for custom transform set. + :param theToApply: default value is Standard_True + :type theToApply: bool + :rtype: None") StopTransform; + void StopTransform (const Standard_Boolean theToApply = Standard_True); + + /****************** Transform ******************/ + %feature("compactdefaultargs") Transform; + %feature("autodoc", "* Apply to the owning objects the input transformation. @remark The transformation is set using SetLocalTransformation for owning objects. The location of the manipulator is stored also in Local Transformation, so that there's no need to redisplay objects. @warning It is used in chain with StartTransform-Transform(gp_Trsf)-StopTransform and is used only for custom transform set. @warning It will does nothing if transformation is not initiated (with StartTransform() call). + :param aTrsf: + :type aTrsf: gp_Trsf + :rtype: None") Transform; + void Transform (const gp_Trsf & aTrsf); + + /****************** Transform ******************/ + %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) + :param theX: + :type theX: int + :param theY: + :type theY: int + :param theView: + :type theView: opencascade::handle & + :rtype: gp_Trsf") Transform; + gp_Trsf Transform (const Standard_Integer theX,const Standard_Integer theY,const opencascade::handle & theView); + + /****************** ZoomPersistence ******************/ + %feature("compactdefaultargs") ZoomPersistence; + %feature("autodoc", "* Returns state of zoom persistence mode, whether it turned on or off. + :rtype: bool") ZoomPersistence; + Standard_Boolean ZoomPersistence (); + +}; + + +%make_alias(AIS_Manipulator) + +%extend AIS_Manipulator { + %pythoncode { + __repr__ = _dumps_object + } +}; + +/************************ +* class AIS_MediaPlayer * +************************/ +%nodefaultctor AIS_MediaPlayer; +class AIS_MediaPlayer : public AIS_InteractiveObject { + public: + /****************** AIS_MediaPlayer ******************/ + %feature("compactdefaultargs") AIS_MediaPlayer; + %feature("autodoc", "* Empty constructor. + :rtype: None") AIS_MediaPlayer; + AIS_MediaPlayer (); + + /****************** Duration ******************/ + %feature("compactdefaultargs") Duration; + %feature("autodoc", "* Return duration. + :rtype: double") Duration; + double Duration (); + + /****************** OpenInput ******************/ + %feature("compactdefaultargs") OpenInput; + %feature("autodoc", "* Open specified file. + :param thePath: + :type thePath: TCollection_AsciiString & + :param theToWait: + :type theToWait: bool + :rtype: None") OpenInput; + void OpenInput (const TCollection_AsciiString & thePath,Standard_Boolean theToWait); + + /****************** PlayPause ******************/ + %feature("compactdefaultargs") PlayPause; + %feature("autodoc", "* Switch playback state. + :rtype: None") PlayPause; + void PlayPause (); + + /****************** PlayerContext ******************/ + %feature("compactdefaultargs") PlayerContext; + %feature("autodoc", "* Return player context. + :rtype: opencascade::handle") PlayerContext; + const opencascade::handle & PlayerContext (); + + /****************** PresentFrame ******************/ + %feature("compactdefaultargs") PresentFrame; + %feature("autodoc", "* Display new frame. + :param theLeftCorner: + :type theLeftCorner: Graphic3d_Vec2i & + :param theMaxSize: + :type theMaxSize: Graphic3d_Vec2i & + :rtype: bool") PresentFrame; + bool PresentFrame (const Graphic3d_Vec2i & theLeftCorner,const Graphic3d_Vec2i & theMaxSize); + + /****************** SetCallback ******************/ + %feature("compactdefaultargs") SetCallback; + %feature("autodoc", "* Setup callback to be called on queue progress (e.g. when new frame should be displayed). + :param theCallbackFunction: + :type theCallbackFunction: Graphic3d_MediaTextureSet::CallbackOnUpdate_t + :param theCallbackUserPtr: + :type theCallbackUserPtr: void * + :rtype: None") SetCallback; + void SetCallback (Graphic3d_MediaTextureSet::CallbackOnUpdate_t theCallbackFunction,void * theCallbackUserPtr); + + /****************** SetClosePlayer ******************/ + %feature("compactdefaultargs") SetClosePlayer; + %feature("autodoc", "* Schedule player to be closed. + :rtype: None") SetClosePlayer; + void SetClosePlayer (); + +}; + + +%extend AIS_MediaPlayer { + %pythoncode { + __repr__ = _dumps_object + } +}; + +/***************************************** +* class AIS_MultipleConnectedInteractive * +*****************************************/ %nodefaultctor AIS_MultipleConnectedInteractive; class AIS_MultipleConnectedInteractive : public AIS_InteractiveObject { public: + /****************** AIS_MultipleConnectedInteractive ******************/ %feature("compactdefaultargs") AIS_MultipleConnectedInteractive; - %feature("autodoc", " * Initializes the Interactive Object with multiple connections to AIS_Interactive objects. - - :rtype: None -") AIS_MultipleConnectedInteractive; + %feature("autodoc", "* Initializes the Interactive Object with multiple connections to AIS_Interactive objects. + :rtype: None") AIS_MultipleConnectedInteractive; AIS_MultipleConnectedInteractive (); + + /****************** AcceptShapeDecomposition ******************/ + %feature("compactdefaultargs") AcceptShapeDecomposition; + %feature("autodoc", "* Informs the graphic context that the interactive Object may be decomposed into sub-shapes for dynamic selection. + :rtype: bool") AcceptShapeDecomposition; + virtual Standard_Boolean AcceptShapeDecomposition (); + + /****************** Compute ******************/ + %feature("compactdefaultargs") Compute; + %feature("autodoc", "* computes the presentation according to a point of view given by . To be Used when the associated degenerated Presentations have been transformed by which is not a Pure Translation. The HLR Prs can't be deducted automatically WARNING : must be applied to the object to display before computation !!! + :param aProjector: + :type aProjector: opencascade::handle & + :param aTrsf: + :type aTrsf: opencascade::handle & + :param aPresentation: + :type aPresentation: opencascade::handle & + :rtype: void") Compute; + virtual void Compute (const opencascade::handle & aProjector,const opencascade::handle & aTrsf,const opencascade::handle & aPresentation); + + /****************** Compute ******************/ + %feature("compactdefaultargs") Compute; + %feature("autodoc", ":param aProjector: + :type aProjector: opencascade::handle & + :param aPresentation: + :type aPresentation: opencascade::handle & + :rtype: void") Compute; + virtual void Compute (const opencascade::handle & aProjector,const opencascade::handle & aPresentation); + + /****************** Connect ******************/ %feature("compactdefaultargs") Connect; - %feature("autodoc", " * Establishes the connection between the Connected Interactive Object, theInteractive, and its reference. Copies local transformation and transformation persistence mode from theInteractive. returns created instance object (AIS_ConnectedInteractive or AIS_MultipleConnectedInteractive) + %feature("autodoc", "* Establishes the connection between the Connected Interactive Object, theInteractive, and its reference. Locates instance in theLocation and applies specified transformation persistence mode. returns created instance object (AIS_ConnectedInteractive or AIS_MultipleConnectedInteractive) + :param theAnotherObj: + :type theAnotherObj: opencascade::handle & + :param theLocation: + :type theLocation: opencascade::handle & + :param theTrsfPers: + :type theTrsfPers: opencascade::handle & + :rtype: opencascade::handle") Connect; + opencascade::handle Connect (const opencascade::handle & theAnotherObj,const opencascade::handle & theLocation,const opencascade::handle & theTrsfPers); - :param theInteractive: - :type theInteractive: Handle_AIS_InteractiveObject & - :rtype: Handle_AIS_InteractiveObject -") Connect; - Handle_AIS_InteractiveObject Connect (const Handle_AIS_InteractiveObject & theInteractive); + /****************** Connect ******************/ %feature("compactdefaultargs") Connect; - %feature("autodoc", " * Establishes the connection between the Connected Interactive Object, theInteractive, and its reference. Locates instance in theLocation and copies transformation persistence mode from theInteractive. returns created instance object (AIS_ConnectedInteractive or AIS_MultipleConnectedInteractive) + %feature("autodoc", "* Establishes the connection between the Connected Interactive Object, theInteractive, and its reference. Copies local transformation and transformation persistence mode from theInteractive. returns created instance object (AIS_ConnectedInteractive or AIS_MultipleConnectedInteractive) + :param theAnotherObj: + :type theAnotherObj: opencascade::handle & + :rtype: opencascade::handle") Connect; + opencascade::handle Connect (const opencascade::handle & theAnotherObj); - :param theInteractive: - :type theInteractive: Handle_AIS_InteractiveObject & + /****************** Connect ******************/ + %feature("compactdefaultargs") Connect; + %feature("autodoc", "* Establishes the connection between the Connected Interactive Object, theInteractive, and its reference. Locates instance in theLocation and copies transformation persistence mode from theInteractive. returns created instance object (AIS_ConnectedInteractive or AIS_MultipleConnectedInteractive) + :param theAnotherObj: + :type theAnotherObj: opencascade::handle & :param theLocation: :type theLocation: gp_Trsf - :rtype: Handle_AIS_InteractiveObject -") Connect; - Handle_AIS_InteractiveObject Connect (const Handle_AIS_InteractiveObject & theInteractive,const gp_Trsf & theLocation); + :rtype: opencascade::handle") Connect; + opencascade::handle Connect (const opencascade::handle & theAnotherObj,const gp_Trsf & theLocation); + + /****************** Connect ******************/ %feature("compactdefaultargs") Connect; - %feature("autodoc", " * Establishes the connection between the Connected Interactive Object, theInteractive, and its reference. Locates instance in theLocation and applies specified transformation persistence mode. returns created instance object (AIS_ConnectedInteractive or AIS_MultipleConnectedInteractive) + %feature("autodoc", "* Establishes the connection between the Connected Interactive Object, theInteractive, and its reference. Locates instance in theLocation and applies specified transformation persistence mode. returns created instance object (AIS_ConnectedInteractive or AIS_MultipleConnectedInteractive) + :param theAnotherObj: + :type theAnotherObj: opencascade::handle & + :param theLocation: + :type theLocation: gp_Trsf + :param theTrsfPers: + :type theTrsfPers: opencascade::handle & + :rtype: opencascade::handle") Connect; + opencascade::handle Connect (const opencascade::handle & theAnotherObj,const gp_Trsf & theLocation,const opencascade::handle & theTrsfPers); - :param theInteractive: - :type theInteractive: Handle_AIS_InteractiveObject & + /****************** Connect ******************/ + %feature("compactdefaultargs") Connect; + %feature("autodoc", ":param theInteractive: + :type theInteractive: opencascade::handle & :param theLocation: :type theLocation: gp_Trsf :param theTrsfPersFlag: :type theTrsfPersFlag: Graphic3d_TransModeFlags & :param theTrsfPersPoint: :type theTrsfPersPoint: gp_Pnt - :rtype: Handle_AIS_InteractiveObject -") Connect; - virtual Handle_AIS_InteractiveObject Connect (const Handle_AIS_InteractiveObject & theInteractive,const gp_Trsf & theLocation,const Graphic3d_TransModeFlags & theTrsfPersFlag,const gp_Pnt & theTrsfPersPoint); - %feature("compactdefaultargs") Type; - %feature("autodoc", " :rtype: AIS_KindOfInteractive -") Type; - virtual AIS_KindOfInteractive Type (); - %feature("compactdefaultargs") Signature; - %feature("autodoc", " :rtype: int -") Signature; - virtual Standard_Integer Signature (); - %feature("compactdefaultargs") HasConnection; - %feature("autodoc", " * Returns true if the object is connected to others. + :rtype: opencascade::handle") Connect; + opencascade::handle Connect (const opencascade::handle & theInteractive,const gp_Trsf & theLocation,const Graphic3d_TransModeFlags & theTrsfPersFlag,const gp_Pnt & theTrsfPersPoint); - :rtype: bool -") HasConnection; - Standard_Boolean HasConnection (); + /****************** Disconnect ******************/ %feature("compactdefaultargs") Disconnect; - %feature("autodoc", " * Removes the connection with theInteractive. - + %feature("autodoc", "* Removes the connection with theInteractive. :param theInteractive: - :type theInteractive: Handle_AIS_InteractiveObject & - :rtype: None -") Disconnect; - void Disconnect (const Handle_AIS_InteractiveObject & theInteractive); - %feature("compactdefaultargs") DisconnectAll; - %feature("autodoc", " * Clears all the connections to objects. + :type theInteractive: opencascade::handle & + :rtype: None") Disconnect; + void Disconnect (const opencascade::handle & theInteractive); - :rtype: None -") DisconnectAll; + /****************** DisconnectAll ******************/ + %feature("compactdefaultargs") DisconnectAll; + %feature("autodoc", "* Clears all the connections to objects. + :rtype: None") DisconnectAll; void DisconnectAll (); - %feature("compactdefaultargs") Compute; - %feature("autodoc", " * computes the presentation according to a point of view given by . To be Used when the associated degenerated Presentations have been transformed by which is not a Pure Translation. The HLR Prs can't be deducted automatically WARNING : must be applied to the object to display before computation !!! - :param aProjector: - :type aProjector: Handle_Prs3d_Projector & - :param aTrsf: - :type aTrsf: Handle_Geom_Transformation & - :param aPresentation: - :type aPresentation: Handle_Prs3d_Presentation & - :rtype: void -") Compute; - virtual void Compute (const Handle_Prs3d_Projector & aProjector,const Handle_Geom_Transformation & aTrsf,const Handle_Prs3d_Presentation & aPresentation); - %feature("compactdefaultargs") Compute; - %feature("autodoc", " :param aProjector: - :type aProjector: Handle_Prs3d_Projector & - :param aPresentation: - :type aPresentation: Handle_Prs3d_Presentation & - :rtype: void -") Compute; - virtual void Compute (const Handle_Prs3d_Projector & aProjector,const Handle_Prs3d_Presentation & aPresentation); - %feature("compactdefaultargs") AcceptShapeDecomposition; - %feature("autodoc", " * Informs the graphic context that the interactive Object may be decomposed into sub-shapes for dynamic selection. + /****************** GetAssemblyOwner ******************/ + %feature("compactdefaultargs") GetAssemblyOwner; + %feature("autodoc", "* Returns common entity owner if the object is an assembly + :rtype: opencascade::handle") GetAssemblyOwner; + const opencascade::handle & GetAssemblyOwner (); + + /****************** GlobalSelOwner ******************/ + %feature("compactdefaultargs") GlobalSelOwner; + %feature("autodoc", "* Returns the owner of mode for selection of object as a whole + :rtype: opencascade::handle") GlobalSelOwner; + opencascade::handle GlobalSelOwner (); + + /****************** HasConnection ******************/ + %feature("compactdefaultargs") HasConnection; + %feature("autodoc", "* Returns true if the object is connected to others. + :rtype: bool") HasConnection; + Standard_Boolean HasConnection (); + + /****************** SetContext ******************/ + %feature("compactdefaultargs") SetContext; + %feature("autodoc", "* Assigns interactive context. + :param theCtx: + :type theCtx: opencascade::handle & + :rtype: void") SetContext; + virtual void SetContext (const opencascade::handle & theCtx); + + /****************** Signature ******************/ + %feature("compactdefaultargs") Signature; + %feature("autodoc", ":rtype: int") Signature; + virtual Standard_Integer Signature (); + + /****************** Type ******************/ + %feature("compactdefaultargs") Type; + %feature("autodoc", ":rtype: AIS_KindOfInteractive") Type; + virtual AIS_KindOfInteractive Type (); - :rtype: bool -") AcceptShapeDecomposition; - virtual Standard_Boolean AcceptShapeDecomposition (); }; @@ -7003,36 +7205,40 @@ class AIS_MultipleConnectedInteractive : public AIS_InteractiveObject { __repr__ = _dumps_object } }; + +/****************** +* class AIS_Plane * +******************/ %nodefaultctor AIS_Plane; class AIS_Plane : public AIS_InteractiveObject { public: + /****************** AIS_Plane ******************/ %feature("compactdefaultargs") AIS_Plane; - %feature("autodoc", " * initializes the plane aComponent. If the mode aCurrentMode equals true, the drawing tool, 'Drawer' is not initialized. - + %feature("autodoc", "* initializes the plane aComponent. If the mode aCurrentMode equals true, the drawing tool, 'Drawer' is not initialized. :param aComponent: - :type aComponent: Handle_Geom_Plane & + :type aComponent: opencascade::handle & :param aCurrentMode: default value is Standard_False :type aCurrentMode: bool - :rtype: None -") AIS_Plane; - AIS_Plane (const Handle_Geom_Plane & aComponent,const Standard_Boolean aCurrentMode = Standard_False); - %feature("compactdefaultargs") AIS_Plane; - %feature("autodoc", " * initializes the plane aComponent and the point aCenter. If the mode aCurrentMode equals true, the drawing tool, 'Drawer' is not initialized. aCurrentMode equals true, the drawing tool, 'Drawer' is not initialized. + :rtype: None") AIS_Plane; + AIS_Plane (const opencascade::handle & aComponent,const Standard_Boolean aCurrentMode = Standard_False); + /****************** AIS_Plane ******************/ + %feature("compactdefaultargs") AIS_Plane; + %feature("autodoc", "* initializes the plane aComponent and the point aCenter. If the mode aCurrentMode equals true, the drawing tool, 'Drawer' is not initialized. aCurrentMode equals true, the drawing tool, 'Drawer' is not initialized. :param aComponent: - :type aComponent: Handle_Geom_Plane & + :type aComponent: opencascade::handle & :param aCenter: :type aCenter: gp_Pnt :param aCurrentMode: default value is Standard_False :type aCurrentMode: bool - :rtype: None -") AIS_Plane; - AIS_Plane (const Handle_Geom_Plane & aComponent,const gp_Pnt & aCenter,const Standard_Boolean aCurrentMode = Standard_False); - %feature("compactdefaultargs") AIS_Plane; - %feature("autodoc", " * initializes the plane aComponent, the point aCenter, and the minimum and maximum points, aPmin and aPmax. If the mode aCurrentMode equals true, the drawing tool, 'Drawer' is not initialized. + :rtype: None") AIS_Plane; + AIS_Plane (const opencascade::handle & aComponent,const gp_Pnt & aCenter,const Standard_Boolean aCurrentMode = Standard_False); + /****************** AIS_Plane ******************/ + %feature("compactdefaultargs") AIS_Plane; + %feature("autodoc", "* initializes the plane aComponent, the point aCenter, and the minimum and maximum points, aPmin and aPmax. If the mode aCurrentMode equals true, the drawing tool, 'Drawer' is not initialized. :param aComponent: - :type aComponent: Handle_Geom_Plane & + :type aComponent: opencascade::handle & :param aCenter: :type aCenter: gp_Pnt :param aPmin: @@ -7041,225 +7247,228 @@ class AIS_Plane : public AIS_InteractiveObject { :type aPmax: gp_Pnt :param aCurrentMode: default value is Standard_False :type aCurrentMode: bool - :rtype: None -") AIS_Plane; - AIS_Plane (const Handle_Geom_Plane & aComponent,const gp_Pnt & aCenter,const gp_Pnt & aPmin,const gp_Pnt & aPmax,const Standard_Boolean aCurrentMode = Standard_False); + :rtype: None") AIS_Plane; + AIS_Plane (const opencascade::handle & aComponent,const gp_Pnt & aCenter,const gp_Pnt & aPmin,const gp_Pnt & aPmax,const Standard_Boolean aCurrentMode = Standard_False); + + /****************** AIS_Plane ******************/ %feature("compactdefaultargs") AIS_Plane; - %feature("autodoc", " :param aComponent: - :type aComponent: Handle_Geom_Axis2Placement & + %feature("autodoc", ":param aComponent: + :type aComponent: opencascade::handle & :param aPlaneType: :type aPlaneType: AIS_TypeOfPlane :param aCurrentMode: default value is Standard_False :type aCurrentMode: bool - :rtype: None -") AIS_Plane; - AIS_Plane (const Handle_Geom_Axis2Placement & aComponent,const AIS_TypeOfPlane aPlaneType,const Standard_Boolean aCurrentMode = Standard_False); - %feature("compactdefaultargs") SetSize; - %feature("autodoc", " * Same value for x and y directions + :rtype: None") AIS_Plane; + AIS_Plane (const opencascade::handle & aComponent,const AIS_TypeOfPlane aPlaneType,const Standard_Boolean aCurrentMode = Standard_False); - :param aValue: - :type aValue: float - :rtype: None -") SetSize; - void SetSize (const Standard_Real aValue); - %feature("compactdefaultargs") SetSize; - %feature("autodoc", " * Sets the size defined by the length along the X axis XVal and the length along the Y axis YVal. + /****************** AcceptDisplayMode ******************/ + %feature("compactdefaultargs") AcceptDisplayMode; + %feature("autodoc", "* Returns true if the display mode selected, aMode, is valid for planes. + :param aMode: + :type aMode: int + :rtype: bool") AcceptDisplayMode; + virtual Standard_Boolean AcceptDisplayMode (const Standard_Integer aMode); - :param Xval: - :type Xval: float - :param YVal: - :type YVal: float - :rtype: None -") SetSize; - void SetSize (const Standard_Real Xval,const Standard_Real YVal); - %feature("compactdefaultargs") UnsetSize; - %feature("autodoc", " :rtype: None -") UnsetSize; - void UnsetSize (); - %feature("compactdefaultargs") Size; - %feature("autodoc", " :param X: - :type X: float & - :param Y: - :type Y: float & - :rtype: bool -") Size; - Standard_Boolean Size (Standard_Real &OutValue,Standard_Real &OutValue); + /****************** Axis2Placement ******************/ + %feature("compactdefaultargs") Axis2Placement; + %feature("autodoc", "* Returns the position of the plane's axis2 system identifying the x, y, or z axis and giving the plane a direction in 3D space. An axis2 system is a right-handed coordinate system. + :rtype: opencascade::handle") Axis2Placement; + opencascade::handle Axis2Placement (); + + /****************** Center ******************/ + %feature("compactdefaultargs") Center; + %feature("autodoc", "* Returns the coordinates of the center point. + :rtype: gp_Pnt") Center; + const gp_Pnt Center (); + + /****************** Component ******************/ + %feature("compactdefaultargs") Component; + %feature("autodoc", "* Returns the component specified in SetComponent. + :rtype: opencascade::handle") Component; + const opencascade::handle & Component (); + + /****************** Compute ******************/ + %feature("compactdefaultargs") Compute; + %feature("autodoc", "* computes the presentation according to a point of view given by . To be Used when the associated degenerated Presentations have been transformed by which is not a Pure Translation. The HLR Prs can't be deducted automatically WARNING : must be applied to the object to display before computation !!! + :param aProjector: + :type aProjector: opencascade::handle & + :param aTrsf: + :type aTrsf: opencascade::handle & + :param aPresentation: + :type aPresentation: opencascade::handle & + :rtype: void") Compute; + virtual void Compute (const opencascade::handle & aProjector,const opencascade::handle & aTrsf,const opencascade::handle & aPresentation); + + /****************** ComputeSelection ******************/ + %feature("compactdefaultargs") ComputeSelection; + %feature("autodoc", ":param theSelection: + :type theSelection: opencascade::handle & + :param theMode: + :type theMode: int + :rtype: void") ComputeSelection; + virtual void ComputeSelection (const opencascade::handle & theSelection,const Standard_Integer theMode); + + /****************** CurrentMode ******************/ + %feature("compactdefaultargs") CurrentMode; + %feature("autodoc", "* Returns the non-default current display mode set by SetCurrentMode. + :rtype: bool") CurrentMode; + Standard_Boolean CurrentMode (); + + /****************** HasOwnSize ******************/ %feature("compactdefaultargs") HasOwnSize; - %feature("autodoc", " :rtype: bool -") HasOwnSize; + %feature("autodoc", ":rtype: bool") HasOwnSize; Standard_Boolean HasOwnSize (); - %feature("compactdefaultargs") Signature; - %feature("autodoc", " :rtype: int -") Signature; - virtual Standard_Integer Signature (); - %feature("compactdefaultargs") Type; - %feature("autodoc", " :rtype: AIS_KindOfInteractive -") Type; - virtual AIS_KindOfInteractive Type (); - %feature("compactdefaultargs") Component; - %feature("autodoc", " * Returns the component specified in SetComponent. - :rtype: Handle_Geom_Plane -") Component; - Handle_Geom_Plane Component (); - %feature("compactdefaultargs") SetComponent; - %feature("autodoc", " * Creates an instance of the plane aComponent. + /****************** IsXYZPlane ******************/ + %feature("compactdefaultargs") IsXYZPlane; + %feature("autodoc", "* Returns the type of plane - xy, yz, or xz. + :rtype: bool") IsXYZPlane; + Standard_Boolean IsXYZPlane (); - :param aComponent: - :type aComponent: Handle_Geom_Plane & - :rtype: None -") SetComponent; - void SetComponent (const Handle_Geom_Plane & aComponent); + /****************** PlaneAttributes ******************/ %feature("compactdefaultargs") PlaneAttributes; - %feature("autodoc", " * Returns the settings for the selected plane aComponent, provided in SetPlaneAttributes. These include the points aCenter, aPmin, and aPmax - + %feature("autodoc", "* Returns the settings for the selected plane aComponent, provided in SetPlaneAttributes. These include the points aCenter, aPmin, and aPmax :param aComponent: - :type aComponent: Handle_Geom_Plane & + :type aComponent: opencascade::handle & :param aCenter: :type aCenter: gp_Pnt :param aPmin: :type aPmin: gp_Pnt :param aPmax: :type aPmax: gp_Pnt - :rtype: bool -") PlaneAttributes; - Standard_Boolean PlaneAttributes (Handle_Geom_Plane & aComponent,gp_Pnt & aCenter,gp_Pnt & aPmin,gp_Pnt & aPmax); - %feature("compactdefaultargs") SetPlaneAttributes; - %feature("autodoc", " * Allows you to provide settings other than default ones for the selected plane. These include: center point aCenter, maximum aPmax and minimum aPmin. + :rtype: bool") PlaneAttributes; + Standard_Boolean PlaneAttributes (opencascade::handle & aComponent,gp_Pnt & aCenter,gp_Pnt & aPmin,gp_Pnt & aPmax); + + /****************** SetAxis2Placement ******************/ + %feature("compactdefaultargs") SetAxis2Placement; + %feature("autodoc", "* Allows you to provide settings for the position and direction of one of the plane's axes, aComponent, in 3D space. The coordinate system used is right-handed, and the type of plane aPlaneType is one of: - AIS_ TOPL_Unknown - AIS_ TOPL_XYPlane - AIS_ TOPL_XZPlane - AIS_ TOPL_YZPlane}. + :param aComponent: + :type aComponent: opencascade::handle & + :param aPlaneType: + :type aPlaneType: AIS_TypeOfPlane + :rtype: None") SetAxis2Placement; + void SetAxis2Placement (const opencascade::handle & aComponent,const AIS_TypeOfPlane aPlaneType); + + /****************** SetCenter ******************/ + %feature("compactdefaultargs") SetCenter; + %feature("autodoc", "* Provides settings for the center theCenter other than (0, 0, 0). + :param theCenter: + :type theCenter: gp_Pnt + :rtype: None") SetCenter; + void SetCenter (const gp_Pnt & theCenter); + + /****************** SetColor ******************/ + %feature("compactdefaultargs") SetColor; + %feature("autodoc", ":param aColor: + :type aColor: Quantity_Color & + :rtype: None") SetColor; + void SetColor (const Quantity_Color & aColor); + + /****************** SetComponent ******************/ + %feature("compactdefaultargs") SetComponent; + %feature("autodoc", "* Creates an instance of the plane aComponent. + :param aComponent: + :type aComponent: opencascade::handle & + :rtype: None") SetComponent; + void SetComponent (const opencascade::handle & aComponent); + + /****************** SetContext ******************/ + %feature("compactdefaultargs") SetContext; + %feature("autodoc", "* connection to default drawer implies a recomputation of Frame values. + :param aCtx: + :type aCtx: opencascade::handle & + :rtype: void") SetContext; + virtual void SetContext (const opencascade::handle & aCtx); + + /****************** SetCurrentMode ******************/ + %feature("compactdefaultargs") SetCurrentMode; + %feature("autodoc", "* Allows you to provide settings for a non-default current display mode. + :param theCurrentMode: + :type theCurrentMode: bool + :rtype: None") SetCurrentMode; + void SetCurrentMode (const Standard_Boolean theCurrentMode); + /****************** SetPlaneAttributes ******************/ + %feature("compactdefaultargs") SetPlaneAttributes; + %feature("autodoc", "* Allows you to provide settings other than default ones for the selected plane. These include: center point aCenter, maximum aPmax and minimum aPmin. :param aComponent: - :type aComponent: Handle_Geom_Plane & + :type aComponent: opencascade::handle & :param aCenter: :type aCenter: gp_Pnt :param aPmin: :type aPmin: gp_Pnt :param aPmax: :type aPmax: gp_Pnt - :rtype: None -") SetPlaneAttributes; - void SetPlaneAttributes (const Handle_Geom_Plane & aComponent,const gp_Pnt & aCenter,const gp_Pnt & aPmin,const gp_Pnt & aPmax); - %feature("compactdefaultargs") Center; - %feature("autodoc", " * Returns the coordinates of the center point. - - :rtype: gp_Pnt -") Center; - const gp_Pnt Center (); - %feature("compactdefaultargs") SetCenter; - %feature("autodoc", " * Provides settings for the center aCenter other than (0, 0, 0). + :rtype: None") SetPlaneAttributes; + void SetPlaneAttributes (const opencascade::handle & aComponent,const gp_Pnt & aCenter,const gp_Pnt & aPmin,const gp_Pnt & aPmax); - :param aCenter: - :type aCenter: gp_Pnt - :rtype: None -") SetCenter; - void SetCenter (const gp_Pnt & aCenter); - %feature("compactdefaultargs") SetAxis2Placement; - %feature("autodoc", " * Allows you to provide settings for the position and direction of one of the plane's axes, aComponent, in 3D space. The coordinate system used is right-handed, and the type of plane aPlaneType is one of: - AIS_ TOPL_Unknown - AIS_ TOPL_XYPlane - AIS_ TOPL_XZPlane - AIS_ TOPL_YZPlane}. - - :param aComponent: - :type aComponent: Handle_Geom_Axis2Placement & - :param aPlaneType: - :type aPlaneType: AIS_TypeOfPlane - :rtype: None -") SetAxis2Placement; - void SetAxis2Placement (const Handle_Geom_Axis2Placement & aComponent,const AIS_TypeOfPlane aPlaneType); - %feature("compactdefaultargs") Axis2Placement; - %feature("autodoc", " * Returns the position of the plane's axis2 system identifying the x, y, or z axis and giving the plane a direction in 3D space. An axis2 system is a right-handed coordinate system. + /****************** SetSize ******************/ + %feature("compactdefaultargs") SetSize; + %feature("autodoc", "* Same value for x and y directions + :param aValue: + :type aValue: float + :rtype: None") SetSize; + void SetSize (const Standard_Real aValue); - :rtype: Handle_Geom_Axis2Placement -") Axis2Placement; - Handle_Geom_Axis2Placement Axis2Placement (); - %feature("compactdefaultargs") TypeOfPlane; - %feature("autodoc", " * Returns the type of plane - xy, yz, xz or unknown. + /****************** SetSize ******************/ + %feature("compactdefaultargs") SetSize; + %feature("autodoc", "* Sets the size defined by the length along the X axis XVal and the length along the Y axis YVal. + :param Xval: + :type Xval: float + :param YVal: + :type YVal: float + :rtype: None") SetSize; + void SetSize (const Standard_Real Xval,const Standard_Real YVal); - :rtype: AIS_TypeOfPlane -") TypeOfPlane; - AIS_TypeOfPlane TypeOfPlane (); - %feature("compactdefaultargs") IsXYZPlane; - %feature("autodoc", " * Returns the type of plane - xy, yz, or xz. + /****************** SetTypeOfSensitivity ******************/ + %feature("compactdefaultargs") SetTypeOfSensitivity; + %feature("autodoc", "* Sets the type of sensitivity for the plane. + :param theTypeOfSensitivity: + :type theTypeOfSensitivity: Select3D_TypeOfSensitivity + :rtype: None") SetTypeOfSensitivity; + void SetTypeOfSensitivity (Select3D_TypeOfSensitivity theTypeOfSensitivity); - :rtype: bool -") IsXYZPlane; - Standard_Boolean IsXYZPlane (); - %feature("compactdefaultargs") CurrentMode; - %feature("autodoc", " * Returns the non-default current display mode set by SetCurrentMode. + /****************** Signature ******************/ + %feature("compactdefaultargs") Signature; + %feature("autodoc", ":rtype: int") Signature; + virtual Standard_Integer Signature (); - :rtype: bool -") CurrentMode; - Standard_Boolean CurrentMode (); - %feature("compactdefaultargs") SetCurrentMode; - %feature("autodoc", " * Allows you to provide settings for a non-default current display mode. + /****************** Size ******************/ + %feature("compactdefaultargs") Size; + %feature("autodoc", ":param X: + :type X: float & + :param Y: + :type Y: float & + :rtype: bool") Size; + Standard_Boolean Size (Standard_Real &OutValue,Standard_Real &OutValue); - :param aCurrentMode: - :type aCurrentMode: bool - :rtype: None -") SetCurrentMode; - void SetCurrentMode (const Standard_Boolean aCurrentMode); - %feature("compactdefaultargs") AcceptDisplayMode; - %feature("autodoc", " * Returns true if the display mode selected, aMode, is valid for planes. + /****************** Type ******************/ + %feature("compactdefaultargs") Type; + %feature("autodoc", ":rtype: AIS_KindOfInteractive") Type; + virtual AIS_KindOfInteractive Type (); - :param aMode: - :type aMode: int - :rtype: bool -") AcceptDisplayMode; - virtual Standard_Boolean AcceptDisplayMode (const Standard_Integer aMode); - %feature("compactdefaultargs") SetContext; - %feature("autodoc", " * connection to default drawer implies a recomputation of Frame values. + /****************** TypeOfPlane ******************/ + %feature("compactdefaultargs") TypeOfPlane; + %feature("autodoc", "* Returns the type of plane - xy, yz, xz or unknown. + :rtype: AIS_TypeOfPlane") TypeOfPlane; + AIS_TypeOfPlane TypeOfPlane (); - :param aCtx: - :type aCtx: Handle_AIS_InteractiveContext & - :rtype: void -") SetContext; - virtual void SetContext (const Handle_AIS_InteractiveContext & aCtx); + /****************** TypeOfSensitivity ******************/ %feature("compactdefaultargs") TypeOfSensitivity; - %feature("autodoc", " * Returns the type of sensitivity for the plane; - - :rtype: Select3D_TypeOfSensitivity -") TypeOfSensitivity; + %feature("autodoc", "* Returns the type of sensitivity for the plane; + :rtype: Select3D_TypeOfSensitivity") TypeOfSensitivity; Select3D_TypeOfSensitivity TypeOfSensitivity (); - %feature("compactdefaultargs") SetTypeOfSensitivity; - %feature("autodoc", " * Sets the type of sensitivity for the plane. - - :param theTypeOfSensitivity: - :type theTypeOfSensitivity: Select3D_TypeOfSensitivity & - :rtype: None -") SetTypeOfSensitivity; - void SetTypeOfSensitivity (const Select3D_TypeOfSensitivity & theTypeOfSensitivity); - %feature("compactdefaultargs") Compute; - %feature("autodoc", " * computes the presentation according to a point of view given by . To be Used when the associated degenerated Presentations have been transformed by which is not a Pure Translation. The HLR Prs can't be deducted automatically WARNING : must be applied to the object to display before computation !!! - :param aProjector: - :type aProjector: Handle_Prs3d_Projector & - :param aTrsf: - :type aTrsf: Handle_Geom_Transformation & - :param aPresentation: - :type aPresentation: Handle_Prs3d_Presentation & - :rtype: void -") Compute; - virtual void Compute (const Handle_Prs3d_Projector & aProjector,const Handle_Geom_Transformation & aTrsf,const Handle_Prs3d_Presentation & aPresentation); - %feature("compactdefaultargs") ComputeSelection; - %feature("autodoc", " :param theSelection: - :type theSelection: Handle_SelectMgr_Selection & - :param theMode: - :type theMode: int - :rtype: void -") ComputeSelection; - virtual void ComputeSelection (const Handle_SelectMgr_Selection & theSelection,const Standard_Integer theMode); - %feature("compactdefaultargs") SetColor; - %feature("autodoc", " :param aColor: - :type aColor: Quantity_NameOfColor - :rtype: None -") SetColor; - void SetColor (const Quantity_NameOfColor aColor); - %feature("compactdefaultargs") SetColor; - %feature("autodoc", " :param aColor: - :type aColor: Quantity_Color & - :rtype: None -") SetColor; - void SetColor (const Quantity_Color & aColor); + /****************** UnsetColor ******************/ %feature("compactdefaultargs") UnsetColor; - %feature("autodoc", " :rtype: None -") UnsetColor; + %feature("autodoc", ":rtype: None") UnsetColor; void UnsetColor (); + + /****************** UnsetSize ******************/ + %feature("compactdefaultargs") UnsetSize; + %feature("autodoc", ":rtype: None") UnsetSize; + void UnsetSize (); + }; @@ -7270,119 +7479,120 @@ class AIS_Plane : public AIS_InteractiveObject { __repr__ = _dumps_object } }; + +/*************************** +* class AIS_PlaneTrihedron * +***************************/ %nodefaultctor AIS_PlaneTrihedron; class AIS_PlaneTrihedron : public AIS_InteractiveObject { public: + /****************** AIS_PlaneTrihedron ******************/ %feature("compactdefaultargs") AIS_PlaneTrihedron; - %feature("autodoc", " * Initializes the plane aPlane. The plane trihedron is constructed from this and an axis. - + %feature("autodoc", "* Initializes the plane aPlane. The plane trihedron is constructed from this and an axis. :param aPlane: - :type aPlane: Handle_Geom_Plane & - :rtype: None -") AIS_PlaneTrihedron; - AIS_PlaneTrihedron (const Handle_Geom_Plane & aPlane); - %feature("compactdefaultargs") Component; - %feature("autodoc", " * Returns the component specified in SetComponent. + :type aPlane: opencascade::handle & + :rtype: None") AIS_PlaneTrihedron; + AIS_PlaneTrihedron (const opencascade::handle & aPlane); - :rtype: Handle_Geom_Plane -") Component; - Handle_Geom_Plane Component (); - %feature("compactdefaultargs") SetComponent; - %feature("autodoc", " * Creates an instance of the component object aPlane. + /****************** AcceptDisplayMode ******************/ + %feature("compactdefaultargs") AcceptDisplayMode; + %feature("autodoc", "* Returns true if the display mode selected, aMode, is valid. + :param aMode: + :type aMode: int + :rtype: bool") AcceptDisplayMode; + Standard_Boolean AcceptDisplayMode (const Standard_Integer aMode); - :param aPlane: - :type aPlane: Handle_Geom_Plane & - :rtype: None -") SetComponent; - void SetComponent (const Handle_Geom_Plane & aPlane); - %feature("compactdefaultargs") XAxis; - %feature("autodoc", " * Returns the 'XAxis'. + /****************** Component ******************/ + %feature("compactdefaultargs") Component; + %feature("autodoc", "* Returns the component specified in SetComponent. + :rtype: opencascade::handle") Component; + opencascade::handle Component (); - :rtype: Handle_AIS_Line -") XAxis; - Handle_AIS_Line XAxis (); - %feature("compactdefaultargs") YAxis; - %feature("autodoc", " * Returns the 'YAxis'. + /****************** Compute ******************/ + %feature("compactdefaultargs") Compute; + %feature("autodoc", "* computes the presentation according to a point of view given by . To be Used when the associated degenerated Presentations have been transformed by which is not a Pure Translation. The HLR Prs can't be deducted automatically WARNING : must be applied to the object to display before computation !!! + :param aProjector: + :type aProjector: opencascade::handle & + :param aTrsf: + :type aTrsf: opencascade::handle & + :param aPresentation: + :type aPresentation: opencascade::handle & + :rtype: void") Compute; + virtual void Compute (const opencascade::handle & aProjector,const opencascade::handle & aTrsf,const opencascade::handle & aPresentation); + + /****************** GetLength ******************/ + %feature("compactdefaultargs") GetLength; + %feature("autodoc", "* Returns the length of X and Y axes. + :rtype: float") GetLength; + Standard_Real GetLength (); - :rtype: Handle_AIS_Line -") YAxis; - Handle_AIS_Line YAxis (); + /****************** Position ******************/ %feature("compactdefaultargs") Position; - %feature("autodoc", " * Returns the point of origin of the plane trihedron. + %feature("autodoc", "* Returns the point of origin of the plane trihedron. + :rtype: opencascade::handle") Position; + opencascade::handle Position (); - :rtype: Handle_AIS_Point -") Position; - Handle_AIS_Point Position (); - %feature("compactdefaultargs") SetLength; - %feature("autodoc", " * Sets the length of the X and Y axes. + /****************** SetColor ******************/ + %feature("compactdefaultargs") SetColor; + %feature("autodoc", "* Allows you to provide settings for the color aColor. + :param theColor: + :type theColor: Quantity_Color & + :rtype: void") SetColor; + virtual void SetColor (const Quantity_Color & theColor); + + /****************** SetComponent ******************/ + %feature("compactdefaultargs") SetComponent; + %feature("autodoc", "* Creates an instance of the component object aPlane. + :param aPlane: + :type aPlane: opencascade::handle & + :rtype: None") SetComponent; + void SetComponent (const opencascade::handle & aPlane); + /****************** SetLength ******************/ + %feature("compactdefaultargs") SetLength; + %feature("autodoc", "* Sets the length of the X and Y axes. :param theLength: :type theLength: float - :rtype: None -") SetLength; + :rtype: None") SetLength; void SetLength (const Standard_Real theLength); - %feature("compactdefaultargs") GetLength; - %feature("autodoc", " * Returns the length of X and Y axes. - :rtype: float -") GetLength; - Standard_Real GetLength (); - %feature("compactdefaultargs") AcceptDisplayMode; - %feature("autodoc", " * Returns true if the display mode selected, aMode, is valid. + /****************** SetXLabel ******************/ + %feature("compactdefaultargs") SetXLabel; + %feature("autodoc", ":param theLabel: + :type theLabel: TCollection_AsciiString & + :rtype: None") SetXLabel; + void SetXLabel (const TCollection_AsciiString & theLabel); - :param aMode: - :type aMode: int - :rtype: bool -") AcceptDisplayMode; - Standard_Boolean AcceptDisplayMode (const Standard_Integer aMode); - %feature("compactdefaultargs") Compute; - %feature("autodoc", " * computes the presentation according to a point of view given by . To be Used when the associated degenerated Presentations have been transformed by which is not a Pure Translation. The HLR Prs can't be deducted automatically WARNING : must be applied to the object to display before computation !!! + /****************** SetYLabel ******************/ + %feature("compactdefaultargs") SetYLabel; + %feature("autodoc", ":param theLabel: + :type theLabel: TCollection_AsciiString & + :rtype: None") SetYLabel; + void SetYLabel (const TCollection_AsciiString & theLabel); - :param aProjector: - :type aProjector: Handle_Prs3d_Projector & - :param aTrsf: - :type aTrsf: Handle_Geom_Transformation & - :param aPresentation: - :type aPresentation: Handle_Prs3d_Presentation & - :rtype: void -") Compute; - virtual void Compute (const Handle_Prs3d_Projector & aProjector,const Handle_Geom_Transformation & aTrsf,const Handle_Prs3d_Presentation & aPresentation); + /****************** Signature ******************/ %feature("compactdefaultargs") Signature; - %feature("autodoc", " :rtype: int -") Signature; + %feature("autodoc", ":rtype: int") Signature; Standard_Integer Signature (); - %feature("compactdefaultargs") Type; - %feature("autodoc", " * Returns datum as the type of Interactive Object. - :rtype: AIS_KindOfInteractive -") Type; + /****************** Type ******************/ + %feature("compactdefaultargs") Type; + %feature("autodoc", "* Returns datum as the type of Interactive Object. + :rtype: AIS_KindOfInteractive") Type; AIS_KindOfInteractive Type (); - %feature("compactdefaultargs") SetColor; - %feature("autodoc", " * Allows you to provide settings for the color aColor. - :param aColor: - :type aColor: Quantity_NameOfColor - :rtype: None -") SetColor; - void SetColor (const Quantity_NameOfColor aColor); - %feature("compactdefaultargs") SetColor; - %feature("autodoc", " :param aColor: - :type aColor: Quantity_Color & - :rtype: None -") SetColor; - void SetColor (const Quantity_Color & aColor); - %feature("compactdefaultargs") SetXLabel; - %feature("autodoc", " :param aLabel: - :type aLabel: TCollection_AsciiString & - :rtype: None -") SetXLabel; - void SetXLabel (const TCollection_AsciiString & aLabel); - %feature("compactdefaultargs") SetYLabel; - %feature("autodoc", " :param aLabel: - :type aLabel: TCollection_AsciiString & - :rtype: None -") SetYLabel; - void SetYLabel (const TCollection_AsciiString & aLabel); + /****************** XAxis ******************/ + %feature("compactdefaultargs") XAxis; + %feature("autodoc", "* Returns the 'XAxis'. + :rtype: opencascade::handle") XAxis; + opencascade::handle XAxis (); + + /****************** YAxis ******************/ + %feature("compactdefaultargs") YAxis; + %feature("autodoc", "* Returns the 'YAxis'. + :rtype: opencascade::handle") YAxis; + opencascade::handle YAxis (); + }; @@ -7393,109 +7603,107 @@ class AIS_PlaneTrihedron : public AIS_InteractiveObject { __repr__ = _dumps_object } }; + +/****************** +* class AIS_Point * +******************/ %nodefaultctor AIS_Point; class AIS_Point : public AIS_InteractiveObject { public: + /****************** AIS_Point ******************/ %feature("compactdefaultargs") AIS_Point; - %feature("autodoc", " * Initializes the point aComponent from which the point datum will be built. - + %feature("autodoc", "* Initializes the point aComponent from which the point datum will be built. :param aComponent: - :type aComponent: Handle_Geom_Point & - :rtype: None -") AIS_Point; - AIS_Point (const Handle_Geom_Point & aComponent); - %feature("compactdefaultargs") Signature; - %feature("autodoc", " * Returns index 1, the default index for a point. - - :rtype: int -") Signature; - Standard_Integer Signature (); - %feature("compactdefaultargs") Type; - %feature("autodoc", " * Indicates that a point is a datum. - - :rtype: AIS_KindOfInteractive -") Type; - AIS_KindOfInteractive Type (); - %feature("compactdefaultargs") Component; - %feature("autodoc", " * Returns the component specified in SetComponent. + :type aComponent: opencascade::handle & + :rtype: None") AIS_Point; + AIS_Point (const opencascade::handle & aComponent); - :rtype: Handle_Geom_Point -") Component; - Handle_Geom_Point Component (); - %feature("compactdefaultargs") SetComponent; - %feature("autodoc", " * Constructs an instance of the point aComponent. - - :param aComponent: - :type aComponent: Handle_Geom_Point & - :rtype: None -") SetComponent; - void SetComponent (const Handle_Geom_Point & aComponent); + /****************** AcceptDisplayMode ******************/ %feature("compactdefaultargs") AcceptDisplayMode; - %feature("autodoc", " * Returns true if the display mode selected is valid for point datums. - + %feature("autodoc", "* Returns true if the display mode selected is valid for point datums. :param aMode: :type aMode: int - :rtype: bool -") AcceptDisplayMode; + :rtype: bool") AcceptDisplayMode; Standard_Boolean AcceptDisplayMode (const Standard_Integer aMode); - %feature("compactdefaultargs") Compute; - %feature("autodoc", " * computes the presentation according to a point of view given by . To be Used when the associated degenerated Presentations have been transformed by which is not a Pure Translation. The HLR Prs can't be deducted automatically WARNING : must be applied to the object to display before computation !!! + /****************** Component ******************/ + %feature("compactdefaultargs") Component; + %feature("autodoc", "* Returns the component specified in SetComponent. + :rtype: opencascade::handle") Component; + opencascade::handle Component (); + + /****************** Compute ******************/ + %feature("compactdefaultargs") Compute; + %feature("autodoc", "* computes the presentation according to a point of view given by . To be Used when the associated degenerated Presentations have been transformed by which is not a Pure Translation. The HLR Prs can't be deducted automatically WARNING : must be applied to the object to display before computation !!! :param aProjector: - :type aProjector: Handle_Prs3d_Projector & + :type aProjector: opencascade::handle & :param aTrsf: - :type aTrsf: Handle_Geom_Transformation & + :type aTrsf: opencascade::handle & :param aPresentation: - :type aPresentation: Handle_Prs3d_Presentation & - :rtype: void -") Compute; - virtual void Compute (const Handle_Prs3d_Projector & aProjector,const Handle_Geom_Transformation & aTrsf,const Handle_Prs3d_Presentation & aPresentation); - %feature("compactdefaultargs") SetColor; - %feature("autodoc", " * Allows you to provide settings for the cp;pr aColor. + :type aPresentation: opencascade::handle & + :rtype: void") Compute; + virtual void Compute (const opencascade::handle & aProjector,const opencascade::handle & aTrsf,const opencascade::handle & aPresentation); - :param aColor: - :type aColor: Quantity_NameOfColor - :rtype: None -") SetColor; - void SetColor (const Quantity_NameOfColor aColor); + /****************** HasMarker ******************/ + %feature("compactdefaultargs") HasMarker; + %feature("autodoc", "* Returns true if the point datum has a marker. + :rtype: bool") HasMarker; + Standard_Boolean HasMarker (); + + /****************** SetColor ******************/ %feature("compactdefaultargs") SetColor; - %feature("autodoc", " :param aColor: - :type aColor: Quantity_Color & - :rtype: None -") SetColor; - void SetColor (const Quantity_Color & aColor); - %feature("compactdefaultargs") UnsetColor; - %feature("autodoc", " * Allows you to remove color settings. + %feature("autodoc", "* Allows you to provide settings for the Color. + :param theColor: + :type theColor: Quantity_Color & + :rtype: void") SetColor; + virtual void SetColor (const Quantity_Color & theColor); - :rtype: None -") UnsetColor; - void UnsetColor (); - %feature("compactdefaultargs") SetMarker; - %feature("autodoc", " * Allows you to provide settings for a marker. These include - type of marker, - marker color, - scale factor. + /****************** SetComponent ******************/ + %feature("compactdefaultargs") SetComponent; + %feature("autodoc", "* Constructs an instance of the point aComponent. + :param aComponent: + :type aComponent: opencascade::handle & + :rtype: None") SetComponent; + void SetComponent (const opencascade::handle & aComponent); + /****************** SetMarker ******************/ + %feature("compactdefaultargs") SetMarker; + %feature("autodoc", "* Allows you to provide settings for a marker. These include - type of marker, - marker color, - scale factor. :param aType: :type aType: Aspect_TypeOfMarker - :rtype: None -") SetMarker; + :rtype: None") SetMarker; void SetMarker (const Aspect_TypeOfMarker aType); - %feature("compactdefaultargs") UnsetMarker; - %feature("autodoc", " * Removes the marker settings. - :rtype: None -") UnsetMarker; + /****************** Signature ******************/ + %feature("compactdefaultargs") Signature; + %feature("autodoc", "* Returns index 1, the default index for a point. + :rtype: int") Signature; + Standard_Integer Signature (); + + /****************** Type ******************/ + %feature("compactdefaultargs") Type; + %feature("autodoc", "* Indicates that a point is a datum. + :rtype: AIS_KindOfInteractive") Type; + AIS_KindOfInteractive Type (); + + /****************** UnsetColor ******************/ + %feature("compactdefaultargs") UnsetColor; + %feature("autodoc", "* Allows you to remove color settings. + :rtype: void") UnsetColor; + virtual void UnsetColor (); + + /****************** UnsetMarker ******************/ + %feature("compactdefaultargs") UnsetMarker; + %feature("autodoc", "* Removes the marker settings. + :rtype: None") UnsetMarker; void UnsetMarker (); - %feature("compactdefaultargs") HasMarker; - %feature("autodoc", " * Returns true if the point datum has a marker. - :rtype: bool -") HasMarker; - Standard_Boolean HasMarker (); + /****************** Vertex ******************/ %feature("compactdefaultargs") Vertex; - %feature("autodoc", " * Converts a point into a vertex. - - :rtype: TopoDS_Vertex -") Vertex; + %feature("autodoc", "* Converts a point into a vertex. + :rtype: TopoDS_Vertex") Vertex; TopoDS_Vertex Vertex (); + }; @@ -7506,6 +7714,10 @@ class AIS_Point : public AIS_InteractiveObject { __repr__ = _dumps_object } }; + +/*********************** +* class AIS_PointCloud * +***********************/ %nodefaultctor AIS_PointCloud; class AIS_PointCloud : public AIS_InteractiveObject { public: @@ -7515,90 +7727,80 @@ enum DisplayMode { DM_BndBox = 2, }; +enum SelectionMode { + SM_Points = 0, + SM_SubsetOfPoints = 1, + SM_BndBox = 2, +}; + /* end public enums declaration */ + /****************** AIS_PointCloud ******************/ %feature("compactdefaultargs") AIS_PointCloud; - %feature("autodoc", " * Constructor. - - :rtype: None -") AIS_PointCloud; + %feature("autodoc", "* Constructor. + :rtype: None") AIS_PointCloud; AIS_PointCloud (); - %feature("compactdefaultargs") SetPoints; - %feature("autodoc", " * Sets the points from array of points. Method will not copy the input data - array will be stored as handle. @param thePoints [in] the array of points - - :param thePoints: - :type thePoints: Handle_Graphic3d_ArrayOfPoints & - :rtype: void -") SetPoints; - virtual void SetPoints (const Handle_Graphic3d_ArrayOfPoints & thePoints); - %feature("compactdefaultargs") SetPoints; - %feature("autodoc", " * Sets the points with optional colors. The input data will be copied into internal buffer. The input arrays should have equal length, otherwise the presentation will not be computed and displayed. @param theCoords [in] the array of coordinates @param theColors [in] optional array of colors @param theNormals [in] optional array of normals - :param theCoords: - :type theCoords: Handle_TColgp_HArray1OfPnt - :param theColors: default value is NULL - :type theColors: Handle_Quantity_HArray1OfColor & - :param theNormals: default value is NULL - :type theNormals: Handle_TColgp_HArray1OfDir - :rtype: void -") SetPoints; - virtual void SetPoints (const Handle_TColgp_HArray1OfPnt & theCoords,const Handle_Quantity_HArray1OfColor & theColors = NULL,const Handle_TColgp_HArray1OfDir & theNormals = NULL); - %feature("compactdefaultargs") GetPoints; - %feature("autodoc", " * Get the points array. Method might be overridden to fill in points array dynamically from application data structures. returns the array of points - - :rtype: Handle_Graphic3d_ArrayOfPoints -") GetPoints; - virtual const Handle_Graphic3d_ArrayOfPoints GetPoints (); + /****************** GetBoundingBox ******************/ %feature("compactdefaultargs") GetBoundingBox; - %feature("autodoc", " * Get bounding box for presentation. - - :rtype: Bnd_Box -") GetBoundingBox; + %feature("autodoc", "* Get bounding box for presentation. + :rtype: Bnd_Box") GetBoundingBox; virtual Bnd_Box GetBoundingBox (); - %feature("compactdefaultargs") SetColor; - %feature("autodoc", " * Setup custom color. Affects presentation only when no per-point color attribute has been assigned. - :param theColor: - :type theColor: Quantity_NameOfColor - :rtype: void -") SetColor; - virtual void SetColor (const Quantity_NameOfColor theColor); - %feature("compactdefaultargs") SetColor; - %feature("autodoc", " * Setup custom color. Affects presentation only when no per-point color attribute has been assigned. + /****************** GetPoints ******************/ + %feature("compactdefaultargs") GetPoints; + %feature("autodoc", "* Get the points array. Method might be overridden to fill in points array dynamically from application data structures. returns the array of points + :rtype: opencascade::handle") GetPoints; + virtual const opencascade::handle GetPoints (); + /****************** SetColor ******************/ + %feature("compactdefaultargs") SetColor; + %feature("autodoc", "* Setup custom color. Affects presentation only when no per-point color attribute has been assigned. :param theColor: :type theColor: Quantity_Color & - :rtype: void -") SetColor; + :rtype: void") SetColor; virtual void SetColor (const Quantity_Color & theColor); - %feature("compactdefaultargs") UnsetColor; - %feature("autodoc", " * Restore default color. - :rtype: void -") UnsetColor; - virtual void UnsetColor (); - %feature("compactdefaultargs") SetMaterial; - %feature("autodoc", " * Setup custom material. Affects presentation only when normals are defined. - - :param theMatName: - :type theMatName: Graphic3d_NameOfMaterial - :rtype: void -") SetMaterial; - virtual void SetMaterial (const Graphic3d_NameOfMaterial theMatName); + /****************** SetMaterial ******************/ %feature("compactdefaultargs") SetMaterial; - %feature("autodoc", " * Setup custom material. Affects presentation only when normals are defined. - + %feature("autodoc", "* Setup custom material. Affects presentation only when normals are defined. :param theMat: :type theMat: Graphic3d_MaterialAspect & - :rtype: void -") SetMaterial; + :rtype: void") SetMaterial; virtual void SetMaterial (const Graphic3d_MaterialAspect & theMat); - %feature("compactdefaultargs") UnsetMaterial; - %feature("autodoc", " * Restore default material. - :rtype: void -") UnsetMaterial; + /****************** SetPoints ******************/ + %feature("compactdefaultargs") SetPoints; + %feature("autodoc", "* Sets the points from array of points. Method will not copy the input data - array will be stored as handle. @param thePoints [in] the array of points + :param thePoints: + :type thePoints: opencascade::handle & + :rtype: void") SetPoints; + virtual void SetPoints (const opencascade::handle & thePoints); + + /****************** SetPoints ******************/ + %feature("compactdefaultargs") SetPoints; + %feature("autodoc", "* Sets the points with optional colors. The input data will be copied into internal buffer. The input arrays should have equal length, otherwise the presentation will not be computed and displayed. @param theCoords [in] the array of coordinates @param theColors [in] optional array of colors @param theNormals [in] optional array of normals + :param theCoords: + :type theCoords: opencascade::handle + :param theColors: default value is NULL + :type theColors: opencascade::handle & + :param theNormals: default value is NULL + :type theNormals: opencascade::handle + :rtype: void") SetPoints; + virtual void SetPoints (const opencascade::handle & theCoords,const opencascade::handle & theColors = NULL,const opencascade::handle & theNormals = NULL); + + /****************** UnsetColor ******************/ + %feature("compactdefaultargs") UnsetColor; + %feature("autodoc", "* Restore default color. + :rtype: void") UnsetColor; + virtual void UnsetColor (); + + /****************** UnsetMaterial ******************/ + %feature("compactdefaultargs") UnsetMaterial; + %feature("autodoc", "* Restore default material. + :rtype: void") UnsetMaterial; virtual void UnsetMaterial (); + }; @@ -7609,205 +7811,210 @@ enum DisplayMode { __repr__ = _dumps_object } }; + +/********************* +* class AIS_Relation * +*********************/ %nodefaultctor AIS_Relation; class AIS_Relation : public AIS_InteractiveObject { public: - %feature("compactdefaultargs") SetColor; - %feature("autodoc", " * Allows you to provide settings for the color aColor of the lines representing the relation between the two shapes. + /****************** AcceptDisplayMode ******************/ + %feature("compactdefaultargs") AcceptDisplayMode; + %feature("autodoc", "* Returns true if the display mode aMode is accepted for the Interactive Objects in the relation. ComputeProjPresentation(me; aPres : Presentation from Prs3d; Curve1 : Curve from Geom; Curve2 : Curve from Geom; FirstP1 : Pnt from gp; LastP1 : Pnt from gp; FirstP2 : Pnt from gp; LastP2 : Pnt from gp; aColor : NameOfColor from Quantity = Quantity_NOC_PURPLE; aWidth : Real from Standard = 2; aProjTOL : TypeOfLine from Aspect = Aspect_TOL_DASH; aCallTOL : TypeOfLine from Aspect = Aspect_TOL_DOT) + :param aMode: + :type aMode: int + :rtype: bool") AcceptDisplayMode; + virtual Standard_Boolean AcceptDisplayMode (const Standard_Integer aMode); - :param aColor: - :type aColor: Quantity_NameOfColor - :rtype: None -") SetColor; - void SetColor (const Quantity_NameOfColor aColor); - %feature("compactdefaultargs") SetColor; - %feature("autodoc", " :param aColor: - :type aColor: Quantity_Color & - :rtype: None -") SetColor; - void SetColor (const Quantity_Color & aColor); - %feature("compactdefaultargs") UnsetColor; - %feature("autodoc", " * Allows you to remove settings for the color of the lines representing the relation between the two shapes. + /****************** ArrowSize ******************/ + %feature("compactdefaultargs") ArrowSize; + %feature("autodoc", "* Returns the value for the size of the arrow identifying the relation between the two shapes. + :rtype: float") ArrowSize; + Standard_Real ArrowSize (); - :rtype: None -") UnsetColor; - void UnsetColor (); - %feature("compactdefaultargs") Type; - %feature("autodoc", " :rtype: AIS_KindOfInteractive -") Type; - AIS_KindOfInteractive Type (); - %feature("compactdefaultargs") KindOfDimension; - %feature("autodoc", " * Indicates that the type of dimension is unknown. + /****************** AutomaticPosition ******************/ + %feature("compactdefaultargs") AutomaticPosition; + %feature("autodoc", ":rtype: bool") AutomaticPosition; + Standard_Boolean AutomaticPosition (); - :rtype: AIS_KindOfDimension -") KindOfDimension; - virtual AIS_KindOfDimension KindOfDimension (); - %feature("compactdefaultargs") IsMovable; - %feature("autodoc", " * Returns true if the interactive object is movable. + /****************** ExtShape ******************/ + %feature("compactdefaultargs") ExtShape; + %feature("autodoc", "* Returns the status index of the extension shape. + :rtype: int") ExtShape; + Standard_Integer ExtShape (); - :rtype: bool -") IsMovable; - virtual Standard_Boolean IsMovable (); + /****************** FirstShape ******************/ %feature("compactdefaultargs") FirstShape; - %feature("autodoc", " :rtype: TopoDS_Shape -") FirstShape; + %feature("autodoc", ":rtype: TopoDS_Shape") FirstShape; const TopoDS_Shape FirstShape (); - %feature("compactdefaultargs") SetFirstShape; - %feature("autodoc", " :param aFShape: - :type aFShape: TopoDS_Shape & - :rtype: void -") SetFirstShape; - virtual void SetFirstShape (const TopoDS_Shape & aFShape); - %feature("compactdefaultargs") SecondShape; - %feature("autodoc", " * Returns the second shape. - :rtype: TopoDS_Shape -") SecondShape; - const TopoDS_Shape SecondShape (); - %feature("compactdefaultargs") SetSecondShape; - %feature("autodoc", " * Allows you to identify the second shape aSShape relative to the first. + /****************** IsMovable ******************/ + %feature("compactdefaultargs") IsMovable; + %feature("autodoc", "* Returns true if the interactive object is movable. + :rtype: bool") IsMovable; + virtual Standard_Boolean IsMovable (); - :param aSShape: - :type aSShape: TopoDS_Shape & - :rtype: void -") SetSecondShape; - virtual void SetSecondShape (const TopoDS_Shape & aSShape); - %feature("compactdefaultargs") SetBndBox; - %feature("autodoc", " :param Xmin: - :type Xmin: float - :param Ymin: - :type Ymin: float - :param Zmin: - :type Zmin: float - :param Xmax: - :type Xmax: float - :param Ymax: - :type Ymax: float - :param Zmax: - :type Zmax: float - :rtype: None -") SetBndBox; - void SetBndBox (const Standard_Real Xmin,const Standard_Real Ymin,const Standard_Real Zmin,const Standard_Real Xmax,const Standard_Real Ymax,const Standard_Real Zmax); - %feature("compactdefaultargs") UnsetBndBox; - %feature("autodoc", " :rtype: None -") UnsetBndBox; - void UnsetBndBox (); + /****************** KindOfDimension ******************/ + %feature("compactdefaultargs") KindOfDimension; + %feature("autodoc", "* Indicates that the type of dimension is unknown. + :rtype: AIS_KindOfDimension") KindOfDimension; + virtual AIS_KindOfDimension KindOfDimension (); + + /****************** Plane ******************/ %feature("compactdefaultargs") Plane; - %feature("autodoc", " * Returns the plane. + %feature("autodoc", "* Returns the plane. + :rtype: opencascade::handle") Plane; + const opencascade::handle & Plane (); - :rtype: Handle_Geom_Plane -") Plane; - Handle_Geom_Plane Plane (); - %feature("compactdefaultargs") SetPlane; - %feature("autodoc", " * Allows you to set the plane aPlane. This is used to define relations and dimensions in several daughter classes. + /****************** Position ******************/ + %feature("compactdefaultargs") Position; + %feature("autodoc", "* Returns the position set using SetPosition. + :rtype: gp_Pnt") Position; + const gp_Pnt Position (); - :param aPlane: - :type aPlane: Handle_Geom_Plane & - :rtype: None -") SetPlane; - void SetPlane (const Handle_Geom_Plane & aPlane); - %feature("compactdefaultargs") Value; - %feature("autodoc", " * Returns the value of each object in the relation. + /****************** SecondShape ******************/ + %feature("compactdefaultargs") SecondShape; + %feature("autodoc", "* Returns the second shape. + :rtype: TopoDS_Shape") SecondShape; + const TopoDS_Shape SecondShape (); - :rtype: float -") Value; - Standard_Real Value (); - %feature("compactdefaultargs") SetValue; - %feature("autodoc", " * Allows you to provide settings for the value aVal for each object in the relation. + /****************** SetArrowSize ******************/ + %feature("compactdefaultargs") SetArrowSize; + %feature("autodoc", "* Allows you to provide settings for the size of the arrow theArrowSize identifying the relation between the two shapes. + :param theArrowSize: + :type theArrowSize: float + :rtype: None") SetArrowSize; + void SetArrowSize (const Standard_Real theArrowSize); - :param aVal: - :type aVal: float - :rtype: None -") SetValue; - void SetValue (const Standard_Real aVal); - %feature("compactdefaultargs") Position; - %feature("autodoc", " * Returns the position set using SetPosition. + /****************** SetAutomaticPosition ******************/ + %feature("compactdefaultargs") SetAutomaticPosition; + %feature("autodoc", ":param theStatus: + :type theStatus: bool + :rtype: None") SetAutomaticPosition; + void SetAutomaticPosition (const Standard_Boolean theStatus); - :rtype: gp_Pnt -") Position; - const gp_Pnt Position (); + /****************** SetBndBox ******************/ + %feature("compactdefaultargs") SetBndBox; + %feature("autodoc", ":param theXmin: + :type theXmin: float + :param theYmin: + :type theYmin: float + :param theZmin: + :type theZmin: float + :param theXmax: + :type theXmax: float + :param theYmax: + :type theYmax: float + :param theZmax: + :type theZmax: float + :rtype: None") SetBndBox; + void SetBndBox (const Standard_Real theXmin,const Standard_Real theYmin,const Standard_Real theZmin,const Standard_Real theXmax,const Standard_Real theYmax,const Standard_Real theZmax); + + /****************** SetColor ******************/ + %feature("compactdefaultargs") SetColor; + %feature("autodoc", "* Allows you to provide settings for the color theColor of the lines representing the relation between the two shapes. + :param theColor: + :type theColor: Quantity_Color & + :rtype: None") SetColor; + void SetColor (const Quantity_Color & theColor); + + /****************** SetExtShape ******************/ + %feature("compactdefaultargs") SetExtShape; + %feature("autodoc", "* Allows you to set the status of the extension shape by the index aIndex. The status will be one of the following: - 0 - there is no connection to a shape; - 1 - there is a connection to the first shape; - 2 - there is a connection to the second shape. + :param theIndex: + :type theIndex: int + :rtype: None") SetExtShape; + void SetExtShape (const Standard_Integer theIndex); + + /****************** SetFirstShape ******************/ + %feature("compactdefaultargs") SetFirstShape; + %feature("autodoc", ":param aFShape: + :type aFShape: TopoDS_Shape & + :rtype: void") SetFirstShape; + virtual void SetFirstShape (const TopoDS_Shape & aFShape); + + /****************** SetPlane ******************/ + %feature("compactdefaultargs") SetPlane; + %feature("autodoc", "* Allows you to set the plane thePlane. This is used to define relations and dimensions in several daughter classes. + :param thePlane: + :type thePlane: opencascade::handle & + :rtype: None") SetPlane; + void SetPlane (const opencascade::handle & thePlane); + + /****************** SetPosition ******************/ %feature("compactdefaultargs") SetPosition; - %feature("autodoc", " * Allows you to provide the objects in the relation with settings for a non-default position. + %feature("autodoc", "* Allows you to provide the objects in the relation with settings for a non-default position. + :param thePosition: + :type thePosition: gp_Pnt + :rtype: None") SetPosition; + void SetPosition (const gp_Pnt & thePosition); - :param aPosition: - :type aPosition: gp_Pnt - :rtype: None -") SetPosition; - void SetPosition (const gp_Pnt & aPosition); - %feature("compactdefaultargs") Text; - %feature("autodoc", " * Returns settings for text aspect. + /****************** SetSecondShape ******************/ + %feature("compactdefaultargs") SetSecondShape; + %feature("autodoc", "* Allows you to identify the second shape aSShape relative to the first. + :param aSShape: + :type aSShape: TopoDS_Shape & + :rtype: void") SetSecondShape; + virtual void SetSecondShape (const TopoDS_Shape & aSShape); + + /****************** SetSymbolPrs ******************/ + %feature("compactdefaultargs") SetSymbolPrs; + %feature("autodoc", "* Allows you to provide settings for the symbol presentation. + :param theSymbolPrs: + :type theSymbolPrs: DsgPrs_ArrowSide + :rtype: None") SetSymbolPrs; + void SetSymbolPrs (const DsgPrs_ArrowSide theSymbolPrs); - :rtype: TCollection_ExtendedString -") Text; - const TCollection_ExtendedString & Text (); + /****************** SetText ******************/ %feature("compactdefaultargs") SetText; - %feature("autodoc", " * Allows you to provide the settings aText for text aspect. - - :param aText: - :type aText: TCollection_ExtendedString & - :rtype: None -") SetText; - void SetText (const TCollection_ExtendedString & aText); - %feature("compactdefaultargs") ArrowSize; - %feature("autodoc", " * Returns the value for the size of the arrow identifying the relation between the two shapes. + %feature("autodoc", "* Allows you to provide the settings theText for text aspect. + :param theText: + :type theText: TCollection_ExtendedString & + :rtype: None") SetText; + void SetText (const TCollection_ExtendedString & theText); - :rtype: float -") ArrowSize; - Standard_Real ArrowSize (); - %feature("compactdefaultargs") SetArrowSize; - %feature("autodoc", " * Allows you to provide settings for the size of the arrow anArrowsize identifying the relation between the two shapes. + /****************** SetValue ******************/ + %feature("compactdefaultargs") SetValue; + %feature("autodoc", "* Allows you to provide settings for the value theVal for each object in the relation. + :param theVal: + :type theVal: float + :rtype: None") SetValue; + void SetValue (const Standard_Real theVal); - :param anArrowSize: - :type anArrowSize: float - :rtype: None -") SetArrowSize; - void SetArrowSize (const Standard_Real anArrowSize); + /****************** SymbolPrs ******************/ %feature("compactdefaultargs") SymbolPrs; - %feature("autodoc", " * Returns the value of the symbol presentation. This will be one of: - AS_NONE - none - AS_FIRSTAR - first arrow - AS_LASTAR - last arrow - AS_BOTHAR - both arrows - AS_FIRSTPT - first point - AS_LASTPT - last point - AS_BOTHPT - both points - AS_FIRSTAR_LASTPT - first arrow, last point - AS_FIRSTPT_LASTAR - first point, last arrow - - :rtype: DsgPrs_ArrowSide -") SymbolPrs; + %feature("autodoc", "* Returns the value of the symbol presentation. This will be one of: - AS_NONE - none - AS_FIRSTAR - first arrow - AS_LASTAR - last arrow - AS_BOTHAR - both arrows - AS_FIRSTPT - first point - AS_LASTPT - last point - AS_BOTHPT - both points - AS_FIRSTAR_LASTPT - first arrow, last point - AS_FIRSTPT_LASTAR - first point, last arrow + :rtype: DsgPrs_ArrowSide") SymbolPrs; DsgPrs_ArrowSide SymbolPrs (); - %feature("compactdefaultargs") SetSymbolPrs; - %feature("autodoc", " * Allows you to provide settings for the symbol presentation. - :param aSymbolPrs: - :type aSymbolPrs: DsgPrs_ArrowSide - :rtype: None -") SetSymbolPrs; - void SetSymbolPrs (const DsgPrs_ArrowSide aSymbolPrs); - %feature("compactdefaultargs") SetExtShape; - %feature("autodoc", " * Allows you to set the status of the extension shape by the index aIndex. The status will be one of the following: - 0 - there is no connection to a shape; - 1 - there is a connection to the first shape; - 2 - there is a connection to the second shape. + /****************** Text ******************/ + %feature("compactdefaultargs") Text; + %feature("autodoc", "* Returns settings for text aspect. + :rtype: TCollection_ExtendedString") Text; + const TCollection_ExtendedString & Text (); - :param aIndex: - :type aIndex: int - :rtype: None -") SetExtShape; - void SetExtShape (const Standard_Integer aIndex); - %feature("compactdefaultargs") ExtShape; - %feature("autodoc", " * Returns the status index of the extension shape. + /****************** Type ******************/ + %feature("compactdefaultargs") Type; + %feature("autodoc", ":rtype: AIS_KindOfInteractive") Type; + AIS_KindOfInteractive Type (); - :rtype: int -") ExtShape; - Standard_Integer ExtShape (); - %feature("compactdefaultargs") AcceptDisplayMode; - %feature("autodoc", " * Returns true if the display mode aMode is accepted for the Interactive Objects in the relation. ComputeProjPresentation(me; aPres : Presentation from Prs3d; Curve1 : Curve from Geom; Curve2 : Curve from Geom; FirstP1 : Pnt from gp; LastP1 : Pnt from gp; FirstP2 : Pnt from gp; LastP2 : Pnt from gp; aColor : NameOfColor from Quantity = Quantity_NOC_PURPLE; aWidth : Real from Standard = 2; aProjTOL : TypeOfLine from Aspect = Aspect_TOL_DASH; aCallTOL : TypeOfLine from Aspect = Aspect_TOL_DOT) + /****************** UnsetBndBox ******************/ + %feature("compactdefaultargs") UnsetBndBox; + %feature("autodoc", ":rtype: None") UnsetBndBox; + void UnsetBndBox (); + + /****************** UnsetColor ******************/ + %feature("compactdefaultargs") UnsetColor; + %feature("autodoc", "* Allows you to remove settings for the color of the lines representing the relation between the two shapes. + :rtype: None") UnsetColor; + void UnsetColor (); + + /****************** Value ******************/ + %feature("compactdefaultargs") Value; + %feature("autodoc", "* Returns the value of each object in the relation. + :rtype: float") Value; + Standard_Real Value (); - :param aMode: - :type aMode: int - :rtype: bool -") AcceptDisplayMode; - virtual Standard_Boolean AcceptDisplayMode (const Standard_Integer aMode); - %feature("compactdefaultargs") SetAutomaticPosition; - %feature("autodoc", " :param aStatus: - :type aStatus: bool - :rtype: None -") SetAutomaticPosition; - void SetAutomaticPosition (const Standard_Boolean aStatus); - %feature("compactdefaultargs") AutomaticPosition; - %feature("autodoc", " :rtype: bool -") AutomaticPosition; - Standard_Boolean AutomaticPosition (); }; @@ -7818,297 +8025,558 @@ class AIS_Relation : public AIS_InteractiveObject { __repr__ = _dumps_object } }; + +/*********************** +* class AIS_RubberBand * +***********************/ +%nodefaultctor AIS_RubberBand; +class AIS_RubberBand : public AIS_InteractiveObject { + public: + /****************** AIS_RubberBand ******************/ + %feature("compactdefaultargs") AIS_RubberBand; + %feature("autodoc", "* Constructs rubber band with default configuration: empty filling and white solid lines. @warning It binds this object with Graphic3d_ZLayerId_TopOSD layer. + :rtype: None") AIS_RubberBand; + AIS_RubberBand (); + + /****************** AIS_RubberBand ******************/ + %feature("compactdefaultargs") AIS_RubberBand; + %feature("autodoc", "* Consructs the rubber band with empty filling and defined line style. @param theLineColor [in] color of rubber band lines @param theType [in] type of rubber band lines @param theLineWidth [in] width of rubber band line. By default it is 1. @warning It binds this object with Graphic3d_ZLayerId_TopOSD layer. + :param theLineColor: + :type theLineColor: Quantity_Color & + :param theType: + :type theType: Aspect_TypeOfLine + :param theLineWidth: default value is 1.0 + :type theLineWidth: float + :param theIsPolygonClosed: default value is Standard_True + :type theIsPolygonClosed: bool + :rtype: None") AIS_RubberBand; + AIS_RubberBand (const Quantity_Color & theLineColor,const Aspect_TypeOfLine theType,const Standard_Real theLineWidth = 1.0,const Standard_Boolean theIsPolygonClosed = Standard_True); + + /****************** AIS_RubberBand ******************/ + %feature("compactdefaultargs") AIS_RubberBand; + %feature("autodoc", "* Constructs the rubber band with defined filling and line parameters. @param theLineColor [in] color of rubber band lines @param theType [in] type of rubber band lines @param theFillColor [in] color of rubber band filling @param theTransparency [in] transparency of the filling. 0 is for opaque filling. By default it is transparent. @param theLineWidth [in] width of rubber band line. By default it is 1. @warning It binds this object with Graphic3d_ZLayerId_TopOSD layer. + :param theLineColor: + :type theLineColor: Quantity_Color & + :param theType: + :type theType: Aspect_TypeOfLine + :param theFillColor: + :type theFillColor: Quantity_Color + :param theTransparency: default value is 1.0 + :type theTransparency: float + :param theLineWidth: default value is 1.0 + :type theLineWidth: float + :param theIsPolygonClosed: default value is Standard_True + :type theIsPolygonClosed: bool + :rtype: None") AIS_RubberBand; + AIS_RubberBand (const Quantity_Color & theLineColor,const Aspect_TypeOfLine theType,const Quantity_Color theFillColor,const Standard_Real theTransparency = 1.0,const Standard_Real theLineWidth = 1.0,const Standard_Boolean theIsPolygonClosed = Standard_True); + + /****************** AddPoint ******************/ + %feature("compactdefaultargs") AddPoint; + %feature("autodoc", "* Adds last point to the list of points. They are used to build polygon for rubber band. @sa RemoveLastPoint(), GetPoints() + :param thePoint: + :type thePoint: Graphic3d_Vec2i & + :rtype: None") AddPoint; + void AddPoint (const Graphic3d_Vec2i & thePoint); + + /****************** ClearPoints ******************/ + %feature("compactdefaultargs") ClearPoints; + %feature("autodoc", "* Remove all points for the rubber band polygon. + :rtype: None") ClearPoints; + void ClearPoints (); + + /****************** FillColor ******************/ + %feature("compactdefaultargs") FillColor; + %feature("autodoc", "* returns the color of rubber band filling. + :rtype: Quantity_Color") FillColor; + Quantity_Color FillColor (); + + /****************** FillTransparency ******************/ + %feature("compactdefaultargs") FillTransparency; + %feature("autodoc", "* returns fill transparency. + :rtype: float") FillTransparency; + Standard_Real FillTransparency (); + + /****************** IsFilling ******************/ + %feature("compactdefaultargs") IsFilling; + %feature("autodoc", "* returns true if filling of rubber band is enabled. + :rtype: bool") IsFilling; + Standard_Boolean IsFilling (); + + /****************** IsPolygonClosed ******************/ + %feature("compactdefaultargs") IsPolygonClosed; + %feature("autodoc", "* returns true if automatic closing of rubber band is enabled. + :rtype: bool") IsPolygonClosed; + Standard_Boolean IsPolygonClosed (); + + /****************** LineColor ******************/ + %feature("compactdefaultargs") LineColor; + %feature("autodoc", "* returns the Color attributes. + :rtype: Quantity_Color") LineColor; + Quantity_Color LineColor (); + + /****************** LineType ******************/ + %feature("compactdefaultargs") LineType; + %feature("autodoc", "* returns type of lines. + :rtype: Aspect_TypeOfLine") LineType; + Aspect_TypeOfLine LineType (); + + /****************** LineWidth ******************/ + %feature("compactdefaultargs") LineWidth; + %feature("autodoc", "* returns width of lines. + :rtype: float") LineWidth; + Standard_Real LineWidth (); + + /****************** Points ******************/ + %feature("compactdefaultargs") Points; + %feature("autodoc", "* returns points for the rubber band polygon. + :rtype: NCollection_Sequence") Points; + const NCollection_Sequence & Points (); + + /****************** RemoveLastPoint ******************/ + %feature("compactdefaultargs") RemoveLastPoint; + %feature("autodoc", "* Remove last point from the list of points for the rubber band polygon. @sa AddPoint(), GetPoints() + :rtype: None") RemoveLastPoint; + void RemoveLastPoint (); + + /****************** SetFillColor ******************/ + %feature("compactdefaultargs") SetFillColor; + %feature("autodoc", "* Sets color of rubber band filling. + :param theColor: + :type theColor: Quantity_Color & + :rtype: None") SetFillColor; + void SetFillColor (const Quantity_Color & theColor); + + /****************** SetFillTransparency ******************/ + %feature("compactdefaultargs") SetFillTransparency; + %feature("autodoc", "* Sets fill transparency. @param theValue [in] the transparency value. 1.0 is for transparent background + :param theValue: + :type theValue: float + :rtype: None") SetFillTransparency; + void SetFillTransparency (const Standard_Real theValue); + + /****************** SetFilling ******************/ + %feature("compactdefaultargs") SetFilling; + %feature("autodoc", "* Enable or disable filling of rubber band. + :param theIsFilling: + :type theIsFilling: bool + :rtype: None") SetFilling; + void SetFilling (const Standard_Boolean theIsFilling); + + /****************** SetFilling ******************/ + %feature("compactdefaultargs") SetFilling; + %feature("autodoc", "* Enable filling of rubber band with defined parameters. @param theColor [in] color of filling @param theTransparency [in] transparency of the filling. 0 is for opaque filling. + :param theColor: + :type theColor: Quantity_Color + :param theTransparency: + :type theTransparency: float + :rtype: None") SetFilling; + void SetFilling (const Quantity_Color theColor,const Standard_Real theTransparency); + + /****************** SetLineColor ******************/ + %feature("compactdefaultargs") SetLineColor; + %feature("autodoc", "* Sets color of lines for rubber band presentation. + :param theColor: + :type theColor: Quantity_Color & + :rtype: None") SetLineColor; + void SetLineColor (const Quantity_Color & theColor); + + /****************** SetLineType ******************/ + %feature("compactdefaultargs") SetLineType; + %feature("autodoc", "* Sets type of line for rubber band presentation. + :param theType: + :type theType: Aspect_TypeOfLine + :rtype: None") SetLineType; + void SetLineType (const Aspect_TypeOfLine theType); + + /****************** SetLineWidth ******************/ + %feature("compactdefaultargs") SetLineWidth; + %feature("autodoc", "* Sets width of line for rubber band presentation. + :param theWidth: + :type theWidth: float + :rtype: None") SetLineWidth; + void SetLineWidth (const Standard_Real theWidth); + + /****************** SetPolygonClosed ******************/ + %feature("compactdefaultargs") SetPolygonClosed; + %feature("autodoc", "* Automatically create an additional line connecting the first and the last screen points to close the boundary polyline + :param theIsPolygonClosed: + :type theIsPolygonClosed: bool + :rtype: None") SetPolygonClosed; + void SetPolygonClosed (Standard_Boolean theIsPolygonClosed); + + /****************** SetRectangle ******************/ + %feature("compactdefaultargs") SetRectangle; + %feature("autodoc", "* Sets rectangle bounds. + :param theMinX: + :type theMinX: int + :param theMinY: + :type theMinY: int + :param theMaxX: + :type theMaxX: int + :param theMaxY: + :type theMaxY: int + :rtype: None") SetRectangle; + void SetRectangle (const Standard_Integer theMinX,const Standard_Integer theMinY,const Standard_Integer theMaxX,const Standard_Integer theMaxY); + +}; + + +%make_alias(AIS_RubberBand) + +%extend AIS_RubberBand { + %pythoncode { + __repr__ = _dumps_object + } +}; + +/****************** +* class AIS_Shape * +******************/ %nodefaultctor AIS_Shape; class AIS_Shape : public AIS_InteractiveObject { public: + /****************** AIS_Shape ******************/ %feature("compactdefaultargs") AIS_Shape; - %feature("autodoc", " * Initializes construction of the shape shap from wires, edges and vertices. - + %feature("autodoc", "* Initializes construction of the shape shap from wires, edges and vertices. :param shap: :type shap: TopoDS_Shape & - :rtype: None -") AIS_Shape; + :rtype: None") AIS_Shape; AIS_Shape (const TopoDS_Shape & shap); - %feature("compactdefaultargs") Signature; - %feature("autodoc", " * Returns index 0. This value refers to SHAPE from TopAbs_ShapeEnum - :rtype: int -") Signature; - virtual Standard_Integer Signature (); - %feature("compactdefaultargs") Type; - %feature("autodoc", " * Returns Object as the type of Interactive Object. + /****************** AcceptDisplayMode ******************/ + %feature("compactdefaultargs") AcceptDisplayMode; + %feature("autodoc", "* Return true if specified display mode is supported. + :param theMode: + :type theMode: int + :rtype: bool") AcceptDisplayMode; + Standard_Boolean AcceptDisplayMode (const Standard_Integer theMode); - :rtype: AIS_KindOfInteractive -") Type; - virtual AIS_KindOfInteractive Type (); + /****************** AcceptShapeDecomposition ******************/ %feature("compactdefaultargs") AcceptShapeDecomposition; - %feature("autodoc", " * Returns true if the Interactive Object accepts shape decomposition. - - :rtype: bool -") AcceptShapeDecomposition; - virtual Standard_Boolean AcceptShapeDecomposition (); - %feature("compactdefaultargs") Set; - %feature("autodoc", " * Constructs an instance of the shape object ashape. + %feature("autodoc", "* Returns true if the Interactive Object accepts shape decomposition. + :rtype: bool") AcceptShapeDecomposition; + Standard_Boolean AcceptShapeDecomposition (); - :param ashap: - :type ashap: TopoDS_Shape & - :rtype: None -") Set; - void Set (const TopoDS_Shape & ashap); - %feature("compactdefaultargs") Shape; - %feature("autodoc", " * Returns this shape object. + /****************** BoundingBox ******************/ + %feature("compactdefaultargs") BoundingBox; + %feature("autodoc", "* Constructs a bounding box with which to reconstruct compound topological shapes for presentation. + :rtype: Bnd_Box") BoundingBox; + virtual const Bnd_Box & BoundingBox (); - :rtype: TopoDS_Shape -") Shape; - const TopoDS_Shape Shape (); - %feature("compactdefaultargs") SetOwnDeviationCoefficient; - %feature("autodoc", " * Sets a local value for deviation coefficient for this specific shape. + /****************** Color ******************/ + %feature("compactdefaultargs") Color; + %feature("autodoc", "* Returns the Color attributes of the shape accordingly to the current facing model; + :param aColor: + :type aColor: Quantity_Color & + :rtype: void") Color; + virtual void Color (Quantity_Color & aColor); - :rtype: bool -") SetOwnDeviationCoefficient; - Standard_Boolean SetOwnDeviationCoefficient (); - %feature("compactdefaultargs") SetOwnHLRDeviationCoefficient; - %feature("autodoc", " * Sets a local value for HLR deviation coefficient for this specific shape. + /****************** Material ******************/ + %feature("compactdefaultargs") Material; + %feature("autodoc", "* Returns the NameOfMaterial attributes of the shape accordingly to the current facing model; + :rtype: Graphic3d_NameOfMaterial") Material; + virtual Graphic3d_NameOfMaterial Material (); - :rtype: bool -") SetOwnHLRDeviationCoefficient; - Standard_Boolean SetOwnHLRDeviationCoefficient (); - %feature("compactdefaultargs") SetOwnDeviationAngle; - %feature("autodoc", " * Sets a local value for deviation angle for this specific shape. + /****************** OwnDeviationAngle ******************/ + %feature("compactdefaultargs") OwnDeviationAngle; + %feature("autodoc", "* Returns true and the values of the deviation angle anAngle and the previous deviation angle aPreviousAngle. If these values are not already set, false is returned. + :param anAngle: + :type anAngle: float & + :param aPreviousAngle: + :type aPreviousAngle: float & + :rtype: bool") OwnDeviationAngle; + Standard_Boolean OwnDeviationAngle (Standard_Real &OutValue,Standard_Real &OutValue); - :rtype: bool -") SetOwnDeviationAngle; - Standard_Boolean SetOwnDeviationAngle (); - %feature("compactdefaultargs") SetOwnHLRDeviationAngle; - %feature("autodoc", " * Sets a local value for HLR deviation angle for this specific shape. + /****************** OwnDeviationCoefficient ******************/ + %feature("compactdefaultargs") OwnDeviationCoefficient; + %feature("autodoc", "* Returns true and the values of the deviation coefficient aCoefficient and the previous deviation coefficient aPreviousCoefficient. If these values are not already set, false is returned. + :param aCoefficient: + :type aCoefficient: float & + :param aPreviousCoefficient: + :type aPreviousCoefficient: float & + :rtype: bool") OwnDeviationCoefficient; + Standard_Boolean OwnDeviationCoefficient (Standard_Real &OutValue,Standard_Real &OutValue); - :rtype: bool -") SetOwnHLRDeviationAngle; - Standard_Boolean SetOwnHLRDeviationAngle (); - %feature("compactdefaultargs") SetOwnDeviationCoefficient; - %feature("autodoc", " * Sets a local value for deviation coefficient for this specific shape. + /****************** OwnHLRDeviationAngle ******************/ + %feature("compactdefaultargs") OwnHLRDeviationAngle; + %feature("autodoc", "* Returns true and the values of the HLR deviation angle anAngle and of the previous HLR deviation angle aPreviousAngle. If these values are not already set, false is returned. + :param anAngle: + :type anAngle: float & + :param aPreviousAngle: + :type aPreviousAngle: float & + :rtype: bool") OwnHLRDeviationAngle; + Standard_Boolean OwnHLRDeviationAngle (Standard_Real &OutValue,Standard_Real &OutValue); + /****************** OwnHLRDeviationCoefficient ******************/ + %feature("compactdefaultargs") OwnHLRDeviationCoefficient; + %feature("autodoc", "* Returns true and the values of the HLR deviation coefficient aCoefficient and the previous HLR deviation coefficient aPreviousCoefficient. If these values are not already set, false is returned. :param aCoefficient: - :type aCoefficient: float - :rtype: None -") SetOwnDeviationCoefficient; - void SetOwnDeviationCoefficient (const Standard_Real aCoefficient); - %feature("compactdefaultargs") SetOwnHLRDeviationCoefficient; - %feature("autodoc", " * sets myOwnHLRDeviationCoefficient field in Prs3d_Drawer & recomputes presentation + :type aCoefficient: float & + :param aPreviousCoefficient: + :type aPreviousCoefficient: float & + :rtype: bool") OwnHLRDeviationCoefficient; + Standard_Boolean OwnHLRDeviationCoefficient (Standard_Real &OutValue,Standard_Real &OutValue); - :param aCoefficient: - :type aCoefficient: float - :rtype: None -") SetOwnHLRDeviationCoefficient; - void SetOwnHLRDeviationCoefficient (const Standard_Real aCoefficient); - %feature("compactdefaultargs") SetAngleAndDeviation; - %feature("autodoc", " * this compute a new angle and Deviation from the value anAngle and set the values stored in myDrawer with these that become local to the shape + /****************** SelectionMode ******************/ + %feature("compactdefaultargs") SelectionMode; + %feature("autodoc", "* Return selection mode for specified shape type. + :param theShapeType: + :type theShapeType: TopAbs_ShapeEnum + :rtype: int") SelectionMode; + static Standard_Integer SelectionMode (const TopAbs_ShapeEnum theShapeType); + + /****************** SelectionType ******************/ + %feature("compactdefaultargs") SelectionType; + %feature("autodoc", "* Return shape type for specified selection mode. + :param theSelMode: + :type theSelMode: int + :rtype: TopAbs_ShapeEnum") SelectionType; + static TopAbs_ShapeEnum SelectionType (const Standard_Integer theSelMode); + /****************** Set ******************/ + %feature("compactdefaultargs") Set; + %feature("autodoc", "* Alias for ::SetShape(). + :param theShape: + :type theShape: TopoDS_Shape & + :rtype: None") Set; + void Set (const TopoDS_Shape & theShape); + + /****************** SetAngleAndDeviation ******************/ + %feature("compactdefaultargs") SetAngleAndDeviation; + %feature("autodoc", "* this compute a new angle and Deviation from the value anAngle and set the values stored in myDrawer with these that become local to the shape :param anAngle: :type anAngle: float - :rtype: None -") SetAngleAndDeviation; + :rtype: None") SetAngleAndDeviation; void SetAngleAndDeviation (const Standard_Real anAngle); - %feature("compactdefaultargs") UserAngle; - %feature("autodoc", " * gives back the angle initial value put by the User. - :rtype: float -") UserAngle; - Standard_Real UserAngle (); - %feature("compactdefaultargs") SetOwnDeviationAngle; - %feature("autodoc", " * sets myOwnDeviationAngle field in Prs3d_Drawer & recomputes presentation + /****************** SetColor ******************/ + %feature("compactdefaultargs") SetColor; + %feature("autodoc", "* Sets the color aColor in the reconstructed compound shape. Acts via the Drawer methods below on the appearance of: - free boundaries: Prs3d_Drawer_FreeBoundaryAspect, - isos: Prs3d_Drawer_UIsoAspect, Prs3dDrawer_VIsoAspect, - shared boundaries: Prs3d_Drawer_UnFreeBoundaryAspect, - shading: Prs3d_Drawer_ShadingAspect, - visible line color in hidden line mode: Prs3d_Drawer_SeenLineAspect - hidden line color in hidden line mode: Prs3d_Drawer_HiddenLineAspect. + :param theColor: + :type theColor: Quantity_Color & + :rtype: void") SetColor; + virtual void SetColor (const Quantity_Color & theColor); + /****************** SetHLRAngleAndDeviation ******************/ + %feature("compactdefaultargs") SetHLRAngleAndDeviation; + %feature("autodoc", "* this compute a new Angle and Deviation from the value anAngle for HLR and set the values stored in myDrawer for with these that become local to the shape :param anAngle: :type anAngle: float - :rtype: None -") SetOwnDeviationAngle; - void SetOwnDeviationAngle (const Standard_Real anAngle); - %feature("compactdefaultargs") SetHLRAngleAndDeviation; - %feature("autodoc", " * this compute a new Angle and Deviation from the value anAngle for HLR and set the values stored in myDrawer for with these that become local to the shape + :rtype: None") SetHLRAngleAndDeviation; + void SetHLRAngleAndDeviation (const Standard_Real anAngle); + /****************** SetMaterial ******************/ + %feature("compactdefaultargs") SetMaterial; + %feature("autodoc", "* Allows you to provide settings for the material aName in the reconstructed compound shape. + :param aName: + :type aName: Graphic3d_MaterialAspect & + :rtype: void") SetMaterial; + virtual void SetMaterial (const Graphic3d_MaterialAspect & aName); + + /****************** SetOwnDeviationAngle ******************/ + %feature("compactdefaultargs") SetOwnDeviationAngle; + %feature("autodoc", "* Sets a local value for deviation angle for this specific shape. + :rtype: bool") SetOwnDeviationAngle; + Standard_Boolean SetOwnDeviationAngle (); + + /****************** SetOwnDeviationAngle ******************/ + %feature("compactdefaultargs") SetOwnDeviationAngle; + %feature("autodoc", "* sets myOwnDeviationAngle field in Prs3d_Drawer & recomputes presentation :param anAngle: :type anAngle: float - :rtype: None -") SetHLRAngleAndDeviation; - void SetHLRAngleAndDeviation (const Standard_Real anAngle); + :rtype: None") SetOwnDeviationAngle; + void SetOwnDeviationAngle (const Standard_Real anAngle); + + /****************** SetOwnDeviationCoefficient ******************/ + %feature("compactdefaultargs") SetOwnDeviationCoefficient; + %feature("autodoc", "* Sets a local value for deviation coefficient for this specific shape. + :rtype: bool") SetOwnDeviationCoefficient; + Standard_Boolean SetOwnDeviationCoefficient (); + + /****************** SetOwnDeviationCoefficient ******************/ + %feature("compactdefaultargs") SetOwnDeviationCoefficient; + %feature("autodoc", "* Sets a local value for deviation coefficient for this specific shape. + :param aCoefficient: + :type aCoefficient: float + :rtype: None") SetOwnDeviationCoefficient; + void SetOwnDeviationCoefficient (const Standard_Real aCoefficient); + + /****************** SetOwnHLRDeviationAngle ******************/ %feature("compactdefaultargs") SetOwnHLRDeviationAngle; - %feature("autodoc", " * sets myOwnHLRDeviationAngle field in Prs3d_Drawer & recomputes presentation + %feature("autodoc", "* Sets a local value for HLR deviation angle for this specific shape. + :rtype: bool") SetOwnHLRDeviationAngle; + Standard_Boolean SetOwnHLRDeviationAngle (); + /****************** SetOwnHLRDeviationAngle ******************/ + %feature("compactdefaultargs") SetOwnHLRDeviationAngle; + %feature("autodoc", "* sets myOwnHLRDeviationAngle field in Prs3d_Drawer & recomputes presentation :param anAngle: :type anAngle: float - :rtype: None -") SetOwnHLRDeviationAngle; + :rtype: None") SetOwnHLRDeviationAngle; void SetOwnHLRDeviationAngle (const Standard_Real anAngle); - %feature("compactdefaultargs") OwnDeviationCoefficient; - %feature("autodoc", " * Returns true and the values of the deviation coefficient aCoefficient and the previous deviation coefficient aPreviousCoefficient. If these values are not already set, false is returned. - :param aCoefficient: - :type aCoefficient: float & - :param aPreviousCoefficient: - :type aPreviousCoefficient: float & - :rtype: bool -") OwnDeviationCoefficient; - Standard_Boolean OwnDeviationCoefficient (Standard_Real &OutValue,Standard_Real &OutValue); - %feature("compactdefaultargs") OwnHLRDeviationCoefficient; - %feature("autodoc", " * Returns true and the values of the HLR deviation coefficient aCoefficient and the previous HLR deviation coefficient aPreviousCoefficient. If these values are not already set, false is returned. + /****************** SetOwnHLRDeviationCoefficient ******************/ + %feature("compactdefaultargs") SetOwnHLRDeviationCoefficient; + %feature("autodoc", "* Sets a local value for HLR deviation coefficient for this specific shape. + :rtype: bool") SetOwnHLRDeviationCoefficient; + Standard_Boolean SetOwnHLRDeviationCoefficient (); + /****************** SetOwnHLRDeviationCoefficient ******************/ + %feature("compactdefaultargs") SetOwnHLRDeviationCoefficient; + %feature("autodoc", "* sets myOwnHLRDeviationCoefficient field in Prs3d_Drawer & recomputes presentation :param aCoefficient: - :type aCoefficient: float & - :param aPreviousCoefficient: - :type aPreviousCoefficient: float & - :rtype: bool -") OwnHLRDeviationCoefficient; - Standard_Boolean OwnHLRDeviationCoefficient (Standard_Real &OutValue,Standard_Real &OutValue); - %feature("compactdefaultargs") OwnDeviationAngle; - %feature("autodoc", " * Returns true and the values of the deviation angle anAngle and the previous deviation angle aPreviousAngle. If these values are not already set, false is returned. + :type aCoefficient: float + :rtype: None") SetOwnHLRDeviationCoefficient; + void SetOwnHLRDeviationCoefficient (const Standard_Real aCoefficient); - :param anAngle: - :type anAngle: float & - :param aPreviousAngle: - :type aPreviousAngle: float & - :rtype: bool -") OwnDeviationAngle; - Standard_Boolean OwnDeviationAngle (Standard_Real &OutValue,Standard_Real &OutValue); - %feature("compactdefaultargs") OwnHLRDeviationAngle; - %feature("autodoc", " * Returns true and the values of the HLR deviation angle anAngle and of the previous HLR deviation angle aPreviousAngle. If these values are not already set, false is returned. + /****************** SetShape ******************/ + %feature("compactdefaultargs") SetShape; + %feature("autodoc", "* Constructs an instance of the shape object theShape. + :param theShape: + :type theShape: TopoDS_Shape & + :rtype: None") SetShape; + void SetShape (const TopoDS_Shape & theShape); + + /****************** SetTextureOriginUV ******************/ + %feature("compactdefaultargs") SetTextureOriginUV; + %feature("autodoc", "* Use this method to change the origin of the texture. The texel (0,0) will be mapped to the surface (myUVOrigin.X(), myUVOrigin.Y()). + :param theOriginUV: + :type theOriginUV: gp_Pnt2d + :rtype: None") SetTextureOriginUV; + void SetTextureOriginUV (const gp_Pnt2d & theOriginUV); + + /****************** SetTextureRepeatUV ******************/ + %feature("compactdefaultargs") SetTextureRepeatUV; + %feature("autodoc", "* Sets the number of occurrences of the texture on each face. The texture itself is parameterized in (0,1) by (0,1). Each face of the shape to be textured is parameterized in UV space (Umin,Umax) by (Vmin,Vmax). + :param theRepeatUV: + :type theRepeatUV: gp_Pnt2d + :rtype: None") SetTextureRepeatUV; + void SetTextureRepeatUV (const gp_Pnt2d & theRepeatUV); + + /****************** SetTextureScaleUV ******************/ + %feature("compactdefaultargs") SetTextureScaleUV; + %feature("autodoc", "* Use this method to scale the texture (percent of the face). You can specify a scale factor for both U and V. Example: if you set ScaleU and ScaleV to 0.5 and you enable texture repeat, the texture will appear twice on the face in each direction. + :param theScaleUV: + :type theScaleUV: gp_Pnt2d + :rtype: None") SetTextureScaleUV; + void SetTextureScaleUV (const gp_Pnt2d & theScaleUV); + + /****************** SetTransparency ******************/ + %feature("compactdefaultargs") SetTransparency; + %feature("autodoc", "* Sets the value aValue for transparency in the reconstructed compound shape. + :param aValue: default value is 0.6 + :type aValue: float + :rtype: void") SetTransparency; + virtual void SetTransparency (const Standard_Real aValue = 0.6); - :param anAngle: - :type anAngle: float & - :param aPreviousAngle: - :type aPreviousAngle: float & - :rtype: bool -") OwnHLRDeviationAngle; - Standard_Boolean OwnHLRDeviationAngle (Standard_Real &OutValue,Standard_Real &OutValue); + /****************** SetTypeOfHLR ******************/ %feature("compactdefaultargs") SetTypeOfHLR; - %feature("autodoc", " * Sets the type of HLR algorithm used by the shape - + %feature("autodoc", "* Sets the type of HLR algorithm used by the shape :param theTypeOfHLR: :type theTypeOfHLR: Prs3d_TypeOfHLR - :rtype: None -") SetTypeOfHLR; + :rtype: None") SetTypeOfHLR; void SetTypeOfHLR (const Prs3d_TypeOfHLR theTypeOfHLR); - %feature("compactdefaultargs") TypeOfHLR; - %feature("autodoc", " * Gets the type of HLR algorithm - - :rtype: Prs3d_TypeOfHLR -") TypeOfHLR; - Prs3d_TypeOfHLR TypeOfHLR (); - %feature("compactdefaultargs") SetColor; - %feature("autodoc", " * Sets the color aColor in the reconstructed compound shape. Acts via the Drawer methods below on the appearance of: - free boundaries: Prs3d_Drawer_FreeBoundaryAspect, - isos: Prs3d_Drawer_UIsoAspect, Prs3dDrawer_VIsoAspect, - shared boundaries: Prs3d_Drawer_UnFreeBoundaryAspect, - shading: Prs3d_Drawer_ShadingAspect, - visible line color in hidden line mode: Prs3d_Drawer_SeenLineAspect - hidden line color in hidden line mode: Prs3d_Drawer_HiddenLineAspect. - - :param aColor: - :type aColor: Quantity_NameOfColor - :rtype: void -") SetColor; - virtual void SetColor (const Quantity_NameOfColor aColor); - %feature("compactdefaultargs") SetColor; - %feature("autodoc", " :param aColor: - :type aColor: Quantity_Color & - :rtype: void -") SetColor; - virtual void SetColor (const Quantity_Color & aColor); - %feature("compactdefaultargs") UnsetColor; - %feature("autodoc", " * Removes settings for color in the reconstructed compound shape. - :rtype: void -") UnsetColor; - virtual void UnsetColor (); + /****************** SetWidth ******************/ %feature("compactdefaultargs") SetWidth; - %feature("autodoc", " * Sets the value aValue for line width in the reconstructed compound shape. Changes line aspects for lines-only presentation modes like Wireframe and Bounding Box. Doesn't change face boundary line aspect. - + %feature("autodoc", "* Sets the value aValue for line width in the reconstructed compound shape. Changes line aspects for lines presentation. :param aValue: :type aValue: float - :rtype: void -") SetWidth; + :rtype: void") SetWidth; virtual void SetWidth (const Standard_Real aValue); - %feature("compactdefaultargs") UnsetWidth; - %feature("autodoc", " * Removes the setting for line width in the reconstructed compound shape. - :rtype: void -") UnsetWidth; - virtual void UnsetWidth (); - %feature("compactdefaultargs") SetMaterial; - %feature("autodoc", " :param aName: - :type aName: Graphic3d_NameOfMaterial - :rtype: void -") SetMaterial; - virtual void SetMaterial (const Graphic3d_NameOfMaterial aName); - %feature("compactdefaultargs") SetMaterial; - %feature("autodoc", " * Allows you to provide settings for the material aName in the reconstructed compound shape. + /****************** Shape ******************/ + %feature("compactdefaultargs") Shape; + %feature("autodoc", "* Returns this shape object. + :rtype: TopoDS_Shape") Shape; + const TopoDS_Shape Shape (); - :param aName: - :type aName: Graphic3d_MaterialAspect & - :rtype: void -") SetMaterial; - virtual void SetMaterial (const Graphic3d_MaterialAspect & aName); - %feature("compactdefaultargs") UnsetMaterial; - %feature("autodoc", " * Removes settings for material in the reconstructed compound shape. + /****************** Signature ******************/ + %feature("compactdefaultargs") Signature; + %feature("autodoc", "* Returns index 0. This value refers to SHAPE from TopAbs_ShapeEnum + :rtype: int") Signature; + Standard_Integer Signature (); - :rtype: void -") UnsetMaterial; - virtual void UnsetMaterial (); - %feature("compactdefaultargs") SetTransparency; - %feature("autodoc", " * Sets the value aValue for transparency in the reconstructed compound shape. + /****************** TextureOriginUV ******************/ + %feature("compactdefaultargs") TextureOriginUV; + %feature("autodoc", "* Return texture origin UV position; (0, 0) by default. + :rtype: gp_Pnt2d") TextureOriginUV; + const gp_Pnt2d TextureOriginUV (); + + /****************** TextureRepeatUV ******************/ + %feature("compactdefaultargs") TextureRepeatUV; + %feature("autodoc", "* @name methods to alter texture mapping properties Return texture repeat UV values; (1, 1) by default. + :rtype: gp_Pnt2d") TextureRepeatUV; + const gp_Pnt2d TextureRepeatUV (); + + /****************** TextureScaleUV ******************/ + %feature("compactdefaultargs") TextureScaleUV; + %feature("autodoc", "* Return scale factor for UV coordinates; (1, 1) by default. + :rtype: gp_Pnt2d") TextureScaleUV; + const gp_Pnt2d TextureScaleUV (); + + /****************** Transparency ******************/ + %feature("compactdefaultargs") Transparency; + %feature("autodoc", "* Returns the transparency attributes of the shape accordingly to the current facing model; + :rtype: float") Transparency; + virtual Standard_Real Transparency (); - :param aValue: default value is 0.6 - :type aValue: float - :rtype: void -") SetTransparency; - virtual void SetTransparency (const Standard_Real aValue = 0.6); - %feature("compactdefaultargs") UnsetTransparency; - %feature("autodoc", " * Removes the setting for transparency in the reconstructed compound shape. + /****************** Type ******************/ + %feature("compactdefaultargs") Type; + %feature("autodoc", "* Returns Object as the type of Interactive Object. + :rtype: AIS_KindOfInteractive") Type; + AIS_KindOfInteractive Type (); - :rtype: void -") UnsetTransparency; - virtual void UnsetTransparency (); - %feature("compactdefaultargs") BoundingBox; - %feature("autodoc", " * Constructs a bounding box with which to reconstruct compound topological shapes for presentation. + /****************** TypeOfHLR ******************/ + %feature("compactdefaultargs") TypeOfHLR; + %feature("autodoc", "* Gets the type of HLR algorithm + :rtype: Prs3d_TypeOfHLR") TypeOfHLR; + Prs3d_TypeOfHLR TypeOfHLR (); - :rtype: Bnd_Box -") BoundingBox; - virtual const Bnd_Box & BoundingBox (); - %feature("compactdefaultargs") Color; - %feature("autodoc", " * Returns the NameOfColor attributes of the shape accordingly to the current facing model; + /****************** UnsetColor ******************/ + %feature("compactdefaultargs") UnsetColor; + %feature("autodoc", "* Removes settings for color in the reconstructed compound shape. + :rtype: void") UnsetColor; + virtual void UnsetColor (); - :rtype: Quantity_NameOfColor -") Color; - virtual Quantity_NameOfColor Color (); - %feature("compactdefaultargs") Color; - %feature("autodoc", " * Returns the Color attributes of the shape accordingly to the current facing model; + /****************** UnsetMaterial ******************/ + %feature("compactdefaultargs") UnsetMaterial; + %feature("autodoc", "* Removes settings for material in the reconstructed compound shape. + :rtype: void") UnsetMaterial; + virtual void UnsetMaterial (); - :param aColor: - :type aColor: Quantity_Color & - :rtype: void -") Color; - virtual void Color (Quantity_Color & aColor); - %feature("compactdefaultargs") Material; - %feature("autodoc", " * Returns the NameOfMaterial attributes of the shape accordingly to the current facing model; + /****************** UnsetTransparency ******************/ + %feature("compactdefaultargs") UnsetTransparency; + %feature("autodoc", "* Removes the setting for transparency in the reconstructed compound shape. + :rtype: void") UnsetTransparency; + virtual void UnsetTransparency (); - :rtype: Graphic3d_NameOfMaterial -") Material; - virtual Graphic3d_NameOfMaterial Material (); - %feature("compactdefaultargs") Transparency; - %feature("autodoc", " * Returns the transparency attributes of the shape accordingly to the current facing model; + /****************** UnsetWidth ******************/ + %feature("compactdefaultargs") UnsetWidth; + %feature("autodoc", "* Removes the setting for line width in the reconstructed compound shape. + :rtype: void") UnsetWidth; + virtual void UnsetWidth (); - :rtype: float -") Transparency; - virtual Standard_Real Transparency (); - %feature("compactdefaultargs") SelectionType; - %feature("autodoc", " * Activates the same TopAbs shape enumerations as those used by SelectionMode assigning a type to the mode aDecompositionMode. + /****************** UserAngle ******************/ + %feature("compactdefaultargs") UserAngle; + %feature("autodoc", "* gives back the angle initial value put by the User. + :rtype: float") UserAngle; + Standard_Real UserAngle (); - :param aDecompositionMode: - :type aDecompositionMode: int - :rtype: TopAbs_ShapeEnum -") SelectionType; - static TopAbs_ShapeEnum SelectionType (const Standard_Integer aDecompositionMode); - %feature("compactdefaultargs") SelectionMode; - %feature("autodoc", " * Establishes an equivalence between a mode and the type, aShapeType, of selection. The correspondences are as follows: - mode 0 - Shape - mode 1 - Vertex - mode 2 - Edge - mode 3 - Wire - mode 4 - Face - mode 5 - Shell - mode 6 - Solid - mode 7 - Compsolid - mode 8 - Compound + /****************** computeHlrPresentation ******************/ + %feature("compactdefaultargs") computeHlrPresentation; + %feature("autodoc", "* Compute HLR presentation for specified shape. + :param theProjector: + :type theProjector: opencascade::handle & + :param thePrs: + :type thePrs: opencascade::handle & + :param theShape: + :type theShape: TopoDS_Shape & + :param theDrawer: + :type theDrawer: opencascade::handle & + :rtype: void") computeHlrPresentation; + static void computeHlrPresentation (const opencascade::handle & theProjector,const opencascade::handle & thePrs,const TopoDS_Shape & theShape,const opencascade::handle & theDrawer); - :param aShapeType: - :type aShapeType: TopAbs_ShapeEnum - :rtype: int -") SelectionMode; - static Standard_Integer SelectionMode (const TopAbs_ShapeEnum aShapeType); }; @@ -8119,27 +8587,31 @@ class AIS_Shape : public AIS_InteractiveObject { __repr__ = _dumps_object } }; + +/**************************** +* class AIS_SignatureFilter * +****************************/ %nodefaultctor AIS_SignatureFilter; class AIS_SignatureFilter : public AIS_TypeFilter { public: + /****************** AIS_SignatureFilter ******************/ %feature("compactdefaultargs") AIS_SignatureFilter; - %feature("autodoc", " * Initializes the signature filter, adding the signature specification, aGivenSignature, to that for type, aGivenKind, in AIS_TypeFilter. - + %feature("autodoc", "* Initializes the signature filter, adding the signature specification, aGivenSignature, to that for type, aGivenKind, in AIS_TypeFilter. :param aGivenKind: :type aGivenKind: AIS_KindOfInteractive :param aGivenSignature: :type aGivenSignature: int - :rtype: None -") AIS_SignatureFilter; + :rtype: None") AIS_SignatureFilter; AIS_SignatureFilter (const AIS_KindOfInteractive aGivenKind,const Standard_Integer aGivenSignature); - %feature("compactdefaultargs") IsOk; - %feature("autodoc", " * Returns False if the transient is not an AIS_InteractiveObject. Returns False if the signature of InteractiveObject is not the same as the stored one in the filter... + /****************** IsOk ******************/ + %feature("compactdefaultargs") IsOk; + %feature("autodoc", "* Returns False if the transient is not an AIS_InteractiveObject. Returns False if the signature of InteractiveObject is not the same as the stored one in the filter... :param anobj: - :type anobj: Handle_SelectMgr_EntityOwner & - :rtype: bool -") IsOk; - Standard_Boolean IsOk (const Handle_SelectMgr_EntityOwner & anobj); + :type anobj: opencascade::handle & + :rtype: bool") IsOk; + Standard_Boolean IsOk (const opencascade::handle & anobj); + }; @@ -8150,111 +8622,181 @@ class AIS_SignatureFilter : public AIS_TypeFilter { __repr__ = _dumps_object } }; + +/********************** +* class AIS_TextLabel * +**********************/ %nodefaultctor AIS_TextLabel; class AIS_TextLabel : public AIS_InteractiveObject { public: + /****************** AIS_TextLabel ******************/ %feature("compactdefaultargs") AIS_TextLabel; - %feature("autodoc", " * Default constructor - - :rtype: None -") AIS_TextLabel; + %feature("autodoc", "* Default constructor + :rtype: None") AIS_TextLabel; AIS_TextLabel (); - %feature("compactdefaultargs") SetColor; - %feature("autodoc", " * Setup color of entire text. + /****************** HasFlipping ******************/ + %feature("compactdefaultargs") HasFlipping; + %feature("autodoc", ":rtype: bool") HasFlipping; + Standard_Boolean HasFlipping (); + + /****************** HasOrientation3D ******************/ + %feature("compactdefaultargs") HasOrientation3D; + %feature("autodoc", "* Returns true if the current text placement mode uses text orientation in the model 3D space. + :rtype: bool") HasOrientation3D; + Standard_Boolean HasOrientation3D (); + + /****************** Orientation3D ******************/ + %feature("compactdefaultargs") Orientation3D; + %feature("autodoc", "* Returns label orientation in the model 3D space. + :rtype: gp_Ax2") Orientation3D; + const gp_Ax2 Orientation3D (); + + /****************** Position ******************/ + %feature("compactdefaultargs") Position; + %feature("autodoc", "* Returns position. + :rtype: gp_Pnt") Position; + const gp_Pnt Position (); + + /****************** SetAngle ******************/ + %feature("compactdefaultargs") SetAngle; + %feature("autodoc", "* Setup angle. + :param theAngle: + :type theAngle: float + :rtype: None") SetAngle; + void SetAngle (const Standard_Real theAngle); + + /****************** SetColor ******************/ + %feature("compactdefaultargs") SetColor; + %feature("autodoc", "* Setup color of entire text. :param theColor: :type theColor: Quantity_Color & - :rtype: void -") SetColor; + :rtype: void") SetColor; virtual void SetColor (const Quantity_Color & theColor); - %feature("compactdefaultargs") SetColor; - %feature("autodoc", " * Setup color of entire text. + /****************** SetColorSubTitle ******************/ + %feature("compactdefaultargs") SetColorSubTitle; + %feature("autodoc", "* Modifies the colour of the subtitle for the TODT_SUBTITLE TextDisplayType and the colour of backgroubd for the TODT_DEKALE TextDisplayType. :param theColor: - :type theColor: Quantity_NameOfColor - :rtype: void -") SetColor; - virtual void SetColor (const Quantity_NameOfColor theColor); - %feature("compactdefaultargs") SetText; - %feature("autodoc", " * Setup text. + :type theColor: Quantity_Color & + :rtype: None") SetColorSubTitle; + void SetColorSubTitle (const Quantity_Color & theColor); + + /****************** SetDisplayType ******************/ + %feature("compactdefaultargs") SetDisplayType; + %feature("autodoc", "* Define the display type of the text. //! TODT_NORMAL Default display. Text only. TODT_SUBTITLE There is a subtitle under the text. TODT_DEKALE The text is displayed with a 3D style. TODT_BLEND The text is displayed in XOR. TODT_DIMENSION Dimension line under text will be invisible. + :param theDisplayType: + :type theDisplayType: Aspect_TypeOfDisplayText + :rtype: None") SetDisplayType; + void SetDisplayType (const Aspect_TypeOfDisplayText theDisplayType); + + /****************** SetFlipping ******************/ + %feature("compactdefaultargs") SetFlipping; + %feature("autodoc", ":param theIsFlipping: + :type theIsFlipping: bool + :rtype: None") SetFlipping; + void SetFlipping (const Standard_Boolean theIsFlipping); + + /****************** SetFont ******************/ + %feature("compactdefaultargs") SetFont; + %feature("autodoc", "* Setup font. + :param theFont: + :type theFont: char * + :rtype: None") SetFont; + void SetFont (const char * theFont); - :param theText: - :type theText: TCollection_ExtendedString & - :rtype: None -") SetText; - void SetText (const TCollection_ExtendedString & theText); - %feature("compactdefaultargs") SetPosition; - %feature("autodoc", " * Setup position. + /****************** SetFontAspect ******************/ + %feature("compactdefaultargs") SetFontAspect; + %feature("autodoc", "* Setup font aspect. + :param theFontAspect: + :type theFontAspect: Font_FontAspect + :rtype: None") SetFontAspect; + void SetFontAspect (const Font_FontAspect theFontAspect); - :param thePosition: - :type thePosition: gp_Pnt - :rtype: None -") SetPosition; - void SetPosition (const gp_Pnt & thePosition); + /****************** SetHJustification ******************/ %feature("compactdefaultargs") SetHJustification; - %feature("autodoc", " * Setup horizontal justification. - + %feature("autodoc", "* Setup horizontal justification. :param theHJust: :type theHJust: Graphic3d_HorizontalTextAlignment - :rtype: None -") SetHJustification; + :rtype: None") SetHJustification; void SetHJustification (const Graphic3d_HorizontalTextAlignment theHJust); - %feature("compactdefaultargs") SetVJustification; - %feature("autodoc", " * Setup vertical justification. + /****************** SetHeight ******************/ + %feature("compactdefaultargs") SetHeight; + %feature("autodoc", "* Setup height. + :param theHeight: + :type theHeight: float + :rtype: None") SetHeight; + void SetHeight (const Standard_Real theHeight); + + /****************** SetMaterial ******************/ + %feature("compactdefaultargs") SetMaterial; + %feature("autodoc", "* Material has no effect for text label. + :param &: + :type &: Graphic3d_MaterialAspect + :rtype: None") SetMaterial; + void SetMaterial (const Graphic3d_MaterialAspect &); + + /****************** SetOrientation3D ******************/ + %feature("compactdefaultargs") SetOrientation3D; + %feature("autodoc", "* Setup label orientation in the model 3D space. + :param theOrientation: + :type theOrientation: gp_Ax2 + :rtype: None") SetOrientation3D; + void SetOrientation3D (const gp_Ax2 & theOrientation); + + /****************** SetPosition ******************/ + %feature("compactdefaultargs") SetPosition; + %feature("autodoc", "* Setup position. + :param thePosition: + :type thePosition: gp_Pnt + :rtype: None") SetPosition; + void SetPosition (const gp_Pnt & thePosition); + + /****************** SetText ******************/ + %feature("compactdefaultargs") SetText; + %feature("autodoc", "* Setup text. + :param theText: + :type theText: TCollection_ExtendedString & + :rtype: None") SetText; + void SetText (const TCollection_ExtendedString & theText); + + /****************** SetTransparency ******************/ + %feature("compactdefaultargs") SetTransparency; + %feature("autodoc", "* Setup transparency within [0, 1] range. + :param theValue: + :type theValue: float + :rtype: void") SetTransparency; + virtual void SetTransparency (const Standard_Real theValue); + + /****************** SetVJustification ******************/ + %feature("compactdefaultargs") SetVJustification; + %feature("autodoc", "* Setup vertical justification. :param theVJust: :type theVJust: Graphic3d_VerticalTextAlignment - :rtype: None -") SetVJustification; + :rtype: None") SetVJustification; void SetVJustification (const Graphic3d_VerticalTextAlignment theVJust); - %feature("compactdefaultargs") SetAngle; - %feature("autodoc", " * Setup angle. - :param theAngle: - :type theAngle: float - :rtype: None -") SetAngle; - void SetAngle (const Standard_Real theAngle); + /****************** SetZoomable ******************/ %feature("compactdefaultargs") SetZoomable; - %feature("autodoc", " * Setup zoomable property. - + %feature("autodoc", "* Setup zoomable property. :param theIsZoomable: :type theIsZoomable: bool - :rtype: None -") SetZoomable; + :rtype: None") SetZoomable; void SetZoomable (const Standard_Boolean theIsZoomable); - %feature("compactdefaultargs") SetHeight; - %feature("autodoc", " * Setup height. - - :param theHeight: - :type theHeight: float - :rtype: None -") SetHeight; - void SetHeight (const Standard_Real theHeight); - %feature("compactdefaultargs") SetFontAspect; - %feature("autodoc", " * Setup font aspect. - :param theFontAspect: - :type theFontAspect: Font_FontAspect - :rtype: None -") SetFontAspect; - void SetFontAspect (const Font_FontAspect theFontAspect); - %feature("compactdefaultargs") SetFont; - %feature("autodoc", " * Setup font. + /****************** UnsetOrientation3D ******************/ + %feature("compactdefaultargs") UnsetOrientation3D; + %feature("autodoc", "* Reset label orientation in the model 3D space. + :rtype: None") UnsetOrientation3D; + void UnsetOrientation3D (); - :param theFont: - :type theFont: char * - :rtype: None -") SetFont; - void SetFont (const char * theFont); - %feature("compactdefaultargs") DEFINE_STANDARD_RTTI; - %feature("autodoc", " * CASCADE RTTI + /****************** UnsetTransparency ******************/ + %feature("compactdefaultargs") UnsetTransparency; + %feature("autodoc", "* Removes the transparency setting. + :rtype: None") UnsetTransparency; + void UnsetTransparency (); - :param : - :type : AIS_TextLabel - :rtype: None -") DEFINE_STANDARD_RTTI; - DEFINE_STANDARD_RTTI (AIS_TextLabel ); }; @@ -8265,43 +8807,68 @@ class AIS_TextLabel : public AIS_InteractiveObject { __repr__ = _dumps_object } }; + +/************************** +* class AIS_Triangulation * +**************************/ %nodefaultctor AIS_Triangulation; class AIS_Triangulation : public AIS_InteractiveObject { public: + /****************** AIS_Triangulation ******************/ %feature("compactdefaultargs") AIS_Triangulation; - %feature("autodoc", " * Constructs the Triangulation display object - + %feature("autodoc", "* Constructs the Triangulation display object :param aTriangulation: - :type aTriangulation: Handle_Poly_Triangulation & - :rtype: None -") AIS_Triangulation; - AIS_Triangulation (const Handle_Poly_Triangulation & aTriangulation); - %feature("compactdefaultargs") SetColors; - %feature("autodoc", " * Set the color for each node. Each 32-bit color is Alpha << 24 + Blue << 16 + Green << 8 + Red Order of color components is essential for further usage by OpenGL + :type aTriangulation: opencascade::handle & + :rtype: None") AIS_Triangulation; + AIS_Triangulation (const opencascade::handle & aTriangulation); - :param aColor: - :type aColor: Handle_TColStd_HArray1OfInteger & - :rtype: None -") SetColors; - void SetColors (const Handle_TColStd_HArray1OfInteger & aColor); + /****************** GetColors ******************/ %feature("compactdefaultargs") GetColors; - %feature("autodoc", " * Get the color for each node. Each 32-bit color is Alpha << 24 + Blue << 16 + Green << 8 + Red + %feature("autodoc", "* Get the color for each node. Each 32-bit color is Alpha << 24 + Blue << 16 + Green << 8 + Red + :rtype: opencascade::handle") GetColors; + opencascade::handle GetColors (); - :rtype: Handle_TColStd_HArray1OfInteger -") GetColors; - Handle_TColStd_HArray1OfInteger GetColors (); - %feature("compactdefaultargs") SetTriangulation; - %feature("autodoc", " :param aTriangulation: - :type aTriangulation: Handle_Poly_Triangulation & - :rtype: None -") SetTriangulation; - void SetTriangulation (const Handle_Poly_Triangulation & aTriangulation); + /****************** GetTriangulation ******************/ %feature("compactdefaultargs") GetTriangulation; - %feature("autodoc", " * Returns Poly_Triangulation . + %feature("autodoc", "* Returns Poly_Triangulation . + :rtype: opencascade::handle") GetTriangulation; + opencascade::handle GetTriangulation (); + + /****************** HasVertexColors ******************/ + %feature("compactdefaultargs") HasVertexColors; + %feature("autodoc", "* Returns true if triangulation has vertex colors. + :rtype: bool") HasVertexColors; + Standard_Boolean HasVertexColors (); + + /****************** SetColors ******************/ + %feature("compactdefaultargs") SetColors; + %feature("autodoc", "* Set the color for each node. Each 32-bit color is Alpha << 24 + Blue << 16 + Green << 8 + Red Order of color components is essential for further usage by OpenGL + :param aColor: + :type aColor: opencascade::handle & + :rtype: None") SetColors; + void SetColors (const opencascade::handle & aColor); + + /****************** SetTransparency ******************/ + %feature("compactdefaultargs") SetTransparency; + %feature("autodoc", "* Sets the value aValue for transparency in the reconstructed compound shape. + :param aValue: default value is 0.6 + :type aValue: float + :rtype: void") SetTransparency; + virtual void SetTransparency (const Standard_Real aValue = 0.6); + + /****************** SetTriangulation ******************/ + %feature("compactdefaultargs") SetTriangulation; + %feature("autodoc", ":param aTriangulation: + :type aTriangulation: opencascade::handle & + :rtype: None") SetTriangulation; + void SetTriangulation (const opencascade::handle & aTriangulation); + + /****************** UnsetTransparency ******************/ + %feature("compactdefaultargs") UnsetTransparency; + %feature("autodoc", "* Removes the setting for transparency in the reconstructed compound shape. + :rtype: void") UnsetTransparency; + virtual void UnsetTransparency (); - :rtype: Handle_Poly_Triangulation -") GetTriangulation; - Handle_Poly_Triangulation GetTriangulation (); }; @@ -8312,418 +8879,1118 @@ class AIS_Triangulation : public AIS_InteractiveObject { __repr__ = _dumps_object } }; + +/********************** +* class AIS_Trihedron * +**********************/ %nodefaultctor AIS_Trihedron; class AIS_Trihedron : public AIS_InteractiveObject { public: + /****************** AIS_Trihedron ******************/ %feature("compactdefaultargs") AIS_Trihedron; - %feature("autodoc", " * Initializes a trihedron entity. + %feature("autodoc", "* Initializes a trihedron entity. + :param theComponent: + :type theComponent: opencascade::handle & + :rtype: None") AIS_Trihedron; + AIS_Trihedron (const opencascade::handle & theComponent); - :param aComponent: - :type aComponent: Handle_Geom_Axis2Placement & - :rtype: None -") AIS_Trihedron; - AIS_Trihedron (const Handle_Geom_Axis2Placement & aComponent); + /****************** AcceptDisplayMode ******************/ + %feature("compactdefaultargs") AcceptDisplayMode; + %feature("autodoc", "* Returns true if the display mode selected, aMode, is valid for trihedron datums. + :param theMode: + :type theMode: int + :rtype: bool") AcceptDisplayMode; + Standard_Boolean AcceptDisplayMode (const Standard_Integer theMode); + + /****************** ArrowColor ******************/ + %feature("compactdefaultargs") ArrowColor; + %feature("autodoc", "* Returns trihedron arrow color + :rtype: Quantity_Color") ArrowColor; + Quantity_Color ArrowColor (); + + /****************** ClearSelected ******************/ + %feature("compactdefaultargs") ClearSelected; + %feature("autodoc", "* Method which clear all selected owners belonging to this selectable object ( for fast presentation draw ). + :rtype: void") ClearSelected; + virtual void ClearSelected (); + + /****************** Component ******************/ %feature("compactdefaultargs") Component; - %feature("autodoc", " * Returns the right-handed coordinate system set in SetComponent. + %feature("autodoc", "* Returns the right-handed coordinate system set in SetComponent. + :rtype: opencascade::handle") Component; + const opencascade::handle & Component (); + + /****************** DatumDisplayMode ******************/ + %feature("compactdefaultargs") DatumDisplayMode; + %feature("autodoc", "* Returns datum display mode. + :rtype: Prs3d_DatumMode") DatumDisplayMode; + Prs3d_DatumMode DatumDisplayMode (); + + /****************** DatumPartColor ******************/ + %feature("compactdefaultargs") DatumPartColor; + %feature("autodoc", "* Returns color of datum part: origin or some of trihedron axes. + :param thePart: + :type thePart: Prs3d_DatumParts + :rtype: Quantity_Color") DatumPartColor; + Quantity_Color DatumPartColor (Prs3d_DatumParts thePart); + + /****************** HasArrowColor ******************/ + %feature("compactdefaultargs") HasArrowColor; + %feature("autodoc", "* Returns true if trihedron has own arrow color + :rtype: bool") HasArrowColor; + Standard_Boolean HasArrowColor (); + + /****************** HasOwnSize ******************/ + %feature("compactdefaultargs") HasOwnSize; + %feature("autodoc", "* Returns true if the trihedron object has a size other than the default size of 100 mm. along each axis. + :rtype: bool") HasOwnSize; + Standard_Boolean HasOwnSize (); + + /****************** HasTextColor ******************/ + %feature("compactdefaultargs") HasTextColor; + %feature("autodoc", "* Returns true if trihedron has own text color + :rtype: bool") HasTextColor; + Standard_Boolean HasTextColor (); - :rtype: Handle_Geom_Axis2Placement -") Component; - Handle_Geom_Axis2Placement Component (); + /****************** HilightOwnerWithColor ******************/ + %feature("compactdefaultargs") HilightOwnerWithColor; + %feature("autodoc", "* Method which hilight an owner belonging to this selectable object ( for fast presentation draw ). + :param thePM: + :type thePM: opencascade::handle & + :param theStyle: + :type theStyle: opencascade::handle & + :param theOwner: + :type theOwner: opencascade::handle & + :rtype: void") HilightOwnerWithColor; + virtual void HilightOwnerWithColor (const opencascade::handle & thePM,const opencascade::handle & theStyle,const opencascade::handle & theOwner); + + /****************** HilightSelected ******************/ + %feature("compactdefaultargs") HilightSelected; + %feature("autodoc", "* Method which draws selected owners ( for fast presentation draw ). + :param thePM: + :type thePM: opencascade::handle & + :param theOwners: + :type theOwners: SelectMgr_SequenceOfOwner & + :rtype: void") HilightSelected; + virtual void HilightSelected (const opencascade::handle & thePM,const SelectMgr_SequenceOfOwner & theOwners); + + /****************** IsAutoHilight ******************/ + %feature("compactdefaultargs") IsAutoHilight; + %feature("autodoc", "* Disables auto highlighting to use HilightSelected() and HilightOwnerWithColor() overridden methods. + :rtype: bool") IsAutoHilight; + Standard_Boolean IsAutoHilight (); + + /****************** Label ******************/ + %feature("compactdefaultargs") Label; + %feature("autodoc", "* Returns text of axis. Parameter thePart should be XAxis, YAxis or ZAxis + :param thePart: + :type thePart: Prs3d_DatumParts + :rtype: TCollection_ExtendedString") Label; + const TCollection_ExtendedString & Label (Prs3d_DatumParts thePart); + + /****************** SelectionPriority ******************/ + %feature("compactdefaultargs") SelectionPriority; + %feature("autodoc", "* Sets priority of selection for owner of the given type + :param thePart: + :type thePart: Prs3d_DatumParts + :rtype: int") SelectionPriority; + Standard_Integer SelectionPriority (Prs3d_DatumParts thePart); + + /****************** SetArrowColor ******************/ + %feature("compactdefaultargs") SetArrowColor; + %feature("autodoc", "* Sets color of arrow of trihedron axes. Used only in wireframe mode + :param theColor: + :type theColor: Quantity_Color & + :rtype: None") SetArrowColor; + void SetArrowColor (const Quantity_Color & theColor); + + /****************** SetAxisColor ******************/ + %feature("compactdefaultargs") SetAxisColor; + %feature("autodoc", "* Sets color of z-axis. //Standard_DEPRECATED('This method is deprecated - SetColor() should be called instead') + :param theColor: + :type theColor: Quantity_Color & + :rtype: None") SetAxisColor; + void SetAxisColor (const Quantity_Color & theColor); + + /****************** SetColor ******************/ + %feature("compactdefaultargs") SetColor; + %feature("autodoc", "* Sets the color theColor for this trihedron object, it changes color of axes. + :param theColor: + :type theColor: Quantity_Color & + :rtype: None") SetColor; + void SetColor (const Quantity_Color & theColor); + + /****************** SetComponent ******************/ %feature("compactdefaultargs") SetComponent; - %feature("autodoc", " * Constructs the right-handed coordinate system aComponent. + %feature("autodoc", "* Constructs the right-handed coordinate system aComponent. + :param theComponent: + :type theComponent: opencascade::handle & + :rtype: None") SetComponent; + void SetComponent (const opencascade::handle & theComponent); + + /****************** SetDatumDisplayMode ******************/ + %feature("compactdefaultargs") SetDatumDisplayMode; + %feature("autodoc", "* Sets Shading or Wireframe display mode, triangle or segment graphic group is used relatively. + :param theMode: + :type theMode: Prs3d_DatumMode + :rtype: None") SetDatumDisplayMode; + void SetDatumDisplayMode (Prs3d_DatumMode theMode); + + /****************** SetDatumPartColor ******************/ + %feature("compactdefaultargs") SetDatumPartColor; + %feature("autodoc", "* Sets color of datum part: origin or some of trihedron axes. If presentation is shading mode, this color is set for both sides of facing model + :param thePart: + :type thePart: Prs3d_DatumParts + :param theColor: + :type theColor: Quantity_Color & + :rtype: None") SetDatumPartColor; + void SetDatumPartColor (const Prs3d_DatumParts thePart,const Quantity_Color & theColor); + + /****************** SetDrawArrows ******************/ + %feature("compactdefaultargs") SetDrawArrows; + %feature("autodoc", "* Sets whether to draw the arrows in visualization + :param theToDraw: + :type theToDraw: bool + :rtype: None") SetDrawArrows; + void SetDrawArrows (const Standard_Boolean theToDraw); + + /****************** SetLabel ******************/ + %feature("compactdefaultargs") SetLabel; + %feature("autodoc", "* Sets text label for trihedron axis. Parameter thePart should be XAxis, YAxis or ZAxis + :param thePart: + :type thePart: Prs3d_DatumParts + :param thePriority: + :type thePriority: TCollection_ExtendedString & + :rtype: None") SetLabel; + void SetLabel (const Prs3d_DatumParts thePart,const TCollection_ExtendedString & thePriority); + + /****************** SetOriginColor ******************/ + %feature("compactdefaultargs") SetOriginColor; + %feature("autodoc", "* Sets color of origin. //Standard_DEPRECATED('This method is deprecated - SetColor() should be called instead') + :param theColor: + :type theColor: Quantity_Color & + :rtype: None") SetOriginColor; + void SetOriginColor (const Quantity_Color & theColor); - :param aComponent: - :type aComponent: Handle_Geom_Axis2Placement & - :rtype: None -") SetComponent; - void SetComponent (const Handle_Geom_Axis2Placement & aComponent); - %feature("compactdefaultargs") HasOwnSize; - %feature("autodoc", " * Returns true if the trihedron object has a size other than the default size of 100 mm. along each axis. + /****************** SetSelectionPriority ******************/ + %feature("compactdefaultargs") SetSelectionPriority; + %feature("autodoc", "* Sets priority of selection for owner of the given type + :param thePart: + :type thePart: Prs3d_DatumParts + :param thePriority: + :type thePriority: int + :rtype: None") SetSelectionPriority; + void SetSelectionPriority (Prs3d_DatumParts thePart,Standard_Integer thePriority); + + /****************** SetSize ******************/ + %feature("compactdefaultargs") SetSize; + %feature("autodoc", "* Sets the size aValue for the trihedron object. The default value is 100 mm. + :param theValue: + :type theValue: float + :rtype: None") SetSize; + void SetSize (const Standard_Real theValue); + + /****************** SetTextColor ******************/ + %feature("compactdefaultargs") SetTextColor; + %feature("autodoc", "* Sets color of label of trihedron axes. + :param theColor: + :type theColor: Quantity_Color & + :rtype: None") SetTextColor; + void SetTextColor (const Quantity_Color & theColor); + + /****************** SetXAxisColor ******************/ + %feature("compactdefaultargs") SetXAxisColor; + %feature("autodoc", "* Sets color of x-axis. //Standard_DEPRECATED('This method is deprecated - SetColor() should be called instead') + :param theColor: + :type theColor: Quantity_Color & + :rtype: None") SetXAxisColor; + void SetXAxisColor (const Quantity_Color & theColor); + + /****************** SetYAxisColor ******************/ + %feature("compactdefaultargs") SetYAxisColor; + %feature("autodoc", "* Sets color of y-axis. //Standard_DEPRECATED('This method is deprecated - SetColor() should be called instead') + :param theColor: + :type theColor: Quantity_Color & + :rtype: None") SetYAxisColor; + void SetYAxisColor (const Quantity_Color & theColor); + + /****************** Signature ******************/ + %feature("compactdefaultargs") Signature; + %feature("autodoc", "* Returns index 3, selection of the planes XOY, YOZ, XOZ. + :rtype: int") Signature; + Standard_Integer Signature (); + + /****************** Size ******************/ + %feature("compactdefaultargs") Size; + %feature("autodoc", ":rtype: float") Size; + Standard_Real Size (); + + /****************** TextColor ******************/ + %feature("compactdefaultargs") TextColor; + %feature("autodoc", "* Returns trihedron text color + :rtype: Quantity_Color") TextColor; + Quantity_Color TextColor (); + + /****************** ToDrawArrows ******************/ + %feature("compactdefaultargs") ToDrawArrows; + %feature("autodoc", "* Returns true if arrows are to be drawn + :rtype: bool") ToDrawArrows; + Standard_Boolean ToDrawArrows (); + + /****************** Type ******************/ + %feature("compactdefaultargs") Type; + %feature("autodoc", "* Indicates that the type of Interactive Object is datum. + :rtype: AIS_KindOfInteractive") Type; + AIS_KindOfInteractive Type (); + + /****************** UnsetColor ******************/ + %feature("compactdefaultargs") UnsetColor; + %feature("autodoc", "* Removes the settings for color. + :rtype: void") UnsetColor; + virtual void UnsetColor (); + + /****************** UnsetSize ******************/ + %feature("compactdefaultargs") UnsetSize; + %feature("autodoc", "* Removes any non-default settings for size of this trihedron object. If the object has 1 color, the default size of the drawer is reproduced, otherwise DatumAspect becomes null. + :rtype: None") UnsetSize; + void UnsetSize (); + +}; + + +%make_alias(AIS_Trihedron) + +%extend AIS_Trihedron { + %pythoncode { + __repr__ = _dumps_object + } +}; + +/********************* +* class AIS_ViewCube * +*********************/ +%nodefaultctor AIS_ViewCube; +class AIS_ViewCube : public AIS_InteractiveObject { + public: + class IntegerHasher {}; + /****************** AIS_ViewCube ******************/ + %feature("compactdefaultargs") AIS_ViewCube; + %feature("autodoc", "* Empty constructor. + :rtype: None") AIS_ViewCube; + AIS_ViewCube (); + + /****************** AcceptDisplayMode ******************/ + %feature("compactdefaultargs") AcceptDisplayMode; + %feature("autodoc", "* @name Presentation computation Return True for supported display mode. + :param theMode: + :type theMode: int + :rtype: bool") AcceptDisplayMode; + Standard_Boolean AcceptDisplayMode (const Standard_Integer theMode); + + /****************** AxesPadding ******************/ + %feature("compactdefaultargs") AxesPadding; + %feature("autodoc", "* Return padding between axes and 3D part (box); 10 by default. + :rtype: float") AxesPadding; + Standard_Real AxesPadding (); + + /****************** AxisLabel ******************/ + %feature("compactdefaultargs") AxisLabel; + %feature("autodoc", "* Return axes labels or empty string if undefined. Default labels: X, Y, Z. + :param theAxis: + :type theAxis: Prs3d_DatumParts + :rtype: TCollection_AsciiString") AxisLabel; + TCollection_AsciiString AxisLabel (Prs3d_DatumParts theAxis); + + /****************** BoxColor ******************/ + %feature("compactdefaultargs") BoxColor; + %feature("autodoc", "* Return value of front color for the 3D part of object. + :rtype: Quantity_Color") BoxColor; + const Quantity_Color & BoxColor (); + + /****************** BoxCornerMinSize ******************/ + %feature("compactdefaultargs") BoxCornerMinSize; + %feature("autodoc", "* Return minimal size of box corner; 2 by default. + :rtype: float") BoxCornerMinSize; + Standard_Real BoxCornerMinSize (); + + /****************** BoxCornerStyle ******************/ + %feature("compactdefaultargs") BoxCornerStyle; + %feature("autodoc", "* Return shading style of box corners. + :rtype: opencascade::handle") BoxCornerStyle; + const opencascade::handle & BoxCornerStyle (); + + /****************** BoxEdgeGap ******************/ + %feature("compactdefaultargs") BoxEdgeGap; + %feature("autodoc", "* Return gap between box edges and box sides; 0 by default. + :rtype: float") BoxEdgeGap; + Standard_Real BoxEdgeGap (); + + /****************** BoxEdgeMinSize ******************/ + %feature("compactdefaultargs") BoxEdgeMinSize; + %feature("autodoc", "* Return minimal size of box edge; 2 by default. + :rtype: float") BoxEdgeMinSize; + Standard_Real BoxEdgeMinSize (); + + /****************** BoxEdgeStyle ******************/ + %feature("compactdefaultargs") BoxEdgeStyle; + %feature("autodoc", "* Return shading style of box edges. + :rtype: opencascade::handle") BoxEdgeStyle; + const opencascade::handle & BoxEdgeStyle (); + + /****************** BoxFacetExtension ******************/ + %feature("compactdefaultargs") BoxFacetExtension; + %feature("autodoc", "* Return box facet extension to edge/corner facet split; 10 by default. + :rtype: float") BoxFacetExtension; + Standard_Real BoxFacetExtension (); + + /****************** BoxSideLabel ******************/ + %feature("compactdefaultargs") BoxSideLabel; + %feature("autodoc", "* Return box side label or empty string if undefined. Default labels: FRONT, BACK, LEFT, RIGHT, TOP, BOTTOM. + :param theSide: + :type theSide: V3d_TypeOfOrientation + :rtype: TCollection_AsciiString") BoxSideLabel; + TCollection_AsciiString BoxSideLabel (V3d_TypeOfOrientation theSide); + + /****************** BoxSideStyle ******************/ + %feature("compactdefaultargs") BoxSideStyle; + %feature("autodoc", "* @name Style management API Return shading style of box sides. + :rtype: opencascade::handle") BoxSideStyle; + const opencascade::handle & BoxSideStyle (); + + /****************** BoxTransparency ******************/ + %feature("compactdefaultargs") BoxTransparency; + %feature("autodoc", "* Return transparency for 3D part of object. + :rtype: float") BoxTransparency; + Standard_Real BoxTransparency (); + + /****************** ClearSelected ******************/ + %feature("compactdefaultargs") ClearSelected; + %feature("autodoc", "* Method which clear all selected owners belonging to this selectable object. @warning this object does not support selection. + :rtype: None") ClearSelected; + void ClearSelected (); + + /****************** Compute ******************/ + %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. + :param thePrsMgr: + :type thePrsMgr: opencascade::handle & + :param thePrs: + :type thePrs: opencascade::handle & + :param theMode: default value is 0 + :type theMode: int + :rtype: void") Compute; + virtual void Compute (const opencascade::handle & thePrsMgr,const opencascade::handle & thePrs,const Standard_Integer theMode = 0); + + /****************** ComputeSelection ******************/ + %feature("compactdefaultargs") ComputeSelection; + %feature("autodoc", "* Redefine computing of sensitive entities for View Cube. @param theSelection [in] input selection object that is to be filled with sensitive entities. @param theMode [in] selection mode. @warning object accepts only 0 selection mode. + :param theSelection: + :type theSelection: opencascade::handle & + :param theMode: + :type theMode: int + :rtype: void") ComputeSelection; + virtual void ComputeSelection (const opencascade::handle & theSelection,const Standard_Integer theMode); + + /****************** Duration ******************/ + %feature("compactdefaultargs") Duration; + %feature("autodoc", "* @name animation methods Return duration of animation in seconds; 0.5 sec by default + :rtype: float") Duration; + Standard_Real Duration (); + + /****************** Font ******************/ + %feature("compactdefaultargs") Font; + %feature("autodoc", "* Return font name that is used for displaying of sides and axes text. Alias for: @code Attributes()->TextAspect()->Aspect()->SetFont() @endcode + :rtype: TCollection_AsciiString") Font; + const TCollection_AsciiString & Font (); + + /****************** FontHeight ******************/ + %feature("compactdefaultargs") FontHeight; + %feature("autodoc", "* Return height of font + :rtype: float") FontHeight; + Standard_Real FontHeight (); + + /****************** GlobalSelOwner ******************/ + %feature("compactdefaultargs") GlobalSelOwner; + %feature("autodoc", "* Global selection has no meaning for this class. + :rtype: opencascade::handle") GlobalSelOwner; + opencascade::handle GlobalSelOwner (); + + /****************** HandleClick ******************/ + %feature("compactdefaultargs") HandleClick; + %feature("autodoc", "* Perform camera transformation corresponding to the input detected owner. + :param theOwner: + :type theOwner: opencascade::handle & + :rtype: void") HandleClick; + virtual void HandleClick (const opencascade::handle & theOwner); + + /****************** HasAnimation ******************/ + %feature("compactdefaultargs") HasAnimation; + %feature("autodoc", "* returns True if View Cube has unfinished animation of view camera. + :rtype: bool") HasAnimation; + Standard_Boolean HasAnimation (); + + /****************** HilightOwnerWithColor ******************/ + %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. + :param thePM: + :type thePM: opencascade::handle & + :param theStyle: + :type theStyle: opencascade::handle & + :param theOwner: + :type theOwner: opencascade::handle & + :rtype: void") HilightOwnerWithColor; + virtual void HilightOwnerWithColor (const opencascade::handle & thePM,const opencascade::handle & theStyle,const opencascade::handle & theOwner); + + /****************** HilightSelected ******************/ + %feature("compactdefaultargs") HilightSelected; + %feature("autodoc", "* Method which draws selected owners. + :param thePM: + :type thePM: opencascade::handle & + :param theSeq: + :type theSeq: SelectMgr_SequenceOfOwner & + :rtype: void") HilightSelected; + virtual void HilightSelected (const opencascade::handle & thePM,const SelectMgr_SequenceOfOwner & theSeq); + + /****************** InnerColor ******************/ + %feature("compactdefaultargs") InnerColor; + %feature("autodoc", "* Return color of sides back material. + :rtype: Quantity_Color") InnerColor; + const Quantity_Color & InnerColor (); + + /****************** IsAutoHilight ******************/ + %feature("compactdefaultargs") IsAutoHilight; + %feature("autodoc", "* Disables auto highlighting to use HilightSelected() and HilightOwnerWithColor() overridden methods. + :rtype: bool") IsAutoHilight; + Standard_Boolean IsAutoHilight (); + + /****************** IsBoxCorner ******************/ + %feature("compactdefaultargs") IsBoxCorner; + %feature("autodoc", "* Return True if specified orientation belongs to box corner (vertex). + :param theOrient: + :type theOrient: V3d_TypeOfOrientation + :rtype: bool") IsBoxCorner; + static bool IsBoxCorner (V3d_TypeOfOrientation theOrient); + + /****************** IsBoxEdge ******************/ + %feature("compactdefaultargs") IsBoxEdge; + %feature("autodoc", "* Return True if specified orientation belongs to box edge. + :param theOrient: + :type theOrient: V3d_TypeOfOrientation + :rtype: bool") IsBoxEdge; + static bool IsBoxEdge (V3d_TypeOfOrientation theOrient); + + /****************** IsBoxSide ******************/ + %feature("compactdefaultargs") IsBoxSide; + %feature("autodoc", "* ////DEFINE_STANDARD_RTTIEXT(AIS_ViewCube, AIS_InteractiveObject) Return True if specified orientation belongs to box side. + :param theOrient: + :type theOrient: V3d_TypeOfOrientation + :rtype: bool") IsBoxSide; + static bool IsBoxSide (V3d_TypeOfOrientation theOrient); + + /****************** IsFixedAnimationLoop ******************/ + %feature("compactdefaultargs") IsFixedAnimationLoop; + %feature("autodoc", "* Return True if camera animation should be done in uninterruptible loop; True by default. + :rtype: bool") IsFixedAnimationLoop; + Standard_Boolean IsFixedAnimationLoop (); + + /****************** IsYup ******************/ + %feature("compactdefaultargs") IsYup; + %feature("autodoc", "* Return True if application expects Y-up viewer orientation instead of Z-up; False by default. + :rtype: bool") IsYup; + Standard_Boolean IsYup (); + + /****************** ResetStyles ******************/ + %feature("compactdefaultargs") ResetStyles; + %feature("autodoc", "* Reset all size and style parameters to default. @warning It doesn't reset position of View Cube + :rtype: None") ResetStyles; + void ResetStyles (); + + /****************** RoundRadius ******************/ + %feature("compactdefaultargs") RoundRadius; + %feature("autodoc", "* Return relative radius of side corners (round rectangle); 0.0 by default. The value in within [0, 0.5] range meaning absolute radius = RoundRadius() / Size(). + :rtype: float") RoundRadius; + Standard_Real RoundRadius (); + + /****************** SetAutoStartAnimation ******************/ + %feature("compactdefaultargs") SetAutoStartAnimation; + %feature("autodoc", "* Enable/disable automatic camera transformation on selection (highlighting). The automatic logic can be disabled if application wants performing action manually basing on picking results (AIS_ViewCubeOwner). + :param theToEnable: + :type theToEnable: bool + :rtype: None") SetAutoStartAnimation; + void SetAutoStartAnimation (bool theToEnable); + + /****************** SetAxesLabels ******************/ + %feature("compactdefaultargs") SetAxesLabels; + %feature("autodoc", "* Set axes labels. + :param theX: + :type theX: TCollection_AsciiString & + :param theY: + :type theY: TCollection_AsciiString & + :param theZ: + :type theZ: TCollection_AsciiString & + :rtype: None") SetAxesLabels; + void SetAxesLabels (const TCollection_AsciiString & theX,const TCollection_AsciiString & theY,const TCollection_AsciiString & theZ); + + /****************** SetAxesPadding ******************/ + %feature("compactdefaultargs") SetAxesPadding; + %feature("autodoc", "* Set new value of padding between axes and 3D part (box). + :param theValue: + :type theValue: float + :rtype: None") SetAxesPadding; + void SetAxesPadding (Standard_Real theValue); + + /****************** SetBoxColor ******************/ + %feature("compactdefaultargs") SetBoxColor; + %feature("autodoc", "* Set new value of front color for the 3D part of object. @param theColor [in] input color value. + :param theColor: + :type theColor: Quantity_Color & + :rtype: None") SetBoxColor; + void SetBoxColor (const Quantity_Color & theColor); + + /****************** SetBoxCornerMinSize ******************/ + %feature("compactdefaultargs") SetBoxCornerMinSize; + %feature("autodoc", "* Set new value of box corner minimal size. + :param theValue: + :type theValue: float + :rtype: None") SetBoxCornerMinSize; + void SetBoxCornerMinSize (Standard_Real theValue); + + /****************** SetBoxEdgeGap ******************/ + %feature("compactdefaultargs") SetBoxEdgeGap; + %feature("autodoc", "* Set new value of box edges gap. + :param theValue: + :type theValue: float + :rtype: None") SetBoxEdgeGap; + void SetBoxEdgeGap (Standard_Real theValue); + + /****************** SetBoxEdgeMinSize ******************/ + %feature("compactdefaultargs") SetBoxEdgeMinSize; + %feature("autodoc", "* Set new value of box edge minimal size. + :param theValue: + :type theValue: float + :rtype: None") SetBoxEdgeMinSize; + void SetBoxEdgeMinSize (Standard_Real theValue); + + /****************** SetBoxFacetExtension ******************/ + %feature("compactdefaultargs") SetBoxFacetExtension; + %feature("autodoc", "* Set new value of box facet extension. + :param theValue: + :type theValue: float + :rtype: None") SetBoxFacetExtension; + void SetBoxFacetExtension (Standard_Real theValue); + + /****************** SetBoxSideLabel ******************/ + %feature("compactdefaultargs") SetBoxSideLabel; + %feature("autodoc", "* Set box side label. + :param theSide: + :type theSide: V3d_TypeOfOrientation + :param theLabel: + :type theLabel: TCollection_AsciiString & + :rtype: None") SetBoxSideLabel; + void SetBoxSideLabel (const V3d_TypeOfOrientation theSide,const TCollection_AsciiString & theLabel); + + /****************** SetBoxTransparency ******************/ + %feature("compactdefaultargs") SetBoxTransparency; + %feature("autodoc", "* Set new value of transparency for 3D part of object. @param theValue [in] input transparency value + :param theValue: + :type theValue: float + :rtype: None") SetBoxTransparency; + void SetBoxTransparency (Standard_Real theValue); + + /****************** SetColor ******************/ + %feature("compactdefaultargs") SetColor; + %feature("autodoc", "* Set new value of color for the whole object. @param theColor [in] input color value. + :param theColor: + :type theColor: Quantity_Color & + :rtype: None") SetColor; + void SetColor (const Quantity_Color & theColor); + + /****************** SetDrawAxes ******************/ + %feature("compactdefaultargs") SetDrawAxes; + %feature("autodoc", "* Enable/disable drawing of trihedron. + :param theValue: + :type theValue: bool + :rtype: None") SetDrawAxes; + void SetDrawAxes (Standard_Boolean theValue); + + /****************** SetDrawEdges ******************/ + %feature("compactdefaultargs") SetDrawEdges; + %feature("autodoc", "* Enable/disable drawing of edges of View Cube. + :param theValue: + :type theValue: bool + :rtype: None") SetDrawEdges; + void SetDrawEdges (Standard_Boolean theValue); + + /****************** SetDrawVertices ******************/ + %feature("compactdefaultargs") SetDrawVertices; + %feature("autodoc", "* Enable/disable drawing of vertices (corners) of View Cube. + :param theValue: + :type theValue: bool + :rtype: None") SetDrawVertices; + void SetDrawVertices (Standard_Boolean theValue); + + /****************** SetDuration ******************/ + %feature("compactdefaultargs") SetDuration; + %feature("autodoc", "* Set duration of animation. @param theValue [in] input value of duration in seconds + :param theValue: + :type theValue: float + :rtype: None") SetDuration; + void SetDuration (Standard_Real theValue); + + /****************** SetFitSelected ******************/ + %feature("compactdefaultargs") SetFitSelected; + %feature("autodoc", "* Set if animation should fit selected objects or to fit entire scene. + :param theToFitSelected: + :type theToFitSelected: bool + :rtype: None") SetFitSelected; + void SetFitSelected (Standard_Boolean theToFitSelected); + + /****************** SetFixedAnimationLoop ******************/ + %feature("compactdefaultargs") SetFixedAnimationLoop; + %feature("autodoc", "* Set if camera animation should be done in uninterruptible loop. + :param theToEnable: + :type theToEnable: bool + :rtype: None") SetFixedAnimationLoop; + void SetFixedAnimationLoop (bool theToEnable); + + /****************** SetFont ******************/ + %feature("compactdefaultargs") SetFont; + %feature("autodoc", "* Set font name that is used for displaying of sides and axes text. Alias for: @code Attributes()->TextAspect()->SetFont() @endcode + :param theFont: + :type theFont: TCollection_AsciiString & + :rtype: None") SetFont; + void SetFont (const TCollection_AsciiString & theFont); + + /****************** SetFontHeight ******************/ + %feature("compactdefaultargs") SetFontHeight; + %feature("autodoc", "* Change font height. Alias for: @code Attributes()->TextAspect()->SetHeight() @endcode + :param theValue: + :type theValue: float + :rtype: None") SetFontHeight; + void SetFontHeight (Standard_Real theValue); + + /****************** SetInnerColor ******************/ + %feature("compactdefaultargs") SetInnerColor; + %feature("autodoc", "* Set color of sides back material. Alias for: @code Attributes()->ShadingAspect()->Aspect()->ChangeBackMaterial().SetColor() @endcode + :param theColor: + :type theColor: Quantity_Color & + :rtype: None") SetInnerColor; + void SetInnerColor (const Quantity_Color & theColor); - :rtype: bool -") HasOwnSize; - Standard_Boolean HasOwnSize (); + /****************** SetMaterial ******************/ + %feature("compactdefaultargs") SetMaterial; + %feature("autodoc", "* Sets the material for the interactive object. + :param theMat: + :type theMat: Graphic3d_MaterialAspect & + :rtype: None") SetMaterial; + void SetMaterial (const Graphic3d_MaterialAspect & theMat); + + /****************** SetResetCamera ******************/ + %feature("compactdefaultargs") SetResetCamera; + %feature("autodoc", "* Set if new camera Up direction should be always set to default value for a new camera Direction. + :param theToReset: + :type theToReset: bool + :rtype: None") SetResetCamera; + void SetResetCamera (Standard_Boolean theToReset); + + /****************** SetRoundRadius ******************/ + %feature("compactdefaultargs") SetRoundRadius; + %feature("autodoc", "* Set relative radius of View Cube sides corners (round rectangle). The value should be within [0, 0.5] range. + :param theValue: + :type theValue: float + :rtype: None") SetRoundRadius; + void SetRoundRadius (const Standard_Real theValue); + + /****************** SetSize ******************/ %feature("compactdefaultargs") SetSize; - %feature("autodoc", " * Sets the size aValue for the trihedron object. The default value is 100 mm. + %feature("autodoc", "* Sets size (width and height) of View cube sides. @param theToAdaptAnother if True, then other parameters will be adapted to specified size + :param theValue: + :type theValue: float + :param theToAdaptAnother: default value is true + :type theToAdaptAnother: bool + :rtype: None") SetSize; + void SetSize (Standard_Real theValue,Standard_Boolean theToAdaptAnother = true); - :param aValue: - :type aValue: float - :rtype: None -") SetSize; - void SetSize (const Standard_Real aValue); - %feature("compactdefaultargs") UnsetSize; - %feature("autodoc", " * Removes any non-default settings for size of this trihedron object. + /****************** SetTextColor ******************/ + %feature("compactdefaultargs") SetTextColor; + %feature("autodoc", "* Set color of text labels on box sides. Alias for: @code Attributes()->TextAspect()->SetColor() @endcode + :param theColor: + :type theColor: Quantity_Color & + :rtype: None") SetTextColor; + void SetTextColor (const Quantity_Color & theColor); - :rtype: None -") UnsetSize; - void UnsetSize (); + /****************** SetTransparency ******************/ + %feature("compactdefaultargs") SetTransparency; + %feature("autodoc", "* Set new value of transparency for the whole object. @param theValue [in] input transparency value. + :param theValue: + :type theValue: float + :rtype: None") SetTransparency; + void SetTransparency (const Standard_Real theValue); + + /****************** SetViewAnimation ******************/ + %feature("compactdefaultargs") SetViewAnimation; + %feature("autodoc", "* Set view animation. + :param theAnimation: + :type theAnimation: opencascade::handle & + :rtype: None") SetViewAnimation; + void SetViewAnimation (const opencascade::handle & theAnimation); + + /****************** SetYup ******************/ + %feature("compactdefaultargs") SetYup; + %feature("autodoc", "* Set if application expects Y-up viewer orientation instead of Z-up. + :param theIsYup: + :type theIsYup: bool + :param theToUpdateLabels: default value is Standard_True + :type theToUpdateLabels: bool + :rtype: None") SetYup; + void SetYup (Standard_Boolean theIsYup,Standard_Boolean theToUpdateLabels = Standard_True); + + /****************** Size ******************/ %feature("compactdefaultargs") Size; - %feature("autodoc", " :rtype: float -") Size; + %feature("autodoc", "* @name Geometry management API returns size (width and height) of View cube sides; 100 by default. + :rtype: float") Size; Standard_Real Size (); - %feature("compactdefaultargs") XAxis; - %feature("autodoc", " * Returns the 'XAxis'. - - :rtype: Handle_AIS_Axis -") XAxis; - Handle_AIS_Axis XAxis (); - %feature("compactdefaultargs") YAxis; - %feature("autodoc", " * Returns the 'YAxis'. - - :rtype: Handle_AIS_Axis -") YAxis; - Handle_AIS_Axis YAxis (); - %feature("compactdefaultargs") Axis; - %feature("autodoc", " * Returns the main Axis. - :rtype: Handle_AIS_Axis -") Axis; - Handle_AIS_Axis Axis (); - %feature("compactdefaultargs") Position; - %feature("autodoc", " * Returns the origine. - - :rtype: Handle_AIS_Point -") Position; - Handle_AIS_Point Position (); - %feature("compactdefaultargs") XYPlane; - %feature("autodoc", " * Returns the 'XYPlane'. - - :rtype: Handle_AIS_Plane -") XYPlane; - Handle_AIS_Plane XYPlane (); - %feature("compactdefaultargs") XZPlane; - %feature("autodoc", " * Returns the 'XZPlane'. - - :rtype: Handle_AIS_Plane -") XZPlane; - Handle_AIS_Plane XZPlane (); - %feature("compactdefaultargs") YZPlane; - %feature("autodoc", " * Returns the 'YZPlane'. - - :rtype: Handle_AIS_Plane -") YZPlane; - Handle_AIS_Plane YZPlane (); - %feature("compactdefaultargs") SetContext; - %feature("autodoc", " * connection to default drawer implies a recomputation of SubObjects values. - - :param aCtx: - :type aCtx: Handle_AIS_InteractiveContext & - :rtype: void -") SetContext; - virtual void SetContext (const Handle_AIS_InteractiveContext & aCtx); - %feature("compactdefaultargs") AcceptDisplayMode; - %feature("autodoc", " * Returns true if the display mode selected, aMode, is valid for trihedron datums. + /****************** StartAnimation ******************/ + %feature("compactdefaultargs") StartAnimation; + %feature("autodoc", "* Start camera transformation corresponding to the input detected owner. @param theOwner [in] detected owner. + :param theOwner: + :type theOwner: opencascade::handle & + :rtype: void") StartAnimation; + virtual void StartAnimation (const opencascade::handle & theOwner); - :param aMode: - :type aMode: int - :rtype: bool -") AcceptDisplayMode; - Standard_Boolean AcceptDisplayMode (const Standard_Integer aMode); - %feature("compactdefaultargs") Compute; - %feature("autodoc", " * Computes the presentation according to a point of view given by . To be Used when the associated degenerated Presentations have been transformed by which is not a Pure Translation. The HLR Prs can't be deducted automatically WARNING : must be applied to the object to display before computation !!! + /****************** TextColor ******************/ + %feature("compactdefaultargs") TextColor; + %feature("autodoc", "* Return text color of labels of box sides; BLACK by default. + :rtype: Quantity_Color") TextColor; + const Quantity_Color & TextColor (); + + /****************** ToAutoStartAnimation ******************/ + %feature("compactdefaultargs") ToAutoStartAnimation; + %feature("autodoc", "* Return True if automatic camera transformation on selection (highlighting) is enabled; True by default. + :rtype: bool") ToAutoStartAnimation; + Standard_Boolean ToAutoStartAnimation (); + + /****************** ToDrawAxes ******************/ + %feature("compactdefaultargs") ToDrawAxes; + %feature("autodoc", "* returns True if trihedron is drawn; True by default. + :rtype: bool") ToDrawAxes; + Standard_Boolean ToDrawAxes (); + + /****************** ToDrawEdges ******************/ + %feature("compactdefaultargs") ToDrawEdges; + %feature("autodoc", "* returns True if edges of View Cube is drawn; True by default. + :rtype: bool") ToDrawEdges; + Standard_Boolean ToDrawEdges (); + + /****************** ToDrawVertices ******************/ + %feature("compactdefaultargs") ToDrawVertices; + %feature("autodoc", "* Return True if vertices (vertex) of View Cube is drawn; True by default. + :rtype: bool") ToDrawVertices; + Standard_Boolean ToDrawVertices (); + + /****************** ToFitSelected ******************/ + %feature("compactdefaultargs") ToFitSelected; + %feature("autodoc", "* Return True if animation should fit selected objects and False to fit entire scene; True by default. + :rtype: bool") ToFitSelected; + Standard_Boolean ToFitSelected (); + + /****************** ToResetCameraUp ******************/ + %feature("compactdefaultargs") ToResetCameraUp; + %feature("autodoc", "* Return True if new camera Up direction should be always set to default value for a new camera Direction; False by default. When this flag is False, the new camera Up will be set as current Up orthogonalized to the new camera Direction, and will set to default Up on second click. + :rtype: bool") ToResetCameraUp; + Standard_Boolean ToResetCameraUp (); + + /****************** UnsetAttributes ******************/ + %feature("compactdefaultargs") UnsetAttributes; + %feature("autodoc", "* Set default parameters for visual attributes @sa Attributes() + :rtype: None") UnsetAttributes; + void UnsetAttributes (); - :param aProjector: - :type aProjector: Handle_Prs3d_Projector & - :param aTrsf: - :type aTrsf: Handle_Geom_Transformation & - :param aPresentation: - :type aPresentation: Handle_Prs3d_Presentation & - :rtype: void -") Compute; - virtual void Compute (const Handle_Prs3d_Projector & aProjector,const Handle_Geom_Transformation & aTrsf,const Handle_Prs3d_Presentation & aPresentation); - %feature("compactdefaultargs") SetLocalTransformation; - %feature("autodoc", " :param theTransformation: - :type theTransformation: gp_Trsf - :rtype: None -") SetLocalTransformation; - void SetLocalTransformation (const gp_Trsf & theTransformation); - %feature("compactdefaultargs") Signature; - %feature("autodoc", " * Returns index 3, selection of the planes XOY, YOZ, XOZ. + /****************** UnsetColor ******************/ + %feature("compactdefaultargs") UnsetColor; + %feature("autodoc", "* Reset color for the whole object. + :rtype: None") UnsetColor; + void UnsetColor (); - :rtype: int -") Signature; - virtual Standard_Integer Signature (); - %feature("compactdefaultargs") Type; - %feature("autodoc", " * Indicates that the type of Interactive Object is datum. + /****************** UnsetHilightAttributes ******************/ + %feature("compactdefaultargs") UnsetHilightAttributes; + %feature("autodoc", "* Set default parameters for dynamic highlighting attributes, reset highlight attributes + :rtype: None") UnsetHilightAttributes; + void UnsetHilightAttributes (); - :rtype: AIS_KindOfInteractive -") Type; - virtual AIS_KindOfInteractive Type (); - %feature("compactdefaultargs") SetColor; - %feature("autodoc", " :param aColor: - :type aColor: Quantity_NameOfColor - :rtype: None -") SetColor; - void SetColor (const Quantity_NameOfColor aColor); - %feature("compactdefaultargs") SetColor; - %feature("autodoc", " * Sets the color aColor for this trihedron object. + /****************** UnsetMaterial ******************/ + %feature("compactdefaultargs") UnsetMaterial; + %feature("autodoc", "* Sets the material for the interactive object. + :rtype: None") UnsetMaterial; + void UnsetMaterial (); - :param aColor: - :type aColor: Quantity_Color & - :rtype: None -") SetColor; - void SetColor (const Quantity_Color & aColor); - %feature("compactdefaultargs") SetTextColor; - %feature("autodoc", " :param aColor: - :type aColor: Quantity_NameOfColor - :rtype: None -") SetTextColor; - void SetTextColor (const Quantity_NameOfColor aColor); - %feature("compactdefaultargs") HasTextColor; - %feature("autodoc", " :rtype: bool -") HasTextColor; - Standard_Boolean HasTextColor (); - %feature("compactdefaultargs") TextColor; - %feature("autodoc", " :rtype: Quantity_NameOfColor -") TextColor; - Quantity_NameOfColor TextColor (); - %feature("compactdefaultargs") SetArrowColor; - %feature("autodoc", " :param aColor: - :type aColor: Quantity_NameOfColor - :rtype: None -") SetArrowColor; - void SetArrowColor (const Quantity_NameOfColor aColor); - %feature("compactdefaultargs") HasArrowColor; - %feature("autodoc", " :rtype: bool -") HasArrowColor; - Standard_Boolean HasArrowColor (); - %feature("compactdefaultargs") ArrowColor; - %feature("autodoc", " :rtype: Quantity_NameOfColor -") ArrowColor; - Quantity_NameOfColor ArrowColor (); - %feature("compactdefaultargs") ExtremityPoints; - %feature("autodoc", " * Returns the four extremities of the trihedron from the array of points, TheExtrem. - - :param TheExtrem: - :type TheExtrem: TColgp_Array1OfPnt - :rtype: None -") ExtremityPoints; - void ExtremityPoints (TColgp_Array1OfPnt & TheExtrem); - %feature("compactdefaultargs") UnsetColor; - %feature("autodoc", " * Removes the settings for color. + /****************** UnsetTransparency ******************/ + %feature("compactdefaultargs") UnsetTransparency; + %feature("autodoc", "* Reset transparency for the whole object. + :rtype: None") UnsetTransparency; + void UnsetTransparency (); + + /****************** UpdateAnimation ******************/ + %feature("compactdefaultargs") UpdateAnimation; + %feature("autodoc", "* Perform one step of current camera transformation. theToUpdate [in] enable/disable update of view. returns True if animation is not stopped. + :param theToUpdate: + :type theToUpdate: bool + :rtype: bool") UpdateAnimation; + virtual Standard_Boolean UpdateAnimation (const Standard_Boolean theToUpdate); - :rtype: None -") UnsetColor; - void UnsetColor (); - %feature("compactdefaultargs") UnsetWidth; - %feature("autodoc", " * Removes the non-default settings for width set in SetWidth. + /****************** ViewAnimation ******************/ + %feature("compactdefaultargs") ViewAnimation; + %feature("autodoc", "* Return view animation. + :rtype: opencascade::handle") ViewAnimation; + const opencascade::handle & ViewAnimation (); - :rtype: None -") UnsetWidth; - void UnsetWidth (); }; -%make_alias(AIS_Trihedron) - -%extend AIS_Trihedron { +%extend AIS_ViewCube { %pythoncode { __repr__ = _dumps_object } }; + +/*************************** +* class AIS_AngleDimension * +***************************/ %nodefaultctor AIS_AngleDimension; class AIS_AngleDimension : public AIS_Dimension { public: + /****************** AIS_AngleDimension ******************/ %feature("compactdefaultargs") AIS_AngleDimension; - %feature("autodoc", " * Constructs minimum angle dimension between two linear edges (where possible). These two edges should be intersected by each other. Otherwise the geometry is not valid. @param theFirstEdge [in] the first edge. @param theSecondEdge [in] the second edge. - + %feature("autodoc", "* Constructs minimum angle dimension between two linear edges (where possible). These two edges should be intersected by each other. Otherwise the geometry is not valid. @param theFirstEdge [in] the first edge. @param theSecondEdge [in] the second edge. :param theFirstEdge: :type theFirstEdge: TopoDS_Edge & :param theSecondEdge: :type theSecondEdge: TopoDS_Edge & - :rtype: None -") AIS_AngleDimension; + :rtype: None") AIS_AngleDimension; AIS_AngleDimension (const TopoDS_Edge & theFirstEdge,const TopoDS_Edge & theSecondEdge); - %feature("compactdefaultargs") AIS_AngleDimension; - %feature("autodoc", " * Constructs the angle display object defined by three points. @param theFirstPoint [in] the first point (point on first angle flyout). @param theSecondPoint [in] the center point of angle dimension. @param theThirdPoint [in] the second point (point on second angle flyout). + /****************** AIS_AngleDimension ******************/ + %feature("compactdefaultargs") AIS_AngleDimension; + %feature("autodoc", "* Constructs the angle display object defined by three points. @param theFirstPoint [in] the first point (point on first angle flyout). @param theSecondPoint [in] the center point of angle dimension. @param theThirdPoint [in] the second point (point on second angle flyout). :param theFirstPoint: :type theFirstPoint: gp_Pnt :param theSecondPoint: :type theSecondPoint: gp_Pnt :param theThirdPoint: :type theThirdPoint: gp_Pnt - :rtype: None -") AIS_AngleDimension; + :rtype: None") AIS_AngleDimension; AIS_AngleDimension (const gp_Pnt & theFirstPoint,const gp_Pnt & theSecondPoint,const gp_Pnt & theThirdPoint); - %feature("compactdefaultargs") AIS_AngleDimension; - %feature("autodoc", " * Constructs the angle display object defined by three vertices. @param theFirstVertex [in] the first vertex (vertex for first angle flyout). @param theSecondVertex [in] the center vertex of angle dimension. @param theThirdPoint [in] the second vertex (vertex for second angle flyout). + /****************** AIS_AngleDimension ******************/ + %feature("compactdefaultargs") AIS_AngleDimension; + %feature("autodoc", "* Constructs the angle display object defined by three vertices. @param theFirstVertex [in] the first vertex (vertex for first angle flyout). @param theSecondVertex [in] the center vertex of angle dimension. @param theThirdPoint [in] the second vertex (vertex for second angle flyout). :param theFirstVertex: :type theFirstVertex: TopoDS_Vertex & :param theSecondVertex: :type theSecondVertex: TopoDS_Vertex & :param theThirdVertex: :type theThirdVertex: TopoDS_Vertex & - :rtype: None -") AIS_AngleDimension; + :rtype: None") AIS_AngleDimension; AIS_AngleDimension (const TopoDS_Vertex & theFirstVertex,const TopoDS_Vertex & theSecondVertex,const TopoDS_Vertex & theThirdVertex); - %feature("compactdefaultargs") AIS_AngleDimension; - %feature("autodoc", " * Constructs angle dimension for the cone face. @param theCone [in] the conical face. + /****************** AIS_AngleDimension ******************/ + %feature("compactdefaultargs") AIS_AngleDimension; + %feature("autodoc", "* Constructs angle dimension for the cone face. @param theCone [in] the conical face. :param theCone: :type theCone: TopoDS_Face & - :rtype: None -") AIS_AngleDimension; + :rtype: None") AIS_AngleDimension; AIS_AngleDimension (const TopoDS_Face & theCone); - %feature("compactdefaultargs") AIS_AngleDimension; - %feature("autodoc", " * Constructs angle dimension between two planar faces. @param theFirstFace [in] the first face. @param theSecondFace [in] the second face. + /****************** AIS_AngleDimension ******************/ + %feature("compactdefaultargs") AIS_AngleDimension; + %feature("autodoc", "* Constructs angle dimension between two planar faces. @param theFirstFace [in] the first face. @param theSecondFace [in] the second face. :param theFirstFace: :type theFirstFace: TopoDS_Face & :param theSecondFace: :type theSecondFace: TopoDS_Face & - :rtype: None -") AIS_AngleDimension; + :rtype: None") AIS_AngleDimension; AIS_AngleDimension (const TopoDS_Face & theFirstFace,const TopoDS_Face & theSecondFace); - %feature("compactdefaultargs") AIS_AngleDimension; - %feature("autodoc", " * Constructs angle dimension between two planar faces. @param theFirstFace [in] the first face. @param theSecondFace [in] the second face. @param thePoint [in] the point which the dimension plane should pass through. This point can lay on the one of the faces or not. + /****************** AIS_AngleDimension ******************/ + %feature("compactdefaultargs") AIS_AngleDimension; + %feature("autodoc", "* Constructs angle dimension between two planar faces. @param theFirstFace [in] the first face. @param theSecondFace [in] the second face. @param thePoint [in] the point which the dimension plane should pass through. This point can lay on the one of the faces or not. :param theFirstFace: :type theFirstFace: TopoDS_Face & :param theSecondFace: :type theSecondFace: TopoDS_Face & :param thePoint: :type thePoint: gp_Pnt - :rtype: None -") AIS_AngleDimension; + :rtype: None") AIS_AngleDimension; AIS_AngleDimension (const TopoDS_Face & theFirstFace,const TopoDS_Face & theSecondFace,const gp_Pnt & thePoint); - %feature("compactdefaultargs") FirstPoint; - %feature("autodoc", " * returns first point forming the angle. - - :rtype: gp_Pnt -") FirstPoint; - const gp_Pnt FirstPoint (); - %feature("compactdefaultargs") SecondPoint; - %feature("autodoc", " * returns second point forming the angle. - :rtype: gp_Pnt -") SecondPoint; - const gp_Pnt SecondPoint (); + /****************** CenterPoint ******************/ %feature("compactdefaultargs") CenterPoint; - %feature("autodoc", " * returns center point forming the angle. - - :rtype: gp_Pnt -") CenterPoint; + %feature("autodoc", "* returns center point forming the angle. + :rtype: gp_Pnt") CenterPoint; const gp_Pnt CenterPoint (); - %feature("compactdefaultargs") FirstShape; - %feature("autodoc", " * returns first argument shape. - :rtype: TopoDS_Shape -") FirstShape; + /****************** FirstPoint ******************/ + %feature("compactdefaultargs") FirstPoint; + %feature("autodoc", "* returns first point forming the angle. + :rtype: gp_Pnt") FirstPoint; + const gp_Pnt FirstPoint (); + + /****************** FirstShape ******************/ + %feature("compactdefaultargs") FirstShape; + %feature("autodoc", "* returns first argument shape. + :rtype: TopoDS_Shape") FirstShape; const TopoDS_Shape FirstShape (); - %feature("compactdefaultargs") SecondShape; - %feature("autodoc", " * returns second argument shape. - :rtype: TopoDS_Shape -") SecondShape; + /****************** GetArrowsVisibility ******************/ + %feature("compactdefaultargs") GetArrowsVisibility; + %feature("autodoc", "* returns the type of visibility of arrows. + :rtype: AIS_TypeOfAngleArrowVisibility") GetArrowsVisibility; + AIS_TypeOfAngleArrowVisibility GetArrowsVisibility (); + + /****************** GetDisplayUnits ******************/ + %feature("compactdefaultargs") GetDisplayUnits; + %feature("autodoc", "* returns the display units string. + :rtype: TCollection_AsciiString") GetDisplayUnits; + virtual const TCollection_AsciiString & GetDisplayUnits (); + + /****************** GetModelUnits ******************/ + %feature("compactdefaultargs") GetModelUnits; + %feature("autodoc", "* returns the model units string. + :rtype: TCollection_AsciiString") GetModelUnits; + virtual const TCollection_AsciiString & GetModelUnits (); + + /****************** GetTextPosition ******************/ + %feature("compactdefaultargs") GetTextPosition; + %feature("autodoc", ":rtype: gp_Pnt") GetTextPosition; + virtual const gp_Pnt GetTextPosition (); + + /****************** GetType ******************/ + %feature("compactdefaultargs") GetType; + %feature("autodoc", "* returns the current angle type. + :rtype: AIS_TypeOfAngle") GetType; + AIS_TypeOfAngle GetType (); + + /****************** SecondPoint ******************/ + %feature("compactdefaultargs") SecondPoint; + %feature("autodoc", "* returns second point forming the angle. + :rtype: gp_Pnt") SecondPoint; + const gp_Pnt SecondPoint (); + + /****************** SecondShape ******************/ + %feature("compactdefaultargs") SecondShape; + %feature("autodoc", "* returns second argument shape. + :rtype: TopoDS_Shape") SecondShape; const TopoDS_Shape SecondShape (); - %feature("compactdefaultargs") ThirdShape; - %feature("autodoc", " * returns third argument shape. - :rtype: TopoDS_Shape -") ThirdShape; - const TopoDS_Shape ThirdShape (); - %feature("compactdefaultargs") SetMeasuredGeometry; - %feature("autodoc", " * Measures minimum angle dimension between two linear edges. These two edges should be intersected by each other. Otherwise the geometry is not valid. @param theFirstEdge [in] the first edge. @param theSecondEdge [in] the second edge. + /****************** SetArrowsVisibility ******************/ + %feature("compactdefaultargs") SetArrowsVisibility; + %feature("autodoc", "* Sets visible arrows type @param theType [in] the type of visibility of arrows. + :param theType: + :type theType: AIS_TypeOfAngleArrowVisibility & + :rtype: None") SetArrowsVisibility; + void SetArrowsVisibility (const AIS_TypeOfAngleArrowVisibility & theType); + + /****************** SetDisplayUnits ******************/ + %feature("compactdefaultargs") SetDisplayUnits; + %feature("autodoc", ":param theUnits: + :type theUnits: TCollection_AsciiString & + :rtype: void") SetDisplayUnits; + virtual void SetDisplayUnits (const TCollection_AsciiString & theUnits); + /****************** SetMeasuredGeometry ******************/ + %feature("compactdefaultargs") SetMeasuredGeometry; + %feature("autodoc", "* Measures minimum angle dimension between two linear edges. These two edges should be intersected by each other. Otherwise the geometry is not valid. @param theFirstEdge [in] the first edge. @param theSecondEdge [in] the second edge. :param theFirstEdge: :type theFirstEdge: TopoDS_Edge & :param theSecondEdge: :type theSecondEdge: TopoDS_Edge & - :rtype: None -") SetMeasuredGeometry; + :rtype: None") SetMeasuredGeometry; void SetMeasuredGeometry (const TopoDS_Edge & theFirstEdge,const TopoDS_Edge & theSecondEdge); - %feature("compactdefaultargs") SetMeasuredGeometry; - %feature("autodoc", " * Measures angle defined by three points. @param theFirstPoint [in] the first point (point on first angle flyout). @param theSecondPoint [in] the center point of angle dimension. @param theThirdPoint [in] the second point (point on second angle flyout). + /****************** SetMeasuredGeometry ******************/ + %feature("compactdefaultargs") SetMeasuredGeometry; + %feature("autodoc", "* Measures angle defined by three points. @param theFirstPoint [in] the first point (point on first angle flyout). @param theSecondPoint [in] the center point of angle dimension. @param theThirdPoint [in] the second point (point on second angle flyout). :param theFirstPoint: :type theFirstPoint: gp_Pnt :param theSecondPoint: :type theSecondPoint: gp_Pnt :param theThridPoint: :type theThridPoint: gp_Pnt - :rtype: None -") SetMeasuredGeometry; + :rtype: None") SetMeasuredGeometry; void SetMeasuredGeometry (const gp_Pnt & theFirstPoint,const gp_Pnt & theSecondPoint,const gp_Pnt & theThridPoint); - %feature("compactdefaultargs") SetMeasuredGeometry; - %feature("autodoc", " * Measures angle defined by three vertices. @param theFirstVertex [in] the first vertex (vertex for first angle flyout). @param theSecondVertex [in] the center vertex of angle dimension. @param theThirdPoint [in] the second vertex (vertex for second angle flyout). + /****************** SetMeasuredGeometry ******************/ + %feature("compactdefaultargs") SetMeasuredGeometry; + %feature("autodoc", "* Measures angle defined by three vertices. @param theFirstVertex [in] the first vertex (vertex for first angle flyout). @param theSecondVertex [in] the center vertex of angle dimension. @param theThirdPoint [in] the second vertex (vertex for second angle flyout). :param theFirstVertex: :type theFirstVertex: TopoDS_Vertex & :param theSecondVertex: :type theSecondVertex: TopoDS_Vertex & :param theThirdVertex: :type theThirdVertex: TopoDS_Vertex & - :rtype: None -") SetMeasuredGeometry; + :rtype: None") SetMeasuredGeometry; void SetMeasuredGeometry (const TopoDS_Vertex & theFirstVertex,const TopoDS_Vertex & theSecondVertex,const TopoDS_Vertex & theThirdVertex); - %feature("compactdefaultargs") SetMeasuredGeometry; - %feature("autodoc", " * Measures angle of conical face. @param theCone [in] the shape to measure. + /****************** SetMeasuredGeometry ******************/ + %feature("compactdefaultargs") SetMeasuredGeometry; + %feature("autodoc", "* Measures angle of conical face. @param theCone [in] the shape to measure. :param theCone: :type theCone: TopoDS_Face & - :rtype: None -") SetMeasuredGeometry; + :rtype: None") SetMeasuredGeometry; void SetMeasuredGeometry (const TopoDS_Face & theCone); - %feature("compactdefaultargs") SetMeasuredGeometry; - %feature("autodoc", " * Measures angle between two planar faces. @param theFirstFace [in] the first face. @param theSecondFace [in] the second face.. + /****************** SetMeasuredGeometry ******************/ + %feature("compactdefaultargs") SetMeasuredGeometry; + %feature("autodoc", "* Measures angle between two planar faces. @param theFirstFace [in] the first face. @param theSecondFace [in] the second face.. :param theFirstFace: :type theFirstFace: TopoDS_Face & :param theSecondFace: :type theSecondFace: TopoDS_Face & - :rtype: None -") SetMeasuredGeometry; + :rtype: None") SetMeasuredGeometry; void SetMeasuredGeometry (const TopoDS_Face & theFirstFace,const TopoDS_Face & theSecondFace); - %feature("compactdefaultargs") SetMeasuredGeometry; - %feature("autodoc", " * Measures angle between two planar faces. @param theFirstFace [in] the first face. @param theSecondFace [in] the second face. @param thePoint [in] the point which the dimension plane should pass through. This point can lay on the one of the faces or not. + /****************** SetMeasuredGeometry ******************/ + %feature("compactdefaultargs") SetMeasuredGeometry; + %feature("autodoc", "* Measures angle between two planar faces. @param theFirstFace [in] the first face. @param theSecondFace [in] the second face. @param thePoint [in] the point which the dimension plane should pass through. This point can lay on the one of the faces or not. :param theFirstFace: :type theFirstFace: TopoDS_Face & :param theSecondFace: :type theSecondFace: TopoDS_Face & :param thePoint: :type thePoint: gp_Pnt - :rtype: None -") SetMeasuredGeometry; + :rtype: None") SetMeasuredGeometry; void SetMeasuredGeometry (const TopoDS_Face & theFirstFace,const TopoDS_Face & theSecondFace,const gp_Pnt & thePoint); - %feature("compactdefaultargs") GetDisplayUnits; - %feature("autodoc", " * returns the display units string. - - :rtype: TCollection_AsciiString -") GetDisplayUnits; - virtual const TCollection_AsciiString & GetDisplayUnits (); - %feature("compactdefaultargs") GetModelUnits; - %feature("autodoc", " * returns the model units string. - :rtype: TCollection_AsciiString -") GetModelUnits; - virtual const TCollection_AsciiString & GetModelUnits (); - %feature("compactdefaultargs") SetDisplayUnits; - %feature("autodoc", " :param theUnits: - :type theUnits: TCollection_AsciiString & - :rtype: void -") SetDisplayUnits; - virtual void SetDisplayUnits (const TCollection_AsciiString & theUnits); + /****************** SetModelUnits ******************/ %feature("compactdefaultargs") SetModelUnits; - %feature("autodoc", " :param theUnits: + %feature("autodoc", ":param theUnits: :type theUnits: TCollection_AsciiString & - :rtype: void -") SetModelUnits; + :rtype: void") SetModelUnits; virtual void SetModelUnits (const TCollection_AsciiString & theUnits); - %feature("compactdefaultargs") SetTextPosition; - %feature("autodoc", " * Principle of horizontal text alignment settings: - divide circle into two halves according to attachment points - if aTextPos is between attach points -> Center + positive flyout - if aTextPos is not between attach points but in this half -> Left or Right + positive flyout - if aTextPos is between reflections of attach points -> Center + negative flyout - if aTextPos is not between reflections of attach points -> Left or Right + negative flyout + /****************** SetTextPosition ******************/ + %feature("compactdefaultargs") SetTextPosition; + %feature("autodoc", "* Principle of horizontal text alignment settings: - divide circle into two halves according to attachment points - if aTextPos is between attach points -> Center + positive flyout - if aTextPos is not between attach points but in this half -> Left or Right + positive flyout - if aTextPos is between reflections of attach points -> Center + negative flyout - if aTextPos is not between reflections of attach points -> Left or Right + negative flyout :param theTextPos: :type theTextPos: gp_Pnt - :rtype: void -") SetTextPosition; + :rtype: void") SetTextPosition; virtual void SetTextPosition (const gp_Pnt & theTextPos); - %feature("compactdefaultargs") GetTextPosition; - %feature("autodoc", " :rtype: gp_Pnt -") GetTextPosition; - virtual const gp_Pnt GetTextPosition (); + + /****************** SetType ******************/ + %feature("compactdefaultargs") SetType; + %feature("autodoc", "* Sets angle type. @param theType [in] the type value. + :param theType: + :type theType: AIS_TypeOfAngle + :rtype: None") SetType; + void SetType (const AIS_TypeOfAngle theType); + + /****************** ThirdShape ******************/ + %feature("compactdefaultargs") ThirdShape; + %feature("autodoc", "* returns third argument shape. + :rtype: TopoDS_Shape") ThirdShape; + const TopoDS_Shape ThirdShape (); + }; @@ -8734,30 +10001,34 @@ class AIS_AngleDimension : public AIS_Dimension { __repr__ = _dumps_object } }; + +/***************************** +* class AIS_Chamf2dDimension * +*****************************/ %nodefaultctor AIS_Chamf2dDimension; class AIS_Chamf2dDimension : public AIS_Relation { public: + /****************** AIS_Chamf2dDimension ******************/ %feature("compactdefaultargs") AIS_Chamf2dDimension; - %feature("autodoc", " * Constructs the display object for 2D chamfers. This object is defined by the face aFShape, the dimension aVal, the plane aPlane and the text aText. - + %feature("autodoc", "* Constructs the display object for 2D chamfers. This object is defined by the face aFShape, the dimension aVal, the plane aPlane and the text aText. :param aFShape: :type aFShape: TopoDS_Shape & :param aPlane: - :type aPlane: Handle_Geom_Plane & + :type aPlane: opencascade::handle & :param aVal: :type aVal: float :param aText: :type aText: TCollection_ExtendedString & - :rtype: None -") AIS_Chamf2dDimension; - AIS_Chamf2dDimension (const TopoDS_Shape & aFShape,const Handle_Geom_Plane & aPlane,const Standard_Real aVal,const TCollection_ExtendedString & aText); - %feature("compactdefaultargs") AIS_Chamf2dDimension; - %feature("autodoc", " * Constructs the display object for 2D chamfers. This object is defined by the face aFShape, the plane aPlane, the dimension aVal, the position aPosition, the type of arrow aSymbolPrs with the size anArrowSize, and the text aText. + :rtype: None") AIS_Chamf2dDimension; + AIS_Chamf2dDimension (const TopoDS_Shape & aFShape,const opencascade::handle & aPlane,const Standard_Real aVal,const TCollection_ExtendedString & aText); + /****************** AIS_Chamf2dDimension ******************/ + %feature("compactdefaultargs") AIS_Chamf2dDimension; + %feature("autodoc", "* Constructs the display object for 2D chamfers. This object is defined by the face aFShape, the plane aPlane, the dimension aVal, the position aPosition, the type of arrow aSymbolPrs with the size anArrowSize, and the text aText. :param aFShape: :type aFShape: TopoDS_Shape & :param aPlane: - :type aPlane: Handle_Geom_Plane & + :type aPlane: opencascade::handle & :param aVal: :type aVal: float :param aText: @@ -8768,33 +10039,33 @@ class AIS_Chamf2dDimension : public AIS_Relation { :type aSymbolPrs: DsgPrs_ArrowSide :param anArrowSize: default value is 0.0 :type anArrowSize: float - :rtype: None -") AIS_Chamf2dDimension; - AIS_Chamf2dDimension (const TopoDS_Shape & aFShape,const Handle_Geom_Plane & aPlane,const Standard_Real aVal,const TCollection_ExtendedString & aText,const gp_Pnt & aPosition,const DsgPrs_ArrowSide aSymbolPrs,const Standard_Real anArrowSize = 0.0); - %feature("compactdefaultargs") KindOfDimension; - %feature("autodoc", " * Indicates that we are concerned with a 2d length. - - :rtype: AIS_KindOfDimension -") KindOfDimension; - AIS_KindOfDimension KindOfDimension (); - %feature("compactdefaultargs") IsMovable; - %feature("autodoc", " * Returns true if the 2d chamfer dimension is movable. + :rtype: None") AIS_Chamf2dDimension; + AIS_Chamf2dDimension (const TopoDS_Shape & aFShape,const opencascade::handle & aPlane,const Standard_Real aVal,const TCollection_ExtendedString & aText,const gp_Pnt & aPosition,const DsgPrs_ArrowSide aSymbolPrs,const Standard_Real anArrowSize = 0.0); - :rtype: bool -") IsMovable; - Standard_Boolean IsMovable (); + /****************** Compute ******************/ %feature("compactdefaultargs") Compute; - %feature("autodoc", " * computes the presentation according to a point of view given by . To be Used when the associated degenerated Presentations have been transformed by which is not a Pure Translation. The HLR Prs can't be deducted automatically WARNING : must be applied to the object to display before computation !!! - + %feature("autodoc", "* computes the presentation according to a point of view given by . To be Used when the associated degenerated Presentations have been transformed by which is not a Pure Translation. The HLR Prs can't be deducted automatically WARNING : must be applied to the object to display before computation !!! :param aProjector: - :type aProjector: Handle_Prs3d_Projector & + :type aProjector: opencascade::handle & :param aTrsf: - :type aTrsf: Handle_Geom_Transformation & + :type aTrsf: opencascade::handle & :param aPresentation: - :type aPresentation: Handle_Prs3d_Presentation & - :rtype: void -") Compute; - virtual void Compute (const Handle_Prs3d_Projector & aProjector,const Handle_Geom_Transformation & aTrsf,const Handle_Prs3d_Presentation & aPresentation); + :type aPresentation: opencascade::handle & + :rtype: void") Compute; + virtual void Compute (const opencascade::handle & aProjector,const opencascade::handle & aTrsf,const opencascade::handle & aPresentation); + + /****************** IsMovable ******************/ + %feature("compactdefaultargs") IsMovable; + %feature("autodoc", "* Returns true if the 2d chamfer dimension is movable. + :rtype: bool") IsMovable; + Standard_Boolean IsMovable (); + + /****************** KindOfDimension ******************/ + %feature("compactdefaultargs") KindOfDimension; + %feature("autodoc", "* Indicates that we are concerned with a 2d length. + :rtype: AIS_KindOfDimension") KindOfDimension; + AIS_KindOfDimension KindOfDimension (); + }; @@ -8805,24 +10076,28 @@ class AIS_Chamf2dDimension : public AIS_Relation { __repr__ = _dumps_object } }; + +/***************************** +* class AIS_Chamf3dDimension * +*****************************/ %nodefaultctor AIS_Chamf3dDimension; class AIS_Chamf3dDimension : public AIS_Relation { public: + /****************** AIS_Chamf3dDimension ******************/ %feature("compactdefaultargs") AIS_Chamf3dDimension; - %feature("autodoc", " * Constructs a display object for 3D chamfers. This object is defined by the shape aFShape, the dimension aVal and the text aText. - + %feature("autodoc", "* Constructs a display object for 3D chamfers. This object is defined by the shape aFShape, the dimension aVal and the text aText. :param aFShape: :type aFShape: TopoDS_Shape & :param aVal: :type aVal: float :param aText: :type aText: TCollection_ExtendedString & - :rtype: None -") AIS_Chamf3dDimension; + :rtype: None") AIS_Chamf3dDimension; AIS_Chamf3dDimension (const TopoDS_Shape & aFShape,const Standard_Real aVal,const TCollection_ExtendedString & aText); - %feature("compactdefaultargs") AIS_Chamf3dDimension; - %feature("autodoc", " * Constructs a display object for 3D chamfers. This object is defined by the shape aFShape, the dimension aVal, the text aText, the point of origin of the chamfer aPosition, the type of arrow aSymbolPrs with the size anArrowSize. + /****************** AIS_Chamf3dDimension ******************/ + %feature("compactdefaultargs") AIS_Chamf3dDimension; + %feature("autodoc", "* Constructs a display object for 3D chamfers. This object is defined by the shape aFShape, the dimension aVal, the text aText, the point of origin of the chamfer aPosition, the type of arrow aSymbolPrs with the size anArrowSize. :param aFShape: :type aFShape: TopoDS_Shape & :param aVal: @@ -8835,33 +10110,33 @@ class AIS_Chamf3dDimension : public AIS_Relation { :type aSymbolPrs: DsgPrs_ArrowSide :param anArrowSize: default value is 0.0 :type anArrowSize: float - :rtype: None -") AIS_Chamf3dDimension; + :rtype: None") AIS_Chamf3dDimension; AIS_Chamf3dDimension (const TopoDS_Shape & aFShape,const Standard_Real aVal,const TCollection_ExtendedString & aText,const gp_Pnt & aPosition,const DsgPrs_ArrowSide aSymbolPrs,const Standard_Real anArrowSize = 0.0); - %feature("compactdefaultargs") KindOfDimension; - %feature("autodoc", " * Indicates that we are concerned with a 3d length. - :rtype: AIS_KindOfDimension -") KindOfDimension; - AIS_KindOfDimension KindOfDimension (); - %feature("compactdefaultargs") IsMovable; - %feature("autodoc", " * Returns true if the 3d chamfer dimension is movable. - - :rtype: bool -") IsMovable; - Standard_Boolean IsMovable (); + /****************** Compute ******************/ %feature("compactdefaultargs") Compute; - %feature("autodoc", " * computes the presentation according to a point of view given by . To be Used when the associated degenerated Presentations have been transformed by which is not a Pure Translation. The HLR Prs can't be deducted automatically WARNING : must be applied to the object to display before computation !!! - + %feature("autodoc", "* computes the presentation according to a point of view given by . To be Used when the associated degenerated Presentations have been transformed by which is not a Pure Translation. The HLR Prs can't be deducted automatically WARNING : must be applied to the object to display before computation !!! :param aProjector: - :type aProjector: Handle_Prs3d_Projector & + :type aProjector: opencascade::handle & :param aTrsf: - :type aTrsf: Handle_Geom_Transformation & + :type aTrsf: opencascade::handle & :param aPresentation: - :type aPresentation: Handle_Prs3d_Presentation & - :rtype: void -") Compute; - virtual void Compute (const Handle_Prs3d_Projector & aProjector,const Handle_Geom_Transformation & aTrsf,const Handle_Prs3d_Presentation & aPresentation); + :type aPresentation: opencascade::handle & + :rtype: void") Compute; + virtual void Compute (const opencascade::handle & aProjector,const opencascade::handle & aTrsf,const opencascade::handle & aPresentation); + + /****************** IsMovable ******************/ + %feature("compactdefaultargs") IsMovable; + %feature("autodoc", "* Returns true if the 3d chamfer dimension is movable. + :rtype: bool") IsMovable; + Standard_Boolean IsMovable (); + + /****************** KindOfDimension ******************/ + %feature("compactdefaultargs") KindOfDimension; + %feature("autodoc", "* Indicates that we are concerned with a 3d length. + :rtype: AIS_KindOfDimension") KindOfDimension; + AIS_KindOfDimension KindOfDimension (); + }; @@ -8872,107 +10147,139 @@ class AIS_Chamf3dDimension : public AIS_Relation { __repr__ = _dumps_object } }; + +/************************* +* class AIS_ColoredShape * +*************************/ %nodefaultctor AIS_ColoredShape; class AIS_ColoredShape : public AIS_Shape { public: + /****************** AIS_ColoredShape ******************/ %feature("compactdefaultargs") AIS_ColoredShape; - %feature("autodoc", " * Default constructor - + %feature("autodoc", "* Default constructor :param theShape: :type theShape: TopoDS_Shape & - :rtype: None -") AIS_ColoredShape; + :rtype: None") AIS_ColoredShape; AIS_ColoredShape (const TopoDS_Shape & theShape); - %feature("compactdefaultargs") AIS_ColoredShape; - %feature("autodoc", " * Copy constructor + /****************** AIS_ColoredShape ******************/ + %feature("compactdefaultargs") AIS_ColoredShape; + %feature("autodoc", "* Copy constructor :param theShape: - :type theShape: Handle_AIS_Shape & - :rtype: None -") AIS_ColoredShape; - AIS_ColoredShape (const Handle_AIS_Shape & theShape); - %feature("compactdefaultargs") CustomAspects; - %feature("autodoc", " * @name sub-shape aspects Customize properties of specified sub-shape. The shape will be stored in the map but ignored, if it is not sub-shape of main Shape! This method can be used to mark sub-shapes with customizable properties. + :type theShape: opencascade::handle & + :rtype: None") AIS_ColoredShape; + AIS_ColoredShape (const opencascade::handle & theShape); - :param theShape: - :type theShape: TopoDS_Shape & - :rtype: Handle_AIS_ColoredDrawer -") CustomAspects; - Handle_AIS_ColoredDrawer CustomAspects (const TopoDS_Shape & theShape); - %feature("compactdefaultargs") ClearCustomAspects; - %feature("autodoc", " * Reset the map of custom sub-shape aspects. + /****************** ChangeCustomAspectsMap ******************/ + %feature("compactdefaultargs") ChangeCustomAspectsMap; + %feature("autodoc", "* Return the map of custom aspects. + :rtype: AIS_DataMapOfShapeDrawer") ChangeCustomAspectsMap; + AIS_DataMapOfShapeDrawer & ChangeCustomAspectsMap (); - :rtype: None -") ClearCustomAspects; - void ClearCustomAspects (); - %feature("compactdefaultargs") UnsetCustomAspects; - %feature("autodoc", " * Reset custom properties of specified sub-shape. @param theToUnregister unregister or not sub-shape from the map + /****************** ClearCustomAspects ******************/ + %feature("compactdefaultargs") ClearCustomAspects; + %feature("autodoc", "* Reset the map of custom sub-shape aspects. + :rtype: void") ClearCustomAspects; + virtual void ClearCustomAspects (); + /****************** CustomAspects ******************/ + %feature("compactdefaultargs") CustomAspects; + %feature("autodoc", "* @name sub-shape aspects Customize properties of specified sub-shape. The shape will be stored in the map but ignored, if it is not sub-shape of main Shape! This method can be used to mark sub-shapes with customizable properties. :param theShape: :type theShape: TopoDS_Shape & - :param theToUnregister: default value is Standard_False - :type theToUnregister: bool - :rtype: None -") UnsetCustomAspects; - void UnsetCustomAspects (const TopoDS_Shape & theShape,const Standard_Boolean theToUnregister = Standard_False); - %feature("compactdefaultargs") SetCustomColor; - %feature("autodoc", " * Customize color of specified sub-shape + :rtype: opencascade::handle") CustomAspects; + virtual opencascade::handle CustomAspects (const TopoDS_Shape & theShape); + + /****************** CustomAspectsMap ******************/ + %feature("compactdefaultargs") CustomAspectsMap; + %feature("autodoc", "* Return the map of custom aspects. + :rtype: AIS_DataMapOfShapeDrawer") CustomAspectsMap; + const AIS_DataMapOfShapeDrawer & CustomAspectsMap (); + + /****************** SetColor ******************/ + %feature("compactdefaultargs") SetColor; + %feature("autodoc", "* @name global aspects Setup color of entire shape. + :param theColor: + :type theColor: Quantity_Color & + :rtype: void") SetColor; + virtual void SetColor (const Quantity_Color & theColor); + /****************** SetCustomColor ******************/ + %feature("compactdefaultargs") SetCustomColor; + %feature("autodoc", "* Customize color of specified sub-shape :param theShape: :type theShape: TopoDS_Shape & :param theColor: :type theColor: Quantity_Color & - :rtype: None -") SetCustomColor; + :rtype: None") SetCustomColor; void SetCustomColor (const TopoDS_Shape & theShape,const Quantity_Color & theColor); - %feature("compactdefaultargs") SetCustomWidth; - %feature("autodoc", " * Customize line width of specified sub-shape + /****************** SetCustomTransparency ******************/ + %feature("compactdefaultargs") SetCustomTransparency; + %feature("autodoc", "* Customize transparency of specified sub-shape + :param theShape: + :type theShape: TopoDS_Shape & + :param theTransparency: + :type theTransparency: float + :rtype: None") SetCustomTransparency; + void SetCustomTransparency (const TopoDS_Shape & theShape,Standard_Real theTransparency); + + /****************** SetCustomWidth ******************/ + %feature("compactdefaultargs") SetCustomWidth; + %feature("autodoc", "* Customize line width of specified sub-shape :param theShape: :type theShape: TopoDS_Shape & :param theLineWidth: :type theLineWidth: float - :rtype: None -") SetCustomWidth; + :rtype: None") SetCustomWidth; void SetCustomWidth (const TopoDS_Shape & theShape,const Standard_Real theLineWidth); - %feature("compactdefaultargs") SetColor; - %feature("autodoc", " * @name global aspects Setup color of entire shape. - :param theColor: - :type theColor: Quantity_Color & - :rtype: void -") SetColor; - virtual void SetColor (const Quantity_Color & theColor); - %feature("compactdefaultargs") SetWidth; - %feature("autodoc", " * Setup line width of entire shape. + /****************** SetMaterial ******************/ + %feature("compactdefaultargs") SetMaterial; + %feature("autodoc", "* Sets the material aspect. + :param theAspect: + :type theAspect: Graphic3d_MaterialAspect & + :rtype: void") SetMaterial; + virtual void SetMaterial (const Graphic3d_MaterialAspect & theAspect); - :param theLineWidth: - :type theLineWidth: float - :rtype: void -") SetWidth; - virtual void SetWidth (const Standard_Real theLineWidth); + /****************** SetTransparency ******************/ %feature("compactdefaultargs") SetTransparency; - %feature("autodoc", " * Sets transparency value. - + %feature("autodoc", "* Sets transparency value. :param theValue: :type theValue: float - :rtype: void -") SetTransparency; + :rtype: void") SetTransparency; virtual void SetTransparency (const Standard_Real theValue); - %feature("compactdefaultargs") SetMaterial; - %feature("autodoc", " * Sets the material aspect. - :param theAspect: - :type theAspect: Graphic3d_MaterialAspect & - :rtype: void -") SetMaterial; - virtual void SetMaterial (const Graphic3d_MaterialAspect & theAspect); - %feature("compactdefaultargs") DEFINE_STANDARD_RTTI; - %feature("autodoc", " :param : - :type : AIS_ColoredShape - :rtype: None -") DEFINE_STANDARD_RTTI; - DEFINE_STANDARD_RTTI (AIS_ColoredShape ); + /****************** SetWidth ******************/ + %feature("compactdefaultargs") SetWidth; + %feature("autodoc", "* Setup line width of entire shape. + :param theLineWidth: + :type theLineWidth: float + :rtype: void") SetWidth; + virtual void SetWidth (const Standard_Real theLineWidth); + + /****************** UnsetCustomAspects ******************/ + %feature("compactdefaultargs") UnsetCustomAspects; + %feature("autodoc", "* Reset custom properties of specified sub-shape. @param theToUnregister unregister or not sub-shape from the map + :param theShape: + :type theShape: TopoDS_Shape & + :param theToUnregister: default value is Standard_False + :type theToUnregister: bool + :rtype: None") UnsetCustomAspects; + void UnsetCustomAspects (const TopoDS_Shape & theShape,const Standard_Boolean theToUnregister = Standard_False); + + /****************** UnsetTransparency ******************/ + %feature("compactdefaultargs") UnsetTransparency; + %feature("autodoc", "* Removes the setting for transparency in the reconstructed compound shape. + :rtype: void") UnsetTransparency; + virtual void UnsetTransparency (); + + /****************** UnsetWidth ******************/ + %feature("compactdefaultargs") UnsetWidth; + %feature("autodoc", "* Setup line width of entire shape. + :rtype: void") UnsetWidth; + virtual void UnsetWidth (); + }; @@ -8983,33 +10290,37 @@ class AIS_ColoredShape : public AIS_Shape { __repr__ = _dumps_object } }; + +/******************************* +* class AIS_ConcentricRelation * +*******************************/ %nodefaultctor AIS_ConcentricRelation; class AIS_ConcentricRelation : public AIS_Relation { public: + /****************** AIS_ConcentricRelation ******************/ %feature("compactdefaultargs") AIS_ConcentricRelation; - %feature("autodoc", " * Constructs the display object for concentric relations between shapes. This object is defined by the two shapes, aFShape and aSShape and the plane aPlane. aPlane is provided to create an axis along which the relation of concentricity can be extended. - + %feature("autodoc", "* Constructs the display object for concentric relations between shapes. This object is defined by the two shapes, aFShape and aSShape and the plane aPlane. aPlane is provided to create an axis along which the relation of concentricity can be extended. :param aFShape: :type aFShape: TopoDS_Shape & :param aSShape: :type aSShape: TopoDS_Shape & :param aPlane: - :type aPlane: Handle_Geom_Plane & - :rtype: None -") AIS_ConcentricRelation; - AIS_ConcentricRelation (const TopoDS_Shape & aFShape,const TopoDS_Shape & aSShape,const Handle_Geom_Plane & aPlane); - %feature("compactdefaultargs") Compute; - %feature("autodoc", " * computes the presentation according to a point of view given by . To be Used when the associated degenerated Presentations have been transformed by which is not a Pure Translation. The HLR Prs can't be deducted automatically WARNING : must be applied to the object to display before computation !!! + :type aPlane: opencascade::handle & + :rtype: None") AIS_ConcentricRelation; + AIS_ConcentricRelation (const TopoDS_Shape & aFShape,const TopoDS_Shape & aSShape,const opencascade::handle & aPlane); + /****************** Compute ******************/ + %feature("compactdefaultargs") Compute; + %feature("autodoc", "* computes the presentation according to a point of view given by . To be Used when the associated degenerated Presentations have been transformed by which is not a Pure Translation. The HLR Prs can't be deducted automatically WARNING : must be applied to the object to display before computation !!! :param aProjector: - :type aProjector: Handle_Prs3d_Projector & + :type aProjector: opencascade::handle & :param aTrsf: - :type aTrsf: Handle_Geom_Transformation & + :type aTrsf: opencascade::handle & :param aPresentation: - :type aPresentation: Handle_Prs3d_Presentation & - :rtype: void -") Compute; - virtual void Compute (const Handle_Prs3d_Projector & aProjector,const Handle_Geom_Transformation & aTrsf,const Handle_Prs3d_Presentation & aPresentation); + :type aPresentation: opencascade::handle & + :rtype: void") Compute; + virtual void Compute (const opencascade::handle & aProjector,const opencascade::handle & aTrsf,const opencascade::handle & aPresentation); + }; @@ -9020,113 +10331,121 @@ class AIS_ConcentricRelation : public AIS_Relation { __repr__ = _dumps_object } }; + +/****************************** +* class AIS_DiameterDimension * +******************************/ %nodefaultctor AIS_DiameterDimension; class AIS_DiameterDimension : public AIS_Dimension { public: + /****************** AIS_DiameterDimension ******************/ %feature("compactdefaultargs") AIS_DiameterDimension; - %feature("autodoc", " * Construct diameter dimension for the circle. @param theCircle [in] the circle to measure. - + %feature("autodoc", "* Construct diameter dimension for the circle. @param theCircle [in] the circle to measure. :param theCircle: :type theCircle: gp_Circ - :rtype: None -") AIS_DiameterDimension; + :rtype: None") AIS_DiameterDimension; AIS_DiameterDimension (const gp_Circ & theCircle); - %feature("compactdefaultargs") AIS_DiameterDimension; - %feature("autodoc", " * Construct diameter dimension for the circle and orient it correspondingly to the passed plane. @param theCircle [in] the circle to measure. @param thePlane [in] the plane defining preferred orientation for dimension. + /****************** AIS_DiameterDimension ******************/ + %feature("compactdefaultargs") AIS_DiameterDimension; + %feature("autodoc", "* Construct diameter dimension for the circle and orient it correspondingly to the passed plane. @param theCircle [in] the circle to measure. @param thePlane [in] the plane defining preferred orientation for dimension. :param theCircle: :type theCircle: gp_Circ :param thePlane: :type thePlane: gp_Pln - :rtype: None -") AIS_DiameterDimension; + :rtype: None") AIS_DiameterDimension; AIS_DiameterDimension (const gp_Circ & theCircle,const gp_Pln & thePlane); - %feature("compactdefaultargs") AIS_DiameterDimension; - %feature("autodoc", " * Construct diameter on the passed shape, if applicable. @param theShape [in] the shape to measure. + /****************** AIS_DiameterDimension ******************/ + %feature("compactdefaultargs") AIS_DiameterDimension; + %feature("autodoc", "* Construct diameter on the passed shape, if applicable. @param theShape [in] the shape to measure. :param theShape: :type theShape: TopoDS_Shape & - :rtype: None -") AIS_DiameterDimension; + :rtype: None") AIS_DiameterDimension; AIS_DiameterDimension (const TopoDS_Shape & theShape); - %feature("compactdefaultargs") AIS_DiameterDimension; - %feature("autodoc", " * Construct diameter on the passed shape, if applicable - and define the preferred plane to orient the dimension. @param theShape [in] the shape to measure. @param thePlane [in] the plane defining preferred orientation for dimension. + /****************** AIS_DiameterDimension ******************/ + %feature("compactdefaultargs") AIS_DiameterDimension; + %feature("autodoc", "* Construct diameter on the passed shape, if applicable - and define the preferred plane to orient the dimension. @param theShape [in] the shape to measure. @param thePlane [in] the plane defining preferred orientation for dimension. :param theShape: :type theShape: TopoDS_Shape & :param thePlane: :type thePlane: gp_Pln - :rtype: None -") AIS_DiameterDimension; + :rtype: None") AIS_DiameterDimension; AIS_DiameterDimension (const TopoDS_Shape & theShape,const gp_Pln & thePlane); - %feature("compactdefaultargs") Circle; - %feature("autodoc", " * returns measured geometry circle. - :rtype: gp_Circ -") Circle; - const gp_Circ Circle (); + /****************** AnchorPoint ******************/ %feature("compactdefaultargs") AnchorPoint; - %feature("autodoc", " * returns anchor point on circle for diameter dimension. - - :rtype: gp_Pnt -") AnchorPoint; + %feature("autodoc", "* returns anchor point on circle for diameter dimension. + :rtype: gp_Pnt") AnchorPoint; gp_Pnt AnchorPoint (); - %feature("compactdefaultargs") Shape; - %feature("autodoc", " * returns the measured shape. - :rtype: TopoDS_Shape -") Shape; - const TopoDS_Shape Shape (); - %feature("compactdefaultargs") SetMeasuredGeometry; - %feature("autodoc", " * Measure diameter of the circle. The actual dimension plane is used for determining anchor points on the circle to attach the dimension lines to. The dimension will become invalid if the diameter of the circle is less than Precision::Confusion(). @param theCircle [in] the circle to measure. + /****************** Circle ******************/ + %feature("compactdefaultargs") Circle; + %feature("autodoc", "* returns measured geometry circle. + :rtype: gp_Circ") Circle; + const gp_Circ Circle (); + + /****************** GetDisplayUnits ******************/ + %feature("compactdefaultargs") GetDisplayUnits; + %feature("autodoc", "* returns the display units string. + :rtype: TCollection_AsciiString") GetDisplayUnits; + virtual const TCollection_AsciiString & GetDisplayUnits (); + + /****************** GetModelUnits ******************/ + %feature("compactdefaultargs") GetModelUnits; + %feature("autodoc", "* returns the model units string. + :rtype: TCollection_AsciiString") GetModelUnits; + virtual const TCollection_AsciiString & GetModelUnits (); + + /****************** GetTextPosition ******************/ + %feature("compactdefaultargs") GetTextPosition; + %feature("autodoc", ":rtype: gp_Pnt") GetTextPosition; + virtual const gp_Pnt GetTextPosition (); + /****************** SetDisplayUnits ******************/ + %feature("compactdefaultargs") SetDisplayUnits; + %feature("autodoc", ":param theUnits: + :type theUnits: TCollection_AsciiString & + :rtype: void") SetDisplayUnits; + virtual void SetDisplayUnits (const TCollection_AsciiString & theUnits); + + /****************** SetMeasuredGeometry ******************/ + %feature("compactdefaultargs") SetMeasuredGeometry; + %feature("autodoc", "* Measure diameter of the circle. The actual dimension plane is used for determining anchor points on the circle to attach the dimension lines to. The dimension will become invalid if the diameter of the circle is less than Precision::Confusion(). @param theCircle [in] the circle to measure. :param theCircle: :type theCircle: gp_Circ - :rtype: None -") SetMeasuredGeometry; + :rtype: None") SetMeasuredGeometry; void SetMeasuredGeometry (const gp_Circ & theCircle); - %feature("compactdefaultargs") SetMeasuredGeometry; - %feature("autodoc", " * Measure diameter on the passed shape, if applicable. The dimension will become invalid if the passed shape is not measurable or if measured diameter value is less than Precision::Confusion(). @param theShape [in] the shape to measure. + /****************** SetMeasuredGeometry ******************/ + %feature("compactdefaultargs") SetMeasuredGeometry; + %feature("autodoc", "* Measure diameter on the passed shape, if applicable. The dimension will become invalid if the passed shape is not measurable or if measured diameter value is less than Precision::Confusion(). @param theShape [in] the shape to measure. :param theShape: :type theShape: TopoDS_Shape & - :rtype: None -") SetMeasuredGeometry; + :rtype: None") SetMeasuredGeometry; void SetMeasuredGeometry (const TopoDS_Shape & theShape); - %feature("compactdefaultargs") GetDisplayUnits; - %feature("autodoc", " * returns the display units string. - :rtype: TCollection_AsciiString -") GetDisplayUnits; - virtual const TCollection_AsciiString & GetDisplayUnits (); - %feature("compactdefaultargs") GetModelUnits; - %feature("autodoc", " * returns the model units string. - - :rtype: TCollection_AsciiString -") GetModelUnits; - virtual const TCollection_AsciiString & GetModelUnits (); - %feature("compactdefaultargs") SetDisplayUnits; - %feature("autodoc", " :param theUnits: - :type theUnits: TCollection_AsciiString & - :rtype: void -") SetDisplayUnits; - virtual void SetDisplayUnits (const TCollection_AsciiString & theUnits); + /****************** SetModelUnits ******************/ %feature("compactdefaultargs") SetModelUnits; - %feature("autodoc", " :param theUnits: + %feature("autodoc", ":param theUnits: :type theUnits: TCollection_AsciiString & - :rtype: void -") SetModelUnits; + :rtype: void") SetModelUnits; virtual void SetModelUnits (const TCollection_AsciiString & theUnits); + + /****************** SetTextPosition ******************/ %feature("compactdefaultargs") SetTextPosition; - %feature("autodoc", " :param theTextPos: + %feature("autodoc", ":param theTextPos: :type theTextPos: gp_Pnt - :rtype: void -") SetTextPosition; + :rtype: void") SetTextPosition; virtual void SetTextPosition (const gp_Pnt & theTextPos); - %feature("compactdefaultargs") GetTextPosition; - %feature("autodoc", " :rtype: gp_Pnt -") GetTextPosition; - virtual const gp_Pnt GetTextPosition (); + + /****************** Shape ******************/ + %feature("compactdefaultargs") Shape; + %feature("autodoc", "* returns the measured shape. + :rtype: TopoDS_Shape") Shape; + const TopoDS_Shape Shape (); + }; @@ -9137,21 +10456,28 @@ class AIS_DiameterDimension : public AIS_Dimension { __repr__ = _dumps_object } }; + +/*********************************** +* class AIS_EllipseRadiusDimension * +***********************************/ %nodefaultctor AIS_EllipseRadiusDimension; class AIS_EllipseRadiusDimension : public AIS_Relation { public: - %feature("compactdefaultargs") KindOfDimension; - %feature("autodoc", " :rtype: AIS_KindOfDimension -") KindOfDimension; - virtual AIS_KindOfDimension KindOfDimension (); - %feature("compactdefaultargs") IsMovable; - %feature("autodoc", " :rtype: bool -") IsMovable; - virtual Standard_Boolean IsMovable (); + /****************** ComputeGeometry ******************/ %feature("compactdefaultargs") ComputeGeometry; - %feature("autodoc", " :rtype: None -") ComputeGeometry; + %feature("autodoc", ":rtype: None") ComputeGeometry; void ComputeGeometry (); + + /****************** IsMovable ******************/ + %feature("compactdefaultargs") IsMovable; + %feature("autodoc", ":rtype: bool") IsMovable; + virtual Standard_Boolean IsMovable (); + + /****************** KindOfDimension ******************/ + %feature("compactdefaultargs") KindOfDimension; + %feature("autodoc", ":rtype: AIS_KindOfDimension") KindOfDimension; + virtual AIS_KindOfDimension KindOfDimension (); + }; @@ -9162,12 +10488,16 @@ class AIS_EllipseRadiusDimension : public AIS_Relation { __repr__ = _dumps_object } }; + +/********************************** +* class AIS_EqualDistanceRelation * +**********************************/ %nodefaultctor AIS_EqualDistanceRelation; class AIS_EqualDistanceRelation : public AIS_Relation { public: + /****************** AIS_EqualDistanceRelation ******************/ %feature("compactdefaultargs") AIS_EqualDistanceRelation; - %feature("autodoc", " * Constructs a framework to display equivalent distances between the shapes aShape1, aShape2, aShape3, aShape4 and the plane aPlane. The distance is the length of a projection from the shape to the plane. - + %feature("autodoc", "* Constructs a framework to display equivalent distances between the shapes aShape1, aShape2, aShape3, aShape4 and the plane aPlane. The distance is the length of a projection from the shape to the plane. :param aShape1: :type aShape1: TopoDS_Shape & :param aShape2: @@ -9177,65 +10507,37 @@ class AIS_EqualDistanceRelation : public AIS_Relation { :param aShape4: :type aShape4: TopoDS_Shape & :param aPlane: - :type aPlane: Handle_Geom_Plane & - :rtype: None -") AIS_EqualDistanceRelation; - AIS_EqualDistanceRelation (const TopoDS_Shape & aShape1,const TopoDS_Shape & aShape2,const TopoDS_Shape & aShape3,const TopoDS_Shape & aShape4,const Handle_Geom_Plane & aPlane); - %feature("compactdefaultargs") SetShape3; - %feature("autodoc", " * Sets the shape aShape to be used as the shape aShape3 in the framework created at construction time. - - :param aShape: - :type aShape: TopoDS_Shape & - :rtype: None -") SetShape3; - void SetShape3 (const TopoDS_Shape & aShape); - %feature("compactdefaultargs") Shape3; - %feature("autodoc", " * Returns the shape aShape3 from the framework created at construction time. - - :rtype: TopoDS_Shape -") Shape3; - const TopoDS_Shape Shape3 (); - %feature("compactdefaultargs") SetShape4; - %feature("autodoc", " * Sets the shape aShape to be used as the shape aShape4 in the framework created at construction time. - - :param aShape: - :type aShape: TopoDS_Shape & - :rtype: None -") SetShape4; - void SetShape4 (const TopoDS_Shape & aShape); - %feature("compactdefaultargs") Shape4; - %feature("autodoc", " * Returns the shape aShape4 from the framework created at construction time. + :type aPlane: opencascade::handle & + :rtype: None") AIS_EqualDistanceRelation; + AIS_EqualDistanceRelation (const TopoDS_Shape & aShape1,const TopoDS_Shape & aShape2,const TopoDS_Shape & aShape3,const TopoDS_Shape & aShape4,const opencascade::handle & aPlane); - :rtype: TopoDS_Shape -") Shape4; - const TopoDS_Shape Shape4 (); + /****************** Compute ******************/ %feature("compactdefaultargs") Compute; - %feature("autodoc", " * Computes the presentation according to a point of view given by . To be Used when the associated degenerated Presentations have been transformed by which is not a Pure Translation. The HLR Prs can't be deducted automatically WARNING : must be applied to the object to display before computation !!! - + %feature("autodoc", "* Computes the presentation according to a point of view given by . To be Used when the associated degenerated Presentations have been transformed by which is not a Pure Translation. The HLR Prs can't be deducted automatically WARNING : must be applied to the object to display before computation !!! :param aProjector: - :type aProjector: Handle_Prs3d_Projector & + :type aProjector: opencascade::handle & :param aTrsf: - :type aTrsf: Handle_Geom_Transformation & + :type aTrsf: opencascade::handle & :param aPresentation: - :type aPresentation: Handle_Prs3d_Presentation & - :rtype: void -") Compute; - virtual void Compute (const Handle_Prs3d_Projector & aProjector,const Handle_Geom_Transformation & aTrsf,const Handle_Prs3d_Presentation & aPresentation); - %feature("compactdefaultargs") ComputeTwoEdgesLength; - %feature("autodoc", " * Computes the location of an intreval between between two edges. FirstAttach , SecondAttach are the returned extreme points of the interval. + :type aPresentation: opencascade::handle & + :rtype: void") Compute; + virtual void Compute (const opencascade::handle & aProjector,const opencascade::handle & aTrsf,const opencascade::handle & aPresentation); + /****************** ComputeOneEdgeOneVertexLength ******************/ + %feature("compactdefaultargs") ComputeOneEdgeOneVertexLength; + %feature("autodoc", "* Compute the interval location between a vertex and an edge. Edge may be a line or a circle. :param aPresentation: - :type aPresentation: Handle_Prs3d_Presentation & + :type aPresentation: opencascade::handle & :param aDrawer: - :type aDrawer: Handle_Prs3d_Drawer & + :type aDrawer: opencascade::handle & :param ArrowSize: :type ArrowSize: float - :param FirstEdge: - :type FirstEdge: TopoDS_Edge & - :param SecondEdge: - :type SecondEdge: TopoDS_Edge & + :param FirstShape: + :type FirstShape: TopoDS_Shape & + :param SecondShape: + :type SecondShape: TopoDS_Shape & :param Plane: - :type Plane: Handle_Geom_Plane & + :type Plane: opencascade::handle & :param AutomaticPos: :type AutomaticPos: bool :param IsSetBndBox: @@ -9254,32 +10556,30 @@ class AIS_EqualDistanceRelation : public AIS_Relation { :type SecondExtreme: gp_Pnt :param SymbolPrs: :type SymbolPrs: DsgPrs_ArrowSide & - :rtype: void -") ComputeTwoEdgesLength; - static void ComputeTwoEdgesLength (const Handle_Prs3d_Presentation & aPresentation,const Handle_Prs3d_Drawer & aDrawer,const Standard_Real ArrowSize,const TopoDS_Edge & FirstEdge,const TopoDS_Edge & SecondEdge,const Handle_Geom_Plane & Plane,const Standard_Boolean AutomaticPos,const Standard_Boolean IsSetBndBox,const Bnd_Box & BndBox,gp_Pnt & Position,gp_Pnt & FirstAttach,gp_Pnt & SecondAttach,gp_Pnt & FirstExtreme,gp_Pnt & SecondExtreme,DsgPrs_ArrowSide & SymbolPrs); - %feature("compactdefaultargs") ComputeTwoVerticesLength; - %feature("autodoc", " * Computes the interval position between two vertexs. FirstAttach, SecondAttach are the returned extreme points of the interval. + :rtype: void") ComputeOneEdgeOneVertexLength; + static void ComputeOneEdgeOneVertexLength (const opencascade::handle & aPresentation,const opencascade::handle & aDrawer,const Standard_Real ArrowSize,const TopoDS_Shape & FirstShape,const TopoDS_Shape & SecondShape,const opencascade::handle & Plane,const Standard_Boolean AutomaticPos,const Standard_Boolean IsSetBndBox,const Bnd_Box & BndBox,gp_Pnt & Position,gp_Pnt & FirstAttach,gp_Pnt & SecondAttach,gp_Pnt & FirstExtreme,gp_Pnt & SecondExtreme,DsgPrs_ArrowSide & SymbolPrs); + /****************** ComputeTwoEdgesLength ******************/ + %feature("compactdefaultargs") ComputeTwoEdgesLength; + %feature("autodoc", "* Computes the location of an intreval between between two edges. FirstAttach , SecondAttach are the returned extreme points of the interval. :param aPresentation: - :type aPresentation: Handle_Prs3d_Presentation & + :type aPresentation: opencascade::handle & :param aDrawer: - :type aDrawer: Handle_Prs3d_Drawer & + :type aDrawer: opencascade::handle & :param ArrowSize: :type ArrowSize: float - :param FirstVertex: - :type FirstVertex: TopoDS_Vertex & - :param SecondVertex: - :type SecondVertex: TopoDS_Vertex & + :param FirstEdge: + :type FirstEdge: TopoDS_Edge & + :param SecondEdge: + :type SecondEdge: TopoDS_Edge & :param Plane: - :type Plane: Handle_Geom_Plane & + :type Plane: opencascade::handle & :param AutomaticPos: :type AutomaticPos: bool :param IsSetBndBox: :type IsSetBndBox: bool :param BndBox: :type BndBox: Bnd_Box & - :param TypeDist: - :type TypeDist: AIS_TypeOfDist :param Position: :type Position: gp_Pnt :param FirstAttach: @@ -9292,30 +10592,32 @@ class AIS_EqualDistanceRelation : public AIS_Relation { :type SecondExtreme: gp_Pnt :param SymbolPrs: :type SymbolPrs: DsgPrs_ArrowSide & - :rtype: void -") ComputeTwoVerticesLength; - static void ComputeTwoVerticesLength (const Handle_Prs3d_Presentation & aPresentation,const Handle_Prs3d_Drawer & aDrawer,const Standard_Real ArrowSize,const TopoDS_Vertex & FirstVertex,const TopoDS_Vertex & SecondVertex,const Handle_Geom_Plane & Plane,const Standard_Boolean AutomaticPos,const Standard_Boolean IsSetBndBox,const Bnd_Box & BndBox,const AIS_TypeOfDist TypeDist,gp_Pnt & Position,gp_Pnt & FirstAttach,gp_Pnt & SecondAttach,gp_Pnt & FirstExtreme,gp_Pnt & SecondExtreme,DsgPrs_ArrowSide & SymbolPrs); - %feature("compactdefaultargs") ComputeOneEdgeOneVertexLength; - %feature("autodoc", " * Compute the interval location between a vertex and an edge. Edge may be a line or a circle. + :rtype: void") ComputeTwoEdgesLength; + static void ComputeTwoEdgesLength (const opencascade::handle & aPresentation,const opencascade::handle & aDrawer,const Standard_Real ArrowSize,const TopoDS_Edge & FirstEdge,const TopoDS_Edge & SecondEdge,const opencascade::handle & Plane,const Standard_Boolean AutomaticPos,const Standard_Boolean IsSetBndBox,const Bnd_Box & BndBox,gp_Pnt & Position,gp_Pnt & FirstAttach,gp_Pnt & SecondAttach,gp_Pnt & FirstExtreme,gp_Pnt & SecondExtreme,DsgPrs_ArrowSide & SymbolPrs); + /****************** ComputeTwoVerticesLength ******************/ + %feature("compactdefaultargs") ComputeTwoVerticesLength; + %feature("autodoc", "* Computes the interval position between two vertexs. FirstAttach, SecondAttach are the returned extreme points of the interval. :param aPresentation: - :type aPresentation: Handle_Prs3d_Presentation & + :type aPresentation: opencascade::handle & :param aDrawer: - :type aDrawer: Handle_Prs3d_Drawer & + :type aDrawer: opencascade::handle & :param ArrowSize: :type ArrowSize: float - :param FirstShape: - :type FirstShape: TopoDS_Shape & - :param SecondShape: - :type SecondShape: TopoDS_Shape & + :param FirstVertex: + :type FirstVertex: TopoDS_Vertex & + :param SecondVertex: + :type SecondVertex: TopoDS_Vertex & :param Plane: - :type Plane: Handle_Geom_Plane & + :type Plane: opencascade::handle & :param AutomaticPos: :type AutomaticPos: bool :param IsSetBndBox: :type IsSetBndBox: bool :param BndBox: :type BndBox: Bnd_Box & + :param TypeDist: + :type TypeDist: AIS_TypeOfDist :param Position: :type Position: gp_Pnt :param FirstAttach: @@ -9328,9 +10630,37 @@ class AIS_EqualDistanceRelation : public AIS_Relation { :type SecondExtreme: gp_Pnt :param SymbolPrs: :type SymbolPrs: DsgPrs_ArrowSide & - :rtype: void -") ComputeOneEdgeOneVertexLength; - static void ComputeOneEdgeOneVertexLength (const Handle_Prs3d_Presentation & aPresentation,const Handle_Prs3d_Drawer & aDrawer,const Standard_Real ArrowSize,const TopoDS_Shape & FirstShape,const TopoDS_Shape & SecondShape,const Handle_Geom_Plane & Plane,const Standard_Boolean AutomaticPos,const Standard_Boolean IsSetBndBox,const Bnd_Box & BndBox,gp_Pnt & Position,gp_Pnt & FirstAttach,gp_Pnt & SecondAttach,gp_Pnt & FirstExtreme,gp_Pnt & SecondExtreme,DsgPrs_ArrowSide & SymbolPrs); + :rtype: void") ComputeTwoVerticesLength; + static void ComputeTwoVerticesLength (const opencascade::handle & aPresentation,const opencascade::handle & aDrawer,const Standard_Real ArrowSize,const TopoDS_Vertex & FirstVertex,const TopoDS_Vertex & SecondVertex,const opencascade::handle & Plane,const Standard_Boolean AutomaticPos,const Standard_Boolean IsSetBndBox,const Bnd_Box & BndBox,const AIS_TypeOfDist TypeDist,gp_Pnt & Position,gp_Pnt & FirstAttach,gp_Pnt & SecondAttach,gp_Pnt & FirstExtreme,gp_Pnt & SecondExtreme,DsgPrs_ArrowSide & SymbolPrs); + + /****************** SetShape3 ******************/ + %feature("compactdefaultargs") SetShape3; + %feature("autodoc", "* Sets the shape aShape to be used as the shape aShape3 in the framework created at construction time. + :param aShape: + :type aShape: TopoDS_Shape & + :rtype: None") SetShape3; + void SetShape3 (const TopoDS_Shape & aShape); + + /****************** SetShape4 ******************/ + %feature("compactdefaultargs") SetShape4; + %feature("autodoc", "* Sets the shape aShape to be used as the shape aShape4 in the framework created at construction time. + :param aShape: + :type aShape: TopoDS_Shape & + :rtype: None") SetShape4; + void SetShape4 (const TopoDS_Shape & aShape); + + /****************** Shape3 ******************/ + %feature("compactdefaultargs") Shape3; + %feature("autodoc", "* Returns the shape aShape3 from the framework created at construction time. + :rtype: TopoDS_Shape") Shape3; + const TopoDS_Shape Shape3 (); + + /****************** Shape4 ******************/ + %feature("compactdefaultargs") Shape4; + %feature("autodoc", "* Returns the shape aShape4 from the framework created at construction time. + :rtype: TopoDS_Shape") Shape4; + const TopoDS_Shape Shape4 (); + }; @@ -9341,33 +10671,37 @@ class AIS_EqualDistanceRelation : public AIS_Relation { __repr__ = _dumps_object } }; + +/******************************** +* class AIS_EqualRadiusRelation * +********************************/ %nodefaultctor AIS_EqualRadiusRelation; class AIS_EqualRadiusRelation : public AIS_Relation { public: + /****************** AIS_EqualRadiusRelation ******************/ %feature("compactdefaultargs") AIS_EqualRadiusRelation; - %feature("autodoc", " * Creates equal relation of two arc's radiuses. If one of edges is not in the given plane, the presentation method projects it onto the plane. - + %feature("autodoc", "* Creates equal relation of two arc's radiuses. If one of edges is not in the given plane, the presentation method projects it onto the plane. :param aFirstEdge: :type aFirstEdge: TopoDS_Edge & :param aSecondEdge: :type aSecondEdge: TopoDS_Edge & :param aPlane: - :type aPlane: Handle_Geom_Plane & - :rtype: None -") AIS_EqualRadiusRelation; - AIS_EqualRadiusRelation (const TopoDS_Edge & aFirstEdge,const TopoDS_Edge & aSecondEdge,const Handle_Geom_Plane & aPlane); - %feature("compactdefaultargs") Compute; - %feature("autodoc", " * computes the presentation according to a point of view given by . To be Used when the associated degenerated Presentations have been transformed by which is not a Pure Translation. The HLR Prs can't be deducted automatically WARNING : must be applied to the object to display before computation !!! + :type aPlane: opencascade::handle & + :rtype: None") AIS_EqualRadiusRelation; + AIS_EqualRadiusRelation (const TopoDS_Edge & aFirstEdge,const TopoDS_Edge & aSecondEdge,const opencascade::handle & aPlane); + /****************** Compute ******************/ + %feature("compactdefaultargs") Compute; + %feature("autodoc", "* computes the presentation according to a point of view given by . To be Used when the associated degenerated Presentations have been transformed by which is not a Pure Translation. The HLR Prs can't be deducted automatically WARNING : must be applied to the object to display before computation !!! :param aProjector: - :type aProjector: Handle_Prs3d_Projector & + :type aProjector: opencascade::handle & :param aTrsf: - :type aTrsf: Handle_Geom_Transformation & + :type aTrsf: opencascade::handle & :param aPresentation: - :type aPresentation: Handle_Prs3d_Presentation & - :rtype: void -") Compute; - virtual void Compute (const Handle_Prs3d_Projector & aProjector,const Handle_Geom_Transformation & aTrsf,const Handle_Prs3d_Presentation & aPresentation); + :type aPresentation: opencascade::handle & + :rtype: void") Compute; + virtual void Compute (const opencascade::handle & aProjector,const opencascade::handle & aTrsf,const opencascade::handle & aPresentation); + }; @@ -9378,93 +10712,97 @@ class AIS_EqualRadiusRelation : public AIS_Relation { __repr__ = _dumps_object } }; + +/************************ +* class AIS_FixRelation * +************************/ %nodefaultctor AIS_FixRelation; class AIS_FixRelation : public AIS_Relation { public: + /****************** AIS_FixRelation ******************/ %feature("compactdefaultargs") AIS_FixRelation; - %feature("autodoc", " * initializes the vertex aShape, the plane aPlane and the wire aWire, which connects the two vertices in a fixed relation. - + %feature("autodoc", "* initializes the vertex aShape, the plane aPlane and the wire aWire, which connects the two vertices in a fixed relation. :param aShape: :type aShape: TopoDS_Shape & :param aPlane: - :type aPlane: Handle_Geom_Plane & + :type aPlane: opencascade::handle & :param aWire: :type aWire: TopoDS_Wire & - :rtype: None -") AIS_FixRelation; - AIS_FixRelation (const TopoDS_Shape & aShape,const Handle_Geom_Plane & aPlane,const TopoDS_Wire & aWire); - %feature("compactdefaultargs") AIS_FixRelation; - %feature("autodoc", " * initializes the vertex aShape, the plane aPlane and the wire aWire, the position aPosition, the arrow size anArrowSize and the wire aWire, which connects the two vertices in a fixed relation. + :rtype: None") AIS_FixRelation; + AIS_FixRelation (const TopoDS_Shape & aShape,const opencascade::handle & aPlane,const TopoDS_Wire & aWire); + /****************** AIS_FixRelation ******************/ + %feature("compactdefaultargs") AIS_FixRelation; + %feature("autodoc", "* initializes the vertex aShape, the plane aPlane and the wire aWire, the position aPosition, the arrow size anArrowSize and the wire aWire, which connects the two vertices in a fixed relation. :param aShape: :type aShape: TopoDS_Shape & :param aPlane: - :type aPlane: Handle_Geom_Plane & + :type aPlane: opencascade::handle & :param aWire: :type aWire: TopoDS_Wire & :param aPosition: :type aPosition: gp_Pnt :param anArrowSize: default value is 0.01 :type anArrowSize: float - :rtype: None -") AIS_FixRelation; - AIS_FixRelation (const TopoDS_Shape & aShape,const Handle_Geom_Plane & aPlane,const TopoDS_Wire & aWire,const gp_Pnt & aPosition,const Standard_Real anArrowSize = 0.01); - %feature("compactdefaultargs") AIS_FixRelation; - %feature("autodoc", " * initializes the edge aShape and the plane aPlane. + :rtype: None") AIS_FixRelation; + AIS_FixRelation (const TopoDS_Shape & aShape,const opencascade::handle & aPlane,const TopoDS_Wire & aWire,const gp_Pnt & aPosition,const Standard_Real anArrowSize = 0.01); + /****************** AIS_FixRelation ******************/ + %feature("compactdefaultargs") AIS_FixRelation; + %feature("autodoc", "* initializes the edge aShape and the plane aPlane. :param aShape: :type aShape: TopoDS_Shape & :param aPlane: - :type aPlane: Handle_Geom_Plane & - :rtype: None -") AIS_FixRelation; - AIS_FixRelation (const TopoDS_Shape & aShape,const Handle_Geom_Plane & aPlane); - %feature("compactdefaultargs") AIS_FixRelation; - %feature("autodoc", " * initializes the edge aShape, the plane aPlane, the position aPosition and the arrow size anArrowSize. + :type aPlane: opencascade::handle & + :rtype: None") AIS_FixRelation; + AIS_FixRelation (const TopoDS_Shape & aShape,const opencascade::handle & aPlane); + /****************** AIS_FixRelation ******************/ + %feature("compactdefaultargs") AIS_FixRelation; + %feature("autodoc", "* initializes the edge aShape, the plane aPlane, the position aPosition and the arrow size anArrowSize. :param aShape: :type aShape: TopoDS_Shape & :param aPlane: - :type aPlane: Handle_Geom_Plane & + :type aPlane: opencascade::handle & :param aPosition: :type aPosition: gp_Pnt :param anArrowSize: default value is 0.01 :type anArrowSize: float - :rtype: None -") AIS_FixRelation; - AIS_FixRelation (const TopoDS_Shape & aShape,const Handle_Geom_Plane & aPlane,const gp_Pnt & aPosition,const Standard_Real anArrowSize = 0.01); - %feature("compactdefaultargs") Wire; - %feature("autodoc", " * Returns the wire which connects vertices in a fixed relation. + :rtype: None") AIS_FixRelation; + AIS_FixRelation (const TopoDS_Shape & aShape,const opencascade::handle & aPlane,const gp_Pnt & aPosition,const Standard_Real anArrowSize = 0.01); - :rtype: TopoDS_Wire -") Wire; - TopoDS_Wire Wire (); - %feature("compactdefaultargs") SetWire; - %feature("autodoc", " * Constructs the wire aWire. This connects vertices which are in a fixed relation. + /****************** Compute ******************/ + %feature("compactdefaultargs") Compute; + %feature("autodoc", "* computes the presentation according to a point of view given by . To be Used when the associated degenerated Presentations have been transformed by which is not a Pure Translation. The HLR Prs can't be deducted automatically WARNING : must be applied to the object to display before computation !!! + :param aProjector: + :type aProjector: opencascade::handle & + :param aTrsf: + :type aTrsf: opencascade::handle & + :param aPresentation: + :type aPresentation: opencascade::handle & + :rtype: void") Compute; + virtual void Compute (const opencascade::handle & aProjector,const opencascade::handle & aTrsf,const opencascade::handle & aPresentation); + + /****************** IsMovable ******************/ + %feature("compactdefaultargs") IsMovable; + %feature("autodoc", "* Returns true if the Interactive Objects in the relation are movable. + :rtype: bool") IsMovable; + Standard_Boolean IsMovable (); + /****************** SetWire ******************/ + %feature("compactdefaultargs") SetWire; + %feature("autodoc", "* Constructs the wire aWire. This connects vertices which are in a fixed relation. :param aWire: :type aWire: TopoDS_Wire & - :rtype: None -") SetWire; + :rtype: None") SetWire; void SetWire (const TopoDS_Wire & aWire); - %feature("compactdefaultargs") IsMovable; - %feature("autodoc", " * Returns true if the Interactive Objects in the relation are movable. - :rtype: bool -") IsMovable; - Standard_Boolean IsMovable (); - %feature("compactdefaultargs") Compute; - %feature("autodoc", " * computes the presentation according to a point of view given by . To be Used when the associated degenerated Presentations have been transformed by which is not a Pure Translation. The HLR Prs can't be deducted automatically WARNING : must be applied to the object to display before computation !!! + /****************** Wire ******************/ + %feature("compactdefaultargs") Wire; + %feature("autodoc", "* Returns the wire which connects vertices in a fixed relation. + :rtype: TopoDS_Wire") Wire; + TopoDS_Wire Wire (); - :param aProjector: - :type aProjector: Handle_Prs3d_Projector & - :param aTrsf: - :type aTrsf: Handle_Geom_Transformation & - :param aPresentation: - :type aPresentation: Handle_Prs3d_Presentation & - :rtype: void -") Compute; - virtual void Compute (const Handle_Prs3d_Projector & aProjector,const Handle_Geom_Transformation & aTrsf,const Handle_Prs3d_Presentation & aPresentation); }; @@ -9475,39 +10813,65 @@ class AIS_FixRelation : public AIS_Relation { __repr__ = _dumps_object } }; + +/**************************** +* class AIS_IdenticRelation * +****************************/ %nodefaultctor AIS_IdenticRelation; class AIS_IdenticRelation : public AIS_Relation { public: + /****************** AIS_IdenticRelation ******************/ %feature("compactdefaultargs") AIS_IdenticRelation; - %feature("autodoc", " * Initializes the relation of identity between the two entities, FirstShape and SecondShape. The plane aPlane is initialized in case a visual reference is needed to show identity. - + %feature("autodoc", "* Initializes the relation of identity between the two entities, FirstShape and SecondShape. The plane aPlane is initialized in case a visual reference is needed to show identity. :param FirstShape: :type FirstShape: TopoDS_Shape & :param SecondShape: :type SecondShape: TopoDS_Shape & :param aPlane: - :type aPlane: Handle_Geom_Plane & - :rtype: None -") AIS_IdenticRelation; - AIS_IdenticRelation (const TopoDS_Shape & FirstShape,const TopoDS_Shape & SecondShape,const Handle_Geom_Plane & aPlane); - %feature("compactdefaultargs") IsMovable; - %feature("autodoc", " * Returns true if the interactive object is movable. + :type aPlane: opencascade::handle & + :rtype: None") AIS_IdenticRelation; + AIS_IdenticRelation (const TopoDS_Shape & FirstShape,const TopoDS_Shape & SecondShape,const opencascade::handle & aPlane); - :rtype: bool -") IsMovable; - Standard_Boolean IsMovable (); - %feature("compactdefaultargs") Compute; - %feature("autodoc", " * computes the presentation according to a point of view given by . To be Used when the associated degenerated Presentations have been transformed by which is not a Pure Translation. The HLR Prs can't be deducted automatically WARNING : must be applied to the object to display before computation !!! + /****************** AddUser ******************/ + %feature("compactdefaultargs") AddUser; + %feature("autodoc", ":param theUser: + :type theUser: opencascade::handle & + :rtype: None") AddUser; + void AddUser (const opencascade::handle & theUser); + + /****************** ClearUsers ******************/ + %feature("compactdefaultargs") ClearUsers; + %feature("autodoc", ":rtype: None") ClearUsers; + void ClearUsers (); + /****************** Compute ******************/ + %feature("compactdefaultargs") Compute; + %feature("autodoc", "* computes the presentation according to a point of view given by . To be Used when the associated degenerated Presentations have been transformed by which is not a Pure Translation. The HLR Prs can't be deducted automatically WARNING : must be applied to the object to display before computation !!! :param aProjector: - :type aProjector: Handle_Prs3d_Projector & + :type aProjector: opencascade::handle & :param aTrsf: - :type aTrsf: Handle_Geom_Transformation & + :type aTrsf: opencascade::handle & :param aPresentation: - :type aPresentation: Handle_Prs3d_Presentation & - :rtype: void -") Compute; - virtual void Compute (const Handle_Prs3d_Projector & aProjector,const Handle_Geom_Transformation & aTrsf,const Handle_Prs3d_Presentation & aPresentation); + :type aPresentation: opencascade::handle & + :rtype: void") Compute; + virtual void Compute (const opencascade::handle & aProjector,const opencascade::handle & aTrsf,const opencascade::handle & aPresentation); + + /****************** HasUsers ******************/ + %feature("compactdefaultargs") HasUsers; + %feature("autodoc", ":rtype: bool") HasUsers; + Standard_Boolean HasUsers (); + + /****************** IsMovable ******************/ + %feature("compactdefaultargs") IsMovable; + %feature("autodoc", "* Returns true if the interactive object is movable. + :rtype: bool") IsMovable; + Standard_Boolean IsMovable (); + + /****************** Users ******************/ + %feature("compactdefaultargs") Users; + %feature("autodoc", ":rtype: TColStd_ListOfTransient") Users; + const TColStd_ListOfTransient & Users (); + }; @@ -9518,173 +10882,191 @@ class AIS_IdenticRelation : public AIS_Relation { __repr__ = _dumps_object } }; + +/**************************** +* class AIS_LengthDimension * +****************************/ %nodefaultctor AIS_LengthDimension; class AIS_LengthDimension : public AIS_Dimension { public: + /****************** AIS_LengthDimension ******************/ %feature("compactdefaultargs") AIS_LengthDimension; - %feature("autodoc", " * Construct length dimension between face and edge. Here dimension can be built without user-defined plane. @param theFace [in] the face (first shape). @param theEdge [in] the edge (second shape). - + %feature("autodoc", "* Construct length dimension between face and edge. Here dimension can be built without user-defined plane. @param theFace [in] the face (first shape). @param theEdge [in] the edge (second shape). :param theFace: :type theFace: TopoDS_Face & :param theEdge: :type theEdge: TopoDS_Edge & - :rtype: None -") AIS_LengthDimension; + :rtype: None") AIS_LengthDimension; AIS_LengthDimension (const TopoDS_Face & theFace,const TopoDS_Edge & theEdge); - %feature("compactdefaultargs") AIS_LengthDimension; - %feature("autodoc", " * Construct length dimension between two faces. @param theFirstFace [in] the first face (first shape). @param theSecondFace [in] the second face (second shape). + /****************** AIS_LengthDimension ******************/ + %feature("compactdefaultargs") AIS_LengthDimension; + %feature("autodoc", "* Construct length dimension between two faces. @param theFirstFace [in] the first face (first shape). @param theSecondFace [in] the second face (second shape). :param theFirstFace: :type theFirstFace: TopoDS_Face & :param theSecondFace: :type theSecondFace: TopoDS_Face & - :rtype: None -") AIS_LengthDimension; + :rtype: None") AIS_LengthDimension; AIS_LengthDimension (const TopoDS_Face & theFirstFace,const TopoDS_Face & theSecondFace); - %feature("compactdefaultargs") AIS_LengthDimension; - %feature("autodoc", " * Construct length dimension between two points in the specified plane. @param theFirstPoint [in] the first point. @param theSecondPoint [in] the second point. @param thePlane [in] the plane to orient dimension. + /****************** AIS_LengthDimension ******************/ + %feature("compactdefaultargs") AIS_LengthDimension; + %feature("autodoc", "* Construct length dimension between two points in the specified plane. @param theFirstPoint [in] the first point. @param theSecondPoint [in] the second point. @param thePlane [in] the plane to orient dimension. :param theFirstPoint: :type theFirstPoint: gp_Pnt :param theSecondPoint: :type theSecondPoint: gp_Pnt :param thePlane: :type thePlane: gp_Pln - :rtype: None -") AIS_LengthDimension; + :rtype: None") AIS_LengthDimension; AIS_LengthDimension (const gp_Pnt & theFirstPoint,const gp_Pnt & theSecondPoint,const gp_Pln & thePlane); - %feature("compactdefaultargs") AIS_LengthDimension; - %feature("autodoc", " * Construct length dimension between two arbitrary shapes in the specified plane. @param theFirstShape [in] the first shape. @param theSecondShape [in] the second shape. @param thePlane [in] the plane to orient dimension. + /****************** AIS_LengthDimension ******************/ + %feature("compactdefaultargs") AIS_LengthDimension; + %feature("autodoc", "* Construct length dimension between two arbitrary shapes in the specified plane. @param theFirstShape [in] the first shape. @param theSecondShape [in] the second shape. @param thePlane [in] the plane to orient dimension. :param theFirstShape: :type theFirstShape: TopoDS_Shape & :param theSecondShape: :type theSecondShape: TopoDS_Shape & :param thePlane: :type thePlane: gp_Pln - :rtype: None -") AIS_LengthDimension; + :rtype: None") AIS_LengthDimension; AIS_LengthDimension (const TopoDS_Shape & theFirstShape,const TopoDS_Shape & theSecondShape,const gp_Pln & thePlane); - %feature("compactdefaultargs") AIS_LengthDimension; - %feature("autodoc", " * Construct length dimension of linear edge. @param theEdge [in] the edge to measure. @param thePlane [in] the plane to orient dimension. + /****************** AIS_LengthDimension ******************/ + %feature("compactdefaultargs") AIS_LengthDimension; + %feature("autodoc", "* Construct length dimension of linear edge. @param theEdge [in] the edge to measure. @param thePlane [in] the plane to orient dimension. :param theEdge: :type theEdge: TopoDS_Edge & :param thePlane: :type thePlane: gp_Pln - :rtype: None -") AIS_LengthDimension; + :rtype: None") AIS_LengthDimension; AIS_LengthDimension (const TopoDS_Edge & theEdge,const gp_Pln & thePlane); - %feature("compactdefaultargs") FirstPoint; - %feature("autodoc", " * returns first attachement point. - :rtype: gp_Pnt -") FirstPoint; + /****************** FirstPoint ******************/ + %feature("compactdefaultargs") FirstPoint; + %feature("autodoc", "* returns first attachement point. + :rtype: gp_Pnt") FirstPoint; const gp_Pnt FirstPoint (); - %feature("compactdefaultargs") SecondPoint; - %feature("autodoc", " * returns second attachement point. - :rtype: gp_Pnt -") SecondPoint; - const gp_Pnt SecondPoint (); + /****************** FirstShape ******************/ %feature("compactdefaultargs") FirstShape; - %feature("autodoc", " * returns first attachement shape. - - :rtype: TopoDS_Shape -") FirstShape; + %feature("autodoc", "* returns first attachement shape. + :rtype: TopoDS_Shape") FirstShape; const TopoDS_Shape FirstShape (); - %feature("compactdefaultargs") SecondShape; - %feature("autodoc", " * returns second attachement shape. - :rtype: TopoDS_Shape -") SecondShape; + /****************** GetDisplayUnits ******************/ + %feature("compactdefaultargs") GetDisplayUnits; + %feature("autodoc", "* returns the display units string. + :rtype: TCollection_AsciiString") GetDisplayUnits; + virtual const TCollection_AsciiString & GetDisplayUnits (); + + /****************** GetModelUnits ******************/ + %feature("compactdefaultargs") GetModelUnits; + %feature("autodoc", "* returns the model units string. + :rtype: TCollection_AsciiString") GetModelUnits; + virtual const TCollection_AsciiString & GetModelUnits (); + + /****************** GetTextPosition ******************/ + %feature("compactdefaultargs") GetTextPosition; + %feature("autodoc", ":rtype: gp_Pnt") GetTextPosition; + virtual const gp_Pnt GetTextPosition (); + + /****************** SecondPoint ******************/ + %feature("compactdefaultargs") SecondPoint; + %feature("autodoc", "* returns second attachement point. + :rtype: gp_Pnt") SecondPoint; + const gp_Pnt SecondPoint (); + + /****************** SecondShape ******************/ + %feature("compactdefaultargs") SecondShape; + %feature("autodoc", "* returns second attachement shape. + :rtype: TopoDS_Shape") SecondShape; const TopoDS_Shape SecondShape (); - %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 + /****************** SetDirection ******************/ + %feature("compactdefaultargs") SetDirection; + %feature("autodoc", "* Set custom direction for dimension. If it is not set, the direction is obtained from the measured geometry (e.g. line between points of dimension) The direction does not change flyout direction of dimension. @param theDirection [in] the dimension direction. @param theUseDirection [in] boolean value if custom direction should be used. + :param theDirection: + :type theDirection: gp_Dir + :param theUseDirection: default value is Standard_True + :type theUseDirection: bool + :rtype: None") SetDirection; + void SetDirection (const gp_Dir & theDirection,const Standard_Boolean theUseDirection = Standard_True); + + /****************** SetDisplayUnits ******************/ + %feature("compactdefaultargs") SetDisplayUnits; + %feature("autodoc", ":param theUnits: + :type theUnits: TCollection_AsciiString & + :rtype: void") SetDisplayUnits; + virtual void SetDisplayUnits (const TCollection_AsciiString & theUnits); + + /****************** SetMeasuredGeometry ******************/ + %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 :param theFirstPoint: :type theFirstPoint: gp_Pnt :param theSecondPoint: :type theSecondPoint: gp_Pnt :param thePlane: :type thePlane: gp_Pln - :rtype: None -") SetMeasuredGeometry; + :rtype: None") SetMeasuredGeometry; void SetMeasuredGeometry (const gp_Pnt & theFirstPoint,const gp_Pnt & theSecondPoint,const gp_Pln & thePlane); - %feature("compactdefaultargs") SetMeasuredGeometry; - %feature("autodoc", " * Measure length of edge. The dimension will become invalid if the new length of edge is less than Precision::Confusion(). @param theEdge [in] the edge to measure. @param thePlane [in] the user-defined plane + /****************** SetMeasuredGeometry ******************/ + %feature("compactdefaultargs") SetMeasuredGeometry; + %feature("autodoc", "* Measure length of edge. The dimension will become invalid if the new length of edge is less than Precision::Confusion(). @param theEdge [in] the edge to measure. @param thePlane [in] the user-defined plane :param theEdge: :type theEdge: TopoDS_Edge & :param thePlane: :type thePlane: gp_Pln - :rtype: None -") SetMeasuredGeometry; + :rtype: None") SetMeasuredGeometry; void SetMeasuredGeometry (const TopoDS_Edge & theEdge,const gp_Pln & thePlane); - %feature("compactdefaultargs") SetMeasuredGeometry; - %feature("autodoc", " * Measure distance between two faces. The dimension will become invalid if the distance can not be measured or it is less than Precision::Confusion(). @param theFirstFace [in] the first face (first shape). @param theSecondFace [in] the second face (second shape). + /****************** SetMeasuredGeometry ******************/ + %feature("compactdefaultargs") SetMeasuredGeometry; + %feature("autodoc", "* Measure distance between two faces. The dimension will become invalid if the distance can not be measured or it is less than Precision::Confusion(). @param theFirstFace [in] the first face (first shape). @param theSecondFace [in] the second face (second shape). :param theFirstFace: :type theFirstFace: TopoDS_Face & :param theSecondFace: :type theSecondFace: TopoDS_Face & - :rtype: None -") SetMeasuredGeometry; + :rtype: None") SetMeasuredGeometry; void SetMeasuredGeometry (const TopoDS_Face & theFirstFace,const TopoDS_Face & theSecondFace); - %feature("compactdefaultargs") SetMeasuredGeometry; - %feature("autodoc", " * Measure distance between face and edge. The dimension will become invalid if the distance can not be measured or it is less than Precision::Confusion(). @param theFace [in] the face (first shape). @param theEdge [in] the edge (second shape). + /****************** SetMeasuredGeometry ******************/ + %feature("compactdefaultargs") SetMeasuredGeometry; + %feature("autodoc", "* Measure distance between face and edge. The dimension will become invalid if the distance can not be measured or it is less than Precision::Confusion(). @param theFace [in] the face (first shape). @param theEdge [in] the edge (second shape). :param theFace: :type theFace: TopoDS_Face & :param theEdge: :type theEdge: TopoDS_Edge & - :rtype: None -") SetMeasuredGeometry; + :rtype: None") SetMeasuredGeometry; void SetMeasuredGeometry (const TopoDS_Face & theFace,const TopoDS_Edge & theEdge); - %feature("compactdefaultargs") SetMeasuredShapes; - %feature("autodoc", " * Measure distance between generic pair of shapes (edges, vertices, length), where measuring is applicable. @param theFirstShape [in] the first shape. @param theSecondShape [in] the second shape. + /****************** SetMeasuredShapes ******************/ + %feature("compactdefaultargs") SetMeasuredShapes; + %feature("autodoc", "* Measure distance between generic pair of shapes (edges, vertices, length), where measuring is applicable. @param theFirstShape [in] the first shape. @param theSecondShape [in] the second shape. :param theFirstShape: :type theFirstShape: TopoDS_Shape & :param theSecondShape: :type theSecondShape: TopoDS_Shape & - :rtype: None -") SetMeasuredShapes; + :rtype: None") SetMeasuredShapes; void SetMeasuredShapes (const TopoDS_Shape & theFirstShape,const TopoDS_Shape & theSecondShape); - %feature("compactdefaultargs") GetDisplayUnits; - %feature("autodoc", " * returns the display units string. - - :rtype: TCollection_AsciiString -") GetDisplayUnits; - virtual const TCollection_AsciiString & GetDisplayUnits (); - %feature("compactdefaultargs") GetModelUnits; - %feature("autodoc", " * returns the model units string. - :rtype: TCollection_AsciiString -") GetModelUnits; - virtual const TCollection_AsciiString & GetModelUnits (); - %feature("compactdefaultargs") SetDisplayUnits; - %feature("autodoc", " :param theUnits: - :type theUnits: TCollection_AsciiString & - :rtype: void -") SetDisplayUnits; - virtual void SetDisplayUnits (const TCollection_AsciiString & theUnits); + /****************** SetModelUnits ******************/ %feature("compactdefaultargs") SetModelUnits; - %feature("autodoc", " :param theUnits: + %feature("autodoc", ":param theUnits: :type theUnits: TCollection_AsciiString & - :rtype: void -") SetModelUnits; + :rtype: void") SetModelUnits; virtual void SetModelUnits (const TCollection_AsciiString & theUnits); + + /****************** SetTextPosition ******************/ %feature("compactdefaultargs") SetTextPosition; - %feature("autodoc", " :param theTextPos: + %feature("autodoc", ":param theTextPos: :type theTextPos: gp_Pnt - :rtype: void -") SetTextPosition; + :rtype: void") SetTextPosition; virtual void SetTextPosition (const gp_Pnt & theTextPos); - %feature("compactdefaultargs") GetTextPosition; - %feature("autodoc", " :rtype: gp_Pnt -") GetTextPosition; - virtual const gp_Pnt GetTextPosition (); + }; @@ -9695,47 +11077,55 @@ class AIS_LengthDimension : public AIS_Dimension { __repr__ = _dumps_object } }; + +/***************************** +* class AIS_MidPointRelation * +*****************************/ %nodefaultctor AIS_MidPointRelation; class AIS_MidPointRelation : public AIS_Relation { public: + /****************** AIS_MidPointRelation ******************/ %feature("compactdefaultargs") AIS_MidPointRelation; - %feature("autodoc", " :param aSymmTool: + %feature("autodoc", ":param aSymmTool: :type aSymmTool: TopoDS_Shape & :param FirstShape: :type FirstShape: TopoDS_Shape & :param SecondShape: :type SecondShape: TopoDS_Shape & :param aPlane: - :type aPlane: Handle_Geom_Plane & - :rtype: None -") AIS_MidPointRelation; - AIS_MidPointRelation (const TopoDS_Shape & aSymmTool,const TopoDS_Shape & FirstShape,const TopoDS_Shape & SecondShape,const Handle_Geom_Plane & aPlane); + :type aPlane: opencascade::handle & + :rtype: None") AIS_MidPointRelation; + AIS_MidPointRelation (const TopoDS_Shape & aSymmTool,const TopoDS_Shape & FirstShape,const TopoDS_Shape & SecondShape,const opencascade::handle & aPlane); + + /****************** Compute ******************/ + %feature("compactdefaultargs") Compute; + %feature("autodoc", "* Computes the presentation according to a point of view given by . To be Used when the associated degenerated Presentations have been transformed by which is not a Pure Translation. The HLR Prs can't be deducted automatically WARNING : must be applied to the object to display before computation !!! + :param aProjector: + :type aProjector: opencascade::handle & + :param aTrsf: + :type aTrsf: opencascade::handle & + :param aPresentation: + :type aPresentation: opencascade::handle & + :rtype: void") Compute; + virtual void Compute (const opencascade::handle & aProjector,const opencascade::handle & aTrsf,const opencascade::handle & aPresentation); + + /****************** GetTool ******************/ + %feature("compactdefaultargs") GetTool; + %feature("autodoc", ":rtype: TopoDS_Shape") GetTool; + const TopoDS_Shape GetTool (); + + /****************** IsMovable ******************/ %feature("compactdefaultargs") IsMovable; - %feature("autodoc", " :rtype: bool -") IsMovable; + %feature("autodoc", ":rtype: bool") IsMovable; Standard_Boolean IsMovable (); + + /****************** SetTool ******************/ %feature("compactdefaultargs") SetTool; - %feature("autodoc", " :param aMidPointTool: + %feature("autodoc", ":param aMidPointTool: :type aMidPointTool: TopoDS_Shape & - :rtype: None -") SetTool; + :rtype: None") SetTool; void SetTool (const TopoDS_Shape & aMidPointTool); - %feature("compactdefaultargs") GetTool; - %feature("autodoc", " :rtype: TopoDS_Shape -") GetTool; - const TopoDS_Shape GetTool (); - %feature("compactdefaultargs") Compute; - %feature("autodoc", " * Computes the presentation according to a point of view given by . To be Used when the associated degenerated Presentations have been transformed by which is not a Pure Translation. The HLR Prs can't be deducted automatically WARNING : must be applied to the object to display before computation !!! - :param aProjector: - :type aProjector: Handle_Prs3d_Projector & - :param aTrsf: - :type aTrsf: Handle_Geom_Transformation & - :param aPresentation: - :type aPresentation: Handle_Prs3d_Presentation & - :rtype: void -") Compute; - virtual void Compute (const Handle_Prs3d_Projector & aProjector,const Handle_Geom_Transformation & aTrsf,const Handle_Prs3d_Presentation & aPresentation); }; @@ -9746,12 +11136,16 @@ class AIS_MidPointRelation : public AIS_Relation { __repr__ = _dumps_object } }; + +/**************************** +* class AIS_OffsetDimension * +****************************/ %nodefaultctor AIS_OffsetDimension; class AIS_OffsetDimension : public AIS_Relation { public: + /****************** AIS_OffsetDimension ******************/ %feature("compactdefaultargs") AIS_OffsetDimension; - %feature("autodoc", " * Constructs the offset display object defined by the first shape aFShape, the second shape aSShape, the dimension aVal, and the text aText. - + %feature("autodoc", "* Constructs the offset display object defined by the first shape aFShape, the second shape aSShape, the dimension aVal, and the text aText. :param FistShape: :type FistShape: TopoDS_Shape & :param SecondShape: @@ -9760,41 +11154,41 @@ class AIS_OffsetDimension : public AIS_Relation { :type aVal: float :param aText: :type aText: TCollection_ExtendedString & - :rtype: None -") AIS_OffsetDimension; + :rtype: None") AIS_OffsetDimension; AIS_OffsetDimension (const TopoDS_Shape & FistShape,const TopoDS_Shape & SecondShape,const Standard_Real aVal,const TCollection_ExtendedString & aText); - %feature("compactdefaultargs") Compute; - %feature("autodoc", " * computes the presentation according to a point of view given by . To be Used when the associated degenerated Presentations have been transformed by which is not a Pure Translation. The HLR Prs can't be deducted automatically WARNING : must be applied to the object to display before computation !!! + /****************** Compute ******************/ + %feature("compactdefaultargs") Compute; + %feature("autodoc", "* computes the presentation according to a point of view given by . To be Used when the associated degenerated Presentations have been transformed by which is not a Pure Translation. The HLR Prs can't be deducted automatically WARNING : must be applied to the object to display before computation !!! :param aProjector: - :type aProjector: Handle_Prs3d_Projector & + :type aProjector: opencascade::handle & :param aTrsf: - :type aTrsf: Handle_Geom_Transformation & + :type aTrsf: opencascade::handle & :param aPresentation: - :type aPresentation: Handle_Prs3d_Presentation & - :rtype: void -") Compute; - virtual void Compute (const Handle_Prs3d_Projector & aProjector,const Handle_Geom_Transformation & aTrsf,const Handle_Prs3d_Presentation & aPresentation); - %feature("compactdefaultargs") KindOfDimension; - %feature("autodoc", " * Indicates that the dimension we are concerned with is an offset. + :type aPresentation: opencascade::handle & + :rtype: void") Compute; + virtual void Compute (const opencascade::handle & aProjector,const opencascade::handle & aTrsf,const opencascade::handle & aPresentation); - :rtype: AIS_KindOfDimension -") KindOfDimension; - AIS_KindOfDimension KindOfDimension (); + /****************** IsMovable ******************/ %feature("compactdefaultargs") IsMovable; - %feature("autodoc", " * Returns true if the offset datum is movable. - - :rtype: bool -") IsMovable; + %feature("autodoc", "* Returns true if the offset datum is movable. + :rtype: bool") IsMovable; Standard_Boolean IsMovable (); - %feature("compactdefaultargs") SetRelativePos; - %feature("autodoc", " * Sets a transformation aTrsf for presentation and selection to a relative position. + /****************** KindOfDimension ******************/ + %feature("compactdefaultargs") KindOfDimension; + %feature("autodoc", "* Indicates that the dimension we are concerned with is an offset. + :rtype: AIS_KindOfDimension") KindOfDimension; + AIS_KindOfDimension KindOfDimension (); + + /****************** SetRelativePos ******************/ + %feature("compactdefaultargs") SetRelativePos; + %feature("autodoc", "* Sets a transformation aTrsf for presentation and selection to a relative position. :param aTrsf: :type aTrsf: gp_Trsf - :rtype: None -") SetRelativePos; + :rtype: None") SetRelativePos; void SetRelativePos (const gp_Trsf & aTrsf); + }; @@ -9805,57 +11199,61 @@ class AIS_OffsetDimension : public AIS_Relation { __repr__ = _dumps_object } }; + +/***************************** +* class AIS_ParallelRelation * +*****************************/ %nodefaultctor AIS_ParallelRelation; class AIS_ParallelRelation : public AIS_Relation { public: + /****************** AIS_ParallelRelation ******************/ %feature("compactdefaultargs") AIS_ParallelRelation; - %feature("autodoc", " * Constructs an object to display parallel constraints. This object is defined by the first shape aFShape and the second shape aSShape and the plane aPlane. - + %feature("autodoc", "* Constructs an object to display parallel constraints. This object is defined by the first shape aFShape and the second shape aSShape and the plane aPlane. :param aFShape: :type aFShape: TopoDS_Shape & :param aSShape: :type aSShape: TopoDS_Shape & :param aPlane: - :type aPlane: Handle_Geom_Plane & - :rtype: None -") AIS_ParallelRelation; - AIS_ParallelRelation (const TopoDS_Shape & aFShape,const TopoDS_Shape & aSShape,const Handle_Geom_Plane & aPlane); - %feature("compactdefaultargs") AIS_ParallelRelation; - %feature("autodoc", " * Constructs an object to display parallel constraints. This object is defined by the first shape aFShape and the second shape aSShape the plane aPlane, the position aPosition, the type of arrow, aSymbolPrs and its size anArrowSize. + :type aPlane: opencascade::handle & + :rtype: None") AIS_ParallelRelation; + AIS_ParallelRelation (const TopoDS_Shape & aFShape,const TopoDS_Shape & aSShape,const opencascade::handle & aPlane); + /****************** AIS_ParallelRelation ******************/ + %feature("compactdefaultargs") AIS_ParallelRelation; + %feature("autodoc", "* Constructs an object to display parallel constraints. This object is defined by the first shape aFShape and the second shape aSShape the plane aPlane, the position aPosition, the type of arrow, aSymbolPrs and its size anArrowSize. :param aFShape: :type aFShape: TopoDS_Shape & :param aSShape: :type aSShape: TopoDS_Shape & :param aPlane: - :type aPlane: Handle_Geom_Plane & + :type aPlane: opencascade::handle & :param aPosition: :type aPosition: gp_Pnt :param aSymbolPrs: :type aSymbolPrs: DsgPrs_ArrowSide :param anArrowSize: default value is 0.01 :type anArrowSize: float - :rtype: None -") AIS_ParallelRelation; - AIS_ParallelRelation (const TopoDS_Shape & aFShape,const TopoDS_Shape & aSShape,const Handle_Geom_Plane & aPlane,const gp_Pnt & aPosition,const DsgPrs_ArrowSide aSymbolPrs,const Standard_Real anArrowSize = 0.01); - %feature("compactdefaultargs") IsMovable; - %feature("autodoc", " * Returns true if the parallelism is movable. + :rtype: None") AIS_ParallelRelation; + AIS_ParallelRelation (const TopoDS_Shape & aFShape,const TopoDS_Shape & aSShape,const opencascade::handle & aPlane,const gp_Pnt & aPosition,const DsgPrs_ArrowSide aSymbolPrs,const Standard_Real anArrowSize = 0.01); - :rtype: bool -") IsMovable; - Standard_Boolean IsMovable (); + /****************** Compute ******************/ %feature("compactdefaultargs") Compute; - %feature("autodoc", " * computes the presentation according to a point of view given by . To be Used when the associated degenerated Presentations have been transformed by which is not a Pure Translation. The HLR Prs can't be deducted automatically WARNING : must be applied to the object to display before computation !!! - + %feature("autodoc", "* computes the presentation according to a point of view given by . To be Used when the associated degenerated Presentations have been transformed by which is not a Pure Translation. The HLR Prs can't be deducted automatically WARNING : must be applied to the object to display before computation !!! :param aProjector: - :type aProjector: Handle_Prs3d_Projector & + :type aProjector: opencascade::handle & :param aTrsf: - :type aTrsf: Handle_Geom_Transformation & + :type aTrsf: opencascade::handle & :param aPresentation: - :type aPresentation: Handle_Prs3d_Presentation & - :rtype: void -") Compute; - virtual void Compute (const Handle_Prs3d_Projector & aProjector,const Handle_Geom_Transformation & aTrsf,const Handle_Prs3d_Presentation & aPresentation); + :type aPresentation: opencascade::handle & + :rtype: void") Compute; + virtual void Compute (const opencascade::handle & aProjector,const opencascade::handle & aTrsf,const opencascade::handle & aPresentation); + + /****************** IsMovable ******************/ + %feature("compactdefaultargs") IsMovable; + %feature("autodoc", "* Returns true if the parallelism is movable. + :rtype: bool") IsMovable; + Standard_Boolean IsMovable (); + }; @@ -9866,43 +11264,47 @@ class AIS_ParallelRelation : public AIS_Relation { __repr__ = _dumps_object } }; + +/********************************** +* class AIS_PerpendicularRelation * +**********************************/ %nodefaultctor AIS_PerpendicularRelation; class AIS_PerpendicularRelation : public AIS_Relation { public: + /****************** AIS_PerpendicularRelation ******************/ %feature("compactdefaultargs") AIS_PerpendicularRelation; - %feature("autodoc", " * Constructs an object to display constraints of perpendicularity on shapes. This object is defined by a first shape aFShape, a second shape aSShape, and a plane aPlane. aPlane is the plane of reference to show and test the perpendicular relation between two shapes, at least one of which has a revolved surface. - + %feature("autodoc", "* Constructs an object to display constraints of perpendicularity on shapes. This object is defined by a first shape aFShape, a second shape aSShape, and a plane aPlane. aPlane is the plane of reference to show and test the perpendicular relation between two shapes, at least one of which has a revolved surface. :param aFShape: :type aFShape: TopoDS_Shape & :param aSShape: :type aSShape: TopoDS_Shape & :param aPlane: - :type aPlane: Handle_Geom_Plane & - :rtype: None -") AIS_PerpendicularRelation; - AIS_PerpendicularRelation (const TopoDS_Shape & aFShape,const TopoDS_Shape & aSShape,const Handle_Geom_Plane & aPlane); - %feature("compactdefaultargs") AIS_PerpendicularRelation; - %feature("autodoc", " * Constructs an object to display constraints of perpendicularity on shapes. This object is defined by a first shape aFShape and a second shape aSShape. + :type aPlane: opencascade::handle & + :rtype: None") AIS_PerpendicularRelation; + AIS_PerpendicularRelation (const TopoDS_Shape & aFShape,const TopoDS_Shape & aSShape,const opencascade::handle & aPlane); + /****************** AIS_PerpendicularRelation ******************/ + %feature("compactdefaultargs") AIS_PerpendicularRelation; + %feature("autodoc", "* Constructs an object to display constraints of perpendicularity on shapes. This object is defined by a first shape aFShape and a second shape aSShape. :param aFShape: :type aFShape: TopoDS_Shape & :param aSShape: :type aSShape: TopoDS_Shape & - :rtype: None -") AIS_PerpendicularRelation; + :rtype: None") AIS_PerpendicularRelation; AIS_PerpendicularRelation (const TopoDS_Shape & aFShape,const TopoDS_Shape & aSShape); - %feature("compactdefaultargs") Compute; - %feature("autodoc", " * computes the presentation according to a point of view given by . To be Used when the associated degenerated Presentations have been transformed by which is not a Pure Translation. The HLR Prs can't be deducted automatically WARNING : must be applied to the object to display before computation !!! + /****************** Compute ******************/ + %feature("compactdefaultargs") Compute; + %feature("autodoc", "* computes the presentation according to a point of view given by . To be Used when the associated degenerated Presentations have been transformed by which is not a Pure Translation. The HLR Prs can't be deducted automatically WARNING : must be applied to the object to display before computation !!! :param aProjector: - :type aProjector: Handle_Prs3d_Projector & + :type aProjector: opencascade::handle & :param aTrsf: - :type aTrsf: Handle_Geom_Transformation & + :type aTrsf: opencascade::handle & :param aPresentation: - :type aPresentation: Handle_Prs3d_Presentation & - :rtype: void -") Compute; - virtual void Compute (const Handle_Prs3d_Projector & aProjector,const Handle_Geom_Transformation & aTrsf,const Handle_Prs3d_Presentation & aPresentation); + :type aPresentation: opencascade::handle & + :rtype: void") Compute; + virtual void Compute (const opencascade::handle & aProjector,const opencascade::handle & aTrsf,const opencascade::handle & aPresentation); + }; @@ -9913,113 +11315,135 @@ class AIS_PerpendicularRelation : public AIS_Relation { __repr__ = _dumps_object } }; + +/**************************** +* class AIS_RadiusDimension * +****************************/ %nodefaultctor AIS_RadiusDimension; class AIS_RadiusDimension : public AIS_Dimension { public: + /****************** AIS_RadiusDimension ******************/ %feature("compactdefaultargs") AIS_RadiusDimension; - %feature("autodoc", " * Create radius dimension for the circle geometry. @param theCircle [in] the circle to measure. - + %feature("autodoc", "* Create radius dimension for the circle geometry. @param theCircle [in] the circle to measure. :param theCircle: :type theCircle: gp_Circ - :rtype: None -") AIS_RadiusDimension; + :rtype: None") AIS_RadiusDimension; AIS_RadiusDimension (const gp_Circ & theCircle); - %feature("compactdefaultargs") AIS_RadiusDimension; - %feature("autodoc", " * Create radius dimension for the circle geometry and define its orientation by location of the first point on that circle. @param theCircle [in] the circle to measure. @param theAnchorPoint [in] the point to define the position of the dimension attachment on the circle. + /****************** AIS_RadiusDimension ******************/ + %feature("compactdefaultargs") AIS_RadiusDimension; + %feature("autodoc", "* Create radius dimension for the circle geometry and define its orientation by location of the first point on that circle. @param theCircle [in] the circle to measure. @param theAnchorPoint [in] the point to define the position of the dimension attachment on the circle. :param theCircle: :type theCircle: gp_Circ :param theAnchorPoint: :type theAnchorPoint: gp_Pnt - :rtype: None -") AIS_RadiusDimension; + :rtype: None") AIS_RadiusDimension; AIS_RadiusDimension (const gp_Circ & theCircle,const gp_Pnt & theAnchorPoint); - %feature("compactdefaultargs") AIS_RadiusDimension; - %feature("autodoc", " * Create radius dimension for the arbitrary shape (if possible). @param theShape [in] the shape to measure. + /****************** AIS_RadiusDimension ******************/ + %feature("compactdefaultargs") AIS_RadiusDimension; + %feature("autodoc", "* Create radius dimension for the arbitrary shape (if possible). @param theShape [in] the shape to measure. :param theShape: :type theShape: TopoDS_Shape & - :rtype: None -") AIS_RadiusDimension; + :rtype: None") AIS_RadiusDimension; AIS_RadiusDimension (const TopoDS_Shape & theShape); - %feature("compactdefaultargs") Circle; - %feature("autodoc", " * returns measured geometry circle. - :rtype: gp_Circ -") Circle; - const gp_Circ Circle (); + /****************** AnchorPoint ******************/ %feature("compactdefaultargs") AnchorPoint; - %feature("autodoc", " * returns anchor point on circle for radius dimension. - - :rtype: gp_Pnt -") AnchorPoint; + %feature("autodoc", "* returns anchor point on circle for radius dimension. + :rtype: gp_Pnt") AnchorPoint; const gp_Pnt AnchorPoint (); - %feature("compactdefaultargs") Shape; - %feature("autodoc", " * returns the measured shape. - :rtype: TopoDS_Shape -") Shape; - const TopoDS_Shape Shape (); - %feature("compactdefaultargs") SetMeasuredGeometry; - %feature("autodoc", " * Measure radius of the circle. The dimension will become invalid if the radius of the circle is less than Precision::Confusion(). @param theCircle [in] the circle to measure. + /****************** Circle ******************/ + %feature("compactdefaultargs") Circle; + %feature("autodoc", "* returns measured geometry circle. + :rtype: gp_Circ") Circle; + const gp_Circ Circle (); + /****************** GetDisplayUnits ******************/ + %feature("compactdefaultargs") GetDisplayUnits; + %feature("autodoc", "* returns the display units string. + :rtype: TCollection_AsciiString") GetDisplayUnits; + virtual const TCollection_AsciiString & GetDisplayUnits (); + + /****************** GetModelUnits ******************/ + %feature("compactdefaultargs") GetModelUnits; + %feature("autodoc", "* returns the model units string. + :rtype: TCollection_AsciiString") GetModelUnits; + virtual const TCollection_AsciiString & GetModelUnits (); + + /****************** GetTextPosition ******************/ + %feature("compactdefaultargs") GetTextPosition; + %feature("autodoc", ":rtype: gp_Pnt") GetTextPosition; + virtual const gp_Pnt GetTextPosition (); + + /****************** SetDisplayUnits ******************/ + %feature("compactdefaultargs") SetDisplayUnits; + %feature("autodoc", ":param theUnits: + :type theUnits: TCollection_AsciiString & + :rtype: void") SetDisplayUnits; + virtual void SetDisplayUnits (const TCollection_AsciiString & theUnits); + + /****************** SetMeasuredGeometry ******************/ + %feature("compactdefaultargs") SetMeasuredGeometry; + %feature("autodoc", "* Measure radius of the circle. The dimension will become invalid if the radius of the circle is less than Precision::Confusion(). @param theCircle [in] the circle to measure. :param theCircle: :type theCircle: gp_Circ - :rtype: None -") SetMeasuredGeometry; + :rtype: None") SetMeasuredGeometry; void SetMeasuredGeometry (const gp_Circ & theCircle); - %feature("compactdefaultargs") SetMeasuredGeometry; - %feature("autodoc", " * Measure radius of the circle and orient the dimension so the dimension lines attaches to anchor point on the circle. The dimension will become invalid if the radius of the circle is less than Precision::Confusion(). @param theCircle [in] the circle to measure. @param theAnchorPoint [in] the point to attach the dimension lines. + /****************** SetMeasuredGeometry ******************/ + %feature("compactdefaultargs") SetMeasuredGeometry; + %feature("autodoc", "* Measure radius of the circle and orient the dimension so the dimension lines attaches to anchor point on the circle. The dimension will become invalid if the radius of the circle is less than Precision::Confusion(). @param theCircle [in] the circle to measure. @param theAnchorPoint [in] the point to attach the dimension lines, should be on the circle @param theHasAnchor [in] should be set True if theAnchorPoint should be used :param theCircle: :type theCircle: gp_Circ :param theAnchorPoint: :type theAnchorPoint: gp_Pnt - :rtype: None -") SetMeasuredGeometry; - void SetMeasuredGeometry (const gp_Circ & theCircle,const gp_Pnt & theAnchorPoint); - %feature("compactdefaultargs") SetMeasuredGeometry; - %feature("autodoc", " * Measure radius on the passed shape, if applicable. The dimension will become invalid if the passed shape is not measurable or if measured diameter value is less than Precision::Confusion(). @param theShape [in] the shape to measure. + :param theHasAnchor: default value is Standard_True + :type theHasAnchor: bool + :rtype: None") SetMeasuredGeometry; + void SetMeasuredGeometry (const gp_Circ & theCircle,const gp_Pnt & theAnchorPoint,const Standard_Boolean theHasAnchor = Standard_True); + /****************** SetMeasuredGeometry ******************/ + %feature("compactdefaultargs") SetMeasuredGeometry; + %feature("autodoc", "* Measure radius on the passed shape, if applicable. The dimension will become invalid if the passed shape is not measurable or if measured diameter value is less than Precision::Confusion(). @param theShape [in] the shape to measure. :param theShape: :type theShape: TopoDS_Shape & - :rtype: None -") SetMeasuredGeometry; + :rtype: None") SetMeasuredGeometry; void SetMeasuredGeometry (const TopoDS_Shape & theShape); - %feature("compactdefaultargs") GetDisplayUnits; - %feature("autodoc", " * returns the display units string. - :rtype: TCollection_AsciiString -") GetDisplayUnits; - virtual const TCollection_AsciiString & GetDisplayUnits (); - %feature("compactdefaultargs") GetModelUnits; - %feature("autodoc", " * returns the model units string. + /****************** SetMeasuredGeometry ******************/ + %feature("compactdefaultargs") SetMeasuredGeometry; + %feature("autodoc", "* Measure radius on the passed shape, if applicable. The dimension will become invalid if the passed shape is not measurable or if measured diameter value is less than Precision::Confusion(). @param theShape [in] the shape to measure. @param theAnchorPoint [in] the point to attach the dimension lines, should be on the circle @param theHasAnchor [in] should be set True if theAnchorPoint should be used + :param theShape: + :type theShape: TopoDS_Shape & + :param theAnchorPoint: + :type theAnchorPoint: gp_Pnt + :param theHasAnchor: default value is Standard_True + :type theHasAnchor: bool + :rtype: None") SetMeasuredGeometry; + void SetMeasuredGeometry (const TopoDS_Shape & theShape,const gp_Pnt & theAnchorPoint,const Standard_Boolean theHasAnchor = Standard_True); - :rtype: TCollection_AsciiString -") GetModelUnits; - virtual const TCollection_AsciiString & GetModelUnits (); - %feature("compactdefaultargs") SetDisplayUnits; - %feature("autodoc", " :param theUnits: - :type theUnits: TCollection_AsciiString & - :rtype: void -") SetDisplayUnits; - virtual void SetDisplayUnits (const TCollection_AsciiString & theUnits); + /****************** SetModelUnits ******************/ %feature("compactdefaultargs") SetModelUnits; - %feature("autodoc", " :param theUnits: + %feature("autodoc", ":param theUnits: :type theUnits: TCollection_AsciiString & - :rtype: void -") SetModelUnits; + :rtype: void") SetModelUnits; virtual void SetModelUnits (const TCollection_AsciiString & theUnits); + + /****************** SetTextPosition ******************/ %feature("compactdefaultargs") SetTextPosition; - %feature("autodoc", " :param theTextPos: + %feature("autodoc", ":param theTextPos: :type theTextPos: gp_Pnt - :rtype: void -") SetTextPosition; + :rtype: void") SetTextPosition; virtual void SetTextPosition (const gp_Pnt & theTextPos); - %feature("compactdefaultargs") GetTextPosition; - %feature("autodoc", " :rtype: gp_Pnt -") GetTextPosition; - virtual const gp_Pnt GetTextPosition (); + + /****************** Shape ******************/ + %feature("compactdefaultargs") Shape; + %feature("autodoc", "* returns the measured shape. + :rtype: TopoDS_Shape") Shape; + const TopoDS_Shape Shape (); + }; @@ -10030,12 +11454,16 @@ class AIS_RadiusDimension : public AIS_Dimension { __repr__ = _dumps_object } }; + +/****************************** +* class AIS_SymmetricRelation * +******************************/ %nodefaultctor AIS_SymmetricRelation; class AIS_SymmetricRelation : public AIS_Relation { public: + /****************** AIS_SymmetricRelation ******************/ %feature("compactdefaultargs") AIS_SymmetricRelation; - %feature("autodoc", " * Constructs an object to display constraints of symmetricity. This object is defined by a tool aSymmTool, a first shape FirstShape, a second shape SecondShape, and a plane aPlane. aPlane serves as the axis of symmetry. aSymmTool is the shape composed of FirstShape SecondShape and aPlane. It may be queried and edited using the functions GetTool and SetTool. The two shapes are typically two edges, two vertices or two points. - + %feature("autodoc", "* Constructs an object to display constraints of symmetricity. This object is defined by a tool aSymmTool, a first shape FirstShape, a second shape SecondShape, and a plane aPlane. aPlane serves as the axis of symmetry. aSymmTool is the shape composed of FirstShape SecondShape and aPlane. It may be queried and edited using the functions GetTool and SetTool. The two shapes are typically two edges, two vertices or two points. :param aSymmTool: :type aSymmTool: TopoDS_Shape & :param FirstShape: @@ -10043,42 +11471,42 @@ class AIS_SymmetricRelation : public AIS_Relation { :param SecondShape: :type SecondShape: TopoDS_Shape & :param aPlane: - :type aPlane: Handle_Geom_Plane & - :rtype: None -") AIS_SymmetricRelation; - AIS_SymmetricRelation (const TopoDS_Shape & aSymmTool,const TopoDS_Shape & FirstShape,const TopoDS_Shape & SecondShape,const Handle_Geom_Plane & aPlane); - %feature("compactdefaultargs") IsMovable; - %feature("autodoc", " * Returns true if the symmetric constraint display is movable. + :type aPlane: opencascade::handle & + :rtype: None") AIS_SymmetricRelation; + AIS_SymmetricRelation (const TopoDS_Shape & aSymmTool,const TopoDS_Shape & FirstShape,const TopoDS_Shape & SecondShape,const opencascade::handle & aPlane); + + /****************** Compute ******************/ + %feature("compactdefaultargs") Compute; + %feature("autodoc", "* computes the presentation according to a point of view given by . To be Used when the associated degenerated Presentations have been transformed by which is not a Pure Translation. The HLR Prs can't be deducted automatically WARNING : must be applied to the object to display before computation !!! + :param aProjector: + :type aProjector: opencascade::handle & + :param aTrsf: + :type aTrsf: opencascade::handle & + :param aPresentation: + :type aPresentation: opencascade::handle & + :rtype: void") Compute; + virtual void Compute (const opencascade::handle & aProjector,const opencascade::handle & aTrsf,const opencascade::handle & aPresentation); + + /****************** GetTool ******************/ + %feature("compactdefaultargs") GetTool; + %feature("autodoc", "* Returns the tool composed of a first shape, a second shape, and a plane. This tool is created at construction time. + :rtype: TopoDS_Shape") GetTool; + const TopoDS_Shape GetTool (); - :rtype: bool -") IsMovable; + /****************** IsMovable ******************/ + %feature("compactdefaultargs") IsMovable; + %feature("autodoc", "* Returns true if the symmetric constraint display is movable. + :rtype: bool") IsMovable; Standard_Boolean IsMovable (); - %feature("compactdefaultargs") SetTool; - %feature("autodoc", " * Sets the tool aSymmetricTool composed of a first shape, a second shape, and a plane. This tool is initially created at construction time. + /****************** SetTool ******************/ + %feature("compactdefaultargs") SetTool; + %feature("autodoc", "* Sets the tool aSymmetricTool composed of a first shape, a second shape, and a plane. This tool is initially created at construction time. :param aSymmetricTool: :type aSymmetricTool: TopoDS_Shape & - :rtype: None -") SetTool; + :rtype: None") SetTool; void SetTool (const TopoDS_Shape & aSymmetricTool); - %feature("compactdefaultargs") GetTool; - %feature("autodoc", " * Returns the tool composed of a first shape, a second shape, and a plane. This tool is created at construction time. - :rtype: TopoDS_Shape -") GetTool; - const TopoDS_Shape GetTool (); - %feature("compactdefaultargs") Compute; - %feature("autodoc", " * computes the presentation according to a point of view given by . To be Used when the associated degenerated Presentations have been transformed by which is not a Pure Translation. The HLR Prs can't be deducted automatically WARNING : must be applied to the object to display before computation !!! - - :param aProjector: - :type aProjector: Handle_Prs3d_Projector & - :param aTrsf: - :type aTrsf: Handle_Geom_Transformation & - :param aPresentation: - :type aPresentation: Handle_Prs3d_Presentation & - :rtype: void -") Compute; - virtual void Compute (const Handle_Prs3d_Projector & aProjector,const Handle_Geom_Transformation & aTrsf,const Handle_Prs3d_Presentation & aPresentation); }; @@ -10089,49 +11517,53 @@ class AIS_SymmetricRelation : public AIS_Relation { __repr__ = _dumps_object } }; + +/**************************** +* class AIS_TangentRelation * +****************************/ %nodefaultctor AIS_TangentRelation; class AIS_TangentRelation : public AIS_Relation { public: + /****************** AIS_TangentRelation ******************/ %feature("compactdefaultargs") AIS_TangentRelation; - %feature("autodoc", " * TwoFacesTangent or TwoEdgesTangent relation Constructs an object to display tangency constraints. This object is defined by the first shape aFShape, the second shape aSShape, the plane aPlane and the index anExternRef. aPlane serves as an optional axis. anExternRef set to 0 indicates that there is no relation. - + %feature("autodoc", "* TwoFacesTangent or TwoEdgesTangent relation Constructs an object to display tangency constraints. This object is defined by the first shape aFShape, the second shape aSShape, the plane aPlane and the index anExternRef. aPlane serves as an optional axis. anExternRef set to 0 indicates that there is no relation. :param aFShape: :type aFShape: TopoDS_Shape & :param aSShape: :type aSShape: TopoDS_Shape & :param aPlane: - :type aPlane: Handle_Geom_Plane & + :type aPlane: opencascade::handle & :param anExternRef: default value is 0 :type anExternRef: int - :rtype: None -") AIS_TangentRelation; - AIS_TangentRelation (const TopoDS_Shape & aFShape,const TopoDS_Shape & aSShape,const Handle_Geom_Plane & aPlane,const Standard_Integer anExternRef = 0); - %feature("compactdefaultargs") ExternRef; - %feature("autodoc", " * Returns the external reference for tangency. The values are as follows: - 0 - there is no connection; - 1 - there is a connection to the first shape; - 2 - there is a connection to the second shape. This reference is defined at construction time. + :rtype: None") AIS_TangentRelation; + AIS_TangentRelation (const TopoDS_Shape & aFShape,const TopoDS_Shape & aSShape,const opencascade::handle & aPlane,const Standard_Integer anExternRef = 0); + + /****************** Compute ******************/ + %feature("compactdefaultargs") Compute; + %feature("autodoc", "* computes the presentation according to a point of view given by . To be Used when the associated degenerated Presentations have been transformed by which is not a Pure Translation. The HLR Prs can't be deducted automatically WARNING : must be applied to the object to display before computation !!! + :param aProjector: + :type aProjector: opencascade::handle & + :param aTrsf: + :type aTrsf: opencascade::handle & + :param aPresentation: + :type aPresentation: opencascade::handle & + :rtype: void") Compute; + virtual void Compute (const opencascade::handle & aProjector,const opencascade::handle & aTrsf,const opencascade::handle & aPresentation); - :rtype: int -") ExternRef; + /****************** ExternRef ******************/ + %feature("compactdefaultargs") ExternRef; + %feature("autodoc", "* Returns the external reference for tangency. The values are as follows: - 0 - there is no connection; - 1 - there is a connection to the first shape; - 2 - there is a connection to the second shape. This reference is defined at construction time. + :rtype: int") ExternRef; Standard_Integer ExternRef (); - %feature("compactdefaultargs") SetExternRef; - %feature("autodoc", " * Sets the external reference for tangency, aRef. The values are as follows: - 0 - there is no connection; - 1 - there is a connection to the first shape; - 2 - there is a connection to the second shape. This reference is initially defined at construction time. + /****************** SetExternRef ******************/ + %feature("compactdefaultargs") SetExternRef; + %feature("autodoc", "* Sets the external reference for tangency, aRef. The values are as follows: - 0 - there is no connection; - 1 - there is a connection to the first shape; - 2 - there is a connection to the second shape. This reference is initially defined at construction time. :param aRef: :type aRef: int - :rtype: None -") SetExternRef; + :rtype: None") SetExternRef; void SetExternRef (const Standard_Integer aRef); - %feature("compactdefaultargs") Compute; - %feature("autodoc", " * computes the presentation according to a point of view given by . To be Used when the associated degenerated Presentations have been transformed by which is not a Pure Translation. The HLR Prs can't be deducted automatically WARNING : must be applied to the object to display before computation !!! - :param aProjector: - :type aProjector: Handle_Prs3d_Projector & - :param aTrsf: - :type aTrsf: Handle_Geom_Transformation & - :param aPresentation: - :type aPresentation: Handle_Prs3d_Presentation & - :rtype: void -") Compute; - virtual void Compute (const Handle_Prs3d_Projector & aProjector,const Handle_Geom_Transformation & aTrsf,const Handle_Prs3d_Presentation & aPresentation); }; @@ -10142,205 +11574,217 @@ class AIS_TangentRelation : public AIS_Relation { __repr__ = _dumps_object } }; + +/************************** +* class AIS_TexturedShape * +**************************/ %nodefaultctor AIS_TexturedShape; class AIS_TexturedShape : public AIS_Shape { public: + /****************** AIS_TexturedShape ******************/ %feature("compactdefaultargs") AIS_TexturedShape; - %feature("autodoc", " * @name main methods Initializes the textured shape. - + %feature("autodoc", "* @name main methods Initializes the textured shape. :param theShape: :type theShape: TopoDS_Shape & - :rtype: None -") AIS_TexturedShape; + :rtype: None") AIS_TexturedShape; AIS_TexturedShape (const TopoDS_Shape & theShape); - %feature("compactdefaultargs") SetTextureFileName; - %feature("autodoc", " * Sets the texture source. can specify path to texture image or one of the standard predefined textures. The accepted file types are those used in Image_AlienPixMap with extensions such as rgb, png, jpg and more. To specify the standard predefined texture, the should contain integer - the Graphic3d_NameOfTexture2D enumeration index. Setting texture source using this method resets the source pixmap (if was set previously). - - :param theTextureFileName: - :type theTextureFileName: TCollection_AsciiString & - :rtype: void -") SetTextureFileName; - virtual void SetTextureFileName (const TCollection_AsciiString & theTextureFileName); - %feature("compactdefaultargs") SetTexturePixMap; - %feature("autodoc", " * Sets the texture source. specifies image data. Please note that the data should be in Bottom-Up order, the flag of Image_PixMap::IsTopDown() will be ignored by graphic driver. Setting texture source using this method resets the source by filename (if was set previously). - - :param theTexturePixMap: - :type theTexturePixMap: Image_PixMap_Handle & - :rtype: void -") SetTexturePixMap; - virtual void SetTexturePixMap (const Image_PixMap_Handle & theTexturePixMap); - %feature("compactdefaultargs") TextureMapState; - %feature("autodoc", " * returns flag to control texture mapping (for presentation mode 3) - - :rtype: bool -") TextureMapState; - Standard_Boolean TextureMapState (); - %feature("compactdefaultargs") SetTextureMapOn; - %feature("autodoc", " * Enables texture mapping - - :rtype: None -") SetTextureMapOn; - void SetTextureMapOn (); - %feature("compactdefaultargs") SetTextureMapOff; - %feature("autodoc", " * Disables texture mapping - :rtype: None -") SetTextureMapOff; - void SetTextureMapOff (); - %feature("compactdefaultargs") TextureFile; - %feature("autodoc", " * returns path to the texture file + /****************** AcceptDisplayMode ******************/ + %feature("compactdefaultargs") AcceptDisplayMode; + %feature("autodoc", "* Return true if specified display mode is supported (extends AIS_Shape with Display Mode 3). + :param theMode: + :type theMode: int + :rtype: bool") AcceptDisplayMode; + Standard_Boolean AcceptDisplayMode (const Standard_Integer theMode); - :rtype: char * -") TextureFile; - const char * TextureFile (); - %feature("compactdefaultargs") TexturePixMap; - %feature("autodoc", " * returns the source pixmap for texture map + /****************** DisableTextureModulate ******************/ + %feature("compactdefaultargs") DisableTextureModulate; + %feature("autodoc", "* Disables texture modulation + :rtype: None") DisableTextureModulate; + void DisableTextureModulate (); - :rtype: Handle_Image_PixMap -") TexturePixMap; - Handle_Image_PixMap TexturePixMap (); - %feature("compactdefaultargs") UpdateAttributes; - %feature("autodoc", " * @name methods to alter texture mapping properties Use this method to display the textured shape without recomputing the whole presentation. Use this method when ONLY the texture content has been changed. If other parameters (ie: scale factors, texture origin, texture repeat...) have changed, the whole presentation has to be recomputed: @code if (myShape->DisplayMode() == 3) { myAISContext->RecomputePrsOnly (myShape); } else { myAISContext->SetDisplayMode (myShape, 3, Standard_False); myAISContext->Display (myShape, Standard_True); } @endcode + /****************** EnableTextureModulate ******************/ + %feature("compactdefaultargs") EnableTextureModulate; + %feature("autodoc", "* Enables texture modulation + :rtype: None") EnableTextureModulate; + void EnableTextureModulate (); - :rtype: None -") UpdateAttributes; - void UpdateAttributes (); + /****************** SetColor ******************/ %feature("compactdefaultargs") SetColor; - %feature("autodoc", " * Sets the color. - + %feature("autodoc", "* Sets the color. :param theColor: :type theColor: Quantity_Color & - :rtype: void -") SetColor; + :rtype: void") SetColor; virtual void SetColor (const Quantity_Color & theColor); - %feature("compactdefaultargs") UnsetColor; - %feature("autodoc", " * Removes settings for the color. - :rtype: void -") UnsetColor; - virtual void UnsetColor (); + /****************** SetMaterial ******************/ %feature("compactdefaultargs") SetMaterial; - %feature("autodoc", " * Sets the material aspect. - + %feature("autodoc", "* Sets the material aspect. :param theAspect: :type theAspect: Graphic3d_MaterialAspect & - :rtype: void -") SetMaterial; + :rtype: void") SetMaterial; virtual void SetMaterial (const Graphic3d_MaterialAspect & theAspect); - %feature("compactdefaultargs") UnsetMaterial; - %feature("autodoc", " * Removes settings for material aspect. - :rtype: void -") UnsetMaterial; - virtual void UnsetMaterial (); - %feature("compactdefaultargs") EnableTextureModulate; - %feature("autodoc", " * Enables texture modulation + /****************** SetTextureFileName ******************/ + %feature("compactdefaultargs") SetTextureFileName; + %feature("autodoc", "* Sets the texture source. can specify path to texture image or one of the standard predefined textures. The accepted file types are those used in Image_AlienPixMap with extensions such as rgb, png, jpg and more. To specify the standard predefined texture, the should contain integer - the Graphic3d_NameOfTexture2D enumeration index. Setting texture source using this method resets the source pixmap (if was set previously). + :param theTextureFileName: + :type theTextureFileName: TCollection_AsciiString & + :rtype: void") SetTextureFileName; + virtual void SetTextureFileName (const TCollection_AsciiString & theTextureFileName); - :rtype: None -") EnableTextureModulate; - void EnableTextureModulate (); - %feature("compactdefaultargs") DisableTextureModulate; - %feature("autodoc", " * Disables texture modulation + /****************** SetTextureMapOff ******************/ + %feature("compactdefaultargs") SetTextureMapOff; + %feature("autodoc", "* Disables texture mapping + :rtype: None") SetTextureMapOff; + void SetTextureMapOff (); - :rtype: None -") DisableTextureModulate; - void DisableTextureModulate (); - %feature("compactdefaultargs") TextureRepeat; - %feature("autodoc", " * returns texture repeat flag + /****************** SetTextureMapOn ******************/ + %feature("compactdefaultargs") SetTextureMapOn; + %feature("autodoc", "* Enables texture mapping + :rtype: None") SetTextureMapOn; + void SetTextureMapOn (); - :rtype: bool -") TextureRepeat; - Standard_Boolean TextureRepeat (); - %feature("compactdefaultargs") URepeat; - %feature("autodoc", " * returns texture repeat U value + /****************** SetTextureOrigin ******************/ + %feature("compactdefaultargs") SetTextureOrigin; + %feature("autodoc", "* Use this method to change the origin of the texture. The texel (0,0) will be mapped to the surface (UOrigin,VOrigin) + :param theToSetTextureOrigin: + :type theToSetTextureOrigin: bool + :param theUOrigin: default value is 0.0 + :type theUOrigin: float + :param theVOrigin: default value is 0.0 + :type theVOrigin: float + :rtype: None") SetTextureOrigin; + void SetTextureOrigin (const Standard_Boolean theToSetTextureOrigin,const Standard_Real theUOrigin = 0.0,const Standard_Real theVOrigin = 0.0); - :rtype: float -") URepeat; - Standard_Real URepeat (); - %feature("compactdefaultargs") VRepeat; - %feature("autodoc", " * returns texture repeat V value + /****************** SetTexturePixMap ******************/ + %feature("compactdefaultargs") SetTexturePixMap; + %feature("autodoc", "* Sets the texture source. specifies image data. Please note that the data should be in Bottom-Up order, the flag of Image_PixMap::IsTopDown() will be ignored by graphic driver. Setting texture source using this method resets the source by filename (if was set previously). + :param theTexturePixMap: + :type theTexturePixMap: opencascade::handle & + :rtype: void") SetTexturePixMap; + virtual void SetTexturePixMap (const opencascade::handle & theTexturePixMap); - :rtype: float -") VRepeat; - Standard_Real VRepeat (); + /****************** SetTextureRepeat ******************/ %feature("compactdefaultargs") SetTextureRepeat; - %feature("autodoc", " * Sets the number of occurrences of the texture on each face. The texture itself is parameterized in (0,1) by (0,1). Each face of the shape to be textured is parameterized in UV space (Umin,Umax) by (Vmin,Vmax). If RepeatYN is set to false, texture coordinates are clamped in the range (0,1)x(0,1) of the face. - + %feature("autodoc", "* Sets the number of occurrences of the texture on each face. The texture itself is parameterized in (0,1) by (0,1). Each face of the shape to be textured is parameterized in UV space (Umin,Umax) by (Vmin,Vmax). If RepeatYN is set to false, texture coordinates are clamped in the range (0,1)x(0,1) of the face. :param theToRepeat: :type theToRepeat: bool :param theURepeat: default value is 1.0 :type theURepeat: float :param theVRepeat: default value is 1.0 :type theVRepeat: float - :rtype: None -") SetTextureRepeat; + :rtype: None") SetTextureRepeat; void SetTextureRepeat (const Standard_Boolean theToRepeat,const Standard_Real theURepeat = 1.0,const Standard_Real theVRepeat = 1.0); - %feature("compactdefaultargs") TextureOrigin; - %feature("autodoc", " * returns true if texture UV origin has been modified - :rtype: bool -") TextureOrigin; + /****************** SetTextureScale ******************/ + %feature("compactdefaultargs") SetTextureScale; + %feature("autodoc", "* Use this method to scale the texture (percent of the face). You can specify a scale factor for both U and V. Example: if you set ScaleU and ScaleV to 0.5 and you enable texture repeat, the texture will appear twice on the face in each direction. + :param theToSetTextureScale: + :type theToSetTextureScale: bool + :param theScaleU: default value is 1.0 + :type theScaleU: float + :param theScaleV: default value is 1.0 + :type theScaleV: float + :rtype: None") SetTextureScale; + void SetTextureScale (const Standard_Boolean theToSetTextureScale,const Standard_Real theScaleU = 1.0,const Standard_Real theScaleV = 1.0); + + /****************** TextureFile ******************/ + %feature("compactdefaultargs") TextureFile; + %feature("autodoc", "* returns path to the texture file + :rtype: char *") TextureFile; + const char * TextureFile (); + + /****************** TextureMapState ******************/ + %feature("compactdefaultargs") TextureMapState; + %feature("autodoc", "* returns flag to control texture mapping (for presentation mode 3) + :rtype: bool") TextureMapState; + Standard_Boolean TextureMapState (); + + /****************** TextureModulate ******************/ + %feature("compactdefaultargs") TextureModulate; + %feature("autodoc", "* returns true if texture color modulation is turned on + :rtype: bool") TextureModulate; + Standard_Boolean TextureModulate (); + + /****************** TextureOrigin ******************/ + %feature("compactdefaultargs") TextureOrigin; + %feature("autodoc", "* returns true if texture UV origin has been modified + :rtype: bool") TextureOrigin; Standard_Boolean TextureOrigin (); - %feature("compactdefaultargs") TextureUOrigin; - %feature("autodoc", " * returns texture origin U position (0.0 by default) - :rtype: float -") TextureUOrigin; - Standard_Real TextureUOrigin (); - %feature("compactdefaultargs") TextureVOrigin; - %feature("autodoc", " * returns texture origin V position (0.0 by default) + /****************** TexturePixMap ******************/ + %feature("compactdefaultargs") TexturePixMap; + %feature("autodoc", "* returns the source pixmap for texture map + :rtype: opencascade::handle") TexturePixMap; + const opencascade::handle & TexturePixMap (); - :rtype: float -") TextureVOrigin; - Standard_Real TextureVOrigin (); - %feature("compactdefaultargs") SetTextureOrigin; - %feature("autodoc", " * Use this method to change the origin of the texture. The texel (0,0) will be mapped to the surface (UOrigin,VOrigin) + /****************** TextureRepeat ******************/ + %feature("compactdefaultargs") TextureRepeat; + %feature("autodoc", "* returns texture repeat flag + :rtype: bool") TextureRepeat; + Standard_Boolean TextureRepeat (); - :param theToSetTextureOrigin: - :type theToSetTextureOrigin: bool - :param theUOrigin: default value is 0.0 - :type theUOrigin: float - :param theVOrigin: default value is 0.0 - :type theVOrigin: float - :rtype: None -") SetTextureOrigin; - void SetTextureOrigin (const Standard_Boolean theToSetTextureOrigin,const Standard_Real theUOrigin = 0.0,const Standard_Real theVOrigin = 0.0); + /****************** TextureScale ******************/ %feature("compactdefaultargs") TextureScale; - %feature("autodoc", " * returns true if scale factor should be applied to texture mapping - - :rtype: bool -") TextureScale; + %feature("autodoc", "* returns true if scale factor should be applied to texture mapping + :rtype: bool") TextureScale; Standard_Boolean TextureScale (); - %feature("compactdefaultargs") TextureScaleU; - %feature("autodoc", " * returns scale factor for U coordinate (1.0 by default) - :rtype: float -") TextureScaleU; + /****************** TextureScaleU ******************/ + %feature("compactdefaultargs") TextureScaleU; + %feature("autodoc", "* returns scale factor for U coordinate (1.0 by default) + :rtype: float") TextureScaleU; Standard_Real TextureScaleU (); - %feature("compactdefaultargs") TextureScaleV; - %feature("autodoc", " * returns scale factor for V coordinate (1.0 by default) - :rtype: float -") TextureScaleV; + /****************** TextureScaleV ******************/ + %feature("compactdefaultargs") TextureScaleV; + %feature("autodoc", "* returns scale factor for V coordinate (1.0 by default) + :rtype: float") TextureScaleV; Standard_Real TextureScaleV (); - %feature("compactdefaultargs") SetTextureScale; - %feature("autodoc", " * Use this method to scale the texture (percent of the face). You can specify a scale factor for both U and V. Example: if you set ScaleU and ScaleV to 0.5 and you enable texture repeat, the texture will appear twice on the face in each direction. - :param theToSetTextureScale: - :type theToSetTextureScale: bool - :param theScaleU: default value is 1.0 - :type theScaleU: float - :param theScaleV: default value is 1.0 - :type theScaleV: float - :rtype: None -") SetTextureScale; - void SetTextureScale (const Standard_Boolean theToSetTextureScale,const Standard_Real theScaleU = 1.0,const Standard_Real theScaleV = 1.0); - %feature("compactdefaultargs") TextureModulate; - %feature("autodoc", " * returns true if texture color modulation is turned on + /****************** TextureUOrigin ******************/ + %feature("compactdefaultargs") TextureUOrigin; + %feature("autodoc", "* returns texture origin U position (0.0 by default) + :rtype: float") TextureUOrigin; + Standard_Real TextureUOrigin (); + + /****************** TextureVOrigin ******************/ + %feature("compactdefaultargs") TextureVOrigin; + %feature("autodoc", "* returns texture origin V position (0.0 by default) + :rtype: float") TextureVOrigin; + Standard_Real TextureVOrigin (); + + /****************** URepeat ******************/ + %feature("compactdefaultargs") URepeat; + %feature("autodoc", "* returns texture repeat U value + :rtype: float") URepeat; + Standard_Real URepeat (); + + /****************** UnsetColor ******************/ + %feature("compactdefaultargs") UnsetColor; + %feature("autodoc", "* Removes settings for the color. + :rtype: void") UnsetColor; + virtual void UnsetColor (); + + /****************** UnsetMaterial ******************/ + %feature("compactdefaultargs") UnsetMaterial; + %feature("autodoc", "* Removes settings for material aspect. + :rtype: void") UnsetMaterial; + virtual void UnsetMaterial (); + + /****************** UpdateAttributes ******************/ + %feature("compactdefaultargs") UpdateAttributes; + %feature("autodoc", "* @name methods to alter texture mapping properties Use this method to display the textured shape without recomputing the whole presentation. Use this method when ONLY the texture content has been changed. If other parameters (ie: scale factors, texture origin, texture repeat...) have changed, the whole presentation has to be recomputed: @code if (myShape->DisplayMode() == 3) { myAISContext->RecomputePrsOnly (myShape); } else { myAISContext->SetDisplayMode (myShape, 3, Standard_False); myAISContext->Display (myShape, Standard_True); } @endcode + :rtype: None") UpdateAttributes; + void UpdateAttributes (); + + /****************** VRepeat ******************/ + %feature("compactdefaultargs") VRepeat; + %feature("autodoc", "* returns texture repeat V value + :rtype: float") VRepeat; + Standard_Real VRepeat (); - :rtype: bool -") TextureModulate; - Standard_Boolean TextureModulate (); }; @@ -10351,24 +11795,28 @@ class AIS_TexturedShape : public AIS_Shape { __repr__ = _dumps_object } }; + +/******************************* +* class AIS_MaxRadiusDimension * +*******************************/ %nodefaultctor AIS_MaxRadiusDimension; class AIS_MaxRadiusDimension : public AIS_EllipseRadiusDimension { public: + /****************** AIS_MaxRadiusDimension ******************/ %feature("compactdefaultargs") AIS_MaxRadiusDimension; - %feature("autodoc", " * Max Ellipse radius dimension Shape can be edge , planar face or cylindrical face - + %feature("autodoc", "* Max Ellipse radius dimension Shape can be edge , planar face or cylindrical face :param aShape: :type aShape: TopoDS_Shape & :param aVal: :type aVal: float :param aText: :type aText: TCollection_ExtendedString & - :rtype: None -") AIS_MaxRadiusDimension; + :rtype: None") AIS_MaxRadiusDimension; AIS_MaxRadiusDimension (const TopoDS_Shape & aShape,const Standard_Real aVal,const TCollection_ExtendedString & aText); - %feature("compactdefaultargs") AIS_MaxRadiusDimension; - %feature("autodoc", " * Max Ellipse radius dimension with position Shape can be edge , planar face or cylindrical face + /****************** AIS_MaxRadiusDimension ******************/ + %feature("compactdefaultargs") AIS_MaxRadiusDimension; + %feature("autodoc", "* Max Ellipse radius dimension with position Shape can be edge , planar face or cylindrical face :param aShape: :type aShape: TopoDS_Shape & :param aVal: @@ -10381,21 +11829,21 @@ class AIS_MaxRadiusDimension : public AIS_EllipseRadiusDimension { :type aSymbolPrs: DsgPrs_ArrowSide :param anArrowSize: default value is 0.0 :type anArrowSize: float - :rtype: None -") AIS_MaxRadiusDimension; + :rtype: None") AIS_MaxRadiusDimension; AIS_MaxRadiusDimension (const TopoDS_Shape & aShape,const Standard_Real aVal,const TCollection_ExtendedString & aText,const gp_Pnt & aPosition,const DsgPrs_ArrowSide aSymbolPrs,const Standard_Real anArrowSize = 0.0); - %feature("compactdefaultargs") Compute; - %feature("autodoc", " * computes the presentation according to a point of view given by . To be Used when the associated degenerated Presentations have been transformed by which is not a Pure Translation. The HLR Prs can't be deducted automatically WARNING : must be applied to the object to display before computation !!! + /****************** Compute ******************/ + %feature("compactdefaultargs") Compute; + %feature("autodoc", "* computes the presentation according to a point of view given by . To be Used when the associated degenerated Presentations have been transformed by which is not a Pure Translation. The HLR Prs can't be deducted automatically WARNING : must be applied to the object to display before computation !!! :param aProjector: - :type aProjector: Handle_Prs3d_Projector & + :type aProjector: opencascade::handle & :param aTrsf: - :type aTrsf: Handle_Geom_Transformation & + :type aTrsf: opencascade::handle & :param aPresentation: - :type aPresentation: Handle_Prs3d_Presentation & - :rtype: void -") Compute; - virtual void Compute (const Handle_Prs3d_Projector & aProjector,const Handle_Geom_Transformation & aTrsf,const Handle_Prs3d_Presentation & aPresentation); + :type aPresentation: opencascade::handle & + :rtype: void") Compute; + virtual void Compute (const opencascade::handle & aProjector,const opencascade::handle & aTrsf,const opencascade::handle & aPresentation); + }; @@ -10406,24 +11854,28 @@ class AIS_MaxRadiusDimension : public AIS_EllipseRadiusDimension { __repr__ = _dumps_object } }; + +/******************************* +* class AIS_MinRadiusDimension * +*******************************/ %nodefaultctor AIS_MinRadiusDimension; class AIS_MinRadiusDimension : public AIS_EllipseRadiusDimension { public: + /****************** AIS_MinRadiusDimension ******************/ %feature("compactdefaultargs") AIS_MinRadiusDimension; - %feature("autodoc", " * Max Ellipse radius dimension Shape can be edge , planar face or cylindrical face - + %feature("autodoc", "* Max Ellipse radius dimension Shape can be edge , planar face or cylindrical face :param aShape: :type aShape: TopoDS_Shape & :param aVal: :type aVal: float :param aText: :type aText: TCollection_ExtendedString & - :rtype: None -") AIS_MinRadiusDimension; + :rtype: None") AIS_MinRadiusDimension; AIS_MinRadiusDimension (const TopoDS_Shape & aShape,const Standard_Real aVal,const TCollection_ExtendedString & aText); - %feature("compactdefaultargs") AIS_MinRadiusDimension; - %feature("autodoc", " * Max Ellipse radius dimension with position Shape can be edge , planar face or cylindrical face + /****************** AIS_MinRadiusDimension ******************/ + %feature("compactdefaultargs") AIS_MinRadiusDimension; + %feature("autodoc", "* Max Ellipse radius dimension with position Shape can be edge , planar face or cylindrical face :param aShape: :type aShape: TopoDS_Shape & :param aVal: @@ -10436,21 +11888,21 @@ class AIS_MinRadiusDimension : public AIS_EllipseRadiusDimension { :type aSymbolPrs: DsgPrs_ArrowSide :param anArrowSize: default value is 0.0 :type anArrowSize: float - :rtype: None -") AIS_MinRadiusDimension; + :rtype: None") AIS_MinRadiusDimension; AIS_MinRadiusDimension (const TopoDS_Shape & aShape,const Standard_Real aVal,const TCollection_ExtendedString & aText,const gp_Pnt & aPosition,const DsgPrs_ArrowSide aSymbolPrs,const Standard_Real anArrowSize = 0.0); - %feature("compactdefaultargs") Compute; - %feature("autodoc", " * computes the presentation according to a point of view given by . To be Used when the associated degenerated Presentations have been transformed by which is not a Pure Translation. The HLR Prs can't be deducted automatically WARNING : must be applied to the object to display before computation !!! + /****************** Compute ******************/ + %feature("compactdefaultargs") Compute; + %feature("autodoc", "* computes the presentation according to a point of view given by . To be Used when the associated degenerated Presentations have been transformed by which is not a Pure Translation. The HLR Prs can't be deducted automatically WARNING : must be applied to the object to display before computation !!! :param aProjector: - :type aProjector: Handle_Prs3d_Projector & + :type aProjector: opencascade::handle & :param aTrsf: - :type aTrsf: Handle_Geom_Transformation & + :type aTrsf: opencascade::handle & :param aPresentation: - :type aPresentation: Handle_Prs3d_Presentation & - :rtype: void -") Compute; - virtual void Compute (const Handle_Prs3d_Projector & aProjector,const Handle_Geom_Transformation & aTrsf,const Handle_Prs3d_Presentation & aPresentation); + :type aPresentation: opencascade::handle & + :rtype: void") Compute; + virtual void Compute (const opencascade::handle & aProjector,const opencascade::handle & aTrsf,const opencascade::handle & aPresentation); + }; @@ -10461,3 +11913,7 @@ class AIS_MinRadiusDimension : public AIS_EllipseRadiusDimension { __repr__ = _dumps_object } }; + +/* harray1 class */ +/* harray2 class */ +/* harray2 class */ diff --git a/src/SWIG_files/wrapper/AIS_headers.i b/src/SWIG_files/wrapper/AIS_headers.i deleted file mode 100644 index cfe7b3802..000000000 --- a/src/SWIG_files/wrapper/AIS_headers.i +++ /dev/null @@ -1,1465 +0,0 @@ -/* -Copyright 2008-2017 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 . - -*/ -%{ -#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 -#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 -#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 -#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 -#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 -#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 -#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 -#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 -#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 -#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 -#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 -#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 -#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 -#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 -#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 -#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 -%}; -%import TopoDS.i -%import gp.i -%import Geom.i -%import Standard.i -%import Bnd.i -%import Prs3d.i -%import Quantity.i -%import Aspect.i -%import SelectMgr.i -%import TopAbs.i -%import TCollection.i -%import PrsMgr.i -%import TColStd.i -%import MMgt.i -%import Graphic3d.i -%import V3d.i -%import TopLoc.i -%import TColgp.i -%import StdSelect.i -%import Select3D.i -%import DsgPrs.i -%import Poly.i -%import Image.i diff --git a/src/SWIG_files/wrapper/Adaptor2d.i b/src/SWIG_files/wrapper/Adaptor2d.i index 80c79e2c9..8f84bea03 100644 --- a/src/SWIG_files/wrapper/Adaptor2d.i +++ b/src/SWIG_files/wrapper/Adaptor2d.i @@ -1,6 +1,5 @@ /* -Copyright 2008-2017 Thomas Paviot (tpaviot@gmail.com) - +Copyright 2008-2019 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -15,118 +14,13 @@ 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 ADAPTOR2DDOCSTRING -"The Adaptor2d package is used to help defining -reusable geometric algorithms. i.e. that can be -used on curves and surfaces. - -It defines general services for objects : - -- the 2d curve. Curve2d - -The services are : - -- Usual services found in Geom or Geom2d : - -* parameter range, value and derivatives, etc... - -- Continuity breakout services : - -* Allows to divide a curve or a surfaces in -parts with a given derivation order. - -- Special geometries detection services : - -* Allows to test for special cases that can -be processed more easily : -- Conics, Quadrics, Bezier, BSpline ... - -And to get the correponding data form the -package gp or Geom. The special type -OtherCurve means that no special case has -been detected and the algorithm may use -only the evaluation methods (D0, D1, ...) - - -For each category Curve2d, Curve, Surface we -define three classes, we illustrate now the -principles with the Curve, the same applies to -Curve2d and Surface. - -The class Curve is the abstract root for all -Curves used by algorithms, it is handled by value -and provides as deferred methods the services -described above. - -Some services (breakout) requires to create new -curves, this leads to memory allocation -considerations (who create the curve, who deletes -it ?). To solve this problem elegantly the curve -will return a HCurve, the HCurve is a curve -handled by reference so it will be deallocated -automatically when it is not used. - -A third class GenHCurve is provided, this class is -generic and its utility is to provide automatic -generation of the HCurve class when you have -written the Curve class. - - -* Let us show an example (with 2d curves) : - -Imagine an algorithm to intersect curves, this -algorithms is written to process Curve2d from -Adaptor2d : - -A method may look like : - -Intersect(C1,C2 : Curve2d from Adaptor2d); - -Which will look like in C++ - -Intersect(const Adaptor2d_Curve2d& C1, -const Adaptor2d_Curve2d& C2) -{ -// you can call any method -Standard_Real first1 = C1.FirstParameter(); - -// but avoid to copy in an Adaptor2d_Curve which -// is an Abstract class, use a reference or a pointer - -const Adaptor2d_Curve& C = C1; -const Adaptor2d_Curve *pC = &C1; - -// If you are interseted in Intervals you must -// store them in a HCurve to ensure they are kept -// in memory. Then a referrence may be used. - -Handle(Adaptor2d_HCurve) HCI = C1.Interval(1); - -const Adaptor2d_Curve& CI = HCI->Curve(); -pC = &(HCI->Curve()); - - -* The Adaptor2d provides also Generic classes -implementing algorithmic curves and surfaces. - -- IsoCurve : Isoparametric curve on a surface. -- CurveOnSurface : 2D curve in the parametric -space of a surface. - - -- OffsetCurve2d : 2d offset curve -- ProjectedCurve : 3d curve projected on a plane -- SurfaceOfLinearExtrusion -- SurfaceOfRevolution - -They are instantiated with HCurve, HSurface, HCurved2d -" +"Adaptor2d module, see official documentation at +https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_adaptor2d.html" %enddef %module (package="OCC.Core", docstring=ADAPTOR2DDOCSTRING) Adaptor2d -#pragma SWIG nowarn=504,325,503 %{ #ifdef WNT @@ -141,107 +35,92 @@ They are instantiated with HCurve, HSurface, HCurved2d %include ../common/OccHandle.i -%include Adaptor2d_headers.i - -/* typedefs */ -typedef Adaptor2d_Curve2d * Adaptor2d_Curve2dPtr; -/* end typedefs declaration */ - +%{ +#include + +//Dependencies +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +%}; +%import Standard.i +%import NCollection.i +%import Geom2d.i +%import gp.i +%import GeomAbs.i +%import TColStd.i /* public enums */ /* end public enums declaration */ +/* handles */ %wrap_handle(Adaptor2d_HCurve2d) %wrap_handle(Adaptor2d_HLine2d) +%wrap_handle(Adaptor2d_HOffsetCurve) +/* end handles declaration */ +/* templates */ +/* end templates declaration */ + +/* typedefs */ +/* end typedefs declaration */ + +/************************** +* class Adaptor2d_Curve2d * +**************************/ class Adaptor2d_Curve2d { public: - %feature("compactdefaultargs") FirstParameter; - %feature("autodoc", " :rtype: float -") FirstParameter; - virtual Standard_Real FirstParameter (); - %feature("compactdefaultargs") LastParameter; - %feature("autodoc", " :rtype: float -") LastParameter; - virtual Standard_Real LastParameter (); - %feature("compactdefaultargs") Continuity; - %feature("autodoc", " :rtype: GeomAbs_Shape -") Continuity; - virtual GeomAbs_Shape Continuity (); - %feature("compactdefaultargs") NbIntervals; - %feature("autodoc", " * If necessary, breaks the curve in intervals of continuity . And returns the number of intervals. + /****************** BSpline ******************/ + %feature("compactdefaultargs") BSpline; + %feature("autodoc", ":rtype: opencascade::handle") BSpline; + virtual opencascade::handle BSpline (); - :param S: - :type S: GeomAbs_Shape - :rtype: int -") NbIntervals; - virtual Standard_Integer NbIntervals (const GeomAbs_Shape S); - %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() + /****************** Bezier ******************/ + %feature("compactdefaultargs") Bezier; + %feature("autodoc", ":rtype: opencascade::handle") Bezier; + virtual opencascade::handle Bezier (); - :param T: - :type T: TColStd_Array1OfReal & - :param S: - :type S: GeomAbs_Shape - :rtype: void -") Intervals; - virtual void Intervals (TColStd_Array1OfReal & T,const GeomAbs_Shape S); - %feature("compactdefaultargs") Trim; - %feature("autodoc", " * Returns a curve equivalent of between parameters and . is used to test for 3d points confusion. If >= + /****************** Circle ******************/ + %feature("compactdefaultargs") Circle; + %feature("autodoc", ":rtype: gp_Circ2d") Circle; + virtual gp_Circ2d Circle (); - :param First: - :type First: float - :param Last: - :type Last: float - :param Tol: - :type Tol: float - :rtype: Handle_Adaptor2d_HCurve2d -") Trim; - virtual Handle_Adaptor2d_HCurve2d Trim (const Standard_Real First,const Standard_Real Last,const Standard_Real Tol); - %feature("compactdefaultargs") IsClosed; - %feature("autodoc", " :rtype: bool -") IsClosed; - virtual Standard_Boolean IsClosed (); - %feature("compactdefaultargs") IsPeriodic; - %feature("autodoc", " :rtype: bool -") IsPeriodic; - virtual Standard_Boolean IsPeriodic (); - %feature("compactdefaultargs") Period; - %feature("autodoc", " :rtype: float -") Period; - virtual Standard_Real Period (); - %feature("compactdefaultargs") Value; - %feature("autodoc", " * Computes the point of parameter U on the curve. + /****************** Continuity ******************/ + %feature("compactdefaultargs") Continuity; + %feature("autodoc", ":rtype: GeomAbs_Shape") Continuity; + virtual GeomAbs_Shape Continuity (); - :param U: - :type U: float - :rtype: gp_Pnt2d -") Value; - virtual gp_Pnt2d Value (const Standard_Real U); + /****************** D0 ******************/ %feature("compactdefaultargs") D0; - %feature("autodoc", " * Computes the point of parameter U on the curve. - + %feature("autodoc", "* Computes the point of parameter U on the curve. :param U: :type U: float :param P: :type P: gp_Pnt2d - :rtype: void -") D0; + :rtype: void") D0; virtual void D0 (const Standard_Real U,gp_Pnt2d & P); - %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. + /****************** D1 ******************/ + %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. :param U: :type U: float :param P: :type P: gp_Pnt2d :param V: :type V: gp_Vec2d - :rtype: void -") D1; + :rtype: void") D1; virtual void D1 (const Standard_Real U,gp_Pnt2d & P,gp_Vec2d & V); - %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. + /****************** D2 ******************/ + %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. :param U: :type U: float :param P: @@ -250,12 +129,12 @@ class Adaptor2d_Curve2d { :type V1: gp_Vec2d :param V2: :type V2: gp_Vec2d - :rtype: void -") D2; + :rtype: void") D2; virtual void D2 (const Standard_Real U,gp_Pnt2d & P,gp_Vec2d & V1,gp_Vec2d & V2); - %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. + /****************** D3 ******************/ + %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. :param U: :type U: float :param P: @@ -266,81 +145,141 @@ class Adaptor2d_Curve2d { :type V2: gp_Vec2d :param V3: :type V3: gp_Vec2d - :rtype: void -") D3; + :rtype: void") D3; virtual void D3 (const Standard_Real U,gp_Pnt2d & P,gp_Vec2d & V1,gp_Vec2d & V2,gp_Vec2d & V3); - %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. + /****************** DN ******************/ + %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. :param U: :type U: float :param N: :type N: int - :rtype: gp_Vec2d -") DN; + :rtype: gp_Vec2d") DN; virtual gp_Vec2d DN (const Standard_Real U,const Standard_Integer N); - %feature("compactdefaultargs") Resolution; - %feature("autodoc", " * Returns the parametric resolution corresponding to the real space resolution . - :param R3d: - :type R3d: float - :rtype: float -") Resolution; - virtual Standard_Real Resolution (const Standard_Real R3d); - %feature("compactdefaultargs") GetType; - %feature("autodoc", " * Returns the type of the curve in the current interval : Line, Circle, Ellipse, Hyperbola, Parabola, BezierCurve, BSplineCurve, OtherCurve. + /****************** Degree ******************/ + %feature("compactdefaultargs") Degree; + %feature("autodoc", ":rtype: int") Degree; + virtual Standard_Integer Degree (); - :rtype: GeomAbs_CurveType -") GetType; - virtual GeomAbs_CurveType GetType (); - %feature("compactdefaultargs") Line; - %feature("autodoc", " :rtype: gp_Lin2d -") Line; - virtual gp_Lin2d Line (); - %feature("compactdefaultargs") Circle; - %feature("autodoc", " :rtype: gp_Circ2d -") Circle; - virtual gp_Circ2d Circle (); + /****************** Ellipse ******************/ %feature("compactdefaultargs") Ellipse; - %feature("autodoc", " :rtype: gp_Elips2d -") Ellipse; + %feature("autodoc", ":rtype: gp_Elips2d") Ellipse; virtual gp_Elips2d Ellipse (); + + /****************** FirstParameter ******************/ + %feature("compactdefaultargs") FirstParameter; + %feature("autodoc", ":rtype: float") FirstParameter; + virtual Standard_Real FirstParameter (); + + /****************** GetType ******************/ + %feature("compactdefaultargs") GetType; + %feature("autodoc", "* Returns the type of the curve in the current interval : Line, Circle, Ellipse, Hyperbola, Parabola, BezierCurve, BSplineCurve, OtherCurve. + :rtype: GeomAbs_CurveType") GetType; + virtual GeomAbs_CurveType GetType (); + + /****************** Hyperbola ******************/ %feature("compactdefaultargs") Hyperbola; - %feature("autodoc", " :rtype: gp_Hypr2d -") Hyperbola; + %feature("autodoc", ":rtype: gp_Hypr2d") Hyperbola; virtual gp_Hypr2d Hyperbola (); - %feature("compactdefaultargs") Parabola; - %feature("autodoc", " :rtype: gp_Parab2d -") Parabola; - virtual gp_Parab2d Parabola (); - %feature("compactdefaultargs") Degree; - %feature("autodoc", " :rtype: int -") Degree; - virtual Standard_Integer Degree (); + + /****************** Intervals ******************/ + %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() + :param T: + :type T: TColStd_Array1OfReal & + :param S: + :type S: GeomAbs_Shape + :rtype: void") Intervals; + virtual void Intervals (TColStd_Array1OfReal & T,const GeomAbs_Shape S); + + /****************** IsClosed ******************/ + %feature("compactdefaultargs") IsClosed; + %feature("autodoc", ":rtype: bool") IsClosed; + virtual Standard_Boolean IsClosed (); + + /****************** IsPeriodic ******************/ + %feature("compactdefaultargs") IsPeriodic; + %feature("autodoc", ":rtype: bool") IsPeriodic; + virtual Standard_Boolean IsPeriodic (); + + /****************** IsRational ******************/ %feature("compactdefaultargs") IsRational; - %feature("autodoc", " :rtype: bool -") IsRational; + %feature("autodoc", ":rtype: bool") IsRational; virtual Standard_Boolean IsRational (); - %feature("compactdefaultargs") NbPoles; - %feature("autodoc", " :rtype: int -") NbPoles; - virtual Standard_Integer NbPoles (); + + /****************** LastParameter ******************/ + %feature("compactdefaultargs") LastParameter; + %feature("autodoc", ":rtype: float") LastParameter; + virtual Standard_Real LastParameter (); + + /****************** Line ******************/ + %feature("compactdefaultargs") Line; + %feature("autodoc", ":rtype: gp_Lin2d") Line; + virtual gp_Lin2d Line (); + + /****************** NbIntervals ******************/ + %feature("compactdefaultargs") NbIntervals; + %feature("autodoc", "* If necessary, breaks the curve in intervals of continuity . And returns the number of intervals. + :param S: + :type S: GeomAbs_Shape + :rtype: int") NbIntervals; + virtual Standard_Integer NbIntervals (const GeomAbs_Shape S); + + /****************** NbKnots ******************/ %feature("compactdefaultargs") NbKnots; - %feature("autodoc", " :rtype: int -") NbKnots; + %feature("autodoc", ":rtype: int") NbKnots; virtual Standard_Integer NbKnots (); + + /****************** NbPoles ******************/ + %feature("compactdefaultargs") NbPoles; + %feature("autodoc", ":rtype: int") NbPoles; + virtual Standard_Integer NbPoles (); + + /****************** NbSamples ******************/ %feature("compactdefaultargs") NbSamples; - %feature("autodoc", " :rtype: int -") NbSamples; + %feature("autodoc", ":rtype: int") NbSamples; virtual Standard_Integer NbSamples (); - %feature("compactdefaultargs") Bezier; - %feature("autodoc", " :rtype: Handle_Geom2d_BezierCurve -") Bezier; - virtual Handle_Geom2d_BezierCurve Bezier (); - %feature("compactdefaultargs") BSpline; - %feature("autodoc", " :rtype: Handle_Geom2d_BSplineCurve -") BSpline; - virtual Handle_Geom2d_BSplineCurve BSpline (); + + /****************** Parabola ******************/ + %feature("compactdefaultargs") Parabola; + %feature("autodoc", ":rtype: gp_Parab2d") Parabola; + virtual gp_Parab2d Parabola (); + + /****************** Period ******************/ + %feature("compactdefaultargs") Period; + %feature("autodoc", ":rtype: float") Period; + virtual Standard_Real Period (); + + /****************** Resolution ******************/ + %feature("compactdefaultargs") Resolution; + %feature("autodoc", "* Returns the parametric resolution corresponding to the real space resolution . + :param R3d: + :type R3d: float + :rtype: float") Resolution; + virtual Standard_Real Resolution (const Standard_Real R3d); + + /****************** Trim ******************/ + %feature("compactdefaultargs") Trim; + %feature("autodoc", "* Returns a curve equivalent of between parameters and . is used to test for 3d points confusion. If >= + :param First: + :type First: float + :param Last: + :type Last: float + :param Tol: + :type Tol: float + :rtype: opencascade::handle") Trim; + virtual opencascade::handle Trim (const Standard_Real First,const Standard_Real Last,const Standard_Real Tol); + + /****************** Value ******************/ + %feature("compactdefaultargs") Value; + %feature("autodoc", "* Computes the point of parameter U on the curve. + :param U: + :type U: float + :rtype: gp_Pnt2d") Value; + virtual gp_Pnt2d Value (const Standard_Real U); + }; @@ -349,91 +288,62 @@ class Adaptor2d_Curve2d { __repr__ = _dumps_object } }; + +/*************************** +* class Adaptor2d_HCurve2d * +***************************/ %nodefaultctor Adaptor2d_HCurve2d; -class Adaptor2d_HCurve2d : public MMgt_TShared { +class Adaptor2d_HCurve2d : public Standard_Transient { public: - %feature("compactdefaultargs") Curve2d; - %feature("autodoc", " * Returns a reference to the Curve2d inside the HCurve2d. + /****************** BSpline ******************/ + %feature("compactdefaultargs") BSpline; + %feature("autodoc", ":rtype: opencascade::handle") BSpline; + opencascade::handle BSpline (); - :rtype: Adaptor2d_Curve2d -") Curve2d; - virtual const Adaptor2d_Curve2d & Curve2d (); - %feature("compactdefaultargs") FirstParameter; - %feature("autodoc", " :rtype: float -") FirstParameter; - Standard_Real FirstParameter (); - %feature("compactdefaultargs") LastParameter; - %feature("autodoc", " :rtype: float -") LastParameter; - Standard_Real LastParameter (); + /****************** Bezier ******************/ + %feature("compactdefaultargs") Bezier; + %feature("autodoc", ":rtype: opencascade::handle") Bezier; + opencascade::handle Bezier (); + + /****************** Circle ******************/ + %feature("compactdefaultargs") Circle; + %feature("autodoc", ":rtype: gp_Circ2d") Circle; + gp_Circ2d Circle (); + + /****************** Continuity ******************/ %feature("compactdefaultargs") Continuity; - %feature("autodoc", " :rtype: GeomAbs_Shape -") Continuity; + %feature("autodoc", ":rtype: GeomAbs_Shape") Continuity; GeomAbs_Shape Continuity (); - %feature("compactdefaultargs") NbIntervals; - %feature("autodoc", " :param S: - :type S: GeomAbs_Shape - :rtype: int -") NbIntervals; - Standard_Integer NbIntervals (const GeomAbs_Shape S); - %feature("compactdefaultargs") Intervals; - %feature("autodoc", " :param T: - :type T: TColStd_Array1OfReal & - :param S: - :type S: GeomAbs_Shape - :rtype: None -") Intervals; - void Intervals (TColStd_Array1OfReal & T,const GeomAbs_Shape S); - %feature("compactdefaultargs") Trim; - %feature("autodoc", " * If >= - :param First: - :type First: float - :param Last: - :type Last: float - :param Tol: - :type Tol: float - :rtype: Handle_Adaptor2d_HCurve2d -") Trim; - Handle_Adaptor2d_HCurve2d Trim (const Standard_Real First,const Standard_Real Last,const Standard_Real Tol); - %feature("compactdefaultargs") IsClosed; - %feature("autodoc", " :rtype: bool -") IsClosed; - Standard_Boolean IsClosed (); - %feature("compactdefaultargs") IsPeriodic; - %feature("autodoc", " :rtype: bool -") IsPeriodic; - Standard_Boolean IsPeriodic (); - %feature("compactdefaultargs") Period; - %feature("autodoc", " :rtype: float -") Period; - Standard_Real Period (); - %feature("compactdefaultargs") Value; - %feature("autodoc", " :param U: - :type U: float - :rtype: gp_Pnt2d -") Value; - gp_Pnt2d Value (const Standard_Real U); + /****************** Curve2d ******************/ + %feature("compactdefaultargs") Curve2d; + %feature("autodoc", "* Returns a reference to the Curve2d inside the HCurve2d. + :rtype: Adaptor2d_Curve2d") Curve2d; + virtual const Adaptor2d_Curve2d & Curve2d (); + + /****************** D0 ******************/ %feature("compactdefaultargs") D0; - %feature("autodoc", " :param U: + %feature("autodoc", ":param U: :type U: float :param P: :type P: gp_Pnt2d - :rtype: None -") D0; + :rtype: None") D0; void D0 (const Standard_Real U,gp_Pnt2d & P); + + /****************** D1 ******************/ %feature("compactdefaultargs") D1; - %feature("autodoc", " :param U: + %feature("autodoc", ":param U: :type U: float :param P: :type P: gp_Pnt2d :param V: :type V: gp_Vec2d - :rtype: None -") D1; + :rtype: None") D1; void D1 (const Standard_Real U,gp_Pnt2d & P,gp_Vec2d & V); + + /****************** D2 ******************/ %feature("compactdefaultargs") D2; - %feature("autodoc", " :param U: + %feature("autodoc", ":param U: :type U: float :param P: :type P: gp_Pnt2d @@ -441,11 +351,12 @@ class Adaptor2d_HCurve2d : public MMgt_TShared { :type V1: gp_Vec2d :param V2: :type V2: gp_Vec2d - :rtype: None -") D2; + :rtype: None") D2; void D2 (const Standard_Real U,gp_Pnt2d & P,gp_Vec2d & V1,gp_Vec2d & V2); + + /****************** D3 ******************/ %feature("compactdefaultargs") D3; - %feature("autodoc", " :param U: + %feature("autodoc", ":param U: :type U: float :param P: :type P: gp_Pnt2d @@ -455,72 +366,131 @@ class Adaptor2d_HCurve2d : public MMgt_TShared { :type V2: gp_Vec2d :param V3: :type V3: gp_Vec2d - :rtype: None -") D3; + :rtype: None") D3; void D3 (const Standard_Real U,gp_Pnt2d & P,gp_Vec2d & V1,gp_Vec2d & V2,gp_Vec2d & V3); + + /****************** DN ******************/ %feature("compactdefaultargs") DN; - %feature("autodoc", " :param U: + %feature("autodoc", ":param U: :type U: float :param N: :type N: int - :rtype: gp_Vec2d -") DN; + :rtype: gp_Vec2d") DN; gp_Vec2d DN (const Standard_Real U,const Standard_Integer N); - %feature("compactdefaultargs") Resolution; - %feature("autodoc", " :param R3d: - :type R3d: float - :rtype: float -") Resolution; - Standard_Real Resolution (const Standard_Real R3d); - %feature("compactdefaultargs") GetType; - %feature("autodoc", " :rtype: GeomAbs_CurveType -") GetType; - GeomAbs_CurveType GetType (); - %feature("compactdefaultargs") Line; - %feature("autodoc", " :rtype: gp_Lin2d -") Line; - gp_Lin2d Line (); - %feature("compactdefaultargs") Circle; - %feature("autodoc", " :rtype: gp_Circ2d -") Circle; - gp_Circ2d Circle (); + + /****************** Degree ******************/ + %feature("compactdefaultargs") Degree; + %feature("autodoc", ":rtype: int") Degree; + Standard_Integer Degree (); + + /****************** Ellipse ******************/ %feature("compactdefaultargs") Ellipse; - %feature("autodoc", " :rtype: gp_Elips2d -") Ellipse; + %feature("autodoc", ":rtype: gp_Elips2d") Ellipse; gp_Elips2d Ellipse (); + + /****************** FirstParameter ******************/ + %feature("compactdefaultargs") FirstParameter; + %feature("autodoc", ":rtype: float") FirstParameter; + Standard_Real FirstParameter (); + + /****************** GetType ******************/ + %feature("compactdefaultargs") GetType; + %feature("autodoc", ":rtype: GeomAbs_CurveType") GetType; + GeomAbs_CurveType GetType (); + + /****************** Hyperbola ******************/ %feature("compactdefaultargs") Hyperbola; - %feature("autodoc", " :rtype: gp_Hypr2d -") Hyperbola; + %feature("autodoc", ":rtype: gp_Hypr2d") Hyperbola; gp_Hypr2d Hyperbola (); - %feature("compactdefaultargs") Parabola; - %feature("autodoc", " :rtype: gp_Parab2d -") Parabola; - gp_Parab2d Parabola (); - %feature("compactdefaultargs") Degree; - %feature("autodoc", " :rtype: int -") Degree; - Standard_Integer Degree (); - %feature("compactdefaultargs") IsRational; - %feature("autodoc", " :rtype: bool -") IsRational; - Standard_Boolean IsRational (); - %feature("compactdefaultargs") NbPoles; - %feature("autodoc", " :rtype: int -") NbPoles; - Standard_Integer NbPoles (); - %feature("compactdefaultargs") NbKnots; - %feature("autodoc", " :rtype: int -") NbKnots; - Standard_Integer NbKnots (); - %feature("compactdefaultargs") Bezier; - %feature("autodoc", " :rtype: Handle_Geom2d_BezierCurve -") Bezier; - Handle_Geom2d_BezierCurve Bezier (); - %feature("compactdefaultargs") BSpline; - %feature("autodoc", " :rtype: Handle_Geom2d_BSplineCurve -") BSpline; - Handle_Geom2d_BSplineCurve BSpline (); -}; + + /****************** Intervals ******************/ + %feature("compactdefaultargs") Intervals; + %feature("autodoc", ":param T: + :type T: TColStd_Array1OfReal & + :param S: + :type S: GeomAbs_Shape + :rtype: None") Intervals; + void Intervals (TColStd_Array1OfReal & T,const GeomAbs_Shape S); + + /****************** IsClosed ******************/ + %feature("compactdefaultargs") IsClosed; + %feature("autodoc", ":rtype: bool") IsClosed; + Standard_Boolean IsClosed (); + + /****************** IsPeriodic ******************/ + %feature("compactdefaultargs") IsPeriodic; + %feature("autodoc", ":rtype: bool") IsPeriodic; + Standard_Boolean IsPeriodic (); + + /****************** IsRational ******************/ + %feature("compactdefaultargs") IsRational; + %feature("autodoc", ":rtype: bool") IsRational; + Standard_Boolean IsRational (); + + /****************** LastParameter ******************/ + %feature("compactdefaultargs") LastParameter; + %feature("autodoc", ":rtype: float") LastParameter; + Standard_Real LastParameter (); + + /****************** Line ******************/ + %feature("compactdefaultargs") Line; + %feature("autodoc", ":rtype: gp_Lin2d") Line; + gp_Lin2d Line (); + + /****************** NbIntervals ******************/ + %feature("compactdefaultargs") NbIntervals; + %feature("autodoc", ":param S: + :type S: GeomAbs_Shape + :rtype: int") NbIntervals; + Standard_Integer NbIntervals (const GeomAbs_Shape S); + + /****************** NbKnots ******************/ + %feature("compactdefaultargs") NbKnots; + %feature("autodoc", ":rtype: int") NbKnots; + Standard_Integer NbKnots (); + + /****************** NbPoles ******************/ + %feature("compactdefaultargs") NbPoles; + %feature("autodoc", ":rtype: int") NbPoles; + Standard_Integer NbPoles (); + + /****************** Parabola ******************/ + %feature("compactdefaultargs") Parabola; + %feature("autodoc", ":rtype: gp_Parab2d") Parabola; + gp_Parab2d Parabola (); + + /****************** Period ******************/ + %feature("compactdefaultargs") Period; + %feature("autodoc", ":rtype: float") Period; + Standard_Real Period (); + + /****************** Resolution ******************/ + %feature("compactdefaultargs") Resolution; + %feature("autodoc", ":param R3d: + :type R3d: float + :rtype: float") Resolution; + Standard_Real Resolution (const Standard_Real R3d); + + /****************** Trim ******************/ + %feature("compactdefaultargs") Trim; + %feature("autodoc", "* If >= + :param First: + :type First: float + :param Last: + :type Last: float + :param Tol: + :type Tol: float + :rtype: opencascade::handle") Trim; + opencascade::handle Trim (const Standard_Real First,const Standard_Real Last,const Standard_Real Tol); + + /****************** Value ******************/ + %feature("compactdefaultargs") Value; + %feature("autodoc", ":param U: + :type U: float + :rtype: gp_Pnt2d") Value; + gp_Pnt2d Value (const Standard_Real U); + +}; %make_alias(Adaptor2d_HCurve2d) @@ -530,33 +500,47 @@ class Adaptor2d_HCurve2d : public MMgt_TShared { __repr__ = _dumps_object } }; + +/************************** +* class Adaptor2d_HLine2d * +**************************/ %nodefaultctor Adaptor2d_HLine2d; class Adaptor2d_HLine2d : public Adaptor2d_HCurve2d { public: + /****************** Adaptor2d_HLine2d ******************/ %feature("compactdefaultargs") Adaptor2d_HLine2d; - %feature("autodoc", " :rtype: None -") Adaptor2d_HLine2d; + %feature("autodoc", "* Creates an empty GenHCurve2d. + :rtype: None") Adaptor2d_HLine2d; Adaptor2d_HLine2d (); + + /****************** Adaptor2d_HLine2d ******************/ %feature("compactdefaultargs") Adaptor2d_HLine2d; - %feature("autodoc", " :param C: + %feature("autodoc", "* Creates a GenHCurve2d from a Curve + :param C: :type C: Adaptor2d_Line2d & - :rtype: None -") Adaptor2d_HLine2d; + :rtype: None") Adaptor2d_HLine2d; Adaptor2d_HLine2d (const Adaptor2d_Line2d & C); + + /****************** ChangeCurve2d ******************/ + %feature("compactdefaultargs") ChangeCurve2d; + %feature("autodoc", "* Returns the curve used to create the GenHCurve. + :rtype: Adaptor2d_Line2d") ChangeCurve2d; + Adaptor2d_Line2d & ChangeCurve2d (); + + /****************** Curve2d ******************/ + %feature("compactdefaultargs") Curve2d; + %feature("autodoc", "* Returns the curve used to create the GenHCurve2d. This is redefined from HCurve2d, cannot be inline. + :rtype: Adaptor2d_Curve2d") Curve2d; + const Adaptor2d_Curve2d & Curve2d (); + + /****************** Set ******************/ %feature("compactdefaultargs") Set; - %feature("autodoc", " :param C: + %feature("autodoc", "* Sets the field of the GenHCurve2d. + :param C: :type C: Adaptor2d_Line2d & - :rtype: None -") Set; + :rtype: None") Set; void Set (const Adaptor2d_Line2d & C); - %feature("compactdefaultargs") Curve2d; - %feature("autodoc", " :rtype: Adaptor2d_Curve2d -") Curve2d; - const Adaptor2d_Curve2d & Curve2d (); - %feature("compactdefaultargs") ChangeCurve2d; - %feature("autodoc", " :rtype: Adaptor2d_Line2d -") ChangeCurve2d; - Adaptor2d_Line2d & ChangeCurve2d (); + }; @@ -567,15 +551,72 @@ class Adaptor2d_HLine2d : public Adaptor2d_HCurve2d { __repr__ = _dumps_object } }; + +/******************************* +* class Adaptor2d_HOffsetCurve * +*******************************/ +%nodefaultctor Adaptor2d_HOffsetCurve; +class Adaptor2d_HOffsetCurve : public Adaptor2d_HCurve2d { + public: + /****************** Adaptor2d_HOffsetCurve ******************/ + %feature("compactdefaultargs") Adaptor2d_HOffsetCurve; + %feature("autodoc", "* Creates an empty GenHCurve2d. + :rtype: None") Adaptor2d_HOffsetCurve; + Adaptor2d_HOffsetCurve (); + + /****************** Adaptor2d_HOffsetCurve ******************/ + %feature("compactdefaultargs") Adaptor2d_HOffsetCurve; + %feature("autodoc", "* Creates a GenHCurve2d from a Curve + :param C: + :type C: Adaptor2d_OffsetCurve & + :rtype: None") Adaptor2d_HOffsetCurve; + Adaptor2d_HOffsetCurve (const Adaptor2d_OffsetCurve & C); + + /****************** ChangeCurve2d ******************/ + %feature("compactdefaultargs") ChangeCurve2d; + %feature("autodoc", "* Returns the curve used to create the GenHCurve. + :rtype: Adaptor2d_OffsetCurve") ChangeCurve2d; + Adaptor2d_OffsetCurve & ChangeCurve2d (); + + /****************** Curve2d ******************/ + %feature("compactdefaultargs") Curve2d; + %feature("autodoc", "* Returns the curve used to create the GenHCurve2d. This is redefined from HCurve2d, cannot be inline. + :rtype: Adaptor2d_Curve2d") Curve2d; + const Adaptor2d_Curve2d & Curve2d (); + + /****************** Set ******************/ + %feature("compactdefaultargs") Set; + %feature("autodoc", "* Sets the field of the GenHCurve2d. + :param C: + :type C: Adaptor2d_OffsetCurve & + :rtype: None") Set; + void Set (const Adaptor2d_OffsetCurve & C); + +}; + + +%make_alias(Adaptor2d_HOffsetCurve) + +%extend Adaptor2d_HOffsetCurve { + %pythoncode { + __repr__ = _dumps_object + } +}; + +/************************* +* class Adaptor2d_Line2d * +*************************/ %nodefaultctor Adaptor2d_Line2d; class Adaptor2d_Line2d : public Adaptor2d_Curve2d { public: + /****************** Adaptor2d_Line2d ******************/ %feature("compactdefaultargs") Adaptor2d_Line2d; - %feature("autodoc", " :rtype: None -") Adaptor2d_Line2d; + %feature("autodoc", ":rtype: None") Adaptor2d_Line2d; Adaptor2d_Line2d (); + + /****************** Adaptor2d_Line2d ******************/ %feature("compactdefaultargs") Adaptor2d_Line2d; - %feature("autodoc", " :param P: + %feature("autodoc", ":param P: :type P: gp_Pnt2d :param D: :type D: gp_Dir2d @@ -583,118 +624,337 @@ class Adaptor2d_Line2d : public Adaptor2d_Curve2d { :type UFirst: float :param ULast: :type ULast: float - :rtype: None -") Adaptor2d_Line2d; + :rtype: None") Adaptor2d_Line2d; Adaptor2d_Line2d (const gp_Pnt2d & P,const gp_Dir2d & D,const Standard_Real UFirst,const Standard_Real ULast); + + /****************** BSpline ******************/ + %feature("compactdefaultargs") BSpline; + %feature("autodoc", ":rtype: opencascade::handle") BSpline; + opencascade::handle BSpline (); + + /****************** Bezier ******************/ + %feature("compactdefaultargs") Bezier; + %feature("autodoc", ":rtype: opencascade::handle") Bezier; + opencascade::handle Bezier (); + + /****************** Circle ******************/ + %feature("compactdefaultargs") Circle; + %feature("autodoc", ":rtype: gp_Circ2d") Circle; + gp_Circ2d Circle (); + + /****************** Continuity ******************/ + %feature("compactdefaultargs") Continuity; + %feature("autodoc", ":rtype: GeomAbs_Shape") Continuity; + GeomAbs_Shape Continuity (); + + /****************** D0 ******************/ + %feature("compactdefaultargs") D0; + %feature("autodoc", ":param X: + :type X: float + :param P: + :type P: gp_Pnt2d + :rtype: None") D0; + void D0 (const Standard_Real X,gp_Pnt2d & P); + + /****************** D1 ******************/ + %feature("compactdefaultargs") D1; + %feature("autodoc", ":param X: + :type X: float + :param P: + :type P: gp_Pnt2d + :param V: + :type V: gp_Vec2d + :rtype: None") D1; + void D1 (const Standard_Real X,gp_Pnt2d & P,gp_Vec2d & V); + + /****************** D2 ******************/ + %feature("compactdefaultargs") D2; + %feature("autodoc", ":param X: + :type X: float + :param P: + :type P: gp_Pnt2d + :param V1: + :type V1: gp_Vec2d + :param V2: + :type V2: gp_Vec2d + :rtype: None") D2; + void D2 (const Standard_Real X,gp_Pnt2d & P,gp_Vec2d & V1,gp_Vec2d & V2); + + /****************** D3 ******************/ + %feature("compactdefaultargs") D3; + %feature("autodoc", ":param X: + :type X: float + :param P: + :type P: gp_Pnt2d + :param V1: + :type V1: gp_Vec2d + :param V2: + :type V2: gp_Vec2d + :param V3: + :type V3: gp_Vec2d + :rtype: None") D3; + void D3 (const Standard_Real X,gp_Pnt2d & P,gp_Vec2d & V1,gp_Vec2d & V2,gp_Vec2d & V3); + + /****************** DN ******************/ + %feature("compactdefaultargs") DN; + %feature("autodoc", ":param U: + :type U: float + :param N: + :type N: int + :rtype: gp_Vec2d") DN; + gp_Vec2d DN (const Standard_Real U,const Standard_Integer N); + + /****************** Degree ******************/ + %feature("compactdefaultargs") Degree; + %feature("autodoc", ":rtype: int") Degree; + Standard_Integer Degree (); + + /****************** Ellipse ******************/ + %feature("compactdefaultargs") Ellipse; + %feature("autodoc", ":rtype: gp_Elips2d") Ellipse; + gp_Elips2d Ellipse (); + + /****************** FirstParameter ******************/ + %feature("compactdefaultargs") FirstParameter; + %feature("autodoc", ":rtype: float") FirstParameter; + Standard_Real FirstParameter (); + + /****************** GetType ******************/ + %feature("compactdefaultargs") GetType; + %feature("autodoc", ":rtype: GeomAbs_CurveType") GetType; + GeomAbs_CurveType GetType (); + + /****************** Hyperbola ******************/ + %feature("compactdefaultargs") Hyperbola; + %feature("autodoc", ":rtype: gp_Hypr2d") Hyperbola; + gp_Hypr2d Hyperbola (); + + /****************** Intervals ******************/ + %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() + :param T: + :type T: TColStd_Array1OfReal & + :param S: + :type S: GeomAbs_Shape + :rtype: None") Intervals; + void Intervals (TColStd_Array1OfReal & T,const GeomAbs_Shape S); + + /****************** IsClosed ******************/ + %feature("compactdefaultargs") IsClosed; + %feature("autodoc", ":rtype: bool") IsClosed; + Standard_Boolean IsClosed (); + + /****************** IsPeriodic ******************/ + %feature("compactdefaultargs") IsPeriodic; + %feature("autodoc", ":rtype: bool") IsPeriodic; + Standard_Boolean IsPeriodic (); + + /****************** IsRational ******************/ + %feature("compactdefaultargs") IsRational; + %feature("autodoc", ":rtype: bool") IsRational; + Standard_Boolean IsRational (); + + /****************** LastParameter ******************/ + %feature("compactdefaultargs") LastParameter; + %feature("autodoc", ":rtype: float") LastParameter; + Standard_Real LastParameter (); + + /****************** Line ******************/ + %feature("compactdefaultargs") Line; + %feature("autodoc", ":rtype: gp_Lin2d") Line; + gp_Lin2d Line (); + + /****************** Load ******************/ %feature("compactdefaultargs") Load; - %feature("autodoc", " :param L: + %feature("autodoc", ":param L: :type L: gp_Lin2d - :rtype: None -") Load; + :rtype: None") Load; void Load (const gp_Lin2d & L); + + /****************** Load ******************/ %feature("compactdefaultargs") Load; - %feature("autodoc", " :param L: + %feature("autodoc", ":param L: :type L: gp_Lin2d :param UFirst: :type UFirst: float :param ULast: :type ULast: float - :rtype: None -") Load; + :rtype: None") Load; void Load (const gp_Lin2d & L,const Standard_Real UFirst,const Standard_Real ULast); - %feature("compactdefaultargs") FirstParameter; - %feature("autodoc", " :rtype: float -") FirstParameter; - Standard_Real FirstParameter (); - %feature("compactdefaultargs") LastParameter; - %feature("autodoc", " :rtype: float -") LastParameter; - Standard_Real LastParameter (); - %feature("compactdefaultargs") Continuity; - %feature("autodoc", " :rtype: GeomAbs_Shape -") Continuity; - GeomAbs_Shape Continuity (); - %feature("compactdefaultargs") NbIntervals; - %feature("autodoc", " * If necessary, breaks the curve in intervals of continuity . And returns the number of intervals. + /****************** NbIntervals ******************/ + %feature("compactdefaultargs") NbIntervals; + %feature("autodoc", "* If necessary, breaks the curve in intervals of continuity . And returns the number of intervals. :param S: :type S: GeomAbs_Shape - :rtype: int -") NbIntervals; + :rtype: int") NbIntervals; Standard_Integer NbIntervals (const GeomAbs_Shape S); - %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() - :param T: - :type T: TColStd_Array1OfReal & - :param S: - :type S: GeomAbs_Shape - :rtype: None -") Intervals; - void Intervals (TColStd_Array1OfReal & T,const GeomAbs_Shape S); - %feature("compactdefaultargs") Trim; - %feature("autodoc", " * Returns a curve equivalent of between parameters and . is used to test for 3d points confusion. If >= + /****************** NbKnots ******************/ + %feature("compactdefaultargs") NbKnots; + %feature("autodoc", ":rtype: int") NbKnots; + Standard_Integer NbKnots (); + + /****************** NbPoles ******************/ + %feature("compactdefaultargs") NbPoles; + %feature("autodoc", ":rtype: int") NbPoles; + Standard_Integer NbPoles (); + + /****************** Parabola ******************/ + %feature("compactdefaultargs") Parabola; + %feature("autodoc", ":rtype: gp_Parab2d") Parabola; + gp_Parab2d Parabola (); + + /****************** Period ******************/ + %feature("compactdefaultargs") Period; + %feature("autodoc", ":rtype: float") Period; + Standard_Real Period (); + + /****************** Resolution ******************/ + %feature("compactdefaultargs") Resolution; + %feature("autodoc", ":param R3d: + :type R3d: float + :rtype: float") Resolution; + Standard_Real Resolution (const Standard_Real R3d); + /****************** Trim ******************/ + %feature("compactdefaultargs") Trim; + %feature("autodoc", "* Returns a curve equivalent of between parameters and . is used to test for 3d points confusion. If >= :param First: :type First: float :param Last: :type Last: float :param Tol: :type Tol: float - :rtype: Handle_Adaptor2d_HCurve2d -") Trim; - Handle_Adaptor2d_HCurve2d Trim (const Standard_Real First,const Standard_Real Last,const Standard_Real Tol); - %feature("compactdefaultargs") IsClosed; - %feature("autodoc", " :rtype: bool -") IsClosed; - Standard_Boolean IsClosed (); - %feature("compactdefaultargs") IsPeriodic; - %feature("autodoc", " :rtype: bool -") IsPeriodic; - Standard_Boolean IsPeriodic (); - %feature("compactdefaultargs") Period; - %feature("autodoc", " :rtype: float -") Period; - Standard_Real Period (); + :rtype: opencascade::handle") Trim; + opencascade::handle Trim (const Standard_Real First,const Standard_Real Last,const Standard_Real Tol); + + /****************** Value ******************/ %feature("compactdefaultargs") Value; - %feature("autodoc", " :param X: + %feature("autodoc", ":param X: :type X: float - :rtype: gp_Pnt2d -") Value; + :rtype: gp_Pnt2d") Value; gp_Pnt2d Value (const Standard_Real X); + +}; + + +%extend Adaptor2d_Line2d { + %pythoncode { + __repr__ = _dumps_object + } +}; + +/****************************** +* class Adaptor2d_OffsetCurve * +******************************/ +%nodefaultctor Adaptor2d_OffsetCurve; +class Adaptor2d_OffsetCurve : public Adaptor2d_Curve2d { + public: + /****************** Adaptor2d_OffsetCurve ******************/ + %feature("compactdefaultargs") Adaptor2d_OffsetCurve; + %feature("autodoc", "* The Offset is set to 0. + :rtype: None") Adaptor2d_OffsetCurve; + Adaptor2d_OffsetCurve (); + + /****************** Adaptor2d_OffsetCurve ******************/ + %feature("compactdefaultargs") Adaptor2d_OffsetCurve; + %feature("autodoc", "* The curve is loaded. The Offset is set to 0. + :param C: + :type C: opencascade::handle & + :rtype: None") Adaptor2d_OffsetCurve; + Adaptor2d_OffsetCurve (const opencascade::handle & C); + + /****************** Adaptor2d_OffsetCurve ******************/ + %feature("compactdefaultargs") Adaptor2d_OffsetCurve; + %feature("autodoc", "* Creates an OffsetCurve curve. The Offset is set to Offset. + :param C: + :type C: opencascade::handle & + :param Offset: + :type Offset: float + :rtype: None") Adaptor2d_OffsetCurve; + Adaptor2d_OffsetCurve (const opencascade::handle & C,const Standard_Real Offset); + + /****************** Adaptor2d_OffsetCurve ******************/ + %feature("compactdefaultargs") Adaptor2d_OffsetCurve; + %feature("autodoc", "* Create an Offset curve. WFirst,WLast define the bounds of the Offset curve. + :param C: + :type C: opencascade::handle & + :param Offset: + :type Offset: float + :param WFirst: + :type WFirst: float + :param WLast: + :type WLast: float + :rtype: None") Adaptor2d_OffsetCurve; + Adaptor2d_OffsetCurve (const opencascade::handle & C,const Standard_Real Offset,const Standard_Real WFirst,const Standard_Real WLast); + + /****************** BSpline ******************/ + %feature("compactdefaultargs") BSpline; + %feature("autodoc", ":rtype: opencascade::handle") BSpline; + opencascade::handle BSpline (); + + /****************** Bezier ******************/ + %feature("compactdefaultargs") Bezier; + %feature("autodoc", ":rtype: opencascade::handle") Bezier; + opencascade::handle Bezier (); + + /****************** Circle ******************/ + %feature("compactdefaultargs") Circle; + %feature("autodoc", ":rtype: gp_Circ2d") Circle; + gp_Circ2d Circle (); + + /****************** Continuity ******************/ + %feature("compactdefaultargs") Continuity; + %feature("autodoc", ":rtype: GeomAbs_Shape") Continuity; + GeomAbs_Shape Continuity (); + + /****************** Curve ******************/ + %feature("compactdefaultargs") Curve; + %feature("autodoc", ":rtype: opencascade::handle") Curve; + const opencascade::handle & Curve (); + + /****************** D0 ******************/ %feature("compactdefaultargs") D0; - %feature("autodoc", " :param X: - :type X: float + %feature("autodoc", "* Computes the point of parameter U on the curve. + :param U: + :type U: float :param P: :type P: gp_Pnt2d - :rtype: None -") D0; - void D0 (const Standard_Real X,gp_Pnt2d & P); + :rtype: None") D0; + void D0 (const Standard_Real U,gp_Pnt2d & P); + + /****************** D1 ******************/ %feature("compactdefaultargs") D1; - %feature("autodoc", " :param X: - :type X: float + %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. + :param U: + :type U: float :param P: :type P: gp_Pnt2d :param V: :type V: gp_Vec2d - :rtype: None -") D1; - void D1 (const Standard_Real X,gp_Pnt2d & P,gp_Vec2d & V); + :rtype: None") D1; + void D1 (const Standard_Real U,gp_Pnt2d & P,gp_Vec2d & V); + + /****************** D2 ******************/ %feature("compactdefaultargs") D2; - %feature("autodoc", " :param X: - :type X: float + %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. + :param U: + :type U: float :param P: :type P: gp_Pnt2d :param V1: :type V1: gp_Vec2d :param V2: :type V2: gp_Vec2d - :rtype: None -") D2; - void D2 (const Standard_Real X,gp_Pnt2d & P,gp_Vec2d & V1,gp_Vec2d & V2); + :rtype: None") D2; + void D2 (const Standard_Real U,gp_Pnt2d & P,gp_Vec2d & V1,gp_Vec2d & V2); + + /****************** D3 ******************/ %feature("compactdefaultargs") D3; - %feature("autodoc", " :param X: - :type X: float + %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. + :param U: + :type U: float :param P: :type P: gp_Pnt2d :param V1: @@ -703,76 +963,183 @@ class Adaptor2d_Line2d : public Adaptor2d_Curve2d { :type V2: gp_Vec2d :param V3: :type V3: gp_Vec2d - :rtype: None -") D3; - void D3 (const Standard_Real X,gp_Pnt2d & P,gp_Vec2d & V1,gp_Vec2d & V2,gp_Vec2d & V3); + :rtype: None") D3; + void D3 (const Standard_Real U,gp_Pnt2d & P,gp_Vec2d & V1,gp_Vec2d & V2,gp_Vec2d & V3); + + /****************** DN ******************/ %feature("compactdefaultargs") DN; - %feature("autodoc", " :param U: + %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. + :param U: :type U: float :param N: :type N: int - :rtype: gp_Vec2d -") DN; + :rtype: gp_Vec2d") DN; gp_Vec2d DN (const Standard_Real U,const Standard_Integer N); - %feature("compactdefaultargs") Resolution; - %feature("autodoc", " :param R3d: - :type R3d: float - :rtype: float -") Resolution; - Standard_Real Resolution (const Standard_Real R3d); - %feature("compactdefaultargs") GetType; - %feature("autodoc", " :rtype: GeomAbs_CurveType -") GetType; - GeomAbs_CurveType GetType (); - %feature("compactdefaultargs") Line; - %feature("autodoc", " :rtype: gp_Lin2d -") Line; - gp_Lin2d Line (); - %feature("compactdefaultargs") Circle; - %feature("autodoc", " :rtype: gp_Circ2d -") Circle; - gp_Circ2d Circle (); + + /****************** Degree ******************/ + %feature("compactdefaultargs") Degree; + %feature("autodoc", ":rtype: int") Degree; + Standard_Integer Degree (); + + /****************** Ellipse ******************/ %feature("compactdefaultargs") Ellipse; - %feature("autodoc", " :rtype: gp_Elips2d -") Ellipse; + %feature("autodoc", ":rtype: gp_Elips2d") Ellipse; gp_Elips2d Ellipse (); + + /****************** FirstParameter ******************/ + %feature("compactdefaultargs") FirstParameter; + %feature("autodoc", ":rtype: float") FirstParameter; + Standard_Real FirstParameter (); + + /****************** GetType ******************/ + %feature("compactdefaultargs") GetType; + %feature("autodoc", "* Returns the type of the curve in the current interval : Line, Circle, Ellipse, Hyperbola, Parabola, BezierCurve, BSplineCurve, OtherCurve. + :rtype: GeomAbs_CurveType") GetType; + GeomAbs_CurveType GetType (); + + /****************** Hyperbola ******************/ %feature("compactdefaultargs") Hyperbola; - %feature("autodoc", " :rtype: gp_Hypr2d -") Hyperbola; + %feature("autodoc", ":rtype: gp_Hypr2d") Hyperbola; gp_Hypr2d Hyperbola (); - %feature("compactdefaultargs") Parabola; - %feature("autodoc", " :rtype: gp_Parab2d -") Parabola; - gp_Parab2d Parabola (); - %feature("compactdefaultargs") Degree; - %feature("autodoc", " :rtype: int -") Degree; - Standard_Integer Degree (); + + /****************** Intervals ******************/ + %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() + :param T: + :type T: TColStd_Array1OfReal & + :param S: + :type S: GeomAbs_Shape + :rtype: None") Intervals; + void Intervals (TColStd_Array1OfReal & T,const GeomAbs_Shape S); + + /****************** IsClosed ******************/ + %feature("compactdefaultargs") IsClosed; + %feature("autodoc", ":rtype: bool") IsClosed; + Standard_Boolean IsClosed (); + + /****************** IsPeriodic ******************/ + %feature("compactdefaultargs") IsPeriodic; + %feature("autodoc", ":rtype: bool") IsPeriodic; + Standard_Boolean IsPeriodic (); + + /****************** IsRational ******************/ %feature("compactdefaultargs") IsRational; - %feature("autodoc", " :rtype: bool -") IsRational; + %feature("autodoc", ":rtype: bool") IsRational; Standard_Boolean IsRational (); - %feature("compactdefaultargs") NbPoles; - %feature("autodoc", " :rtype: int -") NbPoles; - Standard_Integer NbPoles (); + + /****************** LastParameter ******************/ + %feature("compactdefaultargs") LastParameter; + %feature("autodoc", ":rtype: float") LastParameter; + Standard_Real LastParameter (); + + /****************** Line ******************/ + %feature("compactdefaultargs") Line; + %feature("autodoc", ":rtype: gp_Lin2d") Line; + gp_Lin2d Line (); + + /****************** Load ******************/ + %feature("compactdefaultargs") Load; + %feature("autodoc", "* Changes the curve. The Offset is reset to 0. + :param S: + :type S: opencascade::handle & + :rtype: None") Load; + void Load (const opencascade::handle & S); + + /****************** Load ******************/ + %feature("compactdefaultargs") Load; + %feature("autodoc", "* Changes the Offset on the current Curve. + :param Offset: + :type Offset: float + :rtype: None") Load; + void Load (const Standard_Real Offset); + + /****************** Load ******************/ + %feature("compactdefaultargs") Load; + %feature("autodoc", "* Changes the Offset Curve on the current Curve. + :param Offset: + :type Offset: float + :param WFirst: + :type WFirst: float + :param WLast: + :type WLast: float + :rtype: None") Load; + void Load (const Standard_Real Offset,const Standard_Real WFirst,const Standard_Real WLast); + + /****************** NbIntervals ******************/ + %feature("compactdefaultargs") NbIntervals; + %feature("autodoc", "* If necessary, breaks the curve in intervals of continuity . And returns the number of intervals. + :param S: + :type S: GeomAbs_Shape + :rtype: int") NbIntervals; + Standard_Integer NbIntervals (const GeomAbs_Shape S); + + /****************** NbKnots ******************/ %feature("compactdefaultargs") NbKnots; - %feature("autodoc", " :rtype: int -") NbKnots; + %feature("autodoc", ":rtype: int") NbKnots; Standard_Integer NbKnots (); - %feature("compactdefaultargs") Bezier; - %feature("autodoc", " :rtype: Handle_Geom2d_BezierCurve -") Bezier; - Handle_Geom2d_BezierCurve Bezier (); - %feature("compactdefaultargs") BSpline; - %feature("autodoc", " :rtype: Handle_Geom2d_BSplineCurve -") BSpline; - Handle_Geom2d_BSplineCurve BSpline (); + + /****************** NbPoles ******************/ + %feature("compactdefaultargs") NbPoles; + %feature("autodoc", ":rtype: int") NbPoles; + Standard_Integer NbPoles (); + + /****************** NbSamples ******************/ + %feature("compactdefaultargs") NbSamples; + %feature("autodoc", ":rtype: int") NbSamples; + Standard_Integer NbSamples (); + + /****************** Offset ******************/ + %feature("compactdefaultargs") Offset; + %feature("autodoc", ":rtype: float") Offset; + Standard_Real Offset (); + + /****************** Parabola ******************/ + %feature("compactdefaultargs") Parabola; + %feature("autodoc", ":rtype: gp_Parab2d") Parabola; + gp_Parab2d Parabola (); + + /****************** Period ******************/ + %feature("compactdefaultargs") Period; + %feature("autodoc", ":rtype: float") Period; + Standard_Real Period (); + + /****************** Resolution ******************/ + %feature("compactdefaultargs") Resolution; + %feature("autodoc", "* Returns the parametric resolution corresponding to the real space resolution . + :param R3d: + :type R3d: float + :rtype: float") Resolution; + Standard_Real Resolution (const Standard_Real R3d); + + /****************** Trim ******************/ + %feature("compactdefaultargs") Trim; + %feature("autodoc", "* Returns a curve equivalent of between parameters and . is used to test for 3d points confusion. If >= + :param First: + :type First: float + :param Last: + :type Last: float + :param Tol: + :type Tol: float + :rtype: opencascade::handle") Trim; + opencascade::handle Trim (const Standard_Real First,const Standard_Real Last,const Standard_Real Tol); + + /****************** Value ******************/ + %feature("compactdefaultargs") Value; + %feature("autodoc", "* Computes the point of parameter U on the curve. + :param U: + :type U: float + :rtype: gp_Pnt2d") Value; + gp_Pnt2d Value (const Standard_Real U); + }; -%extend Adaptor2d_Line2d { +%extend Adaptor2d_OffsetCurve { %pythoncode { __repr__ = _dumps_object } }; + +/* harray1 class */ +/* harray2 class */ +/* harray2 class */ diff --git a/src/SWIG_files/wrapper/Adaptor2d_headers.i b/src/SWIG_files/wrapper/Adaptor2d_headers.i deleted file mode 100644 index c976be9da..000000000 --- a/src/SWIG_files/wrapper/Adaptor2d_headers.i +++ /dev/null @@ -1,537 +0,0 @@ -/* -Copyright 2008-2017 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 . - -*/ -%{ -#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 -#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 -#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 -#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 -#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 -#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 -%}; -%import Standard.i -%import GeomAbs.i -%import TColStd.i -%import gp.i -%import Geom2d.i -%import MMgt.i diff --git a/src/SWIG_files/wrapper/Adaptor3d.i b/src/SWIG_files/wrapper/Adaptor3d.i index 2965d3ddf..bfbb3500e 100644 --- a/src/SWIG_files/wrapper/Adaptor3d.i +++ b/src/SWIG_files/wrapper/Adaptor3d.i @@ -1,6 +1,5 @@ /* -Copyright 2008-2017 Thomas Paviot (tpaviot@gmail.com) - +Copyright 2008-2019 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -15,120 +14,13 @@ 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 ADAPTOR3DDOCSTRING -"The Adaptor3d package is used to help defining -reusable geometric algorithms. i.e. that can be -used on curves and surfaces. - -It defines general services for 3 kind of objects : - -- the 2d curve. Curve2d -- the 3d curve. Curve -- the 3d surface. Surface - -The services are : - -- Usual services found in Geom or Geom2d : - -* parameter range, value and derivatives, etc... - -- Continuity breakout services : - -* Allows to divide a curve or a surfaces in -parts with a given derivation order. - -- Special geometries detection services : - -* Allows to test for special cases that can -be processed more easily : -- Conics, Quadrics, Bezier, BSpline ... - -And to get the correponding data form the -package gp or Geom. The special type -OtherCurve means that no special case has -been detected and the algorithm may use -only the evaluation methods (D0, D1, ...) - - -For each category Curve2d, Curve, Surface we -define three classes, we illustrate now the -principles with the Curve, the same applies to -Curve2d and Surface. - -The class Curve is the abstract root for all -Curves used by algorithms, it is handled by value -and provides as deferred methods the services -described above. - -Some services (breakout) requires to create new -curves, this leads to memory allocation -considerations (who create the curve, who deletes -it ?). To solve this problem elegantly the curve -will return a HCurve, the HCurve is a curve -handled by reference so it will be deallocated -automatically when it is not used. - -A third class GenHCurve is provided, this class is -generic and its utility is to provide automatic -generation of the HCurve class when you have -written the Curve class. - - -* Let us show an example (with 2d curves) : - -Imagine an algorithm to intersect curves, this -algorithms is written to process Curve2d from -Adaptor3d : - -A method may look like : - -Intersect(C1,C2 : Curve2d from Adaptor3d); - -Which will look like in C++ - -Intersect(const Adaptor2d_Curve2d& C1, -const Adaptor2d_Curve2d& C2) -{ -// you can call any method -Standard_Real first1 = C1.FirstParameter(); - -// but avoid to copy in an Adaptor3d_Curve which -// is an Abstract class, use a reference or a pointer - -const Adaptor3d_Curve& C = C1; -const Adaptor3d_Curve *pC = &C1; - -// If you are interseted in Intervals you must -// store them in a HCurve to ensure they are kept -// in memory. Then a referrence may be used. - -Handle(Adaptor3d_HCurve) HCI = C1.Interval(1); - -const Adaptor3d_Curve& CI = HCI->Curve(); -pC = &(HCI->Curve()); - - -* The Adaptor3d provides also Generic classes -implementing algorithmic curves and surfaces. - -- IsoCurve : Isoparametric curve on a surface. -- CurveOnSurface : 2D curve in the parametric -space of a surface. - - -- OffsetCurve2d : 2d offset curve -- ProjectedCurve : 3d curve projected on a plane -- SurfaceOfLinearExtrusion -- SurfaceOfRevolution - -They are instantiated with HCurve, HSurface, HCurved2d -" +"Adaptor3d module, see official documentation at +https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_adaptor3d.html" %enddef %module (package="OCC.Core", docstring=ADAPTOR3DDOCSTRING) Adaptor3d -#pragma SWIG nowarn=504,325,503 %{ #ifdef WNT @@ -143,116 +35,106 @@ They are instantiated with HCurve, HSurface, HCurved2d %include ../common/OccHandle.i -%include Adaptor3d_headers.i - -/* typedefs */ -typedef Adaptor3d_Surface * Adaptor3d_SurfacePtr; -typedef Adaptor3d_Curve * Adaptor3d_CurvePtr; -typedef Adaptor3d_CurveOnSurface * Adaptor3d_CurveOnSurfacePtr; -/* end typedefs declaration */ - +%{ +#include +#include + +//Dependencies +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +%}; +%import Standard.i +%import NCollection.i +%import Geom.i +%import gp.i +%import GeomAbs.i +%import TColStd.i +%import TopAbs.i +%import Adaptor2d.i +%import math.i /* public enums */ /* end public enums declaration */ +/* handles */ %wrap_handle(Adaptor3d_HCurve) -%wrap_handle(Adaptor3d_HOffsetCurve) %wrap_handle(Adaptor3d_HSurface) %wrap_handle(Adaptor3d_HVertex) %wrap_handle(Adaptor3d_TopolTool) %wrap_handle(Adaptor3d_HCurveOnSurface) %wrap_handle(Adaptor3d_HIsoCurve) -%wrap_handle(Adaptor3d_HSurfaceOfLinearExtrusion) -%wrap_handle(Adaptor3d_HSurfaceOfRevolution) +/* end handles declaration */ + +/* templates */ +/* end templates declaration */ + +/* typedefs */ +typedef Adaptor3d_Curve * Adaptor3d_CurvePtr; +typedef Adaptor3d_Surface * Adaptor3d_SurfacePtr; +typedef Adaptor3d_CurveOnSurface * Adaptor3d_CurveOnSurfacePtr; +/* end typedefs declaration */ +/************************ +* class Adaptor3d_Curve * +************************/ class Adaptor3d_Curve { public: - %feature("compactdefaultargs") FirstParameter; - %feature("autodoc", " :rtype: float -") FirstParameter; - virtual Standard_Real FirstParameter (); - %feature("compactdefaultargs") LastParameter; - %feature("autodoc", " :rtype: float -") LastParameter; - virtual Standard_Real LastParameter (); - %feature("compactdefaultargs") Continuity; - %feature("autodoc", " :rtype: GeomAbs_Shape -") Continuity; - virtual GeomAbs_Shape Continuity (); - %feature("compactdefaultargs") NbIntervals; - %feature("autodoc", " * Returns the number of intervals for continuity . May be one if Continuity(me) >= + /****************** BSpline ******************/ + %feature("compactdefaultargs") BSpline; + %feature("autodoc", ":rtype: opencascade::handle") BSpline; + virtual opencascade::handle BSpline (); - :param S: - :type S: GeomAbs_Shape - :rtype: int -") NbIntervals; - virtual Standard_Integer NbIntervals (const GeomAbs_Shape S); - %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() + /****************** Bezier ******************/ + %feature("compactdefaultargs") Bezier; + %feature("autodoc", ":rtype: opencascade::handle") Bezier; + virtual opencascade::handle Bezier (); - :param T: - :type T: TColStd_Array1OfReal & - :param S: - :type S: GeomAbs_Shape - :rtype: void -") Intervals; - virtual void Intervals (TColStd_Array1OfReal & T,const GeomAbs_Shape S); - %feature("compactdefaultargs") Trim; - %feature("autodoc", " * Returns a curve equivalent of between parameters and . is used to test for 3d points confusion. If >= + /****************** Circle ******************/ + %feature("compactdefaultargs") Circle; + %feature("autodoc", ":rtype: gp_Circ") Circle; + virtual gp_Circ Circle (); - :param First: - :type First: float - :param Last: - :type Last: float - :param Tol: - :type Tol: float - :rtype: Handle_Adaptor3d_HCurve -") Trim; - virtual Handle_Adaptor3d_HCurve Trim (const Standard_Real First,const Standard_Real Last,const Standard_Real Tol); - %feature("compactdefaultargs") IsClosed; - %feature("autodoc", " :rtype: bool -") IsClosed; - virtual Standard_Boolean IsClosed (); - %feature("compactdefaultargs") IsPeriodic; - %feature("autodoc", " :rtype: bool -") IsPeriodic; - virtual Standard_Boolean IsPeriodic (); - %feature("compactdefaultargs") Period; - %feature("autodoc", " :rtype: float -") Period; - virtual Standard_Real Period (); - %feature("compactdefaultargs") Value; - %feature("autodoc", " * Computes the point of parameter U on the curve. + /****************** Continuity ******************/ + %feature("compactdefaultargs") Continuity; + %feature("autodoc", ":rtype: GeomAbs_Shape") Continuity; + virtual GeomAbs_Shape Continuity (); - :param U: - :type U: float - :rtype: gp_Pnt -") Value; - virtual gp_Pnt Value (const Standard_Real U); + /****************** D0 ******************/ %feature("compactdefaultargs") D0; - %feature("autodoc", " * Computes the point of parameter U on the curve. - + %feature("autodoc", "* Computes the point of parameter U on the curve. :param U: :type U: float :param P: :type P: gp_Pnt - :rtype: void -") D0; + :rtype: void") D0; virtual void D0 (const Standard_Real U,gp_Pnt & P); - %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. + /****************** D1 ******************/ + %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. :param U: :type U: float :param P: :type P: gp_Pnt :param V: :type V: gp_Vec - :rtype: void -") D1; + :rtype: void") D1; virtual void D1 (const Standard_Real U,gp_Pnt & P,gp_Vec & V); - %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. + /****************** D2 ******************/ + %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. :param U: :type U: float :param P: @@ -261,12 +143,12 @@ class Adaptor3d_Curve { :type V1: gp_Vec :param V2: :type V2: gp_Vec - :rtype: void -") D2; + :rtype: void") D2; virtual void D2 (const Standard_Real U,gp_Pnt & P,gp_Vec & V1,gp_Vec & V2); - %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. + /****************** D3 ******************/ + %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. :param U: :type U: float :param P: @@ -277,77 +159,141 @@ class Adaptor3d_Curve { :type V2: gp_Vec :param V3: :type V3: gp_Vec - :rtype: void -") D3; + :rtype: void") D3; virtual void D3 (const Standard_Real U,gp_Pnt & P,gp_Vec & V1,gp_Vec & V2,gp_Vec & V3); - %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. + /****************** DN ******************/ + %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. :param U: :type U: float :param N: :type N: int - :rtype: gp_Vec -") DN; + :rtype: gp_Vec") DN; virtual gp_Vec DN (const Standard_Real U,const Standard_Integer N); - %feature("compactdefaultargs") Resolution; - %feature("autodoc", " * Returns the parametric resolution corresponding to the real space resolution . - :param R3d: - :type R3d: float - :rtype: float -") Resolution; - virtual Standard_Real Resolution (const Standard_Real R3d); - %feature("compactdefaultargs") GetType; - %feature("autodoc", " * Returns the type of the curve in the current interval : Line, Circle, Ellipse, Hyperbola, Parabola, BezierCurve, BSplineCurve, OtherCurve. + /****************** Degree ******************/ + %feature("compactdefaultargs") Degree; + %feature("autodoc", ":rtype: int") Degree; + virtual Standard_Integer Degree (); - :rtype: GeomAbs_CurveType -") GetType; - virtual GeomAbs_CurveType GetType (); - %feature("compactdefaultargs") Line; - %feature("autodoc", " :rtype: gp_Lin -") Line; - virtual gp_Lin Line (); - %feature("compactdefaultargs") Circle; - %feature("autodoc", " :rtype: gp_Circ -") Circle; - virtual gp_Circ Circle (); + /****************** Ellipse ******************/ %feature("compactdefaultargs") Ellipse; - %feature("autodoc", " :rtype: gp_Elips -") Ellipse; + %feature("autodoc", ":rtype: gp_Elips") Ellipse; virtual gp_Elips Ellipse (); + + /****************** FirstParameter ******************/ + %feature("compactdefaultargs") FirstParameter; + %feature("autodoc", ":rtype: float") FirstParameter; + virtual Standard_Real FirstParameter (); + + /****************** GetType ******************/ + %feature("compactdefaultargs") GetType; + %feature("autodoc", "* Returns the type of the curve in the current interval : Line, Circle, Ellipse, Hyperbola, Parabola, BezierCurve, BSplineCurve, OtherCurve. + :rtype: GeomAbs_CurveType") GetType; + virtual GeomAbs_CurveType GetType (); + + /****************** Hyperbola ******************/ %feature("compactdefaultargs") Hyperbola; - %feature("autodoc", " :rtype: gp_Hypr -") Hyperbola; + %feature("autodoc", ":rtype: gp_Hypr") Hyperbola; virtual gp_Hypr Hyperbola (); - %feature("compactdefaultargs") Parabola; - %feature("autodoc", " :rtype: gp_Parab -") Parabola; - virtual gp_Parab Parabola (); - %feature("compactdefaultargs") Degree; - %feature("autodoc", " :rtype: int -") Degree; - virtual Standard_Integer Degree (); + + /****************** Intervals ******************/ + %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() + :param T: + :type T: TColStd_Array1OfReal & + :param S: + :type S: GeomAbs_Shape + :rtype: void") Intervals; + virtual void Intervals (TColStd_Array1OfReal & T,const GeomAbs_Shape S); + + /****************** IsClosed ******************/ + %feature("compactdefaultargs") IsClosed; + %feature("autodoc", ":rtype: bool") IsClosed; + virtual Standard_Boolean IsClosed (); + + /****************** IsPeriodic ******************/ + %feature("compactdefaultargs") IsPeriodic; + %feature("autodoc", ":rtype: bool") IsPeriodic; + virtual Standard_Boolean IsPeriodic (); + + /****************** IsRational ******************/ %feature("compactdefaultargs") IsRational; - %feature("autodoc", " :rtype: bool -") IsRational; + %feature("autodoc", ":rtype: bool") IsRational; virtual Standard_Boolean IsRational (); - %feature("compactdefaultargs") NbPoles; - %feature("autodoc", " :rtype: int -") NbPoles; - virtual Standard_Integer NbPoles (); + + /****************** LastParameter ******************/ + %feature("compactdefaultargs") LastParameter; + %feature("autodoc", ":rtype: float") LastParameter; + virtual Standard_Real LastParameter (); + + /****************** Line ******************/ + %feature("compactdefaultargs") Line; + %feature("autodoc", ":rtype: gp_Lin") Line; + virtual gp_Lin Line (); + + /****************** NbIntervals ******************/ + %feature("compactdefaultargs") NbIntervals; + %feature("autodoc", "* Returns the number of intervals for continuity . May be one if Continuity(me) >= + :param S: + :type S: GeomAbs_Shape + :rtype: int") NbIntervals; + virtual Standard_Integer NbIntervals (const GeomAbs_Shape S); + + /****************** NbKnots ******************/ %feature("compactdefaultargs") NbKnots; - %feature("autodoc", " :rtype: int -") NbKnots; + %feature("autodoc", ":rtype: int") NbKnots; virtual Standard_Integer NbKnots (); - %feature("compactdefaultargs") Bezier; - %feature("autodoc", " :rtype: Handle_Geom_BezierCurve -") Bezier; - virtual Handle_Geom_BezierCurve Bezier (); - %feature("compactdefaultargs") BSpline; - %feature("autodoc", " :rtype: Handle_Geom_BSplineCurve -") BSpline; - virtual Handle_Geom_BSplineCurve BSpline (); + + /****************** NbPoles ******************/ + %feature("compactdefaultargs") NbPoles; + %feature("autodoc", ":rtype: int") NbPoles; + virtual Standard_Integer NbPoles (); + + /****************** OffsetCurve ******************/ + %feature("compactdefaultargs") OffsetCurve; + %feature("autodoc", ":rtype: opencascade::handle") OffsetCurve; + virtual opencascade::handle OffsetCurve (); + + /****************** Parabola ******************/ + %feature("compactdefaultargs") Parabola; + %feature("autodoc", ":rtype: gp_Parab") Parabola; + virtual gp_Parab Parabola (); + + /****************** Period ******************/ + %feature("compactdefaultargs") Period; + %feature("autodoc", ":rtype: float") Period; + virtual Standard_Real Period (); + + /****************** Resolution ******************/ + %feature("compactdefaultargs") Resolution; + %feature("autodoc", "* Returns the parametric resolution corresponding to the real space resolution . + :param R3d: + :type R3d: float + :rtype: float") Resolution; + virtual Standard_Real Resolution (const Standard_Real R3d); + + /****************** Trim ******************/ + %feature("compactdefaultargs") Trim; + %feature("autodoc", "* Returns a curve equivalent of between parameters and . is used to test for 3d points confusion. If >= + :param First: + :type First: float + :param Last: + :type Last: float + :param Tol: + :type Tol: float + :rtype: opencascade::handle") Trim; + virtual opencascade::handle Trim (const Standard_Real First,const Standard_Real Last,const Standard_Real Tol); + + /****************** Value ******************/ + %feature("compactdefaultargs") Value; + %feature("autodoc", "* Computes the point of parameter U on the curve. + :param U: + :type U: float + :rtype: gp_Pnt") Value; + virtual gp_Pnt Value (const Standard_Real U); + }; @@ -356,99 +302,62 @@ class Adaptor3d_Curve { __repr__ = _dumps_object } }; + +/************************* +* class Adaptor3d_HCurve * +*************************/ %nodefaultctor Adaptor3d_HCurve; -class Adaptor3d_HCurve : public MMgt_TShared { +class Adaptor3d_HCurve : public Standard_Transient { public: - %feature("compactdefaultargs") Curve; - %feature("autodoc", " * Returns a pointer to the Curve inside the HCurve. + /****************** BSpline ******************/ + %feature("compactdefaultargs") BSpline; + %feature("autodoc", ":rtype: opencascade::handle") BSpline; + opencascade::handle BSpline (); - :rtype: Adaptor3d_Curve -") Curve; - virtual const Adaptor3d_Curve & Curve (); - %feature("compactdefaultargs") GetCurve; - %feature("autodoc", " * Returns a pointer to the Curve inside the HCurve. + /****************** Bezier ******************/ + %feature("compactdefaultargs") Bezier; + %feature("autodoc", ":rtype: opencascade::handle") Bezier; + opencascade::handle Bezier (); - :rtype: Adaptor3d_Curve -") GetCurve; - virtual Adaptor3d_Curve & GetCurve (); - %feature("compactdefaultargs") FirstParameter; - %feature("autodoc", " :rtype: float -") FirstParameter; - Standard_Real FirstParameter (); - %feature("compactdefaultargs") LastParameter; - %feature("autodoc", " :rtype: float -") LastParameter; - Standard_Real LastParameter (); + /****************** Circle ******************/ + %feature("compactdefaultargs") Circle; + %feature("autodoc", ":rtype: gp_Circ") Circle; + gp_Circ Circle (); + + /****************** Continuity ******************/ %feature("compactdefaultargs") Continuity; - %feature("autodoc", " :rtype: GeomAbs_Shape -") Continuity; + %feature("autodoc", ":rtype: GeomAbs_Shape") Continuity; GeomAbs_Shape Continuity (); - %feature("compactdefaultargs") NbIntervals; - %feature("autodoc", " :param S: - :type S: GeomAbs_Shape - :rtype: int -") NbIntervals; - Standard_Integer NbIntervals (const GeomAbs_Shape S); - %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() - :param T: - :type T: TColStd_Array1OfReal & - :param S: - :type S: GeomAbs_Shape - :rtype: None -") Intervals; - void Intervals (TColStd_Array1OfReal & T,const GeomAbs_Shape S); - %feature("compactdefaultargs") Trim; - %feature("autodoc", " * Returns a curve equivalent of between parameters and . is used to test for 3d points confusion. //! If >= + /****************** Curve ******************/ + %feature("compactdefaultargs") Curve; + %feature("autodoc", "* Returns a pointer to the Curve inside the HCurve. + :rtype: Adaptor3d_Curve") Curve; + virtual const Adaptor3d_Curve & Curve (); - :param First: - :type First: float - :param Last: - :type Last: float - :param Tol: - :type Tol: float - :rtype: Handle_Adaptor3d_HCurve -") Trim; - Handle_Adaptor3d_HCurve Trim (const Standard_Real First,const Standard_Real Last,const Standard_Real Tol); - %feature("compactdefaultargs") IsClosed; - %feature("autodoc", " :rtype: bool -") IsClosed; - Standard_Boolean IsClosed (); - %feature("compactdefaultargs") IsPeriodic; - %feature("autodoc", " :rtype: bool -") IsPeriodic; - Standard_Boolean IsPeriodic (); - %feature("compactdefaultargs") Period; - %feature("autodoc", " :rtype: float -") Period; - Standard_Real Period (); - %feature("compactdefaultargs") Value; - %feature("autodoc", " :param U: - :type U: float - :rtype: gp_Pnt -") Value; - gp_Pnt Value (const Standard_Real U); + /****************** D0 ******************/ %feature("compactdefaultargs") D0; - %feature("autodoc", " :param U: + %feature("autodoc", ":param U: :type U: float :param P: :type P: gp_Pnt - :rtype: None -") D0; + :rtype: None") D0; void D0 (const Standard_Real U,gp_Pnt & P); + + /****************** D1 ******************/ %feature("compactdefaultargs") D1; - %feature("autodoc", " :param U: + %feature("autodoc", ":param U: :type U: float :param P: :type P: gp_Pnt :param V: :type V: gp_Vec - :rtype: None -") D1; + :rtype: None") D1; void D1 (const Standard_Real U,gp_Pnt & P,gp_Vec & V); + + /****************** D2 ******************/ %feature("compactdefaultargs") D2; - %feature("autodoc", " :param U: + %feature("autodoc", ":param U: :type U: float :param P: :type P: gp_Pnt @@ -456,11 +365,12 @@ class Adaptor3d_HCurve : public MMgt_TShared { :type V1: gp_Vec :param V2: :type V2: gp_Vec - :rtype: None -") D2; + :rtype: None") D2; void D2 (const Standard_Real U,gp_Pnt & P,gp_Vec & V1,gp_Vec & V2); + + /****************** D3 ******************/ %feature("compactdefaultargs") D3; - %feature("autodoc", " :param U: + %feature("autodoc", ":param U: :type U: float :param P: :type P: gp_Pnt @@ -470,243 +380,208 @@ class Adaptor3d_HCurve : public MMgt_TShared { :type V2: gp_Vec :param V3: :type V3: gp_Vec - :rtype: None -") D3; + :rtype: None") D3; void D3 (const Standard_Real U,gp_Pnt & P,gp_Vec & V1,gp_Vec & V2,gp_Vec & V3); + + /****************** DN ******************/ %feature("compactdefaultargs") DN; - %feature("autodoc", " :param U: + %feature("autodoc", ":param U: :type U: float :param N: :type N: int - :rtype: gp_Vec -") DN; + :rtype: gp_Vec") DN; gp_Vec DN (const Standard_Real U,const Standard_Integer N); - %feature("compactdefaultargs") Resolution; - %feature("autodoc", " :param R3d: - :type R3d: float - :rtype: float -") Resolution; - Standard_Real Resolution (const Standard_Real R3d); - %feature("compactdefaultargs") GetType; - %feature("autodoc", " :rtype: GeomAbs_CurveType -") GetType; - GeomAbs_CurveType GetType (); - %feature("compactdefaultargs") Line; - %feature("autodoc", " :rtype: gp_Lin -") Line; - gp_Lin Line (); - %feature("compactdefaultargs") Circle; - %feature("autodoc", " :rtype: gp_Circ -") Circle; - gp_Circ Circle (); - %feature("compactdefaultargs") Ellipse; - %feature("autodoc", " :rtype: gp_Elips -") Ellipse; - gp_Elips Ellipse (); - %feature("compactdefaultargs") Hyperbola; - %feature("autodoc", " :rtype: gp_Hypr -") Hyperbola; - gp_Hypr Hyperbola (); - %feature("compactdefaultargs") Parabola; - %feature("autodoc", " :rtype: gp_Parab -") Parabola; - gp_Parab Parabola (); + + /****************** Degree ******************/ %feature("compactdefaultargs") Degree; - %feature("autodoc", " :rtype: int -") Degree; + %feature("autodoc", ":rtype: int") Degree; Standard_Integer Degree (); - %feature("compactdefaultargs") IsRational; - %feature("autodoc", " :rtype: bool -") IsRational; - Standard_Boolean IsRational (); - %feature("compactdefaultargs") NbPoles; - %feature("autodoc", " :rtype: int -") NbPoles; - Standard_Integer NbPoles (); - %feature("compactdefaultargs") NbKnots; - %feature("autodoc", " :rtype: int -") NbKnots; - Standard_Integer NbKnots (); - %feature("compactdefaultargs") Bezier; - %feature("autodoc", " :rtype: Handle_Geom_BezierCurve -") Bezier; - Handle_Geom_BezierCurve Bezier (); - %feature("compactdefaultargs") BSpline; - %feature("autodoc", " :rtype: Handle_Geom_BSplineCurve -") BSpline; - Handle_Geom_BSplineCurve BSpline (); -}; + /****************** Ellipse ******************/ + %feature("compactdefaultargs") Ellipse; + %feature("autodoc", ":rtype: gp_Elips") Ellipse; + gp_Elips Ellipse (); -%make_alias(Adaptor3d_HCurve) - -%extend Adaptor3d_HCurve { - %pythoncode { - __repr__ = _dumps_object - } -}; -%nodefaultctor Adaptor3d_HOffsetCurve; -class Adaptor3d_HOffsetCurve : public Adaptor2d_HCurve2d { - public: - %feature("compactdefaultargs") Adaptor3d_HOffsetCurve; - %feature("autodoc", " :rtype: None -") Adaptor3d_HOffsetCurve; - Adaptor3d_HOffsetCurve (); - %feature("compactdefaultargs") Adaptor3d_HOffsetCurve; - %feature("autodoc", " :param C: - :type C: Adaptor3d_OffsetCurve & - :rtype: None -") Adaptor3d_HOffsetCurve; - Adaptor3d_HOffsetCurve (const Adaptor3d_OffsetCurve & C); - %feature("compactdefaultargs") Set; - %feature("autodoc", " :param C: - :type C: Adaptor3d_OffsetCurve & - :rtype: None -") Set; - void Set (const Adaptor3d_OffsetCurve & C); - %feature("compactdefaultargs") Curve2d; - %feature("autodoc", " :rtype: Adaptor2d_Curve2d -") Curve2d; - const Adaptor2d_Curve2d & Curve2d (); - %feature("compactdefaultargs") ChangeCurve2d; - %feature("autodoc", " :rtype: Adaptor3d_OffsetCurve -") ChangeCurve2d; - Adaptor3d_OffsetCurve & ChangeCurve2d (); -}; + /****************** FirstParameter ******************/ + %feature("compactdefaultargs") FirstParameter; + %feature("autodoc", ":rtype: float") FirstParameter; + Standard_Real FirstParameter (); + /****************** GetCurve ******************/ + %feature("compactdefaultargs") GetCurve; + %feature("autodoc", "* Returns a pointer to the Curve inside the HCurve. + :rtype: Adaptor3d_Curve") GetCurve; + virtual Adaptor3d_Curve & GetCurve (); -%make_alias(Adaptor3d_HOffsetCurve) + /****************** GetType ******************/ + %feature("compactdefaultargs") GetType; + %feature("autodoc", ":rtype: GeomAbs_CurveType") GetType; + GeomAbs_CurveType GetType (); -%extend Adaptor3d_HOffsetCurve { - %pythoncode { - __repr__ = _dumps_object - } -}; -%nodefaultctor Adaptor3d_HSurface; -class Adaptor3d_HSurface : public MMgt_TShared { - public: - %feature("compactdefaultargs") Surface; - %feature("autodoc", " * Returns a reference to the Surface inside the HSurface. + /****************** Hyperbola ******************/ + %feature("compactdefaultargs") Hyperbola; + %feature("autodoc", ":rtype: gp_Hypr") Hyperbola; + gp_Hypr Hyperbola (); - :rtype: Adaptor3d_Surface -") Surface; - virtual const Adaptor3d_Surface & Surface (); - %feature("compactdefaultargs") FirstUParameter; - %feature("autodoc", " :rtype: float -") FirstUParameter; - Standard_Real FirstUParameter (); - %feature("compactdefaultargs") LastUParameter; - %feature("autodoc", " :rtype: float -") LastUParameter; - Standard_Real LastUParameter (); - %feature("compactdefaultargs") FirstVParameter; - %feature("autodoc", " :rtype: float -") FirstVParameter; - Standard_Real FirstVParameter (); - %feature("compactdefaultargs") LastVParameter; - %feature("autodoc", " :rtype: float -") LastVParameter; - Standard_Real LastVParameter (); - %feature("compactdefaultargs") UContinuity; - %feature("autodoc", " :rtype: GeomAbs_Shape -") UContinuity; - GeomAbs_Shape UContinuity (); - %feature("compactdefaultargs") VContinuity; - %feature("autodoc", " :rtype: GeomAbs_Shape -") VContinuity; - GeomAbs_Shape VContinuity (); - %feature("compactdefaultargs") NbUIntervals; - %feature("autodoc", " :param S: - :type S: GeomAbs_Shape - :rtype: int -") NbUIntervals; - Standard_Integer NbUIntervals (const GeomAbs_Shape S); - %feature("compactdefaultargs") NbVIntervals; - %feature("autodoc", " :param S: - :type S: GeomAbs_Shape - :rtype: int -") NbVIntervals; - Standard_Integer NbVIntervals (const GeomAbs_Shape S); - %feature("compactdefaultargs") UIntervals; - %feature("autodoc", " :param T: + /****************** Intervals ******************/ + %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() + :param T: :type T: TColStd_Array1OfReal & :param S: :type S: GeomAbs_Shape - :rtype: None -") UIntervals; - void UIntervals (TColStd_Array1OfReal & T,const GeomAbs_Shape S); - %feature("compactdefaultargs") VIntervals; - %feature("autodoc", " :param T: - :type T: TColStd_Array1OfReal & - :param S: + :rtype: None") Intervals; + void Intervals (TColStd_Array1OfReal & T,const GeomAbs_Shape S); + + /****************** IsClosed ******************/ + %feature("compactdefaultargs") IsClosed; + %feature("autodoc", ":rtype: bool") IsClosed; + Standard_Boolean IsClosed (); + + /****************** IsPeriodic ******************/ + %feature("compactdefaultargs") IsPeriodic; + %feature("autodoc", ":rtype: bool") IsPeriodic; + Standard_Boolean IsPeriodic (); + + /****************** IsRational ******************/ + %feature("compactdefaultargs") IsRational; + %feature("autodoc", ":rtype: bool") IsRational; + Standard_Boolean IsRational (); + + /****************** LastParameter ******************/ + %feature("compactdefaultargs") LastParameter; + %feature("autodoc", ":rtype: float") LastParameter; + Standard_Real LastParameter (); + + /****************** Line ******************/ + %feature("compactdefaultargs") Line; + %feature("autodoc", ":rtype: gp_Lin") Line; + gp_Lin Line (); + + /****************** NbIntervals ******************/ + %feature("compactdefaultargs") NbIntervals; + %feature("autodoc", ":param S: :type S: GeomAbs_Shape - :rtype: None -") VIntervals; - void VIntervals (TColStd_Array1OfReal & T,const GeomAbs_Shape S); - %feature("compactdefaultargs") UTrim; - %feature("autodoc", " :param First: - :type First: float - :param Last: - :type Last: float - :param Tol: - :type Tol: float - :rtype: Handle_Adaptor3d_HSurface -") UTrim; - Handle_Adaptor3d_HSurface UTrim (const Standard_Real First,const Standard_Real Last,const Standard_Real Tol); - %feature("compactdefaultargs") VTrim; - %feature("autodoc", " :param First: + :rtype: int") NbIntervals; + Standard_Integer NbIntervals (const GeomAbs_Shape S); + + /****************** NbKnots ******************/ + %feature("compactdefaultargs") NbKnots; + %feature("autodoc", ":rtype: int") NbKnots; + Standard_Integer NbKnots (); + + /****************** NbPoles ******************/ + %feature("compactdefaultargs") NbPoles; + %feature("autodoc", ":rtype: int") NbPoles; + Standard_Integer NbPoles (); + + /****************** OffsetCurve ******************/ + %feature("compactdefaultargs") OffsetCurve; + %feature("autodoc", ":rtype: opencascade::handle") OffsetCurve; + opencascade::handle OffsetCurve (); + + /****************** Parabola ******************/ + %feature("compactdefaultargs") Parabola; + %feature("autodoc", ":rtype: gp_Parab") Parabola; + gp_Parab Parabola (); + + /****************** Period ******************/ + %feature("compactdefaultargs") Period; + %feature("autodoc", ":rtype: float") Period; + Standard_Real Period (); + + /****************** Resolution ******************/ + %feature("compactdefaultargs") Resolution; + %feature("autodoc", ":param R3d: + :type R3d: float + :rtype: float") Resolution; + Standard_Real Resolution (const Standard_Real R3d); + + /****************** Trim ******************/ + %feature("compactdefaultargs") Trim; + %feature("autodoc", "* Returns a curve equivalent of between parameters and . is used to test for 3d points confusion. //! If >= + :param First: :type First: float :param Last: :type Last: float :param Tol: :type Tol: float - :rtype: Handle_Adaptor3d_HSurface -") VTrim; - Handle_Adaptor3d_HSurface VTrim (const Standard_Real First,const Standard_Real Last,const Standard_Real Tol); - %feature("compactdefaultargs") IsUClosed; - %feature("autodoc", " :rtype: bool -") IsUClosed; - Standard_Boolean IsUClosed (); - %feature("compactdefaultargs") IsVClosed; - %feature("autodoc", " :rtype: bool -") IsVClosed; - Standard_Boolean IsVClosed (); - %feature("compactdefaultargs") IsUPeriodic; - %feature("autodoc", " :rtype: bool -") IsUPeriodic; - Standard_Boolean IsUPeriodic (); - %feature("compactdefaultargs") UPeriod; - %feature("autodoc", " :rtype: float -") UPeriod; - Standard_Real UPeriod (); - %feature("compactdefaultargs") IsVPeriodic; - %feature("autodoc", " :rtype: bool -") IsVPeriodic; - Standard_Boolean IsVPeriodic (); - %feature("compactdefaultargs") VPeriod; - %feature("autodoc", " :rtype: float -") VPeriod; - Standard_Real VPeriod (); + :rtype: opencascade::handle") Trim; + opencascade::handle Trim (const Standard_Real First,const Standard_Real Last,const Standard_Real Tol); + + /****************** Value ******************/ %feature("compactdefaultargs") Value; - %feature("autodoc", " :param U: + %feature("autodoc", ":param U: :type U: float - :param V: - :type V: float - :rtype: gp_Pnt -") Value; - gp_Pnt Value (const Standard_Real U,const Standard_Real V); + :rtype: 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 ******************/ + %feature("compactdefaultargs") AxeOfRevolution; + %feature("autodoc", ":rtype: gp_Ax1") AxeOfRevolution; + gp_Ax1 AxeOfRevolution (); + + /****************** BSpline ******************/ + %feature("compactdefaultargs") BSpline; + %feature("autodoc", ":rtype: opencascade::handle") BSpline; + opencascade::handle BSpline (); + + /****************** BasisCurve ******************/ + %feature("compactdefaultargs") BasisCurve; + %feature("autodoc", ":rtype: opencascade::handle") BasisCurve; + opencascade::handle BasisCurve (); + + /****************** BasisSurface ******************/ + %feature("compactdefaultargs") BasisSurface; + %feature("autodoc", ":rtype: opencascade::handle") BasisSurface; + opencascade::handle BasisSurface (); + + /****************** Bezier ******************/ + %feature("compactdefaultargs") Bezier; + %feature("autodoc", ":rtype: opencascade::handle") Bezier; + opencascade::handle Bezier (); + + /****************** Cone ******************/ + %feature("compactdefaultargs") Cone; + %feature("autodoc", ":rtype: gp_Cone") Cone; + gp_Cone Cone (); + + /****************** Cylinder ******************/ + %feature("compactdefaultargs") Cylinder; + %feature("autodoc", ":rtype: gp_Cylinder") Cylinder; + gp_Cylinder Cylinder (); + + /****************** D0 ******************/ %feature("compactdefaultargs") D0; - %feature("autodoc", " :param U: + %feature("autodoc", ":param U: :type U: float :param V: :type V: float :param P: :type P: gp_Pnt - :rtype: None -") D0; + :rtype: None") D0; void D0 (const Standard_Real U,const Standard_Real V,gp_Pnt & P); + + /****************** D1 ******************/ %feature("compactdefaultargs") D1; - %feature("autodoc", " :param U: + %feature("autodoc", ":param U: :type U: float :param V: :type V: float @@ -716,11 +591,12 @@ class Adaptor3d_HSurface : public MMgt_TShared { :type D1U: gp_Vec :param D1V: :type D1V: gp_Vec - :rtype: None -") D1; + :rtype: None") D1; void D1 (const Standard_Real U,const Standard_Real V,gp_Pnt & P,gp_Vec & D1U,gp_Vec & D1V); + + /****************** D2 ******************/ %feature("compactdefaultargs") D2; - %feature("autodoc", " :param U: + %feature("autodoc", ":param U: :type U: float :param V: :type V: float @@ -736,11 +612,12 @@ class Adaptor3d_HSurface : public MMgt_TShared { :type D2V: gp_Vec :param D2UV: :type D2UV: gp_Vec - :rtype: None -") D2; + :rtype: 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 ******************/ %feature("compactdefaultargs") D3; - %feature("autodoc", " :param U: + %feature("autodoc", ":param U: :type U: float :param V: :type V: float @@ -764,11 +641,12 @@ class Adaptor3d_HSurface : public MMgt_TShared { :type D3UUV: gp_Vec :param D3UVV: :type D3UVV: gp_Vec - :rtype: None -") D3; + :rtype: 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 ******************/ %feature("compactdefaultargs") DN; - %feature("autodoc", " :param U: + %feature("autodoc", ":param U: :type U: float :param V: :type V: float @@ -776,266 +654,304 @@ class Adaptor3d_HSurface : public MMgt_TShared { :type Nu: int :param Nv: :type Nv: int - :rtype: gp_Vec -") DN; + :rtype: gp_Vec") DN; gp_Vec DN (const Standard_Real U,const Standard_Real V,const Standard_Integer Nu,const Standard_Integer Nv); - %feature("compactdefaultargs") UResolution; - %feature("autodoc", " :param R3d: - :type R3d: float - :rtype: float -") UResolution; - Standard_Real UResolution (const Standard_Real R3d); - %feature("compactdefaultargs") VResolution; - %feature("autodoc", " :param R3d: - :type R3d: float - :rtype: float -") VResolution; - Standard_Real VResolution (const Standard_Real R3d); + + /****************** Direction ******************/ + %feature("compactdefaultargs") Direction; + %feature("autodoc", ":rtype: gp_Dir") Direction; + gp_Dir Direction (); + + /****************** FirstUParameter ******************/ + %feature("compactdefaultargs") FirstUParameter; + %feature("autodoc", ":rtype: float") FirstUParameter; + Standard_Real FirstUParameter (); + + /****************** FirstVParameter ******************/ + %feature("compactdefaultargs") FirstVParameter; + %feature("autodoc", ":rtype: float") FirstVParameter; + Standard_Real FirstVParameter (); + + /****************** GetType ******************/ %feature("compactdefaultargs") GetType; - %feature("autodoc", " :rtype: GeomAbs_SurfaceType -") GetType; + %feature("autodoc", ":rtype: GeomAbs_SurfaceType") GetType; GeomAbs_SurfaceType GetType (); + + /****************** IsUClosed ******************/ + %feature("compactdefaultargs") IsUClosed; + %feature("autodoc", ":rtype: bool") IsUClosed; + Standard_Boolean IsUClosed (); + + /****************** IsUPeriodic ******************/ + %feature("compactdefaultargs") IsUPeriodic; + %feature("autodoc", ":rtype: bool") IsUPeriodic; + Standard_Boolean IsUPeriodic (); + + /****************** IsURational ******************/ + %feature("compactdefaultargs") IsURational; + %feature("autodoc", ":rtype: bool") IsURational; + Standard_Boolean IsURational (); + + /****************** IsVClosed ******************/ + %feature("compactdefaultargs") IsVClosed; + %feature("autodoc", ":rtype: bool") IsVClosed; + Standard_Boolean IsVClosed (); + + /****************** IsVPeriodic ******************/ + %feature("compactdefaultargs") IsVPeriodic; + %feature("autodoc", ":rtype: bool") IsVPeriodic; + Standard_Boolean IsVPeriodic (); + + /****************** IsVRational ******************/ + %feature("compactdefaultargs") IsVRational; + %feature("autodoc", ":rtype: bool") IsVRational; + Standard_Boolean IsVRational (); + + /****************** LastUParameter ******************/ + %feature("compactdefaultargs") LastUParameter; + %feature("autodoc", ":rtype: float") LastUParameter; + Standard_Real LastUParameter (); + + /****************** LastVParameter ******************/ + %feature("compactdefaultargs") LastVParameter; + %feature("autodoc", ":rtype: float") LastVParameter; + Standard_Real LastVParameter (); + + /****************** NbUIntervals ******************/ + %feature("compactdefaultargs") NbUIntervals; + %feature("autodoc", ":param S: + :type S: GeomAbs_Shape + :rtype: int") NbUIntervals; + Standard_Integer NbUIntervals (const GeomAbs_Shape S); + + /****************** NbUKnots ******************/ + %feature("compactdefaultargs") NbUKnots; + %feature("autodoc", ":rtype: int") NbUKnots; + Standard_Integer NbUKnots (); + + /****************** NbUPoles ******************/ + %feature("compactdefaultargs") NbUPoles; + %feature("autodoc", ":rtype: int") NbUPoles; + Standard_Integer NbUPoles (); + + /****************** NbVIntervals ******************/ + %feature("compactdefaultargs") NbVIntervals; + %feature("autodoc", ":param S: + :type S: GeomAbs_Shape + :rtype: int") NbVIntervals; + Standard_Integer NbVIntervals (const GeomAbs_Shape S); + + /****************** NbVKnots ******************/ + %feature("compactdefaultargs") NbVKnots; + %feature("autodoc", ":rtype: int") NbVKnots; + Standard_Integer NbVKnots (); + + /****************** NbVPoles ******************/ + %feature("compactdefaultargs") NbVPoles; + %feature("autodoc", ":rtype: int") NbVPoles; + Standard_Integer NbVPoles (); + + /****************** OffsetValue ******************/ + %feature("compactdefaultargs") OffsetValue; + %feature("autodoc", ":rtype: float") OffsetValue; + Standard_Real OffsetValue (); + + /****************** Plane ******************/ %feature("compactdefaultargs") Plane; - %feature("autodoc", " :rtype: gp_Pln -") Plane; + %feature("autodoc", ":rtype: gp_Pln") Plane; gp_Pln Plane (); - %feature("compactdefaultargs") Cylinder; - %feature("autodoc", " :rtype: gp_Cylinder -") Cylinder; - gp_Cylinder Cylinder (); - %feature("compactdefaultargs") Cone; - %feature("autodoc", " :rtype: gp_Cone -") Cone; - gp_Cone Cone (); + + /****************** Sphere ******************/ %feature("compactdefaultargs") Sphere; - %feature("autodoc", " :rtype: gp_Sphere -") Sphere; + %feature("autodoc", ":rtype: gp_Sphere") Sphere; gp_Sphere Sphere (); + + /****************** Surface ******************/ + %feature("compactdefaultargs") Surface; + %feature("autodoc", "* Returns a reference to the Surface inside the HSurface. + :rtype: Adaptor3d_Surface") Surface; + virtual const Adaptor3d_Surface & Surface (); + + /****************** Torus ******************/ %feature("compactdefaultargs") Torus; - %feature("autodoc", " :rtype: gp_Torus -") Torus; + %feature("autodoc", ":rtype: gp_Torus") Torus; gp_Torus Torus (); + + /****************** UContinuity ******************/ + %feature("compactdefaultargs") UContinuity; + %feature("autodoc", ":rtype: GeomAbs_Shape") UContinuity; + GeomAbs_Shape UContinuity (); + + /****************** UDegree ******************/ %feature("compactdefaultargs") UDegree; - %feature("autodoc", " :rtype: int -") UDegree; + %feature("autodoc", ":rtype: int") UDegree; Standard_Integer UDegree (); - %feature("compactdefaultargs") NbUPoles; - %feature("autodoc", " :rtype: int -") NbUPoles; - Standard_Integer NbUPoles (); - %feature("compactdefaultargs") VDegree; - %feature("autodoc", " :rtype: int -") VDegree; - Standard_Integer VDegree (); - %feature("compactdefaultargs") NbVPoles; - %feature("autodoc", " :rtype: int -") NbVPoles; - Standard_Integer NbVPoles (); - %feature("compactdefaultargs") NbUKnots; - %feature("autodoc", " :rtype: int -") NbUKnots; - Standard_Integer NbUKnots (); - %feature("compactdefaultargs") NbVKnots; - %feature("autodoc", " :rtype: int -") NbVKnots; - Standard_Integer NbVKnots (); - %feature("compactdefaultargs") IsURational; - %feature("autodoc", " :rtype: bool -") IsURational; - Standard_Boolean IsURational (); - %feature("compactdefaultargs") IsVRational; - %feature("autodoc", " :rtype: bool -") IsVRational; - Standard_Boolean IsVRational (); - %feature("compactdefaultargs") Bezier; - %feature("autodoc", " :rtype: Handle_Geom_BezierSurface -") Bezier; - Handle_Geom_BezierSurface Bezier (); - %feature("compactdefaultargs") BSpline; - %feature("autodoc", " :rtype: Handle_Geom_BSplineSurface -") BSpline; - Handle_Geom_BSplineSurface BSpline (); - %feature("compactdefaultargs") AxeOfRevolution; - %feature("autodoc", " :rtype: gp_Ax1 -") AxeOfRevolution; - gp_Ax1 AxeOfRevolution (); - %feature("compactdefaultargs") Direction; - %feature("autodoc", " :rtype: gp_Dir -") Direction; - gp_Dir Direction (); - %feature("compactdefaultargs") BasisCurve; - %feature("autodoc", " :rtype: Handle_Adaptor3d_HCurve -") BasisCurve; - Handle_Adaptor3d_HCurve BasisCurve (); - %feature("compactdefaultargs") BasisSurface; - %feature("autodoc", " :rtype: Handle_Adaptor3d_HSurface -") BasisSurface; - Handle_Adaptor3d_HSurface BasisSurface (); - %feature("compactdefaultargs") OffsetValue; - %feature("autodoc", " :rtype: float -") OffsetValue; - Standard_Real OffsetValue (); -}; + /****************** UIntervals ******************/ + %feature("compactdefaultargs") UIntervals; + %feature("autodoc", ":param T: + :type T: TColStd_Array1OfReal & + :param S: + :type S: GeomAbs_Shape + :rtype: None") UIntervals; + void UIntervals (TColStd_Array1OfReal & T,const GeomAbs_Shape S); -%make_alias(Adaptor3d_HSurface) + /****************** UPeriod ******************/ + %feature("compactdefaultargs") UPeriod; + %feature("autodoc", ":rtype: float") UPeriod; + Standard_Real UPeriod (); -%extend Adaptor3d_HSurface { - %pythoncode { - __repr__ = _dumps_object - } -}; -class Adaptor3d_HSurfaceTool { - public: - %feature("compactdefaultargs") FirstUParameter; - %feature("autodoc", " :param S: - :type S: Handle_Adaptor3d_HSurface & - :rtype: float -") FirstUParameter; - static Standard_Real FirstUParameter (const Handle_Adaptor3d_HSurface & S); - %feature("compactdefaultargs") FirstVParameter; - %feature("autodoc", " :param S: - :type S: Handle_Adaptor3d_HSurface & - :rtype: float -") FirstVParameter; - static Standard_Real FirstVParameter (const Handle_Adaptor3d_HSurface & S); - %feature("compactdefaultargs") LastUParameter; - %feature("autodoc", " :param S: - :type S: Handle_Adaptor3d_HSurface & - :rtype: float -") LastUParameter; - static Standard_Real LastUParameter (const Handle_Adaptor3d_HSurface & S); - %feature("compactdefaultargs") LastVParameter; - %feature("autodoc", " :param S: - :type S: Handle_Adaptor3d_HSurface & - :rtype: float -") LastVParameter; - static Standard_Real LastVParameter (const Handle_Adaptor3d_HSurface & S); - %feature("compactdefaultargs") NbUIntervals; - %feature("autodoc", " :param S: - :type S: Handle_Adaptor3d_HSurface & - :param Sh: - :type Sh: GeomAbs_Shape - :rtype: int -") NbUIntervals; - static Standard_Integer NbUIntervals (const Handle_Adaptor3d_HSurface & S,const GeomAbs_Shape Sh); - %feature("compactdefaultargs") NbVIntervals; - %feature("autodoc", " :param S: - :type S: Handle_Adaptor3d_HSurface & - :param Sh: - :type Sh: GeomAbs_Shape - :rtype: int -") NbVIntervals; - static Standard_Integer NbVIntervals (const Handle_Adaptor3d_HSurface & S,const GeomAbs_Shape Sh); - %feature("compactdefaultargs") UIntervals; - %feature("autodoc", " :param S: - :type S: Handle_Adaptor3d_HSurface & - :param T: - :type T: TColStd_Array1OfReal & - :param Sh: - :type Sh: GeomAbs_Shape - :rtype: void -") UIntervals; - static void UIntervals (const Handle_Adaptor3d_HSurface & S,TColStd_Array1OfReal & T,const GeomAbs_Shape Sh); - %feature("compactdefaultargs") VIntervals; - %feature("autodoc", " :param S: - :type S: Handle_Adaptor3d_HSurface & - :param T: - :type T: TColStd_Array1OfReal & - :param Sh: - :type Sh: GeomAbs_Shape - :rtype: void -") VIntervals; - static void VIntervals (const Handle_Adaptor3d_HSurface & S,TColStd_Array1OfReal & T,const GeomAbs_Shape Sh); - %feature("compactdefaultargs") UTrim; - %feature("autodoc", " * If >= + /****************** UResolution ******************/ + %feature("compactdefaultargs") UResolution; + %feature("autodoc", ":param R3d: + :type R3d: float + :rtype: float") UResolution; + Standard_Real UResolution (const Standard_Real R3d); - :param S: - :type S: Handle_Adaptor3d_HSurface & - :param First: + /****************** UTrim ******************/ + %feature("compactdefaultargs") UTrim; + %feature("autodoc", ":param First: :type First: float :param Last: :type Last: float :param Tol: :type Tol: float - :rtype: Handle_Adaptor3d_HSurface -") UTrim; - static Handle_Adaptor3d_HSurface UTrim (const Handle_Adaptor3d_HSurface & S,const Standard_Real First,const Standard_Real Last,const Standard_Real Tol); - %feature("compactdefaultargs") VTrim; - %feature("autodoc", " * If >= + :rtype: opencascade::handle") UTrim; + opencascade::handle UTrim (const Standard_Real First,const Standard_Real Last,const Standard_Real Tol); + + /****************** VContinuity ******************/ + %feature("compactdefaultargs") VContinuity; + %feature("autodoc", ":rtype: GeomAbs_Shape") VContinuity; + GeomAbs_Shape VContinuity (); + + /****************** VDegree ******************/ + %feature("compactdefaultargs") VDegree; + %feature("autodoc", ":rtype: int") VDegree; + Standard_Integer VDegree (); + /****************** VIntervals ******************/ + %feature("compactdefaultargs") VIntervals; + %feature("autodoc", ":param T: + :type T: TColStd_Array1OfReal & :param S: - :type S: Handle_Adaptor3d_HSurface & - :param First: + :type S: GeomAbs_Shape + :rtype: None") VIntervals; + void VIntervals (TColStd_Array1OfReal & T,const GeomAbs_Shape S); + + /****************** VPeriod ******************/ + %feature("compactdefaultargs") VPeriod; + %feature("autodoc", ":rtype: float") VPeriod; + Standard_Real VPeriod (); + + /****************** VResolution ******************/ + %feature("compactdefaultargs") VResolution; + %feature("autodoc", ":param R3d: + :type R3d: float + :rtype: float") VResolution; + Standard_Real VResolution (const Standard_Real R3d); + + /****************** VTrim ******************/ + %feature("compactdefaultargs") VTrim; + %feature("autodoc", ":param First: :type First: float :param Last: :type Last: float :param Tol: :type Tol: float - :rtype: Handle_Adaptor3d_HSurface -") VTrim; - static Handle_Adaptor3d_HSurface VTrim (const Handle_Adaptor3d_HSurface & S,const Standard_Real First,const Standard_Real Last,const Standard_Real Tol); - %feature("compactdefaultargs") IsUClosed; - %feature("autodoc", " :param S: - :type S: Handle_Adaptor3d_HSurface & - :rtype: bool -") IsUClosed; - static Standard_Boolean IsUClosed (const Handle_Adaptor3d_HSurface & S); - %feature("compactdefaultargs") IsVClosed; - %feature("autodoc", " :param S: - :type S: Handle_Adaptor3d_HSurface & - :rtype: bool -") IsVClosed; - static Standard_Boolean IsVClosed (const Handle_Adaptor3d_HSurface & S); - %feature("compactdefaultargs") IsUPeriodic; - %feature("autodoc", " :param S: - :type S: Handle_Adaptor3d_HSurface & - :rtype: bool -") IsUPeriodic; - static Standard_Boolean IsUPeriodic (const Handle_Adaptor3d_HSurface & S); - %feature("compactdefaultargs") UPeriod; - %feature("autodoc", " :param S: - :type S: Handle_Adaptor3d_HSurface & - :rtype: float -") UPeriod; - static Standard_Real UPeriod (const Handle_Adaptor3d_HSurface & S); - %feature("compactdefaultargs") IsVPeriodic; - %feature("autodoc", " :param S: - :type S: Handle_Adaptor3d_HSurface & - :rtype: bool -") IsVPeriodic; - static Standard_Boolean IsVPeriodic (const Handle_Adaptor3d_HSurface & S); - %feature("compactdefaultargs") VPeriod; - %feature("autodoc", " :param S: - :type S: Handle_Adaptor3d_HSurface & - :rtype: float -") VPeriod; - static Standard_Real VPeriod (const Handle_Adaptor3d_HSurface & S); + :rtype: opencascade::handle") VTrim; + opencascade::handle VTrim (const Standard_Real First,const Standard_Real Last,const Standard_Real Tol); + + /****************** Value ******************/ %feature("compactdefaultargs") Value; - %feature("autodoc", " :param S: - :type S: Handle_Adaptor3d_HSurface & - :param u: - :type u: float - :param v: - :type v: float - :rtype: gp_Pnt -") Value; - static gp_Pnt Value (const Handle_Adaptor3d_HSurface & S,const Standard_Real u,const Standard_Real v); + %feature("autodoc", ":param U: + :type U: float + :param V: + :type V: float + :rtype: gp_Pnt") Value; + gp_Pnt Value (const Standard_Real U,const Standard_Real V); + +}; + + +%make_alias(Adaptor3d_HSurface) + +%extend Adaptor3d_HSurface { + %pythoncode { + __repr__ = _dumps_object + } +}; + +/******************************* +* class Adaptor3d_HSurfaceTool * +*******************************/ +class Adaptor3d_HSurfaceTool { + public: + /****************** AxeOfRevolution ******************/ + %feature("compactdefaultargs") AxeOfRevolution; + %feature("autodoc", ":param S: + :type S: opencascade::handle & + :rtype: gp_Ax1") AxeOfRevolution; + static gp_Ax1 AxeOfRevolution (const opencascade::handle & S); + + /****************** BSpline ******************/ + %feature("compactdefaultargs") BSpline; + %feature("autodoc", ":param S: + :type S: opencascade::handle & + :rtype: opencascade::handle") BSpline; + static opencascade::handle BSpline (const opencascade::handle & S); + + /****************** BasisCurve ******************/ + %feature("compactdefaultargs") BasisCurve; + %feature("autodoc", ":param S: + :type S: opencascade::handle & + :rtype: opencascade::handle") BasisCurve; + static opencascade::handle BasisCurve (const opencascade::handle & S); + + /****************** BasisSurface ******************/ + %feature("compactdefaultargs") BasisSurface; + %feature("autodoc", ":param S: + :type S: opencascade::handle & + :rtype: opencascade::handle") BasisSurface; + static opencascade::handle BasisSurface (const opencascade::handle & S); + + /****************** Bezier ******************/ + %feature("compactdefaultargs") Bezier; + %feature("autodoc", ":param S: + :type S: opencascade::handle & + :rtype: opencascade::handle") Bezier; + static opencascade::handle Bezier (const opencascade::handle & S); + + /****************** Cone ******************/ + %feature("compactdefaultargs") Cone; + %feature("autodoc", ":param S: + :type S: opencascade::handle & + :rtype: gp_Cone") Cone; + static gp_Cone Cone (const opencascade::handle & S); + + /****************** Cylinder ******************/ + %feature("compactdefaultargs") Cylinder; + %feature("autodoc", ":param S: + :type S: opencascade::handle & + :rtype: gp_Cylinder") Cylinder; + static gp_Cylinder Cylinder (const opencascade::handle & S); + + /****************** D0 ******************/ %feature("compactdefaultargs") D0; - %feature("autodoc", " :param S: - :type S: Handle_Adaptor3d_HSurface & + %feature("autodoc", ":param S: + :type S: opencascade::handle & :param u: :type u: float :param v: :type v: float :param P: :type P: gp_Pnt - :rtype: void -") D0; - static void D0 (const Handle_Adaptor3d_HSurface & S,const Standard_Real u,const Standard_Real v,gp_Pnt & P); + :rtype: None") D0; + static void D0 (const opencascade::handle & S,const Standard_Real u,const Standard_Real v,gp_Pnt & P); + + /****************** D1 ******************/ %feature("compactdefaultargs") D1; - %feature("autodoc", " :param S: - :type S: Handle_Adaptor3d_HSurface & + %feature("autodoc", ":param S: + :type S: opencascade::handle & :param u: :type u: float :param v: @@ -1046,12 +962,13 @@ class Adaptor3d_HSurfaceTool { :type D1u: gp_Vec :param D1v: :type D1v: gp_Vec - :rtype: void -") D1; - static void D1 (const Handle_Adaptor3d_HSurface & S,const Standard_Real u,const Standard_Real v,gp_Pnt & P,gp_Vec & D1u,gp_Vec & D1v); + :rtype: 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); + + /****************** D2 ******************/ %feature("compactdefaultargs") D2; - %feature("autodoc", " :param S: - :type S: Handle_Adaptor3d_HSurface & + %feature("autodoc", ":param S: + :type S: opencascade::handle & :param u: :type u: float :param v: @@ -1068,12 +985,13 @@ class Adaptor3d_HSurfaceTool { :type D2V: gp_Vec :param D2UV: :type D2UV: gp_Vec - :rtype: void -") D2; - static void D2 (const Handle_Adaptor3d_HSurface & 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); + :rtype: 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); + + /****************** D3 ******************/ %feature("compactdefaultargs") D3; - %feature("autodoc", " :param S: - :type S: Handle_Adaptor3d_HSurface & + %feature("autodoc", ":param S: + :type S: opencascade::handle & :param u: :type u: float :param v: @@ -1098,12 +1016,13 @@ class Adaptor3d_HSurfaceTool { :type D3UUV: gp_Vec :param D3UVV: :type D3UVV: gp_Vec - :rtype: void -") D3; - static void D3 (const Handle_Adaptor3d_HSurface & 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); + :rtype: 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); + + /****************** DN ******************/ %feature("compactdefaultargs") DN; - %feature("autodoc", " :param S: - :type S: Handle_Adaptor3d_HSurface & + %feature("autodoc", ":param S: + :type S: opencascade::handle & :param u: :type u: float :param v: @@ -1112,135 +1031,254 @@ class Adaptor3d_HSurfaceTool { :type Nu: int :param Nv: :type Nv: int - :rtype: gp_Vec -") DN; - static gp_Vec DN (const Handle_Adaptor3d_HSurface & S,const Standard_Real u,const Standard_Real v,const Standard_Integer Nu,const Standard_Integer Nv); - %feature("compactdefaultargs") UResolution; - %feature("autodoc", " :param S: - :type S: Handle_Adaptor3d_HSurface & - :param R3d: - :type R3d: float - :rtype: float -") UResolution; - static Standard_Real UResolution (const Handle_Adaptor3d_HSurface & S,const Standard_Real R3d); - %feature("compactdefaultargs") VResolution; - %feature("autodoc", " :param S: - :type S: Handle_Adaptor3d_HSurface & - :param R3d: - :type R3d: float - :rtype: float -") VResolution; - static Standard_Real VResolution (const Handle_Adaptor3d_HSurface & S,const Standard_Real R3d); - %feature("compactdefaultargs") GetType; - %feature("autodoc", " :param S: - :type S: Handle_Adaptor3d_HSurface & - :rtype: GeomAbs_SurfaceType -") GetType; - static GeomAbs_SurfaceType GetType (const Handle_Adaptor3d_HSurface & S); - %feature("compactdefaultargs") Plane; - %feature("autodoc", " :param S: - :type S: Handle_Adaptor3d_HSurface & - :rtype: gp_Pln -") Plane; - static gp_Pln Plane (const Handle_Adaptor3d_HSurface & S); - %feature("compactdefaultargs") Cylinder; - %feature("autodoc", " :param S: - :type S: Handle_Adaptor3d_HSurface & - :rtype: gp_Cylinder -") Cylinder; - static gp_Cylinder Cylinder (const Handle_Adaptor3d_HSurface & S); - %feature("compactdefaultargs") Cone; - %feature("autodoc", " :param S: - :type S: Handle_Adaptor3d_HSurface & - :rtype: gp_Cone -") Cone; - static gp_Cone Cone (const Handle_Adaptor3d_HSurface & S); - %feature("compactdefaultargs") Torus; - %feature("autodoc", " :param S: - :type S: Handle_Adaptor3d_HSurface & - :rtype: gp_Torus -") Torus; - static gp_Torus Torus (const Handle_Adaptor3d_HSurface & S); - %feature("compactdefaultargs") Sphere; - %feature("autodoc", " :param S: - :type S: Handle_Adaptor3d_HSurface & - :rtype: gp_Sphere -") Sphere; - static gp_Sphere Sphere (const Handle_Adaptor3d_HSurface & S); - %feature("compactdefaultargs") Bezier; - %feature("autodoc", " :param S: - :type S: Handle_Adaptor3d_HSurface & - :rtype: Handle_Geom_BezierSurface -") Bezier; - static Handle_Geom_BezierSurface Bezier (const Handle_Adaptor3d_HSurface & S); - %feature("compactdefaultargs") BSpline; - %feature("autodoc", " :param S: - :type S: Handle_Adaptor3d_HSurface & - :rtype: Handle_Geom_BSplineSurface -") BSpline; - static Handle_Geom_BSplineSurface BSpline (const Handle_Adaptor3d_HSurface & S); - %feature("compactdefaultargs") AxeOfRevolution; - %feature("autodoc", " :param S: - :type S: Handle_Adaptor3d_HSurface & - :rtype: gp_Ax1 -") AxeOfRevolution; - static gp_Ax1 AxeOfRevolution (const Handle_Adaptor3d_HSurface & S); + :rtype: 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); + + /****************** Direction ******************/ %feature("compactdefaultargs") Direction; - %feature("autodoc", " :param S: - :type S: Handle_Adaptor3d_HSurface & - :rtype: gp_Dir -") Direction; - static gp_Dir Direction (const Handle_Adaptor3d_HSurface & S); - %feature("compactdefaultargs") BasisCurve; - %feature("autodoc", " :param S: - :type S: Handle_Adaptor3d_HSurface & - :rtype: Handle_Adaptor3d_HCurve -") BasisCurve; - static Handle_Adaptor3d_HCurve BasisCurve (const Handle_Adaptor3d_HSurface & S); - %feature("compactdefaultargs") BasisSurface; - %feature("autodoc", " :param S: - :type S: Handle_Adaptor3d_HSurface & - :rtype: Handle_Adaptor3d_HSurface -") BasisSurface; - static Handle_Adaptor3d_HSurface BasisSurface (const Handle_Adaptor3d_HSurface & S); - %feature("compactdefaultargs") OffsetValue; - %feature("autodoc", " :param S: - :type S: Handle_Adaptor3d_HSurface & - :rtype: float -") OffsetValue; - static Standard_Real OffsetValue (const Handle_Adaptor3d_HSurface & S); + %feature("autodoc", ":param S: + :type S: opencascade::handle & + :rtype: gp_Dir") Direction; + static gp_Dir Direction (const opencascade::handle & S); + + /****************** FirstUParameter ******************/ + %feature("compactdefaultargs") FirstUParameter; + %feature("autodoc", ":param S: + :type S: opencascade::handle & + :rtype: float") FirstUParameter; + static Standard_Real FirstUParameter (const opencascade::handle & S); + + /****************** FirstVParameter ******************/ + %feature("compactdefaultargs") FirstVParameter; + %feature("autodoc", ":param S: + :type S: opencascade::handle & + :rtype: float") FirstVParameter; + static Standard_Real FirstVParameter (const opencascade::handle & S); + + /****************** GetType ******************/ + %feature("compactdefaultargs") GetType; + %feature("autodoc", ":param S: + :type S: opencascade::handle & + :rtype: GeomAbs_SurfaceType") GetType; + static GeomAbs_SurfaceType GetType (const opencascade::handle & S); + + /****************** IsUClosed ******************/ + %feature("compactdefaultargs") IsUClosed; + %feature("autodoc", ":param S: + :type S: opencascade::handle & + :rtype: bool") IsUClosed; + static Standard_Boolean IsUClosed (const opencascade::handle & S); + + /****************** IsUPeriodic ******************/ + %feature("compactdefaultargs") IsUPeriodic; + %feature("autodoc", ":param S: + :type S: opencascade::handle & + :rtype: bool") IsUPeriodic; + static Standard_Boolean IsUPeriodic (const opencascade::handle & S); + + /****************** IsVClosed ******************/ + %feature("compactdefaultargs") IsVClosed; + %feature("autodoc", ":param S: + :type S: opencascade::handle & + :rtype: bool") IsVClosed; + static Standard_Boolean IsVClosed (const opencascade::handle & S); + + /****************** IsVPeriodic ******************/ + %feature("compactdefaultargs") IsVPeriodic; + %feature("autodoc", ":param S: + :type S: opencascade::handle & + :rtype: bool") IsVPeriodic; + static Standard_Boolean IsVPeriodic (const opencascade::handle & S); + + /****************** LastUParameter ******************/ + %feature("compactdefaultargs") LastUParameter; + %feature("autodoc", ":param S: + :type S: opencascade::handle & + :rtype: float") LastUParameter; + static Standard_Real LastUParameter (const opencascade::handle & S); + + /****************** LastVParameter ******************/ + %feature("compactdefaultargs") LastVParameter; + %feature("autodoc", ":param S: + :type S: opencascade::handle & + :rtype: float") LastVParameter; + static Standard_Real LastVParameter (const opencascade::handle & S); + + /****************** NbSamplesU ******************/ %feature("compactdefaultargs") NbSamplesU; - %feature("autodoc", " :param S: - :type S: Handle_Adaptor3d_HSurface & - :rtype: int -") NbSamplesU; - static Standard_Integer NbSamplesU (const Handle_Adaptor3d_HSurface & S); - %feature("compactdefaultargs") NbSamplesV; - %feature("autodoc", " :param S: - :type S: Handle_Adaptor3d_HSurface & - :rtype: int -") NbSamplesV; - static Standard_Integer NbSamplesV (const Handle_Adaptor3d_HSurface & S); + %feature("autodoc", ":param S: + :type S: opencascade::handle & + :rtype: int") NbSamplesU; + static Standard_Integer NbSamplesU (const opencascade::handle & S); + + /****************** NbSamplesU ******************/ %feature("compactdefaultargs") NbSamplesU; - %feature("autodoc", " :param S: - :type S: Handle_Adaptor3d_HSurface & + %feature("autodoc", ":param S: + :type S: opencascade::handle & :param u1: :type u1: float :param u2: :type u2: float - :rtype: int -") NbSamplesU; - static Standard_Integer NbSamplesU (const Handle_Adaptor3d_HSurface & S,const Standard_Real u1,const Standard_Real u2); + :rtype: int") NbSamplesU; + static Standard_Integer NbSamplesU (const opencascade::handle & S,const Standard_Real u1,const Standard_Real u2); + + /****************** NbSamplesV ******************/ + %feature("compactdefaultargs") NbSamplesV; + %feature("autodoc", ":param S: + :type S: opencascade::handle & + :rtype: int") NbSamplesV; + static Standard_Integer NbSamplesV (const opencascade::handle & S); + + /****************** NbSamplesV ******************/ %feature("compactdefaultargs") NbSamplesV; - %feature("autodoc", " :param S: - :type S: Handle_Adaptor3d_HSurface & + %feature("autodoc", ":param S: + :type S: opencascade::handle & :param v1: :type v1: float :param v2: :type v2: float - :rtype: int -") NbSamplesV; - static Standard_Integer NbSamplesV (const Handle_Adaptor3d_HSurface & S,const Standard_Real v1,const Standard_Real v2); + :rtype: int") NbSamplesV; + static Standard_Integer NbSamplesV (const opencascade::handle & S,const Standard_Real v1,const Standard_Real v2); + + /****************** NbUIntervals ******************/ + %feature("compactdefaultargs") NbUIntervals; + %feature("autodoc", ":param S: + :type S: opencascade::handle & + :param Sh: + :type Sh: GeomAbs_Shape + :rtype: int") NbUIntervals; + static Standard_Integer NbUIntervals (const opencascade::handle & S,const GeomAbs_Shape Sh); + + /****************** NbVIntervals ******************/ + %feature("compactdefaultargs") NbVIntervals; + %feature("autodoc", ":param S: + :type S: opencascade::handle & + :param Sh: + :type Sh: GeomAbs_Shape + :rtype: int") NbVIntervals; + static Standard_Integer NbVIntervals (const opencascade::handle & S,const GeomAbs_Shape Sh); + + /****************** OffsetValue ******************/ + %feature("compactdefaultargs") OffsetValue; + %feature("autodoc", ":param S: + :type S: opencascade::handle & + :rtype: float") OffsetValue; + static Standard_Real OffsetValue (const opencascade::handle & S); + + /****************** Plane ******************/ + %feature("compactdefaultargs") Plane; + %feature("autodoc", ":param S: + :type S: opencascade::handle & + :rtype: gp_Pln") Plane; + static gp_Pln Plane (const opencascade::handle & S); + + /****************** Sphere ******************/ + %feature("compactdefaultargs") Sphere; + %feature("autodoc", ":param S: + :type S: opencascade::handle & + :rtype: gp_Sphere") Sphere; + static gp_Sphere Sphere (const opencascade::handle & S); + + /****************** Torus ******************/ + %feature("compactdefaultargs") Torus; + %feature("autodoc", ":param S: + :type S: opencascade::handle & + :rtype: gp_Torus") Torus; + static gp_Torus Torus (const opencascade::handle & S); + + /****************** UIntervals ******************/ + %feature("compactdefaultargs") UIntervals; + %feature("autodoc", ":param S: + :type S: opencascade::handle & + :param T: + :type T: TColStd_Array1OfReal & + :param Sh: + :type Sh: GeomAbs_Shape + :rtype: None") UIntervals; + static void UIntervals (const opencascade::handle & S,TColStd_Array1OfReal & T,const GeomAbs_Shape Sh); + + /****************** UPeriod ******************/ + %feature("compactdefaultargs") UPeriod; + %feature("autodoc", ":param S: + :type S: opencascade::handle & + :rtype: float") UPeriod; + static Standard_Real UPeriod (const opencascade::handle & S); + + /****************** UResolution ******************/ + %feature("compactdefaultargs") UResolution; + %feature("autodoc", ":param S: + :type S: opencascade::handle & + :param R3d: + :type R3d: float + :rtype: float") UResolution; + static Standard_Real UResolution (const opencascade::handle & S,const Standard_Real R3d); + + /****************** UTrim ******************/ + %feature("compactdefaultargs") UTrim; + %feature("autodoc", "* If >= + :param S: + :type S: opencascade::handle & + :param First: + :type First: float + :param Last: + :type Last: float + :param Tol: + :type Tol: float + :rtype: opencascade::handle") UTrim; + static opencascade::handle UTrim (const opencascade::handle & S,const Standard_Real First,const Standard_Real Last,const Standard_Real Tol); + + /****************** VIntervals ******************/ + %feature("compactdefaultargs") VIntervals; + %feature("autodoc", ":param S: + :type S: opencascade::handle & + :param T: + :type T: TColStd_Array1OfReal & + :param Sh: + :type Sh: GeomAbs_Shape + :rtype: None") VIntervals; + static void VIntervals (const opencascade::handle & S,TColStd_Array1OfReal & T,const GeomAbs_Shape Sh); + + /****************** VPeriod ******************/ + %feature("compactdefaultargs") VPeriod; + %feature("autodoc", ":param S: + :type S: opencascade::handle & + :rtype: float") VPeriod; + static Standard_Real VPeriod (const opencascade::handle & S); + + /****************** VResolution ******************/ + %feature("compactdefaultargs") VResolution; + %feature("autodoc", ":param S: + :type S: opencascade::handle & + :param R3d: + :type R3d: float + :rtype: float") VResolution; + static Standard_Real VResolution (const opencascade::handle & S,const Standard_Real R3d); + + /****************** VTrim ******************/ + %feature("compactdefaultargs") VTrim; + %feature("autodoc", "* If >= + :param S: + :type S: opencascade::handle & + :param First: + :type First: float + :param Last: + :type Last: float + :param Tol: + :type Tol: float + :rtype: opencascade::handle") VTrim; + static opencascade::handle VTrim (const opencascade::handle & S,const Standard_Real First,const Standard_Real Last,const Standard_Real Tol); + + /****************** Value ******************/ + %feature("compactdefaultargs") Value; + %feature("autodoc", ":param S: + :type S: opencascade::handle & + :param u: + :type u: float + :param v: + :type v: float + :rtype: gp_Pnt") Value; + static gp_Pnt Value (const opencascade::handle & S,const Standard_Real u,const Standard_Real v); + }; @@ -1249,51 +1287,61 @@ class Adaptor3d_HSurfaceTool { __repr__ = _dumps_object } }; + +/************************** +* class Adaptor3d_HVertex * +**************************/ %nodefaultctor Adaptor3d_HVertex; -class Adaptor3d_HVertex : public MMgt_TShared { +class Adaptor3d_HVertex : public Standard_Transient { public: + /****************** Adaptor3d_HVertex ******************/ %feature("compactdefaultargs") Adaptor3d_HVertex; - %feature("autodoc", " :rtype: None -") Adaptor3d_HVertex; + %feature("autodoc", ":rtype: None") Adaptor3d_HVertex; Adaptor3d_HVertex (); + + /****************** Adaptor3d_HVertex ******************/ %feature("compactdefaultargs") Adaptor3d_HVertex; - %feature("autodoc", " :param P: + %feature("autodoc", ":param P: :type P: gp_Pnt2d :param Ori: :type Ori: TopAbs_Orientation :param Resolution: :type Resolution: float - :rtype: None -") Adaptor3d_HVertex; + :rtype: None") Adaptor3d_HVertex; Adaptor3d_HVertex (const gp_Pnt2d & P,const TopAbs_Orientation Ori,const Standard_Real Resolution); - %feature("compactdefaultargs") Value; - %feature("autodoc", " :rtype: gp_Pnt2d -") Value; - virtual gp_Pnt2d Value (); - %feature("compactdefaultargs") Parameter; - %feature("autodoc", " :param C: - :type C: Handle_Adaptor2d_HCurve2d & - :rtype: float -") Parameter; - virtual Standard_Real Parameter (const Handle_Adaptor2d_HCurve2d & C); - %feature("compactdefaultargs") Resolution; - %feature("autodoc", " * Parametric resolution (2d). - :param C: - :type C: Handle_Adaptor2d_HCurve2d & - :rtype: float -") Resolution; - virtual Standard_Real Resolution (const Handle_Adaptor2d_HCurve2d & C); + /****************** IsSame ******************/ + %feature("compactdefaultargs") IsSame; + %feature("autodoc", ":param Other: + :type Other: opencascade::handle & + :rtype: bool") IsSame; + virtual Standard_Boolean IsSame (const opencascade::handle & Other); + + /****************** Orientation ******************/ %feature("compactdefaultargs") Orientation; - %feature("autodoc", " :rtype: TopAbs_Orientation -") Orientation; + %feature("autodoc", ":rtype: TopAbs_Orientation") Orientation; virtual TopAbs_Orientation Orientation (); - %feature("compactdefaultargs") IsSame; - %feature("autodoc", " :param Other: - :type Other: Handle_Adaptor3d_HVertex & - :rtype: bool -") IsSame; - virtual Standard_Boolean IsSame (const Handle_Adaptor3d_HVertex & Other); + + /****************** Parameter ******************/ + %feature("compactdefaultargs") Parameter; + %feature("autodoc", ":param C: + :type C: opencascade::handle & + :rtype: float") Parameter; + virtual Standard_Real Parameter (const opencascade::handle & C); + + /****************** Resolution ******************/ + %feature("compactdefaultargs") Resolution; + %feature("autodoc", "* Parametric resolution (2d). + :param C: + :type C: opencascade::handle & + :rtype: float") Resolution; + virtual Standard_Real Resolution (const opencascade::handle & C); + + /****************** Value ******************/ + %feature("compactdefaultargs") Value; + %feature("autodoc", ":rtype: gp_Pnt2d") Value; + virtual gp_Pnt2d Value (); + }; @@ -1304,53 +1352,57 @@ class Adaptor3d_HVertex : public MMgt_TShared { __repr__ = _dumps_object } }; + +/**************************** +* class Adaptor3d_InterFunc * +****************************/ %nodefaultctor Adaptor3d_InterFunc; class Adaptor3d_InterFunc : public math_FunctionWithDerivative { public: + /****************** Adaptor3d_InterFunc ******************/ %feature("compactdefaultargs") Adaptor3d_InterFunc; - %feature("autodoc", " * build the function U(t)=FixVal if Fix =1 or V(t)=FixVal if Fix=2 - + %feature("autodoc", "* build the function U(t)=FixVal if Fix =1 or V(t)=FixVal if Fix=2 :param C: - :type C: Handle_Adaptor2d_HCurve2d & + :type C: opencascade::handle & :param FixVal: :type FixVal: float :param Fix: :type Fix: int - :rtype: None -") Adaptor3d_InterFunc; - Adaptor3d_InterFunc (const Handle_Adaptor2d_HCurve2d & C,const Standard_Real FixVal,const Standard_Integer Fix); - %feature("compactdefaultargs") Value; - %feature("autodoc", " * computes the value of the function for the variable . Returns True if the calculation were successfully done, False otherwise. + :rtype: None") Adaptor3d_InterFunc; + Adaptor3d_InterFunc (const opencascade::handle & C,const Standard_Real FixVal,const Standard_Integer Fix); - :param X: - :type X: float - :param F: - :type F: float & - :rtype: bool -") Value; - Standard_Boolean Value (const Standard_Real X,Standard_Real &OutValue); + /****************** Derivative ******************/ %feature("compactdefaultargs") Derivative; - %feature("autodoc", " * computes the derivative of the function for the variable . Returns True if the calculation were successfully done, False otherwise. - + %feature("autodoc", "* computes the derivative of the function for the variable . Returns True if the calculation were successfully done, False otherwise. :param X: :type X: float :param D: :type D: float & - :rtype: bool -") Derivative; + :rtype: bool") Derivative; Standard_Boolean Derivative (const Standard_Real X,Standard_Real &OutValue); - %feature("compactdefaultargs") Values; - %feature("autodoc", " * computes the value and the derivative of the function for the variable . Returns True if the calculation were successfully done, False otherwise. + /****************** Value ******************/ + %feature("compactdefaultargs") Value; + %feature("autodoc", "* computes the value of the function for the variable . Returns True if the calculation were successfully done, False otherwise. + :param X: + :type X: float + :param F: + :type F: float & + :rtype: bool") Value; + Standard_Boolean Value (const Standard_Real X,Standard_Real &OutValue); + + /****************** Values ******************/ + %feature("compactdefaultargs") Values; + %feature("autodoc", "* computes the value and the derivative of the function for the variable . Returns True if the calculation were successfully done, False otherwise. :param X: :type X: float :param F: :type F: float & :param D: :type D: float & - :rtype: bool -") Values; + :rtype: bool") Values; Standard_Boolean Values (const Standard_Real X,Standard_Real &OutValue,Standard_Real &OutValue); + }; @@ -1359,408 +1411,62 @@ class Adaptor3d_InterFunc : public math_FunctionWithDerivative { __repr__ = _dumps_object } }; -%nodefaultctor Adaptor3d_OffsetCurve; -class Adaptor3d_OffsetCurve : public Adaptor2d_Curve2d { + +/************************** +* class Adaptor3d_Surface * +**************************/ +class Adaptor3d_Surface { public: - %feature("compactdefaultargs") Adaptor3d_OffsetCurve; - %feature("autodoc", " * The Offset is set to 0. + /****************** AxeOfRevolution ******************/ + %feature("compactdefaultargs") AxeOfRevolution; + %feature("autodoc", ":rtype: gp_Ax1") AxeOfRevolution; + virtual gp_Ax1 AxeOfRevolution (); - :rtype: None -") Adaptor3d_OffsetCurve; - Adaptor3d_OffsetCurve (); - %feature("compactdefaultargs") Adaptor3d_OffsetCurve; - %feature("autodoc", " * The curve is loaded. The Offset is set to 0. + /****************** BSpline ******************/ + %feature("compactdefaultargs") BSpline; + %feature("autodoc", ":rtype: opencascade::handle") BSpline; + virtual opencascade::handle BSpline (); - :param C: - :type C: Handle_Adaptor2d_HCurve2d & - :rtype: None -") Adaptor3d_OffsetCurve; - Adaptor3d_OffsetCurve (const Handle_Adaptor2d_HCurve2d & C); - %feature("compactdefaultargs") Adaptor3d_OffsetCurve; - %feature("autodoc", " * Creates an OffsetCurve curve. The Offset is set to Offset. + /****************** BasisCurve ******************/ + %feature("compactdefaultargs") BasisCurve; + %feature("autodoc", ":rtype: opencascade::handle") BasisCurve; + virtual opencascade::handle BasisCurve (); - :param C: - :type C: Handle_Adaptor2d_HCurve2d & - :param Offset: - :type Offset: float - :rtype: None -") Adaptor3d_OffsetCurve; - Adaptor3d_OffsetCurve (const Handle_Adaptor2d_HCurve2d & C,const Standard_Real Offset); - %feature("compactdefaultargs") Adaptor3d_OffsetCurve; - %feature("autodoc", " * Create an Offset curve. WFirst,WLast define the bounds of the Offset curve. - - :param C: - :type C: Handle_Adaptor2d_HCurve2d & - :param Offset: - :type Offset: float - :param WFirst: - :type WFirst: float - :param WLast: - :type WLast: float - :rtype: None -") Adaptor3d_OffsetCurve; - Adaptor3d_OffsetCurve (const Handle_Adaptor2d_HCurve2d & C,const Standard_Real Offset,const Standard_Real WFirst,const Standard_Real WLast); - %feature("compactdefaultargs") Load; - %feature("autodoc", " * Changes the curve. The Offset is reset to 0. - - :param S: - :type S: Handle_Adaptor2d_HCurve2d & - :rtype: None -") Load; - void Load (const Handle_Adaptor2d_HCurve2d & S); - %feature("compactdefaultargs") Load; - %feature("autodoc", " * Changes the Offset on the current Curve. - - :param Offset: - :type Offset: float - :rtype: None -") Load; - void Load (const Standard_Real Offset); - %feature("compactdefaultargs") Load; - %feature("autodoc", " * Changes the Offset Curve on the current Curve. - - :param Offset: - :type Offset: float - :param WFirst: - :type WFirst: float - :param WLast: - :type WLast: float - :rtype: None -") Load; - void Load (const Standard_Real Offset,const Standard_Real WFirst,const Standard_Real WLast); - %feature("compactdefaultargs") Curve; - %feature("autodoc", " :rtype: Handle_Adaptor2d_HCurve2d -") Curve; - Handle_Adaptor2d_HCurve2d Curve (); - %feature("compactdefaultargs") Offset; - %feature("autodoc", " :rtype: float -") Offset; - Standard_Real Offset (); - %feature("compactdefaultargs") FirstParameter; - %feature("autodoc", " :rtype: float -") FirstParameter; - Standard_Real FirstParameter (); - %feature("compactdefaultargs") LastParameter; - %feature("autodoc", " :rtype: float -") LastParameter; - Standard_Real LastParameter (); - %feature("compactdefaultargs") Continuity; - %feature("autodoc", " :rtype: GeomAbs_Shape -") Continuity; - GeomAbs_Shape Continuity (); - %feature("compactdefaultargs") NbIntervals; - %feature("autodoc", " * If necessary, breaks the curve in intervals of continuity . And returns the number of intervals. - - :param S: - :type S: GeomAbs_Shape - :rtype: int -") NbIntervals; - Standard_Integer NbIntervals (const GeomAbs_Shape S); - %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() - - :param T: - :type T: TColStd_Array1OfReal & - :param S: - :type S: GeomAbs_Shape - :rtype: None -") Intervals; - void Intervals (TColStd_Array1OfReal & T,const GeomAbs_Shape S); - %feature("compactdefaultargs") Trim; - %feature("autodoc", " * Returns a curve equivalent of between parameters and . is used to test for 3d points confusion. If >= - - :param First: - :type First: float - :param Last: - :type Last: float - :param Tol: - :type Tol: float - :rtype: Handle_Adaptor2d_HCurve2d -") Trim; - Handle_Adaptor2d_HCurve2d Trim (const Standard_Real First,const Standard_Real Last,const Standard_Real Tol); - %feature("compactdefaultargs") IsClosed; - %feature("autodoc", " :rtype: bool -") IsClosed; - Standard_Boolean IsClosed (); - %feature("compactdefaultargs") IsPeriodic; - %feature("autodoc", " :rtype: bool -") IsPeriodic; - Standard_Boolean IsPeriodic (); - %feature("compactdefaultargs") Period; - %feature("autodoc", " :rtype: float -") Period; - Standard_Real Period (); - %feature("compactdefaultargs") Value; - %feature("autodoc", " * Computes the point of parameter U on the curve. - - :param U: - :type U: float - :rtype: gp_Pnt2d -") Value; - gp_Pnt2d Value (const Standard_Real U); - %feature("compactdefaultargs") D0; - %feature("autodoc", " * Computes the point of parameter U on the curve. - - :param U: - :type U: float - :param P: - :type P: gp_Pnt2d - :rtype: None -") D0; - void D0 (const Standard_Real U,gp_Pnt2d & P); - %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. - - :param U: - :type U: float - :param P: - :type P: gp_Pnt2d - :param V: - :type V: gp_Vec2d - :rtype: None -") D1; - void D1 (const Standard_Real U,gp_Pnt2d & P,gp_Vec2d & V); - %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. - - :param U: - :type U: float - :param P: - :type P: gp_Pnt2d - :param V1: - :type V1: gp_Vec2d - :param V2: - :type V2: gp_Vec2d - :rtype: None -") D2; - void D2 (const Standard_Real U,gp_Pnt2d & P,gp_Vec2d & V1,gp_Vec2d & V2); - %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. - - :param U: - :type U: float - :param P: - :type P: gp_Pnt2d - :param V1: - :type V1: gp_Vec2d - :param V2: - :type V2: gp_Vec2d - :param V3: - :type V3: gp_Vec2d - :rtype: None -") D3; - void D3 (const Standard_Real U,gp_Pnt2d & P,gp_Vec2d & V1,gp_Vec2d & V2,gp_Vec2d & V3); - %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. - - :param U: - :type U: float - :param N: - :type N: int - :rtype: gp_Vec2d -") DN; - gp_Vec2d DN (const Standard_Real U,const Standard_Integer N); - %feature("compactdefaultargs") Resolution; - %feature("autodoc", " * Returns the parametric resolution corresponding to the real space resolution . - - :param R3d: - :type R3d: float - :rtype: float -") Resolution; - Standard_Real Resolution (const Standard_Real R3d); - %feature("compactdefaultargs") GetType; - %feature("autodoc", " * Returns the type of the curve in the current interval : Line, Circle, Ellipse, Hyperbola, Parabola, BezierCurve, BSplineCurve, OtherCurve. + /****************** BasisSurface ******************/ + %feature("compactdefaultargs") BasisSurface; + %feature("autodoc", ":rtype: opencascade::handle") BasisSurface; + virtual opencascade::handle BasisSurface (); - :rtype: GeomAbs_CurveType -") GetType; - GeomAbs_CurveType GetType (); - %feature("compactdefaultargs") Line; - %feature("autodoc", " :rtype: gp_Lin2d -") Line; - gp_Lin2d Line (); - %feature("compactdefaultargs") Circle; - %feature("autodoc", " :rtype: gp_Circ2d -") Circle; - gp_Circ2d Circle (); - %feature("compactdefaultargs") Ellipse; - %feature("autodoc", " :rtype: gp_Elips2d -") Ellipse; - gp_Elips2d Ellipse (); - %feature("compactdefaultargs") Hyperbola; - %feature("autodoc", " :rtype: gp_Hypr2d -") Hyperbola; - gp_Hypr2d Hyperbola (); - %feature("compactdefaultargs") Parabola; - %feature("autodoc", " :rtype: gp_Parab2d -") Parabola; - gp_Parab2d Parabola (); - %feature("compactdefaultargs") Degree; - %feature("autodoc", " :rtype: int -") Degree; - Standard_Integer Degree (); - %feature("compactdefaultargs") IsRational; - %feature("autodoc", " :rtype: bool -") IsRational; - Standard_Boolean IsRational (); - %feature("compactdefaultargs") NbPoles; - %feature("autodoc", " :rtype: int -") NbPoles; - Standard_Integer NbPoles (); - %feature("compactdefaultargs") NbKnots; - %feature("autodoc", " :rtype: int -") NbKnots; - Standard_Integer NbKnots (); + /****************** Bezier ******************/ %feature("compactdefaultargs") Bezier; - %feature("autodoc", " :rtype: Handle_Geom2d_BezierCurve -") Bezier; - Handle_Geom2d_BezierCurve Bezier (); - %feature("compactdefaultargs") BSpline; - %feature("autodoc", " :rtype: Handle_Geom2d_BSplineCurve -") BSpline; - Handle_Geom2d_BSplineCurve BSpline (); -}; - - -%extend Adaptor3d_OffsetCurve { - %pythoncode { - __repr__ = _dumps_object - } -}; -class Adaptor3d_Surface { - public: - %feature("compactdefaultargs") FirstUParameter; - %feature("autodoc", " :rtype: float -") FirstUParameter; - virtual Standard_Real FirstUParameter (); - %feature("compactdefaultargs") LastUParameter; - %feature("autodoc", " :rtype: float -") LastUParameter; - virtual Standard_Real LastUParameter (); - %feature("compactdefaultargs") FirstVParameter; - %feature("autodoc", " :rtype: float -") FirstVParameter; - virtual Standard_Real FirstVParameter (); - %feature("compactdefaultargs") LastVParameter; - %feature("autodoc", " :rtype: float -") LastVParameter; - virtual Standard_Real LastVParameter (); - %feature("compactdefaultargs") UContinuity; - %feature("autodoc", " :rtype: GeomAbs_Shape -") UContinuity; - virtual GeomAbs_Shape UContinuity (); - %feature("compactdefaultargs") VContinuity; - %feature("autodoc", " :rtype: GeomAbs_Shape -") VContinuity; - virtual GeomAbs_Shape VContinuity (); - %feature("compactdefaultargs") NbUIntervals; - %feature("autodoc", " * Returns the number of U intervals for continuity . May be one if UContinuity(me) >= - - :param S: - :type S: GeomAbs_Shape - :rtype: int -") NbUIntervals; - virtual Standard_Integer NbUIntervals (const GeomAbs_Shape S); - %feature("compactdefaultargs") NbVIntervals; - %feature("autodoc", " * Returns the number of V intervals for continuity . May be one if VContinuity(me) >= - - :param S: - :type S: GeomAbs_Shape - :rtype: int -") NbVIntervals; - virtual Standard_Integer NbVIntervals (const GeomAbs_Shape S); - %feature("compactdefaultargs") UIntervals; - %feature("autodoc", " * Returns the intervals with the requested continuity in the U direction. + %feature("autodoc", ":rtype: opencascade::handle") Bezier; + virtual opencascade::handle Bezier (); - :param T: - :type T: TColStd_Array1OfReal & - :param S: - :type S: GeomAbs_Shape - :rtype: void -") UIntervals; - virtual void UIntervals (TColStd_Array1OfReal & T,const GeomAbs_Shape S); - %feature("compactdefaultargs") VIntervals; - %feature("autodoc", " * Returns the intervals with the requested continuity in the V direction. - - :param T: - :type T: TColStd_Array1OfReal & - :param S: - :type S: GeomAbs_Shape - :rtype: void -") VIntervals; - virtual void VIntervals (TColStd_Array1OfReal & T,const GeomAbs_Shape S); - %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 >= - - :param First: - :type First: float - :param Last: - :type Last: float - :param Tol: - :type Tol: float - :rtype: Handle_Adaptor3d_HSurface -") UTrim; - virtual Handle_Adaptor3d_HSurface UTrim (const Standard_Real First,const Standard_Real Last,const Standard_Real Tol); - %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 >= + /****************** Cone ******************/ + %feature("compactdefaultargs") Cone; + %feature("autodoc", ":rtype: gp_Cone") Cone; + virtual gp_Cone Cone (); - :param First: - :type First: float - :param Last: - :type Last: float - :param Tol: - :type Tol: float - :rtype: Handle_Adaptor3d_HSurface -") VTrim; - virtual Handle_Adaptor3d_HSurface VTrim (const Standard_Real First,const Standard_Real Last,const Standard_Real Tol); - %feature("compactdefaultargs") IsUClosed; - %feature("autodoc", " :rtype: bool -") IsUClosed; - virtual Standard_Boolean IsUClosed (); - %feature("compactdefaultargs") IsVClosed; - %feature("autodoc", " :rtype: bool -") IsVClosed; - virtual Standard_Boolean IsVClosed (); - %feature("compactdefaultargs") IsUPeriodic; - %feature("autodoc", " :rtype: bool -") IsUPeriodic; - virtual Standard_Boolean IsUPeriodic (); - %feature("compactdefaultargs") UPeriod; - %feature("autodoc", " :rtype: float -") UPeriod; - virtual Standard_Real UPeriod (); - %feature("compactdefaultargs") IsVPeriodic; - %feature("autodoc", " :rtype: bool -") IsVPeriodic; - virtual Standard_Boolean IsVPeriodic (); - %feature("compactdefaultargs") VPeriod; - %feature("autodoc", " :rtype: float -") VPeriod; - virtual Standard_Real VPeriod (); - %feature("compactdefaultargs") Value; - %feature("autodoc", " * Computes the point of parameters U,V on the surface. + /****************** Cylinder ******************/ + %feature("compactdefaultargs") Cylinder; + %feature("autodoc", ":rtype: gp_Cylinder") Cylinder; + virtual gp_Cylinder Cylinder (); - :param U: - :type U: float - :param V: - :type V: float - :rtype: gp_Pnt -") Value; - virtual gp_Pnt Value (const Standard_Real U,const Standard_Real V); + /****************** D0 ******************/ %feature("compactdefaultargs") D0; - %feature("autodoc", " * Computes the point of parameters U,V on the surface. - + %feature("autodoc", "* Computes the point of parameters U,V on the surface. :param U: :type U: float :param V: :type V: float :param P: :type P: gp_Pnt - :rtype: void -") D0; + :rtype: void") D0; virtual void D0 (const Standard_Real U,const Standard_Real V,gp_Pnt & P); - %feature("compactdefaultargs") D1; - %feature("autodoc", " * Computes the point and the first derivatives on the surface. Raised if the continuity of the current intervals is not C1. + /****************** D1 ******************/ + %feature("compactdefaultargs") D1; + %feature("autodoc", "* Computes the point and the first derivatives on the surface. Raised if the continuity of the current intervals is not C1. :param U: :type U: float :param V: @@ -1771,12 +1477,12 @@ class Adaptor3d_Surface { :type D1U: gp_Vec :param D1V: :type D1V: gp_Vec - :rtype: void -") D1; + :rtype: void") D1; virtual void D1 (const Standard_Real U,const Standard_Real V,gp_Pnt & P,gp_Vec & D1U,gp_Vec & D1V); - %feature("compactdefaultargs") D2; - %feature("autodoc", " * Computes the point, the first and second derivatives on the surface. Raised if the continuity of the current intervals is not C2. + /****************** D2 ******************/ + %feature("compactdefaultargs") D2; + %feature("autodoc", "* Computes the point, the first and second derivatives on the surface. Raised if the continuity of the current intervals is not C2. :param U: :type U: float :param V: @@ -1793,12 +1499,12 @@ class Adaptor3d_Surface { :type D2V: gp_Vec :param D2UV: :type D2UV: gp_Vec - :rtype: void -") D2; + :rtype: void") D2; virtual 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); - %feature("compactdefaultargs") D3; - %feature("autodoc", " * Computes the point, the first, second and third derivatives on the surface. Raised if the continuity of the current intervals is not C3. + /****************** D3 ******************/ + %feature("compactdefaultargs") D3; + %feature("autodoc", "* Computes the point, the first, second and third derivatives on the surface. Raised if the continuity of the current intervals is not C3. :param U: :type U: float :param V: @@ -1823,12 +1529,12 @@ class Adaptor3d_Surface { :type D3UUV: gp_Vec :param D3UVV: :type D3UVV: gp_Vec - :rtype: void -") D3; + :rtype: void") D3; virtual 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); - %feature("compactdefaultargs") DN; - %feature("autodoc", " * Computes the derivative of order Nu in the direction U and Nv in the direction V at the point P(U, V). Raised if the current U interval is not not CNu and the current V interval is not CNv. Raised if Nu + Nv < 1 or Nu < 0 or Nv < 0. + /****************** DN ******************/ + %feature("compactdefaultargs") DN; + %feature("autodoc", "* Computes the derivative of order Nu in the direction U and Nv in the direction V at the point P(U, V). Raised if the current U interval is not not CNu and the current V interval is not CNv. Raised if Nu + Nv < 1 or Nu < 0 or Nv < 0. :param U: :type U: float :param V: @@ -1837,111 +1543,226 @@ class Adaptor3d_Surface { :type Nu: int :param Nv: :type Nv: int - :rtype: gp_Vec -") DN; + :rtype: gp_Vec") DN; virtual gp_Vec DN (const Standard_Real U,const Standard_Real V,const Standard_Integer Nu,const Standard_Integer Nv); - %feature("compactdefaultargs") UResolution; - %feature("autodoc", " * Returns the parametric U resolution corresponding to the real space resolution . - :param R3d: - :type R3d: float - :rtype: float -") UResolution; - virtual Standard_Real UResolution (const Standard_Real R3d); - %feature("compactdefaultargs") VResolution; - %feature("autodoc", " * Returns the parametric V resolution corresponding to the real space resolution . + /****************** Direction ******************/ + %feature("compactdefaultargs") Direction; + %feature("autodoc", ":rtype: gp_Dir") Direction; + virtual gp_Dir Direction (); - :param R3d: - :type R3d: float - :rtype: float -") VResolution; - virtual Standard_Real VResolution (const Standard_Real R3d); - %feature("compactdefaultargs") GetType; - %feature("autodoc", " * Returns the type of the surface : Plane, Cylinder, Cone, Sphere, Torus, BezierSurface, BSplineSurface, SurfaceOfRevolution, SurfaceOfExtrusion, OtherSurface + /****************** FirstUParameter ******************/ + %feature("compactdefaultargs") FirstUParameter; + %feature("autodoc", ":rtype: float") FirstUParameter; + virtual Standard_Real FirstUParameter (); + + /****************** FirstVParameter ******************/ + %feature("compactdefaultargs") FirstVParameter; + %feature("autodoc", ":rtype: float") FirstVParameter; + virtual Standard_Real FirstVParameter (); - :rtype: GeomAbs_SurfaceType -") GetType; + /****************** GetType ******************/ + %feature("compactdefaultargs") GetType; + %feature("autodoc", "* Returns the type of the surface : Plane, Cylinder, Cone, Sphere, Torus, BezierSurface, BSplineSurface, SurfaceOfRevolution, SurfaceOfExtrusion, OtherSurface + :rtype: GeomAbs_SurfaceType") GetType; virtual GeomAbs_SurfaceType GetType (); - %feature("compactdefaultargs") Plane; - %feature("autodoc", " :rtype: gp_Pln -") Plane; - virtual gp_Pln Plane (); - %feature("compactdefaultargs") Cylinder; - %feature("autodoc", " :rtype: gp_Cylinder -") Cylinder; - virtual gp_Cylinder Cylinder (); - %feature("compactdefaultargs") Cone; - %feature("autodoc", " :rtype: gp_Cone -") Cone; - virtual gp_Cone Cone (); - %feature("compactdefaultargs") Sphere; - %feature("autodoc", " :rtype: gp_Sphere -") Sphere; - virtual gp_Sphere Sphere (); - %feature("compactdefaultargs") Torus; - %feature("autodoc", " :rtype: gp_Torus -") Torus; - virtual gp_Torus Torus (); - %feature("compactdefaultargs") UDegree; - %feature("autodoc", " :rtype: int -") UDegree; - virtual Standard_Integer UDegree (); - %feature("compactdefaultargs") NbUPoles; - %feature("autodoc", " :rtype: int -") NbUPoles; - virtual Standard_Integer NbUPoles (); - %feature("compactdefaultargs") VDegree; - %feature("autodoc", " :rtype: int -") VDegree; - virtual Standard_Integer VDegree (); - %feature("compactdefaultargs") NbVPoles; - %feature("autodoc", " :rtype: int -") NbVPoles; - virtual Standard_Integer NbVPoles (); - %feature("compactdefaultargs") NbUKnots; - %feature("autodoc", " :rtype: int -") NbUKnots; - virtual Standard_Integer NbUKnots (); - %feature("compactdefaultargs") NbVKnots; - %feature("autodoc", " :rtype: int -") NbVKnots; - virtual Standard_Integer NbVKnots (); + + /****************** IsUClosed ******************/ + %feature("compactdefaultargs") IsUClosed; + %feature("autodoc", ":rtype: bool") IsUClosed; + virtual Standard_Boolean IsUClosed (); + + /****************** IsUPeriodic ******************/ + %feature("compactdefaultargs") IsUPeriodic; + %feature("autodoc", ":rtype: bool") IsUPeriodic; + virtual Standard_Boolean IsUPeriodic (); + + /****************** IsURational ******************/ %feature("compactdefaultargs") IsURational; - %feature("autodoc", " :rtype: bool -") IsURational; + %feature("autodoc", ":rtype: bool") IsURational; virtual Standard_Boolean IsURational (); + + /****************** IsVClosed ******************/ + %feature("compactdefaultargs") IsVClosed; + %feature("autodoc", ":rtype: bool") IsVClosed; + virtual Standard_Boolean IsVClosed (); + + /****************** IsVPeriodic ******************/ + %feature("compactdefaultargs") IsVPeriodic; + %feature("autodoc", ":rtype: bool") IsVPeriodic; + virtual Standard_Boolean IsVPeriodic (); + + /****************** IsVRational ******************/ %feature("compactdefaultargs") IsVRational; - %feature("autodoc", " :rtype: bool -") IsVRational; + %feature("autodoc", ":rtype: bool") IsVRational; virtual Standard_Boolean IsVRational (); - %feature("compactdefaultargs") Bezier; - %feature("autodoc", " :rtype: Handle_Geom_BezierSurface -") Bezier; - virtual Handle_Geom_BezierSurface Bezier (); - %feature("compactdefaultargs") BSpline; - %feature("autodoc", " :rtype: Handle_Geom_BSplineSurface -") BSpline; - virtual Handle_Geom_BSplineSurface BSpline (); - %feature("compactdefaultargs") AxeOfRevolution; - %feature("autodoc", " :rtype: gp_Ax1 -") AxeOfRevolution; - virtual gp_Ax1 AxeOfRevolution (); - %feature("compactdefaultargs") Direction; - %feature("autodoc", " :rtype: gp_Dir -") Direction; - virtual gp_Dir Direction (); - %feature("compactdefaultargs") BasisCurve; - %feature("autodoc", " :rtype: Handle_Adaptor3d_HCurve -") BasisCurve; - virtual Handle_Adaptor3d_HCurve BasisCurve (); - %feature("compactdefaultargs") BasisSurface; - %feature("autodoc", " :rtype: Handle_Adaptor3d_HSurface -") BasisSurface; - virtual Handle_Adaptor3d_HSurface BasisSurface (); + + /****************** LastUParameter ******************/ + %feature("compactdefaultargs") LastUParameter; + %feature("autodoc", ":rtype: float") LastUParameter; + virtual Standard_Real LastUParameter (); + + /****************** LastVParameter ******************/ + %feature("compactdefaultargs") LastVParameter; + %feature("autodoc", ":rtype: float") LastVParameter; + virtual Standard_Real LastVParameter (); + + /****************** NbUIntervals ******************/ + %feature("compactdefaultargs") NbUIntervals; + %feature("autodoc", "* Returns the number of U intervals for continuity . May be one if UContinuity(me) >= + :param S: + :type S: GeomAbs_Shape + :rtype: int") NbUIntervals; + virtual Standard_Integer NbUIntervals (const GeomAbs_Shape S); + + /****************** NbUKnots ******************/ + %feature("compactdefaultargs") NbUKnots; + %feature("autodoc", ":rtype: int") NbUKnots; + virtual Standard_Integer NbUKnots (); + + /****************** NbUPoles ******************/ + %feature("compactdefaultargs") NbUPoles; + %feature("autodoc", ":rtype: int") NbUPoles; + virtual Standard_Integer NbUPoles (); + + /****************** NbVIntervals ******************/ + %feature("compactdefaultargs") NbVIntervals; + %feature("autodoc", "* Returns the number of V intervals for continuity . May be one if VContinuity(me) >= + :param S: + :type S: GeomAbs_Shape + :rtype: int") NbVIntervals; + virtual Standard_Integer NbVIntervals (const GeomAbs_Shape S); + + /****************** NbVKnots ******************/ + %feature("compactdefaultargs") NbVKnots; + %feature("autodoc", ":rtype: int") NbVKnots; + virtual Standard_Integer NbVKnots (); + + /****************** NbVPoles ******************/ + %feature("compactdefaultargs") NbVPoles; + %feature("autodoc", ":rtype: int") NbVPoles; + virtual Standard_Integer NbVPoles (); + + /****************** OffsetValue ******************/ %feature("compactdefaultargs") OffsetValue; - %feature("autodoc", " :rtype: float -") OffsetValue; + %feature("autodoc", ":rtype: float") OffsetValue; virtual Standard_Real OffsetValue (); + + /****************** Plane ******************/ + %feature("compactdefaultargs") Plane; + %feature("autodoc", ":rtype: gp_Pln") Plane; + virtual gp_Pln Plane (); + + /****************** Sphere ******************/ + %feature("compactdefaultargs") Sphere; + %feature("autodoc", ":rtype: gp_Sphere") Sphere; + virtual gp_Sphere Sphere (); + + /****************** Torus ******************/ + %feature("compactdefaultargs") Torus; + %feature("autodoc", ":rtype: gp_Torus") Torus; + virtual gp_Torus Torus (); + + /****************** UContinuity ******************/ + %feature("compactdefaultargs") UContinuity; + %feature("autodoc", ":rtype: GeomAbs_Shape") UContinuity; + virtual GeomAbs_Shape UContinuity (); + + /****************** UDegree ******************/ + %feature("compactdefaultargs") UDegree; + %feature("autodoc", ":rtype: int") UDegree; + virtual Standard_Integer UDegree (); + + /****************** UIntervals ******************/ + %feature("compactdefaultargs") UIntervals; + %feature("autodoc", "* Returns the intervals with the requested continuity in the U direction. + :param T: + :type T: TColStd_Array1OfReal & + :param S: + :type S: GeomAbs_Shape + :rtype: void") UIntervals; + virtual void UIntervals (TColStd_Array1OfReal & T,const GeomAbs_Shape S); + + /****************** UPeriod ******************/ + %feature("compactdefaultargs") UPeriod; + %feature("autodoc", ":rtype: float") UPeriod; + virtual Standard_Real UPeriod (); + + /****************** UResolution ******************/ + %feature("compactdefaultargs") UResolution; + %feature("autodoc", "* Returns the parametric U resolution corresponding to the real space resolution . + :param R3d: + :type R3d: float + :rtype: float") UResolution; + virtual Standard_Real UResolution (const Standard_Real R3d); + + /****************** UTrim ******************/ + %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 >= + :param First: + :type First: float + :param Last: + :type Last: float + :param Tol: + :type Tol: float + :rtype: opencascade::handle") UTrim; + virtual opencascade::handle UTrim (const Standard_Real First,const Standard_Real Last,const Standard_Real Tol); + + /****************** VContinuity ******************/ + %feature("compactdefaultargs") VContinuity; + %feature("autodoc", ":rtype: GeomAbs_Shape") VContinuity; + virtual GeomAbs_Shape VContinuity (); + + /****************** VDegree ******************/ + %feature("compactdefaultargs") VDegree; + %feature("autodoc", ":rtype: int") VDegree; + virtual Standard_Integer VDegree (); + + /****************** VIntervals ******************/ + %feature("compactdefaultargs") VIntervals; + %feature("autodoc", "* Returns the intervals with the requested continuity in the V direction. + :param T: + :type T: TColStd_Array1OfReal & + :param S: + :type S: GeomAbs_Shape + :rtype: void") VIntervals; + virtual void VIntervals (TColStd_Array1OfReal & T,const GeomAbs_Shape S); + + /****************** VPeriod ******************/ + %feature("compactdefaultargs") VPeriod; + %feature("autodoc", ":rtype: float") VPeriod; + virtual Standard_Real VPeriod (); + + /****************** VResolution ******************/ + %feature("compactdefaultargs") VResolution; + %feature("autodoc", "* Returns the parametric V resolution corresponding to the real space resolution . + :param R3d: + :type R3d: float + :rtype: float") VResolution; + virtual Standard_Real VResolution (const Standard_Real R3d); + + /****************** VTrim ******************/ + %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 >= + :param First: + :type First: float + :param Last: + :type Last: float + :param Tol: + :type Tol: float + :rtype: opencascade::handle") VTrim; + virtual opencascade::handle VTrim (const Standard_Real First,const Standard_Real Last,const Standard_Real Tol); + + /****************** Value ******************/ + %feature("compactdefaultargs") Value; + %feature("autodoc", "* Computes the point of parameters U,V on the surface. + :param U: + :type U: float + :param V: + :type V: float + :rtype: gp_Pnt") Value; + virtual gp_Pnt Value (const Standard_Real U,const Standard_Real V); + }; @@ -1950,230 +1771,253 @@ class Adaptor3d_Surface { __repr__ = _dumps_object } }; + +/**************************** +* class Adaptor3d_TopolTool * +****************************/ %nodefaultctor Adaptor3d_TopolTool; -class Adaptor3d_TopolTool : public MMgt_TShared { +class Adaptor3d_TopolTool : public Standard_Transient { public: + /****************** Adaptor3d_TopolTool ******************/ %feature("compactdefaultargs") Adaptor3d_TopolTool; - %feature("autodoc", " :rtype: None -") Adaptor3d_TopolTool; + %feature("autodoc", ":rtype: None") Adaptor3d_TopolTool; Adaptor3d_TopolTool (); + + /****************** Adaptor3d_TopolTool ******************/ %feature("compactdefaultargs") Adaptor3d_TopolTool; - %feature("autodoc", " :param Surface: - :type Surface: Handle_Adaptor3d_HSurface & - :rtype: None -") Adaptor3d_TopolTool; - Adaptor3d_TopolTool (const Handle_Adaptor3d_HSurface & Surface); - %feature("compactdefaultargs") Initialize; - %feature("autodoc", " :rtype: void -") Initialize; - virtual void Initialize (); - %feature("compactdefaultargs") Initialize; - %feature("autodoc", " :param S: - :type S: Handle_Adaptor3d_HSurface & - :rtype: void -") Initialize; - virtual void Initialize (const Handle_Adaptor3d_HSurface & S); - %feature("compactdefaultargs") Initialize; - %feature("autodoc", " :param Curve: - :type Curve: Handle_Adaptor2d_HCurve2d & - :rtype: void -") Initialize; - virtual void Initialize (const Handle_Adaptor2d_HCurve2d & Curve); - %feature("compactdefaultargs") Init; - %feature("autodoc", " :rtype: void -") Init; - virtual void Init (); - %feature("compactdefaultargs") More; - %feature("autodoc", " :rtype: bool -") More; - virtual Standard_Boolean More (); - %feature("compactdefaultargs") Value; - %feature("autodoc", " :rtype: Handle_Adaptor2d_HCurve2d -") Value; - virtual Handle_Adaptor2d_HCurve2d Value (); - %feature("compactdefaultargs") Next; - %feature("autodoc", " :rtype: void -") Next; - virtual void Next (); - %feature("compactdefaultargs") InitVertexIterator; - %feature("autodoc", " :rtype: void -") InitVertexIterator; - virtual void InitVertexIterator (); - %feature("compactdefaultargs") MoreVertex; - %feature("autodoc", " :rtype: bool -") MoreVertex; - virtual Standard_Boolean MoreVertex (); - %feature("compactdefaultargs") Vertex; - %feature("autodoc", " :rtype: Handle_Adaptor3d_HVertex -") Vertex; - virtual Handle_Adaptor3d_HVertex Vertex (); - %feature("compactdefaultargs") NextVertex; - %feature("autodoc", " :rtype: void -") NextVertex; - virtual void NextVertex (); + %feature("autodoc", ":param Surface: + :type Surface: opencascade::handle & + :rtype: None") Adaptor3d_TopolTool; + Adaptor3d_TopolTool (const opencascade::handle & Surface); + + /****************** BSplSamplePnts ******************/ + %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. + :param theDefl: + :type theDefl: float + :param theNUmin: + :type theNUmin: int + :param theNVmin: + :type theNVmin: int + :rtype: void") BSplSamplePnts; + virtual void BSplSamplePnts (const Standard_Real theDefl,const Standard_Integer theNUmin,const Standard_Integer theNVmin); + + /****************** Classify ******************/ %feature("compactdefaultargs") Classify; - %feature("autodoc", " :param P: + %feature("autodoc", ":param P: :type P: gp_Pnt2d :param Tol: :type Tol: float :param ReacdreOnPeriodic: default value is Standard_True :type ReacdreOnPeriodic: bool - :rtype: TopAbs_State -") Classify; + :rtype: TopAbs_State") Classify; virtual TopAbs_State Classify (const gp_Pnt2d & P,const Standard_Real Tol,const Standard_Boolean ReacdreOnPeriodic = Standard_True); + + /****************** ComputeSamplePoints ******************/ + %feature("compactdefaultargs") ComputeSamplePoints; + %feature("autodoc", ":rtype: void") ComputeSamplePoints; + virtual void ComputeSamplePoints (); + + /****************** DomainIsInfinite ******************/ + %feature("compactdefaultargs") DomainIsInfinite; + %feature("autodoc", ":rtype: bool") DomainIsInfinite; + virtual Standard_Boolean DomainIsInfinite (); + + /****************** Edge ******************/ + %feature("compactdefaultargs") Edge; + %feature("autodoc", ":rtype: Standard_Address") Edge; + virtual Standard_Address Edge (); + + /****************** Has3d ******************/ + %feature("compactdefaultargs") Has3d; + %feature("autodoc", "* answers if arcs and vertices may have 3d representations, so that we could use Tol3d and Pnt methods. + :rtype: bool") Has3d; + virtual Standard_Boolean Has3d (); + + /****************** Identical ******************/ + %feature("compactdefaultargs") Identical; + %feature("autodoc", "* Returns True if the vertices V1 and V2 are identical. This method does not take the orientation of the vertices in account. + :param V1: + :type V1: opencascade::handle & + :param V2: + :type V2: opencascade::handle & + :rtype: bool") Identical; + virtual Standard_Boolean Identical (const opencascade::handle & V1,const opencascade::handle & V2); + + /****************** Init ******************/ + %feature("compactdefaultargs") Init; + %feature("autodoc", ":rtype: void") Init; + virtual void Init (); + + /****************** InitVertexIterator ******************/ + %feature("compactdefaultargs") InitVertexIterator; + %feature("autodoc", ":rtype: void") InitVertexIterator; + virtual void InitVertexIterator (); + + /****************** Initialize ******************/ + %feature("compactdefaultargs") Initialize; + %feature("autodoc", ":rtype: void") Initialize; + virtual void Initialize (); + + /****************** Initialize ******************/ + %feature("compactdefaultargs") Initialize; + %feature("autodoc", ":param S: + :type S: opencascade::handle & + :rtype: void") Initialize; + virtual void Initialize (const opencascade::handle & S); + + /****************** Initialize ******************/ + %feature("compactdefaultargs") Initialize; + %feature("autodoc", ":param Curve: + :type Curve: opencascade::handle & + :rtype: void") Initialize; + virtual void Initialize (const opencascade::handle & Curve); + + /****************** IsThePointOn ******************/ %feature("compactdefaultargs") IsThePointOn; - %feature("autodoc", " :param P: + %feature("autodoc", ":param P: :type P: gp_Pnt2d :param Tol: :type Tol: float :param ReacdreOnPeriodic: default value is Standard_True :type ReacdreOnPeriodic: bool - :rtype: bool -") IsThePointOn; + :rtype: bool") IsThePointOn; virtual Standard_Boolean IsThePointOn (const gp_Pnt2d & P,const Standard_Real Tol,const Standard_Boolean ReacdreOnPeriodic = Standard_True); - %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. - - :param C: - :type C: Handle_Adaptor2d_HCurve2d & - :rtype: TopAbs_Orientation -") Orientation; - virtual TopAbs_Orientation Orientation (const Handle_Adaptor2d_HCurve2d & C); - %feature("compactdefaultargs") Orientation; - %feature("autodoc", " * Returns the orientation of the vertex V. The vertex has been found with an exploration on a given arc. The orientation is the orientation of the vertex on this arc. - - :param V: - :type V: Handle_Adaptor3d_HVertex & - :rtype: TopAbs_Orientation -") Orientation; - virtual TopAbs_Orientation Orientation (const Handle_Adaptor3d_HVertex & V); - %feature("compactdefaultargs") Identical; - %feature("autodoc", " * Returns True if the vertices V1 and V2 are identical. This method does not take the orientation of the vertices in account. - :param V1: - :type V1: Handle_Adaptor3d_HVertex & - :param V2: - :type V2: Handle_Adaptor3d_HVertex & - :rtype: bool -") Identical; - virtual Standard_Boolean Identical (const Handle_Adaptor3d_HVertex & V1,const Handle_Adaptor3d_HVertex & V2); - %feature("compactdefaultargs") Has3d; - %feature("autodoc", " * answers if arcs and vertices may have 3d representations, so that we could use Tol3d and Pnt methods. + /****************** IsUniformSampling ******************/ + %feature("compactdefaultargs") IsUniformSampling; + %feature("autodoc", "* Returns true if provide uniform sampling of points. + :rtype: bool") IsUniformSampling; + virtual Standard_Boolean IsUniformSampling (); - :rtype: bool -") Has3d; - virtual Standard_Boolean Has3d (); - %feature("compactdefaultargs") Tol3d; - %feature("autodoc", " * returns 3d tolerance of the arc C + /****************** More ******************/ + %feature("compactdefaultargs") More; + %feature("autodoc", ":rtype: bool") More; + virtual Standard_Boolean More (); - :param C: - :type C: Handle_Adaptor2d_HCurve2d & - :rtype: float -") Tol3d; - virtual Standard_Real Tol3d (const Handle_Adaptor2d_HCurve2d & C); - %feature("compactdefaultargs") Tol3d; - %feature("autodoc", " * returns 3d tolerance of the vertex V + /****************** MoreVertex ******************/ + %feature("compactdefaultargs") MoreVertex; + %feature("autodoc", ":rtype: bool") MoreVertex; + virtual Standard_Boolean MoreVertex (); - :param V: - :type V: Handle_Adaptor3d_HVertex & - :rtype: float -") Tol3d; - virtual Standard_Real Tol3d (const Handle_Adaptor3d_HVertex & V); - %feature("compactdefaultargs") Pnt; - %feature("autodoc", " * returns 3d point of the vertex V + /****************** NbSamples ******************/ + %feature("compactdefaultargs") NbSamples; + %feature("autodoc", "* compute the sample-points for the intersections algorithms + :rtype: int") NbSamples; + virtual Standard_Integer NbSamples (); - :param V: - :type V: Handle_Adaptor3d_HVertex & - :rtype: gp_Pnt -") Pnt; - virtual gp_Pnt Pnt (const Handle_Adaptor3d_HVertex & V); - %feature("compactdefaultargs") ComputeSamplePoints; - %feature("autodoc", " :rtype: void -") ComputeSamplePoints; - virtual void ComputeSamplePoints (); + /****************** NbSamplesU ******************/ %feature("compactdefaultargs") NbSamplesU; - %feature("autodoc", " * compute the sample-points for the intersections algorithms - - :rtype: int -") NbSamplesU; + %feature("autodoc", "* compute the sample-points for the intersections algorithms + :rtype: int") NbSamplesU; virtual Standard_Integer NbSamplesU (); - %feature("compactdefaultargs") NbSamplesV; - %feature("autodoc", " * compute the sample-points for the intersections algorithms - :rtype: int -") NbSamplesV; + /****************** NbSamplesV ******************/ + %feature("compactdefaultargs") NbSamplesV; + %feature("autodoc", "* compute the sample-points for the intersections algorithms + :rtype: int") NbSamplesV; virtual Standard_Integer NbSamplesV (); - %feature("compactdefaultargs") NbSamples; - %feature("autodoc", " * compute the sample-points for the intersections algorithms - :rtype: int -") NbSamples; - virtual Standard_Integer NbSamples (); - %feature("compactdefaultargs") UParameters; - %feature("autodoc", " * return the set of U parameters on the surface obtained by the method SamplePnts + /****************** Next ******************/ + %feature("compactdefaultargs") Next; + %feature("autodoc", ":rtype: void") Next; + virtual void Next (); - :param theArray: - :type theArray: TColStd_Array1OfReal & - :rtype: None -") UParameters; - void UParameters (TColStd_Array1OfReal & theArray); - %feature("compactdefaultargs") VParameters; - %feature("autodoc", " * return the set of V parameters on the surface obtained by the method SamplePnts + /****************** NextVertex ******************/ + %feature("compactdefaultargs") NextVertex; + %feature("autodoc", ":rtype: void") NextVertex; + virtual void NextVertex (); - :param theArray: - :type theArray: TColStd_Array1OfReal & - :rtype: None -") VParameters; - void VParameters (TColStd_Array1OfReal & theArray); - %feature("compactdefaultargs") SamplePoint; - %feature("autodoc", " :param Index: - :type Index: int - :param P2d: - :type P2d: gp_Pnt2d - :param P3d: - :type P3d: gp_Pnt - :rtype: void -") SamplePoint; - virtual void SamplePoint (const Standard_Integer Index,gp_Pnt2d & P2d,gp_Pnt & P3d); - %feature("compactdefaultargs") DomainIsInfinite; - %feature("autodoc", " :rtype: bool -") DomainIsInfinite; - virtual Standard_Boolean DomainIsInfinite (); - %feature("compactdefaultargs") Edge; - %feature("autodoc", " :rtype: Standard_Address -") Edge; - virtual Standard_Address Edge (); - %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. + /****************** Orientation ******************/ + %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. + :param C: + :type C: opencascade::handle & + :rtype: TopAbs_Orientation") Orientation; + virtual TopAbs_Orientation Orientation (const opencascade::handle & C); + + /****************** Orientation ******************/ + %feature("compactdefaultargs") Orientation; + %feature("autodoc", "* Returns the orientation of the vertex V. The vertex has been found with an exploration on a given arc. The orientation is the orientation of the vertex on this arc. + :param V: + :type V: opencascade::handle & + :rtype: TopAbs_Orientation") Orientation; + virtual TopAbs_Orientation Orientation (const opencascade::handle & V); + /****************** Pnt ******************/ + %feature("compactdefaultargs") Pnt; + %feature("autodoc", "* returns 3d point of the vertex V + :param V: + :type V: opencascade::handle & + :rtype: gp_Pnt") Pnt; + virtual gp_Pnt Pnt (const opencascade::handle & V); + + /****************** SamplePnts ******************/ + %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. :param theDefl: :type theDefl: float :param theNUmin: :type theNUmin: int :param theNVmin: :type theNVmin: int - :rtype: void -") SamplePnts; + :rtype: void") SamplePnts; virtual void SamplePnts (const Standard_Real theDefl,const Standard_Integer theNUmin,const Standard_Integer theNVmin); - %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. - :param theDefl: - :type theDefl: float - :param theNUmin: - :type theNUmin: int - :param theNVmin: - :type theNVmin: int - :rtype: void -") BSplSamplePnts; - virtual void BSplSamplePnts (const Standard_Real theDefl,const Standard_Integer theNUmin,const Standard_Integer theNVmin); - %feature("compactdefaultargs") IsUniformSampling; - %feature("autodoc", " * Returns true if provide uniform sampling of points. + /****************** SamplePoint ******************/ + %feature("compactdefaultargs") SamplePoint; + %feature("autodoc", ":param Index: + :type Index: int + :param P2d: + :type P2d: gp_Pnt2d + :param P3d: + :type P3d: gp_Pnt + :rtype: void") SamplePoint; + virtual void SamplePoint (const Standard_Integer Index,gp_Pnt2d & P2d,gp_Pnt & P3d); - :rtype: bool -") IsUniformSampling; - virtual Standard_Boolean IsUniformSampling (); -}; + /****************** Tol3d ******************/ + %feature("compactdefaultargs") Tol3d; + %feature("autodoc", "* returns 3d tolerance of the arc C + :param C: + :type C: opencascade::handle & + :rtype: float") Tol3d; + virtual Standard_Real Tol3d (const opencascade::handle & C); + + /****************** Tol3d ******************/ + %feature("compactdefaultargs") Tol3d; + %feature("autodoc", "* returns 3d tolerance of the vertex V + :param V: + :type V: opencascade::handle & + :rtype: float") Tol3d; + virtual Standard_Real Tol3d (const opencascade::handle & V); + + /****************** UParameters ******************/ + %feature("compactdefaultargs") UParameters; + %feature("autodoc", "* return the set of U parameters on the surface obtained by the method SamplePnts + :param theArray: + :type theArray: TColStd_Array1OfReal & + :rtype: None") UParameters; + void UParameters (TColStd_Array1OfReal & theArray); + + /****************** VParameters ******************/ + %feature("compactdefaultargs") VParameters; + %feature("autodoc", "* return the set of V parameters on the surface obtained by the method SamplePnts + :param theArray: + :type theArray: TColStd_Array1OfReal & + :rtype: None") VParameters; + void VParameters (TColStd_Array1OfReal & theArray); + + /****************** Value ******************/ + %feature("compactdefaultargs") Value; + %feature("autodoc", ":rtype: opencascade::handle") Value; + virtual opencascade::handle Value (); + + /****************** Vertex ******************/ + %feature("compactdefaultargs") Vertex; + %feature("autodoc", ":rtype: opencascade::handle") Vertex; + virtual opencascade::handle Vertex (); + +}; %make_alias(Adaptor3d_TopolTool) @@ -2183,148 +2027,90 @@ class Adaptor3d_TopolTool : public MMgt_TShared { __repr__ = _dumps_object } }; + +/********************************* +* class Adaptor3d_CurveOnSurface * +*********************************/ %nodefaultctor Adaptor3d_CurveOnSurface; class Adaptor3d_CurveOnSurface : public Adaptor3d_Curve { public: + /****************** Adaptor3d_CurveOnSurface ******************/ %feature("compactdefaultargs") Adaptor3d_CurveOnSurface; - %feature("autodoc", " :rtype: None -") Adaptor3d_CurveOnSurface; + %feature("autodoc", ":rtype: None") Adaptor3d_CurveOnSurface; Adaptor3d_CurveOnSurface (); + + /****************** Adaptor3d_CurveOnSurface ******************/ %feature("compactdefaultargs") Adaptor3d_CurveOnSurface; - %feature("autodoc", " :param S: - :type S: Handle_Adaptor3d_HSurface & - :rtype: None -") Adaptor3d_CurveOnSurface; - Adaptor3d_CurveOnSurface (const Handle_Adaptor3d_HSurface & S); - %feature("compactdefaultargs") Adaptor3d_CurveOnSurface; - %feature("autodoc", " * Creates a CurveOnSurface from the 2d curve and the surface . + %feature("autodoc", ":param S: + :type S: opencascade::handle & + :rtype: None") Adaptor3d_CurveOnSurface; + Adaptor3d_CurveOnSurface (const opencascade::handle & S); + /****************** Adaptor3d_CurveOnSurface ******************/ + %feature("compactdefaultargs") Adaptor3d_CurveOnSurface; + %feature("autodoc", "* Creates a CurveOnSurface from the 2d curve and the surface . :param C: - :type C: Handle_Adaptor2d_HCurve2d & + :type C: opencascade::handle & :param S: - :type S: Handle_Adaptor3d_HSurface & - :rtype: None -") Adaptor3d_CurveOnSurface; - Adaptor3d_CurveOnSurface (const Handle_Adaptor2d_HCurve2d & C,const Handle_Adaptor3d_HSurface & S); - %feature("compactdefaultargs") Load; - %feature("autodoc", " * Changes the surface. + :type S: opencascade::handle & + :rtype: None") Adaptor3d_CurveOnSurface; + Adaptor3d_CurveOnSurface (const opencascade::handle & C,const opencascade::handle & S); - :param S: - :type S: Handle_Adaptor3d_HSurface & - :rtype: None -") Load; - void Load (const Handle_Adaptor3d_HSurface & S); - %feature("compactdefaultargs") Load; - %feature("autodoc", " * Changes the 2d curve. + /****************** BSpline ******************/ + %feature("compactdefaultargs") BSpline; + %feature("autodoc", ":rtype: opencascade::handle") BSpline; + opencascade::handle BSpline (); - :param C: - :type C: Handle_Adaptor2d_HCurve2d & - :rtype: None -") Load; - void Load (const Handle_Adaptor2d_HCurve2d & C); - %feature("compactdefaultargs") GetCurve; - %feature("autodoc", " :rtype: Handle_Adaptor2d_HCurve2d -") GetCurve; - Handle_Adaptor2d_HCurve2d GetCurve (); - %feature("compactdefaultargs") GetSurface; - %feature("autodoc", " :rtype: Handle_Adaptor3d_HSurface -") GetSurface; - Handle_Adaptor3d_HSurface GetSurface (); + /****************** Bezier ******************/ + %feature("compactdefaultargs") Bezier; + %feature("autodoc", ":rtype: opencascade::handle") Bezier; + opencascade::handle Bezier (); + + /****************** ChangeCurve ******************/ %feature("compactdefaultargs") ChangeCurve; - %feature("autodoc", " :rtype: Handle_Adaptor2d_HCurve2d -") ChangeCurve; - Handle_Adaptor2d_HCurve2d ChangeCurve (); - %feature("compactdefaultargs") ChangeSurface; - %feature("autodoc", " :rtype: Handle_Adaptor3d_HSurface -") ChangeSurface; - Handle_Adaptor3d_HSurface ChangeSurface (); - %feature("compactdefaultargs") FirstParameter; - %feature("autodoc", " :rtype: float -") FirstParameter; - Standard_Real FirstParameter (); - %feature("compactdefaultargs") LastParameter; - %feature("autodoc", " :rtype: float -") LastParameter; - Standard_Real LastParameter (); - %feature("compactdefaultargs") Continuity; - %feature("autodoc", " :rtype: GeomAbs_Shape -") Continuity; - GeomAbs_Shape Continuity (); - %feature("compactdefaultargs") NbIntervals; - %feature("autodoc", " * Returns the number of intervals for continuity . May be one if Continuity(me) >= + %feature("autodoc", ":rtype: opencascade::handle") ChangeCurve; + opencascade::handle & ChangeCurve (); - :param S: - :type S: GeomAbs_Shape - :rtype: int -") NbIntervals; - Standard_Integer NbIntervals (const GeomAbs_Shape S); - %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() + /****************** ChangeSurface ******************/ + %feature("compactdefaultargs") ChangeSurface; + %feature("autodoc", ":rtype: opencascade::handle") ChangeSurface; + opencascade::handle & ChangeSurface (); - :param T: - :type T: TColStd_Array1OfReal & - :param S: - :type S: GeomAbs_Shape - :rtype: None -") Intervals; - void Intervals (TColStd_Array1OfReal & T,const GeomAbs_Shape S); - %feature("compactdefaultargs") Trim; - %feature("autodoc", " * Returns a curve equivalent of between parameters and . is used to test for 3d points confusion. If >= + /****************** Circle ******************/ + %feature("compactdefaultargs") Circle; + %feature("autodoc", ":rtype: gp_Circ") Circle; + gp_Circ Circle (); - :param First: - :type First: float - :param Last: - :type Last: float - :param Tol: - :type Tol: float - :rtype: Handle_Adaptor3d_HCurve -") Trim; - Handle_Adaptor3d_HCurve Trim (const Standard_Real First,const Standard_Real Last,const Standard_Real Tol); - %feature("compactdefaultargs") IsClosed; - %feature("autodoc", " :rtype: bool -") IsClosed; - Standard_Boolean IsClosed (); - %feature("compactdefaultargs") IsPeriodic; - %feature("autodoc", " :rtype: bool -") IsPeriodic; - Standard_Boolean IsPeriodic (); - %feature("compactdefaultargs") Period; - %feature("autodoc", " :rtype: float -") Period; - Standard_Real Period (); - %feature("compactdefaultargs") Value; - %feature("autodoc", " * Computes the point of parameter U on the curve. + /****************** Continuity ******************/ + %feature("compactdefaultargs") Continuity; + %feature("autodoc", ":rtype: GeomAbs_Shape") Continuity; + GeomAbs_Shape Continuity (); - :param U: - :type U: float - :rtype: gp_Pnt -") Value; - gp_Pnt Value (const Standard_Real U); + /****************** D0 ******************/ %feature("compactdefaultargs") D0; - %feature("autodoc", " * Computes the point of parameter U on the curve. - + %feature("autodoc", "* Computes the point of parameter U on the curve. :param U: :type U: float :param P: :type P: gp_Pnt - :rtype: None -") D0; + :rtype: None") D0; void D0 (const Standard_Real U,gp_Pnt & P); - %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. + /****************** D1 ******************/ + %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. :param U: :type U: float :param P: :type P: gp_Pnt :param V: :type V: gp_Vec - :rtype: None -") D1; + :rtype: None") D1; void D1 (const Standard_Real U,gp_Pnt & P,gp_Vec & V); - %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. + /****************** D2 ******************/ + %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. :param U: :type U: float :param P: @@ -2333,12 +2119,12 @@ class Adaptor3d_CurveOnSurface : public Adaptor3d_Curve { :type V1: gp_Vec :param V2: :type V2: gp_Vec - :rtype: None -") D2; + :rtype: None") D2; void D2 (const Standard_Real U,gp_Pnt & P,gp_Vec & V1,gp_Vec & V2); - %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. + /****************** D3 ******************/ + %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. :param U: :type U: float :param P: @@ -2349,77 +2135,172 @@ class Adaptor3d_CurveOnSurface : public Adaptor3d_Curve { :type V2: gp_Vec :param V3: :type V3: gp_Vec - :rtype: None -") D3; + :rtype: None") D3; void D3 (const Standard_Real U,gp_Pnt & P,gp_Vec & V1,gp_Vec & V2,gp_Vec & V3); - %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. + /****************** DN ******************/ + %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. :param U: :type U: float :param N: :type N: int - :rtype: gp_Vec -") DN; + :rtype: gp_Vec") DN; gp_Vec DN (const Standard_Real U,const Standard_Integer N); - %feature("compactdefaultargs") Resolution; - %feature("autodoc", " * Returns the parametric resolution corresponding to the real space resolution . - :param R3d: - :type R3d: float - :rtype: float -") Resolution; - Standard_Real Resolution (const Standard_Real R3d); - %feature("compactdefaultargs") GetType; - %feature("autodoc", " * Returns the type of the curve in the current interval : Line, Circle, Ellipse, Hyperbola, Parabola, BezierCurve, BSplineCurve, OtherCurve. + /****************** Degree ******************/ + %feature("compactdefaultargs") Degree; + %feature("autodoc", ":rtype: int") Degree; + Standard_Integer Degree (); - :rtype: GeomAbs_CurveType -") GetType; - GeomAbs_CurveType GetType (); - %feature("compactdefaultargs") Line; - %feature("autodoc", " :rtype: gp_Lin -") Line; - gp_Lin Line (); - %feature("compactdefaultargs") Circle; - %feature("autodoc", " :rtype: gp_Circ -") Circle; - gp_Circ Circle (); + /****************** Ellipse ******************/ %feature("compactdefaultargs") Ellipse; - %feature("autodoc", " :rtype: gp_Elips -") Ellipse; + %feature("autodoc", ":rtype: gp_Elips") Ellipse; gp_Elips Ellipse (); + + /****************** FirstParameter ******************/ + %feature("compactdefaultargs") FirstParameter; + %feature("autodoc", ":rtype: float") FirstParameter; + Standard_Real FirstParameter (); + + /****************** GetCurve ******************/ + %feature("compactdefaultargs") GetCurve; + %feature("autodoc", ":rtype: opencascade::handle") GetCurve; + const opencascade::handle & GetCurve (); + + /****************** GetSurface ******************/ + %feature("compactdefaultargs") GetSurface; + %feature("autodoc", ":rtype: opencascade::handle") GetSurface; + const opencascade::handle & GetSurface (); + + /****************** GetType ******************/ + %feature("compactdefaultargs") GetType; + %feature("autodoc", "* Returns the type of the curve in the current interval : Line, Circle, Ellipse, Hyperbola, Parabola, BezierCurve, BSplineCurve, OtherCurve. + :rtype: GeomAbs_CurveType") GetType; + GeomAbs_CurveType GetType (); + + /****************** Hyperbola ******************/ %feature("compactdefaultargs") Hyperbola; - %feature("autodoc", " :rtype: gp_Hypr -") Hyperbola; + %feature("autodoc", ":rtype: gp_Hypr") Hyperbola; gp_Hypr Hyperbola (); - %feature("compactdefaultargs") Parabola; - %feature("autodoc", " :rtype: gp_Parab -") Parabola; - gp_Parab Parabola (); - %feature("compactdefaultargs") Degree; - %feature("autodoc", " :rtype: int -") Degree; - Standard_Integer Degree (); + + /****************** Intervals ******************/ + %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() + :param T: + :type T: TColStd_Array1OfReal & + :param S: + :type S: GeomAbs_Shape + :rtype: None") Intervals; + void Intervals (TColStd_Array1OfReal & T,const GeomAbs_Shape S); + + /****************** IsClosed ******************/ + %feature("compactdefaultargs") IsClosed; + %feature("autodoc", ":rtype: bool") IsClosed; + Standard_Boolean IsClosed (); + + /****************** IsPeriodic ******************/ + %feature("compactdefaultargs") IsPeriodic; + %feature("autodoc", ":rtype: bool") IsPeriodic; + Standard_Boolean IsPeriodic (); + + /****************** IsRational ******************/ %feature("compactdefaultargs") IsRational; - %feature("autodoc", " :rtype: bool -") IsRational; + %feature("autodoc", ":rtype: bool") IsRational; Standard_Boolean IsRational (); - %feature("compactdefaultargs") NbPoles; - %feature("autodoc", " :rtype: int -") NbPoles; - Standard_Integer NbPoles (); + + /****************** LastParameter ******************/ + %feature("compactdefaultargs") LastParameter; + %feature("autodoc", ":rtype: float") LastParameter; + Standard_Real LastParameter (); + + /****************** Line ******************/ + %feature("compactdefaultargs") Line; + %feature("autodoc", ":rtype: gp_Lin") Line; + gp_Lin Line (); + + /****************** Load ******************/ + %feature("compactdefaultargs") Load; + %feature("autodoc", "* Changes the surface. + :param S: + :type S: opencascade::handle & + :rtype: None") Load; + void Load (const opencascade::handle & S); + + /****************** Load ******************/ + %feature("compactdefaultargs") Load; + %feature("autodoc", "* Changes the 2d curve. + :param C: + :type C: opencascade::handle & + :rtype: None") Load; + void Load (const opencascade::handle & C); + + /****************** Load ******************/ + %feature("compactdefaultargs") Load; + %feature("autodoc", "* Load both curve and surface. + :param C: + :type C: opencascade::handle & + :param S: + :type S: opencascade::handle & + :rtype: None") Load; + void Load (const opencascade::handle & C,const opencascade::handle & S); + + /****************** NbIntervals ******************/ + %feature("compactdefaultargs") NbIntervals; + %feature("autodoc", "* Returns the number of intervals for continuity . May be one if Continuity(me) >= + :param S: + :type S: GeomAbs_Shape + :rtype: int") NbIntervals; + Standard_Integer NbIntervals (const GeomAbs_Shape S); + + /****************** NbKnots ******************/ %feature("compactdefaultargs") NbKnots; - %feature("autodoc", " :rtype: int -") NbKnots; + %feature("autodoc", ":rtype: int") NbKnots; Standard_Integer NbKnots (); - %feature("compactdefaultargs") Bezier; - %feature("autodoc", " :rtype: Handle_Geom_BezierCurve -") Bezier; - Handle_Geom_BezierCurve Bezier (); - %feature("compactdefaultargs") BSpline; - %feature("autodoc", " :rtype: Handle_Geom_BSplineCurve -") BSpline; - Handle_Geom_BSplineCurve BSpline (); + + /****************** NbPoles ******************/ + %feature("compactdefaultargs") NbPoles; + %feature("autodoc", ":rtype: int") NbPoles; + Standard_Integer NbPoles (); + + /****************** Parabola ******************/ + %feature("compactdefaultargs") Parabola; + %feature("autodoc", ":rtype: gp_Parab") Parabola; + gp_Parab Parabola (); + + /****************** Period ******************/ + %feature("compactdefaultargs") Period; + %feature("autodoc", ":rtype: float") Period; + Standard_Real Period (); + + /****************** Resolution ******************/ + %feature("compactdefaultargs") Resolution; + %feature("autodoc", "* Returns the parametric resolution corresponding to the real space resolution . + :param R3d: + :type R3d: float + :rtype: float") Resolution; + Standard_Real Resolution (const Standard_Real R3d); + + /****************** Trim ******************/ + %feature("compactdefaultargs") Trim; + %feature("autodoc", "* Returns a curve equivalent of between parameters and . is used to test for 3d points confusion. If >= + :param First: + :type First: float + :param Last: + :type Last: float + :param Tol: + :type Tol: float + :rtype: opencascade::handle") Trim; + opencascade::handle Trim (const Standard_Real First,const Standard_Real Last,const Standard_Real Tol); + + /****************** Value ******************/ + %feature("compactdefaultargs") Value; + %feature("autodoc", "* Computes the point of parameter U on the curve. + :param U: + :type U: float + :rtype: gp_Pnt") Value; + gp_Pnt Value (const Standard_Real U); + }; @@ -2428,37 +2309,53 @@ class Adaptor3d_CurveOnSurface : public Adaptor3d_Curve { __repr__ = _dumps_object } }; + +/********************************** +* class Adaptor3d_HCurveOnSurface * +**********************************/ %nodefaultctor Adaptor3d_HCurveOnSurface; class Adaptor3d_HCurveOnSurface : public Adaptor3d_HCurve { public: + /****************** Adaptor3d_HCurveOnSurface ******************/ %feature("compactdefaultargs") Adaptor3d_HCurveOnSurface; - %feature("autodoc", " :rtype: None -") Adaptor3d_HCurveOnSurface; + %feature("autodoc", "* Creates an empty GenHCurve. + :rtype: None") Adaptor3d_HCurveOnSurface; Adaptor3d_HCurveOnSurface (); + + /****************** Adaptor3d_HCurveOnSurface ******************/ %feature("compactdefaultargs") Adaptor3d_HCurveOnSurface; - %feature("autodoc", " :param C: + %feature("autodoc", "* Creates a GenHCurve from a Curve + :param C: :type C: Adaptor3d_CurveOnSurface & - :rtype: None -") Adaptor3d_HCurveOnSurface; + :rtype: None") Adaptor3d_HCurveOnSurface; Adaptor3d_HCurveOnSurface (const Adaptor3d_CurveOnSurface & C); - %feature("compactdefaultargs") Set; - %feature("autodoc", " :param C: - :type C: Adaptor3d_CurveOnSurface & - :rtype: None -") Set; - void Set (const Adaptor3d_CurveOnSurface & C); + + /****************** ChangeCurve ******************/ + %feature("compactdefaultargs") ChangeCurve; + %feature("autodoc", "* Returns the curve used to create the GenHCurve. + :rtype: Adaptor3d_CurveOnSurface") ChangeCurve; + Adaptor3d_CurveOnSurface & ChangeCurve (); + + /****************** Curve ******************/ %feature("compactdefaultargs") Curve; - %feature("autodoc", " :rtype: Adaptor3d_Curve -") Curve; + %feature("autodoc", "* Returns the curve used to create the GenHCurve. This is redefined from HCurve, cannot be inline. + :rtype: Adaptor3d_Curve") Curve; const Adaptor3d_Curve & Curve (); + + /****************** GetCurve ******************/ %feature("compactdefaultargs") GetCurve; - %feature("autodoc", " :rtype: Adaptor3d_Curve -") GetCurve; + %feature("autodoc", "* Returns the curve used to create the GenHCurve. This is redefined from HCurve, cannot be inline. + :rtype: Adaptor3d_Curve") GetCurve; Adaptor3d_Curve & GetCurve (); - %feature("compactdefaultargs") ChangeCurve; - %feature("autodoc", " :rtype: Adaptor3d_CurveOnSurface -") ChangeCurve; - Adaptor3d_CurveOnSurface & ChangeCurve (); + + /****************** Set ******************/ + %feature("compactdefaultargs") Set; + %feature("autodoc", "* Sets the field of the GenHCurve. + :param C: + :type C: Adaptor3d_CurveOnSurface & + :rtype: None") Set; + void Set (const Adaptor3d_CurveOnSurface & C); + }; @@ -2469,155 +2366,101 @@ class Adaptor3d_HCurveOnSurface : public Adaptor3d_HCurve { __repr__ = _dumps_object } }; + +/**************************** +* class Adaptor3d_HIsoCurve * +****************************/ %nodefaultctor Adaptor3d_HIsoCurve; class Adaptor3d_HIsoCurve : public Adaptor3d_HCurve { public: + /****************** Adaptor3d_HIsoCurve ******************/ %feature("compactdefaultargs") Adaptor3d_HIsoCurve; - %feature("autodoc", " :rtype: None -") Adaptor3d_HIsoCurve; + %feature("autodoc", "* Creates an empty GenHCurve. + :rtype: None") Adaptor3d_HIsoCurve; Adaptor3d_HIsoCurve (); + + /****************** Adaptor3d_HIsoCurve ******************/ %feature("compactdefaultargs") Adaptor3d_HIsoCurve; - %feature("autodoc", " :param C: + %feature("autodoc", "* Creates a GenHCurve from a Curve + :param C: :type C: Adaptor3d_IsoCurve & - :rtype: None -") Adaptor3d_HIsoCurve; + :rtype: None") Adaptor3d_HIsoCurve; Adaptor3d_HIsoCurve (const Adaptor3d_IsoCurve & C); - %feature("compactdefaultargs") Set; - %feature("autodoc", " :param C: - :type C: Adaptor3d_IsoCurve & - :rtype: None -") Set; - void Set (const Adaptor3d_IsoCurve & C); - %feature("compactdefaultargs") Curve; - %feature("autodoc", " :rtype: Adaptor3d_Curve -") Curve; - const Adaptor3d_Curve & Curve (); - %feature("compactdefaultargs") GetCurve; - %feature("autodoc", " :rtype: Adaptor3d_Curve -") GetCurve; - Adaptor3d_Curve & GetCurve (); + + /****************** ChangeCurve ******************/ %feature("compactdefaultargs") ChangeCurve; - %feature("autodoc", " :rtype: Adaptor3d_IsoCurve -") ChangeCurve; + %feature("autodoc", "* Returns the curve used to create the GenHCurve. + :rtype: Adaptor3d_IsoCurve") ChangeCurve; Adaptor3d_IsoCurve & ChangeCurve (); -}; + /****************** Curve ******************/ + %feature("compactdefaultargs") Curve; + %feature("autodoc", "* Returns the curve used to create the GenHCurve. This is redefined from HCurve, cannot be inline. + :rtype: Adaptor3d_Curve") Curve; + const Adaptor3d_Curve & Curve (); -%make_alias(Adaptor3d_HIsoCurve) + /****************** GetCurve ******************/ + %feature("compactdefaultargs") GetCurve; + %feature("autodoc", "* Returns the curve used to create the GenHCurve. This is redefined from HCurve, cannot be inline. + :rtype: Adaptor3d_Curve") GetCurve; + Adaptor3d_Curve & GetCurve (); -%extend Adaptor3d_HIsoCurve { - %pythoncode { - __repr__ = _dumps_object - } -}; -%nodefaultctor Adaptor3d_HSurfaceOfLinearExtrusion; -class Adaptor3d_HSurfaceOfLinearExtrusion : public Adaptor3d_HSurface { - public: - %feature("compactdefaultargs") Adaptor3d_HSurfaceOfLinearExtrusion; - %feature("autodoc", " :rtype: None -") Adaptor3d_HSurfaceOfLinearExtrusion; - Adaptor3d_HSurfaceOfLinearExtrusion (); - %feature("compactdefaultargs") Adaptor3d_HSurfaceOfLinearExtrusion; - %feature("autodoc", " :param S: - :type S: Adaptor3d_SurfaceOfLinearExtrusion & - :rtype: None -") Adaptor3d_HSurfaceOfLinearExtrusion; - Adaptor3d_HSurfaceOfLinearExtrusion (const Adaptor3d_SurfaceOfLinearExtrusion & S); + /****************** Set ******************/ %feature("compactdefaultargs") Set; - %feature("autodoc", " :param S: - :type S: Adaptor3d_SurfaceOfLinearExtrusion & - :rtype: None -") Set; - void Set (const Adaptor3d_SurfaceOfLinearExtrusion & S); - %feature("compactdefaultargs") Surface; - %feature("autodoc", " :rtype: Adaptor3d_Surface -") Surface; - const Adaptor3d_Surface & Surface (); - %feature("compactdefaultargs") ChangeSurface; - %feature("autodoc", " :rtype: Adaptor3d_SurfaceOfLinearExtrusion -") ChangeSurface; - Adaptor3d_SurfaceOfLinearExtrusion & ChangeSurface (); -}; - - -%make_alias(Adaptor3d_HSurfaceOfLinearExtrusion) + %feature("autodoc", "* Sets the field of the GenHCurve. + :param C: + :type C: Adaptor3d_IsoCurve & + :rtype: None") Set; + void Set (const Adaptor3d_IsoCurve & C); -%extend Adaptor3d_HSurfaceOfLinearExtrusion { - %pythoncode { - __repr__ = _dumps_object - } -}; -%nodefaultctor Adaptor3d_HSurfaceOfRevolution; -class Adaptor3d_HSurfaceOfRevolution : public Adaptor3d_HSurface { - public: - %feature("compactdefaultargs") Adaptor3d_HSurfaceOfRevolution; - %feature("autodoc", " :rtype: None -") Adaptor3d_HSurfaceOfRevolution; - Adaptor3d_HSurfaceOfRevolution (); - %feature("compactdefaultargs") Adaptor3d_HSurfaceOfRevolution; - %feature("autodoc", " :param S: - :type S: Adaptor3d_SurfaceOfRevolution & - :rtype: None -") Adaptor3d_HSurfaceOfRevolution; - Adaptor3d_HSurfaceOfRevolution (const Adaptor3d_SurfaceOfRevolution & S); - %feature("compactdefaultargs") Set; - %feature("autodoc", " :param S: - :type S: Adaptor3d_SurfaceOfRevolution & - :rtype: None -") Set; - void Set (const Adaptor3d_SurfaceOfRevolution & S); - %feature("compactdefaultargs") Surface; - %feature("autodoc", " :rtype: Adaptor3d_Surface -") Surface; - const Adaptor3d_Surface & Surface (); - %feature("compactdefaultargs") ChangeSurface; - %feature("autodoc", " :rtype: Adaptor3d_SurfaceOfRevolution -") ChangeSurface; - Adaptor3d_SurfaceOfRevolution & ChangeSurface (); }; -%make_alias(Adaptor3d_HSurfaceOfRevolution) +%make_alias(Adaptor3d_HIsoCurve) -%extend Adaptor3d_HSurfaceOfRevolution { +%extend Adaptor3d_HIsoCurve { %pythoncode { __repr__ = _dumps_object } }; + +/*************************** +* class Adaptor3d_IsoCurve * +***************************/ %nodefaultctor Adaptor3d_IsoCurve; class Adaptor3d_IsoCurve : public Adaptor3d_Curve { public: + /****************** Adaptor3d_IsoCurve ******************/ %feature("compactdefaultargs") Adaptor3d_IsoCurve; - %feature("autodoc", " * The iso is set to NoneIso. - - :rtype: None -") Adaptor3d_IsoCurve; + %feature("autodoc", "* The iso is set to NoneIso. + :rtype: None") Adaptor3d_IsoCurve; Adaptor3d_IsoCurve (); - %feature("compactdefaultargs") Adaptor3d_IsoCurve; - %feature("autodoc", " * The surface is loaded. The iso is set to NoneIso. - :param S: - :type S: Handle_Adaptor3d_HSurface & - :rtype: None -") Adaptor3d_IsoCurve; - Adaptor3d_IsoCurve (const Handle_Adaptor3d_HSurface & S); + /****************** Adaptor3d_IsoCurve ******************/ %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. + %feature("autodoc", "* The surface is loaded. The iso is set to NoneIso. + :param S: + :type S: opencascade::handle & + :rtype: None") Adaptor3d_IsoCurve; + Adaptor3d_IsoCurve (const opencascade::handle & S); + /****************** Adaptor3d_IsoCurve ******************/ + %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. :param S: - :type S: Handle_Adaptor3d_HSurface & + :type S: opencascade::handle & :param Iso: :type Iso: GeomAbs_IsoType :param Param: :type Param: float - :rtype: None -") Adaptor3d_IsoCurve; - Adaptor3d_IsoCurve (const Handle_Adaptor3d_HSurface & S,const GeomAbs_IsoType Iso,const Standard_Real Param); - %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. + :rtype: None") Adaptor3d_IsoCurve; + Adaptor3d_IsoCurve (const opencascade::handle & S,const GeomAbs_IsoType Iso,const Standard_Real Param); + /****************** Adaptor3d_IsoCurve ******************/ + %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. :param S: - :type S: Handle_Adaptor3d_HSurface & + :type S: opencascade::handle & :param Iso: :type Iso: GeomAbs_IsoType :param Param: @@ -2626,140 +2469,54 @@ class Adaptor3d_IsoCurve : public Adaptor3d_Curve { :type WFirst: float :param WLast: :type WLast: float - :rtype: None -") Adaptor3d_IsoCurve; - Adaptor3d_IsoCurve (const Handle_Adaptor3d_HSurface & S,const GeomAbs_IsoType Iso,const Standard_Real Param,const Standard_Real WFirst,const Standard_Real WLast); - %feature("compactdefaultargs") Load; - %feature("autodoc", " * Changes the surface. The iso is reset to NoneIso. + :rtype: 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); - :param S: - :type S: Handle_Adaptor3d_HSurface & - :rtype: None -") Load; - void Load (const Handle_Adaptor3d_HSurface & S); - %feature("compactdefaultargs") Load; - %feature("autodoc", " * Changes the iso on the current surface. + /****************** BSpline ******************/ + %feature("compactdefaultargs") BSpline; + %feature("autodoc", ":rtype: opencascade::handle") BSpline; + opencascade::handle BSpline (); - :param Iso: - :type Iso: GeomAbs_IsoType - :param Param: - :type Param: float - :rtype: None -") Load; - void Load (const GeomAbs_IsoType Iso,const Standard_Real Param); - %feature("compactdefaultargs") Load; - %feature("autodoc", " * Changes the iso on the current surface. + /****************** Bezier ******************/ + %feature("compactdefaultargs") Bezier; + %feature("autodoc", ":rtype: opencascade::handle") Bezier; + opencascade::handle Bezier (); - :param Iso: - :type Iso: GeomAbs_IsoType - :param Param: - :type Param: float - :param WFirst: - :type WFirst: float - :param WLast: - :type WLast: float - :rtype: None -") Load; - void Load (const GeomAbs_IsoType Iso,const Standard_Real Param,const Standard_Real WFirst,const Standard_Real WLast); - %feature("compactdefaultargs") Surface; - %feature("autodoc", " :rtype: Handle_Adaptor3d_HSurface -") Surface; - Handle_Adaptor3d_HSurface Surface (); - %feature("compactdefaultargs") Iso; - %feature("autodoc", " :rtype: GeomAbs_IsoType -") Iso; - GeomAbs_IsoType Iso (); - %feature("compactdefaultargs") Parameter; - %feature("autodoc", " :rtype: float -") Parameter; - Standard_Real Parameter (); - %feature("compactdefaultargs") FirstParameter; - %feature("autodoc", " :rtype: float -") FirstParameter; - Standard_Real FirstParameter (); - %feature("compactdefaultargs") LastParameter; - %feature("autodoc", " :rtype: float -") LastParameter; - Standard_Real LastParameter (); + /****************** Circle ******************/ + %feature("compactdefaultargs") Circle; + %feature("autodoc", ":rtype: gp_Circ") Circle; + gp_Circ Circle (); + + /****************** Continuity ******************/ %feature("compactdefaultargs") Continuity; - %feature("autodoc", " :rtype: GeomAbs_Shape -") Continuity; + %feature("autodoc", ":rtype: GeomAbs_Shape") Continuity; GeomAbs_Shape Continuity (); - %feature("compactdefaultargs") NbIntervals; - %feature("autodoc", " * Returns the number of intervals for continuity . May be one if Continuity(me) >= - - :param S: - :type S: GeomAbs_Shape - :rtype: int -") NbIntervals; - Standard_Integer NbIntervals (const GeomAbs_Shape S); - %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() - - :param T: - :type T: TColStd_Array1OfReal & - :param S: - :type S: GeomAbs_Shape - :rtype: None -") Intervals; - void Intervals (TColStd_Array1OfReal & T,const GeomAbs_Shape S); - %feature("compactdefaultargs") Trim; - %feature("autodoc", " * Returns a curve equivalent of between parameters and . is used to test for 3d points confusion. If >= - :param First: - :type First: float - :param Last: - :type Last: float - :param Tol: - :type Tol: float - :rtype: Handle_Adaptor3d_HCurve -") Trim; - Handle_Adaptor3d_HCurve Trim (const Standard_Real First,const Standard_Real Last,const Standard_Real Tol); - %feature("compactdefaultargs") IsClosed; - %feature("autodoc", " :rtype: bool -") IsClosed; - Standard_Boolean IsClosed (); - %feature("compactdefaultargs") IsPeriodic; - %feature("autodoc", " :rtype: bool -") IsPeriodic; - Standard_Boolean IsPeriodic (); - %feature("compactdefaultargs") Period; - %feature("autodoc", " :rtype: float -") Period; - Standard_Real Period (); - %feature("compactdefaultargs") Value; - %feature("autodoc", " * Computes the point of parameter U on the curve. - - :param U: - :type U: float - :rtype: gp_Pnt -") Value; - gp_Pnt Value (const Standard_Real U); + /****************** D0 ******************/ %feature("compactdefaultargs") D0; - %feature("autodoc", " * Computes the point of parameter U on the curve. - + %feature("autodoc", "* Computes the point of parameter U on the curve. :param U: :type U: float :param P: :type P: gp_Pnt - :rtype: None -") D0; + :rtype: None") D0; void D0 (const Standard_Real U,gp_Pnt & P); - %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. + /****************** D1 ******************/ + %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. :param U: :type U: float :param P: :type P: gp_Pnt :param V: :type V: gp_Vec - :rtype: None -") D1; + :rtype: None") D1; void D1 (const Standard_Real U,gp_Pnt & P,gp_Vec & V); - %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. + /****************** D2 ******************/ + %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. :param U: :type U: float :param P: @@ -2768,12 +2525,12 @@ class Adaptor3d_IsoCurve : public Adaptor3d_Curve { :type V1: gp_Vec :param V2: :type V2: gp_Vec - :rtype: None -") D2; + :rtype: None") D2; void D2 (const Standard_Real U,gp_Pnt & P,gp_Vec & V1,gp_Vec & V2); - %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. + /****************** D3 ******************/ + %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. :param U: :type U: float :param P: @@ -2784,802 +2541,192 @@ class Adaptor3d_IsoCurve : public Adaptor3d_Curve { :type V2: gp_Vec :param V3: :type V3: gp_Vec - :rtype: None -") D3; + :rtype: None") D3; void D3 (const Standard_Real U,gp_Pnt & P,gp_Vec & V1,gp_Vec & V2,gp_Vec & V3); - %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. + /****************** DN ******************/ + %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. :param U: :type U: float :param N: :type N: int - :rtype: gp_Vec -") DN; + :rtype: gp_Vec") DN; gp_Vec DN (const Standard_Real U,const Standard_Integer N); - %feature("compactdefaultargs") Resolution; - %feature("autodoc", " * Returns the parametric resolution corresponding to the real space resolution . - :param R3d: - :type R3d: float - :rtype: float -") Resolution; - Standard_Real Resolution (const Standard_Real R3d); - %feature("compactdefaultargs") GetType; - %feature("autodoc", " * Returns the type of the curve in the current interval : Line, Circle, Ellipse, Hyperbola, Parabola, BezierCurve, BSplineCurve, OtherCurve. + /****************** Degree ******************/ + %feature("compactdefaultargs") Degree; + %feature("autodoc", ":rtype: int") Degree; + Standard_Integer Degree (); - :rtype: GeomAbs_CurveType -") GetType; - GeomAbs_CurveType GetType (); - %feature("compactdefaultargs") Line; - %feature("autodoc", " :rtype: gp_Lin -") Line; - gp_Lin Line (); - %feature("compactdefaultargs") Circle; - %feature("autodoc", " :rtype: gp_Circ -") Circle; - gp_Circ Circle (); + /****************** Ellipse ******************/ %feature("compactdefaultargs") Ellipse; - %feature("autodoc", " :rtype: gp_Elips -") Ellipse; + %feature("autodoc", ":rtype: gp_Elips") Ellipse; gp_Elips Ellipse (); + + /****************** FirstParameter ******************/ + %feature("compactdefaultargs") FirstParameter; + %feature("autodoc", ":rtype: float") FirstParameter; + Standard_Real FirstParameter (); + + /****************** GetType ******************/ + %feature("compactdefaultargs") GetType; + %feature("autodoc", "* Returns the type of the curve in the current interval : Line, Circle, Ellipse, Hyperbola, Parabola, BezierCurve, BSplineCurve, OtherCurve. + :rtype: GeomAbs_CurveType") GetType; + GeomAbs_CurveType GetType (); + + /****************** Hyperbola ******************/ %feature("compactdefaultargs") Hyperbola; - %feature("autodoc", " :rtype: gp_Hypr -") Hyperbola; + %feature("autodoc", ":rtype: gp_Hypr") Hyperbola; gp_Hypr Hyperbola (); - %feature("compactdefaultargs") Parabola; - %feature("autodoc", " :rtype: gp_Parab -") Parabola; - gp_Parab Parabola (); - %feature("compactdefaultargs") Degree; - %feature("autodoc", " :rtype: int -") Degree; - Standard_Integer Degree (); + + /****************** Intervals ******************/ + %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() + :param T: + :type T: TColStd_Array1OfReal & + :param S: + :type S: GeomAbs_Shape + :rtype: None") Intervals; + void Intervals (TColStd_Array1OfReal & T,const GeomAbs_Shape S); + + /****************** IsClosed ******************/ + %feature("compactdefaultargs") IsClosed; + %feature("autodoc", ":rtype: bool") IsClosed; + Standard_Boolean IsClosed (); + + /****************** IsPeriodic ******************/ + %feature("compactdefaultargs") IsPeriodic; + %feature("autodoc", ":rtype: bool") IsPeriodic; + Standard_Boolean IsPeriodic (); + + /****************** IsRational ******************/ %feature("compactdefaultargs") IsRational; - %feature("autodoc", " :rtype: bool -") IsRational; + %feature("autodoc", ":rtype: bool") IsRational; Standard_Boolean IsRational (); - %feature("compactdefaultargs") NbPoles; - %feature("autodoc", " :rtype: int -") NbPoles; - Standard_Integer NbPoles (); - %feature("compactdefaultargs") NbKnots; - %feature("autodoc", " :rtype: int -") NbKnots; - Standard_Integer NbKnots (); - %feature("compactdefaultargs") Bezier; - %feature("autodoc", " :rtype: Handle_Geom_BezierCurve -") Bezier; - Handle_Geom_BezierCurve Bezier (); - %feature("compactdefaultargs") BSpline; - %feature("autodoc", " :rtype: Handle_Geom_BSplineCurve -") BSpline; - Handle_Geom_BSplineCurve BSpline (); -}; + /****************** Iso ******************/ + %feature("compactdefaultargs") Iso; + %feature("autodoc", ":rtype: GeomAbs_IsoType") Iso; + GeomAbs_IsoType Iso (); -%extend Adaptor3d_IsoCurve { - %pythoncode { - __repr__ = _dumps_object - } -}; -%nodefaultctor Adaptor3d_SurfaceOfLinearExtrusion; -class Adaptor3d_SurfaceOfLinearExtrusion : public Adaptor3d_Surface { - public: - %feature("compactdefaultargs") Adaptor3d_SurfaceOfLinearExtrusion; - %feature("autodoc", " :rtype: None -") Adaptor3d_SurfaceOfLinearExtrusion; - Adaptor3d_SurfaceOfLinearExtrusion (); - %feature("compactdefaultargs") Adaptor3d_SurfaceOfLinearExtrusion; - %feature("autodoc", " * The Curve is loaded. + /****************** LastParameter ******************/ + %feature("compactdefaultargs") LastParameter; + %feature("autodoc", ":rtype: float") LastParameter; + Standard_Real LastParameter (); - :param C: - :type C: Handle_Adaptor3d_HCurve & - :rtype: None -") Adaptor3d_SurfaceOfLinearExtrusion; - Adaptor3d_SurfaceOfLinearExtrusion (const Handle_Adaptor3d_HCurve & C); - %feature("compactdefaultargs") Adaptor3d_SurfaceOfLinearExtrusion; - %feature("autodoc", " * Thew Curve and the Direction are loaded. + /****************** Line ******************/ + %feature("compactdefaultargs") Line; + %feature("autodoc", ":rtype: gp_Lin") Line; + gp_Lin Line (); - :param C: - :type C: Handle_Adaptor3d_HCurve & - :param V: - :type V: gp_Dir - :rtype: None -") Adaptor3d_SurfaceOfLinearExtrusion; - Adaptor3d_SurfaceOfLinearExtrusion (const Handle_Adaptor3d_HCurve & C,const gp_Dir & V); + /****************** Load ******************/ %feature("compactdefaultargs") Load; - %feature("autodoc", " * Changes the Curve + %feature("autodoc", "* Changes the surface. The iso is reset to NoneIso. + :param S: + :type S: opencascade::handle & + :rtype: None") Load; + void Load (const opencascade::handle & S); - :param C: - :type C: Handle_Adaptor3d_HCurve & - :rtype: None -") Load; - void Load (const Handle_Adaptor3d_HCurve & C); + /****************** Load ******************/ %feature("compactdefaultargs") Load; - %feature("autodoc", " * Changes the Direction - - :param V: - :type V: gp_Dir - :rtype: None -") Load; - void Load (const gp_Dir & V); - %feature("compactdefaultargs") FirstUParameter; - %feature("autodoc", " :rtype: float -") FirstUParameter; - Standard_Real FirstUParameter (); - %feature("compactdefaultargs") LastUParameter; - %feature("autodoc", " :rtype: float -") LastUParameter; - Standard_Real LastUParameter (); - %feature("compactdefaultargs") FirstVParameter; - %feature("autodoc", " :rtype: float -") FirstVParameter; - Standard_Real FirstVParameter (); - %feature("compactdefaultargs") LastVParameter; - %feature("autodoc", " :rtype: float -") LastVParameter; - Standard_Real LastVParameter (); - %feature("compactdefaultargs") UContinuity; - %feature("autodoc", " :rtype: GeomAbs_Shape -") UContinuity; - GeomAbs_Shape UContinuity (); - %feature("compactdefaultargs") VContinuity; - %feature("autodoc", " * Return CN. + %feature("autodoc", "* Changes the iso on the current surface. + :param Iso: + :type Iso: GeomAbs_IsoType + :param Param: + :type Param: float + :rtype: None") Load; + void Load (const GeomAbs_IsoType Iso,const Standard_Real Param); - :rtype: GeomAbs_Shape -") VContinuity; - GeomAbs_Shape VContinuity (); - %feature("compactdefaultargs") NbUIntervals; - %feature("autodoc", " * Returns the number of U intervals for continuity . May be one if UContinuity(me) >= + /****************** Load ******************/ + %feature("compactdefaultargs") Load; + %feature("autodoc", "* Changes the iso on the current surface. + :param Iso: + :type Iso: GeomAbs_IsoType + :param Param: + :type Param: float + :param WFirst: + :type WFirst: float + :param WLast: + :type WLast: float + :rtype: None") Load; + void Load (const GeomAbs_IsoType Iso,const Standard_Real Param,const Standard_Real WFirst,const Standard_Real WLast); + /****************** NbIntervals ******************/ + %feature("compactdefaultargs") NbIntervals; + %feature("autodoc", "* Returns the number of intervals for continuity . May be one if Continuity(me) >= :param S: :type S: GeomAbs_Shape - :rtype: int -") NbUIntervals; - Standard_Integer NbUIntervals (const GeomAbs_Shape S); - %feature("compactdefaultargs") NbVIntervals; - %feature("autodoc", " * Returns the number of V intervals for continuity . May be one if VContinuity(me) >= + :rtype: int") NbIntervals; + Standard_Integer NbIntervals (const GeomAbs_Shape S); - :param S: - :type S: GeomAbs_Shape - :rtype: int -") NbVIntervals; - Standard_Integer NbVIntervals (const GeomAbs_Shape S); - %feature("compactdefaultargs") UIntervals; - %feature("autodoc", " * Returns the intervals with the requested continuity in the U direction. + /****************** NbKnots ******************/ + %feature("compactdefaultargs") NbKnots; + %feature("autodoc", ":rtype: int") NbKnots; + Standard_Integer NbKnots (); - :param T: - :type T: TColStd_Array1OfReal & - :param S: - :type S: GeomAbs_Shape - :rtype: None -") UIntervals; - void UIntervals (TColStd_Array1OfReal & T,const GeomAbs_Shape S); - %feature("compactdefaultargs") VIntervals; - %feature("autodoc", " * Returns the intervals with the requested continuity in the V direction. + /****************** NbPoles ******************/ + %feature("compactdefaultargs") NbPoles; + %feature("autodoc", ":rtype: int") NbPoles; + Standard_Integer NbPoles (); - :param T: - :type T: TColStd_Array1OfReal & - :param S: - :type S: GeomAbs_Shape - :rtype: None -") VIntervals; - void VIntervals (TColStd_Array1OfReal & T,const GeomAbs_Shape S); - %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 >= + /****************** Parabola ******************/ + %feature("compactdefaultargs") Parabola; + %feature("autodoc", ":rtype: gp_Parab") Parabola; + gp_Parab Parabola (); - :param First: - :type First: float - :param Last: - :type Last: float - :param Tol: - :type Tol: float - :rtype: Handle_Adaptor3d_HSurface -") UTrim; - Handle_Adaptor3d_HSurface UTrim (const Standard_Real First,const Standard_Real Last,const Standard_Real Tol); - %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 >= + /****************** Parameter ******************/ + %feature("compactdefaultargs") Parameter; + %feature("autodoc", ":rtype: float") Parameter; + Standard_Real Parameter (); + + /****************** Period ******************/ + %feature("compactdefaultargs") Period; + %feature("autodoc", ":rtype: float") Period; + Standard_Real Period (); + + /****************** Resolution ******************/ + %feature("compactdefaultargs") Resolution; + %feature("autodoc", "* Returns the parametric resolution corresponding to the real space resolution . + :param R3d: + :type R3d: float + :rtype: float") Resolution; + Standard_Real Resolution (const Standard_Real R3d); + /****************** Surface ******************/ + %feature("compactdefaultargs") Surface; + %feature("autodoc", ":rtype: opencascade::handle") Surface; + const opencascade::handle & Surface (); + + /****************** Trim ******************/ + %feature("compactdefaultargs") Trim; + %feature("autodoc", "* Returns a curve equivalent of between parameters and . is used to test for 3d points confusion. If >= :param First: :type First: float :param Last: :type Last: float :param Tol: :type Tol: float - :rtype: Handle_Adaptor3d_HSurface -") VTrim; - Handle_Adaptor3d_HSurface VTrim (const Standard_Real First,const Standard_Real Last,const Standard_Real Tol); - %feature("compactdefaultargs") IsUClosed; - %feature("autodoc", " :rtype: bool -") IsUClosed; - Standard_Boolean IsUClosed (); - %feature("compactdefaultargs") IsVClosed; - %feature("autodoc", " :rtype: bool -") IsVClosed; - Standard_Boolean IsVClosed (); - %feature("compactdefaultargs") IsUPeriodic; - %feature("autodoc", " :rtype: bool -") IsUPeriodic; - Standard_Boolean IsUPeriodic (); - %feature("compactdefaultargs") UPeriod; - %feature("autodoc", " :rtype: float -") UPeriod; - Standard_Real UPeriod (); - %feature("compactdefaultargs") IsVPeriodic; - %feature("autodoc", " :rtype: bool -") IsVPeriodic; - Standard_Boolean IsVPeriodic (); - %feature("compactdefaultargs") VPeriod; - %feature("autodoc", " :rtype: float -") VPeriod; - Standard_Real VPeriod (); - %feature("compactdefaultargs") Value; - %feature("autodoc", " * Computes the point of parameters U,V on the surface. - - :param U: - :type U: float - :param V: - :type V: float - :rtype: gp_Pnt -") Value; - gp_Pnt Value (const Standard_Real U,const Standard_Real V); - %feature("compactdefaultargs") D0; - %feature("autodoc", " * Computes the point of parameters U,V on the surface. + :rtype: opencascade::handle") Trim; + opencascade::handle Trim (const Standard_Real First,const Standard_Real Last,const Standard_Real Tol); + /****************** Value ******************/ + %feature("compactdefaultargs") Value; + %feature("autodoc", "* Computes the point of parameter U on the curve. :param U: :type U: float - :param V: - :type V: float - :param P: - :type P: gp_Pnt - :rtype: None -") D0; - void D0 (const Standard_Real U,const Standard_Real V,gp_Pnt & P); - %feature("compactdefaultargs") D1; - %feature("autodoc", " * Computes the point and the first derivatives on the surface. Raised if the continuity of the current intervals is not C1. + :rtype: gp_Pnt") Value; + gp_Pnt Value (const Standard_Real U); - :param U: - :type U: float - :param V: - :type V: float - :param P: - :type P: gp_Pnt - :param D1U: - :type D1U: gp_Vec - :param D1V: - :type D1V: gp_Vec - :rtype: None -") D1; - void D1 (const Standard_Real U,const Standard_Real V,gp_Pnt & P,gp_Vec & D1U,gp_Vec & D1V); - %feature("compactdefaultargs") D2; - %feature("autodoc", " * Computes the point, the first and second derivatives on the surface. Raised if the continuity of the current intervals is not C2. +}; - :param U: - :type U: float - :param V: - :type V: float - :param P: - :type P: gp_Pnt - :param D1U: - :type D1U: gp_Vec - :param D1V: - :type D1V: gp_Vec - :param D2U: - :type D2U: gp_Vec - :param D2V: - :type D2V: gp_Vec - :param D2UV: - :type D2UV: gp_Vec - :rtype: 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); - %feature("compactdefaultargs") D3; - %feature("autodoc", " * Computes the point, the first, second and third derivatives on the surface. Raised if the continuity of the current intervals is not C3. - :param U: - :type U: float - :param V: - :type V: float - :param P: - :type P: gp_Pnt - :param D1U: - :type D1U: gp_Vec - :param D1V: - :type D1V: gp_Vec - :param D2U: - :type D2U: gp_Vec - :param D2V: - :type D2V: gp_Vec - :param D2UV: - :type D2UV: gp_Vec - :param D3U: - :type D3U: gp_Vec - :param D3V: - :type D3V: gp_Vec - :param D3UUV: - :type D3UUV: gp_Vec - :param D3UVV: - :type D3UVV: gp_Vec - :rtype: 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); - %feature("compactdefaultargs") DN; - %feature("autodoc", " * Computes the derivative of order Nu in the direction U and Nv in the direction V at the point P(U, V). Raised if the current U interval is not not CNu and the current V interval is not CNv. Raised if Nu + Nv < 1 or Nu < 0 or Nv < 0. - - :param U: - :type U: float - :param V: - :type V: float - :param Nu: - :type Nu: int - :param Nv: - :type Nv: int - :rtype: gp_Vec -") DN; - gp_Vec DN (const Standard_Real U,const Standard_Real V,const Standard_Integer Nu,const Standard_Integer Nv); - %feature("compactdefaultargs") UResolution; - %feature("autodoc", " * Returns the parametric U resolution corresponding to the real space resolution . - - :param R3d: - :type R3d: float - :rtype: float -") UResolution; - Standard_Real UResolution (const Standard_Real R3d); - %feature("compactdefaultargs") VResolution; - %feature("autodoc", " * Returns the parametric V resolution corresponding to the real space resolution . - - :param R3d: - :type R3d: float - :rtype: float -") VResolution; - Standard_Real VResolution (const Standard_Real R3d); - %feature("compactdefaultargs") GetType; - %feature("autodoc", " * Returns the type of the surface : Plane, Cylinder, Cone, Sphere, Torus, BezierSurface, BSplineSurface, SurfaceOfRevolution, SurfaceOfExtrusion, OtherSurface - - :rtype: GeomAbs_SurfaceType -") GetType; - GeomAbs_SurfaceType GetType (); - %feature("compactdefaultargs") Plane; - %feature("autodoc", " :rtype: gp_Pln -") Plane; - gp_Pln Plane (); - %feature("compactdefaultargs") Cylinder; - %feature("autodoc", " :rtype: gp_Cylinder -") Cylinder; - gp_Cylinder Cylinder (); - %feature("compactdefaultargs") Cone; - %feature("autodoc", " :rtype: gp_Cone -") Cone; - gp_Cone Cone (); - %feature("compactdefaultargs") Sphere; - %feature("autodoc", " :rtype: gp_Sphere -") Sphere; - gp_Sphere Sphere (); - %feature("compactdefaultargs") Torus; - %feature("autodoc", " :rtype: gp_Torus -") Torus; - gp_Torus Torus (); - %feature("compactdefaultargs") UDegree; - %feature("autodoc", " :rtype: int -") UDegree; - Standard_Integer UDegree (); - %feature("compactdefaultargs") NbUPoles; - %feature("autodoc", " :rtype: int -") NbUPoles; - Standard_Integer NbUPoles (); - %feature("compactdefaultargs") VDegree; - %feature("autodoc", " :rtype: int -") VDegree; - Standard_Integer VDegree (); - %feature("compactdefaultargs") NbVPoles; - %feature("autodoc", " :rtype: int -") NbVPoles; - Standard_Integer NbVPoles (); - %feature("compactdefaultargs") NbUKnots; - %feature("autodoc", " :rtype: int -") NbUKnots; - Standard_Integer NbUKnots (); - %feature("compactdefaultargs") NbVKnots; - %feature("autodoc", " :rtype: int -") NbVKnots; - Standard_Integer NbVKnots (); - %feature("compactdefaultargs") IsURational; - %feature("autodoc", " :rtype: bool -") IsURational; - Standard_Boolean IsURational (); - %feature("compactdefaultargs") IsVRational; - %feature("autodoc", " :rtype: bool -") IsVRational; - Standard_Boolean IsVRational (); - %feature("compactdefaultargs") Bezier; - %feature("autodoc", " :rtype: Handle_Geom_BezierSurface -") Bezier; - Handle_Geom_BezierSurface Bezier (); - %feature("compactdefaultargs") BSpline; - %feature("autodoc", " :rtype: Handle_Geom_BSplineSurface -") BSpline; - Handle_Geom_BSplineSurface BSpline (); - %feature("compactdefaultargs") AxeOfRevolution; - %feature("autodoc", " :rtype: gp_Ax1 -") AxeOfRevolution; - gp_Ax1 AxeOfRevolution (); - %feature("compactdefaultargs") Direction; - %feature("autodoc", " :rtype: gp_Dir -") Direction; - gp_Dir Direction (); - %feature("compactdefaultargs") BasisCurve; - %feature("autodoc", " :rtype: Handle_Adaptor3d_HCurve -") BasisCurve; - Handle_Adaptor3d_HCurve BasisCurve (); -}; - - -%extend Adaptor3d_SurfaceOfLinearExtrusion { +%extend Adaptor3d_IsoCurve { %pythoncode { __repr__ = _dumps_object } }; -%nodefaultctor Adaptor3d_SurfaceOfRevolution; -class Adaptor3d_SurfaceOfRevolution : public Adaptor3d_Surface { - public: - %feature("compactdefaultargs") Adaptor3d_SurfaceOfRevolution; - %feature("autodoc", " :rtype: None -") Adaptor3d_SurfaceOfRevolution; - Adaptor3d_SurfaceOfRevolution (); - %feature("compactdefaultargs") Adaptor3d_SurfaceOfRevolution; - %feature("autodoc", " * The Curve is loaded. - - :param C: - :type C: Handle_Adaptor3d_HCurve & - :rtype: None -") Adaptor3d_SurfaceOfRevolution; - Adaptor3d_SurfaceOfRevolution (const Handle_Adaptor3d_HCurve & C); - %feature("compactdefaultargs") Adaptor3d_SurfaceOfRevolution; - %feature("autodoc", " * The Curve and the Direction are loaded. - - :param C: - :type C: Handle_Adaptor3d_HCurve & - :param V: - :type V: gp_Ax1 - :rtype: None -") Adaptor3d_SurfaceOfRevolution; - Adaptor3d_SurfaceOfRevolution (const Handle_Adaptor3d_HCurve & C,const gp_Ax1 & V); - %feature("compactdefaultargs") Load; - %feature("autodoc", " * Changes the Curve - - :param C: - :type C: Handle_Adaptor3d_HCurve & - :rtype: None -") Load; - void Load (const Handle_Adaptor3d_HCurve & C); - %feature("compactdefaultargs") Load; - %feature("autodoc", " * Changes the Direction - - :param V: - :type V: gp_Ax1 - :rtype: None -") Load; - void Load (const gp_Ax1 & V); - %feature("compactdefaultargs") AxeOfRevolution; - %feature("autodoc", " :rtype: gp_Ax1 -") AxeOfRevolution; - gp_Ax1 AxeOfRevolution (); - %feature("compactdefaultargs") FirstUParameter; - %feature("autodoc", " :rtype: float -") FirstUParameter; - Standard_Real FirstUParameter (); - %feature("compactdefaultargs") LastUParameter; - %feature("autodoc", " :rtype: float -") LastUParameter; - Standard_Real LastUParameter (); - %feature("compactdefaultargs") FirstVParameter; - %feature("autodoc", " :rtype: float -") FirstVParameter; - Standard_Real FirstVParameter (); - %feature("compactdefaultargs") LastVParameter; - %feature("autodoc", " :rtype: float -") LastVParameter; - Standard_Real LastVParameter (); - %feature("compactdefaultargs") UContinuity; - %feature("autodoc", " :rtype: GeomAbs_Shape -") UContinuity; - GeomAbs_Shape UContinuity (); - %feature("compactdefaultargs") VContinuity; - %feature("autodoc", " * Return CN. - - :rtype: GeomAbs_Shape -") VContinuity; - GeomAbs_Shape VContinuity (); - %feature("compactdefaultargs") NbUIntervals; - %feature("autodoc", " * Returns the number of U intervals for continuity . May be one if UContinuity(me) >= - - :param S: - :type S: GeomAbs_Shape - :rtype: int -") NbUIntervals; - Standard_Integer NbUIntervals (const GeomAbs_Shape S); - %feature("compactdefaultargs") NbVIntervals; - %feature("autodoc", " * Returns the number of V intervals for continuity . May be one if VContinuity(me) >= - - :param S: - :type S: GeomAbs_Shape - :rtype: int -") NbVIntervals; - Standard_Integer NbVIntervals (const GeomAbs_Shape S); - %feature("compactdefaultargs") UIntervals; - %feature("autodoc", " * Returns the intervals with the requested continuity in the U direction. - - :param T: - :type T: TColStd_Array1OfReal & - :param S: - :type S: GeomAbs_Shape - :rtype: None -") UIntervals; - void UIntervals (TColStd_Array1OfReal & T,const GeomAbs_Shape S); - %feature("compactdefaultargs") VIntervals; - %feature("autodoc", " * Returns the intervals with the requested continuity in the V direction. - - :param T: - :type T: TColStd_Array1OfReal & - :param S: - :type S: GeomAbs_Shape - :rtype: None -") VIntervals; - void VIntervals (TColStd_Array1OfReal & T,const GeomAbs_Shape S); - %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 >= - - :param First: - :type First: float - :param Last: - :type Last: float - :param Tol: - :type Tol: float - :rtype: Handle_Adaptor3d_HSurface -") UTrim; - Handle_Adaptor3d_HSurface UTrim (const Standard_Real First,const Standard_Real Last,const Standard_Real Tol); - %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 >= - - :param First: - :type First: float - :param Last: - :type Last: float - :param Tol: - :type Tol: float - :rtype: Handle_Adaptor3d_HSurface -") VTrim; - Handle_Adaptor3d_HSurface VTrim (const Standard_Real First,const Standard_Real Last,const Standard_Real Tol); - %feature("compactdefaultargs") IsUClosed; - %feature("autodoc", " :rtype: bool -") IsUClosed; - Standard_Boolean IsUClosed (); - %feature("compactdefaultargs") IsVClosed; - %feature("autodoc", " :rtype: bool -") IsVClosed; - Standard_Boolean IsVClosed (); - %feature("compactdefaultargs") IsUPeriodic; - %feature("autodoc", " :rtype: bool -") IsUPeriodic; - Standard_Boolean IsUPeriodic (); - %feature("compactdefaultargs") UPeriod; - %feature("autodoc", " :rtype: float -") UPeriod; - Standard_Real UPeriod (); - %feature("compactdefaultargs") IsVPeriodic; - %feature("autodoc", " :rtype: bool -") IsVPeriodic; - Standard_Boolean IsVPeriodic (); - %feature("compactdefaultargs") VPeriod; - %feature("autodoc", " :rtype: float -") VPeriod; - Standard_Real VPeriod (); - %feature("compactdefaultargs") Value; - %feature("autodoc", " * Computes the point of parameters U,V on the surface. - - :param U: - :type U: float - :param V: - :type V: float - :rtype: gp_Pnt -") Value; - gp_Pnt Value (const Standard_Real U,const Standard_Real V); - %feature("compactdefaultargs") D0; - %feature("autodoc", " * Computes the point of parameters U,V on the surface. - - :param U: - :type U: float - :param V: - :type V: float - :param P: - :type P: gp_Pnt - :rtype: None -") D0; - void D0 (const Standard_Real U,const Standard_Real V,gp_Pnt & P); - %feature("compactdefaultargs") D1; - %feature("autodoc", " * Computes the point and the first derivatives on the surface. Raised if the continuity of the current intervals is not C1. - - :param U: - :type U: float - :param V: - :type V: float - :param P: - :type P: gp_Pnt - :param D1U: - :type D1U: gp_Vec - :param D1V: - :type D1V: gp_Vec - :rtype: None -") D1; - void D1 (const Standard_Real U,const Standard_Real V,gp_Pnt & P,gp_Vec & D1U,gp_Vec & D1V); - %feature("compactdefaultargs") D2; - %feature("autodoc", " * Computes the point, the first and second derivatives on the surface. Raised if the continuity of the current intervals is not C2. - - :param U: - :type U: float - :param V: - :type V: float - :param P: - :type P: gp_Pnt - :param D1U: - :type D1U: gp_Vec - :param D1V: - :type D1V: gp_Vec - :param D2U: - :type D2U: gp_Vec - :param D2V: - :type D2V: gp_Vec - :param D2UV: - :type D2UV: gp_Vec - :rtype: 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); - %feature("compactdefaultargs") D3; - %feature("autodoc", " * Computes the point, the first, second and third derivatives on the surface. Raised if the continuity of the current intervals is not C3. - - :param U: - :type U: float - :param V: - :type V: float - :param P: - :type P: gp_Pnt - :param D1U: - :type D1U: gp_Vec - :param D1V: - :type D1V: gp_Vec - :param D2U: - :type D2U: gp_Vec - :param D2V: - :type D2V: gp_Vec - :param D2UV: - :type D2UV: gp_Vec - :param D3U: - :type D3U: gp_Vec - :param D3V: - :type D3V: gp_Vec - :param D3UUV: - :type D3UUV: gp_Vec - :param D3UVV: - :type D3UVV: gp_Vec - :rtype: 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); - %feature("compactdefaultargs") DN; - %feature("autodoc", " * Computes the derivative of order Nu in the direction U and Nv in the direction V at the point P(U, V). Raised if the current U interval is not not CNu and the current V interval is not CNv. Raised if Nu + Nv < 1 or Nu < 0 or Nv < 0. - - :param U: - :type U: float - :param V: - :type V: float - :param Nu: - :type Nu: int - :param Nv: - :type Nv: int - :rtype: gp_Vec -") DN; - gp_Vec DN (const Standard_Real U,const Standard_Real V,const Standard_Integer Nu,const Standard_Integer Nv); - %feature("compactdefaultargs") UResolution; - %feature("autodoc", " * Returns the parametric U resolution corresponding to the real space resolution . - - :param R3d: - :type R3d: float - :rtype: float -") UResolution; - Standard_Real UResolution (const Standard_Real R3d); - %feature("compactdefaultargs") VResolution; - %feature("autodoc", " * Returns the parametric V resolution corresponding to the real space resolution . - - :param R3d: - :type R3d: float - :rtype: float -") VResolution; - Standard_Real VResolution (const Standard_Real R3d); - %feature("compactdefaultargs") GetType; - %feature("autodoc", " * Returns the type of the surface : Plane, Cylinder, Cone, Sphere, Torus, BezierSurface, BSplineSurface, SurfaceOfRevolution, SurfaceOfExtrusion, OtherSurface - - :rtype: GeomAbs_SurfaceType -") GetType; - GeomAbs_SurfaceType GetType (); - %feature("compactdefaultargs") Plane; - %feature("autodoc", " :rtype: gp_Pln -") Plane; - gp_Pln Plane (); - %feature("compactdefaultargs") Cylinder; - %feature("autodoc", " :rtype: gp_Cylinder -") Cylinder; - gp_Cylinder Cylinder (); - %feature("compactdefaultargs") Cone; - %feature("autodoc", " * Apex of the Cone = Cone.Position().Location() ==> ReferenceRadius = 0. - - :rtype: gp_Cone -") Cone; - gp_Cone Cone (); - %feature("compactdefaultargs") Sphere; - %feature("autodoc", " :rtype: gp_Sphere -") Sphere; - gp_Sphere Sphere (); - %feature("compactdefaultargs") Torus; - %feature("autodoc", " :rtype: gp_Torus -") Torus; - gp_Torus Torus (); - %feature("compactdefaultargs") UDegree; - %feature("autodoc", " :rtype: int -") UDegree; - Standard_Integer UDegree (); - %feature("compactdefaultargs") NbUPoles; - %feature("autodoc", " :rtype: int -") NbUPoles; - Standard_Integer NbUPoles (); - %feature("compactdefaultargs") VDegree; - %feature("autodoc", " :rtype: int -") VDegree; - Standard_Integer VDegree (); - %feature("compactdefaultargs") NbVPoles; - %feature("autodoc", " :rtype: int -") NbVPoles; - Standard_Integer NbVPoles (); - %feature("compactdefaultargs") NbUKnots; - %feature("autodoc", " :rtype: int -") NbUKnots; - Standard_Integer NbUKnots (); - %feature("compactdefaultargs") NbVKnots; - %feature("autodoc", " :rtype: int -") NbVKnots; - Standard_Integer NbVKnots (); - %feature("compactdefaultargs") IsURational; - %feature("autodoc", " :rtype: bool -") IsURational; - Standard_Boolean IsURational (); - %feature("compactdefaultargs") IsVRational; - %feature("autodoc", " :rtype: bool -") IsVRational; - Standard_Boolean IsVRational (); - %feature("compactdefaultargs") Bezier; - %feature("autodoc", " :rtype: Handle_Geom_BezierSurface -") Bezier; - Handle_Geom_BezierSurface Bezier (); - %feature("compactdefaultargs") BSpline; - %feature("autodoc", " :rtype: Handle_Geom_BSplineSurface -") BSpline; - Handle_Geom_BSplineSurface BSpline (); - %feature("compactdefaultargs") Axis; - %feature("autodoc", " :rtype: gp_Ax3 -") Axis; - gp_Ax3 Axis (); - %feature("compactdefaultargs") Direction; - %feature("autodoc", " :rtype: gp_Dir -") Direction; - gp_Dir Direction (); - %feature("compactdefaultargs") BasisCurve; - %feature("autodoc", " :rtype: Handle_Adaptor3d_HCurve -") BasisCurve; - Handle_Adaptor3d_HCurve BasisCurve (); -}; - -%extend Adaptor3d_SurfaceOfRevolution { - %pythoncode { - __repr__ = _dumps_object - } -}; +/* harray1 class */ +/* harray2 class */ +/* harray2 class */ diff --git a/src/SWIG_files/wrapper/Adaptor3d_headers.i b/src/SWIG_files/wrapper/Adaptor3d_headers.i deleted file mode 100644 index 818908f42..000000000 --- a/src/SWIG_files/wrapper/Adaptor3d_headers.i +++ /dev/null @@ -1,666 +0,0 @@ -/* -Copyright 2008-2017 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 . - -*/ -%{ -#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 -#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 -#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 -#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 -#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 -#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 -#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 -%}; -%import Standard.i -%import GeomAbs.i -%import TColStd.i -%import gp.i -%import Geom.i -%import MMgt.i -%import Adaptor2d.i -%import TopAbs.i -%import math.i -%import Geom2d.i diff --git a/src/SWIG_files/wrapper/AdvApp2Var.i b/src/SWIG_files/wrapper/AdvApp2Var.i index bde5d05a8..3b436132b 100644 --- a/src/SWIG_files/wrapper/AdvApp2Var.i +++ b/src/SWIG_files/wrapper/AdvApp2Var.i @@ -1,6 +1,5 @@ /* -Copyright 2008-2017 Thomas Paviot (tpaviot@gmail.com) - +Copyright 2008-2019 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -15,21 +14,13 @@ 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 ADVAPP2VARDOCSTRING -"This package provides algorithms to approximate a -function of 2 variables that can be multidimensional; -the result is a BSpline function with the required continuity -Warning: only one 3D BSpline for the moment - - - -" +"AdvApp2Var module, see official documentation at +https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_advapp2var.html" %enddef %module (package="OCC.Core", docstring=ADVAPP2VARDOCSTRING) AdvApp2Var -#pragma SWIG nowarn=504,325,503 %{ #ifdef WNT @@ -44,11 +35,35 @@ Warning: only one 3D BSpline for the moment %include ../common/OccHandle.i -%include AdvApp2Var_headers.i - -/* typedefs */ -/* end typedefs declaration */ - +%{ +#if defined(_WIN32) +#include +#endif +#include + +//Dependencies +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +%}; +%import Standard.i +%import NCollection.i +%import TColStd.i +%import GeomAbs.i +%import AdvApprox.i +%import Geom.i +%import gp.i +%import TColgp.i /* public enums */ enum AdvApp2Var_CriterionRepartition { AdvApp2Var_Regular = 0, @@ -62,33 +77,72 @@ enum AdvApp2Var_CriterionType { /* end public enums declaration */ -%wrap_handle(AdvApp2Var_SequenceNodeOfSequenceOfNode) -%wrap_handle(AdvApp2Var_SequenceNodeOfSequenceOfPatch) -%wrap_handle(AdvApp2Var_SequenceNodeOfSequenceOfStrip) -%wrap_handle(AdvApp2Var_SequenceNodeOfStrip) +/* handles */ +/* end handles declaration */ + +/* templates */ +%template(AdvApp2Var_SequenceOfPatch) NCollection_Sequence ; +%template(AdvApp2Var_SequenceOfNode) NCollection_Sequence ; +%template(AdvApp2Var_SequenceOfStrip) NCollection_Sequence ; +%template(AdvApp2Var_Strip) NCollection_Sequence ; +/* end templates declaration */ +/* typedefs */ +typedef int integer; +typedef double doublereal; +typedef unsigned long uinteger; +typedef char * address; +typedef short int shortint; +typedef float real; +typedef long int logical; +typedef short int shortlogical; +typedef char logical1; +typedef char integer1; +typedef long long longint; +typedef unsigned long long ulongint; +typedef long int flag; +typedef long int ftnlen; +typedef long int ftnint; +typedef union Multitype Multitype; +typedef struct Vardesc Vardesc; +typedef struct Namelist Namelist; +typedef int ( * S_fp ) ( ); +typedef VOID C_f; +typedef VOID H_f; +typedef VOID Z_f; +typedef doublereal E_f; +typedef NCollection_Sequence AdvApp2Var_SequenceOfPatch; +typedef NCollection_Sequence AdvApp2Var_SequenceOfNode; +typedef NCollection_Sequence AdvApp2Var_SequenceOfStrip; +typedef NCollection_Sequence AdvApp2Var_Strip; +/* end typedefs declaration */ + +/*********************************** +* class AdvApp2Var_ApproxAFunc2Var * +***********************************/ %nodefaultctor AdvApp2Var_ApproxAFunc2Var; class AdvApp2Var_ApproxAFunc2Var { public: + /****************** AdvApp2Var_ApproxAFunc2Var ******************/ %feature("compactdefaultargs") AdvApp2Var_ApproxAFunc2Var; - %feature("autodoc", " :param Num1DSS: + %feature("autodoc", ":param Num1DSS: :type Num1DSS: int :param Num2DSS: :type Num2DSS: int :param Num3DSS: :type Num3DSS: int :param OneDTol: - :type OneDTol: Handle_TColStd_HArray1OfReal & + :type OneDTol: opencascade::handle & :param TwoDTol: - :type TwoDTol: Handle_TColStd_HArray1OfReal & + :type TwoDTol: opencascade::handle & :param ThreeDTol: - :type ThreeDTol: Handle_TColStd_HArray1OfReal & + :type ThreeDTol: opencascade::handle & :param OneDTolFr: - :type OneDTolFr: Handle_TColStd_HArray2OfReal & + :type OneDTolFr: opencascade::handle & :param TwoDTolFr: - :type TwoDTolFr: Handle_TColStd_HArray2OfReal & + :type TwoDTolFr: opencascade::handle & :param ThreeDTolFr: - :type ThreeDTolFr: Handle_TColStd_HArray2OfReal & + :type ThreeDTolFr: opencascade::handle & :param FirstInU: :type FirstInU: float :param LastInU: @@ -117,28 +171,29 @@ class AdvApp2Var_ApproxAFunc2Var { :type UChoice: AdvApprox_Cutting & :param VChoice: :type VChoice: AdvApprox_Cutting & - :rtype: None -") AdvApp2Var_ApproxAFunc2Var; - AdvApp2Var_ApproxAFunc2Var (const Standard_Integer Num1DSS,const Standard_Integer Num2DSS,const Standard_Integer Num3DSS,const Handle_TColStd_HArray1OfReal & OneDTol,const Handle_TColStd_HArray1OfReal & TwoDTol,const Handle_TColStd_HArray1OfReal & ThreeDTol,const Handle_TColStd_HArray2OfReal & OneDTolFr,const Handle_TColStd_HArray2OfReal & TwoDTolFr,const Handle_TColStd_HArray2OfReal & ThreeDTolFr,const Standard_Real FirstInU,const Standard_Real LastInU,const Standard_Real FirstInV,const Standard_Real LastInV,const GeomAbs_IsoType FavorIso,const GeomAbs_Shape ContInU,const GeomAbs_Shape ContInV,const Standard_Integer PrecisCode,const Standard_Integer MaxDegInU,const Standard_Integer MaxDegInV,const Standard_Integer MaxPatch,const AdvApp2Var_EvaluatorFunc2Var & Func,AdvApprox_Cutting & UChoice,AdvApprox_Cutting & VChoice); + :rtype: None") AdvApp2Var_ApproxAFunc2Var; + AdvApp2Var_ApproxAFunc2Var (const Standard_Integer Num1DSS,const Standard_Integer Num2DSS,const Standard_Integer Num3DSS,const opencascade::handle & OneDTol,const opencascade::handle & TwoDTol,const opencascade::handle & ThreeDTol,const opencascade::handle & OneDTolFr,const opencascade::handle & TwoDTolFr,const opencascade::handle & ThreeDTolFr,const Standard_Real FirstInU,const Standard_Real LastInU,const Standard_Real FirstInV,const Standard_Real LastInV,const GeomAbs_IsoType FavorIso,const GeomAbs_Shape ContInU,const GeomAbs_Shape ContInV,const Standard_Integer PrecisCode,const Standard_Integer MaxDegInU,const Standard_Integer MaxDegInV,const Standard_Integer MaxPatch,const AdvApp2Var_EvaluatorFunc2Var & Func,AdvApprox_Cutting & UChoice,AdvApprox_Cutting & VChoice); + + /****************** AdvApp2Var_ApproxAFunc2Var ******************/ %feature("compactdefaultargs") AdvApp2Var_ApproxAFunc2Var; - %feature("autodoc", " :param Num1DSS: + %feature("autodoc", ":param Num1DSS: :type Num1DSS: int :param Num2DSS: :type Num2DSS: int :param Num3DSS: :type Num3DSS: int :param OneDTol: - :type OneDTol: Handle_TColStd_HArray1OfReal & + :type OneDTol: opencascade::handle & :param TwoDTol: - :type TwoDTol: Handle_TColStd_HArray1OfReal & + :type TwoDTol: opencascade::handle & :param ThreeDTol: - :type ThreeDTol: Handle_TColStd_HArray1OfReal & + :type ThreeDTol: opencascade::handle & :param OneDTolFr: - :type OneDTolFr: Handle_TColStd_HArray2OfReal & + :type OneDTolFr: opencascade::handle & :param TwoDTolFr: - :type TwoDTolFr: Handle_TColStd_HArray2OfReal & + :type TwoDTolFr: opencascade::handle & :param ThreeDTolFr: - :type ThreeDTolFr: Handle_TColStd_HArray2OfReal & + :type ThreeDTolFr: opencascade::handle & :param FirstInU: :type FirstInU: float :param LastInU: @@ -169,132 +224,136 @@ class AdvApp2Var_ApproxAFunc2Var { :type UChoice: AdvApprox_Cutting & :param VChoice: :type VChoice: AdvApprox_Cutting & - :rtype: None -") AdvApp2Var_ApproxAFunc2Var; - AdvApp2Var_ApproxAFunc2Var (const Standard_Integer Num1DSS,const Standard_Integer Num2DSS,const Standard_Integer Num3DSS,const Handle_TColStd_HArray1OfReal & OneDTol,const Handle_TColStd_HArray1OfReal & TwoDTol,const Handle_TColStd_HArray1OfReal & ThreeDTol,const Handle_TColStd_HArray2OfReal & OneDTolFr,const Handle_TColStd_HArray2OfReal & TwoDTolFr,const Handle_TColStd_HArray2OfReal & ThreeDTolFr,const Standard_Real FirstInU,const Standard_Real LastInU,const Standard_Real FirstInV,const Standard_Real LastInV,const GeomAbs_IsoType FavorIso,const GeomAbs_Shape ContInU,const GeomAbs_Shape ContInV,const Standard_Integer PrecisCode,const Standard_Integer MaxDegInU,const Standard_Integer MaxDegInV,const Standard_Integer MaxPatch,const AdvApp2Var_EvaluatorFunc2Var & Func,const AdvApp2Var_Criterion & Crit,AdvApprox_Cutting & UChoice,AdvApprox_Cutting & VChoice); - %feature("compactdefaultargs") IsDone; - %feature("autodoc", " * True if the approximation succeeded within the imposed tolerances and the wished continuities - - :rtype: bool -") IsDone; - Standard_Boolean IsDone (); - %feature("compactdefaultargs") HasResult; - %feature("autodoc", " * True if the approximation did come out with a result that is not NECESSARELY within the required tolerance or a result that is not recognized with the wished continuities - - :rtype: bool -") HasResult; - Standard_Boolean HasResult (); - %feature("compactdefaultargs") Surface; - %feature("autodoc", " * returns the BSplineSurface of range Index - - :param Index: - :type Index: int - :rtype: Handle_Geom_BSplineSurface -") Surface; - Handle_Geom_BSplineSurface Surface (const Standard_Integer Index); - %feature("compactdefaultargs") UDegree; - %feature("autodoc", " :rtype: int -") UDegree; - Standard_Integer UDegree (); - %feature("compactdefaultargs") VDegree; - %feature("autodoc", " :rtype: int -") VDegree; - Standard_Integer VDegree (); - %feature("compactdefaultargs") NumSubSpaces; - %feature("autodoc", " :param Dimension: - :type Dimension: int - :rtype: int -") NumSubSpaces; - Standard_Integer NumSubSpaces (const Standard_Integer Dimension); - %feature("compactdefaultargs") MaxError; - %feature("autodoc", " * returns the errors max + :rtype: None") AdvApp2Var_ApproxAFunc2Var; + AdvApp2Var_ApproxAFunc2Var (const Standard_Integer Num1DSS,const Standard_Integer Num2DSS,const Standard_Integer Num3DSS,const opencascade::handle & OneDTol,const opencascade::handle & TwoDTol,const opencascade::handle & ThreeDTol,const opencascade::handle & OneDTolFr,const opencascade::handle & TwoDTolFr,const opencascade::handle & ThreeDTolFr,const Standard_Real FirstInU,const Standard_Real LastInU,const Standard_Real FirstInV,const Standard_Real LastInV,const GeomAbs_IsoType FavorIso,const GeomAbs_Shape ContInU,const GeomAbs_Shape ContInV,const Standard_Integer PrecisCode,const Standard_Integer MaxDegInU,const Standard_Integer MaxDegInV,const Standard_Integer MaxPatch,const AdvApp2Var_EvaluatorFunc2Var & Func,const AdvApp2Var_Criterion & Crit,AdvApprox_Cutting & UChoice,AdvApprox_Cutting & VChoice); + /****************** AverageError ******************/ + %feature("compactdefaultargs") AverageError; + %feature("autodoc", "* returns the average errors :param Dimension: :type Dimension: int - :rtype: Handle_TColStd_HArray1OfReal -") MaxError; - Handle_TColStd_HArray1OfReal MaxError (const Standard_Integer Dimension); - %feature("compactdefaultargs") AverageError; - %feature("autodoc", " * returns the average errors + :rtype: opencascade::handle") AverageError; + opencascade::handle AverageError (const Standard_Integer Dimension); + /****************** AverageError ******************/ + %feature("compactdefaultargs") AverageError; + %feature("autodoc", "* returns the average error of the BSplineSurface of range Index :param Dimension: :type Dimension: int - :rtype: Handle_TColStd_HArray1OfReal -") AverageError; - Handle_TColStd_HArray1OfReal AverageError (const Standard_Integer Dimension); - %feature("compactdefaultargs") UFrontError; - %feature("autodoc", " * returns the errors max on UFrontiers Warning: Dimension must be equal to 3. + :param Index: + :type Index: int + :rtype: float") AverageError; + Standard_Real AverageError (const Standard_Integer Dimension,const Standard_Integer Index); - :param Dimension: + /****************** CritError ******************/ + %feature("compactdefaultargs") CritError; + %feature("autodoc", ":param Dimension: :type Dimension: int - :rtype: Handle_TColStd_HArray1OfReal -") UFrontError; - Handle_TColStd_HArray1OfReal UFrontError (const Standard_Integer Dimension); - %feature("compactdefaultargs") VFrontError; - %feature("autodoc", " * returns the errors max on VFrontiers Warning: Dimension must be equal to 3. + :param Index: + :type Index: int + :rtype: float") CritError; + Standard_Real CritError (const Standard_Integer Dimension,const Standard_Integer Index); + + %feature("autodoc", "1"); + %extend{ + std::string DumpToString() { + std::stringstream s; + self->Dump(s); + return s.str();} + }; + /****************** HasResult ******************/ + %feature("compactdefaultargs") HasResult; + %feature("autodoc", "* True if the approximation did come out with a result that is not NECESSARELY within the required tolerance or a result that is not recognized with the wished continuities + :rtype: bool") HasResult; + Standard_Boolean HasResult (); + + /****************** IsDone ******************/ + %feature("compactdefaultargs") IsDone; + %feature("autodoc", "* True if the approximation succeeded within the imposed tolerances and the wished continuities + :rtype: bool") IsDone; + Standard_Boolean IsDone (); + + /****************** MaxError ******************/ + %feature("compactdefaultargs") MaxError; + %feature("autodoc", "* returns the errors max :param Dimension: :type Dimension: int - :rtype: Handle_TColStd_HArray1OfReal -") VFrontError; - Handle_TColStd_HArray1OfReal VFrontError (const Standard_Integer Dimension); - %feature("compactdefaultargs") MaxError; - %feature("autodoc", " * returns the error max of the BSplineSurface of range Index + :rtype: opencascade::handle") MaxError; + opencascade::handle MaxError (const Standard_Integer Dimension); + /****************** MaxError ******************/ + %feature("compactdefaultargs") MaxError; + %feature("autodoc", "* returns the error max of the BSplineSurface of range Index :param Dimension: :type Dimension: int :param Index: :type Index: int - :rtype: float -") MaxError; + :rtype: float") MaxError; Standard_Real MaxError (const Standard_Integer Dimension,const Standard_Integer Index); - %feature("compactdefaultargs") AverageError; - %feature("autodoc", " * returns the average error of the BSplineSurface of range Index - :param Dimension: + /****************** NumSubSpaces ******************/ + %feature("compactdefaultargs") NumSubSpaces; + %feature("autodoc", ":param Dimension: :type Dimension: int + :rtype: int") NumSubSpaces; + Standard_Integer NumSubSpaces (const Standard_Integer Dimension); + + /****************** Surface ******************/ + %feature("compactdefaultargs") Surface; + %feature("autodoc", "* returns the BSplineSurface of range Index :param Index: :type Index: int - :rtype: float -") AverageError; - Standard_Real AverageError (const Standard_Integer Dimension,const Standard_Integer Index); + :rtype: opencascade::handle") Surface; + opencascade::handle Surface (const Standard_Integer Index); + + /****************** UDegree ******************/ + %feature("compactdefaultargs") UDegree; + %feature("autodoc", ":rtype: int") UDegree; + Standard_Integer UDegree (); + + /****************** UFrontError ******************/ %feature("compactdefaultargs") UFrontError; - %feature("autodoc", " * returns the error max of the BSplineSurface of range Index on a UFrontier + %feature("autodoc", "* returns the errors max on UFrontiers Warning: Dimension must be equal to 3. + :param Dimension: + :type Dimension: int + :rtype: opencascade::handle") UFrontError; + opencascade::handle UFrontError (const Standard_Integer Dimension); + /****************** UFrontError ******************/ + %feature("compactdefaultargs") UFrontError; + %feature("autodoc", "* returns the error max of the BSplineSurface of range Index on a UFrontier :param Dimension: :type Dimension: int :param Index: :type Index: int - :rtype: float -") UFrontError; + :rtype: float") UFrontError; Standard_Real UFrontError (const Standard_Integer Dimension,const Standard_Integer Index); + + /****************** VDegree ******************/ + %feature("compactdefaultargs") VDegree; + %feature("autodoc", ":rtype: int") VDegree; + Standard_Integer VDegree (); + + /****************** VFrontError ******************/ %feature("compactdefaultargs") VFrontError; - %feature("autodoc", " * returns the error max of the BSplineSurface of range Index on a VFrontier + %feature("autodoc", "* returns the errors max on VFrontiers Warning: Dimension must be equal to 3. + :param Dimension: + :type Dimension: int + :rtype: opencascade::handle") VFrontError; + opencascade::handle VFrontError (const Standard_Integer Dimension); + /****************** VFrontError ******************/ + %feature("compactdefaultargs") VFrontError; + %feature("autodoc", "* returns the error max of the BSplineSurface of range Index on a VFrontier :param Dimension: :type Dimension: int :param Index: :type Index: int - :rtype: float -") VFrontError; + :rtype: float") VFrontError; Standard_Real VFrontError (const Standard_Integer Dimension,const Standard_Integer Index); - %feature("compactdefaultargs") CritError; - %feature("autodoc", " :param Dimension: - :type Dimension: int - :param Index: - :type Index: int - :rtype: float -") CritError; - Standard_Real CritError (const Standard_Integer Dimension,const Standard_Integer Index); - %feature("autodoc", "1"); - %extend{ - std::string DumpToString() { - std::stringstream s; - self->Dump(s); - return s.str();} - }; - }; +}; %extend AdvApp2Var_ApproxAFunc2Var { @@ -302,89 +361,31 @@ class AdvApp2Var_ApproxAFunc2Var { __repr__ = _dumps_object } }; + +/******************************* +* class AdvApp2Var_ApproxF2var * +*******************************/ %nodefaultctor AdvApp2Var_ApproxF2var; class AdvApp2Var_ApproxF2var { public: - %feature("compactdefaultargs") mma2fnc_; - %feature("autodoc", " :param ndimen: - :type ndimen: integer * - :param nbsesp: - :type nbsesp: integer * - :param ndimse: - :type ndimse: integer * - :param uvfonc: - :type uvfonc: doublereal * - :param foncnp: - :type foncnp: AdvApp2Var_EvaluatorFunc2Var & - :param tconst: - :type tconst: doublereal * - :param isofav: - :type isofav: integer * - :param nbroot: - :type nbroot: integer * - :param rootlg: - :type rootlg: doublereal * - :param iordre: - :type iordre: integer * - :param ideriv: - :type ideriv: integer * - :param ndgjac: - :type ndgjac: integer * - :param nbcrmx: - :type nbcrmx: integer * - :param ncflim: - :type ncflim: integer * - :param epsapr: - :type epsapr: doublereal * - :param ncoeff: - :type ncoeff: integer * - :param courbe: - :type courbe: doublereal * - :param nbcrbe: - :type nbcrbe: integer * - :param somtab: - :type somtab: doublereal * - :param diftab: - :type diftab: doublereal * - :param contr1: - :type contr1: doublereal * - :param contr2: - :type contr2: doublereal * - :param tabdec: - :type tabdec: doublereal * - :param errmax: - :type errmax: doublereal * - :param errmoy: - :type errmoy: doublereal * - :param iercod: - :type iercod: integer * - :rtype: int -") mma2fnc_; - static int mma2fnc_ (integer * ndimen,integer * nbsesp,integer * ndimse,doublereal * uvfonc,const AdvApp2Var_EvaluatorFunc2Var & foncnp,doublereal * tconst,integer * isofav,integer * nbroot,doublereal * rootlg,integer * iordre,integer * ideriv,integer * ndgjac,integer * nbcrmx,integer * ncflim,doublereal * epsapr,integer * ncoeff,doublereal * courbe,integer * nbcrbe,doublereal * somtab,doublereal * diftab,doublereal * contr1,doublereal * contr2,doublereal * tabdec,doublereal * errmax,doublereal * errmoy,integer * iercod); - %feature("compactdefaultargs") mma2roo_; - %feature("autodoc", " :param nbpntu: - :type nbpntu: integer * - :param nbpntv: - :type nbpntv: integer * - :param urootl: - :type urootl: doublereal * - :param vrootl: - :type vrootl: doublereal * - :rtype: int -") mma2roo_; - static int mma2roo_ (integer * nbpntu,integer * nbpntv,doublereal * urootl,doublereal * vrootl); - %feature("compactdefaultargs") mma2jmx_; - %feature("autodoc", " :param ndgjac: - :type ndgjac: integer * - :param iordre: - :type iordre: integer * - :param xjacmx: - :type xjacmx: doublereal * - :rtype: int -") mma2jmx_; - static int mma2jmx_ (integer * ndgjac,integer * iordre,doublereal * xjacmx); - %feature("compactdefaultargs") mmapptt_; - %feature("autodoc", " :param : + /****************** mma1her_ ******************/ + %feature("compactdefaultargs") mma1her_; + %feature("autodoc", ":param : + :type : integer * + :param : + :type : doublereal * + :param : + :type : integer * + :rtype: int") mma1her_; + static int mma1her_ (const integer * ,doublereal * ,integer * ); + + /****************** mma2ac1_ ******************/ + %feature("compactdefaultargs") mma2ac1_; + %feature("autodoc", ":param : + :type : integer * + :param : + :type : integer * + :param : :type : integer * :param : :type : integer * @@ -393,100 +394,157 @@ class AdvApp2Var_ApproxF2var { :param : :type : doublereal * :param : + :type : doublereal * + :param : + :type : doublereal * + :param : + :type : doublereal * + :param : + :type : doublereal * + :param : + :type : doublereal * + :param : + :type : doublereal * + :rtype: int") mma2ac1_; + static int mma2ac1_ (const integer * ,const integer * ,const integer * ,const integer * ,const integer * ,const doublereal * ,const doublereal * ,const doublereal * ,const doublereal * ,const doublereal * ,const doublereal * ,doublereal * ); + + /****************** mma2ac2_ ******************/ + %feature("compactdefaultargs") mma2ac2_; + %feature("autodoc", ":param : :type : integer * - :rtype: int -") mmapptt_; - static int mmapptt_ (const integer * ,const integer * ,const integer * ,doublereal * ,integer * ); - %feature("compactdefaultargs") mma2cdi_; - %feature("autodoc", " :param ndimen: - :type ndimen: integer * - :param nbpntu: - :type nbpntu: integer * - :param urootl: - :type urootl: doublereal * - :param nbpntv: - :type nbpntv: integer * - :param vrootl: - :type vrootl: doublereal * - :param iordru: - :type iordru: integer * - :param iordrv: - :type iordrv: integer * - :param contr1: - :type contr1: doublereal * - :param contr2: - :type contr2: doublereal * - :param contr3: - :type contr3: doublereal * - :param contr4: - :type contr4: doublereal * - :param sotbu1: - :type sotbu1: doublereal * - :param sotbu2: - :type sotbu2: doublereal * - :param ditbu1: - :type ditbu1: doublereal * - :param ditbu2: - :type ditbu2: doublereal * - :param sotbv1: - :type sotbv1: doublereal * - :param sotbv2: - :type sotbv2: doublereal * - :param ditbv1: - :type ditbv1: doublereal * - :param ditbv2: - :type ditbv2: doublereal * - :param sosotb: - :type sosotb: doublereal * - :param soditb: - :type soditb: doublereal * - :param disotb: - :type disotb: doublereal * - :param diditb: - :type diditb: doublereal * - :param iercod: - :type iercod: integer * - :rtype: int -") mma2cdi_; - static int mma2cdi_ (integer * ndimen,integer * nbpntu,doublereal * urootl,integer * nbpntv,doublereal * vrootl,integer * iordru,integer * iordrv,doublereal * contr1,doublereal * contr2,doublereal * contr3,doublereal * contr4,doublereal * sotbu1,doublereal * sotbu2,doublereal * ditbu1,doublereal * ditbu2,doublereal * sotbv1,doublereal * sotbv2,doublereal * ditbv1,doublereal * ditbv2,doublereal * sosotb,doublereal * soditb,doublereal * disotb,doublereal * diditb,integer * iercod); - %feature("compactdefaultargs") mma2ds1_; - %feature("autodoc", " :param ndimen: - :type ndimen: integer * - :param uintfn: - :type uintfn: doublereal * - :param vintfn: - :type vintfn: doublereal * - :param foncnp: - :type foncnp: AdvApp2Var_EvaluatorFunc2Var & - :param nbpntu: + :param : + :type : integer * + :param : + :type : integer * + :param : + :type : integer * + :param : + :type : integer * + :param : + :type : integer * + :param : + :type : doublereal * + :param : + :type : integer * + :param : + :type : doublereal * + :param : + :type : doublereal * + :param : + :type : doublereal * + :rtype: int") mma2ac2_; + static int mma2ac2_ (const integer * ,const integer * ,const integer * ,const integer * ,const integer * ,const integer * ,const doublereal * ,const integer * ,const doublereal * ,const doublereal * ,doublereal * ); + + /****************** mma2ac3_ ******************/ + %feature("compactdefaultargs") mma2ac3_; + %feature("autodoc", ":param : + :type : integer * + :param : + :type : integer * + :param : + :type : integer * + :param : + :type : integer * + :param : + :type : integer * + :param : + :type : integer * + :param : + :type : doublereal * + :param : + :type : integer * + :param : + :type : doublereal * + :param : + :type : doublereal * + :param : + :type : doublereal * + :rtype: int") mma2ac3_; + static int mma2ac3_ (const integer * ,const integer * ,const integer * ,const integer * ,const integer * ,const integer * ,const doublereal * ,const integer * ,const doublereal * ,const doublereal * ,doublereal * ); + + /****************** mma2can_ ******************/ + %feature("compactdefaultargs") mma2can_; + %feature("autodoc", ":param : + :type : integer * + :param : + :type : integer * + :param : + :type : integer * + :param : + :type : integer * + :param : + :type : integer * + :param : + :type : integer * + :param : + :type : integer * + :param : + :type : doublereal * + :param : + :type : doublereal * + :param : + :type : doublereal * + :param : + :type : integer * + :rtype: int") mma2can_; + static int mma2can_ (const integer * ,const integer * ,const integer * ,const integer * ,const integer * ,const integer * ,const integer * ,const doublereal * ,doublereal * ,doublereal * ,integer * ); + + /****************** mma2cdi_ ******************/ + %feature("compactdefaultargs") mma2cdi_; + %feature("autodoc", ":param ndimen: + :type ndimen: integer * + :param nbpntu: :type nbpntu: integer * + :param urootl: + :type urootl: doublereal * :param nbpntv: :type nbpntv: integer * - :param urootb: - :type urootb: doublereal * - :param vrootb: - :type vrootb: doublereal * - :param isofav: - :type isofav: integer * + :param vrootl: + :type vrootl: doublereal * + :param iordru: + :type iordru: integer * + :param iordrv: + :type iordrv: integer * + :param contr1: + :type contr1: doublereal * + :param contr2: + :type contr2: doublereal * + :param contr3: + :type contr3: doublereal * + :param contr4: + :type contr4: doublereal * + :param sotbu1: + :type sotbu1: doublereal * + :param sotbu2: + :type sotbu2: doublereal * + :param ditbu1: + :type ditbu1: doublereal * + :param ditbu2: + :type ditbu2: doublereal * + :param sotbv1: + :type sotbv1: doublereal * + :param sotbv2: + :type sotbv2: doublereal * + :param ditbv1: + :type ditbv1: doublereal * + :param ditbv2: + :type ditbv2: doublereal * :param sosotb: :type sosotb: doublereal * - :param disotb: - :type disotb: doublereal * :param soditb: :type soditb: doublereal * + :param disotb: + :type disotb: doublereal * :param diditb: :type diditb: doublereal * - :param fpntab: - :type fpntab: doublereal * - :param ttable: - :type ttable: doublereal * :param iercod: :type iercod: integer * - :rtype: int -") mma2ds1_; - static int mma2ds1_ (integer * ndimen,doublereal * uintfn,doublereal * vintfn,const AdvApp2Var_EvaluatorFunc2Var & foncnp,integer * nbpntu,integer * nbpntv,doublereal * urootb,doublereal * vrootb,integer * isofav,doublereal * sosotb,doublereal * disotb,doublereal * soditb,doublereal * diditb,doublereal * fpntab,doublereal * ttable,integer * iercod); + :rtype: int") mma2cdi_; + static int mma2cdi_ (integer * ndimen,integer * nbpntu,doublereal * urootl,integer * nbpntv,doublereal * vrootl,integer * iordru,integer * iordrv,doublereal * contr1,doublereal * contr2,doublereal * contr3,doublereal * contr4,doublereal * sotbu1,doublereal * sotbu2,doublereal * ditbu1,doublereal * ditbu2,doublereal * sotbv1,doublereal * sotbv2,doublereal * ditbv1,doublereal * ditbv2,doublereal * sosotb,doublereal * soditb,doublereal * disotb,doublereal * diditb,integer * iercod); + + /****************** mma2ce1_ ******************/ %feature("compactdefaultargs") mma2ce1_; - %feature("autodoc", " :param numdec: + %feature("autodoc", ":param numdec: :type numdec: integer * :param ndimen: :type ndimen: integer * @@ -538,127 +596,106 @@ class AdvApp2Var_ApproxF2var { :type itydec: integer * :param iercod: :type iercod: integer * - :rtype: int -") mma2ce1_; + :rtype: int") mma2ce1_; static int mma2ce1_ (integer * numdec,integer * ndimen,integer * nbsesp,integer * ndimse,integer * ndminu,integer * ndminv,integer * ndguli,integer * ndgvli,integer * ndjacu,integer * ndjacv,integer * iordru,integer * iordrv,integer * nbpntu,integer * nbpntv,doublereal * epsapr,doublereal * sosotb,doublereal * disotb,doublereal * soditb,doublereal * diditb,doublereal * patjac,doublereal * errmax,doublereal * errmoy,integer * ndegpu,integer * ndegpv,integer * itydec,integer * iercod); - %feature("compactdefaultargs") mma2can_; - %feature("autodoc", " :param : - :type : integer * - :param : - :type : integer * - :param : - :type : integer * - :param : - :type : integer * - :param : - :type : integer * - :param : - :type : integer * - :param : - :type : integer * - :param : - :type : doublereal * - :param : - :type : doublereal * - :param : - :type : doublereal * - :param : - :type : integer * - :rtype: int -") mma2can_; - static int mma2can_ (const integer * ,const integer * ,const integer * ,const integer * ,const integer * ,const integer * ,const integer * ,const doublereal * ,doublereal * ,doublereal * ,integer * ); - %feature("compactdefaultargs") mma1her_; - %feature("autodoc", " :param : - :type : integer * - :param : - :type : doublereal * - :param : - :type : integer * - :rtype: int -") mma1her_; - static int mma1her_ (const integer * ,doublereal * ,integer * ); - %feature("compactdefaultargs") mma2ac2_; - %feature("autodoc", " :param : - :type : integer * - :param : - :type : integer * - :param : - :type : integer * - :param : - :type : integer * - :param : - :type : integer * - :param : - :type : integer * - :param : - :type : doublereal * - :param : - :type : integer * - :param : - :type : doublereal * - :param : - :type : doublereal * - :param : - :type : doublereal * - :rtype: int -") mma2ac2_; - static int mma2ac2_ (const integer * ,const integer * ,const integer * ,const integer * ,const integer * ,const integer * ,const doublereal * ,const integer * ,const doublereal * ,const doublereal * ,doublereal * ); - %feature("compactdefaultargs") mma2ac3_; - %feature("autodoc", " :param : - :type : integer * - :param : - :type : integer * - :param : - :type : integer * - :param : - :type : integer * - :param : - :type : integer * - :param : - :type : integer * - :param : - :type : doublereal * - :param : - :type : integer * - :param : - :type : doublereal * - :param : - :type : doublereal * - :param : - :type : doublereal * - :rtype: int -") mma2ac3_; - static int mma2ac3_ (const integer * ,const integer * ,const integer * ,const integer * ,const integer * ,const integer * ,const doublereal * ,const integer * ,const doublereal * ,const doublereal * ,doublereal * ); - %feature("compactdefaultargs") mma2ac1_; - %feature("autodoc", " :param : - :type : integer * - :param : - :type : integer * - :param : - :type : integer * - :param : - :type : integer * - :param : - :type : integer * - :param : - :type : doublereal * - :param : - :type : doublereal * - :param : - :type : doublereal * - :param : - :type : doublereal * - :param : - :type : doublereal * - :param : - :type : doublereal * - :param : - :type : doublereal * - :rtype: int -") mma2ac1_; - static int mma2ac1_ (const integer * ,const integer * ,const integer * ,const integer * ,const integer * ,const doublereal * ,const doublereal * ,const doublereal * ,const doublereal * ,const doublereal * ,const doublereal * ,doublereal * ); + + /****************** mma2ds1_ ******************/ + %feature("compactdefaultargs") mma2ds1_; + %feature("autodoc", ":param ndimen: + :type ndimen: integer * + :param uintfn: + :type uintfn: doublereal * + :param vintfn: + :type vintfn: doublereal * + :param foncnp: + :type foncnp: AdvApp2Var_EvaluatorFunc2Var & + :param nbpntu: + :type nbpntu: integer * + :param nbpntv: + :type nbpntv: integer * + :param urootb: + :type urootb: doublereal * + :param vrootb: + :type vrootb: doublereal * + :param isofav: + :type isofav: integer * + :param sosotb: + :type sosotb: doublereal * + :param disotb: + :type disotb: doublereal * + :param soditb: + :type soditb: doublereal * + :param diditb: + :type diditb: doublereal * + :param fpntab: + :type fpntab: doublereal * + :param ttable: + :type ttable: doublereal * + :param iercod: + :type iercod: integer * + :rtype: int") mma2ds1_; + static int mma2ds1_ (integer * ndimen,doublereal * uintfn,doublereal * vintfn,const AdvApp2Var_EvaluatorFunc2Var & foncnp,integer * nbpntu,integer * nbpntv,doublereal * urootb,doublereal * vrootb,integer * isofav,doublereal * sosotb,doublereal * disotb,doublereal * soditb,doublereal * diditb,doublereal * fpntab,doublereal * ttable,integer * iercod); + + /****************** mma2fnc_ ******************/ + %feature("compactdefaultargs") mma2fnc_; + %feature("autodoc", ":param ndimen: + :type ndimen: integer * + :param nbsesp: + :type nbsesp: integer * + :param ndimse: + :type ndimse: integer * + :param uvfonc: + :type uvfonc: doublereal * + :param foncnp: + :type foncnp: AdvApp2Var_EvaluatorFunc2Var & + :param tconst: + :type tconst: doublereal * + :param isofav: + :type isofav: integer * + :param nbroot: + :type nbroot: integer * + :param rootlg: + :type rootlg: doublereal * + :param iordre: + :type iordre: integer * + :param ideriv: + :type ideriv: integer * + :param ndgjac: + :type ndgjac: integer * + :param nbcrmx: + :type nbcrmx: integer * + :param ncflim: + :type ncflim: integer * + :param epsapr: + :type epsapr: doublereal * + :param ncoeff: + :type ncoeff: integer * + :param courbe: + :type courbe: doublereal * + :param nbcrbe: + :type nbcrbe: integer * + :param somtab: + :type somtab: doublereal * + :param diftab: + :type diftab: doublereal * + :param contr1: + :type contr1: doublereal * + :param contr2: + :type contr2: doublereal * + :param tabdec: + :type tabdec: doublereal * + :param errmax: + :type errmax: doublereal * + :param errmoy: + :type errmoy: doublereal * + :param iercod: + :type iercod: integer * + :rtype: int") mma2fnc_; + static int mma2fnc_ (integer * ndimen,integer * nbsesp,integer * ndimse,doublereal * uvfonc,const AdvApp2Var_EvaluatorFunc2Var & foncnp,doublereal * tconst,integer * isofav,integer * nbroot,doublereal * rootlg,integer * iordre,integer * ideriv,integer * ndgjac,integer * nbcrmx,integer * ncflim,doublereal * epsapr,integer * ncoeff,doublereal * courbe,integer * nbcrbe,doublereal * somtab,doublereal * diftab,doublereal * contr1,doublereal * contr2,doublereal * tabdec,doublereal * errmax,doublereal * errmoy,integer * iercod); + + /****************** mma2fx6_ ******************/ %feature("compactdefaultargs") mma2fx6_; - %feature("autodoc", " :param ncfmxu: + %feature("autodoc", ":param ncfmxu: :type ncfmxu: integer * :param ncfmxv: :type ncfmxv: integer * @@ -688,9 +725,48 @@ class AdvApp2Var_ApproxF2var { :type ncoefu: integer * :param ncoefv: :type ncoefv: integer * - :rtype: int -") mma2fx6_; + :rtype: int") mma2fx6_; static int mma2fx6_ (integer * ncfmxu,integer * ncfmxv,integer * ndimen,integer * nbsesp,integer * ndimse,integer * nbupat,integer * nbvpat,integer * iordru,integer * iordrv,doublereal * epsapr,doublereal * epsfro,doublereal * patcan,doublereal * errmax,integer * ncoefu,integer * ncoefv); + + /****************** mma2jmx_ ******************/ + %feature("compactdefaultargs") mma2jmx_; + %feature("autodoc", ":param ndgjac: + :type ndgjac: integer * + :param iordre: + :type iordre: integer * + :param xjacmx: + :type xjacmx: doublereal * + :rtype: int") mma2jmx_; + static int mma2jmx_ (integer * ndgjac,integer * iordre,doublereal * xjacmx); + + /****************** mma2roo_ ******************/ + %feature("compactdefaultargs") mma2roo_; + %feature("autodoc", ":param nbpntu: + :type nbpntu: integer * + :param nbpntv: + :type nbpntv: integer * + :param urootl: + :type urootl: doublereal * + :param vrootl: + :type vrootl: doublereal * + :rtype: int") mma2roo_; + static int mma2roo_ (integer * nbpntu,integer * nbpntv,doublereal * urootl,doublereal * vrootl); + + /****************** mmapptt_ ******************/ + %feature("compactdefaultargs") mmapptt_; + %feature("autodoc", ":param : + :type : integer * + :param : + :type : integer * + :param : + :type : integer * + :param : + :type : doublereal * + :param : + :type : integer * + :rtype: int") mmapptt_; + static int mmapptt_ (const integer * ,const integer * ,const integer * ,doublereal * ,integer * ); + }; @@ -699,15 +775,21 @@ class AdvApp2Var_ApproxF2var { __repr__ = _dumps_object } }; + +/*************************** +* class AdvApp2Var_Context * +***************************/ %nodefaultctor AdvApp2Var_Context; class AdvApp2Var_Context { public: + /****************** AdvApp2Var_Context ******************/ %feature("compactdefaultargs") AdvApp2Var_Context; - %feature("autodoc", " :rtype: None -") AdvApp2Var_Context; + %feature("autodoc", ":rtype: None") AdvApp2Var_Context; AdvApp2Var_Context (); + + /****************** AdvApp2Var_Context ******************/ %feature("compactdefaultargs") AdvApp2Var_Context; - %feature("autodoc", " :param ifav: + %feature("autodoc", ":param ifav: :type ifav: int :param iu: :type iu: int @@ -726,92 +808,110 @@ class AdvApp2Var_Context { :param nb3Dss: :type nb3Dss: int :param tol1D: - :type tol1D: Handle_TColStd_HArray1OfReal & + :type tol1D: opencascade::handle & :param tol2D: - :type tol2D: Handle_TColStd_HArray1OfReal & + :type tol2D: opencascade::handle & :param tol3D: - :type tol3D: Handle_TColStd_HArray1OfReal & + :type tol3D: opencascade::handle & :param tof1D: - :type tof1D: Handle_TColStd_HArray2OfReal & + :type tof1D: opencascade::handle & :param tof2D: - :type tof2D: Handle_TColStd_HArray2OfReal & + :type tof2D: opencascade::handle & :param tof3D: - :type tof3D: Handle_TColStd_HArray2OfReal & - :rtype: None -") AdvApp2Var_Context; - AdvApp2Var_Context (const Standard_Integer ifav,const Standard_Integer iu,const Standard_Integer iv,const Standard_Integer nlimu,const Standard_Integer nlimv,const Standard_Integer iprecis,const Standard_Integer nb1Dss,const Standard_Integer nb2Dss,const Standard_Integer nb3Dss,const Handle_TColStd_HArray1OfReal & tol1D,const Handle_TColStd_HArray1OfReal & tol2D,const Handle_TColStd_HArray1OfReal & tol3D,const Handle_TColStd_HArray2OfReal & tof1D,const Handle_TColStd_HArray2OfReal & tof2D,const Handle_TColStd_HArray2OfReal & tof3D); + :type tof3D: opencascade::handle & + :rtype: None") AdvApp2Var_Context; + AdvApp2Var_Context (const Standard_Integer ifav,const Standard_Integer iu,const Standard_Integer iv,const Standard_Integer nlimu,const Standard_Integer nlimv,const Standard_Integer iprecis,const Standard_Integer nb1Dss,const Standard_Integer nb2Dss,const Standard_Integer nb3Dss,const opencascade::handle & tol1D,const opencascade::handle & tol2D,const opencascade::handle & tol3D,const opencascade::handle & tof1D,const opencascade::handle & tof2D,const opencascade::handle & tof3D); + + /****************** CToler ******************/ + %feature("compactdefaultargs") CToler; + %feature("autodoc", ":rtype: opencascade::handle") CToler; + opencascade::handle CToler (); + + /****************** FToler ******************/ + %feature("compactdefaultargs") FToler; + %feature("autodoc", ":rtype: opencascade::handle") FToler; + opencascade::handle FToler (); + + /****************** FavorIso ******************/ + %feature("compactdefaultargs") FavorIso; + %feature("autodoc", ":rtype: int") FavorIso; + Standard_Integer FavorIso (); + + /****************** IToler ******************/ + %feature("compactdefaultargs") IToler; + %feature("autodoc", ":rtype: opencascade::handle") IToler; + opencascade::handle IToler (); + + /****************** TotalDimension ******************/ %feature("compactdefaultargs") TotalDimension; - %feature("autodoc", " :rtype: int -") TotalDimension; + %feature("autodoc", ":rtype: int") TotalDimension; Standard_Integer TotalDimension (); + + /****************** TotalNumberSSP ******************/ %feature("compactdefaultargs") TotalNumberSSP; - %feature("autodoc", " :rtype: int -") TotalNumberSSP; + %feature("autodoc", ":rtype: int") TotalNumberSSP; Standard_Integer TotalNumberSSP (); - %feature("compactdefaultargs") FavorIso; - %feature("autodoc", " :rtype: int -") FavorIso; - Standard_Integer FavorIso (); - %feature("compactdefaultargs") UOrder; - %feature("autodoc", " :rtype: int -") UOrder; - Standard_Integer UOrder (); - %feature("compactdefaultargs") VOrder; - %feature("autodoc", " :rtype: int -") VOrder; - Standard_Integer VOrder (); - %feature("compactdefaultargs") ULimit; - %feature("autodoc", " :rtype: int -") ULimit; - Standard_Integer ULimit (); - %feature("compactdefaultargs") VLimit; - %feature("autodoc", " :rtype: int -") VLimit; - Standard_Integer VLimit (); + + /****************** UGauss ******************/ + %feature("compactdefaultargs") UGauss; + %feature("autodoc", ":rtype: opencascade::handle") UGauss; + opencascade::handle UGauss (); + + /****************** UJacDeg ******************/ %feature("compactdefaultargs") UJacDeg; - %feature("autodoc", " :rtype: int -") UJacDeg; + %feature("autodoc", ":rtype: int") UJacDeg; Standard_Integer UJacDeg (); + + /****************** UJacMax ******************/ + %feature("compactdefaultargs") UJacMax; + %feature("autodoc", ":rtype: opencascade::handle") UJacMax; + opencascade::handle UJacMax (); + + /****************** ULimit ******************/ + %feature("compactdefaultargs") ULimit; + %feature("autodoc", ":rtype: int") ULimit; + Standard_Integer ULimit (); + + /****************** UOrder ******************/ + %feature("compactdefaultargs") UOrder; + %feature("autodoc", ":rtype: int") UOrder; + Standard_Integer UOrder (); + + /****************** URoots ******************/ + %feature("compactdefaultargs") URoots; + %feature("autodoc", ":rtype: opencascade::handle") URoots; + opencascade::handle URoots (); + + /****************** VGauss ******************/ + %feature("compactdefaultargs") VGauss; + %feature("autodoc", ":rtype: opencascade::handle") VGauss; + opencascade::handle VGauss (); + + /****************** VJacDeg ******************/ %feature("compactdefaultargs") VJacDeg; - %feature("autodoc", " :rtype: int -") VJacDeg; + %feature("autodoc", ":rtype: int") VJacDeg; Standard_Integer VJacDeg (); - %feature("compactdefaultargs") UJacMax; - %feature("autodoc", " :rtype: Handle_TColStd_HArray1OfReal -") UJacMax; - Handle_TColStd_HArray1OfReal UJacMax (); + + /****************** VJacMax ******************/ %feature("compactdefaultargs") VJacMax; - %feature("autodoc", " :rtype: Handle_TColStd_HArray1OfReal -") VJacMax; - Handle_TColStd_HArray1OfReal VJacMax (); - %feature("compactdefaultargs") URoots; - %feature("autodoc", " :rtype: Handle_TColStd_HArray1OfReal -") URoots; - Handle_TColStd_HArray1OfReal URoots (); + %feature("autodoc", ":rtype: opencascade::handle") VJacMax; + opencascade::handle VJacMax (); + + /****************** VLimit ******************/ + %feature("compactdefaultargs") VLimit; + %feature("autodoc", ":rtype: int") VLimit; + Standard_Integer VLimit (); + + /****************** VOrder ******************/ + %feature("compactdefaultargs") VOrder; + %feature("autodoc", ":rtype: int") VOrder; + Standard_Integer VOrder (); + + /****************** VRoots ******************/ %feature("compactdefaultargs") VRoots; - %feature("autodoc", " :rtype: Handle_TColStd_HArray1OfReal -") VRoots; - Handle_TColStd_HArray1OfReal VRoots (); - %feature("compactdefaultargs") UGauss; - %feature("autodoc", " :rtype: Handle_TColStd_HArray1OfReal -") UGauss; - Handle_TColStd_HArray1OfReal UGauss (); - %feature("compactdefaultargs") VGauss; - %feature("autodoc", " :rtype: Handle_TColStd_HArray1OfReal -") VGauss; - Handle_TColStd_HArray1OfReal VGauss (); - %feature("compactdefaultargs") IToler; - %feature("autodoc", " :rtype: Handle_TColStd_HArray1OfReal -") IToler; - Handle_TColStd_HArray1OfReal IToler (); - %feature("compactdefaultargs") FToler; - %feature("autodoc", " :rtype: Handle_TColStd_HArray2OfReal -") FToler; - Handle_TColStd_HArray2OfReal FToler (); - %feature("compactdefaultargs") CToler; - %feature("autodoc", " :rtype: Handle_TColStd_HArray2OfReal -") CToler; - Handle_TColStd_HArray2OfReal CToler (); + %feature("autodoc", ":rtype: opencascade::handle") VRoots; + opencascade::handle VRoots (); + }; @@ -820,39 +920,44 @@ class AdvApp2Var_Context { __repr__ = _dumps_object } }; + +/***************************** +* class AdvApp2Var_Criterion * +*****************************/ %nodefaultctor AdvApp2Var_Criterion; class AdvApp2Var_Criterion { public: - %feature("compactdefaultargs") Delete; - %feature("autodoc", " :rtype: void -") Delete; - virtual void Delete (); - %feature("compactdefaultargs") Value; - %feature("autodoc", " :param P: - :type P: AdvApp2Var_Patch & - :param C: - :type C: AdvApp2Var_Context & - :rtype: void -") Value; - virtual void Value (AdvApp2Var_Patch & P,const AdvApp2Var_Context & C); + /****************** IsSatisfied ******************/ %feature("compactdefaultargs") IsSatisfied; - %feature("autodoc", " :param P: + %feature("autodoc", ":param P: :type P: AdvApp2Var_Patch & - :rtype: bool -") IsSatisfied; + :rtype: bool") IsSatisfied; virtual Standard_Boolean IsSatisfied (const AdvApp2Var_Patch & P); + + /****************** MaxValue ******************/ %feature("compactdefaultargs") MaxValue; - %feature("autodoc", " :rtype: float -") MaxValue; + %feature("autodoc", ":rtype: float") MaxValue; Standard_Real MaxValue (); - %feature("compactdefaultargs") Type; - %feature("autodoc", " :rtype: AdvApp2Var_CriterionType -") Type; - AdvApp2Var_CriterionType Type (); + + /****************** Repartition ******************/ %feature("compactdefaultargs") Repartition; - %feature("autodoc", " :rtype: AdvApp2Var_CriterionRepartition -") Repartition; + %feature("autodoc", ":rtype: AdvApp2Var_CriterionRepartition") Repartition; AdvApp2Var_CriterionRepartition Repartition (); + + /****************** Type ******************/ + %feature("compactdefaultargs") Type; + %feature("autodoc", ":rtype: AdvApp2Var_CriterionType") Type; + AdvApp2Var_CriterionType Type (); + + /****************** Value ******************/ + %feature("compactdefaultargs") Value; + %feature("autodoc", ":param P: + :type P: AdvApp2Var_Patch & + :param C: + :type C: AdvApp2Var_Context & + :rtype: void") Value; + virtual void Value (AdvApp2Var_Patch & P,const AdvApp2Var_Context & C); + }; @@ -861,53 +966,68 @@ class AdvApp2Var_Criterion { __repr__ = _dumps_object } }; + +/************************ +* class AdvApp2Var_Data * +************************/ %nodefaultctor AdvApp2Var_Data; class AdvApp2Var_Data { public: - %feature("compactdefaultargs") Getmdnombr; - %feature("autodoc", " :rtype: mdnombr_1_ -") Getmdnombr; - static mdnombr_1_ & Getmdnombr (); - %feature("compactdefaultargs") Getminombr; - %feature("autodoc", " :rtype: minombr_1_ -") Getminombr; - static minombr_1_ & Getminombr (); + /****************** Getmaovpar ******************/ %feature("compactdefaultargs") Getmaovpar; - %feature("autodoc", " :rtype: maovpar_1_ -") Getmaovpar; + %feature("autodoc", ":rtype: maovpar_1_") Getmaovpar; static maovpar_1_ & Getmaovpar (); + + /****************** Getmaovpch ******************/ %feature("compactdefaultargs") Getmaovpch; - %feature("autodoc", " :rtype: maovpch_1_ -") Getmaovpch; + %feature("autodoc", ":rtype: maovpch_1_") Getmaovpch; static maovpch_1_ & Getmaovpch (); + + /****************** Getmdnombr ******************/ + %feature("compactdefaultargs") Getmdnombr; + %feature("autodoc", ":rtype: mdnombr_1_") Getmdnombr; + static mdnombr_1_ & Getmdnombr (); + + /****************** Getminombr ******************/ + %feature("compactdefaultargs") Getminombr; + %feature("autodoc", ":rtype: minombr_1_") Getminombr; + static minombr_1_ & Getminombr (); + + /****************** Getmlgdrtl ******************/ %feature("compactdefaultargs") Getmlgdrtl; - %feature("autodoc", " :rtype: mlgdrtl_1_ -") Getmlgdrtl; + %feature("autodoc", ":rtype: mlgdrtl_1_") Getmlgdrtl; static mlgdrtl_1_ & Getmlgdrtl (); - %feature("compactdefaultargs") Getmmjcobi; - %feature("autodoc", " :rtype: mmjcobi_1_ -") Getmmjcobi; - static mmjcobi_1_ & Getmmjcobi (); - %feature("compactdefaultargs") Getmmcmcnp; - %feature("autodoc", " :rtype: mmcmcnp_1_ -") Getmmcmcnp; - static mmcmcnp_1_ & Getmmcmcnp (); - %feature("compactdefaultargs") Getmmapgss; - %feature("autodoc", " :rtype: mmapgss_1_ -") Getmmapgss; - static mmapgss_1_ & Getmmapgss (); + + /****************** Getmmapgs0 ******************/ %feature("compactdefaultargs") Getmmapgs0; - %feature("autodoc", " :rtype: mmapgs0_1_ -") Getmmapgs0; + %feature("autodoc", ":rtype: mmapgs0_1_") Getmmapgs0; static mmapgs0_1_ & Getmmapgs0 (); + + /****************** Getmmapgs1 ******************/ %feature("compactdefaultargs") Getmmapgs1; - %feature("autodoc", " :rtype: mmapgs1_1_ -") Getmmapgs1; + %feature("autodoc", ":rtype: mmapgs1_1_") Getmmapgs1; static mmapgs1_1_ & Getmmapgs1 (); + + /****************** Getmmapgs2 ******************/ %feature("compactdefaultargs") Getmmapgs2; - %feature("autodoc", " :rtype: mmapgs2_1_ -") Getmmapgs2; + %feature("autodoc", ":rtype: mmapgs2_1_") Getmmapgs2; static mmapgs2_1_ & Getmmapgs2 (); + + /****************** Getmmapgss ******************/ + %feature("compactdefaultargs") Getmmapgss; + %feature("autodoc", ":rtype: mmapgss_1_") Getmmapgss; + static mmapgss_1_ & Getmmapgss (); + + /****************** Getmmcmcnp ******************/ + %feature("compactdefaultargs") Getmmcmcnp; + %feature("autodoc", ":rtype: mmcmcnp_1_") Getmmcmcnp; + static mmcmcnp_1_ & Getmmcmcnp (); + + /****************** Getmmjcobi ******************/ + %feature("compactdefaultargs") Getmmjcobi; + %feature("autodoc", ":rtype: mmjcobi_1_") Getmmjcobi; + static mmjcobi_1_ & Getmmjcobi (); + }; @@ -916,133 +1036,154 @@ class AdvApp2Var_Data { __repr__ = _dumps_object } }; + +/************************************* +* class AdvApp2Var_EvaluatorFunc2Var * +*************************************/ +/***************************** +* class AdvApp2Var_Framework * +*****************************/ %nodefaultctor AdvApp2Var_Framework; class AdvApp2Var_Framework { public: + /****************** AdvApp2Var_Framework ******************/ %feature("compactdefaultargs") AdvApp2Var_Framework; - %feature("autodoc", " :rtype: None -") AdvApp2Var_Framework; + %feature("autodoc", ":rtype: None") AdvApp2Var_Framework; AdvApp2Var_Framework (); + + /****************** AdvApp2Var_Framework ******************/ %feature("compactdefaultargs") AdvApp2Var_Framework; - %feature("autodoc", " :param Frame: + %feature("autodoc", ":param Frame: :type Frame: AdvApp2Var_SequenceOfNode & :param UFrontier: :type UFrontier: AdvApp2Var_SequenceOfStrip & :param VFrontier: :type VFrontier: AdvApp2Var_SequenceOfStrip & - :rtype: None -") AdvApp2Var_Framework; + :rtype: None") AdvApp2Var_Framework; AdvApp2Var_Framework (const AdvApp2Var_SequenceOfNode & Frame,const AdvApp2Var_SequenceOfStrip & UFrontier,const AdvApp2Var_SequenceOfStrip & VFrontier); - %feature("compactdefaultargs") FirstNotApprox; - %feature("autodoc", " * search the Index of the first Iso not approximated, if all Isos are approximated Standard_False is returned. - :param IndexIso: - :type IndexIso: int & + /****************** ChangeIso ******************/ + %feature("compactdefaultargs") ChangeIso; + %feature("autodoc", ":param IndexIso: + :type IndexIso: int :param IndexStrip: - :type IndexStrip: int & + :type IndexStrip: int :param anIso: :type anIso: AdvApp2Var_Iso & - :rtype: bool -") FirstNotApprox; - Standard_Boolean FirstNotApprox (Standard_Integer &OutValue,Standard_Integer &OutValue,AdvApp2Var_Iso & anIso); + :rtype: None") ChangeIso; + void ChangeIso (const Standard_Integer IndexIso,const Standard_Integer IndexStrip,const AdvApp2Var_Iso & anIso); + + /****************** ChangeNode ******************/ + %feature("compactdefaultargs") ChangeNode; + %feature("autodoc", ":param IndexNode: + :type IndexNode: int + :rtype: AdvApp2Var_Node") ChangeNode; + AdvApp2Var_Node & ChangeNode (const Standard_Integer IndexNode); + + /****************** FirstNode ******************/ %feature("compactdefaultargs") FirstNode; - %feature("autodoc", " :param Type: + %feature("autodoc", ":param Type: :type Type: GeomAbs_IsoType :param IndexIso: :type IndexIso: int :param IndexStrip: :type IndexStrip: int - :rtype: int -") FirstNode; + :rtype: int") FirstNode; Standard_Integer FirstNode (const GeomAbs_IsoType Type,const Standard_Integer IndexIso,const Standard_Integer IndexStrip); - %feature("compactdefaultargs") LastNode; - %feature("autodoc", " :param Type: - :type Type: GeomAbs_IsoType + + /****************** FirstNotApprox ******************/ + %feature("compactdefaultargs") FirstNotApprox; + %feature("autodoc", "* search the Index of the first Iso not approximated, if all Isos are approximated Standard_False is returned. :param IndexIso: - :type IndexIso: int - :param IndexStrip: - :type IndexStrip: int - :rtype: int -") LastNode; - Standard_Integer LastNode (const GeomAbs_IsoType Type,const Standard_Integer IndexIso,const Standard_Integer IndexStrip); - %feature("compactdefaultargs") ChangeIso; - %feature("autodoc", " :param IndexIso: - :type IndexIso: int + :type IndexIso: int & :param IndexStrip: - :type IndexStrip: int + :type IndexStrip: int & :param anIso: :type anIso: AdvApp2Var_Iso & - :rtype: None -") ChangeIso; - void ChangeIso (const Standard_Integer IndexIso,const Standard_Integer IndexStrip,const AdvApp2Var_Iso & anIso); - %feature("compactdefaultargs") Node; - %feature("autodoc", " :param IndexNode: - :type IndexNode: int - :rtype: AdvApp2Var_Node -") Node; - const AdvApp2Var_Node & Node (const Standard_Integer IndexNode); - %feature("compactdefaultargs") Node; - %feature("autodoc", " :param U: - :type U: float - :param V: - :type V: float - :rtype: AdvApp2Var_Node -") Node; - const AdvApp2Var_Node & Node (const Standard_Real U,const Standard_Real V); + :rtype: bool") FirstNotApprox; + Standard_Boolean FirstNotApprox (Standard_Integer &OutValue,Standard_Integer &OutValue,AdvApp2Var_Iso & anIso); + + /****************** IsoU ******************/ %feature("compactdefaultargs") IsoU; - %feature("autodoc", " :param U: + %feature("autodoc", ":param U: :type U: float :param V0: :type V0: float :param V1: :type V1: float - :rtype: AdvApp2Var_Iso -") IsoU; + :rtype: AdvApp2Var_Iso") IsoU; const AdvApp2Var_Iso & IsoU (const Standard_Real U,const Standard_Real V0,const Standard_Real V1); + + /****************** IsoV ******************/ %feature("compactdefaultargs") IsoV; - %feature("autodoc", " :param U0: + %feature("autodoc", ":param U0: :type U0: float :param U1: :type U1: float :param V: :type V: float - :rtype: AdvApp2Var_Iso -") IsoV; + :rtype: AdvApp2Var_Iso") IsoV; const AdvApp2Var_Iso & IsoV (const Standard_Real U0,const Standard_Real U1,const Standard_Real V); - %feature("compactdefaultargs") ChangeNode; - %feature("autodoc", " :param IndexNode: + + /****************** LastNode ******************/ + %feature("compactdefaultargs") LastNode; + %feature("autodoc", ":param Type: + :type Type: GeomAbs_IsoType + :param IndexIso: + :type IndexIso: int + :param IndexStrip: + :type IndexStrip: int + :rtype: int") LastNode; + Standard_Integer LastNode (const GeomAbs_IsoType Type,const Standard_Integer IndexIso,const Standard_Integer IndexStrip); + + /****************** Node ******************/ + %feature("compactdefaultargs") Node; + %feature("autodoc", ":param IndexNode: :type IndexNode: int - :rtype: AdvApp2Var_Node -") ChangeNode; - AdvApp2Var_Node & ChangeNode (const Standard_Integer IndexNode); + :rtype: AdvApp2Var_Node") Node; + const AdvApp2Var_Node & Node (const Standard_Integer IndexNode); + + /****************** Node ******************/ + %feature("compactdefaultargs") Node; + %feature("autodoc", ":param U: + :type U: float + :param V: + :type V: float + :rtype: AdvApp2Var_Node") Node; + const AdvApp2Var_Node & Node (const Standard_Real U,const Standard_Real V); + + /****************** UEquation ******************/ + %feature("compactdefaultargs") UEquation; + %feature("autodoc", ":param IndexIso: + :type IndexIso: int + :param IndexStrip: + :type IndexStrip: int + :rtype: opencascade::handle") UEquation; + const opencascade::handle & UEquation (const Standard_Integer IndexIso,const Standard_Integer IndexStrip); + + /****************** UpdateInU ******************/ %feature("compactdefaultargs") UpdateInU; - %feature("autodoc", " :param CuttingValue: + %feature("autodoc", ":param CuttingValue: :type CuttingValue: float - :rtype: None -") UpdateInU; + :rtype: None") UpdateInU; void UpdateInU (const Standard_Real CuttingValue); + + /****************** UpdateInV ******************/ %feature("compactdefaultargs") UpdateInV; - %feature("autodoc", " :param CuttingValue: + %feature("autodoc", ":param CuttingValue: :type CuttingValue: float - :rtype: None -") UpdateInV; + :rtype: None") UpdateInV; void UpdateInV (const Standard_Real CuttingValue); - %feature("compactdefaultargs") UEquation; - %feature("autodoc", " :param IndexIso: - :type IndexIso: int - :param IndexStrip: - :type IndexStrip: int - :rtype: Handle_TColStd_HArray1OfReal -") UEquation; - Handle_TColStd_HArray1OfReal UEquation (const Standard_Integer IndexIso,const Standard_Integer IndexStrip); + + /****************** VEquation ******************/ %feature("compactdefaultargs") VEquation; - %feature("autodoc", " :param IndexIso: + %feature("autodoc", ":param IndexIso: :type IndexIso: int :param IndexStrip: :type IndexStrip: int - :rtype: Handle_TColStd_HArray1OfReal -") VEquation; - Handle_TColStd_HArray1OfReal VEquation (const Standard_Integer IndexIso,const Standard_Integer IndexStrip); + :rtype: opencascade::handle") VEquation; + const opencascade::handle & VEquation (const Standard_Integer IndexIso,const Standard_Integer IndexStrip); + }; @@ -1051,12 +1192,32 @@ class AdvApp2Var_Framework { __repr__ = _dumps_object } }; + +/*********************** +* class AdvApp2Var_Iso * +***********************/ +/**************************** +* class AdvApp2Var_MathBase * +****************************/ %nodefaultctor AdvApp2Var_MathBase; class AdvApp2Var_MathBase { public: - %feature("compactdefaultargs") mmapcmp_; - %feature("autodoc", " * /// + /****************** mdsptpt_ ******************/ + %feature("compactdefaultargs") mdsptpt_; + %feature("autodoc", ":param ndimen: + :type ndimen: integer * + :param point1: + :type point1: doublereal * + :param point2: + :type point2: doublereal * + :param distan: + :type distan: doublereal * + :rtype: int") mdsptpt_; + static int mdsptpt_ (integer * ndimen,doublereal * point1,doublereal * point2,doublereal * distan); + /****************** mmapcmp_ ******************/ + %feature("compactdefaultargs") mmapcmp_; + %feature("autodoc", "* /// :param : :type : integer * :param : @@ -1067,111 +1228,56 @@ class AdvApp2Var_MathBase { :type : double * :param : :type : double * - :rtype: int -") mmapcmp_; + :rtype: int") mmapcmp_; static int mmapcmp_ (integer * ,integer * ,integer * ,double * ,double * ); - %feature("compactdefaultargs") mmdrc11_; - %feature("autodoc", " :param : - :type : integer * - :param : - :type : integer * - :param : - :type : integer * - :param : - :type : doublereal * - :param : - :type : doublereal * - :param : - :type : doublereal * - :rtype: int -") mmdrc11_; - static int mmdrc11_ (integer * ,integer * ,integer * ,doublereal * ,doublereal * ,doublereal * ); - %feature("compactdefaultargs") mmfmca9_; - %feature("autodoc", " :param : - :type : integer * - :param : - :type : integer * - :param : - :type : integer * - :param : - :type : integer * - :param : - :type : integer * - :param : - :type : integer * - :param : - :type : doublereal * - :param : - :type : doublereal * - :rtype: int -") mmfmca9_; - static int mmfmca9_ (integer * ,integer * ,integer * ,integer * ,integer * ,integer * ,doublereal * ,doublereal * ); - %feature("compactdefaultargs") mmfmcb5_; - %feature("autodoc", " :param : - :type : integer * - :param : - :type : integer * - :param : - :type : integer * - :param : - :type : doublereal * - :param : - :type : integer * - :param : - :type : integer * - :param : - :type : integer * - :param : - :type : doublereal * - :param : - :type : integer * - :rtype: int -") mmfmcb5_; - static int mmfmcb5_ (integer * ,integer * ,integer * ,doublereal * ,integer * ,integer * ,integer * ,doublereal * ,integer * ); - %feature("compactdefaultargs") mmwprcs_; - %feature("autodoc", " :param : - :type : doublereal * - :param : - :type : doublereal * - :param : - :type : doublereal * - :param : - :type : doublereal * - :param : - :type : integer * - :param : - :type : integer * - :rtype: void -") mmwprcs_; - static void mmwprcs_ (doublereal * ,doublereal * ,doublereal * ,doublereal * ,integer * ,integer * ); - %feature("compactdefaultargs") mmcglc1_; - %feature("autodoc", " * /// - :param ndimax: - :type ndimax: integer * + /****************** mmaperx_ ******************/ + %feature("compactdefaultargs") mmaperx_; + %feature("autodoc", ":param ncofmx: + :type ncofmx: integer * :param ndimen: :type ndimen: integer * :param ncoeff: :type ncoeff: integer * - :param courbe: - :type courbe: doublereal * - :param tdebut: - :type tdebut: doublereal * - :param tfinal: - :type tfinal: doublereal * - :param epsiln: - :type epsiln: doublereal * - :param xlongc: - :type xlongc: doublereal * - :param erreur: - :type erreur: doublereal * + :param iordre: + :type iordre: integer * + :param crvjac: + :type crvjac: doublereal * + :param ncfnew: + :type ncfnew: integer * + :param ycvmax: + :type ycvmax: doublereal * + :param errmax: + :type errmax: doublereal * :param iercod: :type iercod: integer * - :rtype: int -") mmcglc1_; - static int mmcglc1_ (integer * ndimax,integer * ndimen,integer * ncoeff,doublereal * courbe,doublereal * tdebut,doublereal * tfinal,doublereal * epsiln,doublereal * xlongc,doublereal * erreur,integer * iercod); + :rtype: int") mmaperx_; + static int mmaperx_ (integer * ncofmx,integer * ndimen,integer * ncoeff,integer * iordre,doublereal * crvjac,integer * ncfnew,doublereal * ycvmax,doublereal * errmax,integer * iercod); + + /****************** mmarcin_ ******************/ + %feature("compactdefaultargs") mmarcin_; + %feature("autodoc", ":param ndimax: + :type ndimax: integer * + :param ndim: + :type ndim: integer * + :param ncoeff: + :type ncoeff: integer * + :param crvold: + :type crvold: doublereal * + :param u0: + :type u0: doublereal * + :param u1: + :type u1: doublereal * + :param crvnew: + :type crvnew: doublereal * + :param iercod: + :type iercod: integer * + :rtype: int") mmarcin_; + static int mmarcin_ (integer * ndimax,integer * ndim,integer * ncoeff,doublereal * crvold,doublereal * u0,doublereal * u1,doublereal * crvnew,integer * iercod); + + /****************** mmbulld_ ******************/ %feature("compactdefaultargs") mmbulld_; - %feature("autodoc", " :param nbcoln: + %feature("autodoc", ":param nbcoln: :type nbcoln: integer * :param nblign: :type nblign: integer * @@ -1179,11 +1285,12 @@ class AdvApp2Var_MathBase { :type dtabtr: doublereal * :param numcle: :type numcle: integer * - :rtype: int -") mmbulld_; + :rtype: int") mmbulld_; static int mmbulld_ (integer * nbcoln,integer * nblign,doublereal * dtabtr,integer * numcle); + + /****************** mmcdriv_ ******************/ %feature("compactdefaultargs") mmcdriv_; - %feature("autodoc", " :param ndimen: + %feature("autodoc", ":param ndimen: :type ndimen: integer * :param ncoeff: :type ncoeff: integer * @@ -1195,65 +1302,91 @@ class AdvApp2Var_MathBase { :type ncofdv: integer * :param crvdrv: :type crvdrv: doublereal * - :rtype: int -") mmcdriv_; + :rtype: int") mmcdriv_; static int mmcdriv_ (integer * ndimen,integer * ncoeff,doublereal * courbe,integer * ideriv,integer * ncofdv,doublereal * crvdrv); - %feature("compactdefaultargs") mmcvctx_; - %feature("autodoc", " :param ndimen: + + /****************** mmcglc1_ ******************/ + %feature("compactdefaultargs") mmcglc1_; + %feature("autodoc", "* /// + :param ndimax: + :type ndimax: integer * + :param ndimen: :type ndimen: integer * - :param ncofmx: - :type ncofmx: integer * - :param nderiv: - :type nderiv: integer * - :param ctrtes: - :type ctrtes: doublereal * - :param crvres: - :type crvres: doublereal * - :param tabaux: - :type tabaux: doublereal * - :param xmatri: - :type xmatri: doublereal * + :param ncoeff: + :type ncoeff: integer * + :param courbe: + :type courbe: doublereal * + :param tdebut: + :type tdebut: doublereal * + :param tfinal: + :type tfinal: doublereal * + :param epsiln: + :type epsiln: doublereal * + :param xlongc: + :type xlongc: doublereal * + :param erreur: + :type erreur: doublereal * :param iercod: :type iercod: integer * - :rtype: int -") mmcvctx_; - static int mmcvctx_ (integer * ndimen,integer * ncofmx,integer * nderiv,doublereal * ctrtes,doublereal * crvres,doublereal * tabaux,doublereal * xmatri,integer * iercod); - %feature("compactdefaultargs") mdsptpt_; - %feature("autodoc", " :param ndimen: + :rtype: int") mmcglc1_; + static int mmcglc1_ (integer * ndimax,integer * ndimen,integer * ncoeff,doublereal * courbe,doublereal * tdebut,doublereal * tfinal,doublereal * epsiln,doublereal * xlongc,doublereal * erreur,integer * iercod); + + /****************** mmcvctx_ ******************/ + %feature("compactdefaultargs") mmcvctx_; + %feature("autodoc", ":param ndimen: :type ndimen: integer * - :param point1: - :type point1: doublereal * - :param point2: - :type point2: doublereal * - :param distan: - :type distan: doublereal * - :rtype: int -") mdsptpt_; - static int mdsptpt_ (integer * ndimen,doublereal * point1,doublereal * point2,doublereal * distan); - %feature("compactdefaultargs") mmaperx_; - %feature("autodoc", " :param ncofmx: + :param ncofmx: :type ncofmx: integer * - :param ndimen: - :type ndimen: integer * - :param ncoeff: - :type ncoeff: integer * - :param iordre: - :type iordre: integer * - :param crvjac: - :type crvjac: doublereal * - :param ncfnew: - :type ncfnew: integer * - :param ycvmax: - :type ycvmax: doublereal * - :param errmax: - :type errmax: doublereal * + :param nderiv: + :type nderiv: integer * + :param ctrtes: + :type ctrtes: doublereal * + :param crvres: + :type crvres: doublereal * + :param tabaux: + :type tabaux: doublereal * + :param xmatri: + :type xmatri: doublereal * :param iercod: :type iercod: integer * - :rtype: int -") mmaperx_; - static int mmaperx_ (integer * ncofmx,integer * ndimen,integer * ncoeff,integer * iordre,doublereal * crvjac,integer * ncfnew,doublereal * ycvmax,doublereal * errmax,integer * iercod); + :rtype: int") mmcvctx_; + static int mmcvctx_ (integer * ndimen,integer * ncofmx,integer * nderiv,doublereal * ctrtes,doublereal * crvres,doublereal * tabaux,doublereal * xmatri,integer * iercod); + + /****************** mmcvinv_ ******************/ + %feature("compactdefaultargs") mmcvinv_; + %feature("autodoc", ":param ndimax: + :type ndimax: integer * + :param ncoef: + :type ncoef: integer * + :param ndim: + :type ndim: integer * + :param curveo: + :type curveo: doublereal * + :param curve: + :type curve: doublereal * + :rtype: int") mmcvinv_; + static int mmcvinv_ (integer * ndimax,integer * ncoef,integer * ndim,doublereal * curveo,doublereal * curve); + + /****************** mmdrc11_ ******************/ + %feature("compactdefaultargs") mmdrc11_; + %feature("autodoc", ":param : + :type : integer * + :param : + :type : integer * + :param : + :type : integer * + :param : + :type : doublereal * + :param : + :type : doublereal * + :param : + :type : doublereal * + :rtype: int") mmdrc11_; + static int mmdrc11_ (integer * ,integer * ,integer * ,doublereal * ,doublereal * ,doublereal * ); + + /****************** mmdrvck_ ******************/ %feature("compactdefaultargs") mmdrvck_; - %feature("autodoc", " :param ncoeff: + %feature("autodoc", ":param ncoeff: :type ncoeff: integer * :param ndimen: :type ndimen: integer * @@ -1265,17 +1398,19 @@ class AdvApp2Var_MathBase { :type tparam: doublereal * :param pntcrb: :type pntcrb: doublereal * - :rtype: int -") mmdrvck_; + :rtype: int") mmdrvck_; static int mmdrvck_ (integer * ncoeff,integer * ndimen,doublereal * courbe,integer * ideriv,doublereal * tparam,doublereal * pntcrb); + + /****************** mmeps1_ ******************/ %feature("compactdefaultargs") mmeps1_; - %feature("autodoc", " :param epsilo: + %feature("autodoc", ":param epsilo: :type epsilo: doublereal * - :rtype: int -") mmeps1_; + :rtype: int") mmeps1_; static int mmeps1_ (doublereal * epsilo); + + /****************** mmfmca8_ ******************/ %feature("compactdefaultargs") mmfmca8_; - %feature("autodoc", " :param ndimen: + %feature("autodoc", ":param ndimen: :type ndimen: integer * :param ncoefu: :type ncoefu: integer * @@ -1291,11 +1426,33 @@ class AdvApp2Var_MathBase { :type tabini: doublereal * :param tabres: :type tabres: doublereal * - :rtype: int -") mmfmca8_; + :rtype: int") mmfmca8_; static int mmfmca8_ (const integer * ndimen,const integer * ncoefu,const integer * ncoefv,const integer * ndimax,const integer * ncfumx,const integer * ncfvmx,doublereal * tabini,doublereal * tabres); + + /****************** mmfmca9_ ******************/ + %feature("compactdefaultargs") mmfmca9_; + %feature("autodoc", ":param : + :type : integer * + :param : + :type : integer * + :param : + :type : integer * + :param : + :type : integer * + :param : + :type : integer * + :param : + :type : integer * + :param : + :type : doublereal * + :param : + :type : doublereal * + :rtype: int") mmfmca9_; + static int mmfmca9_ (integer * ,integer * ,integer * ,integer * ,integer * ,integer * ,doublereal * ,doublereal * ); + + /****************** mmfmcar_ ******************/ %feature("compactdefaultargs") mmfmcar_; - %feature("autodoc", " :param ndimen: + %feature("autodoc", ":param ndimen: :type ndimen: integer * :param ncofmx: :type ncofmx: integer * @@ -1317,11 +1474,35 @@ class AdvApp2Var_MathBase { :type patnew: doublereal * :param iercod: :type iercod: integer * - :rtype: int -") mmfmcar_; + :rtype: int") mmfmcar_; static int mmfmcar_ (integer * ndimen,integer * ncofmx,integer * ncoefu,integer * ncoefv,doublereal * patold,doublereal * upara1,doublereal * upara2,doublereal * vpara1,doublereal * vpara2,doublereal * patnew,integer * iercod); + + /****************** mmfmcb5_ ******************/ + %feature("compactdefaultargs") mmfmcb5_; + %feature("autodoc", ":param : + :type : integer * + :param : + :type : integer * + :param : + :type : integer * + :param : + :type : doublereal * + :param : + :type : integer * + :param : + :type : integer * + :param : + :type : integer * + :param : + :type : doublereal * + :param : + :type : integer * + :rtype: int") mmfmcb5_; + static int mmfmcb5_ (integer * ,integer * ,integer * ,doublereal * ,integer * ,integer * ,integer * ,doublereal * ,integer * ); + + /****************** mmfmtb1_ ******************/ %feature("compactdefaultargs") mmfmtb1_; - %feature("autodoc", " :param maxsz1: + %feature("autodoc", ":param maxsz1: :type maxsz1: integer * :param table1: :type table1: doublereal * @@ -1339,35 +1520,12 @@ class AdvApp2Var_MathBase { :type jsize2: integer * :param iercod: :type iercod: integer * - :rtype: int -") mmfmtb1_; + :rtype: int") mmfmtb1_; static int mmfmtb1_ (integer * maxsz1,doublereal * table1,integer * isize1,integer * jsize1,integer * maxsz2,doublereal * table2,integer * isize2,integer * jsize2,integer * iercod); - %feature("compactdefaultargs") mmgaus1_; - %feature("autodoc", " :param ndimf: - :type ndimf: integer * - :param : - :type : int(*bfunx)(integer*ninteg,doublereal*parame,doublereal*vfunj1,integer*iercod) - :param k: - :type k: integer * - :param xd: - :type xd: doublereal * - :param xf: - :type xf: doublereal * - :param saux1: - :type saux1: doublereal * - :param saux2: - :type saux2: doublereal * - :param somme: - :type somme: doublereal * - :param niter: - :type niter: integer * - :param iercod: - :type iercod: integer * - :rtype: int -") mmgaus1_; - static int mmgaus1_ (integer * ndimf,int(*bfunx)(integer*ninteg,doublereal*parame,doublereal*vfunj1,integer*iercod) ,integer * k,doublereal * xd,doublereal * xf,doublereal * saux1,doublereal * saux2,doublereal * somme,integer * niter,integer * iercod); + + /****************** mmhjcan_ ******************/ %feature("compactdefaultargs") mmhjcan_; - %feature("autodoc", " :param ndimen: + %feature("autodoc", ":param ndimen: :type ndimen: integer * :param ncourb: :type ncourb: integer * @@ -1385,11 +1543,12 @@ class AdvApp2Var_MathBase { :type tcbnew: doublereal * :param iercod: :type iercod: integer * - :rtype: int -") mmhjcan_; + :rtype: int") mmhjcan_; static int mmhjcan_ (integer * ndimen,integer * ncourb,integer * ncftab,integer * orcont,integer * ncflim,doublereal * tcbold,doublereal * tdecop,doublereal * tcbnew,integer * iercod); + + /****************** mminltt_ ******************/ %feature("compactdefaultargs") mminltt_; - %feature("autodoc", " :param ncolmx: + %feature("autodoc", ":param ncolmx: :type ncolmx: integer * :param nlgnmx: :type nlgnmx: integer * @@ -1405,11 +1564,25 @@ class AdvApp2Var_MathBase { :type epseg: doublereal * :param iercod: :type iercod: integer * - :rtype: int -") mminltt_; + :rtype: int") mminltt_; static int mminltt_ (integer * ncolmx,integer * nlgnmx,doublereal * tabtri,integer * nbrcol,integer * nbrlgn,doublereal * ajoute,doublereal * epseg,integer * iercod); + + /****************** mmjacan_ ******************/ + %feature("compactdefaultargs") mmjacan_; + %feature("autodoc", ":param ideriv: + :type ideriv: integer * + :param ndeg: + :type ndeg: integer * + :param poljac: + :type poljac: doublereal * + :param polcan: + :type polcan: doublereal * + :rtype: int") mmjacan_; + static int mmjacan_ (const integer * ideriv,integer * ndeg,doublereal * poljac,doublereal * polcan); + + /****************** mmjaccv_ ******************/ %feature("compactdefaultargs") mmjaccv_; - %feature("autodoc", " :param ncoef: + %feature("autodoc", ":param ncoef: :type ncoef: integer * :param ndim: :type ndim: integer * @@ -1421,11 +1594,52 @@ class AdvApp2Var_MathBase { :type polaux: doublereal * :param crvcan: :type crvcan: doublereal * - :rtype: int -") mmjaccv_; + :rtype: int") mmjaccv_; static int mmjaccv_ (const integer * ncoef,const integer * ndim,const integer * ider,const doublereal * crvlgd,doublereal * polaux,doublereal * crvcan); + + /****************** mmmpocur_ ******************/ + %feature("compactdefaultargs") mmmpocur_; + %feature("autodoc", ":param ncofmx: + :type ncofmx: integer * + :param ndim: + :type ndim: integer * + :param ndeg: + :type ndeg: integer * + :param courbe: + :type courbe: doublereal * + :param tparam: + :type tparam: doublereal * + :param tabval: + :type tabval: doublereal * + :rtype: int") mmmpocur_; + static int mmmpocur_ (integer * ncofmx,integer * ndim,integer * ndeg,doublereal * courbe,doublereal * tparam,doublereal * tabval); + + /****************** mmmrslwd_ ******************/ + %feature("compactdefaultargs") mmmrslwd_; + %feature("autodoc", ":param normax: + :type normax: integer * + :param nordre: + :type nordre: integer * + :param ndim: + :type ndim: integer * + :param amat: + :type amat: doublereal * + :param bmat: + :type bmat: doublereal * + :param epspiv: + :type epspiv: doublereal * + :param aaux: + :type aaux: doublereal * + :param xmat: + :type xmat: doublereal * + :param iercod: + :type iercod: integer * + :rtype: int") mmmrslwd_; + static int mmmrslwd_ (integer * normax,integer * nordre,integer * ndim,doublereal * amat,doublereal * bmat,doublereal * epspiv,doublereal * aaux,doublereal * xmat,integer * iercod); + + /****************** mmpobas_ ******************/ %feature("compactdefaultargs") mmpobas_; - %feature("autodoc", " :param tparam: + %feature("autodoc", ":param tparam: :type tparam: doublereal * :param iordre: :type iordre: integer * @@ -1437,27 +1651,29 @@ class AdvApp2Var_MathBase { :type valbas: doublereal * :param iercod: :type iercod: integer * - :rtype: int -") mmpobas_; + :rtype: int") mmpobas_; static int mmpobas_ (doublereal * tparam,integer * iordre,integer * ncoeff,integer * nderiv,doublereal * valbas,integer * iercod); - %feature("compactdefaultargs") mmmpocur_; - %feature("autodoc", " :param ncofmx: - :type ncofmx: integer * - :param ndim: - :type ndim: integer * - :param ndeg: - :type ndeg: integer * + + /****************** mmpocrb_ ******************/ + %feature("compactdefaultargs") mmpocrb_; + %feature("autodoc", ":param ndimax: + :type ndimax: integer * + :param ncoeff: + :type ncoeff: integer * :param courbe: :type courbe: doublereal * + :param ndim: + :type ndim: integer * :param tparam: :type tparam: doublereal * - :param tabval: - :type tabval: doublereal * - :rtype: int -") mmmpocur_; - static int mmmpocur_ (integer * ncofmx,integer * ndim,integer * ndeg,doublereal * courbe,doublereal * tparam,doublereal * tabval); + :param pntcrb: + :type pntcrb: doublereal * + :rtype: int") mmpocrb_; + static int mmpocrb_ (integer * ndimax,integer * ncoeff,doublereal * courbe,integer * ndim,doublereal * tparam,doublereal * pntcrb); + + /****************** mmposui_ ******************/ %feature("compactdefaultargs") mmposui_; - %feature("autodoc", " :param dimmat: + %feature("autodoc", ":param dimmat: :type dimmat: integer * :param nistoc: :type nistoc: integer * @@ -1467,11 +1683,12 @@ class AdvApp2Var_MathBase { :type posuiv: integer * :param iercod: :type iercod: integer * - :rtype: int -") mmposui_; + :rtype: int") mmposui_; static int mmposui_ (integer * dimmat,integer * nistoc,integer * aposit,integer * posuiv,integer * iercod); + + /****************** mmresol_ ******************/ %feature("compactdefaultargs") mmresol_; - %feature("autodoc", " :param hdimen: + %feature("autodoc", ":param hdimen: :type hdimen: integer * :param gdimen: :type gdimen: integer * @@ -1503,19 +1720,21 @@ class AdvApp2Var_MathBase { :type vecsol: doublereal * :param iercod: :type iercod: integer * - :rtype: int -") mmresol_; + :rtype: int") mmresol_; static int mmresol_ (integer * hdimen,integer * gdimen,integer * hnstoc,integer * gnstoc,integer * mnstoc,doublereal * matsyh,doublereal * matsyg,doublereal * vecsyh,doublereal * vecsyg,integer * hposit,integer * hposui,integer * gposit,integer * mmposui,integer * mposit,doublereal * vecsol,integer * iercod); + + /****************** mmrtptt_ ******************/ %feature("compactdefaultargs") mmrtptt_; - %feature("autodoc", " :param ndglgd: + %feature("autodoc", ":param ndglgd: :type ndglgd: integer * :param rtlegd: :type rtlegd: doublereal * - :rtype: int -") mmrtptt_; + :rtype: int") mmrtptt_; static int mmrtptt_ (integer * ndglgd,doublereal * rtlegd); + + /****************** mmsrre2_ ******************/ %feature("compactdefaultargs") mmsrre2_; - %feature("autodoc", " :param tparam: + %feature("autodoc", ":param tparam: :type tparam: doublereal * :param nbrval: :type nbrval: integer * @@ -1529,11 +1748,12 @@ class AdvApp2Var_MathBase { :type itypen: integer * :param iercod: :type iercod: integer * - :rtype: int -") mmsrre2_; + :rtype: int") mmsrre2_; static int mmsrre2_ (doublereal * tparam,integer * nbrval,doublereal * tablev,doublereal * epsil,integer * numint,integer * itypen,integer * iercod); + + /****************** mmtrpjj_ ******************/ %feature("compactdefaultargs") mmtrpjj_; - %feature("autodoc", " :param ncofmx: + %feature("autodoc", ":param ncofmx: :type ncofmx: integer * :param ndimen: :type ndimen: integer * @@ -1551,163 +1771,103 @@ class AdvApp2Var_MathBase { :type errmax: doublereal * :param ncfnew: :type ncfnew: integer * - :rtype: int -") mmtrpjj_; + :rtype: int") mmtrpjj_; static int mmtrpjj_ (integer * ncofmx,integer * ndimen,integer * ncoeff,doublereal * epsi3d,integer * iordre,doublereal * crvlgd,doublereal * ycvmax,doublereal * errmax,integer * ncfnew); - %feature("compactdefaultargs") mmunivt_; - %feature("autodoc", " :param ndimen: - :type ndimen: integer * - :param vector: - :type vector: doublereal * - :param vecnrm: - :type vecnrm: doublereal * - :param epsiln: - :type epsiln: doublereal * - :param iercod: - :type iercod: integer * - :rtype: int -") mmunivt_; - static int mmunivt_ (integer * ndimen,doublereal * vector,doublereal * vecnrm,doublereal * epsiln,integer * iercod); - %feature("compactdefaultargs") mmvncol_; - %feature("autodoc", " :param ndimen: - :type ndimen: integer * - :param vecin: - :type vecin: doublereal * - :param vecout: - :type vecout: doublereal * - :param iercod: - :type iercod: integer * - :rtype: int -") mmvncol_; - static int mmvncol_ (integer * ndimen,doublereal * vecin,doublereal * vecout,integer * iercod); - %feature("compactdefaultargs") msc_; - %feature("autodoc", " :param ndimen: - :type ndimen: integer * - :param vecte1: - :type vecte1: doublereal * - :param vecte2: - :type vecte2: doublereal * - :rtype: doublereal -") msc_; - static doublereal msc_ (integer * ndimen,doublereal * vecte1,doublereal * vecte2); - %feature("compactdefaultargs") mvsheld_; - %feature("autodoc", " :param n: - :type n: integer * - :param is: - :type is: integer * - :param dtab: - :type dtab: doublereal * - :param icle: - :type icle: integer * - :rtype: int -") mvsheld_; - static int mvsheld_ (integer * n,integer * is,doublereal * dtab,integer * icle); - %feature("compactdefaultargs") mmarcin_; - %feature("autodoc", " :param ndimax: - :type ndimax: integer * - :param ndim: - :type ndim: integer * - :param ncoeff: - :type ncoeff: integer * - :param crvold: - :type crvold: doublereal * - :param u0: - :type u0: doublereal * - :param u1: - :type u1: doublereal * - :param crvnew: - :type crvnew: doublereal * - :param iercod: - :type iercod: integer * - :rtype: int -") mmarcin_; - static int mmarcin_ (integer * ndimax,integer * ndim,integer * ncoeff,doublereal * crvold,doublereal * u0,doublereal * u1,doublereal * crvnew,integer * iercod); - %feature("compactdefaultargs") mmcvinv_; - %feature("autodoc", " :param ndimax: - :type ndimax: integer * - :param ncoef: - :type ncoef: integer * - :param ndim: - :type ndim: integer * - :param curveo: - :type curveo: doublereal * - :param curve: - :type curve: doublereal * - :rtype: int -") mmcvinv_; - static int mmcvinv_ (integer * ndimax,integer * ncoef,integer * ndim,doublereal * curveo,doublereal * curve); - %feature("compactdefaultargs") mmjacan_; - %feature("autodoc", " :param ideriv: - :type ideriv: integer * - :param ndeg: - :type ndeg: integer * - :param poljac: - :type poljac: doublereal * - :param polcan: - :type polcan: doublereal * - :rtype: int -") mmjacan_; - static int mmjacan_ (const integer * ideriv,integer * ndeg,doublereal * poljac,doublereal * polcan); - %feature("compactdefaultargs") mmpocrb_; - %feature("autodoc", " :param ndimax: - :type ndimax: integer * - :param ncoeff: - :type ncoeff: integer * - :param courbe: - :type courbe: doublereal * - :param ndim: - :type ndim: integer * - :param tparam: - :type tparam: doublereal * - :param pntcrb: - :type pntcrb: doublereal * - :rtype: int -") mmpocrb_; - static int mmpocrb_ (integer * ndimax,integer * ncoeff,doublereal * courbe,integer * ndim,doublereal * tparam,doublereal * pntcrb); - %feature("compactdefaultargs") mmmrslwd_; - %feature("autodoc", " :param normax: - :type normax: integer * - :param nordre: - :type nordre: integer * - :param ndim: - :type ndim: integer * - :param amat: - :type amat: doublereal * - :param bmat: - :type bmat: doublereal * - :param epspiv: - :type epspiv: doublereal * - :param aaux: - :type aaux: doublereal * - :param xmat: - :type xmat: doublereal * + + /****************** mmunivt_ ******************/ + %feature("compactdefaultargs") mmunivt_; + %feature("autodoc", ":param ndimen: + :type ndimen: integer * + :param vector: + :type vector: doublereal * + :param vecnrm: + :type vecnrm: doublereal * + :param epsiln: + :type epsiln: doublereal * :param iercod: :type iercod: integer * - :rtype: int -") mmmrslwd_; - static int mmmrslwd_ (integer * normax,integer * nordre,integer * ndim,doublereal * amat,doublereal * bmat,doublereal * epspiv,doublereal * aaux,doublereal * xmat,integer * iercod); + :rtype: int") mmunivt_; + static int mmunivt_ (integer * ndimen,doublereal * vector,doublereal * vecnrm,doublereal * epsiln,integer * iercod); + + /****************** mmveps3_ ******************/ %feature("compactdefaultargs") mmveps3_; - %feature("autodoc", " :param eps03: + %feature("autodoc", ":param eps03: :type eps03: doublereal * - :rtype: int -") mmveps3_; + :rtype: int") mmveps3_; static int mmveps3_ (doublereal * eps03); - %feature("compactdefaultargs") pow__di; - %feature("autodoc", " :param x: - :type x: doublereal * - :param n: + + /****************** mmvncol_ ******************/ + %feature("compactdefaultargs") mmvncol_; + %feature("autodoc", ":param ndimen: + :type ndimen: integer * + :param vecin: + :type vecin: doublereal * + :param vecout: + :type vecout: doublereal * + :param iercod: + :type iercod: integer * + :rtype: int") mmvncol_; + static int mmvncol_ (integer * ndimen,doublereal * vecin,doublereal * vecout,integer * iercod); + + /****************** mmwprcs_ ******************/ + %feature("compactdefaultargs") mmwprcs_; + %feature("autodoc", ":param : + :type : doublereal * + :param : + :type : doublereal * + :param : + :type : doublereal * + :param : + :type : doublereal * + :param : + :type : integer * + :param : + :type : integer * + :rtype: void") mmwprcs_; + static void mmwprcs_ (doublereal * ,doublereal * ,doublereal * ,doublereal * ,integer * ,integer * ); + + /****************** msc_ ******************/ + %feature("compactdefaultargs") msc_; + %feature("autodoc", ":param ndimen: + :type ndimen: integer * + :param vecte1: + :type vecte1: doublereal * + :param vecte2: + :type vecte2: doublereal * + :rtype: doublereal") msc_; + static doublereal msc_ (integer * ndimen,doublereal * vecte1,doublereal * vecte2); + + /****************** mvsheld_ ******************/ + %feature("compactdefaultargs") mvsheld_; + %feature("autodoc", ":param n: :type n: integer * - :rtype: doublereal -") pow__di; - static doublereal pow__di (doublereal * x,integer * n); + :param is: + :type is: integer * + :param dtab: + :type dtab: doublereal * + :param icle: + :type icle: integer * + :rtype: int") mvsheld_; + static int mvsheld_ (integer * n,integer * is,doublereal * dtab,integer * icle); + + /****************** mzsnorm_ ******************/ %feature("compactdefaultargs") mzsnorm_; - %feature("autodoc", " :param ndimen: + %feature("autodoc", ":param ndimen: :type ndimen: integer * :param vecteu: :type vecteu: doublereal * - :rtype: doublereal -") mzsnorm_; + :rtype: doublereal") mzsnorm_; static doublereal mzsnorm_ (integer * ndimen,doublereal * vecteu); + + /****************** pow__di ******************/ + %feature("compactdefaultargs") pow__di; + %feature("autodoc", ":param x: + :type x: doublereal * + :param n: + :type n: integer * + :rtype: doublereal") pow__di; + static doublereal pow__di (doublereal * x,integer * n); + }; @@ -1716,51 +1876,71 @@ class AdvApp2Var_MathBase { __repr__ = _dumps_object } }; + +/*************************** +* class AdvApp2Var_Network * +***************************/ %nodefaultctor AdvApp2Var_Network; class AdvApp2Var_Network { public: + /****************** AdvApp2Var_Network ******************/ %feature("compactdefaultargs") AdvApp2Var_Network; - %feature("autodoc", " :rtype: None -") AdvApp2Var_Network; + %feature("autodoc", ":rtype: None") AdvApp2Var_Network; AdvApp2Var_Network (); + + /****************** AdvApp2Var_Network ******************/ %feature("compactdefaultargs") AdvApp2Var_Network; - %feature("autodoc", " :param Net: + %feature("autodoc", ":param Net: :type Net: AdvApp2Var_SequenceOfPatch & :param TheU: :type TheU: TColStd_SequenceOfReal & :param TheV: :type TheV: TColStd_SequenceOfReal & - :rtype: None -") AdvApp2Var_Network; + :rtype: None") AdvApp2Var_Network; AdvApp2Var_Network (const AdvApp2Var_SequenceOfPatch & Net,const TColStd_SequenceOfReal & TheU,const TColStd_SequenceOfReal & TheV); - %feature("compactdefaultargs") FirstNotApprox; - %feature("autodoc", " * search the Index of the first Patch not approximated, if all Patches are approximated Standard_False is returned - :param Index: - :type Index: int & - :rtype: bool -") FirstNotApprox; - Standard_Boolean FirstNotApprox (Standard_Integer &OutValue); + /****************** ChangePatch ******************/ %feature("compactdefaultargs") ChangePatch; - %feature("autodoc", " :param Index: + %feature("autodoc", ":param Index: :type Index: int - :rtype: AdvApp2Var_Patch -") ChangePatch; + :rtype: AdvApp2Var_Patch") ChangePatch; AdvApp2Var_Patch & ChangePatch (const Standard_Integer Index); - %feature("compactdefaultargs") UpdateInU; - %feature("autodoc", " :param CuttingValue: - :type CuttingValue: float - :rtype: None -") UpdateInU; - void UpdateInU (const Standard_Real CuttingValue); - %feature("compactdefaultargs") UpdateInV; - %feature("autodoc", " :param CuttingValue: - :type CuttingValue: float - :rtype: None -") UpdateInV; - void UpdateInV (const Standard_Real CuttingValue); + + /****************** FirstNotApprox ******************/ + %feature("compactdefaultargs") FirstNotApprox; + %feature("autodoc", "* search the Index of the first Patch not approximated, if all Patches are approximated Standard_False is returned + :param Index: + :type Index: int & + :rtype: bool") FirstNotApprox; + Standard_Boolean FirstNotApprox (Standard_Integer &OutValue); + + /****************** NbPatch ******************/ + %feature("compactdefaultargs") NbPatch; + %feature("autodoc", ":rtype: int") NbPatch; + Standard_Integer NbPatch (); + + /****************** NbPatchInU ******************/ + %feature("compactdefaultargs") NbPatchInU; + %feature("autodoc", ":rtype: int") NbPatchInU; + Standard_Integer NbPatchInU (); + + /****************** NbPatchInV ******************/ + %feature("compactdefaultargs") NbPatchInV; + %feature("autodoc", ":rtype: int") NbPatchInV; + Standard_Integer NbPatchInV (); + + /****************** Patch ******************/ + %feature("compactdefaultargs") Patch; + %feature("autodoc", ":param UIndex: + :type UIndex: int + :param VIndex: + :type VIndex: int + :rtype: AdvApp2Var_Patch") Patch; + const AdvApp2Var_Patch & Patch (const Standard_Integer UIndex,const Standard_Integer VIndex); + + /****************** SameDegree ******************/ %feature("compactdefaultargs") SameDegree; - %feature("autodoc", " :param iu: + %feature("autodoc", ":param iu: :type iu: int :param iv: :type iv: int @@ -1768,41 +1948,37 @@ class AdvApp2Var_Network { :type ncfu: int & :param ncfv: :type ncfv: int & - :rtype: None -") SameDegree; + :rtype: None") SameDegree; void SameDegree (const Standard_Integer iu,const Standard_Integer iv,Standard_Integer &OutValue,Standard_Integer &OutValue); - %feature("compactdefaultargs") NbPatch; - %feature("autodoc", " :rtype: int -") NbPatch; - Standard_Integer NbPatch (); - %feature("compactdefaultargs") NbPatchInU; - %feature("autodoc", " :rtype: int -") NbPatchInU; - Standard_Integer NbPatchInU (); - %feature("compactdefaultargs") NbPatchInV; - %feature("autodoc", " :rtype: int -") NbPatchInV; - Standard_Integer NbPatchInV (); + + /****************** UParameter ******************/ %feature("compactdefaultargs") UParameter; - %feature("autodoc", " :param Index: + %feature("autodoc", ":param Index: :type Index: int - :rtype: float -") UParameter; + :rtype: float") UParameter; Standard_Real UParameter (const Standard_Integer Index); + + /****************** UpdateInU ******************/ + %feature("compactdefaultargs") UpdateInU; + %feature("autodoc", ":param CuttingValue: + :type CuttingValue: float + :rtype: None") UpdateInU; + void UpdateInU (const Standard_Real CuttingValue); + + /****************** UpdateInV ******************/ + %feature("compactdefaultargs") UpdateInV; + %feature("autodoc", ":param CuttingValue: + :type CuttingValue: float + :rtype: None") UpdateInV; + void UpdateInV (const Standard_Real CuttingValue); + + /****************** VParameter ******************/ %feature("compactdefaultargs") VParameter; - %feature("autodoc", " :param Index: + %feature("autodoc", ":param Index: :type Index: int - :rtype: float -") VParameter; + :rtype: float") VParameter; Standard_Real VParameter (const Standard_Integer Index); - %feature("compactdefaultargs") Patch; - %feature("autodoc", " :param UIndex: - :type UIndex: int - :param VIndex: - :type VIndex: int - :rtype: AdvApp2Var_Patch -") Patch; - const AdvApp2Var_Patch & Patch (const Standard_Integer UIndex,const Standard_Integer VIndex); + }; @@ -1811,87 +1987,102 @@ class AdvApp2Var_Network { __repr__ = _dumps_object } }; + +/************************ +* class AdvApp2Var_Node * +************************/ %nodefaultctor AdvApp2Var_Node; class AdvApp2Var_Node { public: + /****************** AdvApp2Var_Node ******************/ %feature("compactdefaultargs") AdvApp2Var_Node; - %feature("autodoc", " :rtype: None -") AdvApp2Var_Node; + %feature("autodoc", ":rtype: None") AdvApp2Var_Node; AdvApp2Var_Node (); + + /****************** AdvApp2Var_Node ******************/ %feature("compactdefaultargs") AdvApp2Var_Node; - %feature("autodoc", " :param iu: + %feature("autodoc", ":param iu: :type iu: int :param iv: :type iv: int - :rtype: None -") AdvApp2Var_Node; + :rtype: None") AdvApp2Var_Node; AdvApp2Var_Node (const Standard_Integer iu,const Standard_Integer iv); + + /****************** AdvApp2Var_Node ******************/ %feature("compactdefaultargs") AdvApp2Var_Node; - %feature("autodoc", " :param UV: + %feature("autodoc", ":param UV: :type UV: gp_XY :param iu: :type iu: int :param iv: :type iv: int - :rtype: None -") AdvApp2Var_Node; + :rtype: None") AdvApp2Var_Node; AdvApp2Var_Node (const gp_XY & UV,const Standard_Integer iu,const Standard_Integer iv); + + /****************** Coord ******************/ %feature("compactdefaultargs") Coord; - %feature("autodoc", " :rtype: gp_XY -") Coord; + %feature("autodoc", ":rtype: gp_XY") Coord; gp_XY Coord (); - %feature("compactdefaultargs") SetCoord; - %feature("autodoc", " :param x1: - :type x1: float - :param x2: - :type x2: float - :rtype: None -") SetCoord; - void SetCoord (const Standard_Real x1,const Standard_Real x2); - %feature("compactdefaultargs") UOrder; - %feature("autodoc", " :rtype: int -") UOrder; - Standard_Integer UOrder (); - %feature("compactdefaultargs") VOrder; - %feature("autodoc", " :rtype: int -") VOrder; - Standard_Integer VOrder (); - %feature("compactdefaultargs") SetPoint; - %feature("autodoc", " :param iu: + + /****************** Error ******************/ + %feature("compactdefaultargs") Error; + %feature("autodoc", ":param iu: :type iu: int :param iv: :type iv: int - :param Cte: - :type Cte: gp_Pnt - :rtype: None -") SetPoint; - void SetPoint (const Standard_Integer iu,const Standard_Integer iv,const gp_Pnt & Cte); + :rtype: float") Error; + Standard_Real Error (const Standard_Integer iu,const Standard_Integer iv); + + /****************** Point ******************/ %feature("compactdefaultargs") Point; - %feature("autodoc", " :param iu: + %feature("autodoc", ":param iu: :type iu: int :param iv: :type iv: int - :rtype: gp_Pnt -") Point; + :rtype: gp_Pnt") Point; gp_Pnt Point (const Standard_Integer iu,const Standard_Integer iv); + + /****************** SetCoord ******************/ + %feature("compactdefaultargs") SetCoord; + %feature("autodoc", ":param x1: + :type x1: float + :param x2: + :type x2: float + :rtype: None") SetCoord; + void SetCoord (const Standard_Real x1,const Standard_Real x2); + + /****************** SetError ******************/ %feature("compactdefaultargs") SetError; - %feature("autodoc", " :param iu: + %feature("autodoc", ":param iu: :type iu: int :param iv: :type iv: int :param error: :type error: float - :rtype: None -") SetError; + :rtype: None") SetError; void SetError (const Standard_Integer iu,const Standard_Integer iv,const Standard_Real error); - %feature("compactdefaultargs") Error; - %feature("autodoc", " :param iu: + + /****************** SetPoint ******************/ + %feature("compactdefaultargs") SetPoint; + %feature("autodoc", ":param iu: :type iu: int :param iv: :type iv: int - :rtype: float -") Error; - Standard_Real Error (const Standard_Integer iu,const Standard_Integer iv); + :param Cte: + :type Cte: gp_Pnt + :rtype: None") SetPoint; + void SetPoint (const Standard_Integer iu,const Standard_Integer iv,const gp_Pnt & Cte); + + /****************** UOrder ******************/ + %feature("compactdefaultargs") UOrder; + %feature("autodoc", ":rtype: int") UOrder; + Standard_Integer UOrder (); + + /****************** VOrder ******************/ + %feature("compactdefaultargs") VOrder; + %feature("autodoc", ":rtype: int") VOrder; + Standard_Integer VOrder (); + }; @@ -1900,15 +2091,37 @@ class AdvApp2Var_Node { __repr__ = _dumps_object } }; + +/************************* +* class AdvApp2Var_Patch * +*************************/ %nodefaultctor AdvApp2Var_Patch; class AdvApp2Var_Patch { public: + /****************** AddConstraints ******************/ + %feature("compactdefaultargs") AddConstraints; + %feature("autodoc", ":param Conditions: + :type Conditions: AdvApp2Var_Context & + :param Constraints: + :type Constraints: AdvApp2Var_Framework & + :rtype: None") AddConstraints; + void AddConstraints (const AdvApp2Var_Context & Conditions,const AdvApp2Var_Framework & Constraints); + + /****************** AddErrors ******************/ + %feature("compactdefaultargs") AddErrors; + %feature("autodoc", ":param Constraints: + :type Constraints: AdvApp2Var_Framework & + :rtype: None") AddErrors; + void AddErrors (const AdvApp2Var_Framework & Constraints); + + /****************** AdvApp2Var_Patch ******************/ %feature("compactdefaultargs") AdvApp2Var_Patch; - %feature("autodoc", " :rtype: None -") AdvApp2Var_Patch; + %feature("autodoc", ":rtype: None") AdvApp2Var_Patch; AdvApp2Var_Patch (); + + /****************** AdvApp2Var_Patch ******************/ %feature("compactdefaultargs") AdvApp2Var_Patch; - %feature("autodoc", " :param U0: + %feature("autodoc", ":param U0: :type U0: float :param U1: :type U1: float @@ -1920,57 +2133,17 @@ class AdvApp2Var_Patch { :type iu: int :param iv: :type iv: int - :rtype: None -") AdvApp2Var_Patch; + :rtype: None") AdvApp2Var_Patch; AdvApp2Var_Patch (const Standard_Real U0,const Standard_Real U1,const Standard_Real V0,const Standard_Real V1,const Standard_Integer iu,const Standard_Integer iv); - %feature("compactdefaultargs") IsDiscretised; - %feature("autodoc", " :rtype: bool -") IsDiscretised; - Standard_Boolean IsDiscretised (); - %feature("compactdefaultargs") Discretise; - %feature("autodoc", " :param Conditions: - :type Conditions: AdvApp2Var_Context & - :param Constraints: - :type Constraints: AdvApp2Var_Framework & - :param func: - :type func: AdvApp2Var_EvaluatorFunc2Var & - :rtype: None -") Discretise; - void Discretise (const AdvApp2Var_Context & Conditions,const AdvApp2Var_Framework & Constraints,const AdvApp2Var_EvaluatorFunc2Var & func); - %feature("compactdefaultargs") IsApproximated; - %feature("autodoc", " :rtype: bool -") IsApproximated; - Standard_Boolean IsApproximated (); - %feature("compactdefaultargs") HasResult; - %feature("autodoc", " :rtype: bool -") HasResult; - Standard_Boolean HasResult (); - %feature("compactdefaultargs") MakeApprox; - %feature("autodoc", " :param Conditions: - :type Conditions: AdvApp2Var_Context & - :param Constraints: - :type Constraints: AdvApp2Var_Framework & - :param NumDec: - :type NumDec: int - :rtype: None -") MakeApprox; - void MakeApprox (const AdvApp2Var_Context & Conditions,const AdvApp2Var_Framework & Constraints,const Standard_Integer NumDec); - %feature("compactdefaultargs") AddConstraints; - %feature("autodoc", " :param Conditions: - :type Conditions: AdvApp2Var_Context & - :param Constraints: - :type Constraints: AdvApp2Var_Framework & - :rtype: None -") AddConstraints; - void AddConstraints (const AdvApp2Var_Context & Conditions,const AdvApp2Var_Framework & Constraints); - %feature("compactdefaultargs") AddErrors; - %feature("autodoc", " :param Constraints: - :type Constraints: AdvApp2Var_Framework & - :rtype: None -") AddErrors; - void AddErrors (const AdvApp2Var_Framework & Constraints); + + /****************** AverageErrors ******************/ + %feature("compactdefaultargs") AverageErrors; + %feature("autodoc", ":rtype: opencascade::handle") AverageErrors; + opencascade::handle AverageErrors (); + + /****************** ChangeDomain ******************/ %feature("compactdefaultargs") ChangeDomain; - %feature("autodoc", " :param a: + %feature("autodoc", ":param a: :type a: float :param b: :type b: float @@ -1978,866 +2151,204 @@ class AdvApp2Var_Patch { :type c: float :param d: :type d: float - :rtype: None -") ChangeDomain; + :rtype: None") ChangeDomain; void ChangeDomain (const Standard_Real a,const Standard_Real b,const Standard_Real c,const Standard_Real d); - %feature("compactdefaultargs") ResetApprox; - %feature("autodoc", " :rtype: None -") ResetApprox; - void ResetApprox (); - %feature("compactdefaultargs") OverwriteApprox; - %feature("autodoc", " :rtype: None -") OverwriteApprox; - void OverwriteApprox (); - %feature("compactdefaultargs") U0; - %feature("autodoc", " :rtype: float -") U0; - Standard_Real U0 (); - %feature("compactdefaultargs") U1; - %feature("autodoc", " :rtype: float -") U1; - Standard_Real U1 (); - %feature("compactdefaultargs") V0; - %feature("autodoc", " :rtype: float -") V0; - Standard_Real V0 (); - %feature("compactdefaultargs") V1; - %feature("autodoc", " :rtype: float -") V1; - Standard_Real V1 (); - %feature("compactdefaultargs") UOrder; - %feature("autodoc", " :rtype: int -") UOrder; - Standard_Integer UOrder (); - %feature("compactdefaultargs") VOrder; - %feature("autodoc", " :rtype: int -") VOrder; - Standard_Integer VOrder (); + + /****************** ChangeNbCoeff ******************/ + %feature("compactdefaultargs") ChangeNbCoeff; + %feature("autodoc", ":param NbCoeffU: + :type NbCoeffU: int + :param NbCoeffV: + :type NbCoeffV: int + :rtype: None") ChangeNbCoeff; + void ChangeNbCoeff (const Standard_Integer NbCoeffU,const Standard_Integer NbCoeffV); + + /****************** Coefficients ******************/ + %feature("compactdefaultargs") Coefficients; + %feature("autodoc", ":param SSPIndex: + :type SSPIndex: int + :param Conditions: + :type Conditions: AdvApp2Var_Context & + :rtype: opencascade::handle") Coefficients; + opencascade::handle Coefficients (const Standard_Integer SSPIndex,const AdvApp2Var_Context & Conditions); + + /****************** CritValue ******************/ + %feature("compactdefaultargs") CritValue; + %feature("autodoc", ":rtype: float") CritValue; + Standard_Real CritValue (); + + /****************** CutSense ******************/ %feature("compactdefaultargs") CutSense; - %feature("autodoc", " :rtype: int -") CutSense; + %feature("autodoc", ":rtype: int") CutSense; Standard_Integer CutSense (); + + /****************** CutSense ******************/ %feature("compactdefaultargs") CutSense; - %feature("autodoc", " :param Crit: + %feature("autodoc", ":param Crit: :type Crit: AdvApp2Var_Criterion & :param NumDec: :type NumDec: int - :rtype: int -") CutSense; - Standard_Integer CutSense (const AdvApp2Var_Criterion & Crit,const Standard_Integer NumDec); + :rtype: int") CutSense; + Standard_Integer CutSense (const AdvApp2Var_Criterion & Crit,const Standard_Integer NumDec); + + /****************** Discretise ******************/ + %feature("compactdefaultargs") Discretise; + %feature("autodoc", ":param Conditions: + :type Conditions: AdvApp2Var_Context & + :param Constraints: + :type Constraints: AdvApp2Var_Framework & + :param func: + :type func: AdvApp2Var_EvaluatorFunc2Var & + :rtype: None") Discretise; + void Discretise (const AdvApp2Var_Context & Conditions,const AdvApp2Var_Framework & Constraints,const AdvApp2Var_EvaluatorFunc2Var & func); + + /****************** HasResult ******************/ + %feature("compactdefaultargs") HasResult; + %feature("autodoc", ":rtype: bool") HasResult; + Standard_Boolean HasResult (); + + /****************** IsApproximated ******************/ + %feature("compactdefaultargs") IsApproximated; + %feature("autodoc", ":rtype: bool") IsApproximated; + Standard_Boolean IsApproximated (); + + /****************** IsDiscretised ******************/ + %feature("compactdefaultargs") IsDiscretised; + %feature("autodoc", ":rtype: bool") IsDiscretised; + Standard_Boolean IsDiscretised (); + + /****************** IsoErrors ******************/ + %feature("compactdefaultargs") IsoErrors; + %feature("autodoc", ":rtype: opencascade::handle") IsoErrors; + opencascade::handle IsoErrors (); + + /****************** MakeApprox ******************/ + %feature("compactdefaultargs") MakeApprox; + %feature("autodoc", ":param Conditions: + :type Conditions: AdvApp2Var_Context & + :param Constraints: + :type Constraints: AdvApp2Var_Framework & + :param NumDec: + :type NumDec: int + :rtype: None") MakeApprox; + void MakeApprox (const AdvApp2Var_Context & Conditions,const AdvApp2Var_Framework & Constraints,const Standard_Integer NumDec); + + /****************** MaxErrors ******************/ + %feature("compactdefaultargs") MaxErrors; + %feature("autodoc", ":rtype: opencascade::handle") MaxErrors; + opencascade::handle MaxErrors (); + + /****************** NbCoeffInU ******************/ %feature("compactdefaultargs") NbCoeffInU; - %feature("autodoc", " :rtype: int -") NbCoeffInU; + %feature("autodoc", ":rtype: int") NbCoeffInU; Standard_Integer NbCoeffInU (); + + /****************** NbCoeffInV ******************/ %feature("compactdefaultargs") NbCoeffInV; - %feature("autodoc", " :rtype: int -") NbCoeffInV; + %feature("autodoc", ":rtype: int") NbCoeffInV; Standard_Integer NbCoeffInV (); - %feature("compactdefaultargs") ChangeNbCoeff; - %feature("autodoc", " :param NbCoeffU: - :type NbCoeffU: int - :param NbCoeffV: - :type NbCoeffV: int - :rtype: None -") ChangeNbCoeff; - void ChangeNbCoeff (const Standard_Integer NbCoeffU,const Standard_Integer NbCoeffV); + + /****************** OverwriteApprox ******************/ + %feature("compactdefaultargs") OverwriteApprox; + %feature("autodoc", ":rtype: None") OverwriteApprox; + void OverwriteApprox (); + + /****************** Poles ******************/ %feature("compactdefaultargs") Poles; - %feature("autodoc", " :param SSPIndex: - :type SSPIndex: int - :param Conditions: - :type Conditions: AdvApp2Var_Context & - :rtype: Handle_TColgp_HArray2OfPnt -") Poles; - Handle_TColgp_HArray2OfPnt Poles (const Standard_Integer SSPIndex,const AdvApp2Var_Context & Conditions); - %feature("compactdefaultargs") Coefficients; - %feature("autodoc", " :param SSPIndex: + %feature("autodoc", ":param SSPIndex: :type SSPIndex: int :param Conditions: :type Conditions: AdvApp2Var_Context & - :rtype: Handle_TColStd_HArray1OfReal -") Coefficients; - Handle_TColStd_HArray1OfReal Coefficients (const Standard_Integer SSPIndex,const AdvApp2Var_Context & Conditions); - %feature("compactdefaultargs") MaxErrors; - %feature("autodoc", " :rtype: Handle_TColStd_HArray1OfReal -") MaxErrors; - Handle_TColStd_HArray1OfReal MaxErrors (); - %feature("compactdefaultargs") AverageErrors; - %feature("autodoc", " :rtype: Handle_TColStd_HArray1OfReal -") AverageErrors; - Handle_TColStd_HArray1OfReal AverageErrors (); - %feature("compactdefaultargs") IsoErrors; - %feature("autodoc", " :rtype: Handle_TColStd_HArray2OfReal -") IsoErrors; - Handle_TColStd_HArray2OfReal IsoErrors (); - %feature("compactdefaultargs") CritValue; - %feature("autodoc", " :rtype: float -") CritValue; - Standard_Real CritValue (); + :rtype: opencascade::handle") Poles; + opencascade::handle Poles (const Standard_Integer SSPIndex,const AdvApp2Var_Context & Conditions); + + /****************** ResetApprox ******************/ + %feature("compactdefaultargs") ResetApprox; + %feature("autodoc", ":rtype: None") ResetApprox; + void ResetApprox (); + + /****************** SetCritValue ******************/ %feature("compactdefaultargs") SetCritValue; - %feature("autodoc", " :param dist: + %feature("autodoc", ":param dist: :type dist: float - :rtype: None -") SetCritValue; + :rtype: None") SetCritValue; void SetCritValue (const Standard_Real dist); -}; - - -%extend AdvApp2Var_Patch { - %pythoncode { - __repr__ = _dumps_object - } -}; -%nodefaultctor AdvApp2Var_SequenceNodeOfSequenceOfNode; -class AdvApp2Var_SequenceNodeOfSequenceOfNode : public TCollection_SeqNode { - public: - %feature("compactdefaultargs") AdvApp2Var_SequenceNodeOfSequenceOfNode; - %feature("autodoc", " :param I: - :type I: AdvApp2Var_Node & - :param n: - :type n: TCollection_SeqNodePtr & - :param p: - :type p: TCollection_SeqNodePtr & - :rtype: None -") AdvApp2Var_SequenceNodeOfSequenceOfNode; - AdvApp2Var_SequenceNodeOfSequenceOfNode (const AdvApp2Var_Node & I,const TCollection_SeqNodePtr & n,const TCollection_SeqNodePtr & p); - %feature("compactdefaultargs") Value; - %feature("autodoc", " :rtype: AdvApp2Var_Node -") Value; - AdvApp2Var_Node & Value (); -}; - - -%make_alias(AdvApp2Var_SequenceNodeOfSequenceOfNode) - -%extend AdvApp2Var_SequenceNodeOfSequenceOfNode { - %pythoncode { - __repr__ = _dumps_object - } -}; -%nodefaultctor AdvApp2Var_SequenceNodeOfSequenceOfPatch; -class AdvApp2Var_SequenceNodeOfSequenceOfPatch : public TCollection_SeqNode { - public: - %feature("compactdefaultargs") AdvApp2Var_SequenceNodeOfSequenceOfPatch; - %feature("autodoc", " :param I: - :type I: AdvApp2Var_Patch & - :param n: - :type n: TCollection_SeqNodePtr & - :param p: - :type p: TCollection_SeqNodePtr & - :rtype: None -") AdvApp2Var_SequenceNodeOfSequenceOfPatch; - AdvApp2Var_SequenceNodeOfSequenceOfPatch (const AdvApp2Var_Patch & I,const TCollection_SeqNodePtr & n,const TCollection_SeqNodePtr & p); - %feature("compactdefaultargs") Value; - %feature("autodoc", " :rtype: AdvApp2Var_Patch -") Value; - AdvApp2Var_Patch & Value (); -}; - - -%make_alias(AdvApp2Var_SequenceNodeOfSequenceOfPatch) - -%extend AdvApp2Var_SequenceNodeOfSequenceOfPatch { - %pythoncode { - __repr__ = _dumps_object - } -}; -%nodefaultctor AdvApp2Var_SequenceNodeOfSequenceOfStrip; -class AdvApp2Var_SequenceNodeOfSequenceOfStrip : public TCollection_SeqNode { - public: - %feature("compactdefaultargs") AdvApp2Var_SequenceNodeOfSequenceOfStrip; - %feature("autodoc", " :param I: - :type I: AdvApp2Var_Strip & - :param n: - :type n: TCollection_SeqNodePtr & - :param p: - :type p: TCollection_SeqNodePtr & - :rtype: None -") AdvApp2Var_SequenceNodeOfSequenceOfStrip; - AdvApp2Var_SequenceNodeOfSequenceOfStrip (const AdvApp2Var_Strip & I,const TCollection_SeqNodePtr & n,const TCollection_SeqNodePtr & p); - %feature("compactdefaultargs") Value; - %feature("autodoc", " :rtype: AdvApp2Var_Strip -") Value; - AdvApp2Var_Strip & Value (); -}; - - -%make_alias(AdvApp2Var_SequenceNodeOfSequenceOfStrip) - -%extend AdvApp2Var_SequenceNodeOfSequenceOfStrip { - %pythoncode { - __repr__ = _dumps_object - } -}; -%nodefaultctor AdvApp2Var_SequenceNodeOfStrip; -class AdvApp2Var_SequenceNodeOfStrip : public TCollection_SeqNode { - public: - %feature("compactdefaultargs") AdvApp2Var_SequenceNodeOfStrip; - %feature("autodoc", " :param I: - :type I: AdvApp2Var_Iso & - :param n: - :type n: TCollection_SeqNodePtr & - :param p: - :type p: TCollection_SeqNodePtr & - :rtype: None -") AdvApp2Var_SequenceNodeOfStrip; - AdvApp2Var_SequenceNodeOfStrip (const AdvApp2Var_Iso & I,const TCollection_SeqNodePtr & n,const TCollection_SeqNodePtr & p); - %feature("compactdefaultargs") Value; - %feature("autodoc", " :rtype: AdvApp2Var_Iso -") Value; - AdvApp2Var_Iso & Value (); -}; + /****************** U0 ******************/ + %feature("compactdefaultargs") U0; + %feature("autodoc", ":rtype: float") U0; + Standard_Real U0 (); -%make_alias(AdvApp2Var_SequenceNodeOfStrip) + /****************** U1 ******************/ + %feature("compactdefaultargs") U1; + %feature("autodoc", ":rtype: float") U1; + Standard_Real U1 (); -%extend AdvApp2Var_SequenceNodeOfStrip { - %pythoncode { - __repr__ = _dumps_object - } -}; -%nodefaultctor AdvApp2Var_SequenceOfNode; -class AdvApp2Var_SequenceOfNode : public TCollection_BaseSequence { - public: - %feature("compactdefaultargs") AdvApp2Var_SequenceOfNode; - %feature("autodoc", " :rtype: None -") AdvApp2Var_SequenceOfNode; - AdvApp2Var_SequenceOfNode (); - %feature("compactdefaultargs") AdvApp2Var_SequenceOfNode; - %feature("autodoc", " :param Other: - :type Other: AdvApp2Var_SequenceOfNode & - :rtype: None -") AdvApp2Var_SequenceOfNode; - AdvApp2Var_SequenceOfNode (const AdvApp2Var_SequenceOfNode & Other); - %feature("compactdefaultargs") Clear; - %feature("autodoc", " :rtype: None -") Clear; - void Clear (); - %feature("compactdefaultargs") Assign; - %feature("autodoc", " :param Other: - :type Other: AdvApp2Var_SequenceOfNode & - :rtype: AdvApp2Var_SequenceOfNode -") Assign; - const AdvApp2Var_SequenceOfNode & Assign (const AdvApp2Var_SequenceOfNode & Other); - %feature("compactdefaultargs") operator =; - %feature("autodoc", " :param Other: - :type Other: AdvApp2Var_SequenceOfNode & - :rtype: AdvApp2Var_SequenceOfNode -") operator =; - const AdvApp2Var_SequenceOfNode & operator = (const AdvApp2Var_SequenceOfNode & Other); - %feature("compactdefaultargs") Append; - %feature("autodoc", " :param T: - :type T: AdvApp2Var_Node & - :rtype: None -") Append; - void Append (const AdvApp2Var_Node & T); - %feature("compactdefaultargs") Append; - %feature("autodoc", " :param S: - :type S: AdvApp2Var_SequenceOfNode & - :rtype: None -") Append; - void Append (AdvApp2Var_SequenceOfNode & S); - %feature("compactdefaultargs") Prepend; - %feature("autodoc", " :param T: - :type T: AdvApp2Var_Node & - :rtype: None -") Prepend; - void Prepend (const AdvApp2Var_Node & T); - %feature("compactdefaultargs") Prepend; - %feature("autodoc", " :param S: - :type S: AdvApp2Var_SequenceOfNode & - :rtype: None -") Prepend; - void Prepend (AdvApp2Var_SequenceOfNode & S); - %feature("compactdefaultargs") InsertBefore; - %feature("autodoc", " :param Index: - :type Index: int - :param T: - :type T: AdvApp2Var_Node & - :rtype: None -") InsertBefore; - void InsertBefore (const Standard_Integer Index,const AdvApp2Var_Node & T); - %feature("compactdefaultargs") InsertBefore; - %feature("autodoc", " :param Index: - :type Index: int - :param S: - :type S: AdvApp2Var_SequenceOfNode & - :rtype: None -") InsertBefore; - void InsertBefore (const Standard_Integer Index,AdvApp2Var_SequenceOfNode & S); - %feature("compactdefaultargs") InsertAfter; - %feature("autodoc", " :param Index: - :type Index: int - :param T: - :type T: AdvApp2Var_Node & - :rtype: None -") InsertAfter; - void InsertAfter (const Standard_Integer Index,const AdvApp2Var_Node & T); - %feature("compactdefaultargs") InsertAfter; - %feature("autodoc", " :param Index: - :type Index: int - :param S: - :type S: AdvApp2Var_SequenceOfNode & - :rtype: None -") InsertAfter; - void InsertAfter (const Standard_Integer Index,AdvApp2Var_SequenceOfNode & S); - %feature("compactdefaultargs") First; - %feature("autodoc", " :rtype: AdvApp2Var_Node -") First; - const AdvApp2Var_Node & First (); - %feature("compactdefaultargs") Last; - %feature("autodoc", " :rtype: AdvApp2Var_Node -") Last; - const AdvApp2Var_Node & Last (); - %feature("compactdefaultargs") Split; - %feature("autodoc", " :param Index: - :type Index: int - :param Sub: - :type Sub: AdvApp2Var_SequenceOfNode & - :rtype: None -") Split; - void Split (const Standard_Integer Index,AdvApp2Var_SequenceOfNode & Sub); - %feature("compactdefaultargs") Value; - %feature("autodoc", " :param Index: - :type Index: int - :rtype: AdvApp2Var_Node -") Value; - const AdvApp2Var_Node & Value (const Standard_Integer Index); - %feature("compactdefaultargs") SetValue; - %feature("autodoc", " :param Index: - :type Index: int - :param I: - :type I: AdvApp2Var_Node & - :rtype: None -") SetValue; - void SetValue (const Standard_Integer Index,const AdvApp2Var_Node & I); - %feature("compactdefaultargs") ChangeValue; - %feature("autodoc", " :param Index: - :type Index: int - :rtype: AdvApp2Var_Node -") ChangeValue; - AdvApp2Var_Node & ChangeValue (const Standard_Integer Index); - %feature("compactdefaultargs") Remove; - %feature("autodoc", " :param Index: - :type Index: int - :rtype: None -") Remove; - void Remove (const Standard_Integer Index); - %feature("compactdefaultargs") Remove; - %feature("autodoc", " :param FromIndex: - :type FromIndex: int - :param ToIndex: - :type ToIndex: int - :rtype: None -") Remove; - void Remove (const Standard_Integer FromIndex,const Standard_Integer ToIndex); -}; + /****************** UOrder ******************/ + %feature("compactdefaultargs") UOrder; + %feature("autodoc", ":rtype: int") UOrder; + Standard_Integer UOrder (); + /****************** V0 ******************/ + %feature("compactdefaultargs") V0; + %feature("autodoc", ":rtype: float") V0; + Standard_Real V0 (); -%extend AdvApp2Var_SequenceOfNode { - %pythoncode { - __repr__ = _dumps_object - } -}; -%nodefaultctor AdvApp2Var_SequenceOfPatch; -class AdvApp2Var_SequenceOfPatch : public TCollection_BaseSequence { - public: - %feature("compactdefaultargs") AdvApp2Var_SequenceOfPatch; - %feature("autodoc", " :rtype: None -") AdvApp2Var_SequenceOfPatch; - AdvApp2Var_SequenceOfPatch (); - %feature("compactdefaultargs") AdvApp2Var_SequenceOfPatch; - %feature("autodoc", " :param Other: - :type Other: AdvApp2Var_SequenceOfPatch & - :rtype: None -") AdvApp2Var_SequenceOfPatch; - AdvApp2Var_SequenceOfPatch (const AdvApp2Var_SequenceOfPatch & Other); - %feature("compactdefaultargs") Clear; - %feature("autodoc", " :rtype: None -") Clear; - void Clear (); - %feature("compactdefaultargs") Assign; - %feature("autodoc", " :param Other: - :type Other: AdvApp2Var_SequenceOfPatch & - :rtype: AdvApp2Var_SequenceOfPatch -") Assign; - const AdvApp2Var_SequenceOfPatch & Assign (const AdvApp2Var_SequenceOfPatch & Other); - %feature("compactdefaultargs") operator =; - %feature("autodoc", " :param Other: - :type Other: AdvApp2Var_SequenceOfPatch & - :rtype: AdvApp2Var_SequenceOfPatch -") operator =; - const AdvApp2Var_SequenceOfPatch & operator = (const AdvApp2Var_SequenceOfPatch & Other); - %feature("compactdefaultargs") Append; - %feature("autodoc", " :param T: - :type T: AdvApp2Var_Patch & - :rtype: None -") Append; - void Append (const AdvApp2Var_Patch & T); - %feature("compactdefaultargs") Append; - %feature("autodoc", " :param S: - :type S: AdvApp2Var_SequenceOfPatch & - :rtype: None -") Append; - void Append (AdvApp2Var_SequenceOfPatch & S); - %feature("compactdefaultargs") Prepend; - %feature("autodoc", " :param T: - :type T: AdvApp2Var_Patch & - :rtype: None -") Prepend; - void Prepend (const AdvApp2Var_Patch & T); - %feature("compactdefaultargs") Prepend; - %feature("autodoc", " :param S: - :type S: AdvApp2Var_SequenceOfPatch & - :rtype: None -") Prepend; - void Prepend (AdvApp2Var_SequenceOfPatch & S); - %feature("compactdefaultargs") InsertBefore; - %feature("autodoc", " :param Index: - :type Index: int - :param T: - :type T: AdvApp2Var_Patch & - :rtype: None -") InsertBefore; - void InsertBefore (const Standard_Integer Index,const AdvApp2Var_Patch & T); - %feature("compactdefaultargs") InsertBefore; - %feature("autodoc", " :param Index: - :type Index: int - :param S: - :type S: AdvApp2Var_SequenceOfPatch & - :rtype: None -") InsertBefore; - void InsertBefore (const Standard_Integer Index,AdvApp2Var_SequenceOfPatch & S); - %feature("compactdefaultargs") InsertAfter; - %feature("autodoc", " :param Index: - :type Index: int - :param T: - :type T: AdvApp2Var_Patch & - :rtype: None -") InsertAfter; - void InsertAfter (const Standard_Integer Index,const AdvApp2Var_Patch & T); - %feature("compactdefaultargs") InsertAfter; - %feature("autodoc", " :param Index: - :type Index: int - :param S: - :type S: AdvApp2Var_SequenceOfPatch & - :rtype: None -") InsertAfter; - void InsertAfter (const Standard_Integer Index,AdvApp2Var_SequenceOfPatch & S); - %feature("compactdefaultargs") First; - %feature("autodoc", " :rtype: AdvApp2Var_Patch -") First; - const AdvApp2Var_Patch & First (); - %feature("compactdefaultargs") Last; - %feature("autodoc", " :rtype: AdvApp2Var_Patch -") Last; - const AdvApp2Var_Patch & Last (); - %feature("compactdefaultargs") Split; - %feature("autodoc", " :param Index: - :type Index: int - :param Sub: - :type Sub: AdvApp2Var_SequenceOfPatch & - :rtype: None -") Split; - void Split (const Standard_Integer Index,AdvApp2Var_SequenceOfPatch & Sub); - %feature("compactdefaultargs") Value; - %feature("autodoc", " :param Index: - :type Index: int - :rtype: AdvApp2Var_Patch -") Value; - const AdvApp2Var_Patch & Value (const Standard_Integer Index); - %feature("compactdefaultargs") SetValue; - %feature("autodoc", " :param Index: - :type Index: int - :param I: - :type I: AdvApp2Var_Patch & - :rtype: None -") SetValue; - void SetValue (const Standard_Integer Index,const AdvApp2Var_Patch & I); - %feature("compactdefaultargs") ChangeValue; - %feature("autodoc", " :param Index: - :type Index: int - :rtype: AdvApp2Var_Patch -") ChangeValue; - AdvApp2Var_Patch & ChangeValue (const Standard_Integer Index); - %feature("compactdefaultargs") Remove; - %feature("autodoc", " :param Index: - :type Index: int - :rtype: None -") Remove; - void Remove (const Standard_Integer Index); - %feature("compactdefaultargs") Remove; - %feature("autodoc", " :param FromIndex: - :type FromIndex: int - :param ToIndex: - :type ToIndex: int - :rtype: None -") Remove; - void Remove (const Standard_Integer FromIndex,const Standard_Integer ToIndex); -}; + /****************** V1 ******************/ + %feature("compactdefaultargs") V1; + %feature("autodoc", ":rtype: float") V1; + Standard_Real V1 (); + /****************** VOrder ******************/ + %feature("compactdefaultargs") VOrder; + %feature("autodoc", ":rtype: int") VOrder; + Standard_Integer VOrder (); -%extend AdvApp2Var_SequenceOfPatch { - %pythoncode { - __repr__ = _dumps_object - } -}; -%nodefaultctor AdvApp2Var_SequenceOfStrip; -class AdvApp2Var_SequenceOfStrip : public TCollection_BaseSequence { - public: - %feature("compactdefaultargs") AdvApp2Var_SequenceOfStrip; - %feature("autodoc", " :rtype: None -") AdvApp2Var_SequenceOfStrip; - AdvApp2Var_SequenceOfStrip (); - %feature("compactdefaultargs") AdvApp2Var_SequenceOfStrip; - %feature("autodoc", " :param Other: - :type Other: AdvApp2Var_SequenceOfStrip & - :rtype: None -") AdvApp2Var_SequenceOfStrip; - AdvApp2Var_SequenceOfStrip (const AdvApp2Var_SequenceOfStrip & Other); - %feature("compactdefaultargs") Clear; - %feature("autodoc", " :rtype: None -") Clear; - void Clear (); - %feature("compactdefaultargs") Assign; - %feature("autodoc", " :param Other: - :type Other: AdvApp2Var_SequenceOfStrip & - :rtype: AdvApp2Var_SequenceOfStrip -") Assign; - const AdvApp2Var_SequenceOfStrip & Assign (const AdvApp2Var_SequenceOfStrip & Other); - %feature("compactdefaultargs") operator =; - %feature("autodoc", " :param Other: - :type Other: AdvApp2Var_SequenceOfStrip & - :rtype: AdvApp2Var_SequenceOfStrip -") operator =; - const AdvApp2Var_SequenceOfStrip & operator = (const AdvApp2Var_SequenceOfStrip & Other); - %feature("compactdefaultargs") Append; - %feature("autodoc", " :param T: - :type T: AdvApp2Var_Strip & - :rtype: None -") Append; - void Append (const AdvApp2Var_Strip & T); - %feature("compactdefaultargs") Append; - %feature("autodoc", " :param S: - :type S: AdvApp2Var_SequenceOfStrip & - :rtype: None -") Append; - void Append (AdvApp2Var_SequenceOfStrip & S); - %feature("compactdefaultargs") Prepend; - %feature("autodoc", " :param T: - :type T: AdvApp2Var_Strip & - :rtype: None -") Prepend; - void Prepend (const AdvApp2Var_Strip & T); - %feature("compactdefaultargs") Prepend; - %feature("autodoc", " :param S: - :type S: AdvApp2Var_SequenceOfStrip & - :rtype: None -") Prepend; - void Prepend (AdvApp2Var_SequenceOfStrip & S); - %feature("compactdefaultargs") InsertBefore; - %feature("autodoc", " :param Index: - :type Index: int - :param T: - :type T: AdvApp2Var_Strip & - :rtype: None -") InsertBefore; - void InsertBefore (const Standard_Integer Index,const AdvApp2Var_Strip & T); - %feature("compactdefaultargs") InsertBefore; - %feature("autodoc", " :param Index: - :type Index: int - :param S: - :type S: AdvApp2Var_SequenceOfStrip & - :rtype: None -") InsertBefore; - void InsertBefore (const Standard_Integer Index,AdvApp2Var_SequenceOfStrip & S); - %feature("compactdefaultargs") InsertAfter; - %feature("autodoc", " :param Index: - :type Index: int - :param T: - :type T: AdvApp2Var_Strip & - :rtype: None -") InsertAfter; - void InsertAfter (const Standard_Integer Index,const AdvApp2Var_Strip & T); - %feature("compactdefaultargs") InsertAfter; - %feature("autodoc", " :param Index: - :type Index: int - :param S: - :type S: AdvApp2Var_SequenceOfStrip & - :rtype: None -") InsertAfter; - void InsertAfter (const Standard_Integer Index,AdvApp2Var_SequenceOfStrip & S); - %feature("compactdefaultargs") First; - %feature("autodoc", " :rtype: AdvApp2Var_Strip -") First; - const AdvApp2Var_Strip & First (); - %feature("compactdefaultargs") Last; - %feature("autodoc", " :rtype: AdvApp2Var_Strip -") Last; - const AdvApp2Var_Strip & Last (); - %feature("compactdefaultargs") Split; - %feature("autodoc", " :param Index: - :type Index: int - :param Sub: - :type Sub: AdvApp2Var_SequenceOfStrip & - :rtype: None -") Split; - void Split (const Standard_Integer Index,AdvApp2Var_SequenceOfStrip & Sub); - %feature("compactdefaultargs") Value; - %feature("autodoc", " :param Index: - :type Index: int - :rtype: AdvApp2Var_Strip -") Value; - const AdvApp2Var_Strip & Value (const Standard_Integer Index); - %feature("compactdefaultargs") SetValue; - %feature("autodoc", " :param Index: - :type Index: int - :param I: - :type I: AdvApp2Var_Strip & - :rtype: None -") SetValue; - void SetValue (const Standard_Integer Index,const AdvApp2Var_Strip & I); - %feature("compactdefaultargs") ChangeValue; - %feature("autodoc", " :param Index: - :type Index: int - :rtype: AdvApp2Var_Strip -") ChangeValue; - AdvApp2Var_Strip & ChangeValue (const Standard_Integer Index); - %feature("compactdefaultargs") Remove; - %feature("autodoc", " :param Index: - :type Index: int - :rtype: None -") Remove; - void Remove (const Standard_Integer Index); - %feature("compactdefaultargs") Remove; - %feature("autodoc", " :param FromIndex: - :type FromIndex: int - :param ToIndex: - :type ToIndex: int - :rtype: None -") Remove; - void Remove (const Standard_Integer FromIndex,const Standard_Integer ToIndex); }; -%extend AdvApp2Var_SequenceOfStrip { +%extend AdvApp2Var_Patch { %pythoncode { __repr__ = _dumps_object } }; -%nodefaultctor AdvApp2Var_Strip; -class AdvApp2Var_Strip : public TCollection_BaseSequence { - public: - %feature("compactdefaultargs") AdvApp2Var_Strip; - %feature("autodoc", " :rtype: None -") AdvApp2Var_Strip; - AdvApp2Var_Strip (); - %feature("compactdefaultargs") AdvApp2Var_Strip; - %feature("autodoc", " :param Other: - :type Other: AdvApp2Var_Strip & - :rtype: None -") AdvApp2Var_Strip; - AdvApp2Var_Strip (const AdvApp2Var_Strip & Other); - %feature("compactdefaultargs") Clear; - %feature("autodoc", " :rtype: None -") Clear; - void Clear (); - %feature("compactdefaultargs") Assign; - %feature("autodoc", " :param Other: - :type Other: AdvApp2Var_Strip & - :rtype: AdvApp2Var_Strip -") Assign; - const AdvApp2Var_Strip & Assign (const AdvApp2Var_Strip & Other); - %feature("compactdefaultargs") operator =; - %feature("autodoc", " :param Other: - :type Other: AdvApp2Var_Strip & - :rtype: AdvApp2Var_Strip -") operator =; - const AdvApp2Var_Strip & operator = (const AdvApp2Var_Strip & Other); - %feature("compactdefaultargs") Append; - %feature("autodoc", " :param T: - :type T: AdvApp2Var_Iso & - :rtype: None -") Append; - void Append (const AdvApp2Var_Iso & T); - %feature("compactdefaultargs") Append; - %feature("autodoc", " :param S: - :type S: AdvApp2Var_Strip & - :rtype: None -") Append; - void Append (AdvApp2Var_Strip & S); - %feature("compactdefaultargs") Prepend; - %feature("autodoc", " :param T: - :type T: AdvApp2Var_Iso & - :rtype: None -") Prepend; - void Prepend (const AdvApp2Var_Iso & T); - %feature("compactdefaultargs") Prepend; - %feature("autodoc", " :param S: - :type S: AdvApp2Var_Strip & - :rtype: None -") Prepend; - void Prepend (AdvApp2Var_Strip & S); - %feature("compactdefaultargs") InsertBefore; - %feature("autodoc", " :param Index: - :type Index: int - :param T: - :type T: AdvApp2Var_Iso & - :rtype: None -") InsertBefore; - void InsertBefore (const Standard_Integer Index,const AdvApp2Var_Iso & T); - %feature("compactdefaultargs") InsertBefore; - %feature("autodoc", " :param Index: - :type Index: int - :param S: - :type S: AdvApp2Var_Strip & - :rtype: None -") InsertBefore; - void InsertBefore (const Standard_Integer Index,AdvApp2Var_Strip & S); - %feature("compactdefaultargs") InsertAfter; - %feature("autodoc", " :param Index: - :type Index: int - :param T: - :type T: AdvApp2Var_Iso & - :rtype: None -") InsertAfter; - void InsertAfter (const Standard_Integer Index,const AdvApp2Var_Iso & T); - %feature("compactdefaultargs") InsertAfter; - %feature("autodoc", " :param Index: - :type Index: int - :param S: - :type S: AdvApp2Var_Strip & - :rtype: None -") InsertAfter; - void InsertAfter (const Standard_Integer Index,AdvApp2Var_Strip & S); - %feature("compactdefaultargs") First; - %feature("autodoc", " :rtype: AdvApp2Var_Iso -") First; - const AdvApp2Var_Iso & First (); - %feature("compactdefaultargs") Last; - %feature("autodoc", " :rtype: AdvApp2Var_Iso -") Last; - const AdvApp2Var_Iso & Last (); - %feature("compactdefaultargs") Split; - %feature("autodoc", " :param Index: - :type Index: int - :param Sub: - :type Sub: AdvApp2Var_Strip & - :rtype: None -") Split; - void Split (const Standard_Integer Index,AdvApp2Var_Strip & Sub); - %feature("compactdefaultargs") Value; - %feature("autodoc", " :param Index: - :type Index: int - :rtype: AdvApp2Var_Iso -") Value; - const AdvApp2Var_Iso & Value (const Standard_Integer Index); - %feature("compactdefaultargs") SetValue; - %feature("autodoc", " :param Index: - :type Index: int - :param I: - :type I: AdvApp2Var_Iso & - :rtype: None -") SetValue; - void SetValue (const Standard_Integer Index,const AdvApp2Var_Iso & I); - %feature("compactdefaultargs") ChangeValue; - %feature("autodoc", " :param Index: - :type Index: int - :rtype: AdvApp2Var_Iso -") ChangeValue; - AdvApp2Var_Iso & ChangeValue (const Standard_Integer Index); - %feature("compactdefaultargs") Remove; - %feature("autodoc", " :param Index: - :type Index: int - :rtype: None -") Remove; - void Remove (const Standard_Integer Index); - %feature("compactdefaultargs") Remove; - %feature("autodoc", " :param FromIndex: - :type FromIndex: int - :param ToIndex: - :type ToIndex: int - :rtype: None -") Remove; - void Remove (const Standard_Integer FromIndex,const Standard_Integer ToIndex); -}; - -%extend AdvApp2Var_Strip { - %pythoncode { - __repr__ = _dumps_object - } -}; +/*************************** +* class AdvApp2Var_SysBase * +***************************/ %nodefaultctor AdvApp2Var_SysBase; class AdvApp2Var_SysBase { public: + class mitem {}; + class {}; + class {}; + /****************** AdvApp2Var_SysBase ******************/ %feature("compactdefaultargs") AdvApp2Var_SysBase; - %feature("autodoc", " :rtype: None -") AdvApp2Var_SysBase; + %feature("autodoc", ":rtype: None") AdvApp2Var_SysBase; AdvApp2Var_SysBase (); - %feature("compactdefaultargs") mainial_; - %feature("autodoc", " :rtype: int -") mainial_; - int mainial_ (); + + /****************** do__fio ******************/ + %feature("compactdefaultargs") do__fio; + %feature("autodoc", ":rtype: int") do__fio; + static int do__fio (); + + /****************** do__lio ******************/ + %feature("compactdefaultargs") do__lio; + %feature("autodoc", ":rtype: int") do__lio; + static int do__lio (); + + /****************** macinit_ ******************/ %feature("compactdefaultargs") macinit_; - %feature("autodoc", " :param : + %feature("autodoc", ":param : :type : int * :param : :type : int * - :rtype: int -") macinit_; + :rtype: int") macinit_; static int macinit_ (int * ,int * ); - %feature("compactdefaultargs") mcrdelt_; - %feature("autodoc", " :param iunit: - :type iunit: integer * - :param isize: - :type isize: integer * - :param t: - :type t: void * - :param iofset: - :type iofset: intptr_t * - :param iercod: - :type iercod: integer * - :rtype: int -") mcrdelt_; - int mcrdelt_ (integer * iunit,integer * isize,void * t,intptr_t * iofset,integer * iercod); - %feature("compactdefaultargs") mcrfill_; - %feature("autodoc", " :param size: - :type size: integer * - :param tin: - :type tin: void * - :param tout: - :type tout: void * - :rtype: int -") mcrfill_; - static int mcrfill_ (integer * size,void * tin,void * tout); - %feature("compactdefaultargs") mcrrqst_; - %feature("autodoc", " :param iunit: - :type iunit: integer * - :param isize: - :type isize: integer * - :param t: - :type t: void * - :param iofset: - :type iofset: intptr_t * - :param iercod: - :type iercod: integer * - :rtype: int -") mcrrqst_; - int mcrrqst_ (integer * iunit,integer * isize,void * t,intptr_t * iofset,integer * iercod); - %feature("compactdefaultargs") mnfndeb_; - %feature("autodoc", " :rtype: integer -") mnfndeb_; - static integer mnfndeb_ (); - %feature("compactdefaultargs") do__fio; - %feature("autodoc", " :rtype: int -") do__fio; - static int do__fio (); - %feature("compactdefaultargs") do__lio; - %feature("autodoc", " :rtype: int -") do__lio; - static int do__lio (); + + /****************** macrai4_ ******************/ %feature("compactdefaultargs") macrai4_; - %feature("autodoc", " :param nbelem: + %feature("autodoc", ":param nbelem: :type nbelem: integer * :param maxelm: :type maxelm: integer * @@ -2847,11 +2358,12 @@ class AdvApp2Var_SysBase { :type iofset: intptr_t * :param iercod: :type iercod: integer * - :rtype: int -") macrai4_; + :rtype: int") macrai4_; int macrai4_ (integer * nbelem,integer * maxelm,integer * itablo,intptr_t * iofset,integer * iercod); + + /****************** macrar8_ ******************/ %feature("compactdefaultargs") macrar8_; - %feature("autodoc", " :param nbelem: + %feature("autodoc", ":param nbelem: :type nbelem: integer * :param maxelm: :type maxelm: integer * @@ -2861,11 +2373,12 @@ class AdvApp2Var_SysBase { :type iofset: intptr_t * :param iercod: :type iercod: integer * - :rtype: int -") macrar8_; + :rtype: int") macrar8_; int macrar8_ (integer * nbelem,integer * maxelm,doublereal * xtablo,intptr_t * iofset,integer * iercod); + + /****************** macrdi4_ ******************/ %feature("compactdefaultargs") macrdi4_; - %feature("autodoc", " :param nbelem: + %feature("autodoc", ":param nbelem: :type nbelem: integer * :param maxelm: :type maxelm: integer * @@ -2875,11 +2388,12 @@ class AdvApp2Var_SysBase { :type iofset: intptr_t * :param iercod: :type iercod: integer * - :rtype: int -") macrdi4_; + :rtype: int") macrdi4_; int macrdi4_ (integer * nbelem,integer * maxelm,integer * itablo,intptr_t * iofset,integer * iercod); + + /****************** macrdr8_ ******************/ %feature("compactdefaultargs") macrdr8_; - %feature("autodoc", " :param nbelem: + %feature("autodoc", ":param nbelem: :type nbelem: integer * :param maxelm: :type maxelm: integer * @@ -2889,95 +2403,156 @@ class AdvApp2Var_SysBase { :type iofset: intptr_t * :param iercod: :type iercod: integer * - :rtype: int -") macrdr8_; + :rtype: int") macrdr8_; int macrdr8_ (integer * nbelem,integer * maxelm,doublereal * xtablo,intptr_t * iofset,integer * iercod); + + /****************** maermsg_ ******************/ %feature("compactdefaultargs") maermsg_; - %feature("autodoc", " :param cnompg: + %feature("autodoc", ":param cnompg: :type cnompg: char * :param icoder: :type icoder: integer * :param cnompg_len: :type cnompg_len: ftnlen - :rtype: int -") maermsg_; + :rtype: int") maermsg_; static int maermsg_ (const char * cnompg,integer * icoder,ftnlen cnompg_len); + + /****************** mainial_ ******************/ + %feature("compactdefaultargs") mainial_; + %feature("autodoc", ":rtype: int") mainial_; + int mainial_ (); + + /****************** maitbr8_ ******************/ %feature("compactdefaultargs") maitbr8_; - %feature("autodoc", " :param itaill: + %feature("autodoc", ":param itaill: :type itaill: integer * :param xtab: :type xtab: doublereal * :param xval: :type xval: doublereal * - :rtype: int -") maitbr8_; + :rtype: int") maitbr8_; static int maitbr8_ (integer * itaill,doublereal * xtab,doublereal * xval); + + /****************** maovsr8_ ******************/ %feature("compactdefaultargs") maovsr8_; - %feature("autodoc", " :param ivalcs: + %feature("autodoc", ":param ivalcs: :type ivalcs: integer * - :rtype: int -") maovsr8_; + :rtype: int") maovsr8_; static int maovsr8_ (integer * ivalcs); + + /****************** mcrdelt_ ******************/ + %feature("compactdefaultargs") mcrdelt_; + %feature("autodoc", ":param iunit: + :type iunit: integer * + :param isize: + :type isize: integer * + :param t: + :type t: void * + :param iofset: + :type iofset: intptr_t * + :param iercod: + :type iercod: integer * + :rtype: int") mcrdelt_; + int mcrdelt_ (integer * iunit,integer * isize,void * t,intptr_t * iofset,integer * iercod); + + /****************** mcrfill_ ******************/ + %feature("compactdefaultargs") mcrfill_; + %feature("autodoc", ":param size: + :type size: integer * + :param tin: + :type tin: void * + :param tout: + :type tout: void * + :rtype: int") mcrfill_; + static int mcrfill_ (integer * size,void * tin,void * tout); + + /****************** mcrrqst_ ******************/ + %feature("compactdefaultargs") mcrrqst_; + %feature("autodoc", ":param iunit: + :type iunit: integer * + :param isize: + :type isize: integer * + :param t: + :type t: void * + :param iofset: + :type iofset: intptr_t * + :param iercod: + :type iercod: integer * + :rtype: int") mcrrqst_; + int mcrrqst_ (integer * iunit,integer * isize,void * t,intptr_t * iofset,integer * iercod); + + /****************** mgenmsg_ ******************/ %feature("compactdefaultargs") mgenmsg_; - %feature("autodoc", " :param nomprg: + %feature("autodoc", ":param nomprg: :type nomprg: char * :param nomprg_len: :type nomprg_len: ftnlen - :rtype: int -") mgenmsg_; + :rtype: int") mgenmsg_; static int mgenmsg_ (const char * nomprg,ftnlen nomprg_len); + + /****************** mgsomsg_ ******************/ %feature("compactdefaultargs") mgsomsg_; - %feature("autodoc", " :param nomprg: + %feature("autodoc", ":param nomprg: :type nomprg: char * :param nomprg_len: :type nomprg_len: ftnlen - :rtype: int -") mgsomsg_; + :rtype: int") mgsomsg_; static int mgsomsg_ (const char * nomprg,ftnlen nomprg_len); + + /****************** miraz_ ******************/ %feature("compactdefaultargs") miraz_; - %feature("autodoc", " :param taille: + %feature("autodoc", ":param taille: :type taille: integer * :param adt: :type adt: void * - :rtype: void -") miraz_; + :rtype: void") miraz_; static void miraz_ (integer * taille,void * adt); + + /****************** mnfndeb_ ******************/ + %feature("compactdefaultargs") mnfndeb_; + %feature("autodoc", ":rtype: integer") mnfndeb_; + static integer mnfndeb_ (); + + /****************** msifill_ ******************/ %feature("compactdefaultargs") msifill_; - %feature("autodoc", " :param nbintg: + %feature("autodoc", ":param nbintg: :type nbintg: integer * :param ivecin: :type ivecin: integer * :param ivecou: :type ivecou: integer * - :rtype: int -") msifill_; + :rtype: int") msifill_; static int msifill_ (integer * nbintg,integer * ivecin,integer * ivecou); + + /****************** msrfill_ ******************/ %feature("compactdefaultargs") msrfill_; - %feature("autodoc", " :param nbreel: + %feature("autodoc", ":param nbreel: :type nbreel: integer * :param vecent: :type vecent: doublereal * :param vecsor: :type vecsor: doublereal * - :rtype: int -") msrfill_; + :rtype: int") msrfill_; static int msrfill_ (integer * nbreel,doublereal * vecent,doublereal * vecsor); + + /****************** mswrdbg_ ******************/ %feature("compactdefaultargs") mswrdbg_; - %feature("autodoc", " :param ctexte: + %feature("autodoc", ":param ctexte: :type ctexte: char * :param ctexte_len: :type ctexte_len: ftnlen - :rtype: int -") mswrdbg_; + :rtype: int") mswrdbg_; static int mswrdbg_ (const char * ctexte,ftnlen ctexte_len); + + /****************** mvriraz_ ******************/ %feature("compactdefaultargs") mvriraz_; - %feature("autodoc", " :param taille: + %feature("autodoc", ":param taille: :type taille: integer * :param adt: :type adt: void * - :rtype: void -") mvriraz_; + :rtype: void") mvriraz_; static void mvriraz_ (integer * taille,void * adt); + }; @@ -2986,3 +2561,73 @@ class AdvApp2Var_SysBase { __repr__ = _dumps_object } }; + +/***************** +* class Namelist * +*****************/ +/**************** +* class Vardesc * +****************/ +/************** +* class alist * +**************/ +/*************** +* class cilist * +***************/ +/*************** +* class cllist * +***************/ +/**************** +* class complex * +****************/ +/********************** +* class doublecomplex * +**********************/ +/**************** +* class icilist * +****************/ +/*************** +* class inlist * +***************/ +/******************* +* class maovpar_1_ * +*******************/ +/******************* +* class maovpch_1_ * +*******************/ +/******************* +* class mdnombr_1_ * +*******************/ +/******************* +* class minombr_1_ * +*******************/ +/******************* +* class mlgdrtl_1_ * +*******************/ +/******************* +* class mmapgs0_1_ * +*******************/ +/******************* +* class mmapgs1_1_ * +*******************/ +/******************* +* class mmapgs2_1_ * +*******************/ +/******************* +* class mmapgss_1_ * +*******************/ +/******************* +* class mmcmcnp_1_ * +*******************/ +/******************* +* class mmjcobi_1_ * +*******************/ +/************** +* class olist * +**************/ +/************************ +* class union Multitype * +************************/ +/* harray1 class */ +/* harray2 class */ +/* harray2 class */ diff --git a/src/SWIG_files/wrapper/AdvApp2Var_headers.i b/src/SWIG_files/wrapper/AdvApp2Var_headers.i deleted file mode 100644 index 4801a6276..000000000 --- a/src/SWIG_files/wrapper/AdvApp2Var_headers.i +++ /dev/null @@ -1,675 +0,0 @@ -/* -Copyright 2008-2017 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 . - -*/ -%{ -#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 -#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 -#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 -#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 -#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 -#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 -#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 -%}; -%import Standard.i -%import TColStd.i -%import GeomAbs.i -%import AdvApprox.i -%import Geom.i -%import gp.i -%import TColgp.i -%import TCollection.i diff --git a/src/SWIG_files/wrapper/AdvApprox.i b/src/SWIG_files/wrapper/AdvApprox.i index f43b3c8ca..29ae26ca0 100644 --- a/src/SWIG_files/wrapper/AdvApprox.i +++ b/src/SWIG_files/wrapper/AdvApprox.i @@ -1,6 +1,5 @@ /* -Copyright 2008-2017 Thomas Paviot (tpaviot@gmail.com) - +Copyright 2008-2019 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -15,18 +14,13 @@ 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 ADVAPPROXDOCSTRING -"This package provides algorithms approximating a function -that can be multidimensional creating in the end a -BSpline function with the required continuity - -" +"AdvApprox module, see official documentation at +https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_advapprox.html" %enddef %module (package="OCC.Core", docstring=ADVAPPROXDOCSTRING) AdvApprox -#pragma SWIG nowarn=504,325,503 %{ #ifdef WNT @@ -41,21 +35,48 @@ BSpline function with the required continuity %include ../common/OccHandle.i -%include AdvApprox_headers.i - -/* typedefs */ -/* end typedefs declaration */ - +%{ +#include + +//Dependencies +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +%}; +%import Standard.i +%import NCollection.i +%import TColStd.i +%import GeomAbs.i +%import TColgp.i +%import PLib.i /* public enums */ /* end public enums declaration */ +/* handles */ +/* end handles declaration */ + +/* templates */ +/* end templates declaration */ + +/* typedefs */ +/* end typedefs declaration */ +/********************************** +* class AdvApprox_ApproxAFunction * +**********************************/ %nodefaultctor AdvApprox_ApproxAFunction; class AdvApprox_ApproxAFunction { public: + /****************** AdvApprox_ApproxAFunction ******************/ %feature("compactdefaultargs") AdvApprox_ApproxAFunction; - %feature("autodoc", " * Constructs approximator tool. //! Warning: the Func should be valid reference to object of type inherited from class EvaluatorFunction from Approx with life time longer than that of the approximator tool; //! the result should be formatted in the following way : <--Num1DSS--> <--2 * Num2DSS--> <--3 * Num3DSS--> R[0] .... R[Num1DSS]..... R[Dimension-1] //! the order in which each Subspace appears should be consistent with the tolerances given in the create function and the results will be given in that order as well that is : Curve2d(n) will correspond to the nth entry described by Num2DSS, Curve(n) will correspond to the nth entry described by Num3DSS The same type of schema applies to the Poles1d, Poles2d and Poles. - + %feature("autodoc", "* Constructs approximator tool. //! Warning: the Func should be valid reference to object of type inherited from class EvaluatorFunction from Approx with life time longer than that of the approximator tool; //! the result should be formatted in the following way : <--Num1DSS--> <--2 * Num2DSS--> <--3 * Num3DSS--> R[0] .... R[Num1DSS]..... R[Dimension-1] //! the order in which each Subspace appears should be consistent with the tolerances given in the create function and the results will be given in that order as well that is : Curve2d(n) will correspond to the nth entry described by Num2DSS, Curve(n) will correspond to the nth entry described by Num3DSS The same type of schema applies to the Poles1d, Poles2d and Poles. :param Num1DSS: :type Num1DSS: int :param Num2DSS: @@ -63,11 +84,11 @@ class AdvApprox_ApproxAFunction { :param Num3DSS: :type Num3DSS: int :param OneDTol: - :type OneDTol: Handle_TColStd_HArray1OfReal & + :type OneDTol: opencascade::handle & :param TwoDTol: - :type TwoDTol: Handle_TColStd_HArray1OfReal & + :type TwoDTol: opencascade::handle & :param ThreeDTol: - :type ThreeDTol: Handle_TColStd_HArray1OfReal & + :type ThreeDTol: opencascade::handle & :param First: :type First: float :param Last: @@ -80,12 +101,12 @@ class AdvApprox_ApproxAFunction { :type MaxSeg: int :param Func: :type Func: AdvApprox_EvaluatorFunction & - :rtype: None -") AdvApprox_ApproxAFunction; - AdvApprox_ApproxAFunction (const Standard_Integer Num1DSS,const Standard_Integer Num2DSS,const Standard_Integer Num3DSS,const Handle_TColStd_HArray1OfReal & OneDTol,const Handle_TColStd_HArray1OfReal & TwoDTol,const Handle_TColStd_HArray1OfReal & ThreeDTol,const Standard_Real First,const Standard_Real Last,const GeomAbs_Shape Continuity,const Standard_Integer MaxDeg,const Standard_Integer MaxSeg,const AdvApprox_EvaluatorFunction & Func); - %feature("compactdefaultargs") AdvApprox_ApproxAFunction; - %feature("autodoc", " * Approximation with user methode of cutting + :rtype: None") AdvApprox_ApproxAFunction; + AdvApprox_ApproxAFunction (const Standard_Integer Num1DSS,const Standard_Integer Num2DSS,const Standard_Integer Num3DSS,const opencascade::handle & OneDTol,const opencascade::handle & TwoDTol,const opencascade::handle & ThreeDTol,const Standard_Real First,const Standard_Real Last,const GeomAbs_Shape Continuity,const Standard_Integer MaxDeg,const Standard_Integer MaxSeg,const AdvApprox_EvaluatorFunction & Func); + /****************** AdvApprox_ApproxAFunction ******************/ + %feature("compactdefaultargs") AdvApprox_ApproxAFunction; + %feature("autodoc", "* Approximation with user methode of cutting :param Num1DSS: :type Num1DSS: int :param Num2DSS: @@ -93,11 +114,11 @@ class AdvApprox_ApproxAFunction { :param Num3DSS: :type Num3DSS: int :param OneDTol: - :type OneDTol: Handle_TColStd_HArray1OfReal & + :type OneDTol: opencascade::handle & :param TwoDTol: - :type TwoDTol: Handle_TColStd_HArray1OfReal & + :type TwoDTol: opencascade::handle & :param ThreeDTol: - :type ThreeDTol: Handle_TColStd_HArray1OfReal & + :type ThreeDTol: opencascade::handle & :param First: :type First: float :param Last: @@ -112,11 +133,12 @@ class AdvApprox_ApproxAFunction { :type Func: AdvApprox_EvaluatorFunction & :param CutTool: :type CutTool: AdvApprox_Cutting & - :rtype: None -") AdvApprox_ApproxAFunction; - AdvApprox_ApproxAFunction (const Standard_Integer Num1DSS,const Standard_Integer Num2DSS,const Standard_Integer Num3DSS,const Handle_TColStd_HArray1OfReal & OneDTol,const Handle_TColStd_HArray1OfReal & TwoDTol,const Handle_TColStd_HArray1OfReal & ThreeDTol,const Standard_Real First,const Standard_Real Last,const GeomAbs_Shape Continuity,const Standard_Integer MaxDeg,const Standard_Integer MaxSeg,const AdvApprox_EvaluatorFunction & Func,const AdvApprox_Cutting & CutTool); + :rtype: None") AdvApprox_ApproxAFunction; + AdvApprox_ApproxAFunction (const Standard_Integer Num1DSS,const Standard_Integer Num2DSS,const Standard_Integer Num3DSS,const opencascade::handle & OneDTol,const opencascade::handle & TwoDTol,const opencascade::handle & ThreeDTol,const Standard_Real First,const Standard_Real Last,const GeomAbs_Shape Continuity,const Standard_Integer MaxDeg,const Standard_Integer MaxSeg,const AdvApprox_EvaluatorFunction & Func,const AdvApprox_Cutting & CutTool); + + /****************** Approximation ******************/ %feature("compactdefaultargs") Approximation; - %feature("autodoc", " :param TotalDimension: + %feature("autodoc", ":param TotalDimension: :type TotalDimension: int :param TotalNumSS: :type TotalNumSS: int @@ -154,134 +176,143 @@ class AdvApprox_ApproxAFunction { :type AverageErrorArray: TColStd_Array1OfReal & :param ErrorCode: :type ErrorCode: int & - :rtype: void -") Approximation; + :rtype: void") Approximation; static void Approximation (const Standard_Integer TotalDimension,const Standard_Integer TotalNumSS,const TColStd_Array1OfInteger & LocalDimension,const Standard_Real First,const Standard_Real Last,AdvApprox_EvaluatorFunction & Evaluator,const AdvApprox_Cutting & CutTool,const Standard_Integer ContinuityOrder,const Standard_Integer NumMaxCoeffs,const Standard_Integer MaxSegments,const TColStd_Array1OfReal & TolerancesArray,const Standard_Integer code_precis,Standard_Integer &OutValue,TColStd_Array1OfInteger & NumCoeffPerCurveArray,TColStd_Array1OfReal & LocalCoefficientArray,TColStd_Array1OfReal & IntervalsArray,TColStd_Array1OfReal & ErrorMaxArray,TColStd_Array1OfReal & AverageErrorArray,Standard_Integer &OutValue); - %feature("compactdefaultargs") IsDone; - %feature("autodoc", " :rtype: bool -") IsDone; - Standard_Boolean IsDone (); + + /****************** AverageError ******************/ + %feature("compactdefaultargs") AverageError; + %feature("autodoc", "* returns the error as is in the algorithms + :param Dimension: + :type Dimension: int + :rtype: opencascade::handle") AverageError; + opencascade::handle AverageError (const Standard_Integer Dimension); + + /****************** AverageError ******************/ + %feature("compactdefaultargs") AverageError; + %feature("autodoc", ":param Dimension: + :type Dimension: int + :param Index: + :type Index: int + :rtype: float") AverageError; + Standard_Real AverageError (const Standard_Integer Dimension,const Standard_Integer Index); + + /****************** Degree ******************/ + %feature("compactdefaultargs") Degree; + %feature("autodoc", ":rtype: int") Degree; + Standard_Integer Degree (); + + + %feature("autodoc", "1"); + %extend{ + std::string DumpToString() { + std::stringstream s; + self->Dump(s); + return s.str();} + }; + /****************** HasResult ******************/ %feature("compactdefaultargs") HasResult; - %feature("autodoc", " :rtype: bool -") HasResult; + %feature("autodoc", ":rtype: bool") HasResult; Standard_Boolean HasResult (); - %feature("compactdefaultargs") Poles1d; - %feature("autodoc", " * returns the poles from the algorithms as is - - :rtype: Handle_TColStd_HArray2OfReal -") Poles1d; - Handle_TColStd_HArray2OfReal Poles1d (); - %feature("compactdefaultargs") Poles2d; - %feature("autodoc", " * returns the poles from the algorithms as is - :rtype: Handle_TColgp_HArray2OfPnt2d -") Poles2d; - Handle_TColgp_HArray2OfPnt2d Poles2d (); - %feature("compactdefaultargs") Poles; - %feature("autodoc", " * -- returns the poles from the algorithms as is + /****************** IsDone ******************/ + %feature("compactdefaultargs") IsDone; + %feature("autodoc", ":rtype: bool") IsDone; + Standard_Boolean IsDone (); - :rtype: Handle_TColgp_HArray2OfPnt -") Poles; - Handle_TColgp_HArray2OfPnt Poles (); - %feature("compactdefaultargs") NbPoles; - %feature("autodoc", " * as the name says + /****************** Knots ******************/ + %feature("compactdefaultargs") Knots; + %feature("autodoc", ":rtype: opencascade::handle") Knots; + opencascade::handle Knots (); - :rtype: int -") NbPoles; - Standard_Integer NbPoles (); - %feature("compactdefaultargs") Poles1d; - %feature("autodoc", " * returns the poles at Index from the 1d subspace + /****************** MaxError ******************/ + %feature("compactdefaultargs") MaxError; + %feature("autodoc", "* returns the error as is in the algorithms + :param Dimension: + :type Dimension: int + :rtype: opencascade::handle") MaxError; + opencascade::handle MaxError (const Standard_Integer Dimension); + /****************** MaxError ******************/ + %feature("compactdefaultargs") MaxError; + %feature("autodoc", ":param Dimension: + :type Dimension: int :param Index: :type Index: int - :param P: - :type P: TColStd_Array1OfReal & - :rtype: None -") Poles1d; - void Poles1d (const Standard_Integer Index,TColStd_Array1OfReal & P); - %feature("compactdefaultargs") Poles2d; - %feature("autodoc", " * returns the poles at Index from the 2d subspace + :rtype: float") MaxError; + Standard_Real MaxError (const Standard_Integer Dimension,const Standard_Integer Index); - :param Index: - :type Index: int - :param P: - :type P: TColgp_Array1OfPnt2d - :rtype: None -") Poles2d; - void Poles2d (const Standard_Integer Index,TColgp_Array1OfPnt2d & P); + /****************** Multiplicities ******************/ + %feature("compactdefaultargs") Multiplicities; + %feature("autodoc", ":rtype: opencascade::handle") Multiplicities; + opencascade::handle Multiplicities (); + + /****************** NbKnots ******************/ + %feature("compactdefaultargs") NbKnots; + %feature("autodoc", ":rtype: int") NbKnots; + Standard_Integer NbKnots (); + + /****************** NbPoles ******************/ + %feature("compactdefaultargs") NbPoles; + %feature("autodoc", "* as the name says + :rtype: int") NbPoles; + Standard_Integer NbPoles (); + + /****************** NumSubSpaces ******************/ + %feature("compactdefaultargs") NumSubSpaces; + %feature("autodoc", ":param Dimension: + :type Dimension: int + :rtype: int") NumSubSpaces; + Standard_Integer NumSubSpaces (const Standard_Integer Dimension); + + /****************** Poles ******************/ %feature("compactdefaultargs") Poles; - %feature("autodoc", " * returns the poles at Index from the 3d subspace + %feature("autodoc", "* -- returns the poles from the algorithms as is + :rtype: opencascade::handle") Poles; + opencascade::handle Poles (); + /****************** Poles ******************/ + %feature("compactdefaultargs") Poles; + %feature("autodoc", "* returns the poles at Index from the 3d subspace :param Index: :type Index: int :param P: :type P: TColgp_Array1OfPnt - :rtype: None -") Poles; + :rtype: None") Poles; void Poles (const Standard_Integer Index,TColgp_Array1OfPnt & P); - %feature("compactdefaultargs") Degree; - %feature("autodoc", " :rtype: int -") Degree; - Standard_Integer Degree (); - %feature("compactdefaultargs") NbKnots; - %feature("autodoc", " :rtype: int -") NbKnots; - Standard_Integer NbKnots (); - %feature("compactdefaultargs") NumSubSpaces; - %feature("autodoc", " :param Dimension: - :type Dimension: int - :rtype: int -") NumSubSpaces; - Standard_Integer NumSubSpaces (const Standard_Integer Dimension); - %feature("compactdefaultargs") Knots; - %feature("autodoc", " :rtype: Handle_TColStd_HArray1OfReal -") Knots; - Handle_TColStd_HArray1OfReal Knots (); - %feature("compactdefaultargs") Multiplicities; - %feature("autodoc", " :rtype: Handle_TColStd_HArray1OfInteger -") Multiplicities; - Handle_TColStd_HArray1OfInteger Multiplicities (); - %feature("compactdefaultargs") MaxError; - %feature("autodoc", " * returns the error as is in the algorithms - :param Dimension: - :type Dimension: int - :rtype: Handle_TColStd_HArray1OfReal -") MaxError; - Handle_TColStd_HArray1OfReal MaxError (const Standard_Integer Dimension); - %feature("compactdefaultargs") AverageError; - %feature("autodoc", " * returns the error as is in the algorithms + /****************** Poles1d ******************/ + %feature("compactdefaultargs") Poles1d; + %feature("autodoc", "* returns the poles from the algorithms as is + :rtype: opencascade::handle") Poles1d; + opencascade::handle Poles1d (); - :param Dimension: - :type Dimension: int - :rtype: Handle_TColStd_HArray1OfReal -") AverageError; - Handle_TColStd_HArray1OfReal AverageError (const Standard_Integer Dimension); - %feature("compactdefaultargs") MaxError; - %feature("autodoc", " :param Dimension: - :type Dimension: int + /****************** Poles1d ******************/ + %feature("compactdefaultargs") Poles1d; + %feature("autodoc", "* returns the poles at Index from the 1d subspace :param Index: :type Index: int - :rtype: float -") MaxError; - Standard_Real MaxError (const Standard_Integer Dimension,const Standard_Integer Index); - %feature("compactdefaultargs") AverageError; - %feature("autodoc", " :param Dimension: - :type Dimension: int + :param P: + :type P: TColStd_Array1OfReal & + :rtype: None") Poles1d; + void Poles1d (const Standard_Integer Index,TColStd_Array1OfReal & P); + + /****************** Poles2d ******************/ + %feature("compactdefaultargs") Poles2d; + %feature("autodoc", "* returns the poles from the algorithms as is + :rtype: opencascade::handle") Poles2d; + opencascade::handle Poles2d (); + + /****************** Poles2d ******************/ + %feature("compactdefaultargs") Poles2d; + %feature("autodoc", "* returns the poles at Index from the 2d subspace :param Index: :type Index: int - :rtype: float -") AverageError; - Standard_Real AverageError (const Standard_Integer Dimension,const Standard_Integer Index); + :param P: + :type P: TColgp_Array1OfPnt2d + :rtype: None") Poles2d; + void Poles2d (const Standard_Integer Index,TColgp_Array1OfPnt2d & P); - %feature("autodoc", "1"); - %extend{ - std::string DumpToString() { - std::stringstream s; - self->Dump(s); - return s.str();} - }; - }; +}; %extend AdvApprox_ApproxAFunction { @@ -289,23 +320,24 @@ class AdvApprox_ApproxAFunction { __repr__ = _dumps_object } }; + +/************************** +* class AdvApprox_Cutting * +**************************/ %nodefaultctor AdvApprox_Cutting; class AdvApprox_Cutting { public: - %feature("compactdefaultargs") Delete; - %feature("autodoc", " :rtype: void -") Delete; - virtual void Delete (); + /****************** Value ******************/ %feature("compactdefaultargs") Value; - %feature("autodoc", " :param a: + %feature("autodoc", ":param a: :type a: float :param b: :type b: float :param cuttingvalue: :type cuttingvalue: float & - :rtype: bool -") Value; + :rtype: bool") Value; virtual Standard_Boolean Value (const Standard_Real a,const Standard_Real b,Standard_Real &OutValue); + }; @@ -314,11 +346,19 @@ class AdvApprox_Cutting { __repr__ = _dumps_object } }; + +/************************************ +* class AdvApprox_EvaluatorFunction * +************************************/ +/******************************* +* class AdvApprox_SimpleApprox * +*******************************/ %nodefaultctor AdvApprox_SimpleApprox; class AdvApprox_SimpleApprox { public: + /****************** AdvApprox_SimpleApprox ******************/ %feature("compactdefaultargs") AdvApprox_SimpleApprox; - %feature("autodoc", " :param TotalDimension: + %feature("autodoc", ":param TotalDimension: :type TotalDimension: int :param TotalNumSS: :type TotalNumSS: int @@ -329,15 +369,70 @@ class AdvApprox_SimpleApprox { :param NbGaussPoints: :type NbGaussPoints: int :param JacobiBase: - :type JacobiBase: Handle_PLib_JacobiPolynomial & + :type JacobiBase: opencascade::handle & :param Func: :type Func: AdvApprox_EvaluatorFunction & - :rtype: None -") AdvApprox_SimpleApprox; - AdvApprox_SimpleApprox (const Standard_Integer TotalDimension,const Standard_Integer TotalNumSS,const GeomAbs_Shape Continuity,const Standard_Integer WorkDegree,const Standard_Integer NbGaussPoints,const Handle_PLib_JacobiPolynomial & JacobiBase,const AdvApprox_EvaluatorFunction & Func); - %feature("compactdefaultargs") Perform; - %feature("autodoc", " * Constructs approximator tool. //! Warning: the Func should be valid reference to object of type inherited from class EvaluatorFunction from Approx with life time longer than that of the approximator tool; + :rtype: None") AdvApprox_SimpleApprox; + AdvApprox_SimpleApprox (const Standard_Integer TotalDimension,const Standard_Integer TotalNumSS,const GeomAbs_Shape Continuity,const Standard_Integer WorkDegree,const Standard_Integer NbGaussPoints,const opencascade::handle & JacobiBase,const AdvApprox_EvaluatorFunction & Func); + + /****************** AverageError ******************/ + %feature("compactdefaultargs") AverageError; + %feature("autodoc", ":param Index: + :type Index: int + :rtype: float") AverageError; + Standard_Real AverageError (const Standard_Integer Index); + + /****************** Coefficients ******************/ + %feature("compactdefaultargs") Coefficients; + %feature("autodoc", "* returns the coefficients in the Jacobi Base + :rtype: opencascade::handle") Coefficients; + opencascade::handle Coefficients (); + + /****************** Degree ******************/ + %feature("compactdefaultargs") Degree; + %feature("autodoc", ":rtype: int") Degree; + Standard_Integer Degree (); + + /****************** DifTab ******************/ + %feature("compactdefaultargs") DifTab; + %feature("autodoc", ":rtype: opencascade::handle") DifTab; + opencascade::handle DifTab (); + + %feature("autodoc", "1"); + %extend{ + std::string DumpToString() { + std::stringstream s; + self->Dump(s); + return s.str();} + }; + /****************** FirstConstr ******************/ + %feature("compactdefaultargs") FirstConstr; + %feature("autodoc", "* returns the constraints at First + :rtype: opencascade::handle") FirstConstr; + opencascade::handle FirstConstr (); + + /****************** IsDone ******************/ + %feature("compactdefaultargs") IsDone; + %feature("autodoc", ":rtype: bool") IsDone; + Standard_Boolean IsDone (); + + /****************** LastConstr ******************/ + %feature("compactdefaultargs") LastConstr; + %feature("autodoc", "* returns the constraints at Last + :rtype: opencascade::handle") LastConstr; + opencascade::handle LastConstr (); + + /****************** MaxError ******************/ + %feature("compactdefaultargs") MaxError; + %feature("autodoc", ":param Index: + :type Index: int + :rtype: float") MaxError; + Standard_Real MaxError (const Standard_Integer Index); + + /****************** Perform ******************/ + %feature("compactdefaultargs") Perform; + %feature("autodoc", "* Constructs approximator tool. //! Warning: the Func should be valid reference to object of type inherited from class EvaluatorFunction from Approx with life time longer than that of the approximator tool; :param LocalDimension: :type LocalDimension: TColStd_Array1OfInteger & :param LocalTolerancesArray: @@ -348,64 +443,15 @@ class AdvApprox_SimpleApprox { :type Last: float :param MaxDegree: :type MaxDegree: int - :rtype: None -") Perform; + :rtype: None") Perform; void Perform (const TColStd_Array1OfInteger & LocalDimension,const TColStd_Array1OfReal & LocalTolerancesArray,const Standard_Real First,const Standard_Real Last,const Standard_Integer MaxDegree); - %feature("compactdefaultargs") IsDone; - %feature("autodoc", " :rtype: bool -") IsDone; - Standard_Boolean IsDone (); - %feature("compactdefaultargs") Degree; - %feature("autodoc", " :rtype: int -") Degree; - Standard_Integer Degree (); - %feature("compactdefaultargs") Coefficients; - %feature("autodoc", " * returns the coefficients in the Jacobi Base - - :rtype: Handle_TColStd_HArray1OfReal -") Coefficients; - Handle_TColStd_HArray1OfReal Coefficients (); - %feature("compactdefaultargs") FirstConstr; - %feature("autodoc", " * returns the constraints at First - :rtype: Handle_TColStd_HArray2OfReal -") FirstConstr; - Handle_TColStd_HArray2OfReal FirstConstr (); - %feature("compactdefaultargs") LastConstr; - %feature("autodoc", " * returns the constraints at Last - - :rtype: Handle_TColStd_HArray2OfReal -") LastConstr; - Handle_TColStd_HArray2OfReal LastConstr (); + /****************** SomTab ******************/ %feature("compactdefaultargs") SomTab; - %feature("autodoc", " :rtype: Handle_TColStd_HArray1OfReal -") SomTab; - Handle_TColStd_HArray1OfReal SomTab (); - %feature("compactdefaultargs") DifTab; - %feature("autodoc", " :rtype: Handle_TColStd_HArray1OfReal -") DifTab; - Handle_TColStd_HArray1OfReal DifTab (); - %feature("compactdefaultargs") MaxError; - %feature("autodoc", " :param Index: - :type Index: int - :rtype: float -") MaxError; - Standard_Real MaxError (const Standard_Integer Index); - %feature("compactdefaultargs") AverageError; - %feature("autodoc", " :param Index: - :type Index: int - :rtype: float -") AverageError; - Standard_Real AverageError (const Standard_Integer Index); + %feature("autodoc", ":rtype: opencascade::handle") SomTab; + opencascade::handle SomTab (); - %feature("autodoc", "1"); - %extend{ - std::string DumpToString() { - std::stringstream s; - self->Dump(s); - return s.str();} - }; - }; +}; %extend AdvApprox_SimpleApprox { @@ -413,23 +459,29 @@ class AdvApprox_SimpleApprox { __repr__ = _dumps_object } }; + +/******************************* +* class AdvApprox_DichoCutting * +*******************************/ %nodefaultctor AdvApprox_DichoCutting; class AdvApprox_DichoCutting : public AdvApprox_Cutting { public: + /****************** AdvApprox_DichoCutting ******************/ %feature("compactdefaultargs") AdvApprox_DichoCutting; - %feature("autodoc", " :rtype: None -") AdvApprox_DichoCutting; + %feature("autodoc", ":rtype: None") AdvApprox_DichoCutting; AdvApprox_DichoCutting (); + + /****************** Value ******************/ %feature("compactdefaultargs") Value; - %feature("autodoc", " :param a: + %feature("autodoc", ":param a: :type a: float :param b: :type b: float :param cuttingvalue: :type cuttingvalue: float & - :rtype: bool -") Value; + :rtype: bool") Value; virtual Standard_Boolean Value (const Standard_Real a,const Standard_Real b,Standard_Real &OutValue); + }; @@ -438,31 +490,36 @@ class AdvApprox_DichoCutting : public AdvApprox_Cutting { __repr__ = _dumps_object } }; + +/***************************** +* class AdvApprox_PrefAndRec * +*****************************/ %nodefaultctor AdvApprox_PrefAndRec; class AdvApprox_PrefAndRec : public AdvApprox_Cutting { public: + /****************** AdvApprox_PrefAndRec ******************/ %feature("compactdefaultargs") AdvApprox_PrefAndRec; - %feature("autodoc", " :param RecomendedCut: + %feature("autodoc", ":param RecomendedCut: :type RecomendedCut: TColStd_Array1OfReal & :param PrefferedCut: :type PrefferedCut: TColStd_Array1OfReal & :param Weight: default value is 5 :type Weight: float - :rtype: None -") AdvApprox_PrefAndRec; + :rtype: None") AdvApprox_PrefAndRec; AdvApprox_PrefAndRec (const TColStd_Array1OfReal & RecomendedCut,const TColStd_Array1OfReal & PrefferedCut,const Standard_Real Weight = 5); - %feature("compactdefaultargs") Value; - %feature("autodoc", " * cuting value is - the recommended point nerest of (a+b)/2 if pi is in ]a,b[ or else - the preferential point nearest of (a+b) / 2 if pi is in ](r*a+b)/(r+1) , (a+r*b)/(r+1)[ where r = Weight - or (a+b)/2 else. + /****************** Value ******************/ + %feature("compactdefaultargs") Value; + %feature("autodoc", "* cuting value is - the recommended point nerest of (a+b)/2 if pi is in ]a,b[ or else - the preferential point nearest of (a+b) / 2 if pi is in ](r*a+b)/(r+1) , (a+r*b)/(r+1)[ where r = Weight - or (a+b)/2 else. :param a: :type a: float :param b: :type b: float :param cuttingvalue: :type cuttingvalue: float & - :rtype: bool -") Value; + :rtype: bool") Value; virtual Standard_Boolean Value (const Standard_Real a,const Standard_Real b,Standard_Real &OutValue); + }; @@ -471,25 +528,31 @@ class AdvApprox_PrefAndRec : public AdvApprox_Cutting { __repr__ = _dumps_object } }; + +/****************************** +* class AdvApprox_PrefCutting * +******************************/ %nodefaultctor AdvApprox_PrefCutting; class AdvApprox_PrefCutting : public AdvApprox_Cutting { public: + /****************** AdvApprox_PrefCutting ******************/ %feature("compactdefaultargs") AdvApprox_PrefCutting; - %feature("autodoc", " :param CutPnts: + %feature("autodoc", ":param CutPnts: :type CutPnts: TColStd_Array1OfReal & - :rtype: None -") AdvApprox_PrefCutting; + :rtype: None") AdvApprox_PrefCutting; AdvApprox_PrefCutting (const TColStd_Array1OfReal & CutPnts); + + /****************** Value ******************/ %feature("compactdefaultargs") Value; - %feature("autodoc", " :param a: + %feature("autodoc", ":param a: :type a: float :param b: :type b: float :param cuttingvalue: :type cuttingvalue: float & - :rtype: bool -") Value; + :rtype: bool") Value; virtual Standard_Boolean Value (const Standard_Real a,const Standard_Real b,Standard_Real &OutValue); + }; @@ -498,3 +561,7 @@ class AdvApprox_PrefCutting : public AdvApprox_Cutting { __repr__ = _dumps_object } }; + +/* harray1 class */ +/* harray2 class */ +/* harray2 class */ diff --git a/src/SWIG_files/wrapper/AdvApprox_headers.i b/src/SWIG_files/wrapper/AdvApprox_headers.i deleted file mode 100644 index b204e73b5..000000000 --- a/src/SWIG_files/wrapper/AdvApprox_headers.i +++ /dev/null @@ -1,548 +0,0 @@ -/* -Copyright 2008-2017 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 . - -*/ -%{ -#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 -#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 -#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 -#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 -#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 -#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 -%}; -%import Standard.i -%import TColStd.i -%import GeomAbs.i -%import TColgp.i -%import PLib.i diff --git a/src/SWIG_files/wrapper/AppBlend.i b/src/SWIG_files/wrapper/AppBlend.i index 0e3c9a5b1..5d07e1ad9 100644 --- a/src/SWIG_files/wrapper/AppBlend.i +++ b/src/SWIG_files/wrapper/AppBlend.i @@ -1,6 +1,5 @@ /* -Copyright 2008-2017 Thomas Paviot (tpaviot@gmail.com) - +Copyright 2008-2019 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -15,14 +14,13 @@ 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 APPBLENDDOCSTRING -"" +"AppBlend module, see official documentation at +https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_appblend.html" %enddef %module (package="OCC.Core", docstring=APPBLENDDOCSTRING) AppBlend -#pragma SWIG nowarn=504,325,503 %{ #ifdef WNT @@ -37,24 +35,105 @@ along with pythonOCC. If not, see . %include ../common/OccHandle.i -%include AppBlend_headers.i - -/* typedefs */ -/* end typedefs declaration */ - +%{ +#include + +//Dependencies +#include +#include +#include +#include +#include +#include +#include +#include +%}; +%import Standard.i +%import NCollection.i +%import TColgp.i +%import TColStd.i /* public enums */ /* end public enums declaration */ +/* handles */ +/* end handles declaration */ + +/* templates */ +/* end templates declaration */ +/* typedefs */ +/* end typedefs declaration */ + +/************************ +* class AppBlend_Approx * +************************/ %nodefaultctor AppBlend_Approx; class AppBlend_Approx { public: + /****************** Curve2d ******************/ + %feature("compactdefaultargs") Curve2d; + %feature("autodoc", ":param Index: + :type Index: int + :param TPoles: + :type TPoles: TColgp_Array1OfPnt2d + :param TKnots: + :type TKnots: TColStd_Array1OfReal & + :param TMults: + :type TMults: TColStd_Array1OfInteger & + :rtype: void") Curve2d; + virtual void Curve2d (const Standard_Integer Index,TColgp_Array1OfPnt2d & TPoles,TColStd_Array1OfReal & TKnots,TColStd_Array1OfInteger & TMults); + + /****************** Curve2dPoles ******************/ + %feature("compactdefaultargs") Curve2dPoles; + %feature("autodoc", ":param Index: + :type Index: int + :rtype: TColgp_Array1OfPnt2d") Curve2dPoles; + virtual const TColgp_Array1OfPnt2d & Curve2dPoles (const Standard_Integer Index); + + /****************** Curves2dDegree ******************/ + %feature("compactdefaultargs") Curves2dDegree; + %feature("autodoc", ":rtype: int") Curves2dDegree; + virtual Standard_Integer Curves2dDegree (); + + /****************** Curves2dKnots ******************/ + %feature("compactdefaultargs") Curves2dKnots; + %feature("autodoc", ":rtype: TColStd_Array1OfReal") Curves2dKnots; + virtual const TColStd_Array1OfReal & Curves2dKnots (); + + /****************** Curves2dMults ******************/ + %feature("compactdefaultargs") Curves2dMults; + %feature("autodoc", ":rtype: TColStd_Array1OfInteger") Curves2dMults; + virtual const TColStd_Array1OfInteger & Curves2dMults (); + + /****************** Curves2dShape ******************/ + %feature("compactdefaultargs") Curves2dShape; + %feature("autodoc", ":param Degree: + :type Degree: int & + :param NbPoles: + :type NbPoles: int & + :param NbKnots: + :type NbKnots: int & + :rtype: void") Curves2dShape; + virtual void Curves2dShape (Standard_Integer &OutValue,Standard_Integer &OutValue,Standard_Integer &OutValue); + + /****************** IsDone ******************/ %feature("compactdefaultargs") IsDone; - %feature("autodoc", " :rtype: bool -") IsDone; + %feature("autodoc", ":rtype: bool") IsDone; virtual Standard_Boolean IsDone (); + + /****************** NbCurves2d ******************/ + %feature("compactdefaultargs") NbCurves2d; + %feature("autodoc", ":rtype: int") NbCurves2d; + virtual Standard_Integer NbCurves2d (); + + /****************** SurfPoles ******************/ + %feature("compactdefaultargs") SurfPoles; + %feature("autodoc", ":rtype: TColgp_Array2OfPnt") SurfPoles; + virtual const TColgp_Array2OfPnt & SurfPoles (); + + /****************** SurfShape ******************/ %feature("compactdefaultargs") SurfShape; - %feature("autodoc", " :param UDegree: + %feature("autodoc", ":param UDegree: :type UDegree: int & :param VDegree: :type VDegree: int & @@ -66,11 +145,37 @@ class AppBlend_Approx { :type NbUKnots: int & :param NbVKnots: :type NbVKnots: int & - :rtype: void -") SurfShape; + :rtype: void") SurfShape; virtual void SurfShape (Standard_Integer &OutValue,Standard_Integer &OutValue,Standard_Integer &OutValue,Standard_Integer &OutValue,Standard_Integer &OutValue,Standard_Integer &OutValue); + + /****************** SurfUKnots ******************/ + %feature("compactdefaultargs") SurfUKnots; + %feature("autodoc", ":rtype: TColStd_Array1OfReal") SurfUKnots; + virtual const TColStd_Array1OfReal & SurfUKnots (); + + /****************** SurfUMults ******************/ + %feature("compactdefaultargs") SurfUMults; + %feature("autodoc", ":rtype: TColStd_Array1OfInteger") SurfUMults; + virtual const TColStd_Array1OfInteger & SurfUMults (); + + /****************** SurfVKnots ******************/ + %feature("compactdefaultargs") SurfVKnots; + %feature("autodoc", ":rtype: TColStd_Array1OfReal") SurfVKnots; + virtual const TColStd_Array1OfReal & SurfVKnots (); + + /****************** SurfVMults ******************/ + %feature("compactdefaultargs") SurfVMults; + %feature("autodoc", ":rtype: TColStd_Array1OfInteger") SurfVMults; + virtual const TColStd_Array1OfInteger & SurfVMults (); + + /****************** SurfWeights ******************/ + %feature("compactdefaultargs") SurfWeights; + %feature("autodoc", ":rtype: TColStd_Array2OfReal") SurfWeights; + virtual const TColStd_Array2OfReal & SurfWeights (); + + /****************** Surface ******************/ %feature("compactdefaultargs") Surface; - %feature("autodoc", " :param TPoles: + %feature("autodoc", ":param TPoles: :type TPoles: TColgp_Array2OfPnt :param TWeights: :type TWeights: TColStd_Array2OfReal & @@ -82,99 +187,35 @@ class AppBlend_Approx { :type TUMults: TColStd_Array1OfInteger & :param TVMults: :type TVMults: TColStd_Array1OfInteger & - :rtype: void -") Surface; + :rtype: void") Surface; virtual void Surface (TColgp_Array2OfPnt & TPoles,TColStd_Array2OfReal & TWeights,TColStd_Array1OfReal & TUKnots,TColStd_Array1OfReal & TVKnots,TColStd_Array1OfInteger & TUMults,TColStd_Array1OfInteger & TVMults); - %feature("compactdefaultargs") UDegree; - %feature("autodoc", " :rtype: int -") UDegree; - virtual Standard_Integer UDegree (); - %feature("compactdefaultargs") VDegree; - %feature("autodoc", " :rtype: int -") VDegree; - virtual Standard_Integer VDegree (); - %feature("compactdefaultargs") SurfPoles; - %feature("autodoc", " :rtype: TColgp_Array2OfPnt -") SurfPoles; - virtual const TColgp_Array2OfPnt & SurfPoles (); - %feature("compactdefaultargs") SurfWeights; - %feature("autodoc", " :rtype: TColStd_Array2OfReal -") SurfWeights; - virtual const TColStd_Array2OfReal & SurfWeights (); - %feature("compactdefaultargs") SurfUKnots; - %feature("autodoc", " :rtype: TColStd_Array1OfReal -") SurfUKnots; - virtual const TColStd_Array1OfReal & SurfUKnots (); - %feature("compactdefaultargs") SurfVKnots; - %feature("autodoc", " :rtype: TColStd_Array1OfReal -") SurfVKnots; - virtual const TColStd_Array1OfReal & SurfVKnots (); - %feature("compactdefaultargs") SurfUMults; - %feature("autodoc", " :rtype: TColStd_Array1OfInteger -") SurfUMults; - virtual const TColStd_Array1OfInteger & SurfUMults (); - %feature("compactdefaultargs") SurfVMults; - %feature("autodoc", " :rtype: TColStd_Array1OfInteger -") SurfVMults; - virtual const TColStd_Array1OfInteger & SurfVMults (); - %feature("compactdefaultargs") NbCurves2d; - %feature("autodoc", " :rtype: int -") NbCurves2d; - virtual Standard_Integer NbCurves2d (); - %feature("compactdefaultargs") Curves2dShape; - %feature("autodoc", " :param Degree: - :type Degree: int & - :param NbPoles: - :type NbPoles: int & - :param NbKnots: - :type NbKnots: int & - :rtype: void -") Curves2dShape; - virtual void Curves2dShape (Standard_Integer &OutValue,Standard_Integer &OutValue,Standard_Integer &OutValue); - %feature("compactdefaultargs") Curve2d; - %feature("autodoc", " :param Index: - :type Index: int - :param TPoles: - :type TPoles: TColgp_Array1OfPnt2d - :param TKnots: - :type TKnots: TColStd_Array1OfReal & - :param TMults: - :type TMults: TColStd_Array1OfInteger & - :rtype: void -") Curve2d; - virtual void Curve2d (const Standard_Integer Index,TColgp_Array1OfPnt2d & TPoles,TColStd_Array1OfReal & TKnots,TColStd_Array1OfInteger & TMults); - %feature("compactdefaultargs") Curves2dDegree; - %feature("autodoc", " :rtype: int -") Curves2dDegree; - virtual Standard_Integer Curves2dDegree (); - %feature("compactdefaultargs") Curve2dPoles; - %feature("autodoc", " :param Index: + + /****************** TolCurveOnSurf ******************/ + %feature("compactdefaultargs") TolCurveOnSurf; + %feature("autodoc", ":param Index: :type Index: int - :rtype: TColgp_Array1OfPnt2d -") Curve2dPoles; - virtual const TColgp_Array1OfPnt2d & Curve2dPoles (const Standard_Integer Index); - %feature("compactdefaultargs") Curves2dKnots; - %feature("autodoc", " :rtype: TColStd_Array1OfReal -") Curves2dKnots; - virtual const TColStd_Array1OfReal & Curves2dKnots (); - %feature("compactdefaultargs") Curves2dMults; - %feature("autodoc", " :rtype: TColStd_Array1OfInteger -") Curves2dMults; - virtual const TColStd_Array1OfInteger & Curves2dMults (); + :rtype: float") TolCurveOnSurf; + virtual Standard_Real TolCurveOnSurf (const Standard_Integer Index); + + /****************** TolReached ******************/ %feature("compactdefaultargs") TolReached; - %feature("autodoc", " :param Tol3d: + %feature("autodoc", ":param Tol3d: :type Tol3d: float & :param Tol2d: :type Tol2d: float & - :rtype: void -") TolReached; + :rtype: void") TolReached; virtual void TolReached (Standard_Real &OutValue,Standard_Real &OutValue); - %feature("compactdefaultargs") TolCurveOnSurf; - %feature("autodoc", " :param Index: - :type Index: int - :rtype: float -") TolCurveOnSurf; - virtual Standard_Real TolCurveOnSurf (const Standard_Integer Index); + + /****************** UDegree ******************/ + %feature("compactdefaultargs") UDegree; + %feature("autodoc", ":rtype: int") UDegree; + virtual Standard_Integer UDegree (); + + /****************** VDegree ******************/ + %feature("compactdefaultargs") VDegree; + %feature("autodoc", ":rtype: int") VDegree; + virtual Standard_Integer VDegree (); + }; @@ -183,3 +224,7 @@ class AppBlend_Approx { __repr__ = _dumps_object } }; + +/* harray1 class */ +/* harray2 class */ +/* harray2 class */ diff --git a/src/SWIG_files/wrapper/AppBlend_headers.i b/src/SWIG_files/wrapper/AppBlend_headers.i deleted file mode 100644 index 8bdae7ec7..000000000 --- a/src/SWIG_files/wrapper/AppBlend_headers.i +++ /dev/null @@ -1,525 +0,0 @@ -/* -Copyright 2008-2017 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 . - -*/ -%{ -#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 -#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 -#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 -#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 -#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 -#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 -%}; -%import Standard.i -%import TColgp.i -%import TColStd.i diff --git a/src/SWIG_files/wrapper/AppCont.i b/src/SWIG_files/wrapper/AppCont.i index d7cdb63e9..06378c092 100644 --- a/src/SWIG_files/wrapper/AppCont.i +++ b/src/SWIG_files/wrapper/AppCont.i @@ -1,6 +1,5 @@ /* -Copyright 2008-2017 Thomas Paviot (tpaviot@gmail.com) - +Copyright 2008-2019 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -15,26 +14,13 @@ 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 APPCONTDOCSTRING -"This package provides the least square algorithms -necessary to approximate a set of continous curves -or a continous surface. - - -It also provides an instantiation of these algorithms -for a class Function, a function f(t). -The user will have to inherit class Function to use it. - - --Level : Advanced. -All methods of all classes will be advanced. -" +"AppCont module, see official documentation at +https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_appcont.html" %enddef %module (package="OCC.Core", docstring=APPCONTDOCSTRING) AppCont -#pragma SWIG nowarn=504,325,503 %{ #ifdef WNT @@ -49,88 +35,111 @@ All methods of all classes will be advanced. %include ../common/OccHandle.i -%include AppCont_headers.i - -/* typedefs */ -/* end typedefs declaration */ - +%{ +#include + +//Dependencies +#include +#include +#include +#include +#include +#include +#include +#include +%}; +%import Standard.i +%import NCollection.i +%import AppParCurves.i +%import math.i /* public enums */ /* end public enums declaration */ +/* handles */ +/* end handles declaration */ + +/* templates */ +/* end templates declaration */ + +/* typedefs */ +/* end typedefs declaration */ +/************************* +* class AppCont_Function * +*************************/ %nodefaultctor AppCont_Function; class AppCont_Function { public: - %feature("compactdefaultargs") GetNumberOfPoints; - %feature("autodoc", " * Get number of 3d and 2d points returned by 'Value' and 'D1' functions. + /****************** D1 ******************/ + %feature("compactdefaultargs") D1; + %feature("autodoc", "* Returns the derivative at parameter . + :param theU: + :type theU: float + :param theVec2d: + :type theVec2d: NCollection_Array1 + :param theVec: + :type theVec: NCollection_Array1 + :rtype: bool") D1; + Standard_Boolean D1 (const Standard_Real theU,NCollection_Array1 & theVec2d,NCollection_Array1 & theVec); + + /****************** FirstParameter ******************/ + %feature("compactdefaultargs") FirstParameter; + %feature("autodoc", "* Returns the first parameter of the function. + :rtype: float") FirstParameter; + Standard_Real FirstParameter (); + + /****************** GetNbOf2dPoints ******************/ + %feature("compactdefaultargs") GetNbOf2dPoints; + %feature("autodoc", "* Get number of 2d points returned by 'Value' and 'D1' functions. + :rtype: int") GetNbOf2dPoints; + Standard_Integer GetNbOf2dPoints (); + /****************** GetNbOf3dPoints ******************/ + %feature("compactdefaultargs") GetNbOf3dPoints; + %feature("autodoc", "* Get number of 3d points returned by 'Value' and 'D1' functions. + :rtype: int") GetNbOf3dPoints; + Standard_Integer GetNbOf3dPoints (); + + /****************** GetNumberOfPoints ******************/ + %feature("compactdefaultargs") GetNumberOfPoints; + %feature("autodoc", "* Get number of 3d and 2d points returned by 'Value' and 'D1' functions. :param theNbPnt: :type theNbPnt: int & :param theNbPnt2d: :type theNbPnt2d: int & - :rtype: None -") GetNumberOfPoints; + :rtype: None") GetNumberOfPoints; void GetNumberOfPoints (Standard_Integer &OutValue,Standard_Integer &OutValue); - %feature("compactdefaultargs") GetNbOf3dPoints; - %feature("autodoc", " * Get number of 3d points returned by 'Value' and 'D1' functions. - :rtype: int -") GetNbOf3dPoints; - Standard_Integer GetNbOf3dPoints (); - %feature("compactdefaultargs") GetNbOf2dPoints; - %feature("autodoc", " * Get number of 2d points returned by 'Value' and 'D1' functions. - - :rtype: int -") GetNbOf2dPoints; - Standard_Integer GetNbOf2dPoints (); - %feature("compactdefaultargs") FirstParameter; - %feature("autodoc", " * Returns the first parameter of the function. - - :rtype: float -") FirstParameter; - virtual Standard_Real FirstParameter (); + /****************** LastParameter ******************/ %feature("compactdefaultargs") LastParameter; - %feature("autodoc", " * Returns the last parameter of the function. + %feature("autodoc", "* Returns the last parameter of the function. + :rtype: float") LastParameter; + Standard_Real LastParameter (); - :rtype: float -") LastParameter; - virtual Standard_Real LastParameter (); - %feature("compactdefaultargs") Value; - %feature("autodoc", " * Returns the point at parameter . + /****************** PeriodInformation ******************/ + %feature("compactdefaultargs") PeriodInformation; + %feature("autodoc", "* Return information about peridicity in output paramateters space. @param theDimIdx Defines index in output parameters space. 1 <= theDimIdx <= 3 * myNbPnt + 2 * myNbPnt2d. + :param Standard_Integer: + :type Standard_Integer: + :param IsPeriodic: + :type IsPeriodic: bool + :param thePeriod: + :type thePeriod: float & + :rtype: None") PeriodInformation; + void PeriodInformation (const Standard_Integer,Standard_Boolean &OutValue,Standard_Real &OutValue); + /****************** Value ******************/ + %feature("compactdefaultargs") Value; + %feature("autodoc", "* Returns the point at parameter . :param theU: :type theU: float :param thePnt2d: :type thePnt2d: NCollection_Array1 :param thePnt: :type thePnt: NCollection_Array1 - :rtype: bool -") Value; - virtual Standard_Boolean Value (const Standard_Real theU,NCollection_Array1 & thePnt2d,NCollection_Array1 & thePnt); - %feature("compactdefaultargs") D1; - %feature("autodoc", " * Returns the derivative at parameter . - - :param theU: - :type theU: float - :param theVec2d: - :type theVec2d: NCollection_Array1 - :param theVec: - :type theVec: NCollection_Array1 - :rtype: bool -") D1; - virtual Standard_Boolean D1 (const Standard_Real theU,NCollection_Array1 & theVec2d,NCollection_Array1 & theVec); - %feature("compactdefaultargs") PeriodInformation; - %feature("autodoc", " * Return information about peridicity in output paramateters space. @param theDimIdx Defines index in output parameters space. 1 <= theDimIdx <= 3 * myNbPnt + 2 * myNbPnt2d. + :rtype: bool") Value; + Standard_Boolean Value (const Standard_Real theU,NCollection_Array1 & thePnt2d,NCollection_Array1 & thePnt); - :param Standard_Integer: - :type Standard_Integer: - :param IsPeriodic: - :type IsPeriodic: bool - :param thePeriod: - :type thePeriod: float & - :rtype: void -") PeriodInformation; - virtual void PeriodInformation (const Standard_Integer,Standard_Boolean &OutValue,Standard_Real &OutValue); }; @@ -139,11 +148,16 @@ class AppCont_Function { __repr__ = _dumps_object } }; + +/**************************** +* class AppCont_LeastSquare * +****************************/ %nodefaultctor AppCont_LeastSquare; class AppCont_LeastSquare { public: + /****************** AppCont_LeastSquare ******************/ %feature("compactdefaultargs") AppCont_LeastSquare; - %feature("autodoc", " :param SSP: + %feature("autodoc", ":param SSP: :type SSP: AppCont_Function & :param U0: :type U0: float @@ -157,27 +171,30 @@ class AppCont_LeastSquare { :type Deg: int :param NbPoints: :type NbPoints: int - :rtype: None -") AppCont_LeastSquare; + :rtype: None") AppCont_LeastSquare; AppCont_LeastSquare (const AppCont_Function & SSP,const Standard_Real U0,const Standard_Real U1,const AppParCurves_Constraint FirstCons,const AppParCurves_Constraint LastCons,const Standard_Integer Deg,const Standard_Integer NbPoints); - %feature("compactdefaultargs") Value; - %feature("autodoc", " :rtype: AppParCurves_MultiCurve -") Value; - const AppParCurves_MultiCurve & Value (); + + /****************** Error ******************/ %feature("compactdefaultargs") Error; - %feature("autodoc", " :param F: + %feature("autodoc", ":param F: :type F: float & :param MaxE3d: :type MaxE3d: float & :param MaxE2d: :type MaxE2d: float & - :rtype: None -") Error; + :rtype: None") Error; void Error (Standard_Real &OutValue,Standard_Real &OutValue,Standard_Real &OutValue); + + /****************** IsDone ******************/ %feature("compactdefaultargs") IsDone; - %feature("autodoc", " :rtype: bool -") IsDone; + %feature("autodoc", ":rtype: bool") IsDone; Standard_Boolean IsDone (); + + /****************** Value ******************/ + %feature("compactdefaultargs") Value; + %feature("autodoc", ":rtype: AppParCurves_MultiCurve") Value; + const AppParCurves_MultiCurve & Value (); + }; @@ -186,3 +203,10 @@ class AppCont_LeastSquare { __repr__ = _dumps_object } }; + +/************************ +* class PeriodicityInfo * +************************/ +/* harray1 class */ +/* harray2 class */ +/* harray2 class */ diff --git a/src/SWIG_files/wrapper/AppCont_headers.i b/src/SWIG_files/wrapper/AppCont_headers.i deleted file mode 100644 index 12bdc514a..000000000 --- a/src/SWIG_files/wrapper/AppCont_headers.i +++ /dev/null @@ -1,476 +0,0 @@ -/* -Copyright 2008-2017 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 . - -*/ -%{ -#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 -#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 -#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 -#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 -#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 -%}; -%import Standard.i -%import NCollection.i -%import AppParCurves.i -%import math.i diff --git a/src/SWIG_files/wrapper/AppDef.i b/src/SWIG_files/wrapper/AppDef.i index 4abd98fe6..1c4f8c458 100644 --- a/src/SWIG_files/wrapper/AppDef.i +++ b/src/SWIG_files/wrapper/AppDef.i @@ -1,6 +1,5 @@ /* -Copyright 2008-2017 Thomas Paviot (tpaviot@gmail.com) - +Copyright 2008-2019 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -15,30 +14,13 @@ 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 APPDEFDOCSTRING -"This package describes all the classes needed to approximate -points in Bezier curves. It is used in the package -AppParCurves. -The points of the same range for the approximation are -organised in MultiPointConstraints. These MultiPointConstraints - -are organized in a MultiLine. -The corresponding result of a MultiLine approximation is -a MultiCurve (set of Bezier curves) which has the same -structure as a MultiLine: The MultiCurve is a set of -MultiPoint. -A point of a MultiLine can have many significations: the approximation curve -can go through this point or not, can have a given tangency, or can -have a given curvature. -Note: a CurvaturePoint is also a PassPoint and a TangencyPoint. -A TangencyPoint is also a PassPoint. -" +"AppDef module, see official documentation at +https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_appdef.html" %enddef %module (package="OCC.Core", docstring=APPDEFDOCSTRING) AppDef -#pragma SWIG nowarn=504,325,503 %{ #ifdef WNT @@ -53,102 +35,53 @@ A TangencyPoint is also a PassPoint. %include ../common/OccHandle.i -%include AppDef_headers.i - -/* typedefs */ -/* end typedefs declaration */ - +%{ +#include + +//Dependencies +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +%}; +%import Standard.i +%import NCollection.i +%import math.i +%import AppParCurves.i +%import TColStd.i +%import Approx.i +%import TColgp.i +%import gp.i +%import FEmTool.i +%import GeomAbs.i /* public enums */ /* end public enums declaration */ -%wrap_handle(AppDef_HArray1OfMultiPointConstraint) +/* handles */ %wrap_handle(AppDef_SmoothCriterion) %wrap_handle(AppDef_LinearCriteria) +%wrap_handle(AppDef_HArray1OfMultiPointConstraint) +/* end handles declaration */ -%nodefaultctor AppDef_Array1OfMultiPointConstraint; -class AppDef_Array1OfMultiPointConstraint { - public: - %feature("compactdefaultargs") AppDef_Array1OfMultiPointConstraint; - %feature("autodoc", " :param Low: - :type Low: int - :param Up: - :type Up: int - :rtype: None -") AppDef_Array1OfMultiPointConstraint; - AppDef_Array1OfMultiPointConstraint (const Standard_Integer Low,const Standard_Integer Up); - %feature("compactdefaultargs") AppDef_Array1OfMultiPointConstraint; - %feature("autodoc", " :param Item: - :type Item: AppDef_MultiPointConstraint & - :param Low: - :type Low: int - :param Up: - :type Up: int - :rtype: None -") AppDef_Array1OfMultiPointConstraint; - AppDef_Array1OfMultiPointConstraint (const AppDef_MultiPointConstraint & Item,const Standard_Integer Low,const Standard_Integer Up); - %feature("compactdefaultargs") Init; - %feature("autodoc", " :param V: - :type V: AppDef_MultiPointConstraint & - :rtype: None -") Init; - void Init (const AppDef_MultiPointConstraint & V); - %feature("compactdefaultargs") Destroy; - %feature("autodoc", " :rtype: None -") Destroy; - void Destroy (); - %feature("compactdefaultargs") IsAllocated; - %feature("autodoc", " :rtype: bool -") IsAllocated; - Standard_Boolean IsAllocated (); - %feature("compactdefaultargs") Assign; - %feature("autodoc", " :param Other: - :type Other: AppDef_Array1OfMultiPointConstraint & - :rtype: AppDef_Array1OfMultiPointConstraint -") Assign; - const AppDef_Array1OfMultiPointConstraint & Assign (const AppDef_Array1OfMultiPointConstraint & Other); - %feature("compactdefaultargs") operator =; - %feature("autodoc", " :param Other: - :type Other: AppDef_Array1OfMultiPointConstraint & - :rtype: AppDef_Array1OfMultiPointConstraint -") operator =; - const AppDef_Array1OfMultiPointConstraint & operator = (const AppDef_Array1OfMultiPointConstraint & Other); - %feature("compactdefaultargs") Length; - %feature("autodoc", " :rtype: int -") Length; - Standard_Integer Length (); - %feature("compactdefaultargs") Lower; - %feature("autodoc", " :rtype: int -") Lower; - Standard_Integer Lower (); - %feature("compactdefaultargs") Upper; - %feature("autodoc", " :rtype: int -") Upper; - Standard_Integer Upper (); - %feature("compactdefaultargs") SetValue; - %feature("autodoc", " :param Index: - :type Index: int - :param Value: - :type Value: AppDef_MultiPointConstraint & - :rtype: None -") SetValue; - void SetValue (const Standard_Integer Index,const AppDef_MultiPointConstraint & Value); - %feature("compactdefaultargs") Value; - %feature("autodoc", " :param Index: - :type Index: int - :rtype: AppDef_MultiPointConstraint -") Value; - const AppDef_MultiPointConstraint & Value (const Standard_Integer Index); - %feature("compactdefaultargs") ChangeValue; - %feature("autodoc", " :param Index: - :type Index: int - :rtype: AppDef_MultiPointConstraint -") ChangeValue; - AppDef_MultiPointConstraint & ChangeValue (const Standard_Integer Index); -}; - - +/* templates */ +%template(AppDef_Array1OfMultiPointConstraint) NCollection_Array1 ; -%extend AppDef_Array1OfMultiPointConstraint { +%extend NCollection_Array1 { %pythoncode { def __getitem__(self, index): if index + self.Lower() > self.Upper(): @@ -175,23 +108,27 @@ class AppDef_Array1OfMultiPointConstraint { if self.current >= self.Upper(): raise StopIteration else: - self.current +=1 + self.current += 1 return self.Value(self.current) __next__ = next - } }; -%extend AppDef_Array1OfMultiPointConstraint { - %pythoncode { - __repr__ = _dumps_object - } -}; +/* end templates declaration */ + +/* typedefs */ +typedef NCollection_Array1 AppDef_Array1OfMultiPointConstraint; +/* end typedefs declaration */ + +/**************************************************************** +* class AppDef_BSpGradient_BFGSOfMyBSplGradientOfBSplineCompute * +****************************************************************/ %nodefaultctor AppDef_BSpGradient_BFGSOfMyBSplGradientOfBSplineCompute; class AppDef_BSpGradient_BFGSOfMyBSplGradientOfBSplineCompute : public math_BFGS { public: + /****************** AppDef_BSpGradient_BFGSOfMyBSplGradientOfBSplineCompute ******************/ %feature("compactdefaultargs") AppDef_BSpGradient_BFGSOfMyBSplGradientOfBSplineCompute; - %feature("autodoc", " :param F: + %feature("autodoc", ":param F: :type F: math_MultipleVarFunctionWithGradient & :param StartingPoint: :type StartingPoint: math_Vector & @@ -203,15 +140,16 @@ class AppDef_BSpGradient_BFGSOfMyBSplGradientOfBSplineCompute : public math_BFGS :type Eps: float :param NbIterations: default value is 200 :type NbIterations: int - :rtype: None -") AppDef_BSpGradient_BFGSOfMyBSplGradientOfBSplineCompute; + :rtype: None") AppDef_BSpGradient_BFGSOfMyBSplGradientOfBSplineCompute; AppDef_BSpGradient_BFGSOfMyBSplGradientOfBSplineCompute (math_MultipleVarFunctionWithGradient & F,const math_Vector & StartingPoint,const Standard_Real Tolerance3d,const Standard_Real Tolerance2d,const Standard_Real Eps,const Standard_Integer NbIterations = 200); + + /****************** IsSolutionReached ******************/ %feature("compactdefaultargs") IsSolutionReached; - %feature("autodoc", " :param F: + %feature("autodoc", ":param F: :type F: math_MultipleVarFunctionWithGradient & - :rtype: bool -") IsSolutionReached; + :rtype: bool") IsSolutionReached; virtual Standard_Boolean IsSolutionReached (math_MultipleVarFunctionWithGradient & F); + }; @@ -220,18 +158,24 @@ class AppDef_BSpGradient_BFGSOfMyBSplGradientOfBSplineCompute : public math_BFGS __repr__ = _dumps_object } }; + +/************************************************************** +* class AppDef_BSpParFunctionOfMyBSplGradientOfBSplineCompute * +**************************************************************/ %nodefaultctor AppDef_BSpParFunctionOfMyBSplGradientOfBSplineCompute; class AppDef_BSpParFunctionOfMyBSplGradientOfBSplineCompute : public math_MultipleVarFunctionWithGradient { public: + /****************** AppDef_BSpParFunctionOfMyBSplGradientOfBSplineCompute ******************/ %feature("compactdefaultargs") AppDef_BSpParFunctionOfMyBSplGradientOfBSplineCompute; - %feature("autodoc", " :param SSP: + %feature("autodoc", "* initializes the fields of the function. The approximating curve has control points. + :param SSP: :type SSP: AppDef_MultiLine & :param FirstPoint: :type FirstPoint: int :param LastPoint: :type LastPoint: int :param TheConstraints: - :type TheConstraints: Handle_AppParCurves_HArray1OfConstraintCouple & + :type TheConstraints: opencascade::handle & :param Parameters: :type Parameters: math_Vector & :param Knots: @@ -240,103 +184,131 @@ class AppDef_BSpParFunctionOfMyBSplGradientOfBSplineCompute : public math_Multip :type Mults: TColStd_Array1OfInteger & :param NbPol: :type NbPol: int - :rtype: None -") AppDef_BSpParFunctionOfMyBSplGradientOfBSplineCompute; - AppDef_BSpParFunctionOfMyBSplGradientOfBSplineCompute (const AppDef_MultiLine & SSP,const Standard_Integer FirstPoint,const Standard_Integer LastPoint,const Handle_AppParCurves_HArray1OfConstraintCouple & TheConstraints,const math_Vector & Parameters,const TColStd_Array1OfReal & Knots,const TColStd_Array1OfInteger & Mults,const Standard_Integer NbPol); - %feature("compactdefaultargs") NbVariables; - %feature("autodoc", " :rtype: int -") NbVariables; - Standard_Integer NbVariables (); - %feature("compactdefaultargs") Value; - %feature("autodoc", " :param X: - :type X: math_Vector & - :param F: - :type F: float & - :rtype: bool -") Value; - Standard_Boolean Value (const math_Vector & X,Standard_Real &OutValue); - %feature("compactdefaultargs") Gradient; - %feature("autodoc", " :param X: - :type X: math_Vector & - :param G: - :type G: math_Vector & - :rtype: bool -") Gradient; - Standard_Boolean Gradient (const math_Vector & X,math_Vector & G); - %feature("compactdefaultargs") Values; - %feature("autodoc", " :param X: - :type X: math_Vector & - :param F: - :type F: float & - :param G: - :type G: math_Vector & - :rtype: bool -") Values; - Standard_Boolean Values (const math_Vector & X,Standard_Real &OutValue,math_Vector & G); - %feature("compactdefaultargs") NewParameters; - %feature("autodoc", " :rtype: math_Vector -") NewParameters; - const math_Vector & NewParameters (); + :rtype: None") AppDef_BSpParFunctionOfMyBSplGradientOfBSplineCompute; + AppDef_BSpParFunctionOfMyBSplGradientOfBSplineCompute (const AppDef_MultiLine & SSP,const Standard_Integer FirstPoint,const Standard_Integer LastPoint,const opencascade::handle & TheConstraints,const math_Vector & Parameters,const TColStd_Array1OfReal & Knots,const TColStd_Array1OfInteger & Mults,const Standard_Integer NbPol); + + /****************** CurveValue ******************/ %feature("compactdefaultargs") CurveValue; - %feature("autodoc", " :rtype: AppParCurves_MultiBSpCurve -") CurveValue; + %feature("autodoc", "* returns the MultiBSpCurve approximating the set after computing the value F or Grad(F). + :rtype: AppParCurves_MultiBSpCurve") CurveValue; AppParCurves_MultiBSpCurve CurveValue (); + + /****************** DerivativeFunctionMatrix ******************/ + %feature("compactdefaultargs") DerivativeFunctionMatrix; + %feature("autodoc", "* returns the derivative function matrix used to approximate the multiline. + :rtype: math_Matrix") DerivativeFunctionMatrix; + const math_Matrix & DerivativeFunctionMatrix (); + + /****************** Error ******************/ %feature("compactdefaultargs") Error; - %feature("autodoc", " :param IPoint: + %feature("autodoc", "* returns the distance between the MultiPoint of range IPoint and the curve CurveIndex. + :param IPoint: :type IPoint: int :param CurveIndex: :type CurveIndex: int - :rtype: float -") Error; + :rtype: float") Error; Standard_Real Error (const Standard_Integer IPoint,const Standard_Integer CurveIndex); - %feature("compactdefaultargs") MaxError3d; - %feature("autodoc", " :rtype: float -") MaxError3d; - Standard_Real MaxError3d (); - %feature("compactdefaultargs") MaxError2d; - %feature("autodoc", " :rtype: float -") MaxError2d; - Standard_Real MaxError2d (); + + /****************** FirstConstraint ******************/ + %feature("compactdefaultargs") FirstConstraint; + %feature("autodoc", ":param TheConstraints: + :type TheConstraints: opencascade::handle & + :param FirstPoint: + :type FirstPoint: int + :rtype: AppParCurves_Constraint") FirstConstraint; + AppParCurves_Constraint FirstConstraint (const opencascade::handle & TheConstraints,const Standard_Integer FirstPoint); + + /****************** FunctionMatrix ******************/ %feature("compactdefaultargs") FunctionMatrix; - %feature("autodoc", " :rtype: math_Matrix -") FunctionMatrix; + %feature("autodoc", "* returns the function matrix used to approximate the multiline. + :rtype: math_Matrix") FunctionMatrix; const math_Matrix & FunctionMatrix (); - %feature("compactdefaultargs") DerivativeFunctionMatrix; - %feature("autodoc", " :rtype: math_Matrix -") DerivativeFunctionMatrix; - const math_Matrix & DerivativeFunctionMatrix (); + + /****************** Gradient ******************/ + %feature("compactdefaultargs") Gradient; + %feature("autodoc", "* returns the gradient G of the sum above for the parameters Xi. + :param X: + :type X: math_Vector & + :param G: + :type G: math_Vector & + :rtype: bool") Gradient; + Standard_Boolean Gradient (const math_Vector & X,math_Vector & G); + + /****************** Index ******************/ %feature("compactdefaultargs") Index; - %feature("autodoc", " :rtype: math_IntegerVector -") Index; + %feature("autodoc", "* Returns the indexes of the first non null values of A and DA. The values are non null from Index(ieme point) +1 to Index(ieme point) + degree +1. + :rtype: math_IntegerVector") Index; const math_IntegerVector & Index (); - %feature("compactdefaultargs") FirstConstraint; - %feature("autodoc", " :param TheConstraints: - :type TheConstraints: Handle_AppParCurves_HArray1OfConstraintCouple & - :param FirstPoint: - :type FirstPoint: int - :rtype: AppParCurves_Constraint -") FirstConstraint; - AppParCurves_Constraint FirstConstraint (const Handle_AppParCurves_HArray1OfConstraintCouple & TheConstraints,const Standard_Integer FirstPoint); + + /****************** LastConstraint ******************/ %feature("compactdefaultargs") LastConstraint; - %feature("autodoc", " :param TheConstraints: - :type TheConstraints: Handle_AppParCurves_HArray1OfConstraintCouple & + %feature("autodoc", ":param TheConstraints: + :type TheConstraints: opencascade::handle & :param LastPoint: :type LastPoint: int - :rtype: AppParCurves_Constraint -") LastConstraint; - AppParCurves_Constraint LastConstraint (const Handle_AppParCurves_HArray1OfConstraintCouple & TheConstraints,const Standard_Integer LastPoint); + :rtype: AppParCurves_Constraint") LastConstraint; + AppParCurves_Constraint LastConstraint (const opencascade::handle & TheConstraints,const Standard_Integer LastPoint); + + /****************** MaxError2d ******************/ + %feature("compactdefaultargs") MaxError2d; + %feature("autodoc", "* returns the maximum distance between the points and the MultiBSpCurve. + :rtype: float") MaxError2d; + Standard_Real MaxError2d (); + + /****************** MaxError3d ******************/ + %feature("compactdefaultargs") MaxError3d; + %feature("autodoc", "* returns the maximum distance between the points and the MultiBSpCurve. + :rtype: float") MaxError3d; + Standard_Real MaxError3d (); + + /****************** NbVariables ******************/ + %feature("compactdefaultargs") NbVariables; + %feature("autodoc", "* returns the number of variables of the function. It corresponds to the number of MultiPoints. + :rtype: int") NbVariables; + Standard_Integer NbVariables (); + + /****************** NewParameters ******************/ + %feature("compactdefaultargs") NewParameters; + %feature("autodoc", "* returns the new parameters of the MultiLine. + :rtype: math_Vector") NewParameters; + const math_Vector & NewParameters (); + + /****************** SetFirstLambda ******************/ %feature("compactdefaultargs") SetFirstLambda; - %feature("autodoc", " :param l1: + %feature("autodoc", ":param l1: :type l1: float - :rtype: None -") SetFirstLambda; + :rtype: None") SetFirstLambda; void SetFirstLambda (const Standard_Real l1); + + /****************** SetLastLambda ******************/ %feature("compactdefaultargs") SetLastLambda; - %feature("autodoc", " :param l2: + %feature("autodoc", ":param l2: :type l2: float - :rtype: None -") SetLastLambda; + :rtype: None") SetLastLambda; void SetLastLambda (const Standard_Real l2); + + /****************** Value ******************/ + %feature("compactdefaultargs") Value; + %feature("autodoc", "* this method computes the new approximation of the MultiLine SSP and calculates F = sum (||Pui - Bi*Pi||2) for each point of the MultiLine. + :param X: + :type X: math_Vector & + :param F: + :type F: float & + :rtype: bool") Value; + Standard_Boolean Value (const math_Vector & X,Standard_Real &OutValue); + + /****************** Values ******************/ + %feature("compactdefaultargs") Values; + %feature("autodoc", "* returns the value F=sum(||Pui - Bi*Pi||)2. returns the value G = grad(F) for the parameters Xi. + :param X: + :type X: math_Vector & + :param F: + :type F: float & + :param G: + :type G: math_Vector & + :rtype: bool") Values; + Standard_Boolean Values (const math_Vector & X,Standard_Real &OutValue,math_Vector & G); + }; @@ -345,11 +317,17 @@ class AppDef_BSpParFunctionOfMyBSplGradientOfBSplineCompute : public math_Multip __repr__ = _dumps_object } }; + +/***************************************************************** +* class AppDef_BSpParLeastSquareOfMyBSplGradientOfBSplineCompute * +*****************************************************************/ %nodefaultctor AppDef_BSpParLeastSquareOfMyBSplGradientOfBSplineCompute; class AppDef_BSpParLeastSquareOfMyBSplGradientOfBSplineCompute { public: + /****************** AppDef_BSpParLeastSquareOfMyBSplGradientOfBSplineCompute ******************/ %feature("compactdefaultargs") AppDef_BSpParLeastSquareOfMyBSplGradientOfBSplineCompute; - %feature("autodoc", " :param SSP: + %feature("autodoc", "* given a MultiLine, this algorithm computes the least square resolution using the Householder-QR method. If the first and/or the last point is a constraint point, the value of the tangency or curvature is computed in the resolution. NbPol is the number of control points wanted for the approximating curves. The system to solve is the following: A X = B. Where A is the Bernstein matrix computed with the parameters, B the points coordinates and X the poles solutions. The matrix A is the same for each coordinate x, y and z and is also the same for each MultiLine point because they are approximated in parallel(so with the same parameter, only the vector B changes). + :param SSP: :type SSP: AppDef_MultiLine & :param FirstPoint: :type FirstPoint: int @@ -363,11 +341,13 @@ class AppDef_BSpParLeastSquareOfMyBSplGradientOfBSplineCompute { :type Parameters: math_Vector & :param NbPol: :type NbPol: int - :rtype: None -") AppDef_BSpParLeastSquareOfMyBSplGradientOfBSplineCompute; + :rtype: None") AppDef_BSpParLeastSquareOfMyBSplGradientOfBSplineCompute; AppDef_BSpParLeastSquareOfMyBSplGradientOfBSplineCompute (const AppDef_MultiLine & SSP,const Standard_Integer FirstPoint,const Standard_Integer LastPoint,const AppParCurves_Constraint FirstCons,const AppParCurves_Constraint LastCons,const math_Vector & Parameters,const Standard_Integer NbPol); + + /****************** AppDef_BSpParLeastSquareOfMyBSplGradientOfBSplineCompute ******************/ %feature("compactdefaultargs") AppDef_BSpParLeastSquareOfMyBSplGradientOfBSplineCompute; - %feature("autodoc", " :param SSP: + %feature("autodoc", "* Initializes the fields of the object. + :param SSP: :type SSP: AppDef_MultiLine & :param FirstPoint: :type FirstPoint: int @@ -379,11 +359,13 @@ class AppDef_BSpParLeastSquareOfMyBSplGradientOfBSplineCompute { :type LastCons: AppParCurves_Constraint :param NbPol: :type NbPol: int - :rtype: None -") AppDef_BSpParLeastSquareOfMyBSplGradientOfBSplineCompute; + :rtype: None") AppDef_BSpParLeastSquareOfMyBSplGradientOfBSplineCompute; AppDef_BSpParLeastSquareOfMyBSplGradientOfBSplineCompute (const AppDef_MultiLine & SSP,const Standard_Integer FirstPoint,const Standard_Integer LastPoint,const AppParCurves_Constraint FirstCons,const AppParCurves_Constraint LastCons,const Standard_Integer NbPol); + + /****************** AppDef_BSpParLeastSquareOfMyBSplGradientOfBSplineCompute ******************/ %feature("compactdefaultargs") AppDef_BSpParLeastSquareOfMyBSplGradientOfBSplineCompute; - %feature("autodoc", " :param SSP: + %feature("autodoc", "* given a MultiLine, this algorithm computes the least square resolution using the Householder-QR method. If the first and/or the last point is a constraint point, the value of the tangency or curvature is computed in the resolution. Deg is the degree wanted for the approximating curves. The system to solve is the following: A X = B. Where A is the BSpline functions matrix computed with , B the points coordinates and X the poles solutions. The matrix A is the same for each coordinate x, y and z and is also the same for each MultiLine point because they are approximated in parallel(so with the same parameter, only the vector B changes). + :param SSP: :type SSP: AppDef_MultiLine & :param Knots: :type Knots: TColStd_Array1OfReal & @@ -401,11 +383,13 @@ class AppDef_BSpParLeastSquareOfMyBSplGradientOfBSplineCompute { :type Parameters: math_Vector & :param NbPol: :type NbPol: int - :rtype: None -") AppDef_BSpParLeastSquareOfMyBSplGradientOfBSplineCompute; + :rtype: None") AppDef_BSpParLeastSquareOfMyBSplGradientOfBSplineCompute; AppDef_BSpParLeastSquareOfMyBSplGradientOfBSplineCompute (const AppDef_MultiLine & SSP,const TColStd_Array1OfReal & Knots,const TColStd_Array1OfInteger & Mults,const Standard_Integer FirstPoint,const Standard_Integer LastPoint,const AppParCurves_Constraint FirstCons,const AppParCurves_Constraint LastCons,const math_Vector & Parameters,const Standard_Integer NbPol); + + /****************** AppDef_BSpParLeastSquareOfMyBSplGradientOfBSplineCompute ******************/ %feature("compactdefaultargs") AppDef_BSpParLeastSquareOfMyBSplGradientOfBSplineCompute; - %feature("autodoc", " :param SSP: + %feature("autodoc", "* Initializes the fields of the object. + :param SSP: :type SSP: AppDef_MultiLine & :param Knots: :type Knots: TColStd_Array1OfReal & @@ -421,27 +405,113 @@ class AppDef_BSpParLeastSquareOfMyBSplGradientOfBSplineCompute { :type LastCons: AppParCurves_Constraint :param NbPol: :type NbPol: int - :rtype: None -") AppDef_BSpParLeastSquareOfMyBSplGradientOfBSplineCompute; + :rtype: None") AppDef_BSpParLeastSquareOfMyBSplGradientOfBSplineCompute; AppDef_BSpParLeastSquareOfMyBSplGradientOfBSplineCompute (const AppDef_MultiLine & SSP,const TColStd_Array1OfReal & Knots,const TColStd_Array1OfInteger & Mults,const Standard_Integer FirstPoint,const Standard_Integer LastPoint,const AppParCurves_Constraint FirstCons,const AppParCurves_Constraint LastCons,const Standard_Integer NbPol); + + /****************** BSplineValue ******************/ + %feature("compactdefaultargs") BSplineValue; + %feature("autodoc", "* returns the result of the approximation, i.e. all the Curves. An exception is raised if NotDone. + :rtype: AppParCurves_MultiBSpCurve") BSplineValue; + const AppParCurves_MultiBSpCurve & BSplineValue (); + + /****************** BezierValue ******************/ + %feature("compactdefaultargs") BezierValue; + %feature("autodoc", "* returns the result of the approximation, i.e. all the Curves. An exception is raised if NotDone. + :rtype: AppParCurves_MultiCurve") BezierValue; + AppParCurves_MultiCurve BezierValue (); + + /****************** DerivativeFunctionMatrix ******************/ + %feature("compactdefaultargs") DerivativeFunctionMatrix; + %feature("autodoc", "* returns the derivative function matrix used to approximate the set. + :rtype: math_Matrix") DerivativeFunctionMatrix; + const math_Matrix & DerivativeFunctionMatrix (); + + /****************** Distance ******************/ + %feature("compactdefaultargs") Distance; + %feature("autodoc", "* returns the distances between the points of the multiline and the approximation curves. + :rtype: math_Matrix") Distance; + const math_Matrix & Distance (); + + /****************** Error ******************/ + %feature("compactdefaultargs") Error; + %feature("autodoc", "* returns the maximum errors between the MultiLine and the approximation curves. F is the sum of the square distances. + :param F: + :type F: float & + :param MaxE3d: + :type MaxE3d: float & + :param MaxE2d: + :type MaxE2d: float & + :rtype: None") Error; + void Error (Standard_Real &OutValue,Standard_Real &OutValue,Standard_Real &OutValue); + + /****************** ErrorGradient ******************/ + %feature("compactdefaultargs") ErrorGradient; + %feature("autodoc", "* returns the maximum errors between the MultiLine and the approximation curves. F is the sum of the square distances. Grad is the derivative vector of the function F. + :param Grad: + :type Grad: math_Vector & + :param F: + :type F: float & + :param MaxE3d: + :type MaxE3d: float & + :param MaxE2d: + :type MaxE2d: float & + :rtype: None") ErrorGradient; + void ErrorGradient (math_Vector & Grad,Standard_Real &OutValue,Standard_Real &OutValue,Standard_Real &OutValue); + + /****************** FirstLambda ******************/ + %feature("compactdefaultargs") FirstLambda; + %feature("autodoc", "* returns the value (P2 - P1)/ V1 if the first point was a tangency point. + :rtype: float") FirstLambda; + Standard_Real FirstLambda (); + + /****************** FunctionMatrix ******************/ + %feature("compactdefaultargs") FunctionMatrix; + %feature("autodoc", "* returns the function matrix used to approximate the set. + :rtype: math_Matrix") FunctionMatrix; + const math_Matrix & FunctionMatrix (); + + /****************** IsDone ******************/ + %feature("compactdefaultargs") IsDone; + %feature("autodoc", "* returns True if all has been correctly done. + :rtype: bool") IsDone; + Standard_Boolean IsDone (); + + /****************** KIndex ******************/ + %feature("compactdefaultargs") KIndex; + %feature("autodoc", "* Returns the indexes of the first non null values of A and DA. The values are non null from Index(ieme point) +1 to Index(ieme point) + degree +1. + :rtype: math_IntegerVector") KIndex; + const math_IntegerVector & KIndex (); + + /****************** LastLambda ******************/ + %feature("compactdefaultargs") LastLambda; + %feature("autodoc", "* returns the value (PN - PN-1)/ VN if the last point was a tangency point. + :rtype: float") LastLambda; + Standard_Real LastLambda (); + + /****************** Perform ******************/ %feature("compactdefaultargs") Perform; - %feature("autodoc", " :param Parameters: + %feature("autodoc", "* Is used after having initialized the fields. The case 'CurvaturePoint' is not treated in this method. + :param Parameters: :type Parameters: math_Vector & - :rtype: None -") Perform; + :rtype: None") Perform; void Perform (const math_Vector & Parameters); + + /****************** Perform ******************/ %feature("compactdefaultargs") Perform; - %feature("autodoc", " :param Parameters: + %feature("autodoc", "* Is used after having initialized the fields. + :param Parameters: :type Parameters: math_Vector & :param l1: :type l1: float :param l2: :type l2: float - :rtype: None -") Perform; + :rtype: None") Perform; void Perform (const math_Vector & Parameters,const Standard_Real l1,const Standard_Real l2); + + /****************** Perform ******************/ %feature("compactdefaultargs") Perform; - %feature("autodoc", " :param Parameters: + %feature("autodoc", "* Is used after having initialized the fields. is the tangent vector at the first point. is the tangent vector at the last point. + :param Parameters: :type Parameters: math_Vector & :param V1t: :type V1t: math_Vector & @@ -451,11 +521,13 @@ class AppDef_BSpParLeastSquareOfMyBSplGradientOfBSplineCompute { :type l1: float :param l2: :type l2: float - :rtype: None -") Perform; + :rtype: None") Perform; void Perform (const math_Vector & Parameters,const math_Vector & V1t,const math_Vector & V2t,const Standard_Real l1,const Standard_Real l2); + + /****************** Perform ******************/ %feature("compactdefaultargs") Perform; - %feature("autodoc", " :param Parameters: + %feature("autodoc", "* Is used after having initialized the fields. is the tangent vector at the first point. is the tangent vector at the last point. is the tangent vector at the first point. is the tangent vector at the last point. + :param Parameters: :type Parameters: math_Vector & :param V1t: :type V1t: math_Vector & @@ -469,75 +541,21 @@ class AppDef_BSpParLeastSquareOfMyBSplGradientOfBSplineCompute { :type l1: float :param l2: :type l2: float - :rtype: None -") Perform; + :rtype: None") Perform; void Perform (const math_Vector & Parameters,const math_Vector & V1t,const math_Vector & V2t,const math_Vector & V1c,const math_Vector & V2c,const Standard_Real l1,const Standard_Real l2); - %feature("compactdefaultargs") IsDone; - %feature("autodoc", " :rtype: bool -") IsDone; - Standard_Boolean IsDone (); - %feature("compactdefaultargs") BezierValue; - %feature("autodoc", " :rtype: AppParCurves_MultiCurve -") BezierValue; - AppParCurves_MultiCurve BezierValue (); - %feature("compactdefaultargs") BSplineValue; - %feature("autodoc", " :rtype: AppParCurves_MultiBSpCurve -") BSplineValue; - const AppParCurves_MultiBSpCurve & BSplineValue (); - %feature("compactdefaultargs") FunctionMatrix; - %feature("autodoc", " :rtype: math_Matrix -") FunctionMatrix; - const math_Matrix & FunctionMatrix (); - %feature("compactdefaultargs") DerivativeFunctionMatrix; - %feature("autodoc", " :rtype: math_Matrix -") DerivativeFunctionMatrix; - const math_Matrix & DerivativeFunctionMatrix (); - %feature("compactdefaultargs") ErrorGradient; - %feature("autodoc", " :param Grad: - :type Grad: math_Vector & - :param F: - :type F: float & - :param MaxE3d: - :type MaxE3d: float & - :param MaxE2d: - :type MaxE2d: float & - :rtype: None -") ErrorGradient; - void ErrorGradient (math_Vector & Grad,Standard_Real &OutValue,Standard_Real &OutValue,Standard_Real &OutValue); - %feature("compactdefaultargs") Distance; - %feature("autodoc", " :rtype: math_Matrix -") Distance; - const math_Matrix & Distance (); - %feature("compactdefaultargs") Error; - %feature("autodoc", " :param F: - :type F: float & - :param MaxE3d: - :type MaxE3d: float & - :param MaxE2d: - :type MaxE2d: float & - :rtype: None -") Error; - void Error (Standard_Real &OutValue,Standard_Real &OutValue,Standard_Real &OutValue); - %feature("compactdefaultargs") FirstLambda; - %feature("autodoc", " :rtype: float -") FirstLambda; - Standard_Real FirstLambda (); - %feature("compactdefaultargs") LastLambda; - %feature("autodoc", " :rtype: float -") LastLambda; - Standard_Real LastLambda (); + + /****************** Points ******************/ %feature("compactdefaultargs") Points; - %feature("autodoc", " :rtype: math_Matrix -") Points; + %feature("autodoc", "* returns the matrix of points value. + :rtype: math_Matrix") Points; const math_Matrix & Points (); + + /****************** Poles ******************/ %feature("compactdefaultargs") Poles; - %feature("autodoc", " :rtype: math_Matrix -") Poles; + %feature("autodoc", "* returns the matrix of resulting control points value. + :rtype: math_Matrix") Poles; const math_Matrix & Poles (); - %feature("compactdefaultargs") KIndex; - %feature("autodoc", " :rtype: math_IntegerVector -") KIndex; - const math_IntegerVector & KIndex (); + }; @@ -546,11 +564,17 @@ class AppDef_BSpParLeastSquareOfMyBSplGradientOfBSplineCompute { __repr__ = _dumps_object } }; + +/****************************** +* class AppDef_BSplineCompute * +******************************/ %nodefaultctor AppDef_BSplineCompute; class AppDef_BSplineCompute { public: + /****************** AppDef_BSplineCompute ******************/ %feature("compactdefaultargs") AppDef_BSplineCompute; - %feature("autodoc", " :param Line: + %feature("autodoc", "* The MultiLine will be approximated until tolerances will be reached. The approximation will be done from degreemin to degreemax with a cutting if the corresponding boolean is True. If is True, the computation will be done with no iteration at all. //! The multiplicities of the internal knots is set by default. + :param Line: :type Line: AppDef_MultiLine & :param degreemin: default value is 4 :type degreemin: int @@ -568,11 +592,13 @@ class AppDef_BSplineCompute { :type parametrization: Approx_ParametrizationType :param Squares: default value is Standard_False :type Squares: bool - :rtype: None -") AppDef_BSplineCompute; + :rtype: None") AppDef_BSplineCompute; AppDef_BSplineCompute (const AppDef_MultiLine & Line,const Standard_Integer degreemin = 4,const Standard_Integer degreemax = 8,const Standard_Real Tolerance3d = 1.0e-3,const Standard_Real Tolerance2d = 1.0e-6,const Standard_Integer NbIterations = 5,const Standard_Boolean cutting = Standard_True,const Approx_ParametrizationType parametrization = Approx_ChordLength,const Standard_Boolean Squares = Standard_False); + + /****************** AppDef_BSplineCompute ******************/ %feature("compactdefaultargs") AppDef_BSplineCompute; - %feature("autodoc", " :param Line: + %feature("autodoc", "* The MultiLine will be approximated until tolerances will be reached. The approximation will be done from degreemin to degreemax with a cutting if the corresponding boolean is True. If is True, the computation will be done with no iteration at all. + :param Line: :type Line: AppDef_MultiLine & :param Parameters: :type Parameters: math_Vector & @@ -590,11 +616,13 @@ class AppDef_BSplineCompute { :type cutting: bool :param Squares: default value is Standard_False :type Squares: bool - :rtype: None -") AppDef_BSplineCompute; + :rtype: None") AppDef_BSplineCompute; AppDef_BSplineCompute (const AppDef_MultiLine & Line,const math_Vector & Parameters,const Standard_Integer degreemin = 4,const Standard_Integer degreemax = 8,const Standard_Real Tolerance3d = 1.0e-03,const Standard_Real Tolerance2d = 1.0e-06,const Standard_Integer NbIterations = 5,const Standard_Boolean cutting = Standard_True,const Standard_Boolean Squares = Standard_False); + + /****************** AppDef_BSplineCompute ******************/ %feature("compactdefaultargs") AppDef_BSplineCompute; - %feature("autodoc", " :param Parameters: + %feature("autodoc", "* Initializes the fields of the algorithm. + :param Parameters: :type Parameters: math_Vector & :param degreemin: default value is 4 :type degreemin: int @@ -610,11 +638,13 @@ class AppDef_BSplineCompute { :type cutting: bool :param Squares: default value is Standard_False :type Squares: bool - :rtype: None -") AppDef_BSplineCompute; + :rtype: None") AppDef_BSplineCompute; AppDef_BSplineCompute (const math_Vector & Parameters,const Standard_Integer degreemin = 4,const Standard_Integer degreemax = 8,const Standard_Real Tolerance3d = 1.0e-03,const Standard_Real Tolerance2d = 1.0e-06,const Standard_Integer NbIterations = 5,const Standard_Boolean cutting = Standard_True,const Standard_Boolean Squares = Standard_False); + + /****************** AppDef_BSplineCompute ******************/ %feature("compactdefaultargs") AppDef_BSplineCompute; - %feature("autodoc", " :param degreemin: default value is 4 + %feature("autodoc", "* Initializes the fields of the algorithm. + :param degreemin: default value is 4 :type degreemin: int :param degreemax: default value is 8 :type degreemax: int @@ -630,17 +660,29 @@ class AppDef_BSplineCompute { :type parametrization: Approx_ParametrizationType :param Squares: default value is Standard_False :type Squares: bool - :rtype: None -") AppDef_BSplineCompute; + :rtype: None") AppDef_BSplineCompute; AppDef_BSplineCompute (const Standard_Integer degreemin = 4,const Standard_Integer degreemax = 8,const Standard_Real Tolerance3d = 1.0e-03,const Standard_Real Tolerance2d = 1.0e-06,const Standard_Integer NbIterations = 5,const Standard_Boolean cutting = Standard_True,const Approx_ParametrizationType parametrization = Approx_ChordLength,const Standard_Boolean Squares = Standard_False); - %feature("compactdefaultargs") Interpol; - %feature("autodoc", " :param Line: - :type Line: AppDef_MultiLine & - :rtype: None -") Interpol; - void Interpol (const AppDef_MultiLine & Line); + + /****************** ChangeValue ******************/ + %feature("compactdefaultargs") ChangeValue; + %feature("autodoc", "* returns the result of the approximation. + :rtype: AppParCurves_MultiBSpCurve") ChangeValue; + AppParCurves_MultiBSpCurve & ChangeValue (); + + /****************** Error ******************/ + %feature("compactdefaultargs") Error; + %feature("autodoc", "* returns the tolerances 2d and 3d of the MultiBSpCurve. + :param tol3d: + :type tol3d: float & + :param tol2d: + :type tol2d: float & + :rtype: None") Error; + void Error (Standard_Real &OutValue,Standard_Real &OutValue); + + /****************** Init ******************/ %feature("compactdefaultargs") Init; - %feature("autodoc", " :param degreemin: default value is 4 + %feature("autodoc", "* Initializes the fields of the algorithm. + :param degreemin: default value is 4 :type degreemin: int :param degreemax: default value is 8 :type degreemax: int @@ -656,93 +698,121 @@ class AppDef_BSplineCompute { :type parametrization: Approx_ParametrizationType :param Squares: default value is Standard_False :type Squares: bool - :rtype: None -") Init; + :rtype: None") Init; void Init (const Standard_Integer degreemin = 4,const Standard_Integer degreemax = 8,const Standard_Real Tolerance3d = 1.0e-03,const Standard_Real Tolerance2d = 1.0e-06,const Standard_Integer NbIterations = 5,const Standard_Boolean cutting = Standard_True,const Approx_ParametrizationType parametrization = Approx_ChordLength,const Standard_Boolean Squares = Standard_False); + + /****************** Interpol ******************/ + %feature("compactdefaultargs") Interpol; + %feature("autodoc", "* Constructs an interpolation of the MultiLine The result will be a C2 curve of degree 3. + :param Line: + :type Line: AppDef_MultiLine & + :rtype: None") Interpol; + void Interpol (const AppDef_MultiLine & Line); + + /****************** IsAllApproximated ******************/ + %feature("compactdefaultargs") IsAllApproximated; + %feature("autodoc", "* returns False if at a moment of the approximation, the status NoApproximation has been sent by the user when more points were needed. + :rtype: bool") IsAllApproximated; + Standard_Boolean IsAllApproximated (); + + /****************** IsToleranceReached ******************/ + %feature("compactdefaultargs") IsToleranceReached; + %feature("autodoc", "* returns False if the status NoPointsAdded has been sent. + :rtype: bool") IsToleranceReached; + Standard_Boolean IsToleranceReached (); + + /****************** Parameters ******************/ + %feature("compactdefaultargs") Parameters; + %feature("autodoc", "* returns the new parameters of the approximation corresponding to the points of the MultiBSpCurve. + :rtype: TColStd_Array1OfReal") Parameters; + const TColStd_Array1OfReal & Parameters (); + + /****************** Perform ******************/ %feature("compactdefaultargs") Perform; - %feature("autodoc", " :param Line: + %feature("autodoc", "* runs the algorithm after having initialized the fields. + :param Line: :type Line: AppDef_MultiLine & - :rtype: None -") Perform; + :rtype: None") Perform; void Perform (const AppDef_MultiLine & Line); - %feature("compactdefaultargs") SetParameters; - %feature("autodoc", " :param ThePar: - :type ThePar: math_Vector & - :rtype: None -") SetParameters; - void SetParameters (const math_Vector & ThePar); - %feature("compactdefaultargs") SetKnots; - %feature("autodoc", " :param Knots: - :type Knots: TColStd_Array1OfReal & - :rtype: None -") SetKnots; - void SetKnots (const TColStd_Array1OfReal & Knots); - %feature("compactdefaultargs") SetKnotsAndMultiplicities; - %feature("autodoc", " :param Knots: - :type Knots: TColStd_Array1OfReal & - :param Mults: - :type Mults: TColStd_Array1OfInteger & - :rtype: None -") SetKnotsAndMultiplicities; - void SetKnotsAndMultiplicities (const TColStd_Array1OfReal & Knots,const TColStd_Array1OfInteger & Mults); + + /****************** SetConstraints ******************/ + %feature("compactdefaultargs") SetConstraints; + %feature("autodoc", "* changes the first and the last constraint points. + :param firstC: + :type firstC: AppParCurves_Constraint + :param lastC: + :type lastC: AppParCurves_Constraint + :rtype: None") SetConstraints; + void SetConstraints (const AppParCurves_Constraint firstC,const AppParCurves_Constraint lastC); + + /****************** SetContinuity ******************/ + %feature("compactdefaultargs") SetContinuity; + %feature("autodoc", "* sets the continuity of the spline. if C = 2, the spline will be C2. + :param C: + :type C: int + :rtype: None") SetContinuity; + void SetContinuity (const Standard_Integer C); + + /****************** SetDegrees ******************/ %feature("compactdefaultargs") SetDegrees; - %feature("autodoc", " :param degreemin: + %feature("autodoc", "* changes the degrees of the approximation. + :param degreemin: :type degreemin: int :param degreemax: :type degreemax: int - :rtype: None -") SetDegrees; + :rtype: None") SetDegrees; void SetDegrees (const Standard_Integer degreemin,const Standard_Integer degreemax); + + /****************** SetKnots ******************/ + %feature("compactdefaultargs") SetKnots; + %feature("autodoc", "* The approximation will be done with the set of knots . The multiplicities will be set with the degree and the desired continuity. + :param Knots: + :type Knots: TColStd_Array1OfReal & + :rtype: None") SetKnots; + void SetKnots (const TColStd_Array1OfReal & Knots); + + /****************** SetKnotsAndMultiplicities ******************/ + %feature("compactdefaultargs") SetKnotsAndMultiplicities; + %feature("autodoc", "* The approximation will be done with the set of knots and the multiplicities . + :param Knots: + :type Knots: TColStd_Array1OfReal & + :param Mults: + :type Mults: TColStd_Array1OfInteger & + :rtype: None") SetKnotsAndMultiplicities; + void SetKnotsAndMultiplicities (const TColStd_Array1OfReal & Knots,const TColStd_Array1OfInteger & Mults); + + /****************** SetParameters ******************/ + %feature("compactdefaultargs") SetParameters; + %feature("autodoc", "* The approximation will begin with the set of parameters . + :param ThePar: + :type ThePar: math_Vector & + :rtype: None") SetParameters; + void SetParameters (const math_Vector & ThePar); + + /****************** SetPeriodic ******************/ + %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. + :param thePeriodic: + :type thePeriodic: bool + :rtype: None") SetPeriodic; + void SetPeriodic (const Standard_Boolean thePeriodic); + + /****************** SetTolerances ******************/ %feature("compactdefaultargs") SetTolerances; - %feature("autodoc", " :param Tolerance3d: + %feature("autodoc", "* Changes the tolerances of the approximation. + :param Tolerance3d: :type Tolerance3d: float :param Tolerance2d: :type Tolerance2d: float - :rtype: None -") SetTolerances; + :rtype: None") SetTolerances; void SetTolerances (const Standard_Real Tolerance3d,const Standard_Real Tolerance2d); - %feature("compactdefaultargs") SetContinuity; - %feature("autodoc", " :param C: - :type C: int - :rtype: None -") SetContinuity; - void SetContinuity (const Standard_Integer C); - %feature("compactdefaultargs") SetConstraints; - %feature("autodoc", " :param firstC: - :type firstC: AppParCurves_Constraint - :param lastC: - :type lastC: AppParCurves_Constraint - :rtype: None -") SetConstraints; - void SetConstraints (const AppParCurves_Constraint firstC,const AppParCurves_Constraint lastC); - %feature("compactdefaultargs") IsAllApproximated; - %feature("autodoc", " :rtype: bool -") IsAllApproximated; - Standard_Boolean IsAllApproximated (); - %feature("compactdefaultargs") IsToleranceReached; - %feature("autodoc", " :rtype: bool -") IsToleranceReached; - Standard_Boolean IsToleranceReached (); - %feature("compactdefaultargs") Error; - %feature("autodoc", " :param tol3d: - :type tol3d: float & - :param tol2d: - :type tol2d: float & - :rtype: None -") Error; - void Error (Standard_Real &OutValue,Standard_Real &OutValue); + + /****************** Value ******************/ %feature("compactdefaultargs") Value; - %feature("autodoc", " :rtype: AppParCurves_MultiBSpCurve -") Value; + %feature("autodoc", "* returns the result of the approximation. + :rtype: AppParCurves_MultiBSpCurve") Value; const AppParCurves_MultiBSpCurve & Value (); - %feature("compactdefaultargs") ChangeValue; - %feature("autodoc", " :rtype: AppParCurves_MultiBSpCurve -") ChangeValue; - AppParCurves_MultiBSpCurve & ChangeValue (); - %feature("compactdefaultargs") Parameters; - %feature("autodoc", " :rtype: TColStd_Array1OfReal -") Parameters; - const TColStd_Array1OfReal & Parameters (); + }; @@ -751,11 +821,17 @@ class AppDef_BSplineCompute { __repr__ = _dumps_object } }; + +/*********************** +* class AppDef_Compute * +***********************/ %nodefaultctor AppDef_Compute; class AppDef_Compute { public: + /****************** AppDef_Compute ******************/ %feature("compactdefaultargs") AppDef_Compute; - %feature("autodoc", " :param Line: + %feature("autodoc", "* The MultiLine will be approximated until tolerances will be reached. The approximation will be done from degreemin to degreemax with a cutting if the corresponding boolean is True. If is True, the computation will be done with no iteration at all. + :param Line: :type Line: AppDef_MultiLine & :param degreemin: default value is 4 :type degreemin: int @@ -773,11 +849,13 @@ class AppDef_Compute { :type parametrization: Approx_ParametrizationType :param Squares: default value is Standard_False :type Squares: bool - :rtype: None -") AppDef_Compute; + :rtype: None") AppDef_Compute; AppDef_Compute (const AppDef_MultiLine & Line,const Standard_Integer degreemin = 4,const Standard_Integer degreemax = 8,const Standard_Real Tolerance3d = 1.0e-3,const Standard_Real Tolerance2d = 1.0e-6,const Standard_Integer NbIterations = 5,const Standard_Boolean cutting = Standard_True,const Approx_ParametrizationType parametrization = Approx_ChordLength,const Standard_Boolean Squares = Standard_False); + + /****************** AppDef_Compute ******************/ %feature("compactdefaultargs") AppDef_Compute; - %feature("autodoc", " :param Line: + %feature("autodoc", "* The MultiLine will be approximated until tolerances will be reached. The approximation will be done from degreemin to degreemax with a cutting if the corresponding boolean is True. If is True, the computation will be done with no iteration at all. + :param Line: :type Line: AppDef_MultiLine & :param Parameters: :type Parameters: math_Vector & @@ -795,11 +873,13 @@ class AppDef_Compute { :type cutting: bool :param Squares: default value is Standard_False :type Squares: bool - :rtype: None -") AppDef_Compute; + :rtype: None") AppDef_Compute; AppDef_Compute (const AppDef_MultiLine & Line,const math_Vector & Parameters,const Standard_Integer degreemin = 4,const Standard_Integer degreemax = 8,const Standard_Real Tolerance3d = 1.0e-03,const Standard_Real Tolerance2d = 1.0e-06,const Standard_Integer NbIterations = 5,const Standard_Boolean cutting = Standard_True,const Standard_Boolean Squares = Standard_False); + + /****************** AppDef_Compute ******************/ %feature("compactdefaultargs") AppDef_Compute; - %feature("autodoc", " :param Parameters: + %feature("autodoc", "* Initializes the fields of the algorithm. + :param Parameters: :type Parameters: math_Vector & :param degreemin: default value is 4 :type degreemin: int @@ -815,11 +895,13 @@ class AppDef_Compute { :type cutting: bool :param Squares: default value is Standard_False :type Squares: bool - :rtype: None -") AppDef_Compute; + :rtype: None") AppDef_Compute; AppDef_Compute (const math_Vector & Parameters,const Standard_Integer degreemin = 4,const Standard_Integer degreemax = 8,const Standard_Real Tolerance3d = 1.0e-03,const Standard_Real Tolerance2d = 1.0e-06,const Standard_Integer NbIterations = 5,const Standard_Boolean cutting = Standard_True,const Standard_Boolean Squares = Standard_False); + + /****************** AppDef_Compute ******************/ %feature("compactdefaultargs") AppDef_Compute; - %feature("autodoc", " :param degreemin: default value is 4 + %feature("autodoc", "* Initializes the fields of the algorithm. + :param degreemin: default value is 4 :type degreemin: int :param degreemax: default value is 8 :type degreemax: int @@ -835,11 +917,33 @@ class AppDef_Compute { :type parametrization: Approx_ParametrizationType :param Squares: default value is Standard_False :type Squares: bool - :rtype: None -") AppDef_Compute; + :rtype: None") AppDef_Compute; AppDef_Compute (const Standard_Integer degreemin = 4,const Standard_Integer degreemax = 8,const Standard_Real Tolerance3d = 1.0e-03,const Standard_Real Tolerance2d = 1.0e-06,const Standard_Integer NbIterations = 5,const Standard_Boolean cutting = Standard_True,const Approx_ParametrizationType parametrization = Approx_ChordLength,const Standard_Boolean Squares = Standard_False); + + /****************** ChangeValue ******************/ + %feature("compactdefaultargs") ChangeValue; + %feature("autodoc", "* returns the result of the approximation. + :param Index: default value is 1 + :type Index: int + :rtype: AppParCurves_MultiCurve") ChangeValue; + AppParCurves_MultiCurve & ChangeValue (const Standard_Integer Index = 1); + + /****************** Error ******************/ + %feature("compactdefaultargs") Error; + %feature("autodoc", "* returns the tolerances 2d and 3d of the MultiCurve. + :param Index: + :type Index: int + :param tol3d: + :type tol3d: float & + :param tol2d: + :type tol2d: float & + :rtype: None") Error; + void Error (const Standard_Integer Index,Standard_Real &OutValue,Standard_Real &OutValue); + + /****************** Init ******************/ %feature("compactdefaultargs") Init; - %feature("autodoc", " :param degreemin: default value is 4 + %feature("autodoc", "* Initializes the fields of the algorithm. + :param degreemin: default value is 4 :type degreemin: int :param degreemax: default value is 8 :type degreemax: int @@ -855,89 +959,93 @@ class AppDef_Compute { :type parametrization: Approx_ParametrizationType :param Squares: default value is Standard_False :type Squares: bool - :rtype: None -") Init; + :rtype: None") Init; void Init (const Standard_Integer degreemin = 4,const Standard_Integer degreemax = 8,const Standard_Real Tolerance3d = 1.0e-03,const Standard_Real Tolerance2d = 1.0e-06,const Standard_Integer NbIterations = 5,const Standard_Boolean cutting = Standard_True,const Approx_ParametrizationType parametrization = Approx_ChordLength,const Standard_Boolean Squares = Standard_False); + + /****************** IsAllApproximated ******************/ + %feature("compactdefaultargs") IsAllApproximated; + %feature("autodoc", "* returns False if at a moment of the approximation, the status NoApproximation has been sent by the user when more points were needed. + :rtype: bool") IsAllApproximated; + Standard_Boolean IsAllApproximated (); + + /****************** IsToleranceReached ******************/ + %feature("compactdefaultargs") IsToleranceReached; + %feature("autodoc", "* returns False if the status NoPointsAdded has been sent. + :rtype: bool") IsToleranceReached; + Standard_Boolean IsToleranceReached (); + + /****************** NbMultiCurves ******************/ + %feature("compactdefaultargs") NbMultiCurves; + %feature("autodoc", "* Returns the number of MultiCurve doing the approximation of the MultiLine. + :rtype: int") NbMultiCurves; + Standard_Integer NbMultiCurves (); + + /****************** Parameters ******************/ + %feature("compactdefaultargs") Parameters; + %feature("autodoc", "* returns the new parameters of the approximation corresponding to the points of the multicurve . + :param Index: default value is 1 + :type Index: int + :rtype: TColStd_Array1OfReal") Parameters; + const TColStd_Array1OfReal & Parameters (const Standard_Integer Index = 1); + + /****************** Parametrization ******************/ + %feature("compactdefaultargs") Parametrization; + %feature("autodoc", "* returns the type of parametrization + :rtype: Approx_ParametrizationType") Parametrization; + Approx_ParametrizationType Parametrization (); + + /****************** Perform ******************/ %feature("compactdefaultargs") Perform; - %feature("autodoc", " :param Line: + %feature("autodoc", "* runs the algorithm after having initialized the fields. + :param Line: :type Line: AppDef_MultiLine & - :rtype: None -") Perform; + :rtype: None") Perform; void Perform (const AppDef_MultiLine & Line); + + /****************** SetConstraints ******************/ + %feature("compactdefaultargs") SetConstraints; + %feature("autodoc", "* changes the first and the last constraint points. + :param firstC: + :type firstC: AppParCurves_Constraint + :param lastC: + :type lastC: AppParCurves_Constraint + :rtype: None") SetConstraints; + void SetConstraints (const AppParCurves_Constraint firstC,const AppParCurves_Constraint lastC); + + /****************** SetDegrees ******************/ %feature("compactdefaultargs") SetDegrees; - %feature("autodoc", " :param degreemin: + %feature("autodoc", "* changes the degrees of the approximation. + :param degreemin: :type degreemin: int :param degreemax: :type degreemax: int - :rtype: None -") SetDegrees; + :rtype: None") SetDegrees; void SetDegrees (const Standard_Integer degreemin,const Standard_Integer degreemax); + + /****************** SetTolerances ******************/ %feature("compactdefaultargs") SetTolerances; - %feature("autodoc", " :param Tolerance3d: + %feature("autodoc", "* Changes the tolerances of the approximation. + :param Tolerance3d: :type Tolerance3d: float :param Tolerance2d: :type Tolerance2d: float - :rtype: None -") SetTolerances; + :rtype: None") SetTolerances; void SetTolerances (const Standard_Real Tolerance3d,const Standard_Real Tolerance2d); - %feature("compactdefaultargs") SetConstraints; - %feature("autodoc", " :param firstC: - :type firstC: AppParCurves_Constraint - :param lastC: - :type lastC: AppParCurves_Constraint - :rtype: None -") SetConstraints; - void SetConstraints (const AppParCurves_Constraint firstC,const AppParCurves_Constraint lastC); - %feature("compactdefaultargs") IsAllApproximated; - %feature("autodoc", " :rtype: bool -") IsAllApproximated; - Standard_Boolean IsAllApproximated (); - %feature("compactdefaultargs") IsToleranceReached; - %feature("autodoc", " :rtype: bool -") IsToleranceReached; - Standard_Boolean IsToleranceReached (); - %feature("compactdefaultargs") Error; - %feature("autodoc", " :param Index: - :type Index: int - :param tol3d: - :type tol3d: float & - :param tol2d: - :type tol2d: float & - :rtype: None -") Error; - void Error (const Standard_Integer Index,Standard_Real &OutValue,Standard_Real &OutValue); - %feature("compactdefaultargs") NbMultiCurves; - %feature("autodoc", " :rtype: int -") NbMultiCurves; - Standard_Integer NbMultiCurves (); - %feature("compactdefaultargs") Value; - %feature("autodoc", " :param Index: default value is 1 - :type Index: int - :rtype: AppParCurves_MultiCurve -") Value; - const AppParCurves_MultiCurve & Value (const Standard_Integer Index = 1); - %feature("compactdefaultargs") ChangeValue; - %feature("autodoc", " :param Index: default value is 1 - :type Index: int - :rtype: AppParCurves_MultiCurve -") ChangeValue; - AppParCurves_MultiCurve & ChangeValue (const Standard_Integer Index = 1); + + /****************** SplineValue ******************/ %feature("compactdefaultargs") SplineValue; - %feature("autodoc", " :rtype: AppParCurves_MultiBSpCurve -") SplineValue; + %feature("autodoc", "* returns the result of the approximation. + :rtype: AppParCurves_MultiBSpCurve") SplineValue; const AppParCurves_MultiBSpCurve & SplineValue (); - %feature("compactdefaultargs") Parametrization; - %feature("autodoc", " :param partype: - :type partype: Approx_ParametrizationType & - :rtype: None -") Parametrization; - void Parametrization (Approx_ParametrizationType & partype); - %feature("compactdefaultargs") Parameters; - %feature("autodoc", " :param Index: default value is 1 + + /****************** Value ******************/ + %feature("compactdefaultargs") Value; + %feature("autodoc", "* returns the result of the approximation. + :param Index: default value is 1 :type Index: int - :rtype: TColStd_Array1OfReal -") Parameters; - const TColStd_Array1OfReal & Parameters (const Standard_Integer Index = 1); + :rtype: AppParCurves_MultiCurve") Value; + const AppParCurves_MultiCurve & Value (const Standard_Integer Index = 1); + }; @@ -946,11 +1054,16 @@ class AppDef_Compute { __repr__ = _dumps_object } }; + +/************************************************** +* class AppDef_Gradient_BFGSOfMyGradientOfCompute * +**************************************************/ %nodefaultctor AppDef_Gradient_BFGSOfMyGradientOfCompute; class AppDef_Gradient_BFGSOfMyGradientOfCompute : public math_BFGS { public: + /****************** AppDef_Gradient_BFGSOfMyGradientOfCompute ******************/ %feature("compactdefaultargs") AppDef_Gradient_BFGSOfMyGradientOfCompute; - %feature("autodoc", " :param F: + %feature("autodoc", ":param F: :type F: math_MultipleVarFunctionWithGradient & :param StartingPoint: :type StartingPoint: math_Vector & @@ -962,15 +1075,16 @@ class AppDef_Gradient_BFGSOfMyGradientOfCompute : public math_BFGS { :type Eps: float :param NbIterations: default value is 200 :type NbIterations: int - :rtype: None -") AppDef_Gradient_BFGSOfMyGradientOfCompute; + :rtype: None") AppDef_Gradient_BFGSOfMyGradientOfCompute; AppDef_Gradient_BFGSOfMyGradientOfCompute (math_MultipleVarFunctionWithGradient & F,const math_Vector & StartingPoint,const Standard_Real Tolerance3d,const Standard_Real Tolerance2d,const Standard_Real Eps,const Standard_Integer NbIterations = 200); + + /****************** IsSolutionReached ******************/ %feature("compactdefaultargs") IsSolutionReached; - %feature("autodoc", " :param F: + %feature("autodoc", ":param F: :type F: math_MultipleVarFunctionWithGradient & - :rtype: bool -") IsSolutionReached; + :rtype: bool") IsSolutionReached; virtual Standard_Boolean IsSolutionReached (math_MultipleVarFunctionWithGradient & F); + }; @@ -979,11 +1093,16 @@ class AppDef_Gradient_BFGSOfMyGradientOfCompute : public math_BFGS { __repr__ = _dumps_object } }; + +/************************************************************ +* class AppDef_Gradient_BFGSOfMyGradientbisOfBSplineCompute * +************************************************************/ %nodefaultctor AppDef_Gradient_BFGSOfMyGradientbisOfBSplineCompute; class AppDef_Gradient_BFGSOfMyGradientbisOfBSplineCompute : public math_BFGS { public: + /****************** AppDef_Gradient_BFGSOfMyGradientbisOfBSplineCompute ******************/ %feature("compactdefaultargs") AppDef_Gradient_BFGSOfMyGradientbisOfBSplineCompute; - %feature("autodoc", " :param F: + %feature("autodoc", ":param F: :type F: math_MultipleVarFunctionWithGradient & :param StartingPoint: :type StartingPoint: math_Vector & @@ -995,15 +1114,16 @@ class AppDef_Gradient_BFGSOfMyGradientbisOfBSplineCompute : public math_BFGS { :type Eps: float :param NbIterations: default value is 200 :type NbIterations: int - :rtype: None -") AppDef_Gradient_BFGSOfMyGradientbisOfBSplineCompute; + :rtype: None") AppDef_Gradient_BFGSOfMyGradientbisOfBSplineCompute; AppDef_Gradient_BFGSOfMyGradientbisOfBSplineCompute (math_MultipleVarFunctionWithGradient & F,const math_Vector & StartingPoint,const Standard_Real Tolerance3d,const Standard_Real Tolerance2d,const Standard_Real Eps,const Standard_Integer NbIterations = 200); + + /****************** IsSolutionReached ******************/ %feature("compactdefaultargs") IsSolutionReached; - %feature("autodoc", " :param F: + %feature("autodoc", ":param F: :type F: math_MultipleVarFunctionWithGradient & - :rtype: bool -") IsSolutionReached; + :rtype: bool") IsSolutionReached; virtual Standard_Boolean IsSolutionReached (math_MultipleVarFunctionWithGradient & F); + }; @@ -1012,11 +1132,16 @@ class AppDef_Gradient_BFGSOfMyGradientbisOfBSplineCompute : public math_BFGS { __repr__ = _dumps_object } }; + +/****************************************** +* class AppDef_Gradient_BFGSOfTheGradient * +******************************************/ %nodefaultctor AppDef_Gradient_BFGSOfTheGradient; class AppDef_Gradient_BFGSOfTheGradient : public math_BFGS { public: + /****************** AppDef_Gradient_BFGSOfTheGradient ******************/ %feature("compactdefaultargs") AppDef_Gradient_BFGSOfTheGradient; - %feature("autodoc", " :param F: + %feature("autodoc", ":param F: :type F: math_MultipleVarFunctionWithGradient & :param StartingPoint: :type StartingPoint: math_Vector & @@ -1028,15 +1153,16 @@ class AppDef_Gradient_BFGSOfTheGradient : public math_BFGS { :type Eps: float :param NbIterations: default value is 200 :type NbIterations: int - :rtype: None -") AppDef_Gradient_BFGSOfTheGradient; + :rtype: None") AppDef_Gradient_BFGSOfTheGradient; AppDef_Gradient_BFGSOfTheGradient (math_MultipleVarFunctionWithGradient & F,const math_Vector & StartingPoint,const Standard_Real Tolerance3d,const Standard_Real Tolerance2d,const Standard_Real Eps,const Standard_Integer NbIterations = 200); + + /****************** IsSolutionReached ******************/ %feature("compactdefaultargs") IsSolutionReached; - %feature("autodoc", " :param F: + %feature("autodoc", ":param F: :type F: math_MultipleVarFunctionWithGradient & - :rtype: bool -") IsSolutionReached; + :rtype: bool") IsSolutionReached; virtual Standard_Boolean IsSolutionReached (math_MultipleVarFunctionWithGradient & F); + }; @@ -1045,198 +1171,90 @@ class AppDef_Gradient_BFGSOfTheGradient : public math_BFGS { __repr__ = _dumps_object } }; -%nodefaultctor AppDef_HArray1OfMultiPointConstraint; -class AppDef_HArray1OfMultiPointConstraint : public MMgt_TShared { - public: - %feature("compactdefaultargs") AppDef_HArray1OfMultiPointConstraint; - %feature("autodoc", " :param Low: - :type Low: int - :param Up: - :type Up: int - :rtype: None -") AppDef_HArray1OfMultiPointConstraint; - AppDef_HArray1OfMultiPointConstraint (const Standard_Integer Low,const Standard_Integer Up); - %feature("compactdefaultargs") AppDef_HArray1OfMultiPointConstraint; - %feature("autodoc", " :param Low: - :type Low: int - :param Up: - :type Up: int - :param V: - :type V: AppDef_MultiPointConstraint & - :rtype: None -") AppDef_HArray1OfMultiPointConstraint; - AppDef_HArray1OfMultiPointConstraint (const Standard_Integer Low,const Standard_Integer Up,const AppDef_MultiPointConstraint & V); - %feature("compactdefaultargs") Init; - %feature("autodoc", " :param V: - :type V: AppDef_MultiPointConstraint & - :rtype: None -") Init; - void Init (const AppDef_MultiPointConstraint & V); - %feature("compactdefaultargs") Length; - %feature("autodoc", " :rtype: int -") Length; - Standard_Integer Length (); - %feature("compactdefaultargs") Lower; - %feature("autodoc", " :rtype: int -") Lower; - Standard_Integer Lower (); - %feature("compactdefaultargs") Upper; - %feature("autodoc", " :rtype: int -") Upper; - Standard_Integer Upper (); - %feature("compactdefaultargs") SetValue; - %feature("autodoc", " :param Index: - :type Index: int - :param Value: - :type Value: AppDef_MultiPointConstraint & - :rtype: None -") SetValue; - void SetValue (const Standard_Integer Index,const AppDef_MultiPointConstraint & Value); - %feature("compactdefaultargs") Value; - %feature("autodoc", " :param Index: - :type Index: int - :rtype: AppDef_MultiPointConstraint -") Value; - const AppDef_MultiPointConstraint & Value (const Standard_Integer Index); - %feature("compactdefaultargs") ChangeValue; - %feature("autodoc", " :param Index: - :type Index: int - :rtype: AppDef_MultiPointConstraint -") ChangeValue; - AppDef_MultiPointConstraint & ChangeValue (const Standard_Integer Index); - %feature("compactdefaultargs") Array1; - %feature("autodoc", " :rtype: AppDef_Array1OfMultiPointConstraint -") Array1; - const AppDef_Array1OfMultiPointConstraint & Array1 (); - %feature("compactdefaultargs") ChangeArray1; - %feature("autodoc", " :rtype: AppDef_Array1OfMultiPointConstraint -") ChangeArray1; - AppDef_Array1OfMultiPointConstraint & ChangeArray1 (); -}; - - -%make_alias(AppDef_HArray1OfMultiPointConstraint) - - -%extend AppDef_HArray1OfMultiPointConstraint { - %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 - - } -}; -%extend AppDef_HArray1OfMultiPointConstraint { - %pythoncode { - __repr__ = _dumps_object - } -}; +/************************* +* class AppDef_MultiLine * +*************************/ %nodefaultctor AppDef_MultiLine; class AppDef_MultiLine { public: + /****************** AppDef_MultiLine ******************/ %feature("compactdefaultargs") AppDef_MultiLine; - %feature("autodoc", " * creates an undefined MultiLine. - - :rtype: None -") AppDef_MultiLine; + %feature("autodoc", "* creates an undefined MultiLine. + :rtype: None") AppDef_MultiLine; AppDef_MultiLine (); - %feature("compactdefaultargs") AppDef_MultiLine; - %feature("autodoc", " * given the number NbMult of MultiPointConstraints of this MultiLine , it initializes all the fields.SetValue must be called in order for the values of the multipoint constraint to be taken into account. An exception is raised if NbMult < 0. + /****************** AppDef_MultiLine ******************/ + %feature("compactdefaultargs") AppDef_MultiLine; + %feature("autodoc", "* given the number NbMult of MultiPointConstraints of this MultiLine , it initializes all the fields.SetValue must be called in order for the values of the multipoint constraint to be taken into account. An exception is raised if NbMult < 0. :param NbMult: :type NbMult: int - :rtype: None -") AppDef_MultiLine; + :rtype: None") AppDef_MultiLine; AppDef_MultiLine (const Standard_Integer NbMult); - %feature("compactdefaultargs") AppDef_MultiLine; - %feature("autodoc", " * Constructs a MultiLine with an array of MultiPointConstraints. + /****************** AppDef_MultiLine ******************/ + %feature("compactdefaultargs") AppDef_MultiLine; + %feature("autodoc", "* Constructs a MultiLine with an array of MultiPointConstraints. :param tabMultiP: :type tabMultiP: AppDef_Array1OfMultiPointConstraint & - :rtype: None -") AppDef_MultiLine; + :rtype: None") AppDef_MultiLine; AppDef_MultiLine (const AppDef_Array1OfMultiPointConstraint & tabMultiP); - %feature("compactdefaultargs") AppDef_MultiLine; - %feature("autodoc", " * The MultiLine constructed will have one line of 3d points without their tangencies. + /****************** AppDef_MultiLine ******************/ + %feature("compactdefaultargs") AppDef_MultiLine; + %feature("autodoc", "* The MultiLine constructed will have one line of 3d points without their tangencies. :param tabP3d: :type tabP3d: TColgp_Array1OfPnt - :rtype: None -") AppDef_MultiLine; + :rtype: None") AppDef_MultiLine; AppDef_MultiLine (const TColgp_Array1OfPnt & tabP3d); - %feature("compactdefaultargs") AppDef_MultiLine; - %feature("autodoc", " * The MultiLine constructed will have one line of 2d points without their tangencies. + /****************** AppDef_MultiLine ******************/ + %feature("compactdefaultargs") AppDef_MultiLine; + %feature("autodoc", "* The MultiLine constructed will have one line of 2d points without their tangencies. :param tabP2d: :type tabP2d: TColgp_Array1OfPnt2d - :rtype: None -") AppDef_MultiLine; + :rtype: None") AppDef_MultiLine; AppDef_MultiLine (const TColgp_Array1OfPnt2d & tabP2d); - %feature("compactdefaultargs") NbMultiPoints; - %feature("autodoc", " * returns the number of MultiPointConstraints of the MultiLine. - :rtype: int -") NbMultiPoints; + + %feature("autodoc", "1"); + %extend{ + std::string DumpToString() { + std::stringstream s; + self->Dump(s); + return s.str();} + }; + /****************** NbMultiPoints ******************/ + %feature("compactdefaultargs") NbMultiPoints; + %feature("autodoc", "* returns the number of MultiPointConstraints of the MultiLine. + :rtype: int") NbMultiPoints; Standard_Integer NbMultiPoints (); - %feature("compactdefaultargs") NbPoints; - %feature("autodoc", " * returns the number of Points from MultiPoints composing the MultiLine. - :rtype: int -") NbPoints; + /****************** NbPoints ******************/ + %feature("compactdefaultargs") NbPoints; + %feature("autodoc", "* returns the number of Points from MultiPoints composing the MultiLine. + :rtype: int") NbPoints; Standard_Integer NbPoints (); - %feature("compactdefaultargs") SetValue; - %feature("autodoc", " * It sets the MultiPointConstraint of range Index to the value MPoint. An exception is raised if Index < 0 or Index> MPoint. An exception is raised if the dimensions of the MultiPoints are different. + /****************** SetValue ******************/ + %feature("compactdefaultargs") SetValue; + %feature("autodoc", "* It sets the MultiPointConstraint of range Index to the value MPoint. An exception is raised if Index < 0 or Index> MPoint. An exception is raised if the dimensions of the MultiPoints are different. :param Index: :type Index: int :param MPoint: :type MPoint: AppDef_MultiPointConstraint & - :rtype: None -") SetValue; + :rtype: None") SetValue; void SetValue (const Standard_Integer Index,const AppDef_MultiPointConstraint & MPoint); - %feature("compactdefaultargs") Value; - %feature("autodoc", " * returns the MultiPointConstraint of range Index An exception is raised if Index<0 or Index>MPoint. + /****************** Value ******************/ + %feature("compactdefaultargs") Value; + %feature("autodoc", "* returns the MultiPointConstraint of range Index An exception is raised if Index<0 or Index>MPoint. :param Index: :type Index: int - :rtype: AppDef_MultiPointConstraint -") Value; + :rtype: AppDef_MultiPointConstraint") Value; AppDef_MultiPointConstraint Value (const Standard_Integer Index); - %feature("autodoc", "1"); - %extend{ - std::string DumpToString() { - std::stringstream s; - self->Dump(s); - return s.str();} - }; - }; +}; %extend AppDef_MultiLine { @@ -1244,54 +1262,58 @@ class AppDef_MultiLine { __repr__ = _dumps_object } }; + +/************************************ +* class AppDef_MultiPointConstraint * +************************************/ %nodefaultctor AppDef_MultiPointConstraint; class AppDef_MultiPointConstraint : public AppParCurves_MultiPoint { public: + /****************** AppDef_MultiPointConstraint ******************/ %feature("compactdefaultargs") AppDef_MultiPointConstraint; - %feature("autodoc", " * creates an undefined MultiPointConstraint. - - :rtype: None -") AppDef_MultiPointConstraint; + %feature("autodoc", "* creates an undefined MultiPointConstraint. + :rtype: None") AppDef_MultiPointConstraint; AppDef_MultiPointConstraint (); - %feature("compactdefaultargs") AppDef_MultiPointConstraint; - %feature("autodoc", " * constructs a set of Points used to approximate a Multiline. These Points can be of 2 or 3 dimensions. Points will be initialized with SetPoint and SetPoint2d. + /****************** AppDef_MultiPointConstraint ******************/ + %feature("compactdefaultargs") AppDef_MultiPointConstraint; + %feature("autodoc", "* constructs a set of Points used to approximate a Multiline. These Points can be of 2 or 3 dimensions. Points will be initialized with SetPoint and SetPoint2d. :param NbPoints: :type NbPoints: int :param NbPoints2d: :type NbPoints2d: int - :rtype: None -") AppDef_MultiPointConstraint; + :rtype: None") AppDef_MultiPointConstraint; AppDef_MultiPointConstraint (const Standard_Integer NbPoints,const Standard_Integer NbPoints2d); - %feature("compactdefaultargs") AppDef_MultiPointConstraint; - %feature("autodoc", " * creates a MultiPoint only composed of 3D points. + /****************** AppDef_MultiPointConstraint ******************/ + %feature("compactdefaultargs") AppDef_MultiPointConstraint; + %feature("autodoc", "* creates a MultiPoint only composed of 3D points. :param tabP: :type tabP: TColgp_Array1OfPnt - :rtype: None -") AppDef_MultiPointConstraint; + :rtype: None") AppDef_MultiPointConstraint; AppDef_MultiPointConstraint (const TColgp_Array1OfPnt & tabP); - %feature("compactdefaultargs") AppDef_MultiPointConstraint; - %feature("autodoc", " * creates a MultiPoint only composed of 2D points. + /****************** AppDef_MultiPointConstraint ******************/ + %feature("compactdefaultargs") AppDef_MultiPointConstraint; + %feature("autodoc", "* creates a MultiPoint only composed of 2D points. :param tabP: :type tabP: TColgp_Array1OfPnt2d - :rtype: None -") AppDef_MultiPointConstraint; + :rtype: None") AppDef_MultiPointConstraint; AppDef_MultiPointConstraint (const TColgp_Array1OfPnt2d & tabP); - %feature("compactdefaultargs") AppDef_MultiPointConstraint; - %feature("autodoc", " * constructs a set of Points used to approximate a Multiline. These Points can be of 2 or 3 dimensions. Points will be initialized with SetPoint and SetPoint2d. + /****************** AppDef_MultiPointConstraint ******************/ + %feature("compactdefaultargs") AppDef_MultiPointConstraint; + %feature("autodoc", "* constructs a set of Points used to approximate a Multiline. These Points can be of 2 or 3 dimensions. Points will be initialized with SetPoint and SetPoint2d. :param tabP: :type tabP: TColgp_Array1OfPnt :param tabP2d: :type tabP2d: TColgp_Array1OfPnt2d - :rtype: None -") AppDef_MultiPointConstraint; + :rtype: None") AppDef_MultiPointConstraint; AppDef_MultiPointConstraint (const TColgp_Array1OfPnt & tabP,const TColgp_Array1OfPnt2d & tabP2d); - %feature("compactdefaultargs") AppDef_MultiPointConstraint; - %feature("autodoc", " * creates a MultiPointConstraint with a constraint of Curvature. An exception is raised if (length of + length of ) is different from (length of + length of ) or from (length of + length of ) + /****************** AppDef_MultiPointConstraint ******************/ + %feature("compactdefaultargs") AppDef_MultiPointConstraint; + %feature("autodoc", "* creates a MultiPointConstraint with a constraint of Curvature. An exception is raised if (length of + length of ) is different from (length of + length of ) or from (length of + length of ) :param tabP: :type tabP: TColgp_Array1OfPnt :param tabP2d: @@ -1304,12 +1326,12 @@ class AppDef_MultiPointConstraint : public AppParCurves_MultiPoint { :type tabCur: TColgp_Array1OfVec :param tabCur2d: :type tabCur2d: TColgp_Array1OfVec2d - :rtype: None -") AppDef_MultiPointConstraint; + :rtype: None") AppDef_MultiPointConstraint; AppDef_MultiPointConstraint (const TColgp_Array1OfPnt & tabP,const TColgp_Array1OfPnt2d & tabP2d,const TColgp_Array1OfVec & tabVec,const TColgp_Array1OfVec2d & tabVec2d,const TColgp_Array1OfVec & tabCur,const TColgp_Array1OfVec2d & tabCur2d); - %feature("compactdefaultargs") AppDef_MultiPointConstraint; - %feature("autodoc", " * creates a MultiPointConstraint with a constraint of Tangency. An exception is raised if (length of + length of ) is different from (length of + length of ) + /****************** AppDef_MultiPointConstraint ******************/ + %feature("compactdefaultargs") AppDef_MultiPointConstraint; + %feature("autodoc", "* creates a MultiPointConstraint with a constraint of Tangency. An exception is raised if (length of + length of ) is different from (length of + length of ) :param tabP: :type tabP: TColgp_Array1OfPnt :param tabP2d: @@ -1318,146 +1340,146 @@ class AppDef_MultiPointConstraint : public AppParCurves_MultiPoint { :type tabVec: TColgp_Array1OfVec :param tabVec2d: :type tabVec2d: TColgp_Array1OfVec2d - :rtype: None -") AppDef_MultiPointConstraint; + :rtype: None") AppDef_MultiPointConstraint; AppDef_MultiPointConstraint (const TColgp_Array1OfPnt & tabP,const TColgp_Array1OfPnt2d & tabP2d,const TColgp_Array1OfVec & tabVec,const TColgp_Array1OfVec2d & tabVec2d); - %feature("compactdefaultargs") AppDef_MultiPointConstraint; - %feature("autodoc", " * creates a MultiPointConstraint only composed of 3d points with constraints of curvature. An exception is raised if the length of tabP is different from the length of tabVec or from tabCur. + /****************** AppDef_MultiPointConstraint ******************/ + %feature("compactdefaultargs") AppDef_MultiPointConstraint; + %feature("autodoc", "* creates a MultiPointConstraint only composed of 3d points with constraints of curvature. An exception is raised if the length of tabP is different from the length of tabVec or from tabCur. :param tabP: :type tabP: TColgp_Array1OfPnt :param tabVec: :type tabVec: TColgp_Array1OfVec :param tabCur: :type tabCur: TColgp_Array1OfVec - :rtype: None -") AppDef_MultiPointConstraint; + :rtype: None") AppDef_MultiPointConstraint; AppDef_MultiPointConstraint (const TColgp_Array1OfPnt & tabP,const TColgp_Array1OfVec & tabVec,const TColgp_Array1OfVec & tabCur); - %feature("compactdefaultargs") AppDef_MultiPointConstraint; - %feature("autodoc", " * creates a MultiPointConstraint only composed of 3d points with constraints of tangency. An exception is raised if the length of tabP is different from the length of tabVec. + /****************** AppDef_MultiPointConstraint ******************/ + %feature("compactdefaultargs") AppDef_MultiPointConstraint; + %feature("autodoc", "* creates a MultiPointConstraint only composed of 3d points with constraints of tangency. An exception is raised if the length of tabP is different from the length of tabVec. :param tabP: :type tabP: TColgp_Array1OfPnt :param tabVec: :type tabVec: TColgp_Array1OfVec - :rtype: None -") AppDef_MultiPointConstraint; + :rtype: None") AppDef_MultiPointConstraint; AppDef_MultiPointConstraint (const TColgp_Array1OfPnt & tabP,const TColgp_Array1OfVec & tabVec); - %feature("compactdefaultargs") AppDef_MultiPointConstraint; - %feature("autodoc", " * creates a MultiPointConstraint only composed of 2d points with constraints of tangency. An exception is raised if the length of tabP is different from the length of tabVec2d. + /****************** AppDef_MultiPointConstraint ******************/ + %feature("compactdefaultargs") AppDef_MultiPointConstraint; + %feature("autodoc", "* creates a MultiPointConstraint only composed of 2d points with constraints of tangency. An exception is raised if the length of tabP is different from the length of tabVec2d. :param tabP2d: :type tabP2d: TColgp_Array1OfPnt2d :param tabVec2d: :type tabVec2d: TColgp_Array1OfVec2d - :rtype: None -") AppDef_MultiPointConstraint; + :rtype: None") AppDef_MultiPointConstraint; AppDef_MultiPointConstraint (const TColgp_Array1OfPnt2d & tabP2d,const TColgp_Array1OfVec2d & tabVec2d); - %feature("compactdefaultargs") AppDef_MultiPointConstraint; - %feature("autodoc", " * creates a MultiPointConstraint only composed of 2d points with constraints of curvature. An exception is raised if the length of tabP is different from the length of tabVec2d or from tabCur2d. + /****************** AppDef_MultiPointConstraint ******************/ + %feature("compactdefaultargs") AppDef_MultiPointConstraint; + %feature("autodoc", "* creates a MultiPointConstraint only composed of 2d points with constraints of curvature. An exception is raised if the length of tabP is different from the length of tabVec2d or from tabCur2d. :param tabP2d: :type tabP2d: TColgp_Array1OfPnt2d :param tabVec2d: :type tabVec2d: TColgp_Array1OfVec2d :param tabCur2d: :type tabCur2d: TColgp_Array1OfVec2d - :rtype: None -") AppDef_MultiPointConstraint; + :rtype: None") AppDef_MultiPointConstraint; AppDef_MultiPointConstraint (const TColgp_Array1OfPnt2d & tabP2d,const TColgp_Array1OfVec2d & tabVec2d,const TColgp_Array1OfVec2d & tabCur2d); - %feature("compactdefaultargs") SetTang; - %feature("autodoc", " * sets the value of the tangency of the point of range Index. An exception is raised if Index <0 or if Index > number of 3d points. An exception is raised if Tang has an incorrect number of dimensions. + /****************** Curv ******************/ + %feature("compactdefaultargs") Curv; + %feature("autodoc", "* returns the normal vector at the point of range Index. An exception is raised if Index < 0 or if Index > number of 3d points. :param Index: :type Index: int - :param Tang: - :type Tang: gp_Vec - :rtype: None -") SetTang; - void SetTang (const Standard_Integer Index,const gp_Vec & Tang); - %feature("compactdefaultargs") Tang; - %feature("autodoc", " * returns the tangency value of the point of range Index. An exception is raised if Index < 0 or if Index > number of 3d points. + :rtype: gp_Vec") Curv; + gp_Vec Curv (const Standard_Integer Index); + /****************** Curv2d ******************/ + %feature("compactdefaultargs") Curv2d; + %feature("autodoc", "* returns the normal vector at the point of range Index. An exception is raised if Index < 0 or if Index > number of 3d points. :param Index: :type Index: int - :rtype: gp_Vec -") Tang; - gp_Vec Tang (const Standard_Integer Index); - %feature("compactdefaultargs") SetTang2d; - %feature("autodoc", " * sets the value of the tangency of the point of range Index. An exception is raised if Index total number of Points An exception is raised if Tang has an incorrect number of dimensions. + :rtype: gp_Vec2d") Curv2d; + gp_Vec2d Curv2d (const Standard_Integer Index); - :param Index: - :type Index: int - :param Tang2d: - :type Tang2d: gp_Vec2d - :rtype: None -") SetTang2d; - void SetTang2d (const Standard_Integer Index,const gp_Vec2d & Tang2d); - %feature("compactdefaultargs") Tang2d; - %feature("autodoc", " * returns the tangency value of the point of range Index. An exception is raised if Index < number of 3d points or if Index > total number of points. - :param Index: - :type Index: int - :rtype: gp_Vec2d -") Tang2d; - gp_Vec2d Tang2d (const Standard_Integer Index); - %feature("compactdefaultargs") SetCurv; - %feature("autodoc", " * Vec sets the value of the normal vector at the point of index Index. The norm of the normal vector at the point of position Index is set to the normal curvature. An exception is raised if Index <0 or if Index > number of 3d points. An exception is raised if Curv has an incorrect number of dimensions. + %feature("autodoc", "1"); + %extend{ + std::string DumpToString() { + std::stringstream s; + self->Dump(s); + return s.str();} + }; + /****************** IsCurvaturePoint ******************/ + %feature("compactdefaultargs") IsCurvaturePoint; + %feature("autodoc", "* returns True if the MultiPoint has a curvature value. + :rtype: bool") IsCurvaturePoint; + Standard_Boolean IsCurvaturePoint (); + + /****************** IsTangencyPoint ******************/ + %feature("compactdefaultargs") IsTangencyPoint; + %feature("autodoc", "* returns True if the MultiPoint has a tangency value. + :rtype: bool") IsTangencyPoint; + Standard_Boolean IsTangencyPoint (); + /****************** SetCurv ******************/ + %feature("compactdefaultargs") SetCurv; + %feature("autodoc", "* Vec sets the value of the normal vector at the point of index Index. The norm of the normal vector at the point of position Index is set to the normal curvature. An exception is raised if Index <0 or if Index > number of 3d points. An exception is raised if Curv has an incorrect number of dimensions. :param Index: :type Index: int :param Curv: :type Curv: gp_Vec - :rtype: None -") SetCurv; + :rtype: None") SetCurv; void SetCurv (const Standard_Integer Index,const gp_Vec & Curv); - %feature("compactdefaultargs") Curv; - %feature("autodoc", " * returns the normal vector at the point of range Index. An exception is raised if Index < 0 or if Index > number of 3d points. - :param Index: - :type Index: int - :rtype: gp_Vec -") Curv; - gp_Vec Curv (const Standard_Integer Index); + /****************** SetCurv2d ******************/ %feature("compactdefaultargs") SetCurv2d; - %feature("autodoc", " * Vec sets the value of the normal vector at the point of index Index. The norm of the normal vector at the point of position Index is set to the normal curvature. An exception is raised if Index <0 or if Index > number of 3d points. An exception is raised if Curv has an incorrect number of dimensions. - + %feature("autodoc", "* Vec sets the value of the normal vector at the point of index Index. The norm of the normal vector at the point of position Index is set to the normal curvature. An exception is raised if Index <0 or if Index > number of 3d points. An exception is raised if Curv has an incorrect number of dimensions. :param Index: :type Index: int :param Curv2d: :type Curv2d: gp_Vec2d - :rtype: None -") SetCurv2d; + :rtype: None") SetCurv2d; void SetCurv2d (const Standard_Integer Index,const gp_Vec2d & Curv2d); - %feature("compactdefaultargs") Curv2d; - %feature("autodoc", " * returns the normal vector at the point of range Index. An exception is raised if Index < 0 or if Index > number of 3d points. + /****************** SetTang ******************/ + %feature("compactdefaultargs") SetTang; + %feature("autodoc", "* sets the value of the tangency of the point of range Index. An exception is raised if Index <0 or if Index > number of 3d points. An exception is raised if Tang has an incorrect number of dimensions. :param Index: :type Index: int - :rtype: gp_Vec2d -") Curv2d; - gp_Vec2d Curv2d (const Standard_Integer Index); - %feature("compactdefaultargs") IsTangencyPoint; - %feature("autodoc", " * returns True if the MultiPoint has a tangency value. + :param Tang: + :type Tang: gp_Vec + :rtype: None") SetTang; + void SetTang (const Standard_Integer Index,const gp_Vec & Tang); - :rtype: bool -") IsTangencyPoint; - Standard_Boolean IsTangencyPoint (); - %feature("compactdefaultargs") IsCurvaturePoint; - %feature("autodoc", " * returns True if the MultiPoint has a curvature value. + /****************** SetTang2d ******************/ + %feature("compactdefaultargs") SetTang2d; + %feature("autodoc", "* sets the value of the tangency of the point of range Index. An exception is raised if Index total number of Points An exception is raised if Tang has an incorrect number of dimensions. + :param Index: + :type Index: int + :param Tang2d: + :type Tang2d: gp_Vec2d + :rtype: None") SetTang2d; + void SetTang2d (const Standard_Integer Index,const gp_Vec2d & Tang2d); - :rtype: bool -") IsCurvaturePoint; - Standard_Boolean IsCurvaturePoint (); + /****************** Tang ******************/ + %feature("compactdefaultargs") Tang; + %feature("autodoc", "* returns the tangency value of the point of range Index. An exception is raised if Index < 0 or if Index > number of 3d points. + :param Index: + :type Index: int + :rtype: gp_Vec") Tang; + gp_Vec Tang (const Standard_Integer Index); - %feature("autodoc", "1"); - %extend{ - std::string DumpToString() { - std::stringstream s; - self->Dump(s); - return s.str();} - }; - }; + /****************** Tang2d ******************/ + %feature("compactdefaultargs") Tang2d; + %feature("autodoc", "* returns the tangency value of the point of range Index. An exception is raised if Index < number of 3d points or if Index > total number of points. + :param Index: + :type Index: int + :rtype: gp_Vec2d") Tang2d; + gp_Vec2d Tang2d (const Standard_Integer Index); + +}; %extend AppDef_MultiPointConstraint { @@ -1465,18 +1487,24 @@ class AppDef_MultiPointConstraint : public AppParCurves_MultiPoint { __repr__ = _dumps_object } }; + +/********************************************** +* class AppDef_MyBSplGradientOfBSplineCompute * +**********************************************/ %nodefaultctor AppDef_MyBSplGradientOfBSplineCompute; class AppDef_MyBSplGradientOfBSplineCompute { public: + /****************** AppDef_MyBSplGradientOfBSplineCompute ******************/ %feature("compactdefaultargs") AppDef_MyBSplGradientOfBSplineCompute; - %feature("autodoc", " :param SSP: + %feature("autodoc", "* Tries to minimize the sum (square(||Qui - Bi*Pi||)) where Pui describe the approximating BSpline curves'Poles and Qi the MultiLine points with a parameter ui. In this algorithm, the parameters ui are the unknowns. The tolerance required on this sum is given by Tol. The desired degree of the resulting curve is Deg. + :param SSP: :type SSP: AppDef_MultiLine & :param FirstPoint: :type FirstPoint: int :param LastPoint: :type LastPoint: int :param TheConstraints: - :type TheConstraints: Handle_AppParCurves_HArray1OfConstraintCouple & + :type TheConstraints: opencascade::handle & :param Parameters: :type Parameters: math_Vector & :param Knots: @@ -1491,18 +1519,20 @@ class AppDef_MyBSplGradientOfBSplineCompute { :type Tol2d: float :param NbIterations: default value is 1 :type NbIterations: int - :rtype: None -") AppDef_MyBSplGradientOfBSplineCompute; - AppDef_MyBSplGradientOfBSplineCompute (const AppDef_MultiLine & SSP,const Standard_Integer FirstPoint,const Standard_Integer LastPoint,const Handle_AppParCurves_HArray1OfConstraintCouple & TheConstraints,math_Vector & Parameters,const TColStd_Array1OfReal & Knots,const TColStd_Array1OfInteger & Mults,const Standard_Integer Deg,const Standard_Real Tol3d,const Standard_Real Tol2d,const Standard_Integer NbIterations = 1); + :rtype: None") AppDef_MyBSplGradientOfBSplineCompute; + AppDef_MyBSplGradientOfBSplineCompute (const AppDef_MultiLine & SSP,const Standard_Integer FirstPoint,const Standard_Integer LastPoint,const opencascade::handle & TheConstraints,math_Vector & Parameters,const TColStd_Array1OfReal & Knots,const TColStd_Array1OfInteger & Mults,const Standard_Integer Deg,const Standard_Real Tol3d,const Standard_Real Tol2d,const Standard_Integer NbIterations = 1); + + /****************** AppDef_MyBSplGradientOfBSplineCompute ******************/ %feature("compactdefaultargs") AppDef_MyBSplGradientOfBSplineCompute; - %feature("autodoc", " :param SSP: + %feature("autodoc", "* Tries to minimize the sum (square(||Qui - Bi*Pi||)) where Pui describe the approximating BSpline curves'Poles and Qi the MultiLine points with a parameter ui. In this algorithm, the parameters ui are the unknowns. The tolerance required on this sum is given by Tol. The desired degree of the resulting curve is Deg. + :param SSP: :type SSP: AppDef_MultiLine & :param FirstPoint: :type FirstPoint: int :param LastPoint: :type LastPoint: int :param TheConstraints: - :type TheConstraints: Handle_AppParCurves_HArray1OfConstraintCouple & + :type TheConstraints: opencascade::handle & :param Parameters: :type Parameters: math_Vector & :param Knots: @@ -1521,35 +1551,47 @@ class AppDef_MyBSplGradientOfBSplineCompute { :type lambda1: float :param lambda2: :type lambda2: float - :rtype: None -") AppDef_MyBSplGradientOfBSplineCompute; - AppDef_MyBSplGradientOfBSplineCompute (const AppDef_MultiLine & SSP,const Standard_Integer FirstPoint,const Standard_Integer LastPoint,const Handle_AppParCurves_HArray1OfConstraintCouple & TheConstraints,math_Vector & Parameters,const TColStd_Array1OfReal & Knots,const TColStd_Array1OfInteger & Mults,const Standard_Integer Deg,const Standard_Real Tol3d,const Standard_Real Tol2d,const Standard_Integer NbIterations,const Standard_Real lambda1,const Standard_Real lambda2); - %feature("compactdefaultargs") IsDone; - %feature("autodoc", " :rtype: bool -") IsDone; - Standard_Boolean IsDone (); - %feature("compactdefaultargs") Value; - %feature("autodoc", " :rtype: AppParCurves_MultiBSpCurve -") Value; - AppParCurves_MultiBSpCurve Value (); + :rtype: None") AppDef_MyBSplGradientOfBSplineCompute; + AppDef_MyBSplGradientOfBSplineCompute (const AppDef_MultiLine & SSP,const Standard_Integer FirstPoint,const Standard_Integer LastPoint,const opencascade::handle & TheConstraints,math_Vector & Parameters,const TColStd_Array1OfReal & Knots,const TColStd_Array1OfInteger & Mults,const Standard_Integer Deg,const Standard_Real Tol3d,const Standard_Real Tol2d,const Standard_Integer NbIterations,const Standard_Real lambda1,const Standard_Real lambda2); + + /****************** AverageError ******************/ + %feature("compactdefaultargs") AverageError; + %feature("autodoc", "* returns the average error between the old and the new approximation. + :rtype: float") AverageError; + Standard_Real AverageError (); + + /****************** Error ******************/ %feature("compactdefaultargs") Error; - %feature("autodoc", " :param Index: + %feature("autodoc", "* returns the difference between the old and the new approximation. An exception is raised if NotDone. An exception is raised if Index<1 or Index>NbParameters. + :param Index: :type Index: int - :rtype: float -") Error; + :rtype: float") Error; Standard_Real Error (const Standard_Integer Index); - %feature("compactdefaultargs") MaxError3d; - %feature("autodoc", " :rtype: float -") MaxError3d; - Standard_Real MaxError3d (); + + /****************** IsDone ******************/ + %feature("compactdefaultargs") IsDone; + %feature("autodoc", "* returns True if all has been correctly done. + :rtype: bool") IsDone; + Standard_Boolean IsDone (); + + /****************** MaxError2d ******************/ %feature("compactdefaultargs") MaxError2d; - %feature("autodoc", " :rtype: float -") MaxError2d; + %feature("autodoc", "* returns the maximum difference between the old and the new approximation. + :rtype: float") MaxError2d; Standard_Real MaxError2d (); - %feature("compactdefaultargs") AverageError; - %feature("autodoc", " :rtype: float -") AverageError; - Standard_Real AverageError (); + + /****************** MaxError3d ******************/ + %feature("compactdefaultargs") MaxError3d; + %feature("autodoc", "* returns the maximum difference between the old and the new approximation. + :rtype: float") MaxError3d; + Standard_Real MaxError3d (); + + /****************** Value ******************/ + %feature("compactdefaultargs") Value; + %feature("autodoc", "* returns all the BSpline curves approximating the MultiLine SSP after minimization of the parameter. + :rtype: AppParCurves_MultiBSpCurve") Value; + AppParCurves_MultiBSpCurve Value (); + }; @@ -1558,18 +1600,24 @@ class AppDef_MyBSplGradientOfBSplineCompute { __repr__ = _dumps_object } }; + +/*********************************** +* class AppDef_MyGradientOfCompute * +***********************************/ %nodefaultctor AppDef_MyGradientOfCompute; class AppDef_MyGradientOfCompute { public: + /****************** AppDef_MyGradientOfCompute ******************/ %feature("compactdefaultargs") AppDef_MyGradientOfCompute; - %feature("autodoc", " :param SSP: + %feature("autodoc", "* Tries to minimize the sum (square(||Qui - Bi*Pi||)) where Pui describe the approximating Bezier curves'Poles and Qi the MultiLine points with a parameter ui. In this algorithm, the parameters ui are the unknowns. The tolerance required on this sum is given by Tol. The desired degree of the resulting curve is Deg. + :param SSP: :type SSP: AppDef_MultiLine & :param FirstPoint: :type FirstPoint: int :param LastPoint: :type LastPoint: int :param TheConstraints: - :type TheConstraints: Handle_AppParCurves_HArray1OfConstraintCouple & + :type TheConstraints: opencascade::handle & :param Parameters: :type Parameters: math_Vector & :param Deg: @@ -1580,35 +1628,47 @@ class AppDef_MyGradientOfCompute { :type Tol2d: float :param NbIterations: default value is 200 :type NbIterations: int - :rtype: None -") AppDef_MyGradientOfCompute; - AppDef_MyGradientOfCompute (const AppDef_MultiLine & SSP,const Standard_Integer FirstPoint,const Standard_Integer LastPoint,const Handle_AppParCurves_HArray1OfConstraintCouple & TheConstraints,math_Vector & Parameters,const Standard_Integer Deg,const Standard_Real Tol3d,const Standard_Real Tol2d,const Standard_Integer NbIterations = 200); - %feature("compactdefaultargs") IsDone; - %feature("autodoc", " :rtype: bool -") IsDone; - Standard_Boolean IsDone (); - %feature("compactdefaultargs") Value; - %feature("autodoc", " :rtype: AppParCurves_MultiCurve -") Value; - AppParCurves_MultiCurve Value (); + :rtype: None") AppDef_MyGradientOfCompute; + AppDef_MyGradientOfCompute (const AppDef_MultiLine & SSP,const Standard_Integer FirstPoint,const Standard_Integer LastPoint,const opencascade::handle & TheConstraints,math_Vector & Parameters,const Standard_Integer Deg,const Standard_Real Tol3d,const Standard_Real Tol2d,const Standard_Integer NbIterations = 200); + + /****************** AverageError ******************/ + %feature("compactdefaultargs") AverageError; + %feature("autodoc", "* returns the average error between the old and the new approximation. + :rtype: float") AverageError; + Standard_Real AverageError (); + + /****************** Error ******************/ %feature("compactdefaultargs") Error; - %feature("autodoc", " :param Index: + %feature("autodoc", "* returns the difference between the old and the new approximation. An exception is raised if NotDone. An exception is raised if Index<1 or Index>NbParameters. + :param Index: :type Index: int - :rtype: float -") Error; + :rtype: float") Error; Standard_Real Error (const Standard_Integer Index); - %feature("compactdefaultargs") MaxError3d; - %feature("autodoc", " :rtype: float -") MaxError3d; - Standard_Real MaxError3d (); + + /****************** IsDone ******************/ + %feature("compactdefaultargs") IsDone; + %feature("autodoc", "* returns True if all has been correctly done. + :rtype: bool") IsDone; + Standard_Boolean IsDone (); + + /****************** MaxError2d ******************/ %feature("compactdefaultargs") MaxError2d; - %feature("autodoc", " :rtype: float -") MaxError2d; + %feature("autodoc", "* returns the maximum difference between the old and the new approximation. + :rtype: float") MaxError2d; Standard_Real MaxError2d (); - %feature("compactdefaultargs") AverageError; - %feature("autodoc", " :rtype: float -") AverageError; - Standard_Real AverageError (); + + /****************** MaxError3d ******************/ + %feature("compactdefaultargs") MaxError3d; + %feature("autodoc", "* returns the maximum difference between the old and the new approximation. + :rtype: float") MaxError3d; + Standard_Real MaxError3d (); + + /****************** Value ******************/ + %feature("compactdefaultargs") Value; + %feature("autodoc", "* returns all the Bezier curves approximating the MultiLine SSP after minimization of the parameter. + :rtype: AppParCurves_MultiCurve") Value; + AppParCurves_MultiCurve Value (); + }; @@ -1617,18 +1677,24 @@ class AppDef_MyGradientOfCompute { __repr__ = _dumps_object } }; + +/********************************************* +* class AppDef_MyGradientbisOfBSplineCompute * +*********************************************/ %nodefaultctor AppDef_MyGradientbisOfBSplineCompute; class AppDef_MyGradientbisOfBSplineCompute { public: + /****************** AppDef_MyGradientbisOfBSplineCompute ******************/ %feature("compactdefaultargs") AppDef_MyGradientbisOfBSplineCompute; - %feature("autodoc", " :param SSP: + %feature("autodoc", "* Tries to minimize the sum (square(||Qui - Bi*Pi||)) where Pui describe the approximating Bezier curves'Poles and Qi the MultiLine points with a parameter ui. In this algorithm, the parameters ui are the unknowns. The tolerance required on this sum is given by Tol. The desired degree of the resulting curve is Deg. + :param SSP: :type SSP: AppDef_MultiLine & :param FirstPoint: :type FirstPoint: int :param LastPoint: :type LastPoint: int :param TheConstraints: - :type TheConstraints: Handle_AppParCurves_HArray1OfConstraintCouple & + :type TheConstraints: opencascade::handle & :param Parameters: :type Parameters: math_Vector & :param Deg: @@ -1639,35 +1705,47 @@ class AppDef_MyGradientbisOfBSplineCompute { :type Tol2d: float :param NbIterations: default value is 200 :type NbIterations: int - :rtype: None -") AppDef_MyGradientbisOfBSplineCompute; - AppDef_MyGradientbisOfBSplineCompute (const AppDef_MultiLine & SSP,const Standard_Integer FirstPoint,const Standard_Integer LastPoint,const Handle_AppParCurves_HArray1OfConstraintCouple & TheConstraints,math_Vector & Parameters,const Standard_Integer Deg,const Standard_Real Tol3d,const Standard_Real Tol2d,const Standard_Integer NbIterations = 200); - %feature("compactdefaultargs") IsDone; - %feature("autodoc", " :rtype: bool -") IsDone; - Standard_Boolean IsDone (); - %feature("compactdefaultargs") Value; - %feature("autodoc", " :rtype: AppParCurves_MultiCurve -") Value; - AppParCurves_MultiCurve Value (); + :rtype: None") AppDef_MyGradientbisOfBSplineCompute; + AppDef_MyGradientbisOfBSplineCompute (const AppDef_MultiLine & SSP,const Standard_Integer FirstPoint,const Standard_Integer LastPoint,const opencascade::handle & TheConstraints,math_Vector & Parameters,const Standard_Integer Deg,const Standard_Real Tol3d,const Standard_Real Tol2d,const Standard_Integer NbIterations = 200); + + /****************** AverageError ******************/ + %feature("compactdefaultargs") AverageError; + %feature("autodoc", "* returns the average error between the old and the new approximation. + :rtype: float") AverageError; + Standard_Real AverageError (); + + /****************** Error ******************/ %feature("compactdefaultargs") Error; - %feature("autodoc", " :param Index: + %feature("autodoc", "* returns the difference between the old and the new approximation. An exception is raised if NotDone. An exception is raised if Index<1 or Index>NbParameters. + :param Index: :type Index: int - :rtype: float -") Error; + :rtype: float") Error; Standard_Real Error (const Standard_Integer Index); - %feature("compactdefaultargs") MaxError3d; - %feature("autodoc", " :rtype: float -") MaxError3d; - Standard_Real MaxError3d (); + + /****************** IsDone ******************/ + %feature("compactdefaultargs") IsDone; + %feature("autodoc", "* returns True if all has been correctly done. + :rtype: bool") IsDone; + Standard_Boolean IsDone (); + + /****************** MaxError2d ******************/ %feature("compactdefaultargs") MaxError2d; - %feature("autodoc", " :rtype: float -") MaxError2d; + %feature("autodoc", "* returns the maximum difference between the old and the new approximation. + :rtype: float") MaxError2d; Standard_Real MaxError2d (); - %feature("compactdefaultargs") AverageError; - %feature("autodoc", " :rtype: float -") AverageError; - Standard_Real AverageError (); + + /****************** MaxError3d ******************/ + %feature("compactdefaultargs") MaxError3d; + %feature("autodoc", "* returns the maximum difference between the old and the new approximation. + :rtype: float") MaxError3d; + Standard_Real MaxError3d (); + + /****************** Value ******************/ + %feature("compactdefaultargs") Value; + %feature("autodoc", "* returns all the Bezier curves approximating the MultiLine SSP after minimization of the parameter. + :rtype: AppParCurves_MultiCurve") Value; + AppParCurves_MultiCurve Value (); + }; @@ -1676,105 +1754,139 @@ class AppDef_MyGradientbisOfBSplineCompute { __repr__ = _dumps_object } }; + +/************************** +* class AppDef_MyLineTool * +**************************/ class AppDef_MyLineTool { public: - %feature("compactdefaultargs") FirstPoint; - %feature("autodoc", " * Returns the first index of multipoints of the MultiLine. + /****************** Curvature ******************/ + %feature("compactdefaultargs") Curvature; + %feature("autodoc", "* returns the 3d curvatures of the multipoint when only 3d points exist. + :param ML: + :type ML: AppDef_MultiLine & + :param MPointIndex: + :type MPointIndex: int + :param tabV: + :type tabV: TColgp_Array1OfVec + :rtype: bool") Curvature; + static Standard_Boolean Curvature (const AppDef_MultiLine & ML,const Standard_Integer MPointIndex,TColgp_Array1OfVec & tabV); + /****************** Curvature ******************/ + %feature("compactdefaultargs") Curvature; + %feature("autodoc", "* returns the 2d curvatures of the multipoint only when 2d points exist. :param ML: :type ML: AppDef_MultiLine & - :rtype: int -") FirstPoint; - static Standard_Integer FirstPoint (const AppDef_MultiLine & ML); - %feature("compactdefaultargs") LastPoint; - %feature("autodoc", " * Returns the last index of multipoints of the MultiLine. + :param MPointIndex: + :type MPointIndex: int + :param tabV2d: + :type tabV2d: TColgp_Array1OfVec2d + :rtype: bool") Curvature; + static Standard_Boolean Curvature (const AppDef_MultiLine & ML,const Standard_Integer MPointIndex,TColgp_Array1OfVec2d & tabV2d); + /****************** Curvature ******************/ + %feature("compactdefaultargs") Curvature; + %feature("autodoc", "* returns the 3d and 2d curvatures of the multipoint . :param ML: :type ML: AppDef_MultiLine & - :rtype: int -") LastPoint; - static Standard_Integer LastPoint (const AppDef_MultiLine & ML); - %feature("compactdefaultargs") NbP2d; - %feature("autodoc", " * Returns the number of 2d points of a MultiLine. + :param MPointIndex: + :type MPointIndex: int + :param tabV: + :type tabV: TColgp_Array1OfVec + :param tabV2d: + :type tabV2d: TColgp_Array1OfVec2d + :rtype: bool") Curvature; + static Standard_Boolean Curvature (const AppDef_MultiLine & ML,const Standard_Integer MPointIndex,TColgp_Array1OfVec & tabV,TColgp_Array1OfVec2d & tabV2d); + /****************** FirstPoint ******************/ + %feature("compactdefaultargs") FirstPoint; + %feature("autodoc", "* Returns the first index of multipoints of the MultiLine. :param ML: :type ML: AppDef_MultiLine & - :rtype: int -") NbP2d; - static Standard_Integer NbP2d (const AppDef_MultiLine & ML); - %feature("compactdefaultargs") NbP3d; - %feature("autodoc", " * Returns the number of 3d points of a MultiLine. + :rtype: int") FirstPoint; + static Standard_Integer FirstPoint (const AppDef_MultiLine & ML); + /****************** LastPoint ******************/ + %feature("compactdefaultargs") LastPoint; + %feature("autodoc", "* Returns the last index of multipoints of the MultiLine. :param ML: :type ML: AppDef_MultiLine & - :rtype: int -") NbP3d; - static Standard_Integer NbP3d (const AppDef_MultiLine & ML); - %feature("compactdefaultargs") Value; - %feature("autodoc", " * returns the 3d points of the multipoint when only 3d points exist. + :rtype: int") LastPoint; + static Standard_Integer LastPoint (const AppDef_MultiLine & ML); + /****************** MakeMLBetween ******************/ + %feature("compactdefaultargs") MakeMLBetween; + %feature("autodoc", "* Is never called in the algorithms. Nothing is done. :param ML: :type ML: AppDef_MultiLine & - :param MPointIndex: - :type MPointIndex: int - :param tabPt: - :type tabPt: TColgp_Array1OfPnt - :rtype: void -") Value; - static void Value (const AppDef_MultiLine & ML,const Standard_Integer MPointIndex,TColgp_Array1OfPnt & tabPt); - %feature("compactdefaultargs") Value; - %feature("autodoc", " * returns the 2d points of the multipoint when only 2d points exist. + :param I1: + :type I1: int + :param I2: + :type I2: int + :param NbPMin: + :type NbPMin: int + :rtype: AppDef_MultiLine") MakeMLBetween; + static AppDef_MultiLine MakeMLBetween (const AppDef_MultiLine & ML,const Standard_Integer I1,const Standard_Integer I2,const Standard_Integer NbPMin); + /****************** MakeMLOneMorePoint ******************/ + %feature("compactdefaultargs") MakeMLOneMorePoint; + %feature("autodoc", "* Is never called in the algorithms. Nothing is done. :param ML: :type ML: AppDef_MultiLine & - :param MPointIndex: - :type MPointIndex: int - :param tabPt2d: - :type tabPt2d: TColgp_Array1OfPnt2d - :rtype: void -") Value; - static void Value (const AppDef_MultiLine & ML,const Standard_Integer MPointIndex,TColgp_Array1OfPnt2d & tabPt2d); - %feature("compactdefaultargs") Value; - %feature("autodoc", " * returns the 3d and 2d points of the multipoint . + :param I1: + :type I1: int + :param I2: + :type I2: int + :param indbad: + :type indbad: int + :param OtherLine: + :type OtherLine: AppDef_MultiLine & + :rtype: bool") MakeMLOneMorePoint; + static Standard_Boolean MakeMLOneMorePoint (const AppDef_MultiLine & ML,const Standard_Integer I1,const Standard_Integer I2,const Standard_Integer indbad,AppDef_MultiLine & OtherLine); + + /****************** NbP2d ******************/ + %feature("compactdefaultargs") NbP2d; + %feature("autodoc", "* Returns the number of 2d points of a MultiLine. + :param ML: + :type ML: AppDef_MultiLine & + :rtype: int") NbP2d; + static Standard_Integer NbP2d (const AppDef_MultiLine & ML); + /****************** NbP3d ******************/ + %feature("compactdefaultargs") NbP3d; + %feature("autodoc", "* Returns the number of 3d points of a MultiLine. :param ML: :type ML: AppDef_MultiLine & - :param MPointIndex: - :type MPointIndex: int - :param tabPt: - :type tabPt: TColgp_Array1OfPnt - :param tabPt2d: - :type tabPt2d: TColgp_Array1OfPnt2d - :rtype: void -") Value; - static void Value (const AppDef_MultiLine & ML,const Standard_Integer MPointIndex,TColgp_Array1OfPnt & tabPt,TColgp_Array1OfPnt2d & tabPt2d); - %feature("compactdefaultargs") Tangency; - %feature("autodoc", " * returns the 3d points of the multipoint when only 3d points exist. + :rtype: int") NbP3d; + static Standard_Integer NbP3d (const AppDef_MultiLine & ML); + /****************** Tangency ******************/ + %feature("compactdefaultargs") Tangency; + %feature("autodoc", "* returns the 3d points of the multipoint when only 3d points exist. :param ML: :type ML: AppDef_MultiLine & :param MPointIndex: :type MPointIndex: int :param tabV: :type tabV: TColgp_Array1OfVec - :rtype: bool -") Tangency; + :rtype: bool") Tangency; static Standard_Boolean Tangency (const AppDef_MultiLine & ML,const Standard_Integer MPointIndex,TColgp_Array1OfVec & tabV); - %feature("compactdefaultargs") Tangency; - %feature("autodoc", " * returns the 2d tangency points of the multipoint only when 2d points exist. + /****************** Tangency ******************/ + %feature("compactdefaultargs") Tangency; + %feature("autodoc", "* returns the 2d tangency points of the multipoint only when 2d points exist. :param ML: :type ML: AppDef_MultiLine & :param MPointIndex: :type MPointIndex: int :param tabV2d: :type tabV2d: TColgp_Array1OfVec2d - :rtype: bool -") Tangency; + :rtype: bool") Tangency; static Standard_Boolean Tangency (const AppDef_MultiLine & ML,const Standard_Integer MPointIndex,TColgp_Array1OfVec2d & tabV2d); - %feature("compactdefaultargs") Tangency; - %feature("autodoc", " * returns the 3d and 2d points of the multipoint . + /****************** Tangency ******************/ + %feature("compactdefaultargs") Tangency; + %feature("autodoc", "* returns the 3d and 2d points of the multipoint . :param ML: :type ML: AppDef_MultiLine & :param MPointIndex: @@ -1783,73 +1895,59 @@ class AppDef_MyLineTool { :type tabV: TColgp_Array1OfVec :param tabV2d: :type tabV2d: TColgp_Array1OfVec2d - :rtype: bool -") Tangency; + :rtype: bool") Tangency; static Standard_Boolean Tangency (const AppDef_MultiLine & ML,const Standard_Integer MPointIndex,TColgp_Array1OfVec & tabV,TColgp_Array1OfVec2d & tabV2d); - %feature("compactdefaultargs") Curvature; - %feature("autodoc", " * returns the 3d curvatures of the multipoint when only 3d points exist. + /****************** Value ******************/ + %feature("compactdefaultargs") Value; + %feature("autodoc", "* returns the 3d points of the multipoint when only 3d points exist. :param ML: :type ML: AppDef_MultiLine & :param MPointIndex: :type MPointIndex: int - :param tabV: - :type tabV: TColgp_Array1OfVec - :rtype: bool -") Curvature; - static Standard_Boolean Curvature (const AppDef_MultiLine & ML,const Standard_Integer MPointIndex,TColgp_Array1OfVec & tabV); - %feature("compactdefaultargs") Curvature; - %feature("autodoc", " * returns the 2d curvatures of the multipoint only when 2d points exist. + :param tabPt: + :type tabPt: TColgp_Array1OfPnt + :rtype: void") Value; + static void Value (const AppDef_MultiLine & ML,const Standard_Integer MPointIndex,TColgp_Array1OfPnt & tabPt); + /****************** Value ******************/ + %feature("compactdefaultargs") Value; + %feature("autodoc", "* returns the 2d points of the multipoint when only 2d points exist. :param ML: :type ML: AppDef_MultiLine & :param MPointIndex: :type MPointIndex: int - :param tabV2d: - :type tabV2d: TColgp_Array1OfVec2d - :rtype: bool -") Curvature; - static Standard_Boolean Curvature (const AppDef_MultiLine & ML,const Standard_Integer MPointIndex,TColgp_Array1OfVec2d & tabV2d); - %feature("compactdefaultargs") Curvature; - %feature("autodoc", " * returns the 3d and 2d curvatures of the multipoint . + :param tabPt2d: + :type tabPt2d: TColgp_Array1OfPnt2d + :rtype: void") Value; + static void Value (const AppDef_MultiLine & ML,const Standard_Integer MPointIndex,TColgp_Array1OfPnt2d & tabPt2d); + /****************** Value ******************/ + %feature("compactdefaultargs") Value; + %feature("autodoc", "* returns the 3d and 2d points of the multipoint . :param ML: :type ML: AppDef_MultiLine & :param MPointIndex: :type MPointIndex: int - :param tabV: - :type tabV: TColgp_Array1OfVec - :param tabV2d: - :type tabV2d: TColgp_Array1OfVec2d - :rtype: bool -") Curvature; - static Standard_Boolean Curvature (const AppDef_MultiLine & ML,const Standard_Integer MPointIndex,TColgp_Array1OfVec & tabV,TColgp_Array1OfVec2d & tabV2d); - %feature("compactdefaultargs") WhatStatus; - %feature("autodoc", " * returns NoPointsAdded + :param tabPt: + :type tabPt: TColgp_Array1OfPnt + :param tabPt2d: + :type tabPt2d: TColgp_Array1OfPnt2d + :rtype: void") Value; + static void Value (const AppDef_MultiLine & ML,const Standard_Integer MPointIndex,TColgp_Array1OfPnt & tabPt,TColgp_Array1OfPnt2d & tabPt2d); + /****************** WhatStatus ******************/ + %feature("compactdefaultargs") WhatStatus; + %feature("autodoc", "* returns NoPointsAdded :param ML: :type ML: AppDef_MultiLine & :param I1: :type I1: int :param I2: :type I2: int - :rtype: Approx_Status -") WhatStatus; + :rtype: Approx_Status") WhatStatus; static Approx_Status WhatStatus (const AppDef_MultiLine & ML,const Standard_Integer I1,const Standard_Integer I2); - %feature("compactdefaultargs") MakeMLBetween; - %feature("autodoc", " * Is never called in the algorithms. Nothing is done. - :param ML: - :type ML: AppDef_MultiLine & - :param I1: - :type I1: int - :param I2: - :type I2: int - :param NbPMin: - :type NbPMin: int - :rtype: AppDef_MultiLine -") MakeMLBetween; - static AppDef_MultiLine & MakeMLBetween (const AppDef_MultiLine & ML,const Standard_Integer I1,const Standard_Integer I2,const Standard_Integer NbPMin); }; @@ -1858,95 +1956,121 @@ class AppDef_MyLineTool { __repr__ = _dumps_object } }; + +/************************************************ +* class AppDef_ParFunctionOfMyGradientOfCompute * +************************************************/ %nodefaultctor AppDef_ParFunctionOfMyGradientOfCompute; class AppDef_ParFunctionOfMyGradientOfCompute : public math_MultipleVarFunctionWithGradient { public: + /****************** AppDef_ParFunctionOfMyGradientOfCompute ******************/ %feature("compactdefaultargs") AppDef_ParFunctionOfMyGradientOfCompute; - %feature("autodoc", " :param SSP: + %feature("autodoc", "* initializes the fields of the function. The approximating curve has the desired degree Deg. + :param SSP: :type SSP: AppDef_MultiLine & :param FirstPoint: :type FirstPoint: int :param LastPoint: :type LastPoint: int :param TheConstraints: - :type TheConstraints: Handle_AppParCurves_HArray1OfConstraintCouple & + :type TheConstraints: opencascade::handle & :param Parameters: :type Parameters: math_Vector & :param Deg: :type Deg: int - :rtype: None -") AppDef_ParFunctionOfMyGradientOfCompute; - AppDef_ParFunctionOfMyGradientOfCompute (const AppDef_MultiLine & SSP,const Standard_Integer FirstPoint,const Standard_Integer LastPoint,const Handle_AppParCurves_HArray1OfConstraintCouple & TheConstraints,const math_Vector & Parameters,const Standard_Integer Deg); + :rtype: None") AppDef_ParFunctionOfMyGradientOfCompute; + AppDef_ParFunctionOfMyGradientOfCompute (const AppDef_MultiLine & SSP,const Standard_Integer FirstPoint,const Standard_Integer LastPoint,const opencascade::handle & TheConstraints,const math_Vector & Parameters,const Standard_Integer Deg); + + /****************** CurveValue ******************/ + %feature("compactdefaultargs") CurveValue; + %feature("autodoc", "* returns the MultiCurve approximating the set after computing the value F or Grad(F). + :rtype: AppParCurves_MultiCurve") CurveValue; + const AppParCurves_MultiCurve & CurveValue (); + + /****************** Error ******************/ + %feature("compactdefaultargs") Error; + %feature("autodoc", "* returns the distance between the MultiPoint of range IPoint and the curve CurveIndex. + :param IPoint: + :type IPoint: int + :param CurveIndex: + :type CurveIndex: int + :rtype: float") Error; + Standard_Real Error (const Standard_Integer IPoint,const Standard_Integer CurveIndex); + + /****************** FirstConstraint ******************/ + %feature("compactdefaultargs") FirstConstraint; + %feature("autodoc", ":param TheConstraints: + :type TheConstraints: opencascade::handle & + :param FirstPoint: + :type FirstPoint: int + :rtype: AppParCurves_Constraint") FirstConstraint; + AppParCurves_Constraint FirstConstraint (const opencascade::handle & TheConstraints,const Standard_Integer FirstPoint); + + /****************** Gradient ******************/ + %feature("compactdefaultargs") Gradient; + %feature("autodoc", "* returns the gradient G of the sum above for the parameters Xi. + :param X: + :type X: math_Vector & + :param G: + :type G: math_Vector & + :rtype: bool") Gradient; + Standard_Boolean Gradient (const math_Vector & X,math_Vector & G); + + /****************** LastConstraint ******************/ + %feature("compactdefaultargs") LastConstraint; + %feature("autodoc", ":param TheConstraints: + :type TheConstraints: opencascade::handle & + :param LastPoint: + :type LastPoint: int + :rtype: AppParCurves_Constraint") LastConstraint; + AppParCurves_Constraint LastConstraint (const opencascade::handle & TheConstraints,const Standard_Integer LastPoint); + + /****************** MaxError2d ******************/ + %feature("compactdefaultargs") MaxError2d; + %feature("autodoc", "* returns the maximum distance between the points and the MultiCurve. + :rtype: float") MaxError2d; + Standard_Real MaxError2d (); + + /****************** MaxError3d ******************/ + %feature("compactdefaultargs") MaxError3d; + %feature("autodoc", "* returns the maximum distance between the points and the MultiCurve. + :rtype: float") MaxError3d; + Standard_Real MaxError3d (); + + /****************** NbVariables ******************/ %feature("compactdefaultargs") NbVariables; - %feature("autodoc", " :rtype: int -") NbVariables; + %feature("autodoc", "* returns the number of variables of the function. It corresponds to the number of MultiPoints. + :rtype: int") NbVariables; Standard_Integer NbVariables (); + + /****************** NewParameters ******************/ + %feature("compactdefaultargs") NewParameters; + %feature("autodoc", "* returns the new parameters of the MultiLine. + :rtype: math_Vector") NewParameters; + const math_Vector & NewParameters (); + + /****************** Value ******************/ %feature("compactdefaultargs") Value; - %feature("autodoc", " :param X: + %feature("autodoc", "* this method computes the new approximation of the MultiLine SSP and calculates F = sum (||Pui - Bi*Pi||2) for each point of the MultiLine. + :param X: :type X: math_Vector & :param F: :type F: float & - :rtype: bool -") Value; + :rtype: bool") Value; Standard_Boolean Value (const math_Vector & X,Standard_Real &OutValue); - %feature("compactdefaultargs") Gradient; - %feature("autodoc", " :param X: - :type X: math_Vector & - :param G: - :type G: math_Vector & - :rtype: bool -") Gradient; - Standard_Boolean Gradient (const math_Vector & X,math_Vector & G); + + /****************** Values ******************/ %feature("compactdefaultargs") Values; - %feature("autodoc", " :param X: + %feature("autodoc", "* returns the value F=sum(||Pui - Bi*Pi||)2. returns the value G = grad(F) for the parameters Xi. + :param X: :type X: math_Vector & :param F: :type F: float & :param G: :type G: math_Vector & - :rtype: bool -") Values; + :rtype: bool") Values; Standard_Boolean Values (const math_Vector & X,Standard_Real &OutValue,math_Vector & G); - %feature("compactdefaultargs") NewParameters; - %feature("autodoc", " :rtype: math_Vector -") NewParameters; - const math_Vector & NewParameters (); - %feature("compactdefaultargs") CurveValue; - %feature("autodoc", " :rtype: AppParCurves_MultiCurve -") CurveValue; - const AppParCurves_MultiCurve & CurveValue (); - %feature("compactdefaultargs") Error; - %feature("autodoc", " :param IPoint: - :type IPoint: int - :param CurveIndex: - :type CurveIndex: int - :rtype: float -") Error; - Standard_Real Error (const Standard_Integer IPoint,const Standard_Integer CurveIndex); - %feature("compactdefaultargs") MaxError3d; - %feature("autodoc", " :rtype: float -") MaxError3d; - Standard_Real MaxError3d (); - %feature("compactdefaultargs") MaxError2d; - %feature("autodoc", " :rtype: float -") MaxError2d; - Standard_Real MaxError2d (); - %feature("compactdefaultargs") FirstConstraint; - %feature("autodoc", " :param TheConstraints: - :type TheConstraints: Handle_AppParCurves_HArray1OfConstraintCouple & - :param FirstPoint: - :type FirstPoint: int - :rtype: AppParCurves_Constraint -") FirstConstraint; - AppParCurves_Constraint FirstConstraint (const Handle_AppParCurves_HArray1OfConstraintCouple & TheConstraints,const Standard_Integer FirstPoint); - %feature("compactdefaultargs") LastConstraint; - %feature("autodoc", " :param TheConstraints: - :type TheConstraints: Handle_AppParCurves_HArray1OfConstraintCouple & - :param LastPoint: - :type LastPoint: int - :rtype: AppParCurves_Constraint -") LastConstraint; - AppParCurves_Constraint LastConstraint (const Handle_AppParCurves_HArray1OfConstraintCouple & TheConstraints,const Standard_Integer LastPoint); + }; @@ -1955,95 +2079,121 @@ class AppDef_ParFunctionOfMyGradientOfCompute : public math_MultipleVarFunctionW __repr__ = _dumps_object } }; + +/********************************************************** +* class AppDef_ParFunctionOfMyGradientbisOfBSplineCompute * +**********************************************************/ %nodefaultctor AppDef_ParFunctionOfMyGradientbisOfBSplineCompute; class AppDef_ParFunctionOfMyGradientbisOfBSplineCompute : public math_MultipleVarFunctionWithGradient { public: + /****************** AppDef_ParFunctionOfMyGradientbisOfBSplineCompute ******************/ %feature("compactdefaultargs") AppDef_ParFunctionOfMyGradientbisOfBSplineCompute; - %feature("autodoc", " :param SSP: + %feature("autodoc", "* initializes the fields of the function. The approximating curve has the desired degree Deg. + :param SSP: :type SSP: AppDef_MultiLine & :param FirstPoint: :type FirstPoint: int :param LastPoint: :type LastPoint: int :param TheConstraints: - :type TheConstraints: Handle_AppParCurves_HArray1OfConstraintCouple & + :type TheConstraints: opencascade::handle & :param Parameters: :type Parameters: math_Vector & :param Deg: :type Deg: int - :rtype: None -") AppDef_ParFunctionOfMyGradientbisOfBSplineCompute; - AppDef_ParFunctionOfMyGradientbisOfBSplineCompute (const AppDef_MultiLine & SSP,const Standard_Integer FirstPoint,const Standard_Integer LastPoint,const Handle_AppParCurves_HArray1OfConstraintCouple & TheConstraints,const math_Vector & Parameters,const Standard_Integer Deg); + :rtype: None") AppDef_ParFunctionOfMyGradientbisOfBSplineCompute; + AppDef_ParFunctionOfMyGradientbisOfBSplineCompute (const AppDef_MultiLine & SSP,const Standard_Integer FirstPoint,const Standard_Integer LastPoint,const opencascade::handle & TheConstraints,const math_Vector & Parameters,const Standard_Integer Deg); + + /****************** CurveValue ******************/ + %feature("compactdefaultargs") CurveValue; + %feature("autodoc", "* returns the MultiCurve approximating the set after computing the value F or Grad(F). + :rtype: AppParCurves_MultiCurve") CurveValue; + const AppParCurves_MultiCurve & CurveValue (); + + /****************** Error ******************/ + %feature("compactdefaultargs") Error; + %feature("autodoc", "* returns the distance between the MultiPoint of range IPoint and the curve CurveIndex. + :param IPoint: + :type IPoint: int + :param CurveIndex: + :type CurveIndex: int + :rtype: float") Error; + Standard_Real Error (const Standard_Integer IPoint,const Standard_Integer CurveIndex); + + /****************** FirstConstraint ******************/ + %feature("compactdefaultargs") FirstConstraint; + %feature("autodoc", ":param TheConstraints: + :type TheConstraints: opencascade::handle & + :param FirstPoint: + :type FirstPoint: int + :rtype: AppParCurves_Constraint") FirstConstraint; + AppParCurves_Constraint FirstConstraint (const opencascade::handle & TheConstraints,const Standard_Integer FirstPoint); + + /****************** Gradient ******************/ + %feature("compactdefaultargs") Gradient; + %feature("autodoc", "* returns the gradient G of the sum above for the parameters Xi. + :param X: + :type X: math_Vector & + :param G: + :type G: math_Vector & + :rtype: bool") Gradient; + Standard_Boolean Gradient (const math_Vector & X,math_Vector & G); + + /****************** LastConstraint ******************/ + %feature("compactdefaultargs") LastConstraint; + %feature("autodoc", ":param TheConstraints: + :type TheConstraints: opencascade::handle & + :param LastPoint: + :type LastPoint: int + :rtype: AppParCurves_Constraint") LastConstraint; + AppParCurves_Constraint LastConstraint (const opencascade::handle & TheConstraints,const Standard_Integer LastPoint); + + /****************** MaxError2d ******************/ + %feature("compactdefaultargs") MaxError2d; + %feature("autodoc", "* returns the maximum distance between the points and the MultiCurve. + :rtype: float") MaxError2d; + Standard_Real MaxError2d (); + + /****************** MaxError3d ******************/ + %feature("compactdefaultargs") MaxError3d; + %feature("autodoc", "* returns the maximum distance between the points and the MultiCurve. + :rtype: float") MaxError3d; + Standard_Real MaxError3d (); + + /****************** NbVariables ******************/ %feature("compactdefaultargs") NbVariables; - %feature("autodoc", " :rtype: int -") NbVariables; + %feature("autodoc", "* returns the number of variables of the function. It corresponds to the number of MultiPoints. + :rtype: int") NbVariables; Standard_Integer NbVariables (); + + /****************** NewParameters ******************/ + %feature("compactdefaultargs") NewParameters; + %feature("autodoc", "* returns the new parameters of the MultiLine. + :rtype: math_Vector") NewParameters; + const math_Vector & NewParameters (); + + /****************** Value ******************/ %feature("compactdefaultargs") Value; - %feature("autodoc", " :param X: + %feature("autodoc", "* this method computes the new approximation of the MultiLine SSP and calculates F = sum (||Pui - Bi*Pi||2) for each point of the MultiLine. + :param X: :type X: math_Vector & :param F: :type F: float & - :rtype: bool -") Value; + :rtype: bool") Value; Standard_Boolean Value (const math_Vector & X,Standard_Real &OutValue); - %feature("compactdefaultargs") Gradient; - %feature("autodoc", " :param X: - :type X: math_Vector & - :param G: - :type G: math_Vector & - :rtype: bool -") Gradient; - Standard_Boolean Gradient (const math_Vector & X,math_Vector & G); + + /****************** Values ******************/ %feature("compactdefaultargs") Values; - %feature("autodoc", " :param X: + %feature("autodoc", "* returns the value F=sum(||Pui - Bi*Pi||)2. returns the value G = grad(F) for the parameters Xi. + :param X: :type X: math_Vector & :param F: :type F: float & :param G: :type G: math_Vector & - :rtype: bool -") Values; + :rtype: bool") Values; Standard_Boolean Values (const math_Vector & X,Standard_Real &OutValue,math_Vector & G); - %feature("compactdefaultargs") NewParameters; - %feature("autodoc", " :rtype: math_Vector -") NewParameters; - const math_Vector & NewParameters (); - %feature("compactdefaultargs") CurveValue; - %feature("autodoc", " :rtype: AppParCurves_MultiCurve -") CurveValue; - const AppParCurves_MultiCurve & CurveValue (); - %feature("compactdefaultargs") Error; - %feature("autodoc", " :param IPoint: - :type IPoint: int - :param CurveIndex: - :type CurveIndex: int - :rtype: float -") Error; - Standard_Real Error (const Standard_Integer IPoint,const Standard_Integer CurveIndex); - %feature("compactdefaultargs") MaxError3d; - %feature("autodoc", " :rtype: float -") MaxError3d; - Standard_Real MaxError3d (); - %feature("compactdefaultargs") MaxError2d; - %feature("autodoc", " :rtype: float -") MaxError2d; - Standard_Real MaxError2d (); - %feature("compactdefaultargs") FirstConstraint; - %feature("autodoc", " :param TheConstraints: - :type TheConstraints: Handle_AppParCurves_HArray1OfConstraintCouple & - :param FirstPoint: - :type FirstPoint: int - :rtype: AppParCurves_Constraint -") FirstConstraint; - AppParCurves_Constraint FirstConstraint (const Handle_AppParCurves_HArray1OfConstraintCouple & TheConstraints,const Standard_Integer FirstPoint); - %feature("compactdefaultargs") LastConstraint; - %feature("autodoc", " :param TheConstraints: - :type TheConstraints: Handle_AppParCurves_HArray1OfConstraintCouple & - :param LastPoint: - :type LastPoint: int - :rtype: AppParCurves_Constraint -") LastConstraint; - AppParCurves_Constraint LastConstraint (const Handle_AppParCurves_HArray1OfConstraintCouple & TheConstraints,const Standard_Integer LastPoint); + }; @@ -2052,95 +2202,121 @@ class AppDef_ParFunctionOfMyGradientbisOfBSplineCompute : public math_MultipleVa __repr__ = _dumps_object } }; + +/**************************************** +* class AppDef_ParFunctionOfTheGradient * +****************************************/ %nodefaultctor AppDef_ParFunctionOfTheGradient; class AppDef_ParFunctionOfTheGradient : public math_MultipleVarFunctionWithGradient { public: + /****************** AppDef_ParFunctionOfTheGradient ******************/ %feature("compactdefaultargs") AppDef_ParFunctionOfTheGradient; - %feature("autodoc", " :param SSP: + %feature("autodoc", "* initializes the fields of the function. The approximating curve has the desired degree Deg. + :param SSP: :type SSP: AppDef_MultiLine & :param FirstPoint: :type FirstPoint: int :param LastPoint: :type LastPoint: int :param TheConstraints: - :type TheConstraints: Handle_AppParCurves_HArray1OfConstraintCouple & + :type TheConstraints: opencascade::handle & :param Parameters: :type Parameters: math_Vector & :param Deg: :type Deg: int - :rtype: None -") AppDef_ParFunctionOfTheGradient; - AppDef_ParFunctionOfTheGradient (const AppDef_MultiLine & SSP,const Standard_Integer FirstPoint,const Standard_Integer LastPoint,const Handle_AppParCurves_HArray1OfConstraintCouple & TheConstraints,const math_Vector & Parameters,const Standard_Integer Deg); + :rtype: None") AppDef_ParFunctionOfTheGradient; + AppDef_ParFunctionOfTheGradient (const AppDef_MultiLine & SSP,const Standard_Integer FirstPoint,const Standard_Integer LastPoint,const opencascade::handle & TheConstraints,const math_Vector & Parameters,const Standard_Integer Deg); + + /****************** CurveValue ******************/ + %feature("compactdefaultargs") CurveValue; + %feature("autodoc", "* returns the MultiCurve approximating the set after computing the value F or Grad(F). + :rtype: AppParCurves_MultiCurve") CurveValue; + const AppParCurves_MultiCurve & CurveValue (); + + /****************** Error ******************/ + %feature("compactdefaultargs") Error; + %feature("autodoc", "* returns the distance between the MultiPoint of range IPoint and the curve CurveIndex. + :param IPoint: + :type IPoint: int + :param CurveIndex: + :type CurveIndex: int + :rtype: float") Error; + Standard_Real Error (const Standard_Integer IPoint,const Standard_Integer CurveIndex); + + /****************** FirstConstraint ******************/ + %feature("compactdefaultargs") FirstConstraint; + %feature("autodoc", ":param TheConstraints: + :type TheConstraints: opencascade::handle & + :param FirstPoint: + :type FirstPoint: int + :rtype: AppParCurves_Constraint") FirstConstraint; + AppParCurves_Constraint FirstConstraint (const opencascade::handle & TheConstraints,const Standard_Integer FirstPoint); + + /****************** Gradient ******************/ + %feature("compactdefaultargs") Gradient; + %feature("autodoc", "* returns the gradient G of the sum above for the parameters Xi. + :param X: + :type X: math_Vector & + :param G: + :type G: math_Vector & + :rtype: bool") Gradient; + Standard_Boolean Gradient (const math_Vector & X,math_Vector & G); + + /****************** LastConstraint ******************/ + %feature("compactdefaultargs") LastConstraint; + %feature("autodoc", ":param TheConstraints: + :type TheConstraints: opencascade::handle & + :param LastPoint: + :type LastPoint: int + :rtype: AppParCurves_Constraint") LastConstraint; + AppParCurves_Constraint LastConstraint (const opencascade::handle & TheConstraints,const Standard_Integer LastPoint); + + /****************** MaxError2d ******************/ + %feature("compactdefaultargs") MaxError2d; + %feature("autodoc", "* returns the maximum distance between the points and the MultiCurve. + :rtype: float") MaxError2d; + Standard_Real MaxError2d (); + + /****************** MaxError3d ******************/ + %feature("compactdefaultargs") MaxError3d; + %feature("autodoc", "* returns the maximum distance between the points and the MultiCurve. + :rtype: float") MaxError3d; + Standard_Real MaxError3d (); + + /****************** NbVariables ******************/ %feature("compactdefaultargs") NbVariables; - %feature("autodoc", " :rtype: int -") NbVariables; + %feature("autodoc", "* returns the number of variables of the function. It corresponds to the number of MultiPoints. + :rtype: int") NbVariables; Standard_Integer NbVariables (); + + /****************** NewParameters ******************/ + %feature("compactdefaultargs") NewParameters; + %feature("autodoc", "* returns the new parameters of the MultiLine. + :rtype: math_Vector") NewParameters; + const math_Vector & NewParameters (); + + /****************** Value ******************/ %feature("compactdefaultargs") Value; - %feature("autodoc", " :param X: + %feature("autodoc", "* this method computes the new approximation of the MultiLine SSP and calculates F = sum (||Pui - Bi*Pi||2) for each point of the MultiLine. + :param X: :type X: math_Vector & :param F: :type F: float & - :rtype: bool -") Value; + :rtype: bool") Value; Standard_Boolean Value (const math_Vector & X,Standard_Real &OutValue); - %feature("compactdefaultargs") Gradient; - %feature("autodoc", " :param X: - :type X: math_Vector & - :param G: - :type G: math_Vector & - :rtype: bool -") Gradient; - Standard_Boolean Gradient (const math_Vector & X,math_Vector & G); + + /****************** Values ******************/ %feature("compactdefaultargs") Values; - %feature("autodoc", " :param X: + %feature("autodoc", "* returns the value F=sum(||Pui - Bi*Pi||)2. returns the value G = grad(F) for the parameters Xi. + :param X: :type X: math_Vector & :param F: :type F: float & :param G: :type G: math_Vector & - :rtype: bool -") Values; + :rtype: bool") Values; Standard_Boolean Values (const math_Vector & X,Standard_Real &OutValue,math_Vector & G); - %feature("compactdefaultargs") NewParameters; - %feature("autodoc", " :rtype: math_Vector -") NewParameters; - const math_Vector & NewParameters (); - %feature("compactdefaultargs") CurveValue; - %feature("autodoc", " :rtype: AppParCurves_MultiCurve -") CurveValue; - const AppParCurves_MultiCurve & CurveValue (); - %feature("compactdefaultargs") Error; - %feature("autodoc", " :param IPoint: - :type IPoint: int - :param CurveIndex: - :type CurveIndex: int - :rtype: float -") Error; - Standard_Real Error (const Standard_Integer IPoint,const Standard_Integer CurveIndex); - %feature("compactdefaultargs") MaxError3d; - %feature("autodoc", " :rtype: float -") MaxError3d; - Standard_Real MaxError3d (); - %feature("compactdefaultargs") MaxError2d; - %feature("autodoc", " :rtype: float -") MaxError2d; - Standard_Real MaxError2d (); - %feature("compactdefaultargs") FirstConstraint; - %feature("autodoc", " :param TheConstraints: - :type TheConstraints: Handle_AppParCurves_HArray1OfConstraintCouple & - :param FirstPoint: - :type FirstPoint: int - :rtype: AppParCurves_Constraint -") FirstConstraint; - AppParCurves_Constraint FirstConstraint (const Handle_AppParCurves_HArray1OfConstraintCouple & TheConstraints,const Standard_Integer FirstPoint); - %feature("compactdefaultargs") LastConstraint; - %feature("autodoc", " :param TheConstraints: - :type TheConstraints: Handle_AppParCurves_HArray1OfConstraintCouple & - :param LastPoint: - :type LastPoint: int - :rtype: AppParCurves_Constraint -") LastConstraint; - AppParCurves_Constraint LastConstraint (const Handle_AppParCurves_HArray1OfConstraintCouple & TheConstraints,const Standard_Integer LastPoint); + }; @@ -2149,11 +2325,17 @@ class AppDef_ParFunctionOfTheGradient : public math_MultipleVarFunctionWithGradi __repr__ = _dumps_object } }; + +/*************************************************** +* class AppDef_ParLeastSquareOfMyGradientOfCompute * +***************************************************/ %nodefaultctor AppDef_ParLeastSquareOfMyGradientOfCompute; class AppDef_ParLeastSquareOfMyGradientOfCompute { public: + /****************** AppDef_ParLeastSquareOfMyGradientOfCompute ******************/ %feature("compactdefaultargs") AppDef_ParLeastSquareOfMyGradientOfCompute; - %feature("autodoc", " :param SSP: + %feature("autodoc", "* given a MultiLine, this algorithm computes the least square resolution using the Householder-QR method. If the first and/or the last point is a constraint point, the value of the tangency or curvature is computed in the resolution. NbPol is the number of control points wanted for the approximating curves. The system to solve is the following: A X = B. Where A is the Bernstein matrix computed with the parameters, B the points coordinates and X the poles solutions. The matrix A is the same for each coordinate x, y and z and is also the same for each MultiLine point because they are approximated in parallel(so with the same parameter, only the vector B changes). + :param SSP: :type SSP: AppDef_MultiLine & :param FirstPoint: :type FirstPoint: int @@ -2167,11 +2349,13 @@ class AppDef_ParLeastSquareOfMyGradientOfCompute { :type Parameters: math_Vector & :param NbPol: :type NbPol: int - :rtype: None -") AppDef_ParLeastSquareOfMyGradientOfCompute; + :rtype: None") AppDef_ParLeastSquareOfMyGradientOfCompute; AppDef_ParLeastSquareOfMyGradientOfCompute (const AppDef_MultiLine & SSP,const Standard_Integer FirstPoint,const Standard_Integer LastPoint,const AppParCurves_Constraint FirstCons,const AppParCurves_Constraint LastCons,const math_Vector & Parameters,const Standard_Integer NbPol); + + /****************** AppDef_ParLeastSquareOfMyGradientOfCompute ******************/ %feature("compactdefaultargs") AppDef_ParLeastSquareOfMyGradientOfCompute; - %feature("autodoc", " :param SSP: + %feature("autodoc", "* Initializes the fields of the object. + :param SSP: :type SSP: AppDef_MultiLine & :param FirstPoint: :type FirstPoint: int @@ -2183,11 +2367,13 @@ class AppDef_ParLeastSquareOfMyGradientOfCompute { :type LastCons: AppParCurves_Constraint :param NbPol: :type NbPol: int - :rtype: None -") AppDef_ParLeastSquareOfMyGradientOfCompute; + :rtype: None") AppDef_ParLeastSquareOfMyGradientOfCompute; AppDef_ParLeastSquareOfMyGradientOfCompute (const AppDef_MultiLine & SSP,const Standard_Integer FirstPoint,const Standard_Integer LastPoint,const AppParCurves_Constraint FirstCons,const AppParCurves_Constraint LastCons,const Standard_Integer NbPol); + + /****************** AppDef_ParLeastSquareOfMyGradientOfCompute ******************/ %feature("compactdefaultargs") AppDef_ParLeastSquareOfMyGradientOfCompute; - %feature("autodoc", " :param SSP: + %feature("autodoc", "* given a MultiLine, this algorithm computes the least square resolution using the Householder-QR method. If the first and/or the last point is a constraint point, the value of the tangency or curvature is computed in the resolution. Deg is the degree wanted for the approximating curves. The system to solve is the following: A X = B. Where A is the BSpline functions matrix computed with , B the points coordinates and X the poles solutions. The matrix A is the same for each coordinate x, y and z and is also the same for each MultiLine point because they are approximated in parallel(so with the same parameter, only the vector B changes). + :param SSP: :type SSP: AppDef_MultiLine & :param Knots: :type Knots: TColStd_Array1OfReal & @@ -2205,11 +2391,13 @@ class AppDef_ParLeastSquareOfMyGradientOfCompute { :type Parameters: math_Vector & :param NbPol: :type NbPol: int - :rtype: None -") AppDef_ParLeastSquareOfMyGradientOfCompute; + :rtype: None") AppDef_ParLeastSquareOfMyGradientOfCompute; AppDef_ParLeastSquareOfMyGradientOfCompute (const AppDef_MultiLine & SSP,const TColStd_Array1OfReal & Knots,const TColStd_Array1OfInteger & Mults,const Standard_Integer FirstPoint,const Standard_Integer LastPoint,const AppParCurves_Constraint FirstCons,const AppParCurves_Constraint LastCons,const math_Vector & Parameters,const Standard_Integer NbPol); + + /****************** AppDef_ParLeastSquareOfMyGradientOfCompute ******************/ %feature("compactdefaultargs") AppDef_ParLeastSquareOfMyGradientOfCompute; - %feature("autodoc", " :param SSP: + %feature("autodoc", "* Initializes the fields of the object. + :param SSP: :type SSP: AppDef_MultiLine & :param Knots: :type Knots: TColStd_Array1OfReal & @@ -2225,123 +2413,157 @@ class AppDef_ParLeastSquareOfMyGradientOfCompute { :type LastCons: AppParCurves_Constraint :param NbPol: :type NbPol: int - :rtype: None -") AppDef_ParLeastSquareOfMyGradientOfCompute; + :rtype: None") AppDef_ParLeastSquareOfMyGradientOfCompute; AppDef_ParLeastSquareOfMyGradientOfCompute (const AppDef_MultiLine & SSP,const TColStd_Array1OfReal & Knots,const TColStd_Array1OfInteger & Mults,const Standard_Integer FirstPoint,const Standard_Integer LastPoint,const AppParCurves_Constraint FirstCons,const AppParCurves_Constraint LastCons,const Standard_Integer NbPol); - %feature("compactdefaultargs") Perform; - %feature("autodoc", " :param Parameters: - :type Parameters: math_Vector & - :rtype: None -") Perform; - void Perform (const math_Vector & Parameters); - %feature("compactdefaultargs") Perform; - %feature("autodoc", " :param Parameters: - :type Parameters: math_Vector & - :param l1: - :type l1: float - :param l2: - :type l2: float - :rtype: None -") Perform; - void Perform (const math_Vector & Parameters,const Standard_Real l1,const Standard_Real l2); - %feature("compactdefaultargs") Perform; - %feature("autodoc", " :param Parameters: - :type Parameters: math_Vector & - :param V1t: - :type V1t: math_Vector & - :param V2t: - :type V2t: math_Vector & - :param l1: - :type l1: float - :param l2: - :type l2: float - :rtype: None -") Perform; - void Perform (const math_Vector & Parameters,const math_Vector & V1t,const math_Vector & V2t,const Standard_Real l1,const Standard_Real l2); - %feature("compactdefaultargs") Perform; - %feature("autodoc", " :param Parameters: - :type Parameters: math_Vector & - :param V1t: - :type V1t: math_Vector & - :param V2t: - :type V2t: math_Vector & - :param V1c: - :type V1c: math_Vector & - :param V2c: - :type V2c: math_Vector & - :param l1: - :type l1: float - :param l2: - :type l2: float - :rtype: None -") Perform; - void Perform (const math_Vector & Parameters,const math_Vector & V1t,const math_Vector & V2t,const math_Vector & V1c,const math_Vector & V2c,const Standard_Real l1,const Standard_Real l2); - %feature("compactdefaultargs") IsDone; - %feature("autodoc", " :rtype: bool -") IsDone; - Standard_Boolean IsDone (); - %feature("compactdefaultargs") BezierValue; - %feature("autodoc", " :rtype: AppParCurves_MultiCurve -") BezierValue; - AppParCurves_MultiCurve BezierValue (); + + /****************** BSplineValue ******************/ %feature("compactdefaultargs") BSplineValue; - %feature("autodoc", " :rtype: AppParCurves_MultiBSpCurve -") BSplineValue; + %feature("autodoc", "* returns the result of the approximation, i.e. all the Curves. An exception is raised if NotDone. + :rtype: AppParCurves_MultiBSpCurve") BSplineValue; const AppParCurves_MultiBSpCurve & BSplineValue (); - %feature("compactdefaultargs") FunctionMatrix; - %feature("autodoc", " :rtype: math_Matrix -") FunctionMatrix; - const math_Matrix & FunctionMatrix (); + + /****************** BezierValue ******************/ + %feature("compactdefaultargs") BezierValue; + %feature("autodoc", "* returns the result of the approximation, i.e. all the Curves. An exception is raised if NotDone. + :rtype: AppParCurves_MultiCurve") BezierValue; + AppParCurves_MultiCurve BezierValue (); + + /****************** DerivativeFunctionMatrix ******************/ %feature("compactdefaultargs") DerivativeFunctionMatrix; - %feature("autodoc", " :rtype: math_Matrix -") DerivativeFunctionMatrix; + %feature("autodoc", "* returns the derivative function matrix used to approximate the set. + :rtype: math_Matrix") DerivativeFunctionMatrix; const math_Matrix & DerivativeFunctionMatrix (); - %feature("compactdefaultargs") ErrorGradient; - %feature("autodoc", " :param Grad: - :type Grad: math_Vector & + + /****************** Distance ******************/ + %feature("compactdefaultargs") Distance; + %feature("autodoc", "* returns the distances between the points of the multiline and the approximation curves. + :rtype: math_Matrix") Distance; + const math_Matrix & Distance (); + + /****************** Error ******************/ + %feature("compactdefaultargs") Error; + %feature("autodoc", "* returns the maximum errors between the MultiLine and the approximation curves. F is the sum of the square distances. :param F: :type F: float & :param MaxE3d: :type MaxE3d: float & :param MaxE2d: :type MaxE2d: float & - :rtype: None -") ErrorGradient; - void ErrorGradient (math_Vector & Grad,Standard_Real &OutValue,Standard_Real &OutValue,Standard_Real &OutValue); - %feature("compactdefaultargs") Distance; - %feature("autodoc", " :rtype: math_Matrix -") Distance; - const math_Matrix & Distance (); - %feature("compactdefaultargs") Error; - %feature("autodoc", " :param F: + :rtype: None") Error; + void Error (Standard_Real &OutValue,Standard_Real &OutValue,Standard_Real &OutValue); + + /****************** ErrorGradient ******************/ + %feature("compactdefaultargs") ErrorGradient; + %feature("autodoc", "* returns the maximum errors between the MultiLine and the approximation curves. F is the sum of the square distances. Grad is the derivative vector of the function F. + :param Grad: + :type Grad: math_Vector & + :param F: :type F: float & :param MaxE3d: :type MaxE3d: float & :param MaxE2d: :type MaxE2d: float & - :rtype: None -") Error; - void Error (Standard_Real &OutValue,Standard_Real &OutValue,Standard_Real &OutValue); + :rtype: None") ErrorGradient; + void ErrorGradient (math_Vector & Grad,Standard_Real &OutValue,Standard_Real &OutValue,Standard_Real &OutValue); + + /****************** FirstLambda ******************/ %feature("compactdefaultargs") FirstLambda; - %feature("autodoc", " :rtype: float -") FirstLambda; + %feature("autodoc", "* returns the value (P2 - P1)/ V1 if the first point was a tangency point. + :rtype: float") FirstLambda; Standard_Real FirstLambda (); + + /****************** FunctionMatrix ******************/ + %feature("compactdefaultargs") FunctionMatrix; + %feature("autodoc", "* returns the function matrix used to approximate the set. + :rtype: math_Matrix") FunctionMatrix; + const math_Matrix & FunctionMatrix (); + + /****************** IsDone ******************/ + %feature("compactdefaultargs") IsDone; + %feature("autodoc", "* returns True if all has been correctly done. + :rtype: bool") IsDone; + Standard_Boolean IsDone (); + + /****************** KIndex ******************/ + %feature("compactdefaultargs") KIndex; + %feature("autodoc", "* Returns the indexes of the first non null values of A and DA. The values are non null from Index(ieme point) +1 to Index(ieme point) + degree +1. + :rtype: math_IntegerVector") KIndex; + const math_IntegerVector & KIndex (); + + /****************** LastLambda ******************/ %feature("compactdefaultargs") LastLambda; - %feature("autodoc", " :rtype: float -") LastLambda; + %feature("autodoc", "* returns the value (PN - PN-1)/ VN if the last point was a tangency point. + :rtype: float") LastLambda; Standard_Real LastLambda (); + + /****************** Perform ******************/ + %feature("compactdefaultargs") Perform; + %feature("autodoc", "* Is used after having initialized the fields. The case 'CurvaturePoint' is not treated in this method. + :param Parameters: + :type Parameters: math_Vector & + :rtype: None") Perform; + void Perform (const math_Vector & Parameters); + + /****************** Perform ******************/ + %feature("compactdefaultargs") Perform; + %feature("autodoc", "* Is used after having initialized the fields. + :param Parameters: + :type Parameters: math_Vector & + :param l1: + :type l1: float + :param l2: + :type l2: float + :rtype: None") Perform; + void Perform (const math_Vector & Parameters,const Standard_Real l1,const Standard_Real l2); + + /****************** Perform ******************/ + %feature("compactdefaultargs") Perform; + %feature("autodoc", "* Is used after having initialized the fields. is the tangent vector at the first point. is the tangent vector at the last point. + :param Parameters: + :type Parameters: math_Vector & + :param V1t: + :type V1t: math_Vector & + :param V2t: + :type V2t: math_Vector & + :param l1: + :type l1: float + :param l2: + :type l2: float + :rtype: None") Perform; + void Perform (const math_Vector & Parameters,const math_Vector & V1t,const math_Vector & V2t,const Standard_Real l1,const Standard_Real l2); + + /****************** Perform ******************/ + %feature("compactdefaultargs") Perform; + %feature("autodoc", "* Is used after having initialized the fields. is the tangent vector at the first point. is the tangent vector at the last point. is the tangent vector at the first point. is the tangent vector at the last point. + :param Parameters: + :type Parameters: math_Vector & + :param V1t: + :type V1t: math_Vector & + :param V2t: + :type V2t: math_Vector & + :param V1c: + :type V1c: math_Vector & + :param V2c: + :type V2c: math_Vector & + :param l1: + :type l1: float + :param l2: + :type l2: float + :rtype: None") Perform; + void Perform (const math_Vector & Parameters,const math_Vector & V1t,const math_Vector & V2t,const math_Vector & V1c,const math_Vector & V2c,const Standard_Real l1,const Standard_Real l2); + + /****************** Points ******************/ %feature("compactdefaultargs") Points; - %feature("autodoc", " :rtype: math_Matrix -") Points; + %feature("autodoc", "* returns the matrix of points value. + :rtype: math_Matrix") Points; const math_Matrix & Points (); + + /****************** Poles ******************/ %feature("compactdefaultargs") Poles; - %feature("autodoc", " :rtype: math_Matrix -") Poles; + %feature("autodoc", "* returns the matrix of resulting control points value. + :rtype: math_Matrix") Poles; const math_Matrix & Poles (); - %feature("compactdefaultargs") KIndex; - %feature("autodoc", " :rtype: math_IntegerVector -") KIndex; - const math_IntegerVector & KIndex (); + }; @@ -2350,11 +2572,17 @@ class AppDef_ParLeastSquareOfMyGradientOfCompute { __repr__ = _dumps_object } }; + +/************************************************************* +* class AppDef_ParLeastSquareOfMyGradientbisOfBSplineCompute * +*************************************************************/ %nodefaultctor AppDef_ParLeastSquareOfMyGradientbisOfBSplineCompute; class AppDef_ParLeastSquareOfMyGradientbisOfBSplineCompute { public: + /****************** AppDef_ParLeastSquareOfMyGradientbisOfBSplineCompute ******************/ %feature("compactdefaultargs") AppDef_ParLeastSquareOfMyGradientbisOfBSplineCompute; - %feature("autodoc", " :param SSP: + %feature("autodoc", "* given a MultiLine, this algorithm computes the least square resolution using the Householder-QR method. If the first and/or the last point is a constraint point, the value of the tangency or curvature is computed in the resolution. NbPol is the number of control points wanted for the approximating curves. The system to solve is the following: A X = B. Where A is the Bernstein matrix computed with the parameters, B the points coordinates and X the poles solutions. The matrix A is the same for each coordinate x, y and z and is also the same for each MultiLine point because they are approximated in parallel(so with the same parameter, only the vector B changes). + :param SSP: :type SSP: AppDef_MultiLine & :param FirstPoint: :type FirstPoint: int @@ -2368,11 +2596,13 @@ class AppDef_ParLeastSquareOfMyGradientbisOfBSplineCompute { :type Parameters: math_Vector & :param NbPol: :type NbPol: int - :rtype: None -") AppDef_ParLeastSquareOfMyGradientbisOfBSplineCompute; + :rtype: None") AppDef_ParLeastSquareOfMyGradientbisOfBSplineCompute; AppDef_ParLeastSquareOfMyGradientbisOfBSplineCompute (const AppDef_MultiLine & SSP,const Standard_Integer FirstPoint,const Standard_Integer LastPoint,const AppParCurves_Constraint FirstCons,const AppParCurves_Constraint LastCons,const math_Vector & Parameters,const Standard_Integer NbPol); + + /****************** AppDef_ParLeastSquareOfMyGradientbisOfBSplineCompute ******************/ %feature("compactdefaultargs") AppDef_ParLeastSquareOfMyGradientbisOfBSplineCompute; - %feature("autodoc", " :param SSP: + %feature("autodoc", "* Initializes the fields of the object. + :param SSP: :type SSP: AppDef_MultiLine & :param FirstPoint: :type FirstPoint: int @@ -2384,11 +2614,13 @@ class AppDef_ParLeastSquareOfMyGradientbisOfBSplineCompute { :type LastCons: AppParCurves_Constraint :param NbPol: :type NbPol: int - :rtype: None -") AppDef_ParLeastSquareOfMyGradientbisOfBSplineCompute; + :rtype: None") AppDef_ParLeastSquareOfMyGradientbisOfBSplineCompute; AppDef_ParLeastSquareOfMyGradientbisOfBSplineCompute (const AppDef_MultiLine & SSP,const Standard_Integer FirstPoint,const Standard_Integer LastPoint,const AppParCurves_Constraint FirstCons,const AppParCurves_Constraint LastCons,const Standard_Integer NbPol); + + /****************** AppDef_ParLeastSquareOfMyGradientbisOfBSplineCompute ******************/ %feature("compactdefaultargs") AppDef_ParLeastSquareOfMyGradientbisOfBSplineCompute; - %feature("autodoc", " :param SSP: + %feature("autodoc", "* given a MultiLine, this algorithm computes the least square resolution using the Householder-QR method. If the first and/or the last point is a constraint point, the value of the tangency or curvature is computed in the resolution. Deg is the degree wanted for the approximating curves. The system to solve is the following: A X = B. Where A is the BSpline functions matrix computed with , B the points coordinates and X the poles solutions. The matrix A is the same for each coordinate x, y and z and is also the same for each MultiLine point because they are approximated in parallel(so with the same parameter, only the vector B changes). + :param SSP: :type SSP: AppDef_MultiLine & :param Knots: :type Knots: TColStd_Array1OfReal & @@ -2406,11 +2638,13 @@ class AppDef_ParLeastSquareOfMyGradientbisOfBSplineCompute { :type Parameters: math_Vector & :param NbPol: :type NbPol: int - :rtype: None -") AppDef_ParLeastSquareOfMyGradientbisOfBSplineCompute; + :rtype: None") AppDef_ParLeastSquareOfMyGradientbisOfBSplineCompute; AppDef_ParLeastSquareOfMyGradientbisOfBSplineCompute (const AppDef_MultiLine & SSP,const TColStd_Array1OfReal & Knots,const TColStd_Array1OfInteger & Mults,const Standard_Integer FirstPoint,const Standard_Integer LastPoint,const AppParCurves_Constraint FirstCons,const AppParCurves_Constraint LastCons,const math_Vector & Parameters,const Standard_Integer NbPol); + + /****************** AppDef_ParLeastSquareOfMyGradientbisOfBSplineCompute ******************/ %feature("compactdefaultargs") AppDef_ParLeastSquareOfMyGradientbisOfBSplineCompute; - %feature("autodoc", " :param SSP: + %feature("autodoc", "* Initializes the fields of the object. + :param SSP: :type SSP: AppDef_MultiLine & :param Knots: :type Knots: TColStd_Array1OfReal & @@ -2426,27 +2660,113 @@ class AppDef_ParLeastSquareOfMyGradientbisOfBSplineCompute { :type LastCons: AppParCurves_Constraint :param NbPol: :type NbPol: int - :rtype: None -") AppDef_ParLeastSquareOfMyGradientbisOfBSplineCompute; + :rtype: None") AppDef_ParLeastSquareOfMyGradientbisOfBSplineCompute; AppDef_ParLeastSquareOfMyGradientbisOfBSplineCompute (const AppDef_MultiLine & SSP,const TColStd_Array1OfReal & Knots,const TColStd_Array1OfInteger & Mults,const Standard_Integer FirstPoint,const Standard_Integer LastPoint,const AppParCurves_Constraint FirstCons,const AppParCurves_Constraint LastCons,const Standard_Integer NbPol); + + /****************** BSplineValue ******************/ + %feature("compactdefaultargs") BSplineValue; + %feature("autodoc", "* returns the result of the approximation, i.e. all the Curves. An exception is raised if NotDone. + :rtype: AppParCurves_MultiBSpCurve") BSplineValue; + const AppParCurves_MultiBSpCurve & BSplineValue (); + + /****************** BezierValue ******************/ + %feature("compactdefaultargs") BezierValue; + %feature("autodoc", "* returns the result of the approximation, i.e. all the Curves. An exception is raised if NotDone. + :rtype: AppParCurves_MultiCurve") BezierValue; + AppParCurves_MultiCurve BezierValue (); + + /****************** DerivativeFunctionMatrix ******************/ + %feature("compactdefaultargs") DerivativeFunctionMatrix; + %feature("autodoc", "* returns the derivative function matrix used to approximate the set. + :rtype: math_Matrix") DerivativeFunctionMatrix; + const math_Matrix & DerivativeFunctionMatrix (); + + /****************** Distance ******************/ + %feature("compactdefaultargs") Distance; + %feature("autodoc", "* returns the distances between the points of the multiline and the approximation curves. + :rtype: math_Matrix") Distance; + const math_Matrix & Distance (); + + /****************** Error ******************/ + %feature("compactdefaultargs") Error; + %feature("autodoc", "* returns the maximum errors between the MultiLine and the approximation curves. F is the sum of the square distances. + :param F: + :type F: float & + :param MaxE3d: + :type MaxE3d: float & + :param MaxE2d: + :type MaxE2d: float & + :rtype: None") Error; + void Error (Standard_Real &OutValue,Standard_Real &OutValue,Standard_Real &OutValue); + + /****************** ErrorGradient ******************/ + %feature("compactdefaultargs") ErrorGradient; + %feature("autodoc", "* returns the maximum errors between the MultiLine and the approximation curves. F is the sum of the square distances. Grad is the derivative vector of the function F. + :param Grad: + :type Grad: math_Vector & + :param F: + :type F: float & + :param MaxE3d: + :type MaxE3d: float & + :param MaxE2d: + :type MaxE2d: float & + :rtype: None") ErrorGradient; + void ErrorGradient (math_Vector & Grad,Standard_Real &OutValue,Standard_Real &OutValue,Standard_Real &OutValue); + + /****************** FirstLambda ******************/ + %feature("compactdefaultargs") FirstLambda; + %feature("autodoc", "* returns the value (P2 - P1)/ V1 if the first point was a tangency point. + :rtype: float") FirstLambda; + Standard_Real FirstLambda (); + + /****************** FunctionMatrix ******************/ + %feature("compactdefaultargs") FunctionMatrix; + %feature("autodoc", "* returns the function matrix used to approximate the set. + :rtype: math_Matrix") FunctionMatrix; + const math_Matrix & FunctionMatrix (); + + /****************** IsDone ******************/ + %feature("compactdefaultargs") IsDone; + %feature("autodoc", "* returns True if all has been correctly done. + :rtype: bool") IsDone; + Standard_Boolean IsDone (); + + /****************** KIndex ******************/ + %feature("compactdefaultargs") KIndex; + %feature("autodoc", "* Returns the indexes of the first non null values of A and DA. The values are non null from Index(ieme point) +1 to Index(ieme point) + degree +1. + :rtype: math_IntegerVector") KIndex; + const math_IntegerVector & KIndex (); + + /****************** LastLambda ******************/ + %feature("compactdefaultargs") LastLambda; + %feature("autodoc", "* returns the value (PN - PN-1)/ VN if the last point was a tangency point. + :rtype: float") LastLambda; + Standard_Real LastLambda (); + + /****************** Perform ******************/ %feature("compactdefaultargs") Perform; - %feature("autodoc", " :param Parameters: + %feature("autodoc", "* Is used after having initialized the fields. The case 'CurvaturePoint' is not treated in this method. + :param Parameters: :type Parameters: math_Vector & - :rtype: None -") Perform; + :rtype: None") Perform; void Perform (const math_Vector & Parameters); + + /****************** Perform ******************/ %feature("compactdefaultargs") Perform; - %feature("autodoc", " :param Parameters: + %feature("autodoc", "* Is used after having initialized the fields. + :param Parameters: :type Parameters: math_Vector & :param l1: :type l1: float :param l2: :type l2: float - :rtype: None -") Perform; + :rtype: None") Perform; void Perform (const math_Vector & Parameters,const Standard_Real l1,const Standard_Real l2); + + /****************** Perform ******************/ %feature("compactdefaultargs") Perform; - %feature("autodoc", " :param Parameters: + %feature("autodoc", "* Is used after having initialized the fields. is the tangent vector at the first point. is the tangent vector at the last point. + :param Parameters: :type Parameters: math_Vector & :param V1t: :type V1t: math_Vector & @@ -2456,11 +2776,13 @@ class AppDef_ParLeastSquareOfMyGradientbisOfBSplineCompute { :type l1: float :param l2: :type l2: float - :rtype: None -") Perform; + :rtype: None") Perform; void Perform (const math_Vector & Parameters,const math_Vector & V1t,const math_Vector & V2t,const Standard_Real l1,const Standard_Real l2); + + /****************** Perform ******************/ %feature("compactdefaultargs") Perform; - %feature("autodoc", " :param Parameters: + %feature("autodoc", "* Is used after having initialized the fields. is the tangent vector at the first point. is the tangent vector at the last point. is the tangent vector at the first point. is the tangent vector at the last point. + :param Parameters: :type Parameters: math_Vector & :param V1t: :type V1t: math_Vector & @@ -2474,75 +2796,21 @@ class AppDef_ParLeastSquareOfMyGradientbisOfBSplineCompute { :type l1: float :param l2: :type l2: float - :rtype: None -") Perform; + :rtype: None") Perform; void Perform (const math_Vector & Parameters,const math_Vector & V1t,const math_Vector & V2t,const math_Vector & V1c,const math_Vector & V2c,const Standard_Real l1,const Standard_Real l2); - %feature("compactdefaultargs") IsDone; - %feature("autodoc", " :rtype: bool -") IsDone; - Standard_Boolean IsDone (); - %feature("compactdefaultargs") BezierValue; - %feature("autodoc", " :rtype: AppParCurves_MultiCurve -") BezierValue; - AppParCurves_MultiCurve BezierValue (); - %feature("compactdefaultargs") BSplineValue; - %feature("autodoc", " :rtype: AppParCurves_MultiBSpCurve -") BSplineValue; - const AppParCurves_MultiBSpCurve & BSplineValue (); - %feature("compactdefaultargs") FunctionMatrix; - %feature("autodoc", " :rtype: math_Matrix -") FunctionMatrix; - const math_Matrix & FunctionMatrix (); - %feature("compactdefaultargs") DerivativeFunctionMatrix; - %feature("autodoc", " :rtype: math_Matrix -") DerivativeFunctionMatrix; - const math_Matrix & DerivativeFunctionMatrix (); - %feature("compactdefaultargs") ErrorGradient; - %feature("autodoc", " :param Grad: - :type Grad: math_Vector & - :param F: - :type F: float & - :param MaxE3d: - :type MaxE3d: float & - :param MaxE2d: - :type MaxE2d: float & - :rtype: None -") ErrorGradient; - void ErrorGradient (math_Vector & Grad,Standard_Real &OutValue,Standard_Real &OutValue,Standard_Real &OutValue); - %feature("compactdefaultargs") Distance; - %feature("autodoc", " :rtype: math_Matrix -") Distance; - const math_Matrix & Distance (); - %feature("compactdefaultargs") Error; - %feature("autodoc", " :param F: - :type F: float & - :param MaxE3d: - :type MaxE3d: float & - :param MaxE2d: - :type MaxE2d: float & - :rtype: None -") Error; - void Error (Standard_Real &OutValue,Standard_Real &OutValue,Standard_Real &OutValue); - %feature("compactdefaultargs") FirstLambda; - %feature("autodoc", " :rtype: float -") FirstLambda; - Standard_Real FirstLambda (); - %feature("compactdefaultargs") LastLambda; - %feature("autodoc", " :rtype: float -") LastLambda; - Standard_Real LastLambda (); + + /****************** Points ******************/ %feature("compactdefaultargs") Points; - %feature("autodoc", " :rtype: math_Matrix -") Points; + %feature("autodoc", "* returns the matrix of points value. + :rtype: math_Matrix") Points; const math_Matrix & Points (); + + /****************** Poles ******************/ %feature("compactdefaultargs") Poles; - %feature("autodoc", " :rtype: math_Matrix -") Poles; + %feature("autodoc", "* returns the matrix of resulting control points value. + :rtype: math_Matrix") Poles; const math_Matrix & Poles (); - %feature("compactdefaultargs") KIndex; - %feature("autodoc", " :rtype: math_IntegerVector -") KIndex; - const math_IntegerVector & KIndex (); + }; @@ -2551,11 +2819,17 @@ class AppDef_ParLeastSquareOfMyGradientbisOfBSplineCompute { __repr__ = _dumps_object } }; + +/******************************************* +* class AppDef_ParLeastSquareOfTheGradient * +*******************************************/ %nodefaultctor AppDef_ParLeastSquareOfTheGradient; class AppDef_ParLeastSquareOfTheGradient { public: + /****************** AppDef_ParLeastSquareOfTheGradient ******************/ %feature("compactdefaultargs") AppDef_ParLeastSquareOfTheGradient; - %feature("autodoc", " :param SSP: + %feature("autodoc", "* given a MultiLine, this algorithm computes the least square resolution using the Householder-QR method. If the first and/or the last point is a constraint point, the value of the tangency or curvature is computed in the resolution. NbPol is the number of control points wanted for the approximating curves. The system to solve is the following: A X = B. Where A is the Bernstein matrix computed with the parameters, B the points coordinates and X the poles solutions. The matrix A is the same for each coordinate x, y and z and is also the same for each MultiLine point because they are approximated in parallel(so with the same parameter, only the vector B changes). + :param SSP: :type SSP: AppDef_MultiLine & :param FirstPoint: :type FirstPoint: int @@ -2569,11 +2843,13 @@ class AppDef_ParLeastSquareOfTheGradient { :type Parameters: math_Vector & :param NbPol: :type NbPol: int - :rtype: None -") AppDef_ParLeastSquareOfTheGradient; + :rtype: None") AppDef_ParLeastSquareOfTheGradient; AppDef_ParLeastSquareOfTheGradient (const AppDef_MultiLine & SSP,const Standard_Integer FirstPoint,const Standard_Integer LastPoint,const AppParCurves_Constraint FirstCons,const AppParCurves_Constraint LastCons,const math_Vector & Parameters,const Standard_Integer NbPol); + + /****************** AppDef_ParLeastSquareOfTheGradient ******************/ %feature("compactdefaultargs") AppDef_ParLeastSquareOfTheGradient; - %feature("autodoc", " :param SSP: + %feature("autodoc", "* Initializes the fields of the object. + :param SSP: :type SSP: AppDef_MultiLine & :param FirstPoint: :type FirstPoint: int @@ -2585,11 +2861,13 @@ class AppDef_ParLeastSquareOfTheGradient { :type LastCons: AppParCurves_Constraint :param NbPol: :type NbPol: int - :rtype: None -") AppDef_ParLeastSquareOfTheGradient; + :rtype: None") AppDef_ParLeastSquareOfTheGradient; AppDef_ParLeastSquareOfTheGradient (const AppDef_MultiLine & SSP,const Standard_Integer FirstPoint,const Standard_Integer LastPoint,const AppParCurves_Constraint FirstCons,const AppParCurves_Constraint LastCons,const Standard_Integer NbPol); + + /****************** AppDef_ParLeastSquareOfTheGradient ******************/ %feature("compactdefaultargs") AppDef_ParLeastSquareOfTheGradient; - %feature("autodoc", " :param SSP: + %feature("autodoc", "* given a MultiLine, this algorithm computes the least square resolution using the Householder-QR method. If the first and/or the last point is a constraint point, the value of the tangency or curvature is computed in the resolution. Deg is the degree wanted for the approximating curves. The system to solve is the following: A X = B. Where A is the BSpline functions matrix computed with , B the points coordinates and X the poles solutions. The matrix A is the same for each coordinate x, y and z and is also the same for each MultiLine point because they are approximated in parallel(so with the same parameter, only the vector B changes). + :param SSP: :type SSP: AppDef_MultiLine & :param Knots: :type Knots: TColStd_Array1OfReal & @@ -2607,11 +2885,13 @@ class AppDef_ParLeastSquareOfTheGradient { :type Parameters: math_Vector & :param NbPol: :type NbPol: int - :rtype: None -") AppDef_ParLeastSquareOfTheGradient; + :rtype: None") AppDef_ParLeastSquareOfTheGradient; AppDef_ParLeastSquareOfTheGradient (const AppDef_MultiLine & SSP,const TColStd_Array1OfReal & Knots,const TColStd_Array1OfInteger & Mults,const Standard_Integer FirstPoint,const Standard_Integer LastPoint,const AppParCurves_Constraint FirstCons,const AppParCurves_Constraint LastCons,const math_Vector & Parameters,const Standard_Integer NbPol); + + /****************** AppDef_ParLeastSquareOfTheGradient ******************/ %feature("compactdefaultargs") AppDef_ParLeastSquareOfTheGradient; - %feature("autodoc", " :param SSP: + %feature("autodoc", "* Initializes the fields of the object. + :param SSP: :type SSP: AppDef_MultiLine & :param Knots: :type Knots: TColStd_Array1OfReal & @@ -2627,27 +2907,113 @@ class AppDef_ParLeastSquareOfTheGradient { :type LastCons: AppParCurves_Constraint :param NbPol: :type NbPol: int - :rtype: None -") AppDef_ParLeastSquareOfTheGradient; + :rtype: None") AppDef_ParLeastSquareOfTheGradient; AppDef_ParLeastSquareOfTheGradient (const AppDef_MultiLine & SSP,const TColStd_Array1OfReal & Knots,const TColStd_Array1OfInteger & Mults,const Standard_Integer FirstPoint,const Standard_Integer LastPoint,const AppParCurves_Constraint FirstCons,const AppParCurves_Constraint LastCons,const Standard_Integer NbPol); + + /****************** BSplineValue ******************/ + %feature("compactdefaultargs") BSplineValue; + %feature("autodoc", "* returns the result of the approximation, i.e. all the Curves. An exception is raised if NotDone. + :rtype: AppParCurves_MultiBSpCurve") BSplineValue; + const AppParCurves_MultiBSpCurve & BSplineValue (); + + /****************** BezierValue ******************/ + %feature("compactdefaultargs") BezierValue; + %feature("autodoc", "* returns the result of the approximation, i.e. all the Curves. An exception is raised if NotDone. + :rtype: AppParCurves_MultiCurve") BezierValue; + AppParCurves_MultiCurve BezierValue (); + + /****************** DerivativeFunctionMatrix ******************/ + %feature("compactdefaultargs") DerivativeFunctionMatrix; + %feature("autodoc", "* returns the derivative function matrix used to approximate the set. + :rtype: math_Matrix") DerivativeFunctionMatrix; + const math_Matrix & DerivativeFunctionMatrix (); + + /****************** Distance ******************/ + %feature("compactdefaultargs") Distance; + %feature("autodoc", "* returns the distances between the points of the multiline and the approximation curves. + :rtype: math_Matrix") Distance; + const math_Matrix & Distance (); + + /****************** Error ******************/ + %feature("compactdefaultargs") Error; + %feature("autodoc", "* returns the maximum errors between the MultiLine and the approximation curves. F is the sum of the square distances. + :param F: + :type F: float & + :param MaxE3d: + :type MaxE3d: float & + :param MaxE2d: + :type MaxE2d: float & + :rtype: None") Error; + void Error (Standard_Real &OutValue,Standard_Real &OutValue,Standard_Real &OutValue); + + /****************** ErrorGradient ******************/ + %feature("compactdefaultargs") ErrorGradient; + %feature("autodoc", "* returns the maximum errors between the MultiLine and the approximation curves. F is the sum of the square distances. Grad is the derivative vector of the function F. + :param Grad: + :type Grad: math_Vector & + :param F: + :type F: float & + :param MaxE3d: + :type MaxE3d: float & + :param MaxE2d: + :type MaxE2d: float & + :rtype: None") ErrorGradient; + void ErrorGradient (math_Vector & Grad,Standard_Real &OutValue,Standard_Real &OutValue,Standard_Real &OutValue); + + /****************** FirstLambda ******************/ + %feature("compactdefaultargs") FirstLambda; + %feature("autodoc", "* returns the value (P2 - P1)/ V1 if the first point was a tangency point. + :rtype: float") FirstLambda; + Standard_Real FirstLambda (); + + /****************** FunctionMatrix ******************/ + %feature("compactdefaultargs") FunctionMatrix; + %feature("autodoc", "* returns the function matrix used to approximate the set. + :rtype: math_Matrix") FunctionMatrix; + const math_Matrix & FunctionMatrix (); + + /****************** IsDone ******************/ + %feature("compactdefaultargs") IsDone; + %feature("autodoc", "* returns True if all has been correctly done. + :rtype: bool") IsDone; + Standard_Boolean IsDone (); + + /****************** KIndex ******************/ + %feature("compactdefaultargs") KIndex; + %feature("autodoc", "* Returns the indexes of the first non null values of A and DA. The values are non null from Index(ieme point) +1 to Index(ieme point) + degree +1. + :rtype: math_IntegerVector") KIndex; + const math_IntegerVector & KIndex (); + + /****************** LastLambda ******************/ + %feature("compactdefaultargs") LastLambda; + %feature("autodoc", "* returns the value (PN - PN-1)/ VN if the last point was a tangency point. + :rtype: float") LastLambda; + Standard_Real LastLambda (); + + /****************** Perform ******************/ %feature("compactdefaultargs") Perform; - %feature("autodoc", " :param Parameters: + %feature("autodoc", "* Is used after having initialized the fields. The case 'CurvaturePoint' is not treated in this method. + :param Parameters: :type Parameters: math_Vector & - :rtype: None -") Perform; + :rtype: None") Perform; void Perform (const math_Vector & Parameters); + + /****************** Perform ******************/ %feature("compactdefaultargs") Perform; - %feature("autodoc", " :param Parameters: + %feature("autodoc", "* Is used after having initialized the fields. + :param Parameters: :type Parameters: math_Vector & :param l1: :type l1: float :param l2: :type l2: float - :rtype: None -") Perform; + :rtype: None") Perform; void Perform (const math_Vector & Parameters,const Standard_Real l1,const Standard_Real l2); + + /****************** Perform ******************/ %feature("compactdefaultargs") Perform; - %feature("autodoc", " :param Parameters: + %feature("autodoc", "* Is used after having initialized the fields. is the tangent vector at the first point. is the tangent vector at the last point. + :param Parameters: :type Parameters: math_Vector & :param V1t: :type V1t: math_Vector & @@ -2657,11 +3023,13 @@ class AppDef_ParLeastSquareOfTheGradient { :type l1: float :param l2: :type l2: float - :rtype: None -") Perform; + :rtype: None") Perform; void Perform (const math_Vector & Parameters,const math_Vector & V1t,const math_Vector & V2t,const Standard_Real l1,const Standard_Real l2); + + /****************** Perform ******************/ %feature("compactdefaultargs") Perform; - %feature("autodoc", " :param Parameters: + %feature("autodoc", "* Is used after having initialized the fields. is the tangent vector at the first point. is the tangent vector at the last point. is the tangent vector at the first point. is the tangent vector at the last point. + :param Parameters: :type Parameters: math_Vector & :param V1t: :type V1t: math_Vector & @@ -2675,75 +3043,21 @@ class AppDef_ParLeastSquareOfTheGradient { :type l1: float :param l2: :type l2: float - :rtype: None -") Perform; + :rtype: None") Perform; void Perform (const math_Vector & Parameters,const math_Vector & V1t,const math_Vector & V2t,const math_Vector & V1c,const math_Vector & V2c,const Standard_Real l1,const Standard_Real l2); - %feature("compactdefaultargs") IsDone; - %feature("autodoc", " :rtype: bool -") IsDone; - Standard_Boolean IsDone (); - %feature("compactdefaultargs") BezierValue; - %feature("autodoc", " :rtype: AppParCurves_MultiCurve -") BezierValue; - AppParCurves_MultiCurve BezierValue (); - %feature("compactdefaultargs") BSplineValue; - %feature("autodoc", " :rtype: AppParCurves_MultiBSpCurve -") BSplineValue; - const AppParCurves_MultiBSpCurve & BSplineValue (); - %feature("compactdefaultargs") FunctionMatrix; - %feature("autodoc", " :rtype: math_Matrix -") FunctionMatrix; - const math_Matrix & FunctionMatrix (); - %feature("compactdefaultargs") DerivativeFunctionMatrix; - %feature("autodoc", " :rtype: math_Matrix -") DerivativeFunctionMatrix; - const math_Matrix & DerivativeFunctionMatrix (); - %feature("compactdefaultargs") ErrorGradient; - %feature("autodoc", " :param Grad: - :type Grad: math_Vector & - :param F: - :type F: float & - :param MaxE3d: - :type MaxE3d: float & - :param MaxE2d: - :type MaxE2d: float & - :rtype: None -") ErrorGradient; - void ErrorGradient (math_Vector & Grad,Standard_Real &OutValue,Standard_Real &OutValue,Standard_Real &OutValue); - %feature("compactdefaultargs") Distance; - %feature("autodoc", " :rtype: math_Matrix -") Distance; - const math_Matrix & Distance (); - %feature("compactdefaultargs") Error; - %feature("autodoc", " :param F: - :type F: float & - :param MaxE3d: - :type MaxE3d: float & - :param MaxE2d: - :type MaxE2d: float & - :rtype: None -") Error; - void Error (Standard_Real &OutValue,Standard_Real &OutValue,Standard_Real &OutValue); - %feature("compactdefaultargs") FirstLambda; - %feature("autodoc", " :rtype: float -") FirstLambda; - Standard_Real FirstLambda (); - %feature("compactdefaultargs") LastLambda; - %feature("autodoc", " :rtype: float -") LastLambda; - Standard_Real LastLambda (); + + /****************** Points ******************/ %feature("compactdefaultargs") Points; - %feature("autodoc", " :rtype: math_Matrix -") Points; + %feature("autodoc", "* returns the matrix of points value. + :rtype: math_Matrix") Points; const math_Matrix & Points (); + + /****************** Poles ******************/ %feature("compactdefaultargs") Poles; - %feature("autodoc", " :rtype: math_Matrix -") Poles; + %feature("autodoc", "* returns the matrix of resulting control points value. + :rtype: math_Matrix") Poles; const math_Matrix & Poles (); - %feature("compactdefaultargs") KIndex; - %feature("autodoc", " :rtype: math_IntegerVector -") KIndex; - const math_IntegerVector & KIndex (); + }; @@ -2752,11 +3066,17 @@ class AppDef_ParLeastSquareOfTheGradient { __repr__ = _dumps_object } }; + +/************************************************** +* class AppDef_ResConstraintOfMyGradientOfCompute * +**************************************************/ %nodefaultctor AppDef_ResConstraintOfMyGradientOfCompute; class AppDef_ResConstraintOfMyGradientOfCompute { public: + /****************** AppDef_ResConstraintOfMyGradientOfCompute ******************/ %feature("compactdefaultargs") AppDef_ResConstraintOfMyGradientOfCompute; - %feature("autodoc", " :param SSP: + %feature("autodoc", "* Given a MultiLine SSP with constraints points, this algorithm finds the best curve solution to approximate it. The poles from SCurv issued for example from the least squares are used as a guess solution for the uzawa algorithm. The tolerance used in the Uzawa algorithms is Tolerance. A is the Bernstein matrix associated to the MultiLine and DA is the derivative bernstein matrix.(They can come from an approximation with ParLeastSquare.) The MultiCurve is modified. New MultiPoles are given. + :param SSP: :type SSP: AppDef_MultiLine & :param SCurv: :type SCurv: AppParCurves_MultiCurve & @@ -2765,30 +3085,20 @@ class AppDef_ResConstraintOfMyGradientOfCompute { :param LastPoint: :type LastPoint: int :param Constraints: - :type Constraints: Handle_AppParCurves_HArray1OfConstraintCouple & + :type Constraints: opencascade::handle & :param Bern: :type Bern: math_Matrix & :param DerivativeBern: :type DerivativeBern: math_Matrix & :param Tolerance: default value is 1.0e-10 :type Tolerance: float - :rtype: None -") AppDef_ResConstraintOfMyGradientOfCompute; - AppDef_ResConstraintOfMyGradientOfCompute (const AppDef_MultiLine & SSP,AppParCurves_MultiCurve & SCurv,const Standard_Integer FirstPoint,const Standard_Integer LastPoint,const Handle_AppParCurves_HArray1OfConstraintCouple & Constraints,const math_Matrix & Bern,const math_Matrix & DerivativeBern,const Standard_Real Tolerance = 1.0e-10); - %feature("compactdefaultargs") IsDone; - %feature("autodoc", " :rtype: bool -") IsDone; - Standard_Boolean IsDone (); - %feature("compactdefaultargs") ConstraintMatrix; - %feature("autodoc", " :rtype: math_Matrix -") ConstraintMatrix; - const math_Matrix & ConstraintMatrix (); - %feature("compactdefaultargs") Duale; - %feature("autodoc", " :rtype: math_Vector -") Duale; - const math_Vector & Duale (); + :rtype: None") AppDef_ResConstraintOfMyGradientOfCompute; + AppDef_ResConstraintOfMyGradientOfCompute (const AppDef_MultiLine & SSP,AppParCurves_MultiCurve & SCurv,const Standard_Integer FirstPoint,const Standard_Integer LastPoint,const opencascade::handle & Constraints,const math_Matrix & Bern,const math_Matrix & DerivativeBern,const Standard_Real Tolerance = 1.0e-10); + + /****************** ConstraintDerivative ******************/ %feature("compactdefaultargs") ConstraintDerivative; - %feature("autodoc", " :param SSP: + %feature("autodoc", "* Returns the derivative of the constraint matrix. + :param SSP: :type SSP: AppDef_MultiLine & :param Parameters: :type Parameters: math_Vector & @@ -2796,13 +3106,32 @@ class AppDef_ResConstraintOfMyGradientOfCompute { :type Deg: int :param DA: :type DA: math_Matrix & - :rtype: math_Matrix -") ConstraintDerivative; + :rtype: math_Matrix") ConstraintDerivative; const math_Matrix & ConstraintDerivative (const AppDef_MultiLine & SSP,const math_Vector & Parameters,const Standard_Integer Deg,const math_Matrix & DA); + + /****************** ConstraintMatrix ******************/ + %feature("compactdefaultargs") ConstraintMatrix; + %feature("autodoc", ":rtype: math_Matrix") ConstraintMatrix; + const math_Matrix & ConstraintMatrix (); + + /****************** Duale ******************/ + %feature("compactdefaultargs") Duale; + %feature("autodoc", "* returns the duale variables of the system. + :rtype: math_Vector") Duale; + const math_Vector & Duale (); + + /****************** InverseMatrix ******************/ %feature("compactdefaultargs") InverseMatrix; - %feature("autodoc", " :rtype: math_Matrix -") InverseMatrix; + %feature("autodoc", "* returns the Inverse of Cont*Transposed(Cont), where Cont is the constraint matrix for the algorithm. + :rtype: math_Matrix") InverseMatrix; const math_Matrix & InverseMatrix (); + + /****************** IsDone ******************/ + %feature("compactdefaultargs") IsDone; + %feature("autodoc", "* returns True if all has been correctly done. + :rtype: bool") IsDone; + Standard_Boolean IsDone (); + }; @@ -2811,11 +3140,17 @@ class AppDef_ResConstraintOfMyGradientOfCompute { __repr__ = _dumps_object } }; + +/************************************************************ +* class AppDef_ResConstraintOfMyGradientbisOfBSplineCompute * +************************************************************/ %nodefaultctor AppDef_ResConstraintOfMyGradientbisOfBSplineCompute; class AppDef_ResConstraintOfMyGradientbisOfBSplineCompute { public: + /****************** AppDef_ResConstraintOfMyGradientbisOfBSplineCompute ******************/ %feature("compactdefaultargs") AppDef_ResConstraintOfMyGradientbisOfBSplineCompute; - %feature("autodoc", " :param SSP: + %feature("autodoc", "* Given a MultiLine SSP with constraints points, this algorithm finds the best curve solution to approximate it. The poles from SCurv issued for example from the least squares are used as a guess solution for the uzawa algorithm. The tolerance used in the Uzawa algorithms is Tolerance. A is the Bernstein matrix associated to the MultiLine and DA is the derivative bernstein matrix.(They can come from an approximation with ParLeastSquare.) The MultiCurve is modified. New MultiPoles are given. + :param SSP: :type SSP: AppDef_MultiLine & :param SCurv: :type SCurv: AppParCurves_MultiCurve & @@ -2824,30 +3159,20 @@ class AppDef_ResConstraintOfMyGradientbisOfBSplineCompute { :param LastPoint: :type LastPoint: int :param Constraints: - :type Constraints: Handle_AppParCurves_HArray1OfConstraintCouple & + :type Constraints: opencascade::handle & :param Bern: :type Bern: math_Matrix & :param DerivativeBern: :type DerivativeBern: math_Matrix & :param Tolerance: default value is 1.0e-10 :type Tolerance: float - :rtype: None -") AppDef_ResConstraintOfMyGradientbisOfBSplineCompute; - AppDef_ResConstraintOfMyGradientbisOfBSplineCompute (const AppDef_MultiLine & SSP,AppParCurves_MultiCurve & SCurv,const Standard_Integer FirstPoint,const Standard_Integer LastPoint,const Handle_AppParCurves_HArray1OfConstraintCouple & Constraints,const math_Matrix & Bern,const math_Matrix & DerivativeBern,const Standard_Real Tolerance = 1.0e-10); - %feature("compactdefaultargs") IsDone; - %feature("autodoc", " :rtype: bool -") IsDone; - Standard_Boolean IsDone (); - %feature("compactdefaultargs") ConstraintMatrix; - %feature("autodoc", " :rtype: math_Matrix -") ConstraintMatrix; - const math_Matrix & ConstraintMatrix (); - %feature("compactdefaultargs") Duale; - %feature("autodoc", " :rtype: math_Vector -") Duale; - const math_Vector & Duale (); + :rtype: None") AppDef_ResConstraintOfMyGradientbisOfBSplineCompute; + AppDef_ResConstraintOfMyGradientbisOfBSplineCompute (const AppDef_MultiLine & SSP,AppParCurves_MultiCurve & SCurv,const Standard_Integer FirstPoint,const Standard_Integer LastPoint,const opencascade::handle & Constraints,const math_Matrix & Bern,const math_Matrix & DerivativeBern,const Standard_Real Tolerance = 1.0e-10); + + /****************** ConstraintDerivative ******************/ %feature("compactdefaultargs") ConstraintDerivative; - %feature("autodoc", " :param SSP: + %feature("autodoc", "* Returns the derivative of the constraint matrix. + :param SSP: :type SSP: AppDef_MultiLine & :param Parameters: :type Parameters: math_Vector & @@ -2855,13 +3180,32 @@ class AppDef_ResConstraintOfMyGradientbisOfBSplineCompute { :type Deg: int :param DA: :type DA: math_Matrix & - :rtype: math_Matrix -") ConstraintDerivative; + :rtype: math_Matrix") ConstraintDerivative; const math_Matrix & ConstraintDerivative (const AppDef_MultiLine & SSP,const math_Vector & Parameters,const Standard_Integer Deg,const math_Matrix & DA); + + /****************** ConstraintMatrix ******************/ + %feature("compactdefaultargs") ConstraintMatrix; + %feature("autodoc", ":rtype: math_Matrix") ConstraintMatrix; + const math_Matrix & ConstraintMatrix (); + + /****************** Duale ******************/ + %feature("compactdefaultargs") Duale; + %feature("autodoc", "* returns the duale variables of the system. + :rtype: math_Vector") Duale; + const math_Vector & Duale (); + + /****************** InverseMatrix ******************/ %feature("compactdefaultargs") InverseMatrix; - %feature("autodoc", " :rtype: math_Matrix -") InverseMatrix; + %feature("autodoc", "* returns the Inverse of Cont*Transposed(Cont), where Cont is the constraint matrix for the algorithm. + :rtype: math_Matrix") InverseMatrix; const math_Matrix & InverseMatrix (); + + /****************** IsDone ******************/ + %feature("compactdefaultargs") IsDone; + %feature("autodoc", "* returns True if all has been correctly done. + :rtype: bool") IsDone; + Standard_Boolean IsDone (); + }; @@ -2870,11 +3214,17 @@ class AppDef_ResConstraintOfMyGradientbisOfBSplineCompute { __repr__ = _dumps_object } }; + +/****************************************** +* class AppDef_ResConstraintOfTheGradient * +******************************************/ %nodefaultctor AppDef_ResConstraintOfTheGradient; class AppDef_ResConstraintOfTheGradient { public: + /****************** AppDef_ResConstraintOfTheGradient ******************/ %feature("compactdefaultargs") AppDef_ResConstraintOfTheGradient; - %feature("autodoc", " :param SSP: + %feature("autodoc", "* Given a MultiLine SSP with constraints points, this algorithm finds the best curve solution to approximate it. The poles from SCurv issued for example from the least squares are used as a guess solution for the uzawa algorithm. The tolerance used in the Uzawa algorithms is Tolerance. A is the Bernstein matrix associated to the MultiLine and DA is the derivative bernstein matrix.(They can come from an approximation with ParLeastSquare.) The MultiCurve is modified. New MultiPoles are given. + :param SSP: :type SSP: AppDef_MultiLine & :param SCurv: :type SCurv: AppParCurves_MultiCurve & @@ -2883,30 +3233,20 @@ class AppDef_ResConstraintOfTheGradient { :param LastPoint: :type LastPoint: int :param Constraints: - :type Constraints: Handle_AppParCurves_HArray1OfConstraintCouple & + :type Constraints: opencascade::handle & :param Bern: :type Bern: math_Matrix & :param DerivativeBern: :type DerivativeBern: math_Matrix & :param Tolerance: default value is 1.0e-10 :type Tolerance: float - :rtype: None -") AppDef_ResConstraintOfTheGradient; - AppDef_ResConstraintOfTheGradient (const AppDef_MultiLine & SSP,AppParCurves_MultiCurve & SCurv,const Standard_Integer FirstPoint,const Standard_Integer LastPoint,const Handle_AppParCurves_HArray1OfConstraintCouple & Constraints,const math_Matrix & Bern,const math_Matrix & DerivativeBern,const Standard_Real Tolerance = 1.0e-10); - %feature("compactdefaultargs") IsDone; - %feature("autodoc", " :rtype: bool -") IsDone; - Standard_Boolean IsDone (); - %feature("compactdefaultargs") ConstraintMatrix; - %feature("autodoc", " :rtype: math_Matrix -") ConstraintMatrix; - const math_Matrix & ConstraintMatrix (); - %feature("compactdefaultargs") Duale; - %feature("autodoc", " :rtype: math_Vector -") Duale; - const math_Vector & Duale (); + :rtype: None") AppDef_ResConstraintOfTheGradient; + AppDef_ResConstraintOfTheGradient (const AppDef_MultiLine & SSP,AppParCurves_MultiCurve & SCurv,const Standard_Integer FirstPoint,const Standard_Integer LastPoint,const opencascade::handle & Constraints,const math_Matrix & Bern,const math_Matrix & DerivativeBern,const Standard_Real Tolerance = 1.0e-10); + + /****************** ConstraintDerivative ******************/ %feature("compactdefaultargs") ConstraintDerivative; - %feature("autodoc", " :param SSP: + %feature("autodoc", "* Returns the derivative of the constraint matrix. + :param SSP: :type SSP: AppDef_MultiLine & :param Parameters: :type Parameters: math_Vector & @@ -2914,13 +3254,32 @@ class AppDef_ResConstraintOfTheGradient { :type Deg: int :param DA: :type DA: math_Matrix & - :rtype: math_Matrix -") ConstraintDerivative; + :rtype: math_Matrix") ConstraintDerivative; const math_Matrix & ConstraintDerivative (const AppDef_MultiLine & SSP,const math_Vector & Parameters,const Standard_Integer Deg,const math_Matrix & DA); + + /****************** ConstraintMatrix ******************/ + %feature("compactdefaultargs") ConstraintMatrix; + %feature("autodoc", ":rtype: math_Matrix") ConstraintMatrix; + const math_Matrix & ConstraintMatrix (); + + /****************** Duale ******************/ + %feature("compactdefaultargs") Duale; + %feature("autodoc", "* returns the duale variables of the system. + :rtype: math_Vector") Duale; + const math_Vector & Duale (); + + /****************** InverseMatrix ******************/ %feature("compactdefaultargs") InverseMatrix; - %feature("autodoc", " :rtype: math_Matrix -") InverseMatrix; + %feature("autodoc", "* returns the Inverse of Cont*Transposed(Cont), where Cont is the constraint matrix for the algorithm. + :rtype: math_Matrix") InverseMatrix; const math_Matrix & InverseMatrix (); + + /****************** IsDone ******************/ + %feature("compactdefaultargs") IsDone; + %feature("autodoc", "* returns True if all has been correctly done. + :rtype: bool") IsDone; + Standard_Boolean IsDone (); + }; @@ -2929,61 +3288,103 @@ class AppDef_ResConstraintOfTheGradient { __repr__ = _dumps_object } }; + +/******************************* +* class AppDef_SmoothCriterion * +*******************************/ %nodefaultctor AppDef_SmoothCriterion; -class AppDef_SmoothCriterion : public MMgt_TShared { +class AppDef_SmoothCriterion : public Standard_Transient { public: - %feature("compactdefaultargs") SetParameters; - %feature("autodoc", " :param Parameters: - :type Parameters: Handle_TColStd_HArray1OfReal & - :rtype: void -") SetParameters; - virtual void SetParameters (const Handle_TColStd_HArray1OfReal & Parameters); - %feature("compactdefaultargs") SetCurve; - %feature("autodoc", " :param C: - :type C: Handle_FEmTool_Curve & - :rtype: void -") SetCurve; - virtual void SetCurve (const Handle_FEmTool_Curve & C); - %feature("compactdefaultargs") GetCurve; - %feature("autodoc", " :param C: - :type C: Handle_FEmTool_Curve & - :rtype: void -") GetCurve; - virtual void GetCurve (Handle_FEmTool_Curve & C); - %feature("compactdefaultargs") SetEstimation; - %feature("autodoc", " :param E1: - :type E1: float - :param E2: - :type E2: float - :param E3: - :type E3: float - :rtype: void -") SetEstimation; - virtual void SetEstimation (const Standard_Real E1,const Standard_Real E2,const Standard_Real E3); + /****************** AssemblyTable ******************/ + %feature("compactdefaultargs") AssemblyTable; + %feature("autodoc", ":rtype: opencascade::handle") AssemblyTable; + virtual opencascade::handle AssemblyTable (); + + /****************** DependenceTable ******************/ + %feature("compactdefaultargs") DependenceTable; + %feature("autodoc", ":rtype: opencascade::handle") DependenceTable; + virtual opencascade::handle DependenceTable (); + + /****************** ErrorValues ******************/ + %feature("compactdefaultargs") ErrorValues; + %feature("autodoc", ":param MaxError: + :type MaxError: float & + :param QuadraticError: + :type QuadraticError: float & + :param AverageError: + :type AverageError: float & + :rtype: void") ErrorValues; + virtual void ErrorValues (Standard_Real &OutValue,Standard_Real &OutValue,Standard_Real &OutValue); + + /****************** EstLength ******************/ %feature("compactdefaultargs") EstLength; - %feature("autodoc", " :rtype: float -") EstLength; + %feature("autodoc", ":rtype: float") EstLength; virtual Standard_Real & EstLength (); + + /****************** GetCurve ******************/ + %feature("compactdefaultargs") GetCurve; + %feature("autodoc", ":param C: + :type C: opencascade::handle & + :rtype: void") GetCurve; + virtual void GetCurve (opencascade::handle & C); + + /****************** GetEstimation ******************/ %feature("compactdefaultargs") GetEstimation; - %feature("autodoc", " :param E1: + %feature("autodoc", ":param E1: :type E1: float & :param E2: :type E2: float & :param E3: :type E3: float & - :rtype: void -") GetEstimation; + :rtype: void") GetEstimation; virtual void GetEstimation (Standard_Real &OutValue,Standard_Real &OutValue,Standard_Real &OutValue); - %feature("compactdefaultargs") AssemblyTable; - %feature("autodoc", " :rtype: Handle_FEmTool_HAssemblyTable -") AssemblyTable; - virtual Handle_FEmTool_HAssemblyTable AssemblyTable (); - %feature("compactdefaultargs") DependenceTable; - %feature("autodoc", " :rtype: Handle_TColStd_HArray2OfInteger -") DependenceTable; - virtual Handle_TColStd_HArray2OfInteger DependenceTable (); + + /****************** GetWeight ******************/ + %feature("compactdefaultargs") GetWeight; + %feature("autodoc", ":param QuadraticWeight: + :type QuadraticWeight: float & + :param QualityWeight: + :type QualityWeight: float & + :rtype: void") GetWeight; + virtual void GetWeight (Standard_Real &OutValue,Standard_Real &OutValue); + + /****************** Gradient ******************/ + %feature("compactdefaultargs") Gradient; + %feature("autodoc", ":param Element: + :type Element: int + :param Dimension: + :type Dimension: int + :param G: + :type G: math_Vector & + :rtype: void") Gradient; + virtual void Gradient (const Standard_Integer Element,const Standard_Integer Dimension,math_Vector & G); + + /****************** Hessian ******************/ + %feature("compactdefaultargs") Hessian; + %feature("autodoc", ":param Element: + :type Element: int + :param Dimension1: + :type Dimension1: int + :param Dimension2: + :type Dimension2: int + :param H: + :type H: math_Matrix & + :rtype: void") Hessian; + virtual void Hessian (const Standard_Integer Element,const Standard_Integer Dimension1,const Standard_Integer Dimension2,math_Matrix & H); + + /****************** InputVector ******************/ + %feature("compactdefaultargs") InputVector; + %feature("autodoc", "* Convert the assembly Vector in an Curve; + :param X: + :type X: math_Vector & + :param AssTable: + :type AssTable: opencascade::handle & + :rtype: void") InputVector; + virtual void InputVector (const math_Vector & X,const opencascade::handle & AssTable); + + /****************** QualityValues ******************/ %feature("compactdefaultargs") QualityValues; - %feature("autodoc", " :param J1min: + %feature("autodoc", ":param J1min: :type J1min: float :param J2min: :type J2min: float @@ -2995,53 +3396,37 @@ class AppDef_SmoothCriterion : public MMgt_TShared { :type J2: float & :param J3: :type J3: float & - :rtype: int -") QualityValues; + :rtype: int") QualityValues; virtual Standard_Integer QualityValues (const Standard_Real J1min,const Standard_Real J2min,const Standard_Real J3min,Standard_Real &OutValue,Standard_Real &OutValue,Standard_Real &OutValue); - %feature("compactdefaultargs") ErrorValues; - %feature("autodoc", " :param MaxError: - :type MaxError: float & - :param QuadraticError: - :type QuadraticError: float & - :param AverageError: - :type AverageError: float & - :rtype: void -") ErrorValues; - virtual void ErrorValues (Standard_Real &OutValue,Standard_Real &OutValue,Standard_Real &OutValue); - %feature("compactdefaultargs") Hessian; - %feature("autodoc", " :param Element: - :type Element: int - :param Dimension1: - :type Dimension1: int - :param Dimension2: - :type Dimension2: int - :param H: - :type H: math_Matrix & - :rtype: void -") Hessian; - virtual void Hessian (const Standard_Integer Element,const Standard_Integer Dimension1,const Standard_Integer Dimension2,math_Matrix & H); - %feature("compactdefaultargs") Gradient; - %feature("autodoc", " :param Element: - :type Element: int - :param Dimension: - :type Dimension: int - :param G: - :type G: math_Vector & - :rtype: void -") Gradient; - virtual void Gradient (const Standard_Integer Element,const Standard_Integer Dimension,math_Vector & G); - %feature("compactdefaultargs") InputVector; - %feature("autodoc", " * Convert the assembly Vector in an Curve; - :param X: - :type X: math_Vector & - :param AssTable: - :type AssTable: Handle_FEmTool_HAssemblyTable & - :rtype: void -") InputVector; - virtual void InputVector (const math_Vector & X,const Handle_FEmTool_HAssemblyTable & AssTable); + /****************** SetCurve ******************/ + %feature("compactdefaultargs") SetCurve; + %feature("autodoc", ":param C: + :type C: opencascade::handle & + :rtype: void") SetCurve; + virtual void SetCurve (const opencascade::handle & C); + + /****************** SetEstimation ******************/ + %feature("compactdefaultargs") SetEstimation; + %feature("autodoc", ":param E1: + :type E1: float + :param E2: + :type E2: float + :param E3: + :type E3: float + :rtype: void") SetEstimation; + virtual void SetEstimation (const Standard_Real E1,const Standard_Real E2,const Standard_Real E3); + + /****************** SetParameters ******************/ + %feature("compactdefaultargs") SetParameters; + %feature("autodoc", ":param Parameters: + :type Parameters: opencascade::handle & + :rtype: void") SetParameters; + virtual void SetParameters (const opencascade::handle & Parameters); + + /****************** SetWeight ******************/ %feature("compactdefaultargs") SetWeight; - %feature("autodoc", " :param QuadraticWeight: + %feature("autodoc", ":param QuadraticWeight: :type QuadraticWeight: float :param QualityWeight: :type QualityWeight: float @@ -3051,23 +3436,16 @@ class AppDef_SmoothCriterion : public MMgt_TShared { :type percentJ2: float :param percentJ3: :type percentJ3: float - :rtype: void -") SetWeight; + :rtype: void") SetWeight; virtual void SetWeight (const Standard_Real QuadraticWeight,const Standard_Real QualityWeight,const Standard_Real percentJ1,const Standard_Real percentJ2,const Standard_Real percentJ3); - %feature("compactdefaultargs") GetWeight; - %feature("autodoc", " :param QuadraticWeight: - :type QuadraticWeight: float & - :param QualityWeight: - :type QualityWeight: float & - :rtype: void -") GetWeight; - virtual void GetWeight (Standard_Real &OutValue,Standard_Real &OutValue); + + /****************** SetWeight ******************/ %feature("compactdefaultargs") SetWeight; - %feature("autodoc", " :param Weight: + %feature("autodoc", ":param Weight: :type Weight: TColStd_Array1OfReal & - :rtype: void -") SetWeight; + :rtype: void") SetWeight; virtual void SetWeight (const TColStd_Array1OfReal & Weight); + }; @@ -3078,95 +3456,121 @@ class AppDef_SmoothCriterion : public MMgt_TShared { __repr__ = _dumps_object } }; + +/*************************** +* class AppDef_TheFunction * +***************************/ %nodefaultctor AppDef_TheFunction; class AppDef_TheFunction : public math_MultipleVarFunctionWithGradient { public: + /****************** AppDef_TheFunction ******************/ %feature("compactdefaultargs") AppDef_TheFunction; - %feature("autodoc", " :param SSP: + %feature("autodoc", "* initializes the fields of the function. The approximating curve has the desired degree Deg. + :param SSP: :type SSP: AppDef_MultiLine & :param FirstPoint: :type FirstPoint: int :param LastPoint: :type LastPoint: int :param TheConstraints: - :type TheConstraints: Handle_AppParCurves_HArray1OfConstraintCouple & + :type TheConstraints: opencascade::handle & :param Parameters: :type Parameters: math_Vector & :param Deg: :type Deg: int - :rtype: None -") AppDef_TheFunction; - AppDef_TheFunction (const AppDef_MultiLine & SSP,const Standard_Integer FirstPoint,const Standard_Integer LastPoint,const Handle_AppParCurves_HArray1OfConstraintCouple & TheConstraints,const math_Vector & Parameters,const Standard_Integer Deg); + :rtype: None") AppDef_TheFunction; + AppDef_TheFunction (const AppDef_MultiLine & SSP,const Standard_Integer FirstPoint,const Standard_Integer LastPoint,const opencascade::handle & TheConstraints,const math_Vector & Parameters,const Standard_Integer Deg); + + /****************** CurveValue ******************/ + %feature("compactdefaultargs") CurveValue; + %feature("autodoc", "* returns the MultiCurve approximating the set after computing the value F or Grad(F). + :rtype: AppParCurves_MultiCurve") CurveValue; + const AppParCurves_MultiCurve & CurveValue (); + + /****************** Error ******************/ + %feature("compactdefaultargs") Error; + %feature("autodoc", "* returns the distance between the MultiPoint of range IPoint and the curve CurveIndex. + :param IPoint: + :type IPoint: int + :param CurveIndex: + :type CurveIndex: int + :rtype: float") Error; + Standard_Real Error (const Standard_Integer IPoint,const Standard_Integer CurveIndex); + + /****************** FirstConstraint ******************/ + %feature("compactdefaultargs") FirstConstraint; + %feature("autodoc", ":param TheConstraints: + :type TheConstraints: opencascade::handle & + :param FirstPoint: + :type FirstPoint: int + :rtype: AppParCurves_Constraint") FirstConstraint; + AppParCurves_Constraint FirstConstraint (const opencascade::handle & TheConstraints,const Standard_Integer FirstPoint); + + /****************** Gradient ******************/ + %feature("compactdefaultargs") Gradient; + %feature("autodoc", "* returns the gradient G of the sum above for the parameters Xi. + :param X: + :type X: math_Vector & + :param G: + :type G: math_Vector & + :rtype: bool") Gradient; + Standard_Boolean Gradient (const math_Vector & X,math_Vector & G); + + /****************** LastConstraint ******************/ + %feature("compactdefaultargs") LastConstraint; + %feature("autodoc", ":param TheConstraints: + :type TheConstraints: opencascade::handle & + :param LastPoint: + :type LastPoint: int + :rtype: AppParCurves_Constraint") LastConstraint; + AppParCurves_Constraint LastConstraint (const opencascade::handle & TheConstraints,const Standard_Integer LastPoint); + + /****************** MaxError2d ******************/ + %feature("compactdefaultargs") MaxError2d; + %feature("autodoc", "* returns the maximum distance between the points and the MultiCurve. + :rtype: float") MaxError2d; + Standard_Real MaxError2d (); + + /****************** MaxError3d ******************/ + %feature("compactdefaultargs") MaxError3d; + %feature("autodoc", "* returns the maximum distance between the points and the MultiCurve. + :rtype: float") MaxError3d; + Standard_Real MaxError3d (); + + /****************** NbVariables ******************/ %feature("compactdefaultargs") NbVariables; - %feature("autodoc", " :rtype: int -") NbVariables; + %feature("autodoc", "* returns the number of variables of the function. It corresponds to the number of MultiPoints. + :rtype: int") NbVariables; Standard_Integer NbVariables (); + + /****************** NewParameters ******************/ + %feature("compactdefaultargs") NewParameters; + %feature("autodoc", "* returns the new parameters of the MultiLine. + :rtype: math_Vector") NewParameters; + const math_Vector & NewParameters (); + + /****************** Value ******************/ %feature("compactdefaultargs") Value; - %feature("autodoc", " :param X: + %feature("autodoc", "* this method computes the new approximation of the MultiLine SSP and calculates F = sum (||Pui - Bi*Pi||2) for each point of the MultiLine. + :param X: :type X: math_Vector & :param F: :type F: float & - :rtype: bool -") Value; + :rtype: bool") Value; Standard_Boolean Value (const math_Vector & X,Standard_Real &OutValue); - %feature("compactdefaultargs") Gradient; - %feature("autodoc", " :param X: - :type X: math_Vector & - :param G: - :type G: math_Vector & - :rtype: bool -") Gradient; - Standard_Boolean Gradient (const math_Vector & X,math_Vector & G); + + /****************** Values ******************/ %feature("compactdefaultargs") Values; - %feature("autodoc", " :param X: + %feature("autodoc", "* returns the value F=sum(||Pui - Bi*Pi||)2. returns the value G = grad(F) for the parameters Xi. + :param X: :type X: math_Vector & :param F: :type F: float & :param G: :type G: math_Vector & - :rtype: bool -") Values; + :rtype: bool") Values; Standard_Boolean Values (const math_Vector & X,Standard_Real &OutValue,math_Vector & G); - %feature("compactdefaultargs") NewParameters; - %feature("autodoc", " :rtype: math_Vector -") NewParameters; - const math_Vector & NewParameters (); - %feature("compactdefaultargs") CurveValue; - %feature("autodoc", " :rtype: AppParCurves_MultiCurve -") CurveValue; - const AppParCurves_MultiCurve & CurveValue (); - %feature("compactdefaultargs") Error; - %feature("autodoc", " :param IPoint: - :type IPoint: int - :param CurveIndex: - :type CurveIndex: int - :rtype: float -") Error; - Standard_Real Error (const Standard_Integer IPoint,const Standard_Integer CurveIndex); - %feature("compactdefaultargs") MaxError3d; - %feature("autodoc", " :rtype: float -") MaxError3d; - Standard_Real MaxError3d (); - %feature("compactdefaultargs") MaxError2d; - %feature("autodoc", " :rtype: float -") MaxError2d; - Standard_Real MaxError2d (); - %feature("compactdefaultargs") FirstConstraint; - %feature("autodoc", " :param TheConstraints: - :type TheConstraints: Handle_AppParCurves_HArray1OfConstraintCouple & - :param FirstPoint: - :type FirstPoint: int - :rtype: AppParCurves_Constraint -") FirstConstraint; - AppParCurves_Constraint FirstConstraint (const Handle_AppParCurves_HArray1OfConstraintCouple & TheConstraints,const Standard_Integer FirstPoint); - %feature("compactdefaultargs") LastConstraint; - %feature("autodoc", " :param TheConstraints: - :type TheConstraints: Handle_AppParCurves_HArray1OfConstraintCouple & - :param LastPoint: - :type LastPoint: int - :rtype: AppParCurves_Constraint -") LastConstraint; - AppParCurves_Constraint LastConstraint (const Handle_AppParCurves_HArray1OfConstraintCouple & TheConstraints,const Standard_Integer LastPoint); + }; @@ -3175,18 +3579,24 @@ class AppDef_TheFunction : public math_MultipleVarFunctionWithGradient { __repr__ = _dumps_object } }; + +/*************************** +* class AppDef_TheGradient * +***************************/ %nodefaultctor AppDef_TheGradient; class AppDef_TheGradient { public: + /****************** AppDef_TheGradient ******************/ %feature("compactdefaultargs") AppDef_TheGradient; - %feature("autodoc", " :param SSP: + %feature("autodoc", "* Tries to minimize the sum (square(||Qui - Bi*Pi||)) where Pui describe the approximating Bezier curves'Poles and Qi the MultiLine points with a parameter ui. In this algorithm, the parameters ui are the unknowns. The tolerance required on this sum is given by Tol. The desired degree of the resulting curve is Deg. + :param SSP: :type SSP: AppDef_MultiLine & :param FirstPoint: :type FirstPoint: int :param LastPoint: :type LastPoint: int :param TheConstraints: - :type TheConstraints: Handle_AppParCurves_HArray1OfConstraintCouple & + :type TheConstraints: opencascade::handle & :param Parameters: :type Parameters: math_Vector & :param Deg: @@ -3197,35 +3607,47 @@ class AppDef_TheGradient { :type Tol2d: float :param NbIterations: default value is 200 :type NbIterations: int - :rtype: None -") AppDef_TheGradient; - AppDef_TheGradient (const AppDef_MultiLine & SSP,const Standard_Integer FirstPoint,const Standard_Integer LastPoint,const Handle_AppParCurves_HArray1OfConstraintCouple & TheConstraints,math_Vector & Parameters,const Standard_Integer Deg,const Standard_Real Tol3d,const Standard_Real Tol2d,const Standard_Integer NbIterations = 200); - %feature("compactdefaultargs") IsDone; - %feature("autodoc", " :rtype: bool -") IsDone; - Standard_Boolean IsDone (); - %feature("compactdefaultargs") Value; - %feature("autodoc", " :rtype: AppParCurves_MultiCurve -") Value; - AppParCurves_MultiCurve Value (); + :rtype: None") AppDef_TheGradient; + AppDef_TheGradient (const AppDef_MultiLine & SSP,const Standard_Integer FirstPoint,const Standard_Integer LastPoint,const opencascade::handle & TheConstraints,math_Vector & Parameters,const Standard_Integer Deg,const Standard_Real Tol3d,const Standard_Real Tol2d,const Standard_Integer NbIterations = 200); + + /****************** AverageError ******************/ + %feature("compactdefaultargs") AverageError; + %feature("autodoc", "* returns the average error between the old and the new approximation. + :rtype: float") AverageError; + Standard_Real AverageError (); + + /****************** Error ******************/ %feature("compactdefaultargs") Error; - %feature("autodoc", " :param Index: + %feature("autodoc", "* returns the difference between the old and the new approximation. An exception is raised if NotDone. An exception is raised if Index<1 or Index>NbParameters. + :param Index: :type Index: int - :rtype: float -") Error; + :rtype: float") Error; Standard_Real Error (const Standard_Integer Index); - %feature("compactdefaultargs") MaxError3d; - %feature("autodoc", " :rtype: float -") MaxError3d; - Standard_Real MaxError3d (); + + /****************** IsDone ******************/ + %feature("compactdefaultargs") IsDone; + %feature("autodoc", "* returns True if all has been correctly done. + :rtype: bool") IsDone; + Standard_Boolean IsDone (); + + /****************** MaxError2d ******************/ %feature("compactdefaultargs") MaxError2d; - %feature("autodoc", " :rtype: float -") MaxError2d; + %feature("autodoc", "* returns the maximum difference between the old and the new approximation. + :rtype: float") MaxError2d; Standard_Real MaxError2d (); - %feature("compactdefaultargs") AverageError; - %feature("autodoc", " :rtype: float -") AverageError; - Standard_Real AverageError (); + + /****************** MaxError3d ******************/ + %feature("compactdefaultargs") MaxError3d; + %feature("autodoc", "* returns the maximum difference between the old and the new approximation. + :rtype: float") MaxError3d; + Standard_Real MaxError3d (); + + /****************** Value ******************/ + %feature("compactdefaultargs") Value; + %feature("autodoc", "* returns all the Bezier curves approximating the MultiLine SSP after minimization of the parameter. + :rtype: AppParCurves_MultiCurve") Value; + AppParCurves_MultiCurve Value (); + }; @@ -3234,11 +3656,17 @@ class AppDef_TheGradient { __repr__ = _dumps_object } }; + +/******************************* +* class AppDef_TheLeastSquares * +*******************************/ %nodefaultctor AppDef_TheLeastSquares; class AppDef_TheLeastSquares { public: + /****************** AppDef_TheLeastSquares ******************/ %feature("compactdefaultargs") AppDef_TheLeastSquares; - %feature("autodoc", " :param SSP: + %feature("autodoc", "* given a MultiLine, this algorithm computes the least square resolution using the Householder-QR method. If the first and/or the last point is a constraint point, the value of the tangency or curvature is computed in the resolution. NbPol is the number of control points wanted for the approximating curves. The system to solve is the following: A X = B. Where A is the Bernstein matrix computed with the parameters, B the points coordinates and X the poles solutions. The matrix A is the same for each coordinate x, y and z and is also the same for each MultiLine point because they are approximated in parallel(so with the same parameter, only the vector B changes). + :param SSP: :type SSP: AppDef_MultiLine & :param FirstPoint: :type FirstPoint: int @@ -3252,11 +3680,13 @@ class AppDef_TheLeastSquares { :type Parameters: math_Vector & :param NbPol: :type NbPol: int - :rtype: None -") AppDef_TheLeastSquares; + :rtype: None") AppDef_TheLeastSquares; AppDef_TheLeastSquares (const AppDef_MultiLine & SSP,const Standard_Integer FirstPoint,const Standard_Integer LastPoint,const AppParCurves_Constraint FirstCons,const AppParCurves_Constraint LastCons,const math_Vector & Parameters,const Standard_Integer NbPol); + + /****************** AppDef_TheLeastSquares ******************/ %feature("compactdefaultargs") AppDef_TheLeastSquares; - %feature("autodoc", " :param SSP: + %feature("autodoc", "* Initializes the fields of the object. + :param SSP: :type SSP: AppDef_MultiLine & :param FirstPoint: :type FirstPoint: int @@ -3268,11 +3698,13 @@ class AppDef_TheLeastSquares { :type LastCons: AppParCurves_Constraint :param NbPol: :type NbPol: int - :rtype: None -") AppDef_TheLeastSquares; + :rtype: None") AppDef_TheLeastSquares; AppDef_TheLeastSquares (const AppDef_MultiLine & SSP,const Standard_Integer FirstPoint,const Standard_Integer LastPoint,const AppParCurves_Constraint FirstCons,const AppParCurves_Constraint LastCons,const Standard_Integer NbPol); + + /****************** AppDef_TheLeastSquares ******************/ %feature("compactdefaultargs") AppDef_TheLeastSquares; - %feature("autodoc", " :param SSP: + %feature("autodoc", "* given a MultiLine, this algorithm computes the least square resolution using the Householder-QR method. If the first and/or the last point is a constraint point, the value of the tangency or curvature is computed in the resolution. Deg is the degree wanted for the approximating curves. The system to solve is the following: A X = B. Where A is the BSpline functions matrix computed with , B the points coordinates and X the poles solutions. The matrix A is the same for each coordinate x, y and z and is also the same for each MultiLine point because they are approximated in parallel(so with the same parameter, only the vector B changes). + :param SSP: :type SSP: AppDef_MultiLine & :param Knots: :type Knots: TColStd_Array1OfReal & @@ -3290,11 +3722,13 @@ class AppDef_TheLeastSquares { :type Parameters: math_Vector & :param NbPol: :type NbPol: int - :rtype: None -") AppDef_TheLeastSquares; + :rtype: None") AppDef_TheLeastSquares; AppDef_TheLeastSquares (const AppDef_MultiLine & SSP,const TColStd_Array1OfReal & Knots,const TColStd_Array1OfInteger & Mults,const Standard_Integer FirstPoint,const Standard_Integer LastPoint,const AppParCurves_Constraint FirstCons,const AppParCurves_Constraint LastCons,const math_Vector & Parameters,const Standard_Integer NbPol); + + /****************** AppDef_TheLeastSquares ******************/ %feature("compactdefaultargs") AppDef_TheLeastSquares; - %feature("autodoc", " :param SSP: + %feature("autodoc", "* Initializes the fields of the object. + :param SSP: :type SSP: AppDef_MultiLine & :param Knots: :type Knots: TColStd_Array1OfReal & @@ -3310,27 +3744,113 @@ class AppDef_TheLeastSquares { :type LastCons: AppParCurves_Constraint :param NbPol: :type NbPol: int - :rtype: None -") AppDef_TheLeastSquares; + :rtype: None") AppDef_TheLeastSquares; AppDef_TheLeastSquares (const AppDef_MultiLine & SSP,const TColStd_Array1OfReal & Knots,const TColStd_Array1OfInteger & Mults,const Standard_Integer FirstPoint,const Standard_Integer LastPoint,const AppParCurves_Constraint FirstCons,const AppParCurves_Constraint LastCons,const Standard_Integer NbPol); + + /****************** BSplineValue ******************/ + %feature("compactdefaultargs") BSplineValue; + %feature("autodoc", "* returns the result of the approximation, i.e. all the Curves. An exception is raised if NotDone. + :rtype: AppParCurves_MultiBSpCurve") BSplineValue; + const AppParCurves_MultiBSpCurve & BSplineValue (); + + /****************** BezierValue ******************/ + %feature("compactdefaultargs") BezierValue; + %feature("autodoc", "* returns the result of the approximation, i.e. all the Curves. An exception is raised if NotDone. + :rtype: AppParCurves_MultiCurve") BezierValue; + AppParCurves_MultiCurve BezierValue (); + + /****************** DerivativeFunctionMatrix ******************/ + %feature("compactdefaultargs") DerivativeFunctionMatrix; + %feature("autodoc", "* returns the derivative function matrix used to approximate the set. + :rtype: math_Matrix") DerivativeFunctionMatrix; + const math_Matrix & DerivativeFunctionMatrix (); + + /****************** Distance ******************/ + %feature("compactdefaultargs") Distance; + %feature("autodoc", "* returns the distances between the points of the multiline and the approximation curves. + :rtype: math_Matrix") Distance; + const math_Matrix & Distance (); + + /****************** Error ******************/ + %feature("compactdefaultargs") Error; + %feature("autodoc", "* returns the maximum errors between the MultiLine and the approximation curves. F is the sum of the square distances. + :param F: + :type F: float & + :param MaxE3d: + :type MaxE3d: float & + :param MaxE2d: + :type MaxE2d: float & + :rtype: None") Error; + void Error (Standard_Real &OutValue,Standard_Real &OutValue,Standard_Real &OutValue); + + /****************** ErrorGradient ******************/ + %feature("compactdefaultargs") ErrorGradient; + %feature("autodoc", "* returns the maximum errors between the MultiLine and the approximation curves. F is the sum of the square distances. Grad is the derivative vector of the function F. + :param Grad: + :type Grad: math_Vector & + :param F: + :type F: float & + :param MaxE3d: + :type MaxE3d: float & + :param MaxE2d: + :type MaxE2d: float & + :rtype: None") ErrorGradient; + void ErrorGradient (math_Vector & Grad,Standard_Real &OutValue,Standard_Real &OutValue,Standard_Real &OutValue); + + /****************** FirstLambda ******************/ + %feature("compactdefaultargs") FirstLambda; + %feature("autodoc", "* returns the value (P2 - P1)/ V1 if the first point was a tangency point. + :rtype: float") FirstLambda; + Standard_Real FirstLambda (); + + /****************** FunctionMatrix ******************/ + %feature("compactdefaultargs") FunctionMatrix; + %feature("autodoc", "* returns the function matrix used to approximate the set. + :rtype: math_Matrix") FunctionMatrix; + const math_Matrix & FunctionMatrix (); + + /****************** IsDone ******************/ + %feature("compactdefaultargs") IsDone; + %feature("autodoc", "* returns True if all has been correctly done. + :rtype: bool") IsDone; + Standard_Boolean IsDone (); + + /****************** KIndex ******************/ + %feature("compactdefaultargs") KIndex; + %feature("autodoc", "* Returns the indexes of the first non null values of A and DA. The values are non null from Index(ieme point) +1 to Index(ieme point) + degree +1. + :rtype: math_IntegerVector") KIndex; + const math_IntegerVector & KIndex (); + + /****************** LastLambda ******************/ + %feature("compactdefaultargs") LastLambda; + %feature("autodoc", "* returns the value (PN - PN-1)/ VN if the last point was a tangency point. + :rtype: float") LastLambda; + Standard_Real LastLambda (); + + /****************** Perform ******************/ %feature("compactdefaultargs") Perform; - %feature("autodoc", " :param Parameters: + %feature("autodoc", "* Is used after having initialized the fields. The case 'CurvaturePoint' is not treated in this method. + :param Parameters: :type Parameters: math_Vector & - :rtype: None -") Perform; + :rtype: None") Perform; void Perform (const math_Vector & Parameters); + + /****************** Perform ******************/ %feature("compactdefaultargs") Perform; - %feature("autodoc", " :param Parameters: + %feature("autodoc", "* Is used after having initialized the fields. + :param Parameters: :type Parameters: math_Vector & :param l1: :type l1: float :param l2: :type l2: float - :rtype: None -") Perform; + :rtype: None") Perform; void Perform (const math_Vector & Parameters,const Standard_Real l1,const Standard_Real l2); + + /****************** Perform ******************/ %feature("compactdefaultargs") Perform; - %feature("autodoc", " :param Parameters: + %feature("autodoc", "* Is used after having initialized the fields. is the tangent vector at the first point. is the tangent vector at the last point. + :param Parameters: :type Parameters: math_Vector & :param V1t: :type V1t: math_Vector & @@ -3340,11 +3860,13 @@ class AppDef_TheLeastSquares { :type l1: float :param l2: :type l2: float - :rtype: None -") Perform; + :rtype: None") Perform; void Perform (const math_Vector & Parameters,const math_Vector & V1t,const math_Vector & V2t,const Standard_Real l1,const Standard_Real l2); + + /****************** Perform ******************/ %feature("compactdefaultargs") Perform; - %feature("autodoc", " :param Parameters: + %feature("autodoc", "* Is used after having initialized the fields. is the tangent vector at the first point. is the tangent vector at the last point. is the tangent vector at the first point. is the tangent vector at the last point. + :param Parameters: :type Parameters: math_Vector & :param V1t: :type V1t: math_Vector & @@ -3358,75 +3880,21 @@ class AppDef_TheLeastSquares { :type l1: float :param l2: :type l2: float - :rtype: None -") Perform; + :rtype: None") Perform; void Perform (const math_Vector & Parameters,const math_Vector & V1t,const math_Vector & V2t,const math_Vector & V1c,const math_Vector & V2c,const Standard_Real l1,const Standard_Real l2); - %feature("compactdefaultargs") IsDone; - %feature("autodoc", " :rtype: bool -") IsDone; - Standard_Boolean IsDone (); - %feature("compactdefaultargs") BezierValue; - %feature("autodoc", " :rtype: AppParCurves_MultiCurve -") BezierValue; - AppParCurves_MultiCurve BezierValue (); - %feature("compactdefaultargs") BSplineValue; - %feature("autodoc", " :rtype: AppParCurves_MultiBSpCurve -") BSplineValue; - const AppParCurves_MultiBSpCurve & BSplineValue (); - %feature("compactdefaultargs") FunctionMatrix; - %feature("autodoc", " :rtype: math_Matrix -") FunctionMatrix; - const math_Matrix & FunctionMatrix (); - %feature("compactdefaultargs") DerivativeFunctionMatrix; - %feature("autodoc", " :rtype: math_Matrix -") DerivativeFunctionMatrix; - const math_Matrix & DerivativeFunctionMatrix (); - %feature("compactdefaultargs") ErrorGradient; - %feature("autodoc", " :param Grad: - :type Grad: math_Vector & - :param F: - :type F: float & - :param MaxE3d: - :type MaxE3d: float & - :param MaxE2d: - :type MaxE2d: float & - :rtype: None -") ErrorGradient; - void ErrorGradient (math_Vector & Grad,Standard_Real &OutValue,Standard_Real &OutValue,Standard_Real &OutValue); - %feature("compactdefaultargs") Distance; - %feature("autodoc", " :rtype: math_Matrix -") Distance; - const math_Matrix & Distance (); - %feature("compactdefaultargs") Error; - %feature("autodoc", " :param F: - :type F: float & - :param MaxE3d: - :type MaxE3d: float & - :param MaxE2d: - :type MaxE2d: float & - :rtype: None -") Error; - void Error (Standard_Real &OutValue,Standard_Real &OutValue,Standard_Real &OutValue); - %feature("compactdefaultargs") FirstLambda; - %feature("autodoc", " :rtype: float -") FirstLambda; - Standard_Real FirstLambda (); - %feature("compactdefaultargs") LastLambda; - %feature("autodoc", " :rtype: float -") LastLambda; - Standard_Real LastLambda (); + + /****************** Points ******************/ %feature("compactdefaultargs") Points; - %feature("autodoc", " :rtype: math_Matrix -") Points; + %feature("autodoc", "* returns the matrix of points value. + :rtype: math_Matrix") Points; const math_Matrix & Points (); + + /****************** Poles ******************/ %feature("compactdefaultargs") Poles; - %feature("autodoc", " :rtype: math_Matrix -") Poles; + %feature("autodoc", "* returns the matrix of resulting control points value. + :rtype: math_Matrix") Poles; const math_Matrix & Poles (); - %feature("compactdefaultargs") KIndex; - %feature("autodoc", " :rtype: math_IntegerVector -") KIndex; - const math_IntegerVector & KIndex (); + }; @@ -3435,11 +3903,17 @@ class AppDef_TheLeastSquares { __repr__ = _dumps_object } }; + +/************************ +* class AppDef_TheResol * +************************/ %nodefaultctor AppDef_TheResol; class AppDef_TheResol { public: + /****************** AppDef_TheResol ******************/ %feature("compactdefaultargs") AppDef_TheResol; - %feature("autodoc", " :param SSP: + %feature("autodoc", "* Given a MultiLine SSP with constraints points, this algorithm finds the best curve solution to approximate it. The poles from SCurv issued for example from the least squares are used as a guess solution for the uzawa algorithm. The tolerance used in the Uzawa algorithms is Tolerance. A is the Bernstein matrix associated to the MultiLine and DA is the derivative bernstein matrix.(They can come from an approximation with ParLeastSquare.) The MultiCurve is modified. New MultiPoles are given. + :param SSP: :type SSP: AppDef_MultiLine & :param SCurv: :type SCurv: AppParCurves_MultiCurve & @@ -3448,30 +3922,20 @@ class AppDef_TheResol { :param LastPoint: :type LastPoint: int :param Constraints: - :type Constraints: Handle_AppParCurves_HArray1OfConstraintCouple & + :type Constraints: opencascade::handle & :param Bern: :type Bern: math_Matrix & :param DerivativeBern: :type DerivativeBern: math_Matrix & :param Tolerance: default value is 1.0e-10 :type Tolerance: float - :rtype: None -") AppDef_TheResol; - AppDef_TheResol (const AppDef_MultiLine & SSP,AppParCurves_MultiCurve & SCurv,const Standard_Integer FirstPoint,const Standard_Integer LastPoint,const Handle_AppParCurves_HArray1OfConstraintCouple & Constraints,const math_Matrix & Bern,const math_Matrix & DerivativeBern,const Standard_Real Tolerance = 1.0e-10); - %feature("compactdefaultargs") IsDone; - %feature("autodoc", " :rtype: bool -") IsDone; - Standard_Boolean IsDone (); - %feature("compactdefaultargs") ConstraintMatrix; - %feature("autodoc", " :rtype: math_Matrix -") ConstraintMatrix; - const math_Matrix & ConstraintMatrix (); - %feature("compactdefaultargs") Duale; - %feature("autodoc", " :rtype: math_Vector -") Duale; - const math_Vector & Duale (); + :rtype: None") AppDef_TheResol; + AppDef_TheResol (const AppDef_MultiLine & SSP,AppParCurves_MultiCurve & SCurv,const Standard_Integer FirstPoint,const Standard_Integer LastPoint,const opencascade::handle & Constraints,const math_Matrix & Bern,const math_Matrix & DerivativeBern,const Standard_Real Tolerance = 1.0e-10); + + /****************** ConstraintDerivative ******************/ %feature("compactdefaultargs") ConstraintDerivative; - %feature("autodoc", " :param SSP: + %feature("autodoc", "* Returns the derivative of the constraint matrix. + :param SSP: :type SSP: AppDef_MultiLine & :param Parameters: :type Parameters: math_Vector & @@ -3479,13 +3943,32 @@ class AppDef_TheResol { :type Deg: int :param DA: :type DA: math_Matrix & - :rtype: math_Matrix -") ConstraintDerivative; + :rtype: math_Matrix") ConstraintDerivative; const math_Matrix & ConstraintDerivative (const AppDef_MultiLine & SSP,const math_Vector & Parameters,const Standard_Integer Deg,const math_Matrix & DA); + + /****************** ConstraintMatrix ******************/ + %feature("compactdefaultargs") ConstraintMatrix; + %feature("autodoc", ":rtype: math_Matrix") ConstraintMatrix; + const math_Matrix & ConstraintMatrix (); + + /****************** Duale ******************/ + %feature("compactdefaultargs") Duale; + %feature("autodoc", "* returns the duale variables of the system. + :rtype: math_Vector") Duale; + const math_Vector & Duale (); + + /****************** InverseMatrix ******************/ %feature("compactdefaultargs") InverseMatrix; - %feature("autodoc", " :rtype: math_Matrix -") InverseMatrix; + %feature("autodoc", "* returns the Inverse of Cont*Transposed(Cont), where Cont is the constraint matrix for the algorithm. + :rtype: math_Matrix") InverseMatrix; const math_Matrix & InverseMatrix (); + + /****************** IsDone ******************/ + %feature("compactdefaultargs") IsDone; + %feature("autodoc", "* returns True if all has been correctly done. + :rtype: bool") IsDone; + Standard_Boolean IsDone (); + }; @@ -3494,12 +3977,16 @@ class AppDef_TheResol { __repr__ = _dumps_object } }; + +/*************************** +* class AppDef_Variational * +***************************/ %nodefaultctor AppDef_Variational; class AppDef_Variational { public: + /****************** AppDef_Variational ******************/ %feature("compactdefaultargs") AppDef_Variational; - %feature("autodoc", " * Constructor. Initialization of the fields. warning : Nc0 : number of PassagePoint consraints Nc2 : number of TangencyPoint constraints Nc3 : number of CurvaturePoint constraints if ((MaxDegree-Continuity)*MaxSegment -Nc0 - 2*Nc1 -3*Nc2) is negative The problem is over-constrained. //! Limitation : The MultiLine from AppDef has to be composed by only one Line ( Dimension 2 or 3). - + %feature("autodoc", "* Constructor. Initialization of the fields. warning : Nc0 : number of PassagePoint consraints Nc2 : number of TangencyPoint constraints Nc3 : number of CurvaturePoint constraints if ((MaxDegree-Continuity)*MaxSegment -Nc0 - 2*Nc1 -3*Nc2) is negative The problem is over-constrained. //! Limitation : The MultiLine from AppDef has to be composed by only one Line ( Dimension 2 or 3). :param SSP: :type SSP: AppDef_MultiLine & :param FirstPoint: @@ -3507,7 +3994,7 @@ class AppDef_Variational { :param LastPoint: :type LastPoint: int :param TheConstraints: - :type TheConstraints: Handle_AppParCurves_HArray1OfConstraintCouple & + :type TheConstraints: opencascade::handle & :param MaxDegree: default value is 14 :type MaxDegree: int :param MaxSegment: default value is 100 @@ -3522,149 +4009,59 @@ class AppDef_Variational { :type Tolerance: float :param NbIterations: default value is 2 :type NbIterations: int - :rtype: None -") AppDef_Variational; - AppDef_Variational (const AppDef_MultiLine & SSP,const Standard_Integer FirstPoint,const Standard_Integer LastPoint,const Handle_AppParCurves_HArray1OfConstraintCouple & TheConstraints,const Standard_Integer MaxDegree = 14,const Standard_Integer MaxSegment = 100,const GeomAbs_Shape Continuity = GeomAbs_C2,const Standard_Boolean WithMinMax = Standard_False,const Standard_Boolean WithCutting = Standard_True,const Standard_Real Tolerance = 1.0,const Standard_Integer NbIterations = 2); - %feature("compactdefaultargs") Approximate; - %feature("autodoc", " * Makes the approximation with the current fields. + :rtype: None") AppDef_Variational; + AppDef_Variational (const AppDef_MultiLine & SSP,const Standard_Integer FirstPoint,const Standard_Integer LastPoint,const opencascade::handle & TheConstraints,const Standard_Integer MaxDegree = 14,const Standard_Integer MaxSegment = 100,const GeomAbs_Shape Continuity = GeomAbs_C2,const Standard_Boolean WithMinMax = Standard_False,const Standard_Boolean WithCutting = Standard_True,const Standard_Real Tolerance = 1.0,const Standard_Integer NbIterations = 2); - :rtype: None -") Approximate; + /****************** Approximate ******************/ + %feature("compactdefaultargs") Approximate; + %feature("autodoc", "* Makes the approximation with the current fields. + :rtype: None") Approximate; void Approximate (); - %feature("compactdefaultargs") IsCreated; - %feature("autodoc", " * returns True if the creation is done and correspond to the current fields. - - :rtype: bool -") IsCreated; - Standard_Boolean IsCreated (); - %feature("compactdefaultargs") IsDone; - %feature("autodoc", " * returns True if the approximation is ok and correspond to the current fields. - - :rtype: bool -") IsDone; - Standard_Boolean IsDone (); - %feature("compactdefaultargs") IsOverConstrained; - %feature("autodoc", " * returns True if the problem is overconstrained in this case, approximation cannot be done. - - :rtype: bool -") IsOverConstrained; - Standard_Boolean IsOverConstrained (); - %feature("compactdefaultargs") Value; - %feature("autodoc", " * returns all the BSpline curves approximating the MultiLine from AppDef SSP after minimization of the parameter. - :rtype: AppParCurves_MultiBSpCurve -") Value; - AppParCurves_MultiBSpCurve Value (); - %feature("compactdefaultargs") MaxError; - %feature("autodoc", " * returns the maximum of the distances between the points of the multiline and the approximation curves. - - :rtype: float -") MaxError; - Standard_Real MaxError (); - %feature("compactdefaultargs") MaxErrorIndex; - %feature("autodoc", " * returns the index of the MultiPoint of ErrorMax - - :rtype: int -") MaxErrorIndex; - Standard_Integer MaxErrorIndex (); - %feature("compactdefaultargs") QuadraticError; - %feature("autodoc", " * returns the quadratic average of the distances between the points of the multiline and the approximation curves. - - :rtype: float -") QuadraticError; - Standard_Real QuadraticError (); - %feature("compactdefaultargs") Distance; - %feature("autodoc", " * returns the distances between the points of the multiline and the approximation curves. - - :param mat: - :type mat: math_Matrix & - :rtype: None -") Distance; - void Distance (math_Matrix & mat); + /****************** AverageError ******************/ %feature("compactdefaultargs") AverageError; - %feature("autodoc", " * returns the average error between the MultiLine from AppDef and the approximation. - - :rtype: float -") AverageError; + %feature("autodoc", "* returns the average error between the MultiLine from AppDef and the approximation. + :rtype: float") AverageError; Standard_Real AverageError (); - %feature("compactdefaultargs") Parameters; - %feature("autodoc", " * returns the parameters uses to the approximations - :rtype: Handle_TColStd_HArray1OfReal -") Parameters; - Handle_TColStd_HArray1OfReal Parameters (); - %feature("compactdefaultargs") Knots; - %feature("autodoc", " * returns the knots uses to the approximations + /****************** Continuity ******************/ + %feature("compactdefaultargs") Continuity; + %feature("autodoc", "* returns the Continuity used in the approximation + :rtype: GeomAbs_Shape") Continuity; + GeomAbs_Shape Continuity (); - :rtype: Handle_TColStd_HArray1OfReal -") Knots; - Handle_TColStd_HArray1OfReal Knots (); + /****************** Criterium ******************/ %feature("compactdefaultargs") Criterium; - %feature("autodoc", " * returns the values of the quality criterium. - + %feature("autodoc", "* returns the values of the quality criterium. :param VFirstOrder: :type VFirstOrder: float & :param VSecondOrder: :type VSecondOrder: float & :param VThirdOrder: :type VThirdOrder: float & - :rtype: None -") Criterium; + :rtype: None") Criterium; void Criterium (Standard_Real &OutValue,Standard_Real &OutValue,Standard_Real &OutValue); - %feature("compactdefaultargs") CriteriumWeight; - %feature("autodoc", " * returns the Weights (as percent) associed to the criterium used in the optimization. + /****************** CriteriumWeight ******************/ + %feature("compactdefaultargs") CriteriumWeight; + %feature("autodoc", "* returns the Weights (as percent) associed to the criterium used in the optimization. :param Percent1: :type Percent1: float & :param Percent2: :type Percent2: float & :param Percent3: :type Percent3: float & - :rtype: None -") CriteriumWeight; + :rtype: None") CriteriumWeight; void CriteriumWeight (Standard_Real &OutValue,Standard_Real &OutValue,Standard_Real &OutValue); - %feature("compactdefaultargs") MaxDegree; - %feature("autodoc", " * returns the Maximum Degree used in the approximation - :rtype: int -") MaxDegree; - Standard_Integer MaxDegree (); - %feature("compactdefaultargs") MaxSegment; - %feature("autodoc", " * returns the Maximum of segment used in the approximation - - :rtype: int -") MaxSegment; - Standard_Integer MaxSegment (); - %feature("compactdefaultargs") Continuity; - %feature("autodoc", " * returns the Continuity used in the approximation - - :rtype: GeomAbs_Shape -") Continuity; - GeomAbs_Shape Continuity (); - %feature("compactdefaultargs") WithMinMax; - %feature("autodoc", " * returns if the approximation search to minimize the maximum Error or not. - - :rtype: bool -") WithMinMax; - Standard_Boolean WithMinMax (); - %feature("compactdefaultargs") WithCutting; - %feature("autodoc", " * returns if the approximation can insert new Knots or not. - - :rtype: bool -") WithCutting; - Standard_Boolean WithCutting (); - %feature("compactdefaultargs") Tolerance; - %feature("autodoc", " * returns the tolerance used in the approximation. - - :rtype: float -") Tolerance; - Standard_Real Tolerance (); - %feature("compactdefaultargs") NbIterations; - %feature("autodoc", " * returns the number of iterations used in the approximation. + /****************** Distance ******************/ + %feature("compactdefaultargs") Distance; + %feature("autodoc", "* returns the distances between the points of the multiline and the approximation curves. + :param mat: + :type mat: math_Matrix & + :rtype: None") Distance; + void Distance (math_Matrix & mat); - :rtype: int -") NbIterations; - Standard_Integer NbIterations (); %feature("autodoc", "1"); %extend{ @@ -3673,108 +4070,198 @@ class AppDef_Variational { self->Dump(s); return s.str();} }; - %feature("compactdefaultargs") SetConstraints; - %feature("autodoc", " * Define the constraints to approximate If this value is incompatible with the others fields this method modify nothing and returns false + /****************** IsCreated ******************/ + %feature("compactdefaultargs") IsCreated; + %feature("autodoc", "* returns True if the creation is done and correspond to the current fields. + :rtype: bool") IsCreated; + Standard_Boolean IsCreated (); - :param aConstrainst: - :type aConstrainst: Handle_AppParCurves_HArray1OfConstraintCouple & - :rtype: bool -") SetConstraints; - Standard_Boolean SetConstraints (const Handle_AppParCurves_HArray1OfConstraintCouple & aConstrainst); - %feature("compactdefaultargs") SetParameters; - %feature("autodoc", " * Defines the parameters used by the approximations. + /****************** IsDone ******************/ + %feature("compactdefaultargs") IsDone; + %feature("autodoc", "* returns True if the approximation is ok and correspond to the current fields. + :rtype: bool") IsDone; + Standard_Boolean IsDone (); - :param param: - :type param: Handle_TColStd_HArray1OfReal & - :rtype: None -") SetParameters; - void SetParameters (const Handle_TColStd_HArray1OfReal & param); - %feature("compactdefaultargs") SetKnots; - %feature("autodoc", " * Defines the knots used by the approximations If this value is incompatible with the others fields this method modify nothing and returns false + /****************** IsOverConstrained ******************/ + %feature("compactdefaultargs") IsOverConstrained; + %feature("autodoc", "* returns True if the problem is overconstrained in this case, approximation cannot be done. + :rtype: bool") IsOverConstrained; + Standard_Boolean IsOverConstrained (); - :param knots: - :type knots: Handle_TColStd_HArray1OfReal & - :rtype: bool -") SetKnots; - Standard_Boolean SetKnots (const Handle_TColStd_HArray1OfReal & knots); - %feature("compactdefaultargs") SetMaxDegree; - %feature("autodoc", " * Define the Maximum Degree used in the approximation If this value is incompatible with the others fields this method modify nothing and returns false + /****************** Knots ******************/ + %feature("compactdefaultargs") Knots; + %feature("autodoc", "* returns the knots uses to the approximations + :rtype: opencascade::handle") Knots; + const opencascade::handle & Knots (); - :param Degree: - :type Degree: int - :rtype: bool -") SetMaxDegree; - Standard_Boolean SetMaxDegree (const Standard_Integer Degree); - %feature("compactdefaultargs") SetMaxSegment; - %feature("autodoc", " * Define the maximum number of segments used in the approximation If this value is incompatible with the others fields this method modify nothing and returns false + /****************** MaxDegree ******************/ + %feature("compactdefaultargs") MaxDegree; + %feature("autodoc", "* returns the Maximum Degree used in the approximation + :rtype: int") MaxDegree; + Standard_Integer MaxDegree (); - :param NbSegment: - :type NbSegment: int - :rtype: bool -") SetMaxSegment; - Standard_Boolean SetMaxSegment (const Standard_Integer NbSegment); - %feature("compactdefaultargs") SetContinuity; - %feature("autodoc", " * Define the Continuity used in the approximation If this value is incompatible with the others fields this method modify nothing and returns false + /****************** MaxError ******************/ + %feature("compactdefaultargs") MaxError; + %feature("autodoc", "* returns the maximum of the distances between the points of the multiline and the approximation curves. + :rtype: float") MaxError; + Standard_Real MaxError (); + + /****************** MaxErrorIndex ******************/ + %feature("compactdefaultargs") MaxErrorIndex; + %feature("autodoc", "* returns the index of the MultiPoint of ErrorMax + :rtype: int") MaxErrorIndex; + Standard_Integer MaxErrorIndex (); + + /****************** MaxSegment ******************/ + %feature("compactdefaultargs") MaxSegment; + %feature("autodoc", "* returns the Maximum of segment used in the approximation + :rtype: int") MaxSegment; + Standard_Integer MaxSegment (); + /****************** NbIterations ******************/ + %feature("compactdefaultargs") NbIterations; + %feature("autodoc", "* returns the number of iterations used in the approximation. + :rtype: int") NbIterations; + Standard_Integer NbIterations (); + + /****************** Parameters ******************/ + %feature("compactdefaultargs") Parameters; + %feature("autodoc", "* returns the parameters uses to the approximations + :rtype: opencascade::handle") Parameters; + const opencascade::handle & Parameters (); + + /****************** QuadraticError ******************/ + %feature("compactdefaultargs") QuadraticError; + %feature("autodoc", "* returns the quadratic average of the distances between the points of the multiline and the approximation curves. + :rtype: float") QuadraticError; + Standard_Real QuadraticError (); + + /****************** SetConstraints ******************/ + %feature("compactdefaultargs") SetConstraints; + %feature("autodoc", "* Define the constraints to approximate If this value is incompatible with the others fields this method modify nothing and returns false + :param aConstrainst: + :type aConstrainst: opencascade::handle & + :rtype: bool") SetConstraints; + Standard_Boolean SetConstraints (const opencascade::handle & aConstrainst); + + /****************** SetContinuity ******************/ + %feature("compactdefaultargs") SetContinuity; + %feature("autodoc", "* Define the Continuity used in the approximation If this value is incompatible with the others fields this method modify nothing and returns false :param C: :type C: GeomAbs_Shape - :rtype: bool -") SetContinuity; + :rtype: bool") SetContinuity; Standard_Boolean SetContinuity (const GeomAbs_Shape C); - %feature("compactdefaultargs") SetWithMinMax; - %feature("autodoc", " * Define if the approximation search to minimize the maximum Error or not. - :param MinMax: - :type MinMax: bool - :rtype: None -") SetWithMinMax; - void SetWithMinMax (const Standard_Boolean MinMax); - %feature("compactdefaultargs") SetWithCutting; - %feature("autodoc", " * Define if the approximation can insert new Knots or not. If this value is incompatible with the others fields this method modify nothing and returns false - - :param Cutting: - :type Cutting: bool - :rtype: bool -") SetWithCutting; - Standard_Boolean SetWithCutting (const Standard_Boolean Cutting); + /****************** SetCriteriumWeight ******************/ %feature("compactdefaultargs") SetCriteriumWeight; - %feature("autodoc", " * define the Weights (as percent) associed to the criterium used in the optimization. //! if Percent <= 0 - + %feature("autodoc", "* define the Weights (as percent) associed to the criterium used in the optimization. //! if Percent <= 0 :param Percent1: :type Percent1: float :param Percent2: :type Percent2: float :param Percent3: :type Percent3: float - :rtype: None -") SetCriteriumWeight; + :rtype: None") SetCriteriumWeight; void SetCriteriumWeight (const Standard_Real Percent1,const Standard_Real Percent2,const Standard_Real Percent3); - %feature("compactdefaultargs") SetCriteriumWeight; - %feature("autodoc", " * define the Weight (as percent) associed to the criterium Order used in the optimization : Others weights are updated. if Percent < 0 if Order < 1 or Order > 3 + /****************** SetCriteriumWeight ******************/ + %feature("compactdefaultargs") SetCriteriumWeight; + %feature("autodoc", "* define the Weight (as percent) associed to the criterium Order used in the optimization : Others weights are updated. if Percent < 0 if Order < 1 or Order > 3 :param Order: :type Order: int :param Percent: :type Percent: float - :rtype: None -") SetCriteriumWeight; + :rtype: None") SetCriteriumWeight; void SetCriteriumWeight (const Standard_Integer Order,const Standard_Real Percent); - %feature("compactdefaultargs") SetTolerance; - %feature("autodoc", " * define the tolerance used in the approximation. - :param Tol: - :type Tol: float - :rtype: None -") SetTolerance; - void SetTolerance (const Standard_Real Tol); - %feature("compactdefaultargs") SetNbIterations; - %feature("autodoc", " * define the number of iterations used in the approximation. if Iter < 1 + /****************** SetKnots ******************/ + %feature("compactdefaultargs") SetKnots; + %feature("autodoc", "* Defines the knots used by the approximations If this value is incompatible with the others fields this method modify nothing and returns false + :param knots: + :type knots: opencascade::handle & + :rtype: bool") SetKnots; + Standard_Boolean SetKnots (const opencascade::handle & knots); + + /****************** SetMaxDegree ******************/ + %feature("compactdefaultargs") SetMaxDegree; + %feature("autodoc", "* Define the Maximum Degree used in the approximation If this value is incompatible with the others fields this method modify nothing and returns false + :param Degree: + :type Degree: int + :rtype: bool") SetMaxDegree; + Standard_Boolean SetMaxDegree (const Standard_Integer Degree); + + /****************** SetMaxSegment ******************/ + %feature("compactdefaultargs") SetMaxSegment; + %feature("autodoc", "* Define the maximum number of segments used in the approximation If this value is incompatible with the others fields this method modify nothing and returns false + :param NbSegment: + :type NbSegment: int + :rtype: bool") SetMaxSegment; + Standard_Boolean SetMaxSegment (const Standard_Integer NbSegment); + /****************** SetNbIterations ******************/ + %feature("compactdefaultargs") SetNbIterations; + %feature("autodoc", "* define the number of iterations used in the approximation. if Iter < 1 :param Iter: :type Iter: int - :rtype: None -") SetNbIterations; + :rtype: None") SetNbIterations; void SetNbIterations (const Standard_Integer Iter); + + /****************** SetParameters ******************/ + %feature("compactdefaultargs") SetParameters; + %feature("autodoc", "* Defines the parameters used by the approximations. + :param param: + :type param: opencascade::handle & + :rtype: None") SetParameters; + void SetParameters (const opencascade::handle & param); + + /****************** SetTolerance ******************/ + %feature("compactdefaultargs") SetTolerance; + %feature("autodoc", "* define the tolerance used in the approximation. + :param Tol: + :type Tol: float + :rtype: None") SetTolerance; + void SetTolerance (const Standard_Real Tol); + + /****************** SetWithCutting ******************/ + %feature("compactdefaultargs") SetWithCutting; + %feature("autodoc", "* Define if the approximation can insert new Knots or not. If this value is incompatible with the others fields this method modify nothing and returns false + :param Cutting: + :type Cutting: bool + :rtype: bool") SetWithCutting; + Standard_Boolean SetWithCutting (const Standard_Boolean Cutting); + + /****************** SetWithMinMax ******************/ + %feature("compactdefaultargs") SetWithMinMax; + %feature("autodoc", "* Define if the approximation search to minimize the maximum Error or not. + :param MinMax: + :type MinMax: bool + :rtype: None") SetWithMinMax; + void SetWithMinMax (const Standard_Boolean MinMax); + + /****************** Tolerance ******************/ + %feature("compactdefaultargs") Tolerance; + %feature("autodoc", "* returns the tolerance used in the approximation. + :rtype: float") Tolerance; + Standard_Real Tolerance (); + + /****************** Value ******************/ + %feature("compactdefaultargs") Value; + %feature("autodoc", "* returns all the BSpline curves approximating the MultiLine from AppDef SSP after minimization of the parameter. + :rtype: AppParCurves_MultiBSpCurve") Value; + AppParCurves_MultiBSpCurve Value (); + + /****************** WithCutting ******************/ + %feature("compactdefaultargs") WithCutting; + %feature("autodoc", "* returns if the approximation can insert new Knots or not. + :rtype: bool") WithCutting; + Standard_Boolean WithCutting (); + + /****************** WithMinMax ******************/ + %feature("compactdefaultargs") WithMinMax; + %feature("autodoc", "* returns if the approximation search to minimize the maximum Error or not. + :rtype: bool") WithMinMax; + Standard_Boolean WithMinMax (); + }; @@ -3783,106 +4270,99 @@ class AppDef_Variational { __repr__ = _dumps_object } }; + +/****************************** +* class AppDef_LinearCriteria * +******************************/ %nodefaultctor AppDef_LinearCriteria; class AppDef_LinearCriteria : public AppDef_SmoothCriterion { public: + /****************** AppDef_LinearCriteria ******************/ %feature("compactdefaultargs") AppDef_LinearCriteria; - %feature("autodoc", " :param SSP: + %feature("autodoc", ":param SSP: :type SSP: AppDef_MultiLine & :param FirstPoint: :type FirstPoint: int :param LastPoint: :type LastPoint: int - :rtype: None -") AppDef_LinearCriteria; + :rtype: None") AppDef_LinearCriteria; AppDef_LinearCriteria (const AppDef_MultiLine & SSP,const Standard_Integer FirstPoint,const Standard_Integer LastPoint); - %feature("compactdefaultargs") SetParameters; - %feature("autodoc", " :param Parameters: - :type Parameters: Handle_TColStd_HArray1OfReal & - :rtype: None -") SetParameters; - void SetParameters (const Handle_TColStd_HArray1OfReal & Parameters); - %feature("compactdefaultargs") SetCurve; - %feature("autodoc", " :param C: - :type C: Handle_FEmTool_Curve & - :rtype: None -") SetCurve; - void SetCurve (const Handle_FEmTool_Curve & C); - %feature("compactdefaultargs") GetCurve; - %feature("autodoc", " :param C: - :type C: Handle_FEmTool_Curve & - :rtype: None -") GetCurve; - void GetCurve (Handle_FEmTool_Curve & C); - %feature("compactdefaultargs") SetEstimation; - %feature("autodoc", " :param E1: - :type E1: float - :param E2: - :type E2: float - :param E3: - :type E3: float - :rtype: None -") SetEstimation; - void SetEstimation (const Standard_Real E1,const Standard_Real E2,const Standard_Real E3); - %feature("autodoc","1"); - %extend { - Standard_Real GetEstLength() { - return (Standard_Real) $self->EstLength(); - } - }; - %feature("autodoc","1"); - %extend { - void SetEstLength(Standard_Real value ) { - $self->EstLength()=value; - } - }; - %feature("compactdefaultargs") GetEstimation; - %feature("autodoc", " :param E1: - :type E1: float & - :param E2: - :type E2: float & - :param E3: - :type E3: float & - :rtype: None -") GetEstimation; - void GetEstimation (Standard_Real &OutValue,Standard_Real &OutValue,Standard_Real &OutValue); + /****************** AssemblyTable ******************/ %feature("compactdefaultargs") AssemblyTable; - %feature("autodoc", " :rtype: Handle_FEmTool_HAssemblyTable -") AssemblyTable; - Handle_FEmTool_HAssemblyTable AssemblyTable (); + %feature("autodoc", ":rtype: opencascade::handle") AssemblyTable; + opencascade::handle AssemblyTable (); + + /****************** DependenceTable ******************/ %feature("compactdefaultargs") DependenceTable; - %feature("autodoc", " :rtype: Handle_TColStd_HArray2OfInteger -") DependenceTable; - Handle_TColStd_HArray2OfInteger DependenceTable (); - %feature("compactdefaultargs") QualityValues; - %feature("autodoc", " :param J1min: - :type J1min: float - :param J2min: - :type J2min: float - :param J3min: - :type J3min: float - :param J1: - :type J1: float & - :param J2: - :type J2: float & - :param J3: - :type J3: float & - :rtype: int -") QualityValues; - Standard_Integer QualityValues (const Standard_Real J1min,const Standard_Real J2min,const Standard_Real J3min,Standard_Real &OutValue,Standard_Real &OutValue,Standard_Real &OutValue); + %feature("autodoc", ":rtype: opencascade::handle") DependenceTable; + opencascade::handle DependenceTable (); + + /****************** ErrorValues ******************/ %feature("compactdefaultargs") ErrorValues; - %feature("autodoc", " :param MaxError: + %feature("autodoc", ":param MaxError: :type MaxError: float & :param QuadraticError: :type QuadraticError: float & :param AverageError: :type AverageError: float & - :rtype: None -") ErrorValues; + :rtype: None") ErrorValues; void ErrorValues (Standard_Real &OutValue,Standard_Real &OutValue,Standard_Real &OutValue); + + + %feature("autodoc","1"); + %extend { + Standard_Real GetEstLength() { + return (Standard_Real) $self->EstLength(); + } + }; + %feature("autodoc","1"); + %extend { + void SetEstLength(Standard_Real value) { + $self->EstLength()=value; + } + }; + /****************** GetCurve ******************/ + %feature("compactdefaultargs") GetCurve; + %feature("autodoc", ":param C: + :type C: opencascade::handle & + :rtype: None") GetCurve; + void GetCurve (opencascade::handle & C); + + /****************** GetEstimation ******************/ + %feature("compactdefaultargs") GetEstimation; + %feature("autodoc", ":param E1: + :type E1: float & + :param E2: + :type E2: float & + :param E3: + :type E3: float & + :rtype: None") GetEstimation; + void GetEstimation (Standard_Real &OutValue,Standard_Real &OutValue,Standard_Real &OutValue); + + /****************** GetWeight ******************/ + %feature("compactdefaultargs") GetWeight; + %feature("autodoc", ":param QuadraticWeight: + :type QuadraticWeight: float & + :param QualityWeight: + :type QualityWeight: float & + :rtype: None") GetWeight; + void GetWeight (Standard_Real &OutValue,Standard_Real &OutValue); + + /****************** Gradient ******************/ + %feature("compactdefaultargs") Gradient; + %feature("autodoc", ":param Element: + :type Element: int + :param Dimension: + :type Dimension: int + :param G: + :type G: math_Vector & + :rtype: None") Gradient; + void Gradient (const Standard_Integer Element,const Standard_Integer Dimension,math_Vector & G); + + /****************** Hessian ******************/ %feature("compactdefaultargs") Hessian; - %feature("autodoc", " :param Element: + %feature("autodoc", ":param Element: :type Element: int :param Dimension1: :type Dimension1: int @@ -3890,31 +4370,64 @@ class AppDef_LinearCriteria : public AppDef_SmoothCriterion { :type Dimension2: int :param H: :type H: math_Matrix & - :rtype: None -") Hessian; + :rtype: None") Hessian; void Hessian (const Standard_Integer Element,const Standard_Integer Dimension1,const Standard_Integer Dimension2,math_Matrix & H); - %feature("compactdefaultargs") Gradient; - %feature("autodoc", " :param Element: - :type Element: int - :param Dimension: - :type Dimension: int - :param G: - :type G: math_Vector & - :rtype: None -") Gradient; - void Gradient (const Standard_Integer Element,const Standard_Integer Dimension,math_Vector & G); - %feature("compactdefaultargs") InputVector; - %feature("autodoc", " * Convert the assembly Vector in an Curve; + /****************** InputVector ******************/ + %feature("compactdefaultargs") InputVector; + %feature("autodoc", "* Convert the assembly Vector in an Curve; :param X: :type X: math_Vector & :param AssTable: - :type AssTable: Handle_FEmTool_HAssemblyTable & - :rtype: None -") InputVector; - void InputVector (const math_Vector & X,const Handle_FEmTool_HAssemblyTable & AssTable); + :type AssTable: opencascade::handle & + :rtype: None") InputVector; + void InputVector (const math_Vector & X,const opencascade::handle & AssTable); + + /****************** QualityValues ******************/ + %feature("compactdefaultargs") QualityValues; + %feature("autodoc", ":param J1min: + :type J1min: float + :param J2min: + :type J2min: float + :param J3min: + :type J3min: float + :param J1: + :type J1: float & + :param J2: + :type J2: float & + :param J3: + :type J3: float & + :rtype: int") QualityValues; + Standard_Integer QualityValues (const Standard_Real J1min,const Standard_Real J2min,const Standard_Real J3min,Standard_Real &OutValue,Standard_Real &OutValue,Standard_Real &OutValue); + + /****************** SetCurve ******************/ + %feature("compactdefaultargs") SetCurve; + %feature("autodoc", ":param C: + :type C: opencascade::handle & + :rtype: None") SetCurve; + void SetCurve (const opencascade::handle & C); + + /****************** SetEstimation ******************/ + %feature("compactdefaultargs") SetEstimation; + %feature("autodoc", ":param E1: + :type E1: float + :param E2: + :type E2: float + :param E3: + :type E3: float + :rtype: None") SetEstimation; + void SetEstimation (const Standard_Real E1,const Standard_Real E2,const Standard_Real E3); + + /****************** SetParameters ******************/ + %feature("compactdefaultargs") SetParameters; + %feature("autodoc", ":param Parameters: + :type Parameters: opencascade::handle & + :rtype: None") SetParameters; + void SetParameters (const opencascade::handle & Parameters); + + /****************** SetWeight ******************/ %feature("compactdefaultargs") SetWeight; - %feature("autodoc", " :param QuadraticWeight: + %feature("autodoc", ":param QuadraticWeight: :type QuadraticWeight: float :param QualityWeight: :type QualityWeight: float @@ -3924,23 +4437,16 @@ class AppDef_LinearCriteria : public AppDef_SmoothCriterion { :type percentJ2: float :param percentJ3: :type percentJ3: float - :rtype: None -") SetWeight; + :rtype: None") SetWeight; void SetWeight (const Standard_Real QuadraticWeight,const Standard_Real QualityWeight,const Standard_Real percentJ1,const Standard_Real percentJ2,const Standard_Real percentJ3); - %feature("compactdefaultargs") GetWeight; - %feature("autodoc", " :param QuadraticWeight: - :type QuadraticWeight: float & - :param QualityWeight: - :type QualityWeight: float & - :rtype: None -") GetWeight; - void GetWeight (Standard_Real &OutValue,Standard_Real &OutValue); + + /****************** SetWeight ******************/ %feature("compactdefaultargs") SetWeight; - %feature("autodoc", " :param Weight: + %feature("autodoc", ":param Weight: :type Weight: TColStd_Array1OfReal & - :rtype: None -") SetWeight; + :rtype: None") SetWeight; void SetWeight (const TColStd_Array1OfReal & Weight); + }; @@ -3951,3 +4457,18 @@ class AppDef_LinearCriteria : public AppDef_SmoothCriterion { __repr__ = _dumps_object } }; + +/* harray1 class */ +class AppDef_HArray1OfMultiPointConstraint : public AppDef_Array1OfMultiPointConstraint, public Standard_Transient { + public: + AppDef_HArray1OfMultiPointConstraint(const Standard_Integer theLower, const Standard_Integer theUpper); + AppDef_HArray1OfMultiPointConstraint(const Standard_Integer theLower, const Standard_Integer theUpper, const AppDef_Array1OfMultiPointConstraint::value_type& theValue); + AppDef_HArray1OfMultiPointConstraint(const AppDef_Array1OfMultiPointConstraint& theOther); + const AppDef_Array1OfMultiPointConstraint& Array1(); + AppDef_Array1OfMultiPointConstraint& ChangeArray1(); +}; +%make_alias(AppDef_HArray1OfMultiPointConstraint) + + +/* harray2 class */ +/* harray2 class */ diff --git a/src/SWIG_files/wrapper/AppDef_headers.i b/src/SWIG_files/wrapper/AppDef_headers.i deleted file mode 100644 index 56273b0ad..000000000 --- a/src/SWIG_files/wrapper/AppDef_headers.i +++ /dev/null @@ -1,816 +0,0 @@ -/* -Copyright 2008-2017 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 . - -*/ -%{ -#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 -#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 -#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 -#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 -#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 -#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 -#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 -#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 -#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 -%}; -%import Standard.i -%import math.i -%import AppParCurves.i -%import TColStd.i -%import Approx.i -%import MMgt.i -%import TColgp.i -%import gp.i -%import FEmTool.i -%import GeomAbs.i diff --git a/src/SWIG_files/wrapper/AppParCurves.i b/src/SWIG_files/wrapper/AppParCurves.i index 9a145fe1d..b08cd49da 100644 --- a/src/SWIG_files/wrapper/AppParCurves.i +++ b/src/SWIG_files/wrapper/AppParCurves.i @@ -1,6 +1,5 @@ /* -Copyright 2008-2017 Thomas Paviot (tpaviot@gmail.com) - +Copyright 2008-2019 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -15,18 +14,13 @@ 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 APPPARCURVESDOCSTRING -"Parallel Approximation in n curves. -This package gives all the algorithms used to approximate a MultiLine -described by the tool MLineTool. -The result of the approximation will be a MultiCurve. -" +"AppParCurves module, see official documentation at +https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_appparcurves.html" %enddef %module (package="OCC.Core", docstring=APPPARCURVESDOCSTRING) AppParCurves -#pragma SWIG nowarn=504,325,503 %{ #ifdef WNT @@ -41,11 +35,27 @@ The result of the approximation will be a MultiCurve. %include ../common/OccHandle.i -%include AppParCurves_headers.i - -/* typedefs */ -/* end typedefs declaration */ - +%{ +#include + +//Dependencies +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +%}; +%import Standard.i +%import NCollection.i +%import math.i +%import TColgp.i +%import gp.i +%import TColStd.i /* public enums */ enum AppParCurves_Constraint { AppParCurves_NoConstraint = 0, @@ -56,156 +66,17 @@ enum AppParCurves_Constraint { /* end public enums declaration */ -%wrap_handle(AppParCurves_HArray1OfConstraintCouple) -%wrap_handle(AppParCurves_HArray1OfMultiBSpCurve) +/* handles */ %wrap_handle(AppParCurves_HArray1OfMultiCurve) +%wrap_handle(AppParCurves_HArray1OfConstraintCouple) %wrap_handle(AppParCurves_HArray1OfMultiPoint) -%wrap_handle(AppParCurves_SequenceNodeOfSequenceOfMultiBSpCurve) -%wrap_handle(AppParCurves_SequenceNodeOfSequenceOfMultiCurve) - -%rename(appparcurves) AppParCurves; -class AppParCurves { - public: - %feature("compactdefaultargs") BernsteinMatrix; - %feature("autodoc", " :param NbPoles: - :type NbPoles: int - :param U: - :type U: math_Vector & - :param A: - :type A: math_Matrix & - :rtype: void -") BernsteinMatrix; - static void BernsteinMatrix (const Standard_Integer NbPoles,const math_Vector & U,math_Matrix & A); - %feature("compactdefaultargs") Bernstein; - %feature("autodoc", " :param NbPoles: - :type NbPoles: int - :param U: - :type U: math_Vector & - :param A: - :type A: math_Matrix & - :param DA: - :type DA: math_Matrix & - :rtype: void -") Bernstein; - static void Bernstein (const Standard_Integer NbPoles,const math_Vector & U,math_Matrix & A,math_Matrix & DA); - %feature("compactdefaultargs") SecondDerivativeBernstein; - %feature("autodoc", " :param U: - :type U: float - :param DDA: - :type DDA: math_Vector & - :rtype: void -") SecondDerivativeBernstein; - static void SecondDerivativeBernstein (const Standard_Real U,math_Vector & DDA); - %feature("compactdefaultargs") SplineFunction; - %feature("autodoc", " :param NbPoles: - :type NbPoles: int - :param Degree: - :type Degree: int - :param Parameters: - :type Parameters: math_Vector & - :param FlatKnots: - :type FlatKnots: math_Vector & - :param A: - :type A: math_Matrix & - :param DA: - :type DA: math_Matrix & - :param Index: - :type Index: math_IntegerVector & - :rtype: void -") SplineFunction; - static void SplineFunction (const Standard_Integer NbPoles,const Standard_Integer Degree,const math_Vector & Parameters,const math_Vector & FlatKnots,math_Matrix & A,math_Matrix & DA,math_IntegerVector & Index); -}; - - -%extend AppParCurves { - %pythoncode { - __repr__ = _dumps_object - } -}; -%nodefaultctor AppParCurves_Array1OfConstraintCouple; -class AppParCurves_Array1OfConstraintCouple { - public: - %feature("compactdefaultargs") AppParCurves_Array1OfConstraintCouple; - %feature("autodoc", " :param Low: - :type Low: int - :param Up: - :type Up: int - :rtype: None -") AppParCurves_Array1OfConstraintCouple; - AppParCurves_Array1OfConstraintCouple (const Standard_Integer Low,const Standard_Integer Up); - %feature("compactdefaultargs") AppParCurves_Array1OfConstraintCouple; - %feature("autodoc", " :param Item: - :type Item: AppParCurves_ConstraintCouple & - :param Low: - :type Low: int - :param Up: - :type Up: int - :rtype: None -") AppParCurves_Array1OfConstraintCouple; - AppParCurves_Array1OfConstraintCouple (const AppParCurves_ConstraintCouple & Item,const Standard_Integer Low,const Standard_Integer Up); - %feature("compactdefaultargs") Init; - %feature("autodoc", " :param V: - :type V: AppParCurves_ConstraintCouple & - :rtype: None -") Init; - void Init (const AppParCurves_ConstraintCouple & V); - %feature("compactdefaultargs") Destroy; - %feature("autodoc", " :rtype: None -") Destroy; - void Destroy (); - %feature("compactdefaultargs") IsAllocated; - %feature("autodoc", " :rtype: bool -") IsAllocated; - Standard_Boolean IsAllocated (); - %feature("compactdefaultargs") Assign; - %feature("autodoc", " :param Other: - :type Other: AppParCurves_Array1OfConstraintCouple & - :rtype: AppParCurves_Array1OfConstraintCouple -") Assign; - const AppParCurves_Array1OfConstraintCouple & Assign (const AppParCurves_Array1OfConstraintCouple & Other); - %feature("compactdefaultargs") operator =; - %feature("autodoc", " :param Other: - :type Other: AppParCurves_Array1OfConstraintCouple & - :rtype: AppParCurves_Array1OfConstraintCouple -") operator =; - const AppParCurves_Array1OfConstraintCouple & operator = (const AppParCurves_Array1OfConstraintCouple & Other); - %feature("compactdefaultargs") Length; - %feature("autodoc", " :rtype: int -") Length; - Standard_Integer Length (); - %feature("compactdefaultargs") Lower; - %feature("autodoc", " :rtype: int -") Lower; - Standard_Integer Lower (); - %feature("compactdefaultargs") Upper; - %feature("autodoc", " :rtype: int -") Upper; - Standard_Integer Upper (); - %feature("compactdefaultargs") SetValue; - %feature("autodoc", " :param Index: - :type Index: int - :param Value: - :type Value: AppParCurves_ConstraintCouple & - :rtype: None -") SetValue; - void SetValue (const Standard_Integer Index,const AppParCurves_ConstraintCouple & Value); - %feature("compactdefaultargs") Value; - %feature("autodoc", " :param Index: - :type Index: int - :rtype: AppParCurves_ConstraintCouple -") Value; - const AppParCurves_ConstraintCouple & Value (const Standard_Integer Index); - %feature("compactdefaultargs") ChangeValue; - %feature("autodoc", " :param Index: - :type Index: int - :rtype: AppParCurves_ConstraintCouple -") ChangeValue; - AppParCurves_ConstraintCouple & ChangeValue (const Standard_Integer Index); -}; - +%wrap_handle(AppParCurves_HArray1OfMultiBSpCurve) +/* end handles declaration */ +/* templates */ +%template(AppParCurves_Array1OfMultiCurve) NCollection_Array1 ; -%extend AppParCurves_Array1OfConstraintCouple { +%extend NCollection_Array1 { %pythoncode { def __getitem__(self, index): if index + self.Lower() > self.Upper(): @@ -232,102 +103,15 @@ class AppParCurves_Array1OfConstraintCouple { if self.current >= self.Upper(): raise StopIteration else: - self.current +=1 + self.current += 1 return self.Value(self.current) __next__ = next - } }; -%extend AppParCurves_Array1OfConstraintCouple { - %pythoncode { - __repr__ = _dumps_object - } -}; -%nodefaultctor AppParCurves_Array1OfMultiBSpCurve; -class AppParCurves_Array1OfMultiBSpCurve { - public: - %feature("compactdefaultargs") AppParCurves_Array1OfMultiBSpCurve; - %feature("autodoc", " :param Low: - :type Low: int - :param Up: - :type Up: int - :rtype: None -") AppParCurves_Array1OfMultiBSpCurve; - AppParCurves_Array1OfMultiBSpCurve (const Standard_Integer Low,const Standard_Integer Up); - %feature("compactdefaultargs") AppParCurves_Array1OfMultiBSpCurve; - %feature("autodoc", " :param Item: - :type Item: AppParCurves_MultiBSpCurve & - :param Low: - :type Low: int - :param Up: - :type Up: int - :rtype: None -") AppParCurves_Array1OfMultiBSpCurve; - AppParCurves_Array1OfMultiBSpCurve (const AppParCurves_MultiBSpCurve & Item,const Standard_Integer Low,const Standard_Integer Up); - %feature("compactdefaultargs") Init; - %feature("autodoc", " :param V: - :type V: AppParCurves_MultiBSpCurve & - :rtype: None -") Init; - void Init (const AppParCurves_MultiBSpCurve & V); - %feature("compactdefaultargs") Destroy; - %feature("autodoc", " :rtype: None -") Destroy; - void Destroy (); - %feature("compactdefaultargs") IsAllocated; - %feature("autodoc", " :rtype: bool -") IsAllocated; - Standard_Boolean IsAllocated (); - %feature("compactdefaultargs") Assign; - %feature("autodoc", " :param Other: - :type Other: AppParCurves_Array1OfMultiBSpCurve & - :rtype: AppParCurves_Array1OfMultiBSpCurve -") Assign; - const AppParCurves_Array1OfMultiBSpCurve & Assign (const AppParCurves_Array1OfMultiBSpCurve & Other); - %feature("compactdefaultargs") operator =; - %feature("autodoc", " :param Other: - :type Other: AppParCurves_Array1OfMultiBSpCurve & - :rtype: AppParCurves_Array1OfMultiBSpCurve -") operator =; - const AppParCurves_Array1OfMultiBSpCurve & operator = (const AppParCurves_Array1OfMultiBSpCurve & Other); - %feature("compactdefaultargs") Length; - %feature("autodoc", " :rtype: int -") Length; - Standard_Integer Length (); - %feature("compactdefaultargs") Lower; - %feature("autodoc", " :rtype: int -") Lower; - Standard_Integer Lower (); - %feature("compactdefaultargs") Upper; - %feature("autodoc", " :rtype: int -") Upper; - Standard_Integer Upper (); - %feature("compactdefaultargs") SetValue; - %feature("autodoc", " :param Index: - :type Index: int - :param Value: - :type Value: AppParCurves_MultiBSpCurve & - :rtype: None -") SetValue; - void SetValue (const Standard_Integer Index,const AppParCurves_MultiBSpCurve & Value); - %feature("compactdefaultargs") Value; - %feature("autodoc", " :param Index: - :type Index: int - :rtype: AppParCurves_MultiBSpCurve -") Value; - const AppParCurves_MultiBSpCurve & Value (const Standard_Integer Index); - %feature("compactdefaultargs") ChangeValue; - %feature("autodoc", " :param Index: - :type Index: int - :rtype: AppParCurves_MultiBSpCurve -") ChangeValue; - AppParCurves_MultiBSpCurve & ChangeValue (const Standard_Integer Index); -}; - +%template(AppParCurves_Array1OfConstraintCouple) NCollection_Array1 ; - -%extend AppParCurves_Array1OfMultiBSpCurve { +%extend NCollection_Array1 { %pythoncode { def __getitem__(self, index): if index + self.Lower() > self.Upper(): @@ -354,102 +138,17 @@ class AppParCurves_Array1OfMultiBSpCurve { if self.current >= self.Upper(): raise StopIteration else: - self.current +=1 + self.current += 1 return self.Value(self.current) __next__ = next - } }; -%extend AppParCurves_Array1OfMultiBSpCurve { - %pythoncode { - __repr__ = _dumps_object - } -}; -%nodefaultctor AppParCurves_Array1OfMultiCurve; -class AppParCurves_Array1OfMultiCurve { - public: - %feature("compactdefaultargs") AppParCurves_Array1OfMultiCurve; - %feature("autodoc", " :param Low: - :type Low: int - :param Up: - :type Up: int - :rtype: None -") AppParCurves_Array1OfMultiCurve; - AppParCurves_Array1OfMultiCurve (const Standard_Integer Low,const Standard_Integer Up); - %feature("compactdefaultargs") AppParCurves_Array1OfMultiCurve; - %feature("autodoc", " :param Item: - :type Item: AppParCurves_MultiCurve & - :param Low: - :type Low: int - :param Up: - :type Up: int - :rtype: None -") AppParCurves_Array1OfMultiCurve; - AppParCurves_Array1OfMultiCurve (const AppParCurves_MultiCurve & Item,const Standard_Integer Low,const Standard_Integer Up); - %feature("compactdefaultargs") Init; - %feature("autodoc", " :param V: - :type V: AppParCurves_MultiCurve & - :rtype: None -") Init; - void Init (const AppParCurves_MultiCurve & V); - %feature("compactdefaultargs") Destroy; - %feature("autodoc", " :rtype: None -") Destroy; - void Destroy (); - %feature("compactdefaultargs") IsAllocated; - %feature("autodoc", " :rtype: bool -") IsAllocated; - Standard_Boolean IsAllocated (); - %feature("compactdefaultargs") Assign; - %feature("autodoc", " :param Other: - :type Other: AppParCurves_Array1OfMultiCurve & - :rtype: AppParCurves_Array1OfMultiCurve -") Assign; - const AppParCurves_Array1OfMultiCurve & Assign (const AppParCurves_Array1OfMultiCurve & Other); - %feature("compactdefaultargs") operator =; - %feature("autodoc", " :param Other: - :type Other: AppParCurves_Array1OfMultiCurve & - :rtype: AppParCurves_Array1OfMultiCurve -") operator =; - const AppParCurves_Array1OfMultiCurve & operator = (const AppParCurves_Array1OfMultiCurve & Other); - %feature("compactdefaultargs") Length; - %feature("autodoc", " :rtype: int -") Length; - Standard_Integer Length (); - %feature("compactdefaultargs") Lower; - %feature("autodoc", " :rtype: int -") Lower; - Standard_Integer Lower (); - %feature("compactdefaultargs") Upper; - %feature("autodoc", " :rtype: int -") Upper; - Standard_Integer Upper (); - %feature("compactdefaultargs") SetValue; - %feature("autodoc", " :param Index: - :type Index: int - :param Value: - :type Value: AppParCurves_MultiCurve & - :rtype: None -") SetValue; - void SetValue (const Standard_Integer Index,const AppParCurves_MultiCurve & Value); - %feature("compactdefaultargs") Value; - %feature("autodoc", " :param Index: - :type Index: int - :rtype: AppParCurves_MultiCurve -") Value; - const AppParCurves_MultiCurve & Value (const Standard_Integer Index); - %feature("compactdefaultargs") ChangeValue; - %feature("autodoc", " :param Index: - :type Index: int - :rtype: AppParCurves_MultiCurve -") ChangeValue; - AppParCurves_MultiCurve & ChangeValue (const Standard_Integer Index); -}; - +%template(AppParCurves_SequenceOfMultiCurve) NCollection_Sequence ; +%template(AppParCurves_SequenceOfMultiBSpCurve) NCollection_Sequence ; +%template(AppParCurves_Array1OfMultiBSpCurve) NCollection_Array1 ; - -%extend AppParCurves_Array1OfMultiCurve { +%extend NCollection_Array1 { %pythoncode { def __getitem__(self, index): if index + self.Lower() > self.Upper(): @@ -476,102 +175,15 @@ class AppParCurves_Array1OfMultiCurve { if self.current >= self.Upper(): raise StopIteration else: - self.current +=1 + self.current += 1 return self.Value(self.current) __next__ = next - } }; -%extend AppParCurves_Array1OfMultiCurve { - %pythoncode { - __repr__ = _dumps_object - } -}; -%nodefaultctor AppParCurves_Array1OfMultiPoint; -class AppParCurves_Array1OfMultiPoint { - public: - %feature("compactdefaultargs") AppParCurves_Array1OfMultiPoint; - %feature("autodoc", " :param Low: - :type Low: int - :param Up: - :type Up: int - :rtype: None -") AppParCurves_Array1OfMultiPoint; - AppParCurves_Array1OfMultiPoint (const Standard_Integer Low,const Standard_Integer Up); - %feature("compactdefaultargs") AppParCurves_Array1OfMultiPoint; - %feature("autodoc", " :param Item: - :type Item: AppParCurves_MultiPoint & - :param Low: - :type Low: int - :param Up: - :type Up: int - :rtype: None -") AppParCurves_Array1OfMultiPoint; - AppParCurves_Array1OfMultiPoint (const AppParCurves_MultiPoint & Item,const Standard_Integer Low,const Standard_Integer Up); - %feature("compactdefaultargs") Init; - %feature("autodoc", " :param V: - :type V: AppParCurves_MultiPoint & - :rtype: None -") Init; - void Init (const AppParCurves_MultiPoint & V); - %feature("compactdefaultargs") Destroy; - %feature("autodoc", " :rtype: None -") Destroy; - void Destroy (); - %feature("compactdefaultargs") IsAllocated; - %feature("autodoc", " :rtype: bool -") IsAllocated; - Standard_Boolean IsAllocated (); - %feature("compactdefaultargs") Assign; - %feature("autodoc", " :param Other: - :type Other: AppParCurves_Array1OfMultiPoint & - :rtype: AppParCurves_Array1OfMultiPoint -") Assign; - const AppParCurves_Array1OfMultiPoint & Assign (const AppParCurves_Array1OfMultiPoint & Other); - %feature("compactdefaultargs") operator =; - %feature("autodoc", " :param Other: - :type Other: AppParCurves_Array1OfMultiPoint & - :rtype: AppParCurves_Array1OfMultiPoint -") operator =; - const AppParCurves_Array1OfMultiPoint & operator = (const AppParCurves_Array1OfMultiPoint & Other); - %feature("compactdefaultargs") Length; - %feature("autodoc", " :rtype: int -") Length; - Standard_Integer Length (); - %feature("compactdefaultargs") Lower; - %feature("autodoc", " :rtype: int -") Lower; - Standard_Integer Lower (); - %feature("compactdefaultargs") Upper; - %feature("autodoc", " :rtype: int -") Upper; - Standard_Integer Upper (); - %feature("compactdefaultargs") SetValue; - %feature("autodoc", " :param Index: - :type Index: int - :param Value: - :type Value: AppParCurves_MultiPoint & - :rtype: None -") SetValue; - void SetValue (const Standard_Integer Index,const AppParCurves_MultiPoint & Value); - %feature("compactdefaultargs") Value; - %feature("autodoc", " :param Index: - :type Index: int - :rtype: AppParCurves_MultiPoint -") Value; - const AppParCurves_MultiPoint & Value (const Standard_Integer Index); - %feature("compactdefaultargs") ChangeValue; - %feature("autodoc", " :param Index: - :type Index: int - :rtype: AppParCurves_MultiPoint -") ChangeValue; - AppParCurves_MultiPoint & ChangeValue (const Standard_Integer Index); -}; +%template(AppParCurves_Array1OfMultiPoint) NCollection_Array1 ; - - -%extend AppParCurves_Array1OfMultiPoint { +%extend NCollection_Array1 { %pythoncode { def __getitem__(self, index): if index + self.Lower() > self.Upper(): @@ -598,65 +210,140 @@ class AppParCurves_Array1OfMultiPoint { if self.current >= self.Upper(): raise StopIteration else: - self.current +=1 + self.current += 1 return self.Value(self.current) __next__ = next - } }; -%extend AppParCurves_Array1OfMultiPoint { +/* end templates declaration */ + +/* typedefs */ +typedef NCollection_Array1 AppParCurves_Array1OfMultiCurve; +typedef NCollection_Array1 AppParCurves_Array1OfConstraintCouple; +typedef NCollection_Sequence AppParCurves_SequenceOfMultiCurve; +typedef NCollection_Sequence AppParCurves_SequenceOfMultiBSpCurve; +typedef NCollection_Array1 AppParCurves_Array1OfMultiBSpCurve; +typedef NCollection_Array1 AppParCurves_Array1OfMultiPoint; +/* end typedefs declaration */ + +/********************* +* class AppParCurves * +*********************/ +%rename(appparcurves) AppParCurves; +class AppParCurves { + public: + /****************** Bernstein ******************/ + %feature("compactdefaultargs") Bernstein; + %feature("autodoc", ":param NbPoles: + :type NbPoles: int + :param U: + :type U: math_Vector & + :param A: + :type A: math_Matrix & + :param DA: + :type DA: math_Matrix & + :rtype: void") Bernstein; + static void Bernstein (const Standard_Integer NbPoles,const math_Vector & U,math_Matrix & A,math_Matrix & DA); + + /****************** BernsteinMatrix ******************/ + %feature("compactdefaultargs") BernsteinMatrix; + %feature("autodoc", ":param NbPoles: + :type NbPoles: int + :param U: + :type U: math_Vector & + :param A: + :type A: math_Matrix & + :rtype: void") BernsteinMatrix; + static void BernsteinMatrix (const Standard_Integer NbPoles,const math_Vector & U,math_Matrix & A); + + /****************** SecondDerivativeBernstein ******************/ + %feature("compactdefaultargs") SecondDerivativeBernstein; + %feature("autodoc", ":param U: + :type U: float + :param DDA: + :type DDA: math_Vector & + :rtype: void") SecondDerivativeBernstein; + static void SecondDerivativeBernstein (const Standard_Real U,math_Vector & DDA); + + /****************** SplineFunction ******************/ + %feature("compactdefaultargs") SplineFunction; + %feature("autodoc", ":param NbPoles: + :type NbPoles: int + :param Degree: + :type Degree: int + :param Parameters: + :type Parameters: math_Vector & + :param FlatKnots: + :type FlatKnots: math_Vector & + :param A: + :type A: math_Matrix & + :param DA: + :type DA: math_Matrix & + :param Index: + :type Index: math_IntegerVector & + :rtype: void") SplineFunction; + static void SplineFunction (const Standard_Integer NbPoles,const Standard_Integer Degree,const math_Vector & Parameters,const math_Vector & FlatKnots,math_Matrix & A,math_Matrix & DA,math_IntegerVector & Index); + +}; + + +%extend AppParCurves { %pythoncode { __repr__ = _dumps_object } }; + +/************************************** +* class AppParCurves_ConstraintCouple * +**************************************/ %nodefaultctor AppParCurves_ConstraintCouple; class AppParCurves_ConstraintCouple { public: + /****************** AppParCurves_ConstraintCouple ******************/ %feature("compactdefaultargs") AppParCurves_ConstraintCouple; - %feature("autodoc", " * returns an indefinite ConstraintCouple. - - :rtype: None -") AppParCurves_ConstraintCouple; + %feature("autodoc", "* returns an indefinite ConstraintCouple. + :rtype: None") AppParCurves_ConstraintCouple; AppParCurves_ConstraintCouple (); - %feature("compactdefaultargs") AppParCurves_ConstraintCouple; - %feature("autodoc", " * Create a couple the object will have the constraint . + /****************** AppParCurves_ConstraintCouple ******************/ + %feature("compactdefaultargs") AppParCurves_ConstraintCouple; + %feature("autodoc", "* Create a couple the object will have the constraint . :param TheIndex: :type TheIndex: int :param Cons: :type Cons: AppParCurves_Constraint - :rtype: None -") AppParCurves_ConstraintCouple; + :rtype: None") AppParCurves_ConstraintCouple; AppParCurves_ConstraintCouple (const Standard_Integer TheIndex,const AppParCurves_Constraint Cons); - %feature("compactdefaultargs") Index; - %feature("autodoc", " * returns the index of the constraint object. - :rtype: int -") Index; - Standard_Integer Index (); + /****************** Constraint ******************/ %feature("compactdefaultargs") Constraint; - %feature("autodoc", " * returns the constraint of the object. - - :rtype: AppParCurves_Constraint -") Constraint; + %feature("autodoc", "* returns the constraint of the object. + :rtype: AppParCurves_Constraint") Constraint; AppParCurves_Constraint Constraint (); - %feature("compactdefaultargs") SetIndex; - %feature("autodoc", " * Changes the index of the constraint object. - :param TheIndex: - :type TheIndex: int - :rtype: None -") SetIndex; - void SetIndex (const Standard_Integer TheIndex); - %feature("compactdefaultargs") SetConstraint; - %feature("autodoc", " * Changes the constraint of the object. + /****************** Index ******************/ + %feature("compactdefaultargs") Index; + %feature("autodoc", "* returns the index of the constraint object. + :rtype: int") Index; + Standard_Integer Index (); + /****************** SetConstraint ******************/ + %feature("compactdefaultargs") SetConstraint; + %feature("autodoc", "* Changes the constraint of the object. :param Cons: :type Cons: AppParCurves_Constraint - :rtype: None -") SetConstraint; + :rtype: None") SetConstraint; void SetConstraint (const AppParCurves_Constraint Cons); + + /****************** SetIndex ******************/ + %feature("compactdefaultargs") SetIndex; + %feature("autodoc", "* Changes the index of the constraint object. + :param TheIndex: + :type TheIndex: int + :rtype: None") SetIndex; + void SetIndex (const Standard_Integer TheIndex); + }; @@ -665,574 +352,190 @@ class AppParCurves_ConstraintCouple { __repr__ = _dumps_object } }; -%nodefaultctor AppParCurves_HArray1OfConstraintCouple; -class AppParCurves_HArray1OfConstraintCouple : public MMgt_TShared { - public: - %feature("compactdefaultargs") AppParCurves_HArray1OfConstraintCouple; - %feature("autodoc", " :param Low: - :type Low: int - :param Up: - :type Up: int - :rtype: None -") AppParCurves_HArray1OfConstraintCouple; - AppParCurves_HArray1OfConstraintCouple (const Standard_Integer Low,const Standard_Integer Up); - %feature("compactdefaultargs") AppParCurves_HArray1OfConstraintCouple; - %feature("autodoc", " :param Low: - :type Low: int - :param Up: - :type Up: int - :param V: - :type V: AppParCurves_ConstraintCouple & - :rtype: None -") AppParCurves_HArray1OfConstraintCouple; - AppParCurves_HArray1OfConstraintCouple (const Standard_Integer Low,const Standard_Integer Up,const AppParCurves_ConstraintCouple & V); - %feature("compactdefaultargs") Init; - %feature("autodoc", " :param V: - :type V: AppParCurves_ConstraintCouple & - :rtype: None -") Init; - void Init (const AppParCurves_ConstraintCouple & V); - %feature("compactdefaultargs") Length; - %feature("autodoc", " :rtype: int -") Length; - Standard_Integer Length (); - %feature("compactdefaultargs") Lower; - %feature("autodoc", " :rtype: int -") Lower; - Standard_Integer Lower (); - %feature("compactdefaultargs") Upper; - %feature("autodoc", " :rtype: int -") Upper; - Standard_Integer Upper (); - %feature("compactdefaultargs") SetValue; - %feature("autodoc", " :param Index: - :type Index: int - :param Value: - :type Value: AppParCurves_ConstraintCouple & - :rtype: None -") SetValue; - void SetValue (const Standard_Integer Index,const AppParCurves_ConstraintCouple & Value); - %feature("compactdefaultargs") Value; - %feature("autodoc", " :param Index: - :type Index: int - :rtype: AppParCurves_ConstraintCouple -") Value; - const AppParCurves_ConstraintCouple & Value (const Standard_Integer Index); - %feature("compactdefaultargs") ChangeValue; - %feature("autodoc", " :param Index: - :type Index: int - :rtype: AppParCurves_ConstraintCouple -") ChangeValue; - AppParCurves_ConstraintCouple & ChangeValue (const Standard_Integer Index); - %feature("compactdefaultargs") Array1; - %feature("autodoc", " :rtype: AppParCurves_Array1OfConstraintCouple -") Array1; - const AppParCurves_Array1OfConstraintCouple & Array1 (); - %feature("compactdefaultargs") ChangeArray1; - %feature("autodoc", " :rtype: AppParCurves_Array1OfConstraintCouple -") ChangeArray1; - AppParCurves_Array1OfConstraintCouple & ChangeArray1 (); -}; +/******************************** +* class AppParCurves_MultiCurve * +********************************/ +%nodefaultctor AppParCurves_MultiCurve; +class AppParCurves_MultiCurve { + public: + /****************** AppParCurves_MultiCurve ******************/ + %feature("compactdefaultargs") AppParCurves_MultiCurve; + %feature("autodoc", "* returns an indefinite MultiCurve. + :rtype: None") AppParCurves_MultiCurve; + AppParCurves_MultiCurve (); -%make_alias(AppParCurves_HArray1OfConstraintCouple) + /****************** AppParCurves_MultiCurve ******************/ + %feature("compactdefaultargs") AppParCurves_MultiCurve; + %feature("autodoc", "* creates a MultiCurve, describing Bezier curves all containing the same number of MultiPoint. An exception is raised if Degree < 0. + :param NbPol: + :type NbPol: int + :rtype: None") AppParCurves_MultiCurve; + AppParCurves_MultiCurve (const Standard_Integer NbPol); + /****************** AppParCurves_MultiCurve ******************/ + %feature("compactdefaultargs") AppParCurves_MultiCurve; + %feature("autodoc", "* creates a MultiCurve, describing Bezier curves all containing the same number of MultiPoint. Each MultiPoint must have NbCurves Poles. + :param tabMU: + :type tabMU: AppParCurves_Array1OfMultiPoint & + :rtype: None") AppParCurves_MultiCurve; + AppParCurves_MultiCurve (const AppParCurves_Array1OfMultiPoint & tabMU); -%extend AppParCurves_HArray1OfConstraintCouple { - %pythoncode { - def __getitem__(self, index): - if index + self.Lower() > self.Upper(): - raise IndexError("index out of range") - else: - return self.Value(index + self.Lower()) + /****************** Curve ******************/ + %feature("compactdefaultargs") Curve; + %feature("autodoc", "* returns the Pole array of the curve of range CuIndex. An exception is raised if the dimension of the curve is 2d. + :param CuIndex: + :type CuIndex: int + :param TabPnt: + :type TabPnt: TColgp_Array1OfPnt + :rtype: None") Curve; + void Curve (const Standard_Integer CuIndex,TColgp_Array1OfPnt & TabPnt); - def __setitem__(self, index, value): - if index + self.Lower() > self.Upper(): - raise IndexError("index out of range") - else: - self.SetValue(index + self.Lower(), value) + /****************** Curve ******************/ + %feature("compactdefaultargs") Curve; + %feature("autodoc", "* returns the Pole array of the curve of range CuIndex. An exception is raised if the dimension of the curve is 3d. + :param CuIndex: + :type CuIndex: int + :param TabPnt: + :type TabPnt: TColgp_Array1OfPnt2d + :rtype: None") Curve; + void Curve (const Standard_Integer CuIndex,TColgp_Array1OfPnt2d & TabPnt); - def __len__(self): - return self.Length() + /****************** D1 ******************/ + %feature("compactdefaultargs") D1; + %feature("autodoc", "* returns the value of the point with a parameter U on the Bezier curve number CuIndex. An exception is raised if CuIndex <0 or > NbCurves. An exception is raised if the curve dimension is 3d. + :param CuIndex: + :type CuIndex: int + :param U: + :type U: float + :param Pt: + :type Pt: gp_Pnt + :param V1: + :type V1: gp_Vec + :rtype: void") D1; + virtual void D1 (const Standard_Integer CuIndex,const Standard_Real U,gp_Pnt & Pt,gp_Vec & V1); - def __iter__(self): - self.low = self.Lower() - self.up = self.Upper() - self.current = self.Lower() - 1 - return self + /****************** D1 ******************/ + %feature("compactdefaultargs") D1; + %feature("autodoc", "* returns the value of the point with a parameter U on the Bezier curve number CuIndex. An exception is raised if CuIndex <0 or > NbCurves. An exception is raised if the curve dimension is 2d. + :param CuIndex: + :type CuIndex: int + :param U: + :type U: float + :param Pt: + :type Pt: gp_Pnt2d + :param V1: + :type V1: gp_Vec2d + :rtype: void") D1; + virtual void D1 (const Standard_Integer CuIndex,const Standard_Real U,gp_Pnt2d & Pt,gp_Vec2d & V1); - def next(self): - if self.current >= self.Upper(): - raise StopIteration - else: - self.current +=1 - return self.Value(self.current) - - __next__ = next - - } -}; -%extend AppParCurves_HArray1OfConstraintCouple { - %pythoncode { - __repr__ = _dumps_object - } -}; -%nodefaultctor AppParCurves_HArray1OfMultiBSpCurve; -class AppParCurves_HArray1OfMultiBSpCurve : public MMgt_TShared { - public: - %feature("compactdefaultargs") AppParCurves_HArray1OfMultiBSpCurve; - %feature("autodoc", " :param Low: - :type Low: int - :param Up: - :type Up: int - :rtype: None -") AppParCurves_HArray1OfMultiBSpCurve; - AppParCurves_HArray1OfMultiBSpCurve (const Standard_Integer Low,const Standard_Integer Up); - %feature("compactdefaultargs") AppParCurves_HArray1OfMultiBSpCurve; - %feature("autodoc", " :param Low: - :type Low: int - :param Up: - :type Up: int - :param V: - :type V: AppParCurves_MultiBSpCurve & - :rtype: None -") AppParCurves_HArray1OfMultiBSpCurve; - AppParCurves_HArray1OfMultiBSpCurve (const Standard_Integer Low,const Standard_Integer Up,const AppParCurves_MultiBSpCurve & V); - %feature("compactdefaultargs") Init; - %feature("autodoc", " :param V: - :type V: AppParCurves_MultiBSpCurve & - :rtype: None -") Init; - void Init (const AppParCurves_MultiBSpCurve & V); - %feature("compactdefaultargs") Length; - %feature("autodoc", " :rtype: int -") Length; - Standard_Integer Length (); - %feature("compactdefaultargs") Lower; - %feature("autodoc", " :rtype: int -") Lower; - Standard_Integer Lower (); - %feature("compactdefaultargs") Upper; - %feature("autodoc", " :rtype: int -") Upper; - Standard_Integer Upper (); - %feature("compactdefaultargs") SetValue; - %feature("autodoc", " :param Index: - :type Index: int - :param Value: - :type Value: AppParCurves_MultiBSpCurve & - :rtype: None -") SetValue; - void SetValue (const Standard_Integer Index,const AppParCurves_MultiBSpCurve & Value); - %feature("compactdefaultargs") Value; - %feature("autodoc", " :param Index: - :type Index: int - :rtype: AppParCurves_MultiBSpCurve -") Value; - const AppParCurves_MultiBSpCurve & Value (const Standard_Integer Index); - %feature("compactdefaultargs") ChangeValue; - %feature("autodoc", " :param Index: - :type Index: int - :rtype: AppParCurves_MultiBSpCurve -") ChangeValue; - AppParCurves_MultiBSpCurve & ChangeValue (const Standard_Integer Index); - %feature("compactdefaultargs") Array1; - %feature("autodoc", " :rtype: AppParCurves_Array1OfMultiBSpCurve -") Array1; - const AppParCurves_Array1OfMultiBSpCurve & Array1 (); - %feature("compactdefaultargs") ChangeArray1; - %feature("autodoc", " :rtype: AppParCurves_Array1OfMultiBSpCurve -") ChangeArray1; - AppParCurves_Array1OfMultiBSpCurve & ChangeArray1 (); -}; - - -%make_alias(AppParCurves_HArray1OfMultiBSpCurve) - - -%extend AppParCurves_HArray1OfMultiBSpCurve { - %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 - - } -}; -%extend AppParCurves_HArray1OfMultiBSpCurve { - %pythoncode { - __repr__ = _dumps_object - } -}; -%nodefaultctor AppParCurves_HArray1OfMultiCurve; -class AppParCurves_HArray1OfMultiCurve : public MMgt_TShared { - public: - %feature("compactdefaultargs") AppParCurves_HArray1OfMultiCurve; - %feature("autodoc", " :param Low: - :type Low: int - :param Up: - :type Up: int - :rtype: None -") AppParCurves_HArray1OfMultiCurve; - AppParCurves_HArray1OfMultiCurve (const Standard_Integer Low,const Standard_Integer Up); - %feature("compactdefaultargs") AppParCurves_HArray1OfMultiCurve; - %feature("autodoc", " :param Low: - :type Low: int - :param Up: - :type Up: int - :param V: - :type V: AppParCurves_MultiCurve & - :rtype: None -") AppParCurves_HArray1OfMultiCurve; - AppParCurves_HArray1OfMultiCurve (const Standard_Integer Low,const Standard_Integer Up,const AppParCurves_MultiCurve & V); - %feature("compactdefaultargs") Init; - %feature("autodoc", " :param V: - :type V: AppParCurves_MultiCurve & - :rtype: None -") Init; - void Init (const AppParCurves_MultiCurve & V); - %feature("compactdefaultargs") Length; - %feature("autodoc", " :rtype: int -") Length; - Standard_Integer Length (); - %feature("compactdefaultargs") Lower; - %feature("autodoc", " :rtype: int -") Lower; - Standard_Integer Lower (); - %feature("compactdefaultargs") Upper; - %feature("autodoc", " :rtype: int -") Upper; - Standard_Integer Upper (); - %feature("compactdefaultargs") SetValue; - %feature("autodoc", " :param Index: - :type Index: int - :param Value: - :type Value: AppParCurves_MultiCurve & - :rtype: None -") SetValue; - void SetValue (const Standard_Integer Index,const AppParCurves_MultiCurve & Value); - %feature("compactdefaultargs") Value; - %feature("autodoc", " :param Index: - :type Index: int - :rtype: AppParCurves_MultiCurve -") Value; - const AppParCurves_MultiCurve & Value (const Standard_Integer Index); - %feature("compactdefaultargs") ChangeValue; - %feature("autodoc", " :param Index: - :type Index: int - :rtype: AppParCurves_MultiCurve -") ChangeValue; - AppParCurves_MultiCurve & ChangeValue (const Standard_Integer Index); - %feature("compactdefaultargs") Array1; - %feature("autodoc", " :rtype: AppParCurves_Array1OfMultiCurve -") Array1; - const AppParCurves_Array1OfMultiCurve & Array1 (); - %feature("compactdefaultargs") ChangeArray1; - %feature("autodoc", " :rtype: AppParCurves_Array1OfMultiCurve -") ChangeArray1; - AppParCurves_Array1OfMultiCurve & ChangeArray1 (); -}; - - -%make_alias(AppParCurves_HArray1OfMultiCurve) - - -%extend AppParCurves_HArray1OfMultiCurve { - %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 - - } -}; -%extend AppParCurves_HArray1OfMultiCurve { - %pythoncode { - __repr__ = _dumps_object - } -}; -%nodefaultctor AppParCurves_HArray1OfMultiPoint; -class AppParCurves_HArray1OfMultiPoint : public MMgt_TShared { - public: - %feature("compactdefaultargs") AppParCurves_HArray1OfMultiPoint; - %feature("autodoc", " :param Low: - :type Low: int - :param Up: - :type Up: int - :rtype: None -") AppParCurves_HArray1OfMultiPoint; - AppParCurves_HArray1OfMultiPoint (const Standard_Integer Low,const Standard_Integer Up); - %feature("compactdefaultargs") AppParCurves_HArray1OfMultiPoint; - %feature("autodoc", " :param Low: - :type Low: int - :param Up: - :type Up: int - :param V: - :type V: AppParCurves_MultiPoint & - :rtype: None -") AppParCurves_HArray1OfMultiPoint; - AppParCurves_HArray1OfMultiPoint (const Standard_Integer Low,const Standard_Integer Up,const AppParCurves_MultiPoint & V); - %feature("compactdefaultargs") Init; - %feature("autodoc", " :param V: - :type V: AppParCurves_MultiPoint & - :rtype: None -") Init; - void Init (const AppParCurves_MultiPoint & V); - %feature("compactdefaultargs") Length; - %feature("autodoc", " :rtype: int -") Length; - Standard_Integer Length (); - %feature("compactdefaultargs") Lower; - %feature("autodoc", " :rtype: int -") Lower; - Standard_Integer Lower (); - %feature("compactdefaultargs") Upper; - %feature("autodoc", " :rtype: int -") Upper; - Standard_Integer Upper (); - %feature("compactdefaultargs") SetValue; - %feature("autodoc", " :param Index: - :type Index: int - :param Value: - :type Value: AppParCurves_MultiPoint & - :rtype: None -") SetValue; - void SetValue (const Standard_Integer Index,const AppParCurves_MultiPoint & Value); - %feature("compactdefaultargs") Value; - %feature("autodoc", " :param Index: - :type Index: int - :rtype: AppParCurves_MultiPoint -") Value; - const AppParCurves_MultiPoint & Value (const Standard_Integer Index); - %feature("compactdefaultargs") ChangeValue; - %feature("autodoc", " :param Index: - :type Index: int - :rtype: AppParCurves_MultiPoint -") ChangeValue; - AppParCurves_MultiPoint & ChangeValue (const Standard_Integer Index); - %feature("compactdefaultargs") Array1; - %feature("autodoc", " :rtype: AppParCurves_Array1OfMultiPoint -") Array1; - const AppParCurves_Array1OfMultiPoint & Array1 (); - %feature("compactdefaultargs") ChangeArray1; - %feature("autodoc", " :rtype: AppParCurves_Array1OfMultiPoint -") ChangeArray1; - AppParCurves_Array1OfMultiPoint & ChangeArray1 (); -}; - - -%make_alias(AppParCurves_HArray1OfMultiPoint) - - -%extend AppParCurves_HArray1OfMultiPoint { - %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 - - } -}; -%extend AppParCurves_HArray1OfMultiPoint { - %pythoncode { - __repr__ = _dumps_object - } -}; -%nodefaultctor AppParCurves_MultiCurve; -class AppParCurves_MultiCurve { - public: - %feature("compactdefaultargs") AppParCurves_MultiCurve; - %feature("autodoc", " * returns an indefinite MultiCurve. - - :rtype: None -") AppParCurves_MultiCurve; - AppParCurves_MultiCurve (); - %feature("compactdefaultargs") AppParCurves_MultiCurve; - %feature("autodoc", " * creates a MultiCurve, describing Bezier curves all containing the same number of MultiPoint. An exception is raised if Degree < 0. - - :param NbPol: - :type NbPol: int - :rtype: None -") AppParCurves_MultiCurve; - AppParCurves_MultiCurve (const Standard_Integer NbPol); - %feature("compactdefaultargs") AppParCurves_MultiCurve; - %feature("autodoc", " * creates a MultiCurve, describing Bezier curves all containing the same number of MultiPoint. Each MultiPoint must have NbCurves Poles. - - :param tabMU: - :type tabMU: AppParCurves_Array1OfMultiPoint & - :rtype: None -") AppParCurves_MultiCurve; - AppParCurves_MultiCurve (const AppParCurves_Array1OfMultiPoint & tabMU); - %feature("compactdefaultargs") SetNbPoles; - %feature("autodoc", " * The number of poles of the MultiCurve will be set to . - - :param nbPoles: - :type nbPoles: int - :rtype: None -") SetNbPoles; - void SetNbPoles (const Standard_Integer nbPoles); - %feature("compactdefaultargs") SetValue; - %feature("autodoc", " * sets the MultiPoint of range Index to the value . An exception is raised if Index <0 or Index >NbMPoint. - - :param Index: - :type Index: int - :param MPoint: - :type MPoint: AppParCurves_MultiPoint & - :rtype: None -") SetValue; - void SetValue (const Standard_Integer Index,const AppParCurves_MultiPoint & MPoint); - %feature("compactdefaultargs") NbCurves; - %feature("autodoc", " * Returns the number of curves resulting from the approximation of a MultiLine. + /****************** D2 ******************/ + %feature("compactdefaultargs") D2; + %feature("autodoc", "* returns the value of the point with a parameter U on the Bezier curve number CuIndex. An exception is raised if CuIndex <0 or > NbCurves. An exception is raised if the curve dimension is 3d. + :param CuIndex: + :type CuIndex: int + :param U: + :type U: float + :param Pt: + :type Pt: gp_Pnt + :param V1: + :type V1: gp_Vec + :param V2: + :type V2: gp_Vec + :rtype: void") D2; + virtual void D2 (const Standard_Integer CuIndex,const Standard_Real U,gp_Pnt & Pt,gp_Vec & V1,gp_Vec & V2); - :rtype: int -") NbCurves; - Standard_Integer NbCurves (); - %feature("compactdefaultargs") NbPoles; - %feature("autodoc", " * Returns the number of poles on curves resulting from the approximation of a MultiLine. + /****************** D2 ******************/ + %feature("compactdefaultargs") D2; + %feature("autodoc", "* returns the value of the point with a parameter U on the Bezier curve number CuIndex. An exception is raised if CuIndex <0 or > NbCurves. An exception is raised if the curve dimension is 2d. + :param CuIndex: + :type CuIndex: int + :param U: + :type U: float + :param Pt: + :type Pt: gp_Pnt2d + :param V1: + :type V1: gp_Vec2d + :param V2: + :type V2: gp_Vec2d + :rtype: void") D2; + virtual void D2 (const Standard_Integer CuIndex,const Standard_Real U,gp_Pnt2d & Pt,gp_Vec2d & V1,gp_Vec2d & V2); - :rtype: int -") NbPoles; - virtual Standard_Integer NbPoles (); + /****************** Degree ******************/ %feature("compactdefaultargs") Degree; - %feature("autodoc", " * returns the degree of the curves. - - :rtype: int -") Degree; + %feature("autodoc", "* returns the degree of the curves. + :rtype: int") Degree; virtual Standard_Integer Degree (); - %feature("compactdefaultargs") Dimension; - %feature("autodoc", " * returns the dimension of the CuIndex curve. An exception is raised if CuIndex<0 or CuIndex>NbCurves. + /****************** Dimension ******************/ + %feature("compactdefaultargs") Dimension; + %feature("autodoc", "* returns the dimension of the CuIndex curve. An exception is raised if CuIndex<0 or CuIndex>NbCurves. :param CuIndex: :type CuIndex: int - :rtype: int -") Dimension; + :rtype: int") Dimension; Standard_Integer Dimension (const Standard_Integer CuIndex); - %feature("compactdefaultargs") Curve; - %feature("autodoc", " * returns the Pole array of the curve of range CuIndex. An exception is raised if the dimension of the curve is 2d. - :param CuIndex: - :type CuIndex: int - :param TabPnt: - :type TabPnt: TColgp_Array1OfPnt - :rtype: None -") Curve; - void Curve (const Standard_Integer CuIndex,TColgp_Array1OfPnt & TabPnt); - %feature("compactdefaultargs") Curve; - %feature("autodoc", " * returns the Pole array of the curve of range CuIndex. An exception is raised if the dimension of the curve is 3d. - :param CuIndex: - :type CuIndex: int - :param TabPnt: - :type TabPnt: TColgp_Array1OfPnt2d - :rtype: None -") Curve; - void Curve (const Standard_Integer CuIndex,TColgp_Array1OfPnt2d & TabPnt); - %feature("compactdefaultargs") Value; - %feature("autodoc", " * returns the Index MultiPoint. An exception is raised if Index <0 or Index >Degree+1. + %feature("autodoc", "1"); + %extend{ + std::string DumpToString() { + std::stringstream s; + self->Dump(s); + return s.str();} + }; + /****************** NbCurves ******************/ + %feature("compactdefaultargs") NbCurves; + %feature("autodoc", "* Returns the number of curves resulting from the approximation of a MultiLine. + :rtype: int") NbCurves; + Standard_Integer NbCurves (); - :param Index: - :type Index: int - :rtype: AppParCurves_MultiPoint -") Value; - const AppParCurves_MultiPoint & Value (const Standard_Integer Index); - %feature("compactdefaultargs") Pole; - %feature("autodoc", " * returns the Nieme pole of the CuIndex curve. the curve must be a 3D curve. + /****************** NbPoles ******************/ + %feature("compactdefaultargs") NbPoles; + %feature("autodoc", "* Returns the number of poles on curves resulting from the approximation of a MultiLine. + :rtype: int") NbPoles; + virtual Standard_Integer NbPoles (); + /****************** Pole ******************/ + %feature("compactdefaultargs") Pole; + %feature("autodoc", "* returns the Nieme pole of the CuIndex curve. the curve must be a 3D curve. :param CuIndex: :type CuIndex: int :param Nieme: :type Nieme: int - :rtype: gp_Pnt -") Pole; + :rtype: gp_Pnt") Pole; const gp_Pnt Pole (const Standard_Integer CuIndex,const Standard_Integer Nieme); - %feature("compactdefaultargs") Pole2d; - %feature("autodoc", " * returns the Nieme pole of the CuIndex curve. the curve must be a 2D curve. + /****************** Pole2d ******************/ + %feature("compactdefaultargs") Pole2d; + %feature("autodoc", "* returns the Nieme pole of the CuIndex curve. the curve must be a 2D curve. :param CuIndex: :type CuIndex: int :param Nieme: :type Nieme: int - :rtype: gp_Pnt2d -") Pole2d; + :rtype: gp_Pnt2d") Pole2d; const gp_Pnt2d Pole2d (const Standard_Integer CuIndex,const Standard_Integer Nieme); - %feature("compactdefaultargs") Transform; - %feature("autodoc", " * Applies a transformation to the curve of range . newx = x + dx*oldx newy = y + dy*oldy for all points of the curve. newz = z + dz*oldz + /****************** SetNbPoles ******************/ + %feature("compactdefaultargs") SetNbPoles; + %feature("autodoc", "* The number of poles of the MultiCurve will be set to . + :param nbPoles: + :type nbPoles: int + :rtype: None") SetNbPoles; + void SetNbPoles (const Standard_Integer nbPoles); + + /****************** SetValue ******************/ + %feature("compactdefaultargs") SetValue; + %feature("autodoc", "* sets the MultiPoint of range Index to the value . An exception is raised if Index <0 or Index >NbMPoint. + :param Index: + :type Index: int + :param MPoint: + :type MPoint: AppParCurves_MultiPoint & + :rtype: None") SetValue; + void SetValue (const Standard_Integer Index,const AppParCurves_MultiPoint & MPoint); + + /****************** Transform ******************/ + %feature("compactdefaultargs") Transform; + %feature("autodoc", "* Applies a transformation to the curve of range . newx = x + dx*oldx newy = y + dy*oldy for all points of the curve. newz = z + dz*oldz :param CuIndex: :type CuIndex: int :param x: @@ -1247,12 +550,12 @@ class AppParCurves_MultiCurve { :type z: float :param dz: :type dz: float - :rtype: None -") Transform; + :rtype: None") Transform; void Transform (const Standard_Integer CuIndex,const Standard_Real x,const Standard_Real dx,const Standard_Real y,const Standard_Real dy,const Standard_Real z,const Standard_Real dz); - %feature("compactdefaultargs") Transform2d; - %feature("autodoc", " * Applies a transformation to the Curve of range . newx = x + dx*oldx newy = y + dy*oldy for all points of the curve. + /****************** Transform2d ******************/ + %feature("compactdefaultargs") Transform2d; + %feature("autodoc", "* Applies a transformation to the Curve of range . newx = x + dx*oldx newy = y + dy*oldy for all points of the curve. :param CuIndex: :type CuIndex: int :param x: @@ -1263,102 +566,42 @@ class AppParCurves_MultiCurve { :type y: float :param dy: :type dy: float - :rtype: None -") Transform2d; + :rtype: None") Transform2d; void Transform2d (const Standard_Integer CuIndex,const Standard_Real x,const Standard_Real dx,const Standard_Real y,const Standard_Real dy); - %feature("compactdefaultargs") Value; - %feature("autodoc", " * returns the value of the point with a parameter U on the Bezier curve number CuIndex. An exception is raised if CuIndex <0 or > NbCurves. An exception is raised if the curve dimension is 2d. - :param CuIndex: - :type CuIndex: int - :param U: - :type U: float - :param Pt: - :type Pt: gp_Pnt - :rtype: void -") Value; - virtual void Value (const Standard_Integer CuIndex,const Standard_Real U,gp_Pnt & Pt); + /****************** Value ******************/ %feature("compactdefaultargs") Value; - %feature("autodoc", " * returns the value of the point with a parameter U on the Bezier curve number CuIndex. An exception is raised if CuIndex <0 or > NbCurves. An exception is raised if the curve dimension is 3d. - - :param CuIndex: - :type CuIndex: int - :param U: - :type U: float - :param Pt: - :type Pt: gp_Pnt2d - :rtype: void -") Value; - virtual void Value (const Standard_Integer CuIndex,const Standard_Real U,gp_Pnt2d & Pt); - %feature("compactdefaultargs") D1; - %feature("autodoc", " * returns the value of the point with a parameter U on the Bezier curve number CuIndex. An exception is raised if CuIndex <0 or > NbCurves. An exception is raised if the curve dimension is 3d. - - :param CuIndex: - :type CuIndex: int - :param U: - :type U: float - :param Pt: - :type Pt: gp_Pnt - :param V1: - :type V1: gp_Vec - :rtype: void -") D1; - virtual void D1 (const Standard_Integer CuIndex,const Standard_Real U,gp_Pnt & Pt,gp_Vec & V1); - %feature("compactdefaultargs") D1; - %feature("autodoc", " * returns the value of the point with a parameter U on the Bezier curve number CuIndex. An exception is raised if CuIndex <0 or > NbCurves. An exception is raised if the curve dimension is 2d. - - :param CuIndex: - :type CuIndex: int - :param U: - :type U: float - :param Pt: - :type Pt: gp_Pnt2d - :param V1: - :type V1: gp_Vec2d - :rtype: void -") D1; - virtual void D1 (const Standard_Integer CuIndex,const Standard_Real U,gp_Pnt2d & Pt,gp_Vec2d & V1); - %feature("compactdefaultargs") D2; - %feature("autodoc", " * returns the value of the point with a parameter U on the Bezier curve number CuIndex. An exception is raised if CuIndex <0 or > NbCurves. An exception is raised if the curve dimension is 3d. + %feature("autodoc", "* returns the Index MultiPoint. An exception is raised if Index <0 or Index >Degree+1. + :param Index: + :type Index: int + :rtype: AppParCurves_MultiPoint") Value; + const AppParCurves_MultiPoint & Value (const Standard_Integer Index); + /****************** Value ******************/ + %feature("compactdefaultargs") Value; + %feature("autodoc", "* returns the value of the point with a parameter U on the Bezier curve number CuIndex. An exception is raised if CuIndex <0 or > NbCurves. An exception is raised if the curve dimension is 2d. :param CuIndex: :type CuIndex: int :param U: :type U: float :param Pt: :type Pt: gp_Pnt - :param V1: - :type V1: gp_Vec - :param V2: - :type V2: gp_Vec - :rtype: void -") D2; - virtual void D2 (const Standard_Integer CuIndex,const Standard_Real U,gp_Pnt & Pt,gp_Vec & V1,gp_Vec & V2); - %feature("compactdefaultargs") D2; - %feature("autodoc", " * returns the value of the point with a parameter U on the Bezier curve number CuIndex. An exception is raised if CuIndex <0 or > NbCurves. An exception is raised if the curve dimension is 2d. + :rtype: void") Value; + virtual void Value (const Standard_Integer CuIndex,const Standard_Real U,gp_Pnt & Pt); + /****************** Value ******************/ + %feature("compactdefaultargs") Value; + %feature("autodoc", "* returns the value of the point with a parameter U on the Bezier curve number CuIndex. An exception is raised if CuIndex <0 or > NbCurves. An exception is raised if the curve dimension is 3d. :param CuIndex: :type CuIndex: int :param U: :type U: float :param Pt: :type Pt: gp_Pnt2d - :param V1: - :type V1: gp_Vec2d - :param V2: - :type V2: gp_Vec2d - :rtype: void -") D2; - virtual void D2 (const Standard_Integer CuIndex,const Standard_Real U,gp_Pnt2d & Pt,gp_Vec2d & V1,gp_Vec2d & V2); + :rtype: void") Value; + virtual void Value (const Standard_Integer CuIndex,const Standard_Real U,gp_Pnt2d & Pt); - %feature("autodoc", "1"); - %extend{ - std::string DumpToString() { - std::stringstream s; - self->Dump(s); - return s.str();} - }; - }; +}; %extend AppParCurves_MultiCurve { @@ -1366,110 +609,122 @@ class AppParCurves_MultiCurve { __repr__ = _dumps_object } }; + +/******************************** +* class AppParCurves_MultiPoint * +********************************/ %nodefaultctor AppParCurves_MultiPoint; class AppParCurves_MultiPoint { public: + /****************** AppParCurves_MultiPoint ******************/ %feature("compactdefaultargs") AppParCurves_MultiPoint; - %feature("autodoc", " * creates an indefinite MultiPoint. - - :rtype: None -") AppParCurves_MultiPoint; + %feature("autodoc", "* creates an indefinite MultiPoint. + :rtype: None") AppParCurves_MultiPoint; AppParCurves_MultiPoint (); - %feature("compactdefaultargs") AppParCurves_MultiPoint; - %feature("autodoc", " * constructs a set of Points used to approximate a Multiline. These Points can be of 2 or 3 dimensions. Points will be initialized with SetPoint and SetPoint2d. NbPoints is the number of 3D Points. NbPoints2d is the number of 2D Points. + /****************** AppParCurves_MultiPoint ******************/ + %feature("compactdefaultargs") AppParCurves_MultiPoint; + %feature("autodoc", "* constructs a set of Points used to approximate a Multiline. These Points can be of 2 or 3 dimensions. Points will be initialized with SetPoint and SetPoint2d. NbPoints is the number of 3D Points. NbPoints2d is the number of 2D Points. :param NbPoints: :type NbPoints: int :param NbPoints2d: :type NbPoints2d: int - :rtype: None -") AppParCurves_MultiPoint; + :rtype: None") AppParCurves_MultiPoint; AppParCurves_MultiPoint (const Standard_Integer NbPoints,const Standard_Integer NbPoints2d); - %feature("compactdefaultargs") AppParCurves_MultiPoint; - %feature("autodoc", " * creates a MultiPoint only composed of 3D points. + /****************** AppParCurves_MultiPoint ******************/ + %feature("compactdefaultargs") AppParCurves_MultiPoint; + %feature("autodoc", "* creates a MultiPoint only composed of 3D points. :param tabP: :type tabP: TColgp_Array1OfPnt - :rtype: None -") AppParCurves_MultiPoint; + :rtype: None") AppParCurves_MultiPoint; AppParCurves_MultiPoint (const TColgp_Array1OfPnt & tabP); - %feature("compactdefaultargs") AppParCurves_MultiPoint; - %feature("autodoc", " * creates a MultiPoint only composed of 2D points. + /****************** AppParCurves_MultiPoint ******************/ + %feature("compactdefaultargs") AppParCurves_MultiPoint; + %feature("autodoc", "* creates a MultiPoint only composed of 2D points. :param tabP2d: :type tabP2d: TColgp_Array1OfPnt2d - :rtype: None -") AppParCurves_MultiPoint; + :rtype: None") AppParCurves_MultiPoint; AppParCurves_MultiPoint (const TColgp_Array1OfPnt2d & tabP2d); - %feature("compactdefaultargs") AppParCurves_MultiPoint; - %feature("autodoc", " * constructs a set of Points used to approximate a Multiline. These Points can be of 2 or 3 dimensions. Points will be initialized with SetPoint and SetPoint2d. NbPoints is the total number of Points. + /****************** AppParCurves_MultiPoint ******************/ + %feature("compactdefaultargs") AppParCurves_MultiPoint; + %feature("autodoc", "* constructs a set of Points used to approximate a Multiline. These Points can be of 2 or 3 dimensions. Points will be initialized with SetPoint and SetPoint2d. NbPoints is the total number of Points. :param tabP: :type tabP: TColgp_Array1OfPnt :param tabP2d: :type tabP2d: TColgp_Array1OfPnt2d - :rtype: None -") AppParCurves_MultiPoint; + :rtype: None") AppParCurves_MultiPoint; AppParCurves_MultiPoint (const TColgp_Array1OfPnt & tabP,const TColgp_Array1OfPnt2d & tabP2d); - %feature("compactdefaultargs") SetPoint; - %feature("autodoc", " * the 3d Point of range Index of this MultiPoint is set to . An exception is raised if Index < 0 or Index > number of 3d Points. + /****************** Dimension ******************/ + %feature("compactdefaultargs") Dimension; + %feature("autodoc", "* returns the dimension of the point of range Index. An exception is raised if Index <0 or Index > NbCurves. :param Index: :type Index: int - :param Point: - :type Point: gp_Pnt - :rtype: None -") SetPoint; - void SetPoint (const Standard_Integer Index,const gp_Pnt & Point); - %feature("compactdefaultargs") Point; - %feature("autodoc", " * returns the 3d Point of range Index. An exception is raised if Index < 0 or Index < number of 3d Points. + :rtype: int") Dimension; + Standard_Integer Dimension (const Standard_Integer Index); + + + %feature("autodoc", "1"); + %extend{ + std::string DumpToString() { + std::stringstream s; + self->Dump(s); + return s.str();} + }; + /****************** NbPoints ******************/ + %feature("compactdefaultargs") NbPoints; + %feature("autodoc", "* returns the number of points of dimension 3D. + :rtype: int") NbPoints; + Standard_Integer NbPoints (); + + /****************** NbPoints2d ******************/ + %feature("compactdefaultargs") NbPoints2d; + %feature("autodoc", "* returns the number of points of dimension 2D. + :rtype: int") NbPoints2d; + Standard_Integer NbPoints2d (); + /****************** Point ******************/ + %feature("compactdefaultargs") Point; + %feature("autodoc", "* returns the 3d Point of range Index. An exception is raised if Index < 0 or Index < number of 3d Points. :param Index: :type Index: int - :rtype: gp_Pnt -") Point; + :rtype: gp_Pnt") Point; const gp_Pnt Point (const Standard_Integer Index); - %feature("compactdefaultargs") SetPoint2d; - %feature("autodoc", " * The 2d Point of range Index is set to . An exception is raised if Index > 3d Points or Index > total number of Points. - :param Index: - :type Index: int - :param Point: - :type Point: gp_Pnt2d - :rtype: None -") SetPoint2d; - void SetPoint2d (const Standard_Integer Index,const gp_Pnt2d & Point); + /****************** Point2d ******************/ %feature("compactdefaultargs") Point2d; - %feature("autodoc", " * returns the 2d Point of range Index. An exception is raised if index <= number of 3d Points or Index > total number of Points. - + %feature("autodoc", "* returns the 2d Point of range Index. An exception is raised if index <= number of 3d Points or Index > total number of Points. :param Index: :type Index: int - :rtype: gp_Pnt2d -") Point2d; + :rtype: gp_Pnt2d") Point2d; const gp_Pnt2d Point2d (const Standard_Integer Index); - %feature("compactdefaultargs") Dimension; - %feature("autodoc", " * returns the dimension of the point of range Index. An exception is raised if Index <0 or Index > NbCurves. + /****************** SetPoint ******************/ + %feature("compactdefaultargs") SetPoint; + %feature("autodoc", "* the 3d Point of range Index of this MultiPoint is set to . An exception is raised if Index < 0 or Index > number of 3d Points. :param Index: :type Index: int - :rtype: int -") Dimension; - Standard_Integer Dimension (const Standard_Integer Index); - %feature("compactdefaultargs") NbPoints; - %feature("autodoc", " * returns the number of points of dimension 3D. + :param Point: + :type Point: gp_Pnt + :rtype: None") SetPoint; + void SetPoint (const Standard_Integer Index,const gp_Pnt & Point); - :rtype: int -") NbPoints; - Standard_Integer NbPoints (); - %feature("compactdefaultargs") NbPoints2d; - %feature("autodoc", " * returns the number of points of dimension 2D. + /****************** SetPoint2d ******************/ + %feature("compactdefaultargs") SetPoint2d; + %feature("autodoc", "* The 2d Point of range Index is set to . An exception is raised if Index > 3d Points or Index > total number of Points. + :param Index: + :type Index: int + :param Point: + :type Point: gp_Pnt2d + :rtype: None") SetPoint2d; + void SetPoint2d (const Standard_Integer Index,const gp_Pnt2d & Point); - :rtype: int -") NbPoints2d; - Standard_Integer NbPoints2d (); + /****************** Transform ******************/ %feature("compactdefaultargs") Transform; - %feature("autodoc", " * Applies a transformation to the curve of range . newx = x + dx*oldx newy = y + dy*oldy for all points of the curve. newz = z + dz*oldz - + %feature("autodoc", "* Applies a transformation to the curve of range . newx = x + dx*oldx newy = y + dy*oldy for all points of the curve. newz = z + dz*oldz :param CuIndex: :type CuIndex: int :param x: @@ -1484,12 +739,12 @@ class AppParCurves_MultiPoint { :type z: float :param dz: :type dz: float - :rtype: None -") Transform; + :rtype: None") Transform; void Transform (const Standard_Integer CuIndex,const Standard_Real x,const Standard_Real dx,const Standard_Real y,const Standard_Real dy,const Standard_Real z,const Standard_Real dz); - %feature("compactdefaultargs") Transform2d; - %feature("autodoc", " * Applies a transformation to the Curve of range . newx = x + dx*oldx newy = y + dy*oldy for all points of the curve. + /****************** Transform2d ******************/ + %feature("compactdefaultargs") Transform2d; + %feature("autodoc", "* Applies a transformation to the Curve of range . newx = x + dx*oldx newy = y + dy*oldy for all points of the curve. :param CuIndex: :type CuIndex: int :param x: @@ -1500,467 +755,65 @@ class AppParCurves_MultiPoint { :type y: float :param dy: :type dy: float - :rtype: None -") Transform2d; + :rtype: None") Transform2d; void Transform2d (const Standard_Integer CuIndex,const Standard_Real x,const Standard_Real dx,const Standard_Real y,const Standard_Real dy); - %feature("autodoc", "1"); - %extend{ - std::string DumpToString() { - std::stringstream s; - self->Dump(s); - return s.str();} - }; - }; - - -%extend AppParCurves_MultiPoint { - %pythoncode { - __repr__ = _dumps_object - } -}; -%nodefaultctor AppParCurves_SequenceNodeOfSequenceOfMultiBSpCurve; -class AppParCurves_SequenceNodeOfSequenceOfMultiBSpCurve : public TCollection_SeqNode { - public: - %feature("compactdefaultargs") AppParCurves_SequenceNodeOfSequenceOfMultiBSpCurve; - %feature("autodoc", " :param I: - :type I: AppParCurves_MultiBSpCurve & - :param n: - :type n: TCollection_SeqNodePtr & - :param p: - :type p: TCollection_SeqNodePtr & - :rtype: None -") AppParCurves_SequenceNodeOfSequenceOfMultiBSpCurve; - AppParCurves_SequenceNodeOfSequenceOfMultiBSpCurve (const AppParCurves_MultiBSpCurve & I,const TCollection_SeqNodePtr & n,const TCollection_SeqNodePtr & p); - %feature("compactdefaultargs") Value; - %feature("autodoc", " :rtype: AppParCurves_MultiBSpCurve -") Value; - AppParCurves_MultiBSpCurve & Value (); -}; - - -%make_alias(AppParCurves_SequenceNodeOfSequenceOfMultiBSpCurve) - -%extend AppParCurves_SequenceNodeOfSequenceOfMultiBSpCurve { - %pythoncode { - __repr__ = _dumps_object - } -}; -%nodefaultctor AppParCurves_SequenceNodeOfSequenceOfMultiCurve; -class AppParCurves_SequenceNodeOfSequenceOfMultiCurve : public TCollection_SeqNode { - public: - %feature("compactdefaultargs") AppParCurves_SequenceNodeOfSequenceOfMultiCurve; - %feature("autodoc", " :param I: - :type I: AppParCurves_MultiCurve & - :param n: - :type n: TCollection_SeqNodePtr & - :param p: - :type p: TCollection_SeqNodePtr & - :rtype: None -") AppParCurves_SequenceNodeOfSequenceOfMultiCurve; - AppParCurves_SequenceNodeOfSequenceOfMultiCurve (const AppParCurves_MultiCurve & I,const TCollection_SeqNodePtr & n,const TCollection_SeqNodePtr & p); - %feature("compactdefaultargs") Value; - %feature("autodoc", " :rtype: AppParCurves_MultiCurve -") Value; - AppParCurves_MultiCurve & Value (); -}; - - -%make_alias(AppParCurves_SequenceNodeOfSequenceOfMultiCurve) - -%extend AppParCurves_SequenceNodeOfSequenceOfMultiCurve { - %pythoncode { - __repr__ = _dumps_object - } -}; -%nodefaultctor AppParCurves_SequenceOfMultiBSpCurve; -class AppParCurves_SequenceOfMultiBSpCurve : public TCollection_BaseSequence { - public: - %feature("compactdefaultargs") AppParCurves_SequenceOfMultiBSpCurve; - %feature("autodoc", " :rtype: None -") AppParCurves_SequenceOfMultiBSpCurve; - AppParCurves_SequenceOfMultiBSpCurve (); - %feature("compactdefaultargs") AppParCurves_SequenceOfMultiBSpCurve; - %feature("autodoc", " :param Other: - :type Other: AppParCurves_SequenceOfMultiBSpCurve & - :rtype: None -") AppParCurves_SequenceOfMultiBSpCurve; - AppParCurves_SequenceOfMultiBSpCurve (const AppParCurves_SequenceOfMultiBSpCurve & Other); - %feature("compactdefaultargs") Clear; - %feature("autodoc", " :rtype: None -") Clear; - void Clear (); - %feature("compactdefaultargs") Assign; - %feature("autodoc", " :param Other: - :type Other: AppParCurves_SequenceOfMultiBSpCurve & - :rtype: AppParCurves_SequenceOfMultiBSpCurve -") Assign; - const AppParCurves_SequenceOfMultiBSpCurve & Assign (const AppParCurves_SequenceOfMultiBSpCurve & Other); - %feature("compactdefaultargs") operator =; - %feature("autodoc", " :param Other: - :type Other: AppParCurves_SequenceOfMultiBSpCurve & - :rtype: AppParCurves_SequenceOfMultiBSpCurve -") operator =; - const AppParCurves_SequenceOfMultiBSpCurve & operator = (const AppParCurves_SequenceOfMultiBSpCurve & Other); - %feature("compactdefaultargs") Append; - %feature("autodoc", " :param T: - :type T: AppParCurves_MultiBSpCurve & - :rtype: None -") Append; - void Append (const AppParCurves_MultiBSpCurve & T); - %feature("compactdefaultargs") Append; - %feature("autodoc", " :param S: - :type S: AppParCurves_SequenceOfMultiBSpCurve & - :rtype: None -") Append; - void Append (AppParCurves_SequenceOfMultiBSpCurve & S); - %feature("compactdefaultargs") Prepend; - %feature("autodoc", " :param T: - :type T: AppParCurves_MultiBSpCurve & - :rtype: None -") Prepend; - void Prepend (const AppParCurves_MultiBSpCurve & T); - %feature("compactdefaultargs") Prepend; - %feature("autodoc", " :param S: - :type S: AppParCurves_SequenceOfMultiBSpCurve & - :rtype: None -") Prepend; - void Prepend (AppParCurves_SequenceOfMultiBSpCurve & S); - %feature("compactdefaultargs") InsertBefore; - %feature("autodoc", " :param Index: - :type Index: int - :param T: - :type T: AppParCurves_MultiBSpCurve & - :rtype: None -") InsertBefore; - void InsertBefore (const Standard_Integer Index,const AppParCurves_MultiBSpCurve & T); - %feature("compactdefaultargs") InsertBefore; - %feature("autodoc", " :param Index: - :type Index: int - :param S: - :type S: AppParCurves_SequenceOfMultiBSpCurve & - :rtype: None -") InsertBefore; - void InsertBefore (const Standard_Integer Index,AppParCurves_SequenceOfMultiBSpCurve & S); - %feature("compactdefaultargs") InsertAfter; - %feature("autodoc", " :param Index: - :type Index: int - :param T: - :type T: AppParCurves_MultiBSpCurve & - :rtype: None -") InsertAfter; - void InsertAfter (const Standard_Integer Index,const AppParCurves_MultiBSpCurve & T); - %feature("compactdefaultargs") InsertAfter; - %feature("autodoc", " :param Index: - :type Index: int - :param S: - :type S: AppParCurves_SequenceOfMultiBSpCurve & - :rtype: None -") InsertAfter; - void InsertAfter (const Standard_Integer Index,AppParCurves_SequenceOfMultiBSpCurve & S); - %feature("compactdefaultargs") First; - %feature("autodoc", " :rtype: AppParCurves_MultiBSpCurve -") First; - const AppParCurves_MultiBSpCurve & First (); - %feature("compactdefaultargs") Last; - %feature("autodoc", " :rtype: AppParCurves_MultiBSpCurve -") Last; - const AppParCurves_MultiBSpCurve & Last (); - %feature("compactdefaultargs") Split; - %feature("autodoc", " :param Index: - :type Index: int - :param Sub: - :type Sub: AppParCurves_SequenceOfMultiBSpCurve & - :rtype: None -") Split; - void Split (const Standard_Integer Index,AppParCurves_SequenceOfMultiBSpCurve & Sub); - %feature("compactdefaultargs") Value; - %feature("autodoc", " :param Index: - :type Index: int - :rtype: AppParCurves_MultiBSpCurve -") Value; - const AppParCurves_MultiBSpCurve & Value (const Standard_Integer Index); - %feature("compactdefaultargs") SetValue; - %feature("autodoc", " :param Index: - :type Index: int - :param I: - :type I: AppParCurves_MultiBSpCurve & - :rtype: None -") SetValue; - void SetValue (const Standard_Integer Index,const AppParCurves_MultiBSpCurve & I); - %feature("compactdefaultargs") ChangeValue; - %feature("autodoc", " :param Index: - :type Index: int - :rtype: AppParCurves_MultiBSpCurve -") ChangeValue; - AppParCurves_MultiBSpCurve & ChangeValue (const Standard_Integer Index); - %feature("compactdefaultargs") Remove; - %feature("autodoc", " :param Index: - :type Index: int - :rtype: None -") Remove; - void Remove (const Standard_Integer Index); - %feature("compactdefaultargs") Remove; - %feature("autodoc", " :param FromIndex: - :type FromIndex: int - :param ToIndex: - :type ToIndex: int - :rtype: None -") Remove; - void Remove (const Standard_Integer FromIndex,const Standard_Integer ToIndex); }; -%extend AppParCurves_SequenceOfMultiBSpCurve { +%extend AppParCurves_MultiPoint { %pythoncode { __repr__ = _dumps_object } }; -%nodefaultctor AppParCurves_SequenceOfMultiCurve; -class AppParCurves_SequenceOfMultiCurve : public TCollection_BaseSequence { - public: - %feature("compactdefaultargs") AppParCurves_SequenceOfMultiCurve; - %feature("autodoc", " :rtype: None -") AppParCurves_SequenceOfMultiCurve; - AppParCurves_SequenceOfMultiCurve (); - %feature("compactdefaultargs") AppParCurves_SequenceOfMultiCurve; - %feature("autodoc", " :param Other: - :type Other: AppParCurves_SequenceOfMultiCurve & - :rtype: None -") AppParCurves_SequenceOfMultiCurve; - AppParCurves_SequenceOfMultiCurve (const AppParCurves_SequenceOfMultiCurve & Other); - %feature("compactdefaultargs") Clear; - %feature("autodoc", " :rtype: None -") Clear; - void Clear (); - %feature("compactdefaultargs") Assign; - %feature("autodoc", " :param Other: - :type Other: AppParCurves_SequenceOfMultiCurve & - :rtype: AppParCurves_SequenceOfMultiCurve -") Assign; - const AppParCurves_SequenceOfMultiCurve & Assign (const AppParCurves_SequenceOfMultiCurve & Other); - %feature("compactdefaultargs") operator =; - %feature("autodoc", " :param Other: - :type Other: AppParCurves_SequenceOfMultiCurve & - :rtype: AppParCurves_SequenceOfMultiCurve -") operator =; - const AppParCurves_SequenceOfMultiCurve & operator = (const AppParCurves_SequenceOfMultiCurve & Other); - %feature("compactdefaultargs") Append; - %feature("autodoc", " :param T: - :type T: AppParCurves_MultiCurve & - :rtype: None -") Append; - void Append (const AppParCurves_MultiCurve & T); - %feature("compactdefaultargs") Append; - %feature("autodoc", " :param S: - :type S: AppParCurves_SequenceOfMultiCurve & - :rtype: None -") Append; - void Append (AppParCurves_SequenceOfMultiCurve & S); - %feature("compactdefaultargs") Prepend; - %feature("autodoc", " :param T: - :type T: AppParCurves_MultiCurve & - :rtype: None -") Prepend; - void Prepend (const AppParCurves_MultiCurve & T); - %feature("compactdefaultargs") Prepend; - %feature("autodoc", " :param S: - :type S: AppParCurves_SequenceOfMultiCurve & - :rtype: None -") Prepend; - void Prepend (AppParCurves_SequenceOfMultiCurve & S); - %feature("compactdefaultargs") InsertBefore; - %feature("autodoc", " :param Index: - :type Index: int - :param T: - :type T: AppParCurves_MultiCurve & - :rtype: None -") InsertBefore; - void InsertBefore (const Standard_Integer Index,const AppParCurves_MultiCurve & T); - %feature("compactdefaultargs") InsertBefore; - %feature("autodoc", " :param Index: - :type Index: int - :param S: - :type S: AppParCurves_SequenceOfMultiCurve & - :rtype: None -") InsertBefore; - void InsertBefore (const Standard_Integer Index,AppParCurves_SequenceOfMultiCurve & S); - %feature("compactdefaultargs") InsertAfter; - %feature("autodoc", " :param Index: - :type Index: int - :param T: - :type T: AppParCurves_MultiCurve & - :rtype: None -") InsertAfter; - void InsertAfter (const Standard_Integer Index,const AppParCurves_MultiCurve & T); - %feature("compactdefaultargs") InsertAfter; - %feature("autodoc", " :param Index: - :type Index: int - :param S: - :type S: AppParCurves_SequenceOfMultiCurve & - :rtype: None -") InsertAfter; - void InsertAfter (const Standard_Integer Index,AppParCurves_SequenceOfMultiCurve & S); - %feature("compactdefaultargs") First; - %feature("autodoc", " :rtype: AppParCurves_MultiCurve -") First; - const AppParCurves_MultiCurve & First (); - %feature("compactdefaultargs") Last; - %feature("autodoc", " :rtype: AppParCurves_MultiCurve -") Last; - const AppParCurves_MultiCurve & Last (); - %feature("compactdefaultargs") Split; - %feature("autodoc", " :param Index: - :type Index: int - :param Sub: - :type Sub: AppParCurves_SequenceOfMultiCurve & - :rtype: None -") Split; - void Split (const Standard_Integer Index,AppParCurves_SequenceOfMultiCurve & Sub); - %feature("compactdefaultargs") Value; - %feature("autodoc", " :param Index: - :type Index: int - :rtype: AppParCurves_MultiCurve -") Value; - const AppParCurves_MultiCurve & Value (const Standard_Integer Index); - %feature("compactdefaultargs") SetValue; - %feature("autodoc", " :param Index: - :type Index: int - :param I: - :type I: AppParCurves_MultiCurve & - :rtype: None -") SetValue; - void SetValue (const Standard_Integer Index,const AppParCurves_MultiCurve & I); - %feature("compactdefaultargs") ChangeValue; - %feature("autodoc", " :param Index: - :type Index: int - :rtype: AppParCurves_MultiCurve -") ChangeValue; - AppParCurves_MultiCurve & ChangeValue (const Standard_Integer Index); - %feature("compactdefaultargs") Remove; - %feature("autodoc", " :param Index: - :type Index: int - :rtype: None -") Remove; - void Remove (const Standard_Integer Index); - %feature("compactdefaultargs") Remove; - %feature("autodoc", " :param FromIndex: - :type FromIndex: int - :param ToIndex: - :type ToIndex: int - :rtype: None -") Remove; - void Remove (const Standard_Integer FromIndex,const Standard_Integer ToIndex); -}; - -%extend AppParCurves_SequenceOfMultiCurve { - %pythoncode { - __repr__ = _dumps_object - } -}; +/*********************************** +* class AppParCurves_MultiBSpCurve * +***********************************/ %nodefaultctor AppParCurves_MultiBSpCurve; class AppParCurves_MultiBSpCurve : public AppParCurves_MultiCurve { public: + /****************** AppParCurves_MultiBSpCurve ******************/ %feature("compactdefaultargs") AppParCurves_MultiBSpCurve; - %feature("autodoc", " * returns an indefinite MultiBSpCurve. - - :rtype: None -") AppParCurves_MultiBSpCurve; + %feature("autodoc", "* returns an indefinite MultiBSpCurve. + :rtype: None") AppParCurves_MultiBSpCurve; AppParCurves_MultiBSpCurve (); - %feature("compactdefaultargs") AppParCurves_MultiBSpCurve; - %feature("autodoc", " * creates a MultiBSpCurve, describing BSpline curves all containing the same number of MultiPoint. An exception is raised if Degree < 0. + /****************** AppParCurves_MultiBSpCurve ******************/ + %feature("compactdefaultargs") AppParCurves_MultiBSpCurve; + %feature("autodoc", "* creates a MultiBSpCurve, describing BSpline curves all containing the same number of MultiPoint. An exception is raised if Degree < 0. :param NbPol: :type NbPol: int - :rtype: None -") AppParCurves_MultiBSpCurve; + :rtype: None") AppParCurves_MultiBSpCurve; AppParCurves_MultiBSpCurve (const Standard_Integer NbPol); - %feature("compactdefaultargs") AppParCurves_MultiBSpCurve; - %feature("autodoc", " * creates a MultiBSpCurve, describing BSpline curves all containing the same number of MultiPoint. Each MultiPoint must have NbCurves Poles. + /****************** AppParCurves_MultiBSpCurve ******************/ + %feature("compactdefaultargs") AppParCurves_MultiBSpCurve; + %feature("autodoc", "* creates a MultiBSpCurve, describing BSpline curves all containing the same number of MultiPoint. Each MultiPoint must have NbCurves Poles. :param tabMU: :type tabMU: AppParCurves_Array1OfMultiPoint & :param Knots: :type Knots: TColStd_Array1OfReal & :param Mults: :type Mults: TColStd_Array1OfInteger & - :rtype: None -") AppParCurves_MultiBSpCurve; + :rtype: None") AppParCurves_MultiBSpCurve; AppParCurves_MultiBSpCurve (const AppParCurves_Array1OfMultiPoint & tabMU,const TColStd_Array1OfReal & Knots,const TColStd_Array1OfInteger & Mults); - %feature("compactdefaultargs") AppParCurves_MultiBSpCurve; - %feature("autodoc", " * creates a MultiBSpCurve, describing BSpline curves, taking control points from . + /****************** AppParCurves_MultiBSpCurve ******************/ + %feature("compactdefaultargs") AppParCurves_MultiBSpCurve; + %feature("autodoc", "* creates a MultiBSpCurve, describing BSpline curves, taking control points from . :param SC: :type SC: AppParCurves_MultiCurve & :param Knots: :type Knots: TColStd_Array1OfReal & :param Mults: :type Mults: TColStd_Array1OfInteger & - :rtype: None -") AppParCurves_MultiBSpCurve; + :rtype: None") AppParCurves_MultiBSpCurve; AppParCurves_MultiBSpCurve (const AppParCurves_MultiCurve & SC,const TColStd_Array1OfReal & Knots,const TColStd_Array1OfInteger & Mults); - %feature("compactdefaultargs") SetKnots; - %feature("autodoc", " * Knots of the multiBSpCurve are assigned to . - - :param theKnots: - :type theKnots: TColStd_Array1OfReal & - :rtype: None -") SetKnots; - void SetKnots (const TColStd_Array1OfReal & theKnots); - %feature("compactdefaultargs") SetMultiplicities; - %feature("autodoc", " * Multiplicities of the multiBSpCurve are assigned to . - - :param theMults: - :type theMults: TColStd_Array1OfInteger & - :rtype: None -") SetMultiplicities; - void SetMultiplicities (const TColStd_Array1OfInteger & theMults); - %feature("compactdefaultargs") Knots; - %feature("autodoc", " * Returns an array of Reals containing the multiplicities of curves resulting from the approximation. - - :rtype: TColStd_Array1OfReal -") Knots; - const TColStd_Array1OfReal & Knots (); - %feature("compactdefaultargs") Multiplicities; - %feature("autodoc", " * Returns an array of Reals containing the multiplicities of curves resulting from the approximation. - - :rtype: TColStd_Array1OfInteger -") Multiplicities; - const TColStd_Array1OfInteger & Multiplicities (); - %feature("compactdefaultargs") Degree; - %feature("autodoc", " * returns the degree of the curve(s). - - :rtype: int -") Degree; - virtual Standard_Integer Degree (); - %feature("compactdefaultargs") Value; - %feature("autodoc", " * returns the value of the point with a parameter U on the BSpline curve number CuIndex. An exception is raised if CuIndex <0 or > NbCurves. An exception is raised if the curve dimension is 2d. - :param CuIndex: - :type CuIndex: int - :param U: - :type U: float - :param Pt: - :type Pt: gp_Pnt - :rtype: void -") Value; - virtual void Value (const Standard_Integer CuIndex,const Standard_Real U,gp_Pnt & Pt); - %feature("compactdefaultargs") Value; - %feature("autodoc", " * returns the value of the point with a parameter U on the BSpline curve number CuIndex. An exception is raised if CuIndex <0 or > NbCurves. An exception is raised if the curve dimension is 3d. - - :param CuIndex: - :type CuIndex: int - :param U: - :type U: float - :param Pt: - :type Pt: gp_Pnt2d - :rtype: void -") Value; - virtual void Value (const Standard_Integer CuIndex,const Standard_Real U,gp_Pnt2d & Pt); + /****************** D1 ******************/ %feature("compactdefaultargs") D1; - %feature("autodoc", " * returns the value of the point with a parameter U on the BSpline curve number CuIndex. An exception is raised if CuIndex <0 or > NbCurves. An exception is raised if the curve dimension is 3d. - + %feature("autodoc", "* returns the value of the point with a parameter U on the BSpline curve number CuIndex. An exception is raised if CuIndex <0 or > NbCurves. An exception is raised if the curve dimension is 3d. :param CuIndex: :type CuIndex: int :param U: @@ -1969,12 +822,12 @@ class AppParCurves_MultiBSpCurve : public AppParCurves_MultiCurve { :type Pt: gp_Pnt :param V1: :type V1: gp_Vec - :rtype: void -") D1; + :rtype: void") D1; virtual void D1 (const Standard_Integer CuIndex,const Standard_Real U,gp_Pnt & Pt,gp_Vec & V1); - %feature("compactdefaultargs") D1; - %feature("autodoc", " * returns the value of the point with a parameter U on the BSpline curve number CuIndex. An exception is raised if CuIndex <0 or > NbCurves. An exception is raised if the curve dimension is 2d. + /****************** D1 ******************/ + %feature("compactdefaultargs") D1; + %feature("autodoc", "* returns the value of the point with a parameter U on the BSpline curve number CuIndex. An exception is raised if CuIndex <0 or > NbCurves. An exception is raised if the curve dimension is 2d. :param CuIndex: :type CuIndex: int :param U: @@ -1983,12 +836,12 @@ class AppParCurves_MultiBSpCurve : public AppParCurves_MultiCurve { :type Pt: gp_Pnt2d :param V1: :type V1: gp_Vec2d - :rtype: void -") D1; + :rtype: void") D1; virtual void D1 (const Standard_Integer CuIndex,const Standard_Real U,gp_Pnt2d & Pt,gp_Vec2d & V1); - %feature("compactdefaultargs") D2; - %feature("autodoc", " * returns the value of the point with a parameter U on the BSpline curve number CuIndex. An exception is raised if CuIndex <0 or > NbCurves. An exception is raised if the curve dimension is 3d. + /****************** D2 ******************/ + %feature("compactdefaultargs") D2; + %feature("autodoc", "* returns the value of the point with a parameter U on the BSpline curve number CuIndex. An exception is raised if CuIndex <0 or > NbCurves. An exception is raised if the curve dimension is 3d. :param CuIndex: :type CuIndex: int :param U: @@ -1999,12 +852,12 @@ class AppParCurves_MultiBSpCurve : public AppParCurves_MultiCurve { :type V1: gp_Vec :param V2: :type V2: gp_Vec - :rtype: void -") D2; + :rtype: void") D2; virtual void D2 (const Standard_Integer CuIndex,const Standard_Real U,gp_Pnt & Pt,gp_Vec & V1,gp_Vec & V2); - %feature("compactdefaultargs") D2; - %feature("autodoc", " * returns the value of the point with a parameter U on the BSpline curve number CuIndex. An exception is raised if CuIndex <0 or > NbCurves. An exception is raised if the curve dimension is 2d. + /****************** D2 ******************/ + %feature("compactdefaultargs") D2; + %feature("autodoc", "* returns the value of the point with a parameter U on the BSpline curve number CuIndex. An exception is raised if CuIndex <0 or > NbCurves. An exception is raised if the curve dimension is 2d. :param CuIndex: :type CuIndex: int :param U: @@ -2015,10 +868,16 @@ class AppParCurves_MultiBSpCurve : public AppParCurves_MultiCurve { :type V1: gp_Vec2d :param V2: :type V2: gp_Vec2d - :rtype: void -") D2; + :rtype: void") D2; virtual void D2 (const Standard_Integer CuIndex,const Standard_Real U,gp_Pnt2d & Pt,gp_Vec2d & V1,gp_Vec2d & V2); + /****************** Degree ******************/ + %feature("compactdefaultargs") Degree; + %feature("autodoc", "* returns the degree of the curve(s). + :rtype: int") Degree; + virtual Standard_Integer Degree (); + + %feature("autodoc", "1"); %extend{ std::string DumpToString() { @@ -2026,7 +885,59 @@ class AppParCurves_MultiBSpCurve : public AppParCurves_MultiCurve { self->Dump(s); return s.str();} }; - }; + /****************** Knots ******************/ + %feature("compactdefaultargs") Knots; + %feature("autodoc", "* Returns an array of Reals containing the multiplicities of curves resulting from the approximation. + :rtype: TColStd_Array1OfReal") Knots; + const TColStd_Array1OfReal & Knots (); + + /****************** Multiplicities ******************/ + %feature("compactdefaultargs") Multiplicities; + %feature("autodoc", "* Returns an array of Reals containing the multiplicities of curves resulting from the approximation. + :rtype: TColStd_Array1OfInteger") Multiplicities; + const TColStd_Array1OfInteger & Multiplicities (); + + /****************** SetKnots ******************/ + %feature("compactdefaultargs") SetKnots; + %feature("autodoc", "* Knots of the multiBSpCurve are assigned to . + :param theKnots: + :type theKnots: TColStd_Array1OfReal & + :rtype: None") SetKnots; + void SetKnots (const TColStd_Array1OfReal & theKnots); + + /****************** SetMultiplicities ******************/ + %feature("compactdefaultargs") SetMultiplicities; + %feature("autodoc", "* Multiplicities of the multiBSpCurve are assigned to . + :param theMults: + :type theMults: TColStd_Array1OfInteger & + :rtype: None") SetMultiplicities; + void SetMultiplicities (const TColStd_Array1OfInteger & theMults); + + /****************** Value ******************/ + %feature("compactdefaultargs") Value; + %feature("autodoc", "* returns the value of the point with a parameter U on the BSpline curve number CuIndex. An exception is raised if CuIndex <0 or > NbCurves. An exception is raised if the curve dimension is 2d. + :param CuIndex: + :type CuIndex: int + :param U: + :type U: float + :param Pt: + :type Pt: gp_Pnt + :rtype: void") Value; + virtual void Value (const Standard_Integer CuIndex,const Standard_Real U,gp_Pnt & Pt); + + /****************** Value ******************/ + %feature("compactdefaultargs") Value; + %feature("autodoc", "* returns the value of the point with a parameter U on the BSpline curve number CuIndex. An exception is raised if CuIndex <0 or > NbCurves. An exception is raised if the curve dimension is 3d. + :param CuIndex: + :type CuIndex: int + :param U: + :type U: float + :param Pt: + :type Pt: gp_Pnt2d + :rtype: void") Value; + virtual void Value (const Standard_Integer CuIndex,const Standard_Real U,gp_Pnt2d & Pt); + +}; %extend AppParCurves_MultiBSpCurve { @@ -2034,3 +945,51 @@ class AppParCurves_MultiBSpCurve : public AppParCurves_MultiCurve { __repr__ = _dumps_object } }; + +/* harray1 class */ +class AppParCurves_HArray1OfMultiCurve : public AppParCurves_Array1OfMultiCurve, public Standard_Transient { + public: + AppParCurves_HArray1OfMultiCurve(const Standard_Integer theLower, const Standard_Integer theUpper); + AppParCurves_HArray1OfMultiCurve(const Standard_Integer theLower, const Standard_Integer theUpper, const AppParCurves_Array1OfMultiCurve::value_type& theValue); + AppParCurves_HArray1OfMultiCurve(const AppParCurves_Array1OfMultiCurve& theOther); + const AppParCurves_Array1OfMultiCurve& Array1(); + AppParCurves_Array1OfMultiCurve& ChangeArray1(); +}; +%make_alias(AppParCurves_HArray1OfMultiCurve) + + +class AppParCurves_HArray1OfConstraintCouple : public AppParCurves_Array1OfConstraintCouple, public Standard_Transient { + public: + AppParCurves_HArray1OfConstraintCouple(const Standard_Integer theLower, const Standard_Integer theUpper); + AppParCurves_HArray1OfConstraintCouple(const Standard_Integer theLower, const Standard_Integer theUpper, const AppParCurves_Array1OfConstraintCouple::value_type& theValue); + AppParCurves_HArray1OfConstraintCouple(const AppParCurves_Array1OfConstraintCouple& theOther); + const AppParCurves_Array1OfConstraintCouple& Array1(); + AppParCurves_Array1OfConstraintCouple& ChangeArray1(); +}; +%make_alias(AppParCurves_HArray1OfConstraintCouple) + + +class AppParCurves_HArray1OfMultiPoint : public AppParCurves_Array1OfMultiPoint, public Standard_Transient { + public: + AppParCurves_HArray1OfMultiPoint(const Standard_Integer theLower, const Standard_Integer theUpper); + AppParCurves_HArray1OfMultiPoint(const Standard_Integer theLower, const Standard_Integer theUpper, const AppParCurves_Array1OfMultiPoint::value_type& theValue); + AppParCurves_HArray1OfMultiPoint(const AppParCurves_Array1OfMultiPoint& theOther); + const AppParCurves_Array1OfMultiPoint& Array1(); + AppParCurves_Array1OfMultiPoint& ChangeArray1(); +}; +%make_alias(AppParCurves_HArray1OfMultiPoint) + + +class AppParCurves_HArray1OfMultiBSpCurve : public AppParCurves_Array1OfMultiBSpCurve, public Standard_Transient { + public: + AppParCurves_HArray1OfMultiBSpCurve(const Standard_Integer theLower, const Standard_Integer theUpper); + AppParCurves_HArray1OfMultiBSpCurve(const Standard_Integer theLower, const Standard_Integer theUpper, const AppParCurves_Array1OfMultiBSpCurve::value_type& theValue); + AppParCurves_HArray1OfMultiBSpCurve(const AppParCurves_Array1OfMultiBSpCurve& theOther); + const AppParCurves_Array1OfMultiBSpCurve& Array1(); + AppParCurves_Array1OfMultiBSpCurve& ChangeArray1(); +}; +%make_alias(AppParCurves_HArray1OfMultiBSpCurve) + + +/* harray2 class */ +/* harray2 class */ diff --git a/src/SWIG_files/wrapper/AppParCurves_headers.i b/src/SWIG_files/wrapper/AppParCurves_headers.i deleted file mode 100644 index d03809959..000000000 --- a/src/SWIG_files/wrapper/AppParCurves_headers.i +++ /dev/null @@ -1,662 +0,0 @@ -/* -Copyright 2008-2017 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 . - -*/ -%{ -#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 -#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 -#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 -#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 -#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 -#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 -#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 -%}; -%import Standard.i -%import math.i -%import MMgt.i -%import TColgp.i -%import gp.i -%import TCollection.i -%import TColStd.i diff --git a/src/SWIG_files/wrapper/AppStd.i b/src/SWIG_files/wrapper/AppStd.i index a80285bb6..75b8d0b54 100644 --- a/src/SWIG_files/wrapper/AppStd.i +++ b/src/SWIG_files/wrapper/AppStd.i @@ -1,6 +1,5 @@ /* -Copyright 2008-2017 Thomas Paviot (tpaviot@gmail.com) - +Copyright 2008-2019 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -15,14 +14,13 @@ 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 APPSTDDOCSTRING -"" +"AppStd module, see official documentation at +https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_appstd.html" %enddef %module (package="OCC.Core", docstring=APPSTDDOCSTRING) AppStd -#pragma SWIG nowarn=504,325,503 %{ #ifdef WNT @@ -37,41 +35,51 @@ along with pythonOCC. If not, see . %include ../common/OccHandle.i -%include AppStd_headers.i - -/* typedefs */ -/* end typedefs declaration */ - +%{ +#include + +//Dependencies +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +%}; +%import Standard.i +%import NCollection.i +%import TDocStd.i /* public enums */ /* end public enums declaration */ +/* handles */ %wrap_handle(AppStd_Application) +/* end handles declaration */ +/* templates */ +/* end templates declaration */ + +/* typedefs */ +/* end typedefs declaration */ + +/*************************** +* class AppStd_Application * +***************************/ %nodefaultctor AppStd_Application; class AppStd_Application : public TDocStd_Application { public: - %feature("compactdefaultargs") AppStd_Application; - %feature("autodoc", " :rtype: None -") AppStd_Application; - AppStd_Application (); - %feature("compactdefaultargs") MessageDriver; - %feature("autodoc", " :rtype: Handle_CDM_MessageDriver -") MessageDriver; - virtual Handle_CDM_MessageDriver MessageDriver (); - %feature("compactdefaultargs") Formats; - %feature("autodoc", " * returns supported format for application documents. - - :param theFormats: - :type theFormats: TColStd_SequenceOfExtendedString & - :rtype: void -") Formats; - virtual void Formats (TColStd_SequenceOfExtendedString & theFormats); + /****************** ResourcesName ******************/ %feature("compactdefaultargs") ResourcesName; - %feature("autodoc", " * returns the file name which contains application resources - - :rtype: char * -") ResourcesName; + %feature("autodoc", "* returns the file name which contains application resources + :rtype: char *") ResourcesName; const char * ResourcesName (); + }; @@ -82,3 +90,7 @@ class AppStd_Application : public TDocStd_Application { __repr__ = _dumps_object } }; + +/* harray1 class */ +/* harray2 class */ +/* harray2 class */ diff --git a/src/SWIG_files/wrapper/AppStdL.i b/src/SWIG_files/wrapper/AppStdL.i index 503d4fa00..06dd4ea6d 100644 --- a/src/SWIG_files/wrapper/AppStdL.i +++ b/src/SWIG_files/wrapper/AppStdL.i @@ -1,6 +1,5 @@ /* -Copyright 2008-2017 Thomas Paviot (tpaviot@gmail.com) - +Copyright 2008-2019 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -15,14 +14,13 @@ 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 APPSTDLDOCSTRING -"" +"AppStdL module, see official documentation at +https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_appstdl.html" %enddef %module (package="OCC.Core", docstring=APPSTDLDOCSTRING) AppStdL -#pragma SWIG nowarn=504,325,503 %{ #ifdef WNT @@ -37,41 +35,52 @@ along with pythonOCC. If not, see . %include ../common/OccHandle.i -%include AppStdL_headers.i - -/* typedefs */ -/* end typedefs declaration */ - +%{ +#include + +//Dependencies +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +%}; +%import Standard.i +%import NCollection.i +%import TDocStd.i /* public enums */ /* end public enums declaration */ +/* handles */ %wrap_handle(AppStdL_Application) +/* end handles declaration */ +/* templates */ +/* end templates declaration */ + +/* typedefs */ +/* end typedefs declaration */ + +/**************************** +* class AppStdL_Application * +****************************/ %nodefaultctor AppStdL_Application; class AppStdL_Application : public TDocStd_Application { public: - %feature("compactdefaultargs") AppStdL_Application; - %feature("autodoc", " :rtype: None -") AppStdL_Application; - AppStdL_Application (); - %feature("compactdefaultargs") MessageDriver; - %feature("autodoc", " :rtype: Handle_CDM_MessageDriver -") MessageDriver; - virtual Handle_CDM_MessageDriver MessageDriver (); - %feature("compactdefaultargs") Formats; - %feature("autodoc", " * returns supported format for application documents. - - :param theFormats: - :type theFormats: TColStd_SequenceOfExtendedString & - :rtype: void -") Formats; - virtual void Formats (TColStd_SequenceOfExtendedString & theFormats); + /****************** ResourcesName ******************/ %feature("compactdefaultargs") ResourcesName; - %feature("autodoc", " * returns the file name which contains application resources - - :rtype: char * -") ResourcesName; + %feature("autodoc", "* returns the file name which contains application resources + :rtype: char *") ResourcesName; const char * ResourcesName (); + }; @@ -82,3 +91,7 @@ class AppStdL_Application : public TDocStd_Application { __repr__ = _dumps_object } }; + +/* harray1 class */ +/* harray2 class */ +/* harray2 class */ diff --git a/src/SWIG_files/wrapper/AppStdL_headers.i b/src/SWIG_files/wrapper/AppStdL_headers.i deleted file mode 100644 index 3cd442bc3..000000000 --- a/src/SWIG_files/wrapper/AppStdL_headers.i +++ /dev/null @@ -1,579 +0,0 @@ -/* -Copyright 2008-2017 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 . - -*/ -%{ -#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 -#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 -#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 -#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 -#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 -#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 -%}; -%import TDocStd.i -%import CDM.i -%import TColStd.i diff --git a/src/SWIG_files/wrapper/AppStd_headers.i b/src/SWIG_files/wrapper/AppStd_headers.i deleted file mode 100644 index 14bd72811..000000000 --- a/src/SWIG_files/wrapper/AppStd_headers.i +++ /dev/null @@ -1,558 +0,0 @@ -/* -Copyright 2008-2017 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 . - -*/ -%{ -#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 -#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 -#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 -#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 -#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 -#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 -%}; -%import TDocStd.i -%import CDM.i -%import TColStd.i diff --git a/src/SWIG_files/wrapper/Approx.i b/src/SWIG_files/wrapper/Approx.i index 9ee0d5d6c..ed6103cdd 100644 --- a/src/SWIG_files/wrapper/Approx.i +++ b/src/SWIG_files/wrapper/Approx.i @@ -1,6 +1,5 @@ /* -Copyright 2008-2017 Thomas Paviot (tpaviot@gmail.com) - +Copyright 2008-2019 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -15,19 +14,13 @@ 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 APPROXDOCSTRING -"Tis package provides algorithms approximating a set of -points or curves with the possibility of dividing into -one or many bezier curves. -It also provides an instantiation for approximating -a continous function f(t) into one or many curves. -" +"Approx module, see official documentation at +https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_approx.html" %enddef %module (package="OCC.Core", docstring=APPROXDOCSTRING) Approx -#pragma SWIG nowarn=504,325,503 %{ #ifdef WNT @@ -42,11 +35,41 @@ a continous function f(t) into one or many curves. %include ../common/OccHandle.i -%include Approx_headers.i - -/* typedefs */ -/* end typedefs declaration */ - +%{ +#include + +//Dependencies +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +%}; +%import Standard.i +%import NCollection.i +%import TColStd.i +%import Adaptor3d.i +%import Adaptor2d.i +%import GeomAbs.i +%import Geom2d.i +%import Geom.i +%import AppCont.i +%import AppParCurves.i +%import TColgp.i +%import gp.i /* public enums */ enum Approx_Status { Approx_PointsAdded = 0, @@ -62,96 +85,18 @@ enum Approx_ParametrizationType { /* end public enums declaration */ +/* handles */ %wrap_handle(Approx_CurvlinFunc) -%wrap_handle(Approx_HArray1OfAdHSurface) -%wrap_handle(Approx_HArray1OfGTrsf2d) -%wrap_handle(Approx_SequenceNodeOfSequenceOfHArray1OfReal) %wrap_handle(Approx_SweepFunction) +%wrap_handle(Approx_HArray1OfGTrsf2d) +%wrap_handle(Approx_HArray1OfAdHSurface) +/* end handles declaration */ -%nodefaultctor Approx_Array1OfAdHSurface; -class Approx_Array1OfAdHSurface { - public: - %feature("compactdefaultargs") Approx_Array1OfAdHSurface; - %feature("autodoc", " :param Low: - :type Low: int - :param Up: - :type Up: int - :rtype: None -") Approx_Array1OfAdHSurface; - Approx_Array1OfAdHSurface (const Standard_Integer Low,const Standard_Integer Up); - %feature("compactdefaultargs") Approx_Array1OfAdHSurface; - %feature("autodoc", " :param Item: - :type Item: Handle_Adaptor3d_HSurface & - :param Low: - :type Low: int - :param Up: - :type Up: int - :rtype: None -") Approx_Array1OfAdHSurface; - Approx_Array1OfAdHSurface (const Handle_Adaptor3d_HSurface & Item,const Standard_Integer Low,const Standard_Integer Up); - %feature("compactdefaultargs") Init; - %feature("autodoc", " :param V: - :type V: Handle_Adaptor3d_HSurface & - :rtype: None -") Init; - void Init (const Handle_Adaptor3d_HSurface & V); - %feature("compactdefaultargs") Destroy; - %feature("autodoc", " :rtype: None -") Destroy; - void Destroy (); - %feature("compactdefaultargs") IsAllocated; - %feature("autodoc", " :rtype: bool -") IsAllocated; - Standard_Boolean IsAllocated (); - %feature("compactdefaultargs") Assign; - %feature("autodoc", " :param Other: - :type Other: Approx_Array1OfAdHSurface & - :rtype: Approx_Array1OfAdHSurface -") Assign; - const Approx_Array1OfAdHSurface & Assign (const Approx_Array1OfAdHSurface & Other); - %feature("compactdefaultargs") operator =; - %feature("autodoc", " :param Other: - :type Other: Approx_Array1OfAdHSurface & - :rtype: Approx_Array1OfAdHSurface -") operator =; - const Approx_Array1OfAdHSurface & operator = (const Approx_Array1OfAdHSurface & Other); - %feature("compactdefaultargs") Length; - %feature("autodoc", " :rtype: int -") Length; - Standard_Integer Length (); - %feature("compactdefaultargs") Lower; - %feature("autodoc", " :rtype: int -") Lower; - Standard_Integer Lower (); - %feature("compactdefaultargs") Upper; - %feature("autodoc", " :rtype: int -") Upper; - Standard_Integer Upper (); - %feature("compactdefaultargs") SetValue; - %feature("autodoc", " :param Index: - :type Index: int - :param Value: - :type Value: Handle_Adaptor3d_HSurface & - :rtype: None -") SetValue; - void SetValue (const Standard_Integer Index,const Handle_Adaptor3d_HSurface & Value); - %feature("compactdefaultargs") Value; - %feature("autodoc", " :param Index: - :type Index: int - :rtype: Handle_Adaptor3d_HSurface -") Value; - Handle_Adaptor3d_HSurface Value (const Standard_Integer Index); - %feature("compactdefaultargs") ChangeValue; - %feature("autodoc", " :param Index: - :type Index: int - :rtype: Handle_Adaptor3d_HSurface -") ChangeValue; - Handle_Adaptor3d_HSurface ChangeValue (const Standard_Integer Index); -}; - - +/* templates */ +%template(Approx_SequenceOfHArray1OfReal) NCollection_Sequence >; +%template(Approx_Array1OfGTrsf2d) NCollection_Array1 ; -%extend Approx_Array1OfAdHSurface { +%extend NCollection_Array1 { %pythoncode { def __getitem__(self, index): if index + self.Lower() > self.Upper(): @@ -178,102 +123,15 @@ class Approx_Array1OfAdHSurface { if self.current >= self.Upper(): raise StopIteration else: - self.current +=1 + self.current += 1 return self.Value(self.current) __next__ = next - } }; -%extend Approx_Array1OfAdHSurface { - %pythoncode { - __repr__ = _dumps_object - } -}; -%nodefaultctor Approx_Array1OfGTrsf2d; -class Approx_Array1OfGTrsf2d { - public: - %feature("compactdefaultargs") Approx_Array1OfGTrsf2d; - %feature("autodoc", " :param Low: - :type Low: int - :param Up: - :type Up: int - :rtype: None -") Approx_Array1OfGTrsf2d; - Approx_Array1OfGTrsf2d (const Standard_Integer Low,const Standard_Integer Up); - %feature("compactdefaultargs") Approx_Array1OfGTrsf2d; - %feature("autodoc", " :param Item: - :type Item: gp_GTrsf2d - :param Low: - :type Low: int - :param Up: - :type Up: int - :rtype: None -") Approx_Array1OfGTrsf2d; - Approx_Array1OfGTrsf2d (const gp_GTrsf2d & Item,const Standard_Integer Low,const Standard_Integer Up); - %feature("compactdefaultargs") Init; - %feature("autodoc", " :param V: - :type V: gp_GTrsf2d - :rtype: None -") Init; - void Init (const gp_GTrsf2d & V); - %feature("compactdefaultargs") Destroy; - %feature("autodoc", " :rtype: None -") Destroy; - void Destroy (); - %feature("compactdefaultargs") IsAllocated; - %feature("autodoc", " :rtype: bool -") IsAllocated; - Standard_Boolean IsAllocated (); - %feature("compactdefaultargs") Assign; - %feature("autodoc", " :param Other: - :type Other: Approx_Array1OfGTrsf2d & - :rtype: Approx_Array1OfGTrsf2d -") Assign; - const Approx_Array1OfGTrsf2d & Assign (const Approx_Array1OfGTrsf2d & Other); - %feature("compactdefaultargs") operator =; - %feature("autodoc", " :param Other: - :type Other: Approx_Array1OfGTrsf2d & - :rtype: Approx_Array1OfGTrsf2d -") operator =; - const Approx_Array1OfGTrsf2d & operator = (const Approx_Array1OfGTrsf2d & Other); - %feature("compactdefaultargs") Length; - %feature("autodoc", " :rtype: int -") Length; - Standard_Integer Length (); - %feature("compactdefaultargs") Lower; - %feature("autodoc", " :rtype: int -") Lower; - Standard_Integer Lower (); - %feature("compactdefaultargs") Upper; - %feature("autodoc", " :rtype: int -") Upper; - Standard_Integer Upper (); - %feature("compactdefaultargs") SetValue; - %feature("autodoc", " :param Index: - :type Index: int - :param Value: - :type Value: gp_GTrsf2d - :rtype: None -") SetValue; - void SetValue (const Standard_Integer Index,const gp_GTrsf2d & Value); - %feature("compactdefaultargs") Value; - %feature("autodoc", " :param Index: - :type Index: int - :rtype: gp_GTrsf2d -") Value; - const gp_GTrsf2d Value (const Standard_Integer Index); - %feature("compactdefaultargs") ChangeValue; - %feature("autodoc", " :param Index: - :type Index: int - :rtype: gp_GTrsf2d -") ChangeValue; - gp_GTrsf2d ChangeValue (const Standard_Integer Index); -}; - - +%template(Approx_Array1OfAdHSurface) NCollection_Array1 >; -%extend Approx_Array1OfGTrsf2d { +%extend NCollection_Array1 > { %pythoncode { def __getitem__(self, index): if index + self.Lower() > self.Upper(): @@ -300,24 +158,30 @@ class Approx_Array1OfGTrsf2d { if self.current >= self.Upper(): raise StopIteration else: - self.current +=1 + self.current += 1 return self.Value(self.current) __next__ = next - } }; -%extend Approx_Array1OfGTrsf2d { - %pythoncode { - __repr__ = _dumps_object - } -}; +/* end templates declaration */ + +/* typedefs */ +typedef NCollection_Sequence > Approx_SequenceOfHArray1OfReal; +typedef NCollection_Array1 Approx_Array1OfGTrsf2d; +typedef NCollection_Array1 > Approx_Array1OfAdHSurface; +/* end typedefs declaration */ + +/*********************** +* class Approx_Curve2d * +***********************/ %nodefaultctor Approx_Curve2d; class Approx_Curve2d { public: + /****************** Approx_Curve2d ******************/ %feature("compactdefaultargs") Approx_Curve2d; - %feature("autodoc", " :param C2D: - :type C2D: Handle_Adaptor2d_HCurve2d & + %feature("autodoc", ":param C2D: + :type C2D: opencascade::handle & :param First: :type First: float :param Last: @@ -332,29 +196,34 @@ class Approx_Curve2d { :type MaxDegree: int :param MaxSegments: :type MaxSegments: int - :rtype: None -") Approx_Curve2d; - Approx_Curve2d (const Handle_Adaptor2d_HCurve2d & 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); - %feature("compactdefaultargs") IsDone; - %feature("autodoc", " :rtype: bool -") IsDone; - Standard_Boolean IsDone (); + :rtype: 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); + + /****************** Curve ******************/ + %feature("compactdefaultargs") Curve; + %feature("autodoc", ":rtype: opencascade::handle") Curve; + opencascade::handle Curve (); + + /****************** HasResult ******************/ %feature("compactdefaultargs") HasResult; - %feature("autodoc", " :rtype: bool -") HasResult; + %feature("autodoc", ":rtype: bool") HasResult; Standard_Boolean HasResult (); - %feature("compactdefaultargs") Curve; - %feature("autodoc", " :rtype: Handle_Geom2d_BSplineCurve -") Curve; - Handle_Geom2d_BSplineCurve Curve (); + + /****************** IsDone ******************/ + %feature("compactdefaultargs") IsDone; + %feature("autodoc", ":rtype: bool") IsDone; + Standard_Boolean IsDone (); + + /****************** MaxError2dU ******************/ %feature("compactdefaultargs") MaxError2dU; - %feature("autodoc", " :rtype: float -") MaxError2dU; + %feature("autodoc", ":rtype: float") MaxError2dU; Standard_Real MaxError2dU (); + + /****************** MaxError2dV ******************/ %feature("compactdefaultargs") MaxError2dV; - %feature("autodoc", " :rtype: float -") MaxError2dV; + %feature("autodoc", ":rtype: float") MaxError2dV; Standard_Real MaxError2dV (); + }; @@ -363,14 +232,18 @@ class Approx_Curve2d { __repr__ = _dumps_object } }; + +/*********************** +* class Approx_Curve3d * +***********************/ %nodefaultctor Approx_Curve3d; class Approx_Curve3d { public: + /****************** Approx_Curve3d ******************/ %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 requiered tolerance Tol3D. :param Curve: - :type Curve: Handle_Adaptor3d_HCurve & + :type Curve: opencascade::handle & :param Tol3d: :type Tol3d: float :param Order: @@ -379,31 +252,14 @@ class Approx_Curve3d { :type MaxSegments: int :param MaxDegree: :type MaxDegree: int - :rtype: None -") Approx_Curve3d; - Approx_Curve3d (const Handle_Adaptor3d_HCurve & Curve,const Standard_Real Tol3d,const GeomAbs_Shape Order,const Standard_Integer MaxSegments,const Standard_Integer MaxDegree); - %feature("compactdefaultargs") Curve; - %feature("autodoc", " :rtype: Handle_Geom_BSplineCurve -") Curve; - Handle_Geom_BSplineCurve Curve (); - %feature("compactdefaultargs") IsDone; - %feature("autodoc", " * returns Standard_True if the approximation has been done within requiered tolerance - - :rtype: bool -") IsDone; - Standard_Boolean IsDone (); - %feature("compactdefaultargs") HasResult; - %feature("autodoc", " * returns Standard_True if the approximation did come out with a result that is not NECESSARELY within the required tolerance + :rtype: 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); - :rtype: bool -") HasResult; - Standard_Boolean HasResult (); - %feature("compactdefaultargs") MaxError; - %feature("autodoc", " * returns the Maximum Error (>0 when an approximation has been done, 0 if no approximation) + /****************** Curve ******************/ + %feature("compactdefaultargs") Curve; + %feature("autodoc", ":rtype: opencascade::handle") Curve; + opencascade::handle Curve (); - :rtype: float -") MaxError; - Standard_Real MaxError (); %feature("autodoc", "1"); %extend{ @@ -412,7 +268,25 @@ class Approx_Curve3d { self->Dump(s); return s.str();} }; - }; + /****************** HasResult ******************/ + %feature("compactdefaultargs") HasResult; + %feature("autodoc", "* returns Standard_True if the approximation did come out with a result that is not NECESSARELY within the required tolerance + :rtype: bool") HasResult; + Standard_Boolean HasResult (); + + /****************** IsDone ******************/ + %feature("compactdefaultargs") IsDone; + %feature("autodoc", "* returns Standard_True if the approximation has been done within requiered tolerance + :rtype: bool") IsDone; + Standard_Boolean IsDone (); + + /****************** MaxError ******************/ + %feature("compactdefaultargs") MaxError; + %feature("autodoc", "* returns the Maximum Error (>0 when an approximation has been done, 0 if no approximation) + :rtype: float") MaxError; + Standard_Real MaxError (); + +}; %extend Approx_Curve3d { @@ -420,14 +294,19 @@ class Approx_Curve3d { __repr__ = _dumps_object } }; + +/****************************** +* class Approx_CurveOnSurface * +******************************/ %nodefaultctor Approx_CurveOnSurface; class Approx_CurveOnSurface { public: + /****************** Approx_CurveOnSurface ******************/ %feature("compactdefaultargs") Approx_CurveOnSurface; - %feature("autodoc", " :param C2D: - :type C2D: Handle_Adaptor2d_HCurve2d & + %feature("autodoc", ":param C2D: + :type C2D: opencascade::handle & :param Surf: - :type Surf: Handle_Adaptor3d_HSurface & + :type Surf: opencascade::handle & :param First: :type First: float :param Last: @@ -444,39 +323,45 @@ class Approx_CurveOnSurface { :type Only3d: bool :param Only2d: default value is Standard_False :type Only2d: bool - :rtype: None -") Approx_CurveOnSurface; - Approx_CurveOnSurface (const Handle_Adaptor2d_HCurve2d & C2D,const Handle_Adaptor3d_HSurface & 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); - %feature("compactdefaultargs") IsDone; - %feature("autodoc", " :rtype: bool -") IsDone; - Standard_Boolean IsDone (); + :rtype: 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); + + /****************** Curve2d ******************/ + %feature("compactdefaultargs") Curve2d; + %feature("autodoc", ":rtype: opencascade::handle") Curve2d; + opencascade::handle Curve2d (); + + /****************** Curve3d ******************/ + %feature("compactdefaultargs") Curve3d; + %feature("autodoc", ":rtype: opencascade::handle") Curve3d; + opencascade::handle Curve3d (); + + /****************** HasResult ******************/ %feature("compactdefaultargs") HasResult; - %feature("autodoc", " :rtype: bool -") HasResult; + %feature("autodoc", ":rtype: bool") HasResult; Standard_Boolean HasResult (); - %feature("compactdefaultargs") Curve3d; - %feature("autodoc", " :rtype: Handle_Geom_BSplineCurve -") Curve3d; - Handle_Geom_BSplineCurve Curve3d (); - %feature("compactdefaultargs") MaxError3d; - %feature("autodoc", " :rtype: float -") MaxError3d; - Standard_Real MaxError3d (); - %feature("compactdefaultargs") Curve2d; - %feature("autodoc", " :rtype: Handle_Geom2d_BSplineCurve -") Curve2d; - Handle_Geom2d_BSplineCurve Curve2d (); + + /****************** IsDone ******************/ + %feature("compactdefaultargs") IsDone; + %feature("autodoc", ":rtype: bool") IsDone; + Standard_Boolean IsDone (); + + /****************** MaxError2dU ******************/ %feature("compactdefaultargs") MaxError2dU; - %feature("autodoc", " :rtype: float -") MaxError2dU; + %feature("autodoc", ":rtype: float") MaxError2dU; Standard_Real MaxError2dU (); - %feature("compactdefaultargs") MaxError2dV; - %feature("autodoc", " * returns the maximum errors relativly to the U component or the V component of the 2d Curve - :rtype: float -") MaxError2dV; + /****************** MaxError2dV ******************/ + %feature("compactdefaultargs") MaxError2dV; + %feature("autodoc", "* returns the maximum errors relativly to the U component or the V component of the 2d Curve + :rtype: float") MaxError2dV; Standard_Real MaxError2dV (); + + /****************** MaxError3d ******************/ + %feature("compactdefaultargs") MaxError3d; + %feature("autodoc", ":rtype: float") MaxError3d; + Standard_Real MaxError3d (); + }; @@ -485,14 +370,18 @@ class Approx_CurveOnSurface { __repr__ = _dumps_object } }; + +/************************************ +* class Approx_CurvilinearParameter * +************************************/ %nodefaultctor Approx_CurvilinearParameter; class Approx_CurvilinearParameter { public: + /****************** Approx_CurvilinearParameter ******************/ %feature("compactdefaultargs") Approx_CurvilinearParameter; - %feature("autodoc", " * case of a free 3D curve - + %feature("autodoc", "* case of a free 3D curve :param C3D: - :type C3D: Handle_Adaptor3d_HCurve & + :type C3D: opencascade::handle & :param Tol: :type Tol: float :param Order: @@ -501,16 +390,16 @@ class Approx_CurvilinearParameter { :type MaxDegree: int :param MaxSegments: :type MaxSegments: int - :rtype: None -") Approx_CurvilinearParameter; - Approx_CurvilinearParameter (const Handle_Adaptor3d_HCurve & C3D,const Standard_Real Tol,const GeomAbs_Shape Order,const Standard_Integer MaxDegree,const Standard_Integer MaxSegments); - %feature("compactdefaultargs") Approx_CurvilinearParameter; - %feature("autodoc", " * case of a curve on one surface + :rtype: 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 ******************/ + %feature("compactdefaultargs") Approx_CurvilinearParameter; + %feature("autodoc", "* case of a curve on one surface :param C2D: - :type C2D: Handle_Adaptor2d_HCurve2d & + :type C2D: opencascade::handle & :param Surf: - :type Surf: Handle_Adaptor3d_HSurface & + :type Surf: opencascade::handle & :param Tol: :type Tol: float :param Order: @@ -519,20 +408,20 @@ class Approx_CurvilinearParameter { :type MaxDegree: int :param MaxSegments: :type MaxSegments: int - :rtype: None -") Approx_CurvilinearParameter; - Approx_CurvilinearParameter (const Handle_Adaptor2d_HCurve2d & C2D,const Handle_Adaptor3d_HSurface & Surf,const Standard_Real Tol,const GeomAbs_Shape Order,const Standard_Integer MaxDegree,const Standard_Integer MaxSegments); - %feature("compactdefaultargs") Approx_CurvilinearParameter; - %feature("autodoc", " * case of a curve on two surfaces + :rtype: 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 ******************/ + %feature("compactdefaultargs") Approx_CurvilinearParameter; + %feature("autodoc", "* case of a curve on two surfaces :param C2D1: - :type C2D1: Handle_Adaptor2d_HCurve2d & + :type C2D1: opencascade::handle & :param Surf1: - :type Surf1: Handle_Adaptor3d_HSurface & + :type Surf1: opencascade::handle & :param C2D2: - :type C2D2: Handle_Adaptor2d_HCurve2d & + :type C2D2: opencascade::handle & :param Surf2: - :type Surf2: Handle_Adaptor3d_HSurface & + :type Surf2: opencascade::handle & :param Tol: :type Tol: float :param Order: @@ -541,53 +430,27 @@ class Approx_CurvilinearParameter { :type MaxDegree: int :param MaxSegments: :type MaxSegments: int - :rtype: None -") Approx_CurvilinearParameter; - Approx_CurvilinearParameter (const Handle_Adaptor2d_HCurve2d & C2D1,const Handle_Adaptor3d_HSurface & Surf1,const Handle_Adaptor2d_HCurve2d & C2D2,const Handle_Adaptor3d_HSurface & Surf2,const Standard_Real Tol,const GeomAbs_Shape Order,const Standard_Integer MaxDegree,const Standard_Integer MaxSegments); - %feature("compactdefaultargs") IsDone; - %feature("autodoc", " :rtype: bool -") IsDone; - Standard_Boolean IsDone (); - %feature("compactdefaultargs") HasResult; - %feature("autodoc", " :rtype: bool -") HasResult; - Standard_Boolean HasResult (); - %feature("compactdefaultargs") Curve3d; - %feature("autodoc", " * returns the Bspline curve corresponding to the reparametrized 3D curve + :rtype: 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); - :rtype: Handle_Geom_BSplineCurve -") Curve3d; - Handle_Geom_BSplineCurve Curve3d (); - %feature("compactdefaultargs") MaxError3d; - %feature("autodoc", " * returns the maximum error on the reparametrized 3D curve - - :rtype: float -") MaxError3d; - Standard_Real MaxError3d (); + /****************** Curve2d1 ******************/ %feature("compactdefaultargs") Curve2d1; - %feature("autodoc", " * returns the BsplineCurve representing the reparametrized 2D curve on the first surface (case of a curve on one or two surfaces) - - :rtype: Handle_Geom2d_BSplineCurve -") Curve2d1; - Handle_Geom2d_BSplineCurve Curve2d1 (); - %feature("compactdefaultargs") MaxError2d1; - %feature("autodoc", " * returns the maximum error on the first reparametrized 2D curve + %feature("autodoc", "* returns the BsplineCurve representing the reparametrized 2D curve on the first surface (case of a curve on one or two surfaces) + :rtype: opencascade::handle") Curve2d1; + opencascade::handle Curve2d1 (); - :rtype: float -") MaxError2d1; - Standard_Real MaxError2d1 (); + /****************** Curve2d2 ******************/ %feature("compactdefaultargs") Curve2d2; - %feature("autodoc", " * returns the BsplineCurve representing the reparametrized 2D curve on the second surface (case of a curve on two surfaces) + %feature("autodoc", "* returns the BsplineCurve representing the reparametrized 2D curve on the second surface (case of a curve on two surfaces) + :rtype: opencascade::handle") Curve2d2; + opencascade::handle Curve2d2 (); - :rtype: Handle_Geom2d_BSplineCurve -") Curve2d2; - Handle_Geom2d_BSplineCurve Curve2d2 (); - %feature("compactdefaultargs") MaxError2d2; - %feature("autodoc", " * returns the maximum error on the second reparametrized 2D curve + /****************** Curve3d ******************/ + %feature("compactdefaultargs") Curve3d; + %feature("autodoc", "* returns the Bspline curve corresponding to the reparametrized 3D curve + :rtype: opencascade::handle") Curve3d; + opencascade::handle Curve3d (); - :rtype: float -") MaxError2d2; - Standard_Real MaxError2d2 (); %feature("autodoc", "1"); %extend{ @@ -596,7 +459,35 @@ class Approx_CurvilinearParameter { self->Dump(s); return s.str();} }; - }; + /****************** HasResult ******************/ + %feature("compactdefaultargs") HasResult; + %feature("autodoc", ":rtype: bool") HasResult; + Standard_Boolean HasResult (); + + /****************** IsDone ******************/ + %feature("compactdefaultargs") IsDone; + %feature("autodoc", ":rtype: bool") IsDone; + Standard_Boolean IsDone (); + + /****************** MaxError2d1 ******************/ + %feature("compactdefaultargs") MaxError2d1; + %feature("autodoc", "* returns the maximum error on the first reparametrized 2D curve + :rtype: float") MaxError2d1; + Standard_Real MaxError2d1 (); + + /****************** MaxError2d2 ******************/ + %feature("compactdefaultargs") MaxError2d2; + %feature("autodoc", "* returns the maximum error on the second reparametrized 2D curve + :rtype: float") MaxError2d2; + Standard_Real MaxError2d2 (); + + /****************** MaxError3d ******************/ + %feature("compactdefaultargs") MaxError3d; + %feature("autodoc", "* returns the maximum error on the reparametrized 3D curve + :rtype: float") MaxError3d; + Standard_Real MaxError3d (); + +}; %extend Approx_CurvilinearParameter { @@ -604,284 +495,337 @@ class Approx_CurvilinearParameter { __repr__ = _dumps_object } }; + +/*************************** +* class Approx_CurvlinFunc * +***************************/ %nodefaultctor Approx_CurvlinFunc; -class Approx_CurvlinFunc : public MMgt_TShared { +class Approx_CurvlinFunc : public Standard_Transient { public: + /****************** Approx_CurvlinFunc ******************/ %feature("compactdefaultargs") Approx_CurvlinFunc; - %feature("autodoc", " :param C: - :type C: Handle_Adaptor3d_HCurve & + %feature("autodoc", ":param C: + :type C: opencascade::handle & :param Tol: :type Tol: float - :rtype: None -") Approx_CurvlinFunc; - Approx_CurvlinFunc (const Handle_Adaptor3d_HCurve & C,const Standard_Real Tol); + :rtype: None") Approx_CurvlinFunc; + Approx_CurvlinFunc (const opencascade::handle & C,const Standard_Real Tol); + + /****************** Approx_CurvlinFunc ******************/ %feature("compactdefaultargs") Approx_CurvlinFunc; - %feature("autodoc", " :param C2D: - :type C2D: Handle_Adaptor2d_HCurve2d & + %feature("autodoc", ":param C2D: + :type C2D: opencascade::handle & :param S: - :type S: Handle_Adaptor3d_HSurface & + :type S: opencascade::handle & :param Tol: :type Tol: float - :rtype: None -") Approx_CurvlinFunc; - Approx_CurvlinFunc (const Handle_Adaptor2d_HCurve2d & C2D,const Handle_Adaptor3d_HSurface & S,const Standard_Real Tol); + :rtype: None") Approx_CurvlinFunc; + Approx_CurvlinFunc (const opencascade::handle & C2D,const opencascade::handle & S,const Standard_Real Tol); + + /****************** Approx_CurvlinFunc ******************/ %feature("compactdefaultargs") Approx_CurvlinFunc; - %feature("autodoc", " :param C2D1: - :type C2D1: Handle_Adaptor2d_HCurve2d & + %feature("autodoc", ":param C2D1: + :type C2D1: opencascade::handle & :param C2D2: - :type C2D2: Handle_Adaptor2d_HCurve2d & + :type C2D2: opencascade::handle & :param S1: - :type S1: Handle_Adaptor3d_HSurface & + :type S1: opencascade::handle & :param S2: - :type S2: Handle_Adaptor3d_HSurface & - :param Tol: - :type Tol: float - :rtype: None -") Approx_CurvlinFunc; - Approx_CurvlinFunc (const Handle_Adaptor2d_HCurve2d & C2D1,const Handle_Adaptor2d_HCurve2d & C2D2,const Handle_Adaptor3d_HSurface & S1,const Handle_Adaptor3d_HSurface & S2,const Standard_Real Tol); - %feature("compactdefaultargs") SetTol; - %feature("autodoc", " * ---Purpose Update the tolerance to used - - :param Tol: - :type Tol: float - :rtype: None -") SetTol; - void SetTol (const Standard_Real Tol); - %feature("compactdefaultargs") FirstParameter; - %feature("autodoc", " :rtype: float -") FirstParameter; - Standard_Real FirstParameter (); - %feature("compactdefaultargs") LastParameter; - %feature("autodoc", " :rtype: float -") LastParameter; - Standard_Real LastParameter (); - %feature("compactdefaultargs") NbIntervals; - %feature("autodoc", " * Returns the number of intervals for continuity . May be one if Continuity(me) >= - - :param S: - :type S: GeomAbs_Shape - :rtype: int -") NbIntervals; - Standard_Integer NbIntervals (const GeomAbs_Shape S); - %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() - - :param T: - :type T: TColStd_Array1OfReal & - :param S: - :type S: GeomAbs_Shape - :rtype: None -") Intervals; - void Intervals (TColStd_Array1OfReal & T,const GeomAbs_Shape S); - %feature("compactdefaultargs") Trim; - %feature("autodoc", " * if First < 0 or Last > 1 - - :param First: - :type First: float - :param Last: - :type Last: float + :type S2: opencascade::handle & :param Tol: :type Tol: float - :rtype: None -") Trim; - void Trim (const Standard_Real First,const Standard_Real Last,const Standard_Real Tol); - %feature("compactdefaultargs") Length; - %feature("autodoc", " * Computes length of the curve. - - :rtype: None -") Length; - void Length (); - %feature("compactdefaultargs") Length; - %feature("autodoc", " * Computes length of the curve segment. - - :param C: - :type C: Adaptor3d_Curve & - :param FirstU: - :type FirstU: float - :param LasrU: - :type LasrU: float - :rtype: float -") Length; - Standard_Real Length (Adaptor3d_Curve & C,const Standard_Real FirstU,const Standard_Real LasrU); - %feature("compactdefaultargs") GetLength; - %feature("autodoc", " :rtype: float -") GetLength; - Standard_Real GetLength (); - %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. - - :param C: - :type C: Adaptor3d_Curve & - :param S: - :type S: float - :param NumberOfCurve: - :type NumberOfCurve: int - :rtype: float -") GetUParameter; - Standard_Real GetUParameter (Adaptor3d_Curve & C,const Standard_Real S,const Standard_Integer NumberOfCurve); - %feature("compactdefaultargs") GetSParameter; - %feature("autodoc", " * returns original parameter correponding S. + :rtype: 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); - :param U: - :type U: float - :rtype: float -") GetSParameter; - Standard_Real GetSParameter (const Standard_Real U); + /****************** EvalCase1 ******************/ %feature("compactdefaultargs") EvalCase1; - %feature("autodoc", " * if myCase != 1 - + %feature("autodoc", "* if myCase != 1 :param S: :type S: float :param Order: :type Order: int :param Result: :type Result: TColStd_Array1OfReal & - :rtype: bool -") EvalCase1; + :rtype: bool") EvalCase1; Standard_Boolean EvalCase1 (const Standard_Real S,const Standard_Integer Order,TColStd_Array1OfReal & Result); - %feature("compactdefaultargs") EvalCase2; - %feature("autodoc", " * if myCase != 2 + /****************** EvalCase2 ******************/ + %feature("compactdefaultargs") EvalCase2; + %feature("autodoc", "* if myCase != 2 :param S: :type S: float :param Order: :type Order: int :param Result: :type Result: TColStd_Array1OfReal & - :rtype: bool -") EvalCase2; + :rtype: bool") EvalCase2; Standard_Boolean EvalCase2 (const Standard_Real S,const Standard_Integer Order,TColStd_Array1OfReal & Result); - %feature("compactdefaultargs") EvalCase3; - %feature("autodoc", " * if myCase != 3 + /****************** EvalCase3 ******************/ + %feature("compactdefaultargs") EvalCase3; + %feature("autodoc", "* if myCase != 3 :param S: :type S: float :param Order: :type Order: int :param Result: :type Result: TColStd_Array1OfReal & - :rtype: bool -") EvalCase3; + :rtype: bool") EvalCase3; Standard_Boolean EvalCase3 (const Standard_Real S,const Standard_Integer Order,TColStd_Array1OfReal & Result); -}; + /****************** FirstParameter ******************/ + %feature("compactdefaultargs") FirstParameter; + %feature("autodoc", ":rtype: float") FirstParameter; + Standard_Real FirstParameter (); -%make_alias(Approx_CurvlinFunc) + /****************** GetLength ******************/ + %feature("compactdefaultargs") GetLength; + %feature("autodoc", ":rtype: float") GetLength; + Standard_Real GetLength (); -%extend Approx_CurvlinFunc { - %pythoncode { - __repr__ = _dumps_object - } -}; -%nodefaultctor Approx_FitAndDivide; -class Approx_FitAndDivide { - public: - %feature("compactdefaultargs") Approx_FitAndDivide; - %feature("autodoc", " :param Line: - :type Line: AppCont_Function & - :param degreemin: default value is 3 - :type degreemin: int - :param degreemax: default value is 8 - :type degreemax: int - :param Tolerance3d: default value is 1.0e-5 - :type Tolerance3d: float - :param Tolerance2d: default value is 1.0e-5 - :type Tolerance2d: float - :param cutting: default value is Standard_False - :type cutting: bool - :param FirstC: default value is AppParCurves_TangencyPoint - :type FirstC: AppParCurves_Constraint - :param LastC: default value is AppParCurves_TangencyPoint - :type LastC: AppParCurves_Constraint - :rtype: None -") Approx_FitAndDivide; - Approx_FitAndDivide (const AppCont_Function & Line,const Standard_Integer degreemin = 3,const Standard_Integer degreemax = 8,const Standard_Real Tolerance3d = 1.0e-5,const Standard_Real Tolerance2d = 1.0e-5,const Standard_Boolean cutting = Standard_False,const AppParCurves_Constraint FirstC = AppParCurves_TangencyPoint,const AppParCurves_Constraint LastC = AppParCurves_TangencyPoint); - %feature("compactdefaultargs") Approx_FitAndDivide; - %feature("autodoc", " :param degreemin: default value is 3 - :type degreemin: int - :param degreemax: default value is 8 - :type degreemax: int - :param Tolerance3d: default value is 1.0e-05 - :type Tolerance3d: float - :param Tolerance2d: default value is 1.0e-05 - :type Tolerance2d: float - :param cutting: default value is Standard_False - :type cutting: bool - :param FirstC: default value is AppParCurves_TangencyPoint - :type FirstC: AppParCurves_Constraint - :param LastC: default value is AppParCurves_TangencyPoint - :type LastC: AppParCurves_Constraint - :rtype: None -") Approx_FitAndDivide; - Approx_FitAndDivide (const Standard_Integer degreemin = 3,const Standard_Integer degreemax = 8,const Standard_Real Tolerance3d = 1.0e-05,const Standard_Real Tolerance2d = 1.0e-05,const Standard_Boolean cutting = Standard_False,const AppParCurves_Constraint FirstC = AppParCurves_TangencyPoint,const AppParCurves_Constraint LastC = AppParCurves_TangencyPoint); - %feature("compactdefaultargs") Perform; - %feature("autodoc", " :param Line: - :type Line: AppCont_Function & - :rtype: None -") Perform; - void Perform (const AppCont_Function & Line); - %feature("compactdefaultargs") SetDegrees; - %feature("autodoc", " :param degreemin: - :type degreemin: int - :param degreemax: - :type degreemax: int - :rtype: None -") SetDegrees; - void SetDegrees (const Standard_Integer degreemin,const Standard_Integer degreemax); - %feature("compactdefaultargs") SetTolerances; - %feature("autodoc", " :param Tolerance3d: + /****************** GetSParameter ******************/ + %feature("compactdefaultargs") GetSParameter; + %feature("autodoc", "* returns original parameter correponding S. + :param U: + :type U: float + :rtype: float") GetSParameter; + Standard_Real GetSParameter (const Standard_Real U); + + /****************** GetUParameter ******************/ + %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. + :param C: + :type C: Adaptor3d_Curve & + :param S: + :type S: float + :param NumberOfCurve: + :type NumberOfCurve: int + :rtype: float") GetUParameter; + Standard_Real GetUParameter (Adaptor3d_Curve & C,const Standard_Real S,const Standard_Integer NumberOfCurve); + + /****************** Intervals ******************/ + %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() + :param T: + :type T: TColStd_Array1OfReal & + :param S: + :type S: GeomAbs_Shape + :rtype: None") Intervals; + void Intervals (TColStd_Array1OfReal & T,const GeomAbs_Shape S); + + /****************** LastParameter ******************/ + %feature("compactdefaultargs") LastParameter; + %feature("autodoc", ":rtype: float") LastParameter; + Standard_Real LastParameter (); + + /****************** Length ******************/ + %feature("compactdefaultargs") Length; + %feature("autodoc", "* Computes length of the curve. + :rtype: None") Length; + void Length (); + + /****************** Length ******************/ + %feature("compactdefaultargs") Length; + %feature("autodoc", "* Computes length of the curve segment. + :param C: + :type C: Adaptor3d_Curve & + :param FirstU: + :type FirstU: float + :param LasrU: + :type LasrU: float + :rtype: float") Length; + Standard_Real Length (Adaptor3d_Curve & C,const Standard_Real FirstU,const Standard_Real LasrU); + + /****************** NbIntervals ******************/ + %feature("compactdefaultargs") NbIntervals; + %feature("autodoc", "* Returns the number of intervals for continuity . May be one if Continuity(me) >= + :param S: + :type S: GeomAbs_Shape + :rtype: int") NbIntervals; + Standard_Integer NbIntervals (const GeomAbs_Shape S); + + /****************** SetTol ******************/ + %feature("compactdefaultargs") SetTol; + %feature("autodoc", "* ---Purpose Update the tolerance to used + :param Tol: + :type Tol: float + :rtype: None") SetTol; + void SetTol (const Standard_Real Tol); + + /****************** Trim ******************/ + %feature("compactdefaultargs") Trim; + %feature("autodoc", "* if First < 0 or Last > 1 + :param First: + :type First: float + :param Last: + :type Last: float + :param Tol: + :type Tol: float + :rtype: None") Trim; + void Trim (const Standard_Real First,const Standard_Real Last,const Standard_Real Tol); + +}; + + +%make_alias(Approx_CurvlinFunc) + +%extend Approx_CurvlinFunc { + %pythoncode { + __repr__ = _dumps_object + } +}; + +/**************************** +* class Approx_FitAndDivide * +****************************/ +%nodefaultctor Approx_FitAndDivide; +class Approx_FitAndDivide { + public: + /****************** Approx_FitAndDivide ******************/ + %feature("compactdefaultargs") Approx_FitAndDivide; + %feature("autodoc", "* The MultiLine will be approximated until tolerances will be reached. The approximation will be done from degreemin to degreemax with a cutting if the corresponding boolean is True. + :param Line: + :type Line: AppCont_Function & + :param degreemin: default value is 3 + :type degreemin: int + :param degreemax: default value is 8 + :type degreemax: int + :param Tolerance3d: default value is 1.0e-5 :type Tolerance3d: float - :param Tolerance2d: + :param Tolerance2d: default value is 1.0e-5 :type Tolerance2d: float - :rtype: None -") SetTolerances; - void SetTolerances (const Standard_Real Tolerance3d,const Standard_Real Tolerance2d); - %feature("compactdefaultargs") SetConstraints; - %feature("autodoc", " :param FirstC: + :param cutting: default value is Standard_False + :type cutting: bool + :param FirstC: default value is AppParCurves_TangencyPoint :type FirstC: AppParCurves_Constraint - :param LastC: + :param LastC: default value is AppParCurves_TangencyPoint :type LastC: AppParCurves_Constraint - :rtype: None -") SetConstraints; - void SetConstraints (const AppParCurves_Constraint FirstC,const AppParCurves_Constraint LastC); - %feature("compactdefaultargs") IsAllApproximated; - %feature("autodoc", " :rtype: bool -") IsAllApproximated; - Standard_Boolean IsAllApproximated (); - %feature("compactdefaultargs") IsToleranceReached; - %feature("autodoc", " :rtype: bool -") IsToleranceReached; - Standard_Boolean IsToleranceReached (); + :rtype: None") Approx_FitAndDivide; + Approx_FitAndDivide (const AppCont_Function & Line,const Standard_Integer degreemin = 3,const Standard_Integer degreemax = 8,const Standard_Real Tolerance3d = 1.0e-5,const Standard_Real Tolerance2d = 1.0e-5,const Standard_Boolean cutting = Standard_False,const AppParCurves_Constraint FirstC = AppParCurves_TangencyPoint,const AppParCurves_Constraint LastC = AppParCurves_TangencyPoint); + + /****************** Approx_FitAndDivide ******************/ + %feature("compactdefaultargs") Approx_FitAndDivide; + %feature("autodoc", "* Initializes the fields of the algorithm. + :param degreemin: default value is 3 + :type degreemin: int + :param degreemax: default value is 8 + :type degreemax: int + :param Tolerance3d: default value is 1.0e-05 + :type Tolerance3d: float + :param Tolerance2d: default value is 1.0e-05 + :type Tolerance2d: float + :param cutting: default value is Standard_False + :type cutting: bool + :param FirstC: default value is AppParCurves_TangencyPoint + :type FirstC: AppParCurves_Constraint + :param LastC: default value is AppParCurves_TangencyPoint + :type LastC: AppParCurves_Constraint + :rtype: None") Approx_FitAndDivide; + Approx_FitAndDivide (const Standard_Integer degreemin = 3,const Standard_Integer degreemax = 8,const Standard_Real Tolerance3d = 1.0e-05,const Standard_Real Tolerance2d = 1.0e-05,const Standard_Boolean cutting = Standard_False,const AppParCurves_Constraint FirstC = AppParCurves_TangencyPoint,const AppParCurves_Constraint LastC = AppParCurves_TangencyPoint); + + /****************** Error ******************/ %feature("compactdefaultargs") Error; - %feature("autodoc", " :param Index: + %feature("autodoc", "* returns the tolerances 2d and 3d of the MultiCurve. + :param Index: :type Index: int :param tol3d: :type tol3d: float & :param tol2d: :type tol2d: float & - :rtype: None -") Error; + :rtype: None") Error; void Error (const Standard_Integer Index,Standard_Real &OutValue,Standard_Real &OutValue); + + /****************** IsAllApproximated ******************/ + %feature("compactdefaultargs") IsAllApproximated; + %feature("autodoc", "* returns False if at a moment of the approximation, the status NoApproximation has been sent by the user when more points were needed. + :rtype: bool") IsAllApproximated; + Standard_Boolean IsAllApproximated (); + + /****************** IsToleranceReached ******************/ + %feature("compactdefaultargs") IsToleranceReached; + %feature("autodoc", "* returns False if the status NoPointsAdded has been sent. + :rtype: bool") IsToleranceReached; + Standard_Boolean IsToleranceReached (); + + /****************** NbMultiCurves ******************/ %feature("compactdefaultargs") NbMultiCurves; - %feature("autodoc", " :rtype: int -") NbMultiCurves; + %feature("autodoc", "* Returns the number of MultiCurve doing the approximation of the MultiLine. + :rtype: int") NbMultiCurves; Standard_Integer NbMultiCurves (); - %feature("compactdefaultargs") Value; - %feature("autodoc", " :param Index: default value is 1 - :type Index: int - :rtype: AppParCurves_MultiCurve -") Value; - AppParCurves_MultiCurve Value (const Standard_Integer Index = 1); + + /****************** Parameters ******************/ %feature("compactdefaultargs") Parameters; - %feature("autodoc", " :param Index: + %feature("autodoc", ":param Index: :type Index: int :param firstp: :type firstp: float & :param lastp: :type lastp: float & - :rtype: None -") Parameters; + :rtype: None") Parameters; void Parameters (const Standard_Integer Index,Standard_Real &OutValue,Standard_Real &OutValue); + + /****************** Perform ******************/ + %feature("compactdefaultargs") Perform; + %feature("autodoc", "* runs the algorithm after having initialized the fields. + :param Line: + :type Line: AppCont_Function & + :rtype: None") Perform; + void Perform (const AppCont_Function & Line); + + /****************** SetConstraints ******************/ + %feature("compactdefaultargs") SetConstraints; + %feature("autodoc", "* Changes the constraints of the approximation. + :param FirstC: + :type FirstC: AppParCurves_Constraint + :param LastC: + :type LastC: AppParCurves_Constraint + :rtype: None") SetConstraints; + void SetConstraints (const AppParCurves_Constraint FirstC,const AppParCurves_Constraint LastC); + + /****************** SetDegrees ******************/ + %feature("compactdefaultargs") SetDegrees; + %feature("autodoc", "* changes the degrees of the approximation. + :param degreemin: + :type degreemin: int + :param degreemax: + :type degreemax: int + :rtype: None") SetDegrees; + void SetDegrees (const Standard_Integer degreemin,const Standard_Integer degreemax); + + /****************** SetInvOrder ******************/ + %feature("compactdefaultargs") SetInvOrder; + %feature("autodoc", "* Set inverse order of degree selection: if theInvOrdr = true, current degree is chosen by inverse order - from maxdegree to mindegree. By default inverse order is used. + :param theInvOrder: + :type theInvOrder: bool + :rtype: None") SetInvOrder; + void SetInvOrder (const Standard_Boolean theInvOrder); + + /****************** SetMaxSegments ******************/ + %feature("compactdefaultargs") SetMaxSegments; + %feature("autodoc", "* Changes the max number of segments, which is allowed for cutting. + :param theMaxSegments: + :type theMaxSegments: int + :rtype: None") SetMaxSegments; + void SetMaxSegments (const Standard_Integer theMaxSegments); + + /****************** SetTolerances ******************/ + %feature("compactdefaultargs") SetTolerances; + %feature("autodoc", "* Changes the tolerances of the approximation. + :param Tolerance3d: + :type Tolerance3d: float + :param Tolerance2d: + :type Tolerance2d: float + :rtype: None") SetTolerances; + void SetTolerances (const Standard_Real Tolerance3d,const Standard_Real Tolerance2d); + + /****************** Value ******************/ + %feature("compactdefaultargs") Value; + %feature("autodoc", "* returns the approximation MultiCurve of range . + :param Index: default value is 1 + :type Index: int + :rtype: AppParCurves_MultiCurve") Value; + AppParCurves_MultiCurve Value (const Standard_Integer Index = 1); + }; @@ -890,11 +834,17 @@ class Approx_FitAndDivide { __repr__ = _dumps_object } }; + +/****************************** +* class Approx_FitAndDivide2d * +******************************/ %nodefaultctor Approx_FitAndDivide2d; class Approx_FitAndDivide2d { public: + /****************** Approx_FitAndDivide2d ******************/ %feature("compactdefaultargs") Approx_FitAndDivide2d; - %feature("autodoc", " :param Line: + %feature("autodoc", "* The MultiLine will be approximated until tolerances will be reached. The approximation will be done from degreemin to degreemax with a cutting if the corresponding boolean is True. + :param Line: :type Line: AppCont_Function & :param degreemin: default value is 3 :type degreemin: int @@ -910,11 +860,13 @@ class Approx_FitAndDivide2d { :type FirstC: AppParCurves_Constraint :param LastC: default value is AppParCurves_TangencyPoint :type LastC: AppParCurves_Constraint - :rtype: None -") Approx_FitAndDivide2d; + :rtype: None") Approx_FitAndDivide2d; Approx_FitAndDivide2d (const AppCont_Function & Line,const Standard_Integer degreemin = 3,const Standard_Integer degreemax = 8,const Standard_Real Tolerance3d = 1.0e-5,const Standard_Real Tolerance2d = 1.0e-5,const Standard_Boolean cutting = Standard_False,const AppParCurves_Constraint FirstC = AppParCurves_TangencyPoint,const AppParCurves_Constraint LastC = AppParCurves_TangencyPoint); + + /****************** Approx_FitAndDivide2d ******************/ %feature("compactdefaultargs") Approx_FitAndDivide2d; - %feature("autodoc", " :param degreemin: default value is 3 + %feature("autodoc", "* Initializes the fields of the algorithm. + :param degreemin: default value is 3 :type degreemin: int :param degreemax: default value is 8 :type degreemax: int @@ -928,348 +880,168 @@ class Approx_FitAndDivide2d { :type FirstC: AppParCurves_Constraint :param LastC: default value is AppParCurves_TangencyPoint :type LastC: AppParCurves_Constraint - :rtype: None -") Approx_FitAndDivide2d; + :rtype: None") Approx_FitAndDivide2d; Approx_FitAndDivide2d (const Standard_Integer degreemin = 3,const Standard_Integer degreemax = 8,const Standard_Real Tolerance3d = 1.0e-05,const Standard_Real Tolerance2d = 1.0e-05,const Standard_Boolean cutting = Standard_False,const AppParCurves_Constraint FirstC = AppParCurves_TangencyPoint,const AppParCurves_Constraint LastC = AppParCurves_TangencyPoint); - %feature("compactdefaultargs") Perform; - %feature("autodoc", " :param Line: - :type Line: AppCont_Function & - :rtype: None -") Perform; - void Perform (const AppCont_Function & Line); - %feature("compactdefaultargs") SetDegrees; - %feature("autodoc", " :param degreemin: - :type degreemin: int - :param degreemax: - :type degreemax: int - :rtype: None -") SetDegrees; - void SetDegrees (const Standard_Integer degreemin,const Standard_Integer degreemax); - %feature("compactdefaultargs") SetTolerances; - %feature("autodoc", " :param Tolerance3d: - :type Tolerance3d: float - :param Tolerance2d: - :type Tolerance2d: float - :rtype: None -") SetTolerances; - void SetTolerances (const Standard_Real Tolerance3d,const Standard_Real Tolerance2d); - %feature("compactdefaultargs") SetConstraints; - %feature("autodoc", " :param FirstC: - :type FirstC: AppParCurves_Constraint - :param LastC: - :type LastC: AppParCurves_Constraint - :rtype: None -") SetConstraints; - void SetConstraints (const AppParCurves_Constraint FirstC,const AppParCurves_Constraint LastC); - %feature("compactdefaultargs") IsAllApproximated; - %feature("autodoc", " :rtype: bool -") IsAllApproximated; - Standard_Boolean IsAllApproximated (); - %feature("compactdefaultargs") IsToleranceReached; - %feature("autodoc", " :rtype: bool -") IsToleranceReached; - Standard_Boolean IsToleranceReached (); + + /****************** Error ******************/ %feature("compactdefaultargs") Error; - %feature("autodoc", " :param Index: + %feature("autodoc", "* returns the tolerances 2d and 3d of the MultiCurve. + :param Index: :type Index: int :param tol3d: :type tol3d: float & :param tol2d: :type tol2d: float & - :rtype: None -") Error; + :rtype: None") Error; void Error (const Standard_Integer Index,Standard_Real &OutValue,Standard_Real &OutValue); + + /****************** IsAllApproximated ******************/ + %feature("compactdefaultargs") IsAllApproximated; + %feature("autodoc", "* returns False if at a moment of the approximation, the status NoApproximation has been sent by the user when more points were needed. + :rtype: bool") IsAllApproximated; + Standard_Boolean IsAllApproximated (); + + /****************** IsToleranceReached ******************/ + %feature("compactdefaultargs") IsToleranceReached; + %feature("autodoc", "* returns False if the status NoPointsAdded has been sent. + :rtype: bool") IsToleranceReached; + Standard_Boolean IsToleranceReached (); + + /****************** NbMultiCurves ******************/ %feature("compactdefaultargs") NbMultiCurves; - %feature("autodoc", " :rtype: int -") NbMultiCurves; + %feature("autodoc", "* Returns the number of MultiCurve doing the approximation of the MultiLine. + :rtype: int") NbMultiCurves; Standard_Integer NbMultiCurves (); - %feature("compactdefaultargs") Value; - %feature("autodoc", " :param Index: default value is 1 - :type Index: int - :rtype: AppParCurves_MultiCurve -") Value; - AppParCurves_MultiCurve Value (const Standard_Integer Index = 1); + + /****************** Parameters ******************/ %feature("compactdefaultargs") Parameters; - %feature("autodoc", " :param Index: + %feature("autodoc", ":param Index: :type Index: int :param firstp: :type firstp: float & :param lastp: :type lastp: float & - :rtype: None -") Parameters; + :rtype: None") Parameters; void Parameters (const Standard_Integer Index,Standard_Real &OutValue,Standard_Real &OutValue); -}; + /****************** Perform ******************/ + %feature("compactdefaultargs") Perform; + %feature("autodoc", "* runs the algorithm after having initialized the fields. + :param Line: + :type Line: AppCont_Function & + :rtype: None") Perform; + void Perform (const AppCont_Function & Line); -%extend Approx_FitAndDivide2d { - %pythoncode { - __repr__ = _dumps_object - } -}; -%nodefaultctor Approx_HArray1OfAdHSurface; -class Approx_HArray1OfAdHSurface : public MMgt_TShared { - public: - %feature("compactdefaultargs") Approx_HArray1OfAdHSurface; - %feature("autodoc", " :param Low: - :type Low: int - :param Up: - :type Up: int - :rtype: None -") Approx_HArray1OfAdHSurface; - Approx_HArray1OfAdHSurface (const Standard_Integer Low,const Standard_Integer Up); - %feature("compactdefaultargs") Approx_HArray1OfAdHSurface; - %feature("autodoc", " :param Low: - :type Low: int - :param Up: - :type Up: int - :param V: - :type V: Handle_Adaptor3d_HSurface & - :rtype: None -") Approx_HArray1OfAdHSurface; - Approx_HArray1OfAdHSurface (const Standard_Integer Low,const Standard_Integer Up,const Handle_Adaptor3d_HSurface & V); - %feature("compactdefaultargs") Init; - %feature("autodoc", " :param V: - :type V: Handle_Adaptor3d_HSurface & - :rtype: None -") Init; - void Init (const Handle_Adaptor3d_HSurface & V); - %feature("compactdefaultargs") Length; - %feature("autodoc", " :rtype: int -") Length; - Standard_Integer Length (); - %feature("compactdefaultargs") Lower; - %feature("autodoc", " :rtype: int -") Lower; - Standard_Integer Lower (); - %feature("compactdefaultargs") Upper; - %feature("autodoc", " :rtype: int -") Upper; - Standard_Integer Upper (); - %feature("compactdefaultargs") SetValue; - %feature("autodoc", " :param Index: - :type Index: int - :param Value: - :type Value: Handle_Adaptor3d_HSurface & - :rtype: None -") SetValue; - void SetValue (const Standard_Integer Index,const Handle_Adaptor3d_HSurface & Value); - %feature("compactdefaultargs") Value; - %feature("autodoc", " :param Index: - :type Index: int - :rtype: Handle_Adaptor3d_HSurface -") Value; - Handle_Adaptor3d_HSurface Value (const Standard_Integer Index); - %feature("compactdefaultargs") ChangeValue; - %feature("autodoc", " :param Index: - :type Index: int - :rtype: Handle_Adaptor3d_HSurface -") ChangeValue; - Handle_Adaptor3d_HSurface ChangeValue (const Standard_Integer Index); - %feature("compactdefaultargs") Array1; - %feature("autodoc", " :rtype: Approx_Array1OfAdHSurface -") Array1; - const Approx_Array1OfAdHSurface & Array1 (); - %feature("compactdefaultargs") ChangeArray1; - %feature("autodoc", " :rtype: Approx_Array1OfAdHSurface -") ChangeArray1; - Approx_Array1OfAdHSurface & ChangeArray1 (); -}; - - -%make_alias(Approx_HArray1OfAdHSurface) - - -%extend Approx_HArray1OfAdHSurface { - %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 + /****************** SetConstraints ******************/ + %feature("compactdefaultargs") SetConstraints; + %feature("autodoc", "* Changes the constraints of the approximation. + :param FirstC: + :type FirstC: AppParCurves_Constraint + :param LastC: + :type LastC: AppParCurves_Constraint + :rtype: None") SetConstraints; + void SetConstraints (const AppParCurves_Constraint FirstC,const AppParCurves_Constraint LastC); - def next(self): - if self.current >= self.Upper(): - raise StopIteration - else: - self.current +=1 - return self.Value(self.current) + /****************** SetDegrees ******************/ + %feature("compactdefaultargs") SetDegrees; + %feature("autodoc", "* changes the degrees of the approximation. + :param degreemin: + :type degreemin: int + :param degreemax: + :type degreemax: int + :rtype: None") SetDegrees; + void SetDegrees (const Standard_Integer degreemin,const Standard_Integer degreemax); - __next__ = next + /****************** SetInvOrder ******************/ + %feature("compactdefaultargs") SetInvOrder; + %feature("autodoc", "* Set inverse order of degree selection: if theInvOrdr = true, current degree is chosen by inverse order - from maxdegree to mindegree. By default inverse order is used. + :param theInvOrder: + :type theInvOrder: bool + :rtype: None") SetInvOrder; + void SetInvOrder (const Standard_Boolean theInvOrder); + + /****************** SetMaxSegments ******************/ + %feature("compactdefaultargs") SetMaxSegments; + %feature("autodoc", "* Changes the max number of segments, which is allowed for cutting. + :param theMaxSegments: + :type theMaxSegments: int + :rtype: None") SetMaxSegments; + void SetMaxSegments (const Standard_Integer theMaxSegments); + + /****************** SetTolerances ******************/ + %feature("compactdefaultargs") SetTolerances; + %feature("autodoc", "* Changes the tolerances of the approximation. + :param Tolerance3d: + :type Tolerance3d: float + :param Tolerance2d: + :type Tolerance2d: float + :rtype: None") SetTolerances; + void SetTolerances (const Standard_Real Tolerance3d,const Standard_Real Tolerance2d); - } -}; -%extend Approx_HArray1OfAdHSurface { - %pythoncode { - __repr__ = _dumps_object - } -}; -%nodefaultctor Approx_HArray1OfGTrsf2d; -class Approx_HArray1OfGTrsf2d : public MMgt_TShared { - public: - %feature("compactdefaultargs") Approx_HArray1OfGTrsf2d; - %feature("autodoc", " :param Low: - :type Low: int - :param Up: - :type Up: int - :rtype: None -") Approx_HArray1OfGTrsf2d; - Approx_HArray1OfGTrsf2d (const Standard_Integer Low,const Standard_Integer Up); - %feature("compactdefaultargs") Approx_HArray1OfGTrsf2d; - %feature("autodoc", " :param Low: - :type Low: int - :param Up: - :type Up: int - :param V: - :type V: gp_GTrsf2d - :rtype: None -") Approx_HArray1OfGTrsf2d; - Approx_HArray1OfGTrsf2d (const Standard_Integer Low,const Standard_Integer Up,const gp_GTrsf2d & V); - %feature("compactdefaultargs") Init; - %feature("autodoc", " :param V: - :type V: gp_GTrsf2d - :rtype: None -") Init; - void Init (const gp_GTrsf2d & V); - %feature("compactdefaultargs") Length; - %feature("autodoc", " :rtype: int -") Length; - Standard_Integer Length (); - %feature("compactdefaultargs") Lower; - %feature("autodoc", " :rtype: int -") Lower; - Standard_Integer Lower (); - %feature("compactdefaultargs") Upper; - %feature("autodoc", " :rtype: int -") Upper; - Standard_Integer Upper (); - %feature("compactdefaultargs") SetValue; - %feature("autodoc", " :param Index: - :type Index: int - :param Value: - :type Value: gp_GTrsf2d - :rtype: None -") SetValue; - void SetValue (const Standard_Integer Index,const gp_GTrsf2d & Value); + /****************** Value ******************/ %feature("compactdefaultargs") Value; - %feature("autodoc", " :param Index: + %feature("autodoc", "* returns the approximation MultiCurve of range . + :param Index: default value is 1 :type Index: int - :rtype: gp_GTrsf2d -") Value; - const gp_GTrsf2d Value (const Standard_Integer Index); - %feature("compactdefaultargs") ChangeValue; - %feature("autodoc", " :param Index: - :type Index: int - :rtype: gp_GTrsf2d -") ChangeValue; - gp_GTrsf2d ChangeValue (const Standard_Integer Index); - %feature("compactdefaultargs") Array1; - %feature("autodoc", " :rtype: Approx_Array1OfGTrsf2d -") Array1; - const Approx_Array1OfGTrsf2d & Array1 (); - %feature("compactdefaultargs") ChangeArray1; - %feature("autodoc", " :rtype: Approx_Array1OfGTrsf2d -") ChangeArray1; - Approx_Array1OfGTrsf2d & ChangeArray1 (); -}; - - -%make_alias(Approx_HArray1OfGTrsf2d) - - -%extend Approx_HArray1OfGTrsf2d { - %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 + :rtype: AppParCurves_MultiCurve") Value; + AppParCurves_MultiCurve Value (const Standard_Integer Index = 1); - def next(self): - if self.current >= self.Upper(): - raise StopIteration - else: - self.current +=1 - return self.Value(self.current) +}; - __next__ = next - } -}; -%extend Approx_HArray1OfGTrsf2d { +%extend Approx_FitAndDivide2d { %pythoncode { __repr__ = _dumps_object } }; + +/********************************* +* class Approx_MCurvesToBSpCurve * +*********************************/ %nodefaultctor Approx_MCurvesToBSpCurve; class Approx_MCurvesToBSpCurve { public: - %feature("compactdefaultargs") Approx_MCurvesToBSpCurve; - %feature("autodoc", " :rtype: None -") Approx_MCurvesToBSpCurve; - Approx_MCurvesToBSpCurve (); - %feature("compactdefaultargs") Reset; - %feature("autodoc", " :rtype: None -") Reset; - void Reset (); + /****************** Append ******************/ %feature("compactdefaultargs") Append; - %feature("autodoc", " :param MC: + %feature("autodoc", ":param MC: :type MC: AppParCurves_MultiCurve & - :rtype: None -") Append; + :rtype: None") Append; void Append (const AppParCurves_MultiCurve & MC); + + /****************** Approx_MCurvesToBSpCurve ******************/ + %feature("compactdefaultargs") Approx_MCurvesToBSpCurve; + %feature("autodoc", ":rtype: None") Approx_MCurvesToBSpCurve; + Approx_MCurvesToBSpCurve (); + + /****************** ChangeValue ******************/ + %feature("compactdefaultargs") ChangeValue; + %feature("autodoc", "* return the composite MultiCurves as a MultiBSpCurve. + :rtype: AppParCurves_MultiBSpCurve") ChangeValue; + const AppParCurves_MultiBSpCurve & ChangeValue (); + + /****************** Perform ******************/ %feature("compactdefaultargs") Perform; - %feature("autodoc", " :rtype: None -") Perform; + %feature("autodoc", ":rtype: None") Perform; void Perform (); + + /****************** Perform ******************/ %feature("compactdefaultargs") Perform; - %feature("autodoc", " :param TheSeq: + %feature("autodoc", ":param TheSeq: :type TheSeq: AppParCurves_SequenceOfMultiCurve & - :rtype: None -") Perform; + :rtype: None") Perform; void Perform (const AppParCurves_SequenceOfMultiCurve & TheSeq); - %feature("compactdefaultargs") Value; - %feature("autodoc", " * return the composite MultiCurves as a MultiBSpCurve. - :rtype: AppParCurves_MultiBSpCurve -") Value; + /****************** Reset ******************/ + %feature("compactdefaultargs") Reset; + %feature("autodoc", ":rtype: None") Reset; + void Reset (); + + /****************** Value ******************/ + %feature("compactdefaultargs") Value; + %feature("autodoc", "* return the composite MultiCurves as a MultiBSpCurve. + :rtype: AppParCurves_MultiBSpCurve") Value; const AppParCurves_MultiBSpCurve & Value (); - %feature("compactdefaultargs") ChangeValue; - %feature("autodoc", " * return the composite MultiCurves as a MultiBSpCurve. - :rtype: AppParCurves_MultiBSpCurve -") ChangeValue; - const AppParCurves_MultiBSpCurve & ChangeValue (); }; @@ -1278,69 +1050,76 @@ class Approx_MCurvesToBSpCurve { __repr__ = _dumps_object } }; + +/***************************** +* class Approx_SameParameter * +*****************************/ %nodefaultctor Approx_SameParameter; class Approx_SameParameter { public: + /****************** Approx_SameParameter ******************/ %feature("compactdefaultargs") Approx_SameParameter; - %feature("autodoc", " * Warning: the C3D and C2D must have the same parametric domain. - + %feature("autodoc", "* Warning: the C3D and C2D must have the same parametric domain. :param C3D: - :type C3D: Handle_Geom_Curve & + :type C3D: opencascade::handle & :param C2D: - :type C2D: Handle_Geom2d_Curve & + :type C2D: opencascade::handle & :param S: - :type S: Handle_Geom_Surface & + :type S: opencascade::handle & :param Tol: :type Tol: float - :rtype: None -") Approx_SameParameter; - Approx_SameParameter (const Handle_Geom_Curve & C3D,const Handle_Geom2d_Curve & C2D,const Handle_Geom_Surface & S,const Standard_Real Tol); + :rtype: None") Approx_SameParameter; + Approx_SameParameter (const opencascade::handle & C3D,const opencascade::handle & C2D,const opencascade::handle & S,const Standard_Real Tol); + + /****************** Approx_SameParameter ******************/ %feature("compactdefaultargs") Approx_SameParameter; - %feature("autodoc", " :param C3D: - :type C3D: Handle_Adaptor3d_HCurve & + %feature("autodoc", ":param C3D: + :type C3D: opencascade::handle & :param C2D: - :type C2D: Handle_Geom2d_Curve & + :type C2D: opencascade::handle & :param S: - :type S: Handle_Adaptor3d_HSurface & + :type S: opencascade::handle & :param Tol: :type Tol: float - :rtype: None -") Approx_SameParameter; - Approx_SameParameter (const Handle_Adaptor3d_HCurve & C3D,const Handle_Geom2d_Curve & C2D,const Handle_Adaptor3d_HSurface & S,const Standard_Real Tol); - %feature("compactdefaultargs") Approx_SameParameter; - %feature("autodoc", " * Warning: the C3D and C2D must have the same parametric domain. + :rtype: None") Approx_SameParameter; + Approx_SameParameter (const opencascade::handle & C3D,const opencascade::handle & C2D,const opencascade::handle & S,const Standard_Real Tol); + /****************** Approx_SameParameter ******************/ + %feature("compactdefaultargs") Approx_SameParameter; + %feature("autodoc", "* Warning: the C3D and C2D must have the same parametric domain. :param C3D: - :type C3D: Handle_Adaptor3d_HCurve & + :type C3D: opencascade::handle & :param C2D: - :type C2D: Handle_Adaptor2d_HCurve2d & + :type C2D: opencascade::handle & :param S: - :type S: Handle_Adaptor3d_HSurface & + :type S: opencascade::handle & :param Tol: :type Tol: float - :rtype: None -") Approx_SameParameter; - Approx_SameParameter (const Handle_Adaptor3d_HCurve & C3D,const Handle_Adaptor2d_HCurve2d & C2D,const Handle_Adaptor3d_HSurface & S,const Standard_Real Tol); + :rtype: None") Approx_SameParameter; + Approx_SameParameter (const opencascade::handle & C3D,const opencascade::handle & C2D,const opencascade::handle & S,const Standard_Real Tol); + + /****************** Curve2d ******************/ + %feature("compactdefaultargs") Curve2d; + %feature("autodoc", "* Returns the 2D curve that has the same parameter as the 3D curve once evaluated on the surface up to the specified tolerance + :rtype: opencascade::handle") Curve2d; + opencascade::handle Curve2d (); + + /****************** IsDone ******************/ %feature("compactdefaultargs") IsDone; - %feature("autodoc", " :rtype: bool -") IsDone; + %feature("autodoc", ":rtype: bool") IsDone; Standard_Boolean IsDone (); - %feature("compactdefaultargs") TolReached; - %feature("autodoc", " :rtype: float -") TolReached; - Standard_Real TolReached (); - %feature("compactdefaultargs") IsSameParameter; - %feature("autodoc", " * Tells whether the original data had already the same parameter up to the tolerance : in that case nothing is done. - :rtype: bool -") IsSameParameter; + /****************** IsSameParameter ******************/ + %feature("compactdefaultargs") IsSameParameter; + %feature("autodoc", "* Tells whether the original data had already the same parameter up to the tolerance : in that case nothing is done. + :rtype: bool") IsSameParameter; Standard_Boolean IsSameParameter (); - %feature("compactdefaultargs") Curve2d; - %feature("autodoc", " * Returns the 2D curve that has the same parameter as the 3D curve once evaluated on the surface up to the specified tolerance - :rtype: Handle_Geom2d_BSplineCurve -") Curve2d; - Handle_Geom2d_BSplineCurve Curve2d (); + /****************** TolReached ******************/ + %feature("compactdefaultargs") TolReached; + %feature("autodoc", ":rtype: float") TolReached; + Standard_Real TolReached (); + }; @@ -1349,258 +1128,132 @@ class Approx_SameParameter { __repr__ = _dumps_object } }; -%nodefaultctor Approx_SequenceNodeOfSequenceOfHArray1OfReal; -class Approx_SequenceNodeOfSequenceOfHArray1OfReal : public TCollection_SeqNode { - public: - %feature("compactdefaultargs") Approx_SequenceNodeOfSequenceOfHArray1OfReal; - %feature("autodoc", " :param I: - :type I: Handle_TColStd_HArray1OfReal & - :param n: - :type n: TCollection_SeqNodePtr & - :param p: - :type p: TCollection_SeqNodePtr & - :rtype: None -") Approx_SequenceNodeOfSequenceOfHArray1OfReal; - Approx_SequenceNodeOfSequenceOfHArray1OfReal (const Handle_TColStd_HArray1OfReal & I,const TCollection_SeqNodePtr & n,const TCollection_SeqNodePtr & p); - %feature("compactdefaultargs") Value; - %feature("autodoc", " :rtype: Handle_TColStd_HArray1OfReal -") Value; - Handle_TColStd_HArray1OfReal Value (); -}; - - -%make_alias(Approx_SequenceNodeOfSequenceOfHArray1OfReal) - -%extend Approx_SequenceNodeOfSequenceOfHArray1OfReal { - %pythoncode { - def __getitem__(self, index): - if index + self.Lower() > self.Upper(): - raise IndexError("index out of range") - else: - return self.Value(index + self.Lower()) +/********************************** +* class Approx_SweepApproximation * +**********************************/ +%nodefaultctor Approx_SweepApproximation; +class Approx_SweepApproximation { + public: + /****************** Approx_SweepApproximation ******************/ + %feature("compactdefaultargs") Approx_SweepApproximation; + %feature("autodoc", ":param Func: + :type Func: opencascade::handle & + :rtype: None") Approx_SweepApproximation; + Approx_SweepApproximation (const opencascade::handle & Func); - def __setitem__(self, index, value): - if index + self.Lower() > self.Upper(): - raise IndexError("index out of range") - else: - self.SetValue(index + self.Lower(), value) + /****************** Average2dError ******************/ + %feature("compactdefaultargs") Average2dError; + %feature("autodoc", "* returns the average error of the 2d curve approximation. + :param Index: + :type Index: int + :rtype: float") Average2dError; + Standard_Real Average2dError (const Standard_Integer Index); - def __len__(self): - return self.Length() + /****************** AverageErrorOnSurf ******************/ + %feature("compactdefaultargs") AverageErrorOnSurf; + %feature("autodoc", "* returns the average error in the suface approximation. + :rtype: float") AverageErrorOnSurf; + Standard_Real AverageErrorOnSurf (); - def __iter__(self): - self.low = self.Lower() - self.up = self.Upper() - self.current = self.Lower() - 1 - return self + /****************** Curve2d ******************/ + %feature("compactdefaultargs") Curve2d; + %feature("autodoc", ":param Index: + :type Index: int + :param TPoles: + :type TPoles: TColgp_Array1OfPnt2d + :param TKnots: + :type TKnots: TColStd_Array1OfReal & + :param TMults: + :type TMults: TColStd_Array1OfInteger & + :rtype: None") Curve2d; + void Curve2d (const Standard_Integer Index,TColgp_Array1OfPnt2d & TPoles,TColStd_Array1OfReal & TKnots,TColStd_Array1OfInteger & TMults); - def next(self): - if self.current >= self.Upper(): - raise StopIteration - else: - self.current +=1 - return self.Value(self.current) + /****************** Curve2dPoles ******************/ + %feature("compactdefaultargs") Curve2dPoles; + %feature("autodoc", ":param Index: + :type Index: int + :rtype: TColgp_Array1OfPnt2d") Curve2dPoles; + const TColgp_Array1OfPnt2d & Curve2dPoles (const Standard_Integer Index); - __next__ = next + /****************** Curves2dDegree ******************/ + %feature("compactdefaultargs") Curves2dDegree; + %feature("autodoc", ":rtype: int") Curves2dDegree; + Standard_Integer Curves2dDegree (); - } -}; -%extend Approx_SequenceNodeOfSequenceOfHArray1OfReal { - %pythoncode { - __repr__ = _dumps_object - } -}; -%nodefaultctor Approx_SequenceOfHArray1OfReal; -class Approx_SequenceOfHArray1OfReal : public TCollection_BaseSequence { - public: - %feature("compactdefaultargs") Approx_SequenceOfHArray1OfReal; - %feature("autodoc", " :rtype: None -") Approx_SequenceOfHArray1OfReal; - Approx_SequenceOfHArray1OfReal (); - %feature("compactdefaultargs") Approx_SequenceOfHArray1OfReal; - %feature("autodoc", " :param Other: - :type Other: Approx_SequenceOfHArray1OfReal & - :rtype: None -") Approx_SequenceOfHArray1OfReal; - Approx_SequenceOfHArray1OfReal (const Approx_SequenceOfHArray1OfReal & Other); - %feature("compactdefaultargs") Clear; - %feature("autodoc", " :rtype: None -") Clear; - void Clear (); - %feature("compactdefaultargs") Assign; - %feature("autodoc", " :param Other: - :type Other: Approx_SequenceOfHArray1OfReal & - :rtype: Approx_SequenceOfHArray1OfReal -") Assign; - const Approx_SequenceOfHArray1OfReal & Assign (const Approx_SequenceOfHArray1OfReal & Other); - %feature("compactdefaultargs") operator =; - %feature("autodoc", " :param Other: - :type Other: Approx_SequenceOfHArray1OfReal & - :rtype: Approx_SequenceOfHArray1OfReal -") operator =; - const Approx_SequenceOfHArray1OfReal & operator = (const Approx_SequenceOfHArray1OfReal & Other); - %feature("compactdefaultargs") Append; - %feature("autodoc", " :param T: - :type T: Handle_TColStd_HArray1OfReal & - :rtype: None -") Append; - void Append (const Handle_TColStd_HArray1OfReal & T); - %feature("compactdefaultargs") Append; - %feature("autodoc", " :param S: - :type S: Approx_SequenceOfHArray1OfReal & - :rtype: None -") Append; - void Append (Approx_SequenceOfHArray1OfReal & S); - %feature("compactdefaultargs") Prepend; - %feature("autodoc", " :param T: - :type T: Handle_TColStd_HArray1OfReal & - :rtype: None -") Prepend; - void Prepend (const Handle_TColStd_HArray1OfReal & T); - %feature("compactdefaultargs") Prepend; - %feature("autodoc", " :param S: - :type S: Approx_SequenceOfHArray1OfReal & - :rtype: None -") Prepend; - void Prepend (Approx_SequenceOfHArray1OfReal & S); - %feature("compactdefaultargs") InsertBefore; - %feature("autodoc", " :param Index: - :type Index: int - :param T: - :type T: Handle_TColStd_HArray1OfReal & - :rtype: None -") InsertBefore; - void InsertBefore (const Standard_Integer Index,const Handle_TColStd_HArray1OfReal & T); - %feature("compactdefaultargs") InsertBefore; - %feature("autodoc", " :param Index: - :type Index: int - :param S: - :type S: Approx_SequenceOfHArray1OfReal & - :rtype: None -") InsertBefore; - void InsertBefore (const Standard_Integer Index,Approx_SequenceOfHArray1OfReal & S); - %feature("compactdefaultargs") InsertAfter; - %feature("autodoc", " :param Index: - :type Index: int - :param T: - :type T: Handle_TColStd_HArray1OfReal & - :rtype: None -") InsertAfter; - void InsertAfter (const Standard_Integer Index,const Handle_TColStd_HArray1OfReal & T); - %feature("compactdefaultargs") InsertAfter; - %feature("autodoc", " :param Index: - :type Index: int - :param S: - :type S: Approx_SequenceOfHArray1OfReal & - :rtype: None -") InsertAfter; - void InsertAfter (const Standard_Integer Index,Approx_SequenceOfHArray1OfReal & S); - %feature("compactdefaultargs") First; - %feature("autodoc", " :rtype: Handle_TColStd_HArray1OfReal -") First; - Handle_TColStd_HArray1OfReal First (); - %feature("compactdefaultargs") Last; - %feature("autodoc", " :rtype: Handle_TColStd_HArray1OfReal -") Last; - Handle_TColStd_HArray1OfReal Last (); - %feature("compactdefaultargs") Split; - %feature("autodoc", " :param Index: - :type Index: int - :param Sub: - :type Sub: Approx_SequenceOfHArray1OfReal & - :rtype: None -") Split; - void Split (const Standard_Integer Index,Approx_SequenceOfHArray1OfReal & Sub); - %feature("compactdefaultargs") Value; - %feature("autodoc", " :param Index: - :type Index: int - :rtype: Handle_TColStd_HArray1OfReal -") Value; - Handle_TColStd_HArray1OfReal Value (const Standard_Integer Index); - %feature("compactdefaultargs") SetValue; - %feature("autodoc", " :param Index: - :type Index: int - :param I: - :type I: Handle_TColStd_HArray1OfReal & - :rtype: None -") SetValue; - void SetValue (const Standard_Integer Index,const Handle_TColStd_HArray1OfReal & I); - %feature("compactdefaultargs") ChangeValue; - %feature("autodoc", " :param Index: - :type Index: int - :rtype: Handle_TColStd_HArray1OfReal -") ChangeValue; - Handle_TColStd_HArray1OfReal ChangeValue (const Standard_Integer Index); - %feature("compactdefaultargs") Remove; - %feature("autodoc", " :param Index: - :type Index: int - :rtype: None -") Remove; - void Remove (const Standard_Integer Index); - %feature("compactdefaultargs") Remove; - %feature("autodoc", " :param FromIndex: - :type FromIndex: int - :param ToIndex: - :type ToIndex: int - :rtype: None -") Remove; - void Remove (const Standard_Integer FromIndex,const Standard_Integer ToIndex); -}; + /****************** Curves2dKnots ******************/ + %feature("compactdefaultargs") Curves2dKnots; + %feature("autodoc", ":rtype: TColStd_Array1OfReal") Curves2dKnots; + const TColStd_Array1OfReal & Curves2dKnots (); + /****************** Curves2dMults ******************/ + %feature("compactdefaultargs") Curves2dMults; + %feature("autodoc", ":rtype: TColStd_Array1OfInteger") Curves2dMults; + const TColStd_Array1OfInteger & Curves2dMults (); + /****************** Curves2dShape ******************/ + %feature("compactdefaultargs") Curves2dShape; + %feature("autodoc", ":param Degree: + :type Degree: int & + :param NbPoles: + :type NbPoles: int & + :param NbKnots: + :type NbKnots: int & + :rtype: None") Curves2dShape; + void Curves2dShape (Standard_Integer &OutValue,Standard_Integer &OutValue,Standard_Integer &OutValue); -%extend Approx_SequenceOfHArray1OfReal { - %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) + %feature("autodoc", "1"); + %extend{ + std::string DumpToString() { + std::stringstream s; + self->Dump(s); + return s.str();} + }; + /****************** Eval ******************/ + %feature("compactdefaultargs") Eval; + %feature("autodoc", "* The EvaluatorFunction from AdvApprox; + :param Parameter: + :type Parameter: float + :param DerivativeRequest: + :type DerivativeRequest: int + :param First: + :type First: float + :param Last: + :type Last: float + :param Result: + :type Result: float & + :rtype: int") Eval; + Standard_Integer Eval (const Standard_Real Parameter,const Standard_Integer DerivativeRequest,const Standard_Real First,const Standard_Real Last,Standard_Real &OutValue); - def __len__(self): - return self.Length() + /****************** IsDone ******************/ + %feature("compactdefaultargs") IsDone; + %feature("autodoc", "* returns if we have an result + :rtype: bool") IsDone; + Standard_Boolean IsDone (); - def __iter__(self): - self.low = self.Lower() - self.up = self.Upper() - self.current = self.Lower() - 1 - return self + /****************** Max2dError ******************/ + %feature("compactdefaultargs") Max2dError; + %feature("autodoc", "* returns the maximum error of the 2d curve approximation. + :param Index: + :type Index: int + :rtype: float") Max2dError; + Standard_Real Max2dError (const Standard_Integer Index); - def next(self): - if self.current >= self.Upper(): - raise StopIteration - else: - self.current +=1 - return self.Value(self.current) + /****************** MaxErrorOnSurf ******************/ + %feature("compactdefaultargs") MaxErrorOnSurf; + %feature("autodoc", "* returns the maximum error in the suface approximation. + :rtype: float") MaxErrorOnSurf; + Standard_Real MaxErrorOnSurf (); - __next__ = next + /****************** NbCurves2d ******************/ + %feature("compactdefaultargs") NbCurves2d; + %feature("autodoc", ":rtype: int") NbCurves2d; + Standard_Integer NbCurves2d (); - } -}; -%extend Approx_SequenceOfHArray1OfReal { - %pythoncode { - __repr__ = _dumps_object - } -}; -%nodefaultctor Approx_SweepApproximation; -class Approx_SweepApproximation { - public: - %feature("compactdefaultargs") Approx_SweepApproximation; - %feature("autodoc", " :param Func: - :type Func: Handle_Approx_SweepFunction & - :rtype: None -") Approx_SweepApproximation; - Approx_SweepApproximation (const Handle_Approx_SweepFunction & Func); + /****************** Perform ******************/ %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 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 :param First: :type First: float :param Last: @@ -1619,33 +1272,17 @@ class Approx_SweepApproximation { :type Degmax: int :param Segmax: default value is 50 :type Segmax: int - :rtype: None -") Perform; + :rtype: None") Perform; void Perform (const Standard_Real First,const Standard_Real Last,const Standard_Real Tol3d,const Standard_Real BoundTol,const Standard_Real Tol2d,const Standard_Real TolAngular,const GeomAbs_Shape Continuity = GeomAbs_C0,const Standard_Integer Degmax = 11,const Standard_Integer Segmax = 50); - %feature("compactdefaultargs") Eval; - %feature("autodoc", " * The EvaluatorFunction from AdvApprox; - :param Parameter: - :type Parameter: float - :param DerivativeRequest: - :type DerivativeRequest: int - :param First: - :type First: float - :param Last: - :type Last: float - :param Result: - :type Result: float & - :rtype: int -") Eval; - Standard_Integer Eval (const Standard_Real Parameter,const Standard_Integer DerivativeRequest,const Standard_Real First,const Standard_Real Last,Standard_Real &OutValue); - %feature("compactdefaultargs") IsDone; - %feature("autodoc", " * returns if we have an result + /****************** SurfPoles ******************/ + %feature("compactdefaultargs") SurfPoles; + %feature("autodoc", ":rtype: TColgp_Array2OfPnt") SurfPoles; + const TColgp_Array2OfPnt & SurfPoles (); - :rtype: bool -") IsDone; - Standard_Boolean IsDone (); + /****************** SurfShape ******************/ %feature("compactdefaultargs") SurfShape; - %feature("autodoc", " :param UDegree: + %feature("autodoc", ":param UDegree: :type UDegree: int & :param VDegree: :type VDegree: int & @@ -1657,11 +1294,37 @@ class Approx_SweepApproximation { :type NbUKnots: int & :param NbVKnots: :type NbVKnots: int & - :rtype: None -") SurfShape; + :rtype: None") SurfShape; void SurfShape (Standard_Integer &OutValue,Standard_Integer &OutValue,Standard_Integer &OutValue,Standard_Integer &OutValue,Standard_Integer &OutValue,Standard_Integer &OutValue); + + /****************** SurfUKnots ******************/ + %feature("compactdefaultargs") SurfUKnots; + %feature("autodoc", ":rtype: TColStd_Array1OfReal") SurfUKnots; + const TColStd_Array1OfReal & SurfUKnots (); + + /****************** SurfUMults ******************/ + %feature("compactdefaultargs") SurfUMults; + %feature("autodoc", ":rtype: TColStd_Array1OfInteger") SurfUMults; + const TColStd_Array1OfInteger & SurfUMults (); + + /****************** SurfVKnots ******************/ + %feature("compactdefaultargs") SurfVKnots; + %feature("autodoc", ":rtype: TColStd_Array1OfReal") SurfVKnots; + const TColStd_Array1OfReal & SurfVKnots (); + + /****************** SurfVMults ******************/ + %feature("compactdefaultargs") SurfVMults; + %feature("autodoc", ":rtype: TColStd_Array1OfInteger") SurfVMults; + const TColStd_Array1OfInteger & SurfVMults (); + + /****************** SurfWeights ******************/ + %feature("compactdefaultargs") SurfWeights; + %feature("autodoc", ":rtype: TColStd_Array2OfReal") SurfWeights; + const TColStd_Array2OfReal & SurfWeights (); + + /****************** Surface ******************/ %feature("compactdefaultargs") Surface; - %feature("autodoc", " :param TPoles: + %feature("autodoc", ":param TPoles: :type TPoles: TColgp_Array2OfPnt :param TWeights: :type TWeights: TColStd_Array2OfReal & @@ -1673,130 +1336,28 @@ class Approx_SweepApproximation { :type TUMults: TColStd_Array1OfInteger & :param TVMults: :type TVMults: TColStd_Array1OfInteger & - :rtype: None -") Surface; + :rtype: None") Surface; void Surface (TColgp_Array2OfPnt & TPoles,TColStd_Array2OfReal & TWeights,TColStd_Array1OfReal & TUKnots,TColStd_Array1OfReal & TVKnots,TColStd_Array1OfInteger & TUMults,TColStd_Array1OfInteger & TVMults); - %feature("compactdefaultargs") UDegree; - %feature("autodoc", " :rtype: int -") UDegree; - Standard_Integer UDegree (); - %feature("compactdefaultargs") VDegree; - %feature("autodoc", " :rtype: int -") VDegree; - Standard_Integer VDegree (); - %feature("compactdefaultargs") SurfPoles; - %feature("autodoc", " :rtype: TColgp_Array2OfPnt -") SurfPoles; - const TColgp_Array2OfPnt & SurfPoles (); - %feature("compactdefaultargs") SurfWeights; - %feature("autodoc", " :rtype: TColStd_Array2OfReal -") SurfWeights; - const TColStd_Array2OfReal & SurfWeights (); - %feature("compactdefaultargs") SurfUKnots; - %feature("autodoc", " :rtype: TColStd_Array1OfReal -") SurfUKnots; - const TColStd_Array1OfReal & SurfUKnots (); - %feature("compactdefaultargs") SurfVKnots; - %feature("autodoc", " :rtype: TColStd_Array1OfReal -") SurfVKnots; - const TColStd_Array1OfReal & SurfVKnots (); - %feature("compactdefaultargs") SurfUMults; - %feature("autodoc", " :rtype: TColStd_Array1OfInteger -") SurfUMults; - const TColStd_Array1OfInteger & SurfUMults (); - %feature("compactdefaultargs") SurfVMults; - %feature("autodoc", " :rtype: TColStd_Array1OfInteger -") SurfVMults; - const TColStd_Array1OfInteger & SurfVMults (); - %feature("compactdefaultargs") MaxErrorOnSurf; - %feature("autodoc", " * returns the maximum error in the suface approximation. - - :rtype: float -") MaxErrorOnSurf; - Standard_Real MaxErrorOnSurf (); - %feature("compactdefaultargs") AverageErrorOnSurf; - %feature("autodoc", " * returns the average error in the suface approximation. - - :rtype: float -") AverageErrorOnSurf; - Standard_Real AverageErrorOnSurf (); - %feature("compactdefaultargs") NbCurves2d; - %feature("autodoc", " :rtype: int -") NbCurves2d; - Standard_Integer NbCurves2d (); - %feature("compactdefaultargs") Curves2dShape; - %feature("autodoc", " :param Degree: - :type Degree: int & - :param NbPoles: - :type NbPoles: int & - :param NbKnots: - :type NbKnots: int & - :rtype: None -") Curves2dShape; - void Curves2dShape (Standard_Integer &OutValue,Standard_Integer &OutValue,Standard_Integer &OutValue); - %feature("compactdefaultargs") Curve2d; - %feature("autodoc", " :param Index: - :type Index: int - :param TPoles: - :type TPoles: TColgp_Array1OfPnt2d - :param TKnots: - :type TKnots: TColStd_Array1OfReal & - :param TMults: - :type TMults: TColStd_Array1OfInteger & - :rtype: None -") Curve2d; - void Curve2d (const Standard_Integer Index,TColgp_Array1OfPnt2d & TPoles,TColStd_Array1OfReal & TKnots,TColStd_Array1OfInteger & TMults); - %feature("compactdefaultargs") Curves2dDegree; - %feature("autodoc", " :rtype: int -") Curves2dDegree; - Standard_Integer Curves2dDegree (); - %feature("compactdefaultargs") Curve2dPoles; - %feature("autodoc", " :param Index: - :type Index: int - :rtype: TColgp_Array1OfPnt2d -") Curve2dPoles; - const TColgp_Array1OfPnt2d & Curve2dPoles (const Standard_Integer Index); - %feature("compactdefaultargs") Curves2dKnots; - %feature("autodoc", " :rtype: TColStd_Array1OfReal -") Curves2dKnots; - const TColStd_Array1OfReal & Curves2dKnots (); - %feature("compactdefaultargs") Curves2dMults; - %feature("autodoc", " :rtype: TColStd_Array1OfInteger -") Curves2dMults; - const TColStd_Array1OfInteger & Curves2dMults (); - %feature("compactdefaultargs") Max2dError; - %feature("autodoc", " * returns the maximum error of the 2d curve approximation. - - :param Index: - :type Index: int - :rtype: float -") Max2dError; - Standard_Real Max2dError (const Standard_Integer Index); - %feature("compactdefaultargs") Average2dError; - %feature("autodoc", " * returns the average error of the 2d curve approximation. - :param Index: - :type Index: int - :rtype: float -") Average2dError; - Standard_Real Average2dError (const Standard_Integer Index); + /****************** TolCurveOnSurf ******************/ %feature("compactdefaultargs") TolCurveOnSurf; - %feature("autodoc", " * returns the maximum 3d error of the 2d curve approximation on the Surface. - + %feature("autodoc", "* returns the maximum 3d error of the 2d curve approximation on the Surface. :param Index: :type Index: int - :rtype: float -") TolCurveOnSurf; + :rtype: float") TolCurveOnSurf; Standard_Real TolCurveOnSurf (const Standard_Integer Index); - %feature("autodoc", "1"); - %extend{ - std::string DumpToString() { - std::stringstream s; - self->Dump(s); - return s.str();} - }; - }; + /****************** UDegree ******************/ + %feature("compactdefaultargs") UDegree; + %feature("autodoc", ":rtype: int") UDegree; + Standard_Integer UDegree (); + + /****************** VDegree ******************/ + %feature("compactdefaultargs") VDegree; + %feature("autodoc", ":rtype: int") VDegree; + Standard_Integer VDegree (); + +}; %extend Approx_SweepApproximation { @@ -1804,12 +1365,22 @@ class Approx_SweepApproximation { __repr__ = _dumps_object } }; + +/***************************** +* class Approx_SweepFunction * +*****************************/ %nodefaultctor Approx_SweepFunction; -class Approx_SweepFunction : public MMgt_TShared { +class Approx_SweepFunction : public Standard_Transient { public: - %feature("compactdefaultargs") D0; - %feature("autodoc", " * compute the section for v = param + /****************** BarycentreOfSurf ******************/ + %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 + :rtype: gp_Pnt") BarycentreOfSurf; + virtual gp_Pnt BarycentreOfSurf (); + /****************** D0 ******************/ + %feature("compactdefaultargs") D0; + %feature("autodoc", "* compute the section for v = param :param Param: :type Param: float :param First: @@ -1822,12 +1393,12 @@ class Approx_SweepFunction : public MMgt_TShared { :type Poles2d: TColgp_Array1OfPnt2d :param Weigths: :type Weigths: TColStd_Array1OfReal & - :rtype: bool -") D0; + :rtype: bool") D0; virtual Standard_Boolean D0 (const Standard_Real Param,const Standard_Real First,const Standard_Real Last,TColgp_Array1OfPnt & Poles,TColgp_Array1OfPnt2d & Poles2d,TColStd_Array1OfReal & Weigths); - %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 + /****************** D1 ******************/ + %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 :param Param: :type Param: float :param First: @@ -1846,12 +1417,12 @@ class Approx_SweepFunction : public MMgt_TShared { :type Weigths: TColStd_Array1OfReal & :param DWeigths: :type DWeigths: TColStd_Array1OfReal & - :rtype: bool -") D1; + :rtype: bool") D1; virtual Standard_Boolean D1 (const Standard_Real Param,const Standard_Real First,const Standard_Real Last,TColgp_Array1OfPnt & Poles,TColgp_Array1OfVec & DPoles,TColgp_Array1OfPnt2d & Poles2d,TColgp_Array1OfVec2d & DPoles2d,TColStd_Array1OfReal & Weigths,TColStd_Array1OfReal & DWeigths); - %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 + /****************** D2 ******************/ + %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 :param Param: :type Param: float :param First: @@ -1876,80 +1447,86 @@ class Approx_SweepFunction : public MMgt_TShared { :type DWeigths: TColStd_Array1OfReal & :param D2Weigths: :type D2Weigths: TColStd_Array1OfReal & - :rtype: bool -") D2; + :rtype: bool") D2; virtual Standard_Boolean D2 (const Standard_Real Param,const Standard_Real First,const Standard_Real Last,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); - %feature("compactdefaultargs") Nb2dCurves; - %feature("autodoc", " * get the number of 2d curves to approximate. - :rtype: int -") Nb2dCurves; - virtual Standard_Integer Nb2dCurves (); - %feature("compactdefaultargs") SectionShape; - %feature("autodoc", " * get the format of an section + /****************** GetMinimalWeight ******************/ + %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 + :param Weigths: + :type Weigths: TColStd_Array1OfReal & + :rtype: void") GetMinimalWeight; + virtual void GetMinimalWeight (TColStd_Array1OfReal & Weigths); - :param NbPoles: - :type NbPoles: int & - :param NbKnots: - :type NbKnots: int & - :param Degree: - :type Degree: int & - :rtype: void -") SectionShape; - virtual void SectionShape (Standard_Integer &OutValue,Standard_Integer &OutValue,Standard_Integer &OutValue); - %feature("compactdefaultargs") Knots; - %feature("autodoc", " * get the Knots of the section + /****************** GetTolerance ******************/ + %feature("compactdefaultargs") GetTolerance; + %feature("autodoc", "* Returns the tolerance to reach in approximation to satisfy. BoundTol error at the Boundary AngleTol tangent error at the Boundary (in radian) SurfTol error inside the surface. + :param BoundTol: + :type BoundTol: float + :param SurfTol: + :type SurfTol: float + :param AngleTol: + :type AngleTol: float + :param Tol3d: + :type Tol3d: TColStd_Array1OfReal & + :rtype: void") GetTolerance; + virtual void GetTolerance (const Standard_Real BoundTol,const Standard_Real SurfTol,const Standard_Real AngleTol,TColStd_Array1OfReal & Tol3d); + + /****************** Intervals ******************/ + %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() + :param T: + :type T: TColStd_Array1OfReal & + :param S: + :type S: GeomAbs_Shape + :rtype: void") Intervals; + virtual void Intervals (TColStd_Array1OfReal & T,const GeomAbs_Shape S); + + /****************** IsRational ******************/ + %feature("compactdefaultargs") IsRational; + %feature("autodoc", "* Returns if the sections are rationnal or not + :rtype: bool") IsRational; + virtual Standard_Boolean IsRational (); + /****************** Knots ******************/ + %feature("compactdefaultargs") Knots; + %feature("autodoc", "* get the Knots of the section :param TKnots: :type TKnots: TColStd_Array1OfReal & - :rtype: void -") Knots; + :rtype: void") Knots; virtual void Knots (TColStd_Array1OfReal & TKnots); - %feature("compactdefaultargs") Mults; - %feature("autodoc", " * get the Multplicities of the section + /****************** MaximalSection ******************/ + %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. + :rtype: float") MaximalSection; + virtual Standard_Real MaximalSection (); + + /****************** Mults ******************/ + %feature("compactdefaultargs") Mults; + %feature("autodoc", "* get the Multplicities of the section :param TMults: :type TMults: TColStd_Array1OfInteger & - :rtype: void -") Mults; + :rtype: void") Mults; virtual void Mults (TColStd_Array1OfInteger & TMults); - %feature("compactdefaultargs") IsRational; - %feature("autodoc", " * Returns if the sections are rationnal or not - :rtype: bool -") IsRational; - virtual Standard_Boolean IsRational (); - %feature("compactdefaultargs") NbIntervals; - %feature("autodoc", " * Returns the number of intervals for continuity . May be one if Continuity(me) >= + /****************** Nb2dCurves ******************/ + %feature("compactdefaultargs") Nb2dCurves; + %feature("autodoc", "* get the number of 2d curves to approximate. + :rtype: int") Nb2dCurves; + virtual Standard_Integer Nb2dCurves (); + /****************** NbIntervals ******************/ + %feature("compactdefaultargs") NbIntervals; + %feature("autodoc", "* Returns the number of intervals for continuity . May be one if Continuity(me) >= :param S: :type S: GeomAbs_Shape - :rtype: int -") NbIntervals; + :rtype: int") NbIntervals; virtual Standard_Integer NbIntervals (const GeomAbs_Shape S); - %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() - - :param T: - :type T: TColStd_Array1OfReal & - :param S: - :type S: GeomAbs_Shape - :rtype: void -") Intervals; - virtual void Intervals (TColStd_Array1OfReal & T,const GeomAbs_Shape S); - %feature("compactdefaultargs") SetInterval; - %feature("autodoc", " * Sets the bounds of the parametric interval on the fonction This determines the derivatives in these values if the function is not Cn. - :param First: - :type First: float - :param Last: - :type Last: float - :rtype: void -") SetInterval; - virtual void SetInterval (const Standard_Real First,const Standard_Real Last); + /****************** Resolution ******************/ %feature("compactdefaultargs") Resolution; - %feature("autodoc", " * Returns the resolutions in the sub-space 2d This information is usfull to find an good tolerance in 2d approximation. - + %feature("autodoc", "* Returns the resolutions in the sub-space 2d This information is usfull to find an good tolerance in 2d approximation. :param Index: :type Index: int :param Tol: @@ -1958,53 +1535,41 @@ class Approx_SweepFunction : public MMgt_TShared { :type TolU: float & :param TolV: :type TolV: float & - :rtype: void -") Resolution; + :rtype: void") Resolution; virtual void Resolution (const Standard_Integer Index,const Standard_Real Tol,Standard_Real &OutValue,Standard_Real &OutValue); - %feature("compactdefaultargs") GetTolerance; - %feature("autodoc", " * Returns the tolerance to reach in approximation to satisfy. BoundTol error at the Boundary AngleTol tangent error at the Boundary (in radian) SurfTol error inside the surface. - :param BoundTol: - :type BoundTol: float - :param SurfTol: - :type SurfTol: float - :param AngleTol: - :type AngleTol: float - :param Tol3d: - :type Tol3d: TColStd_Array1OfReal & - :rtype: void -") GetTolerance; - virtual void GetTolerance (const Standard_Real BoundTol,const Standard_Real SurfTol,const Standard_Real AngleTol,TColStd_Array1OfReal & Tol3d); - %feature("compactdefaultargs") SetTolerance; - %feature("autodoc", " * Is usefull, if (me) have to run numerical algorithm to perform D0, D1 or D2 + /****************** SectionShape ******************/ + %feature("compactdefaultargs") SectionShape; + %feature("autodoc", "* get the format of an section + :param NbPoles: + :type NbPoles: int & + :param NbKnots: + :type NbKnots: int & + :param Degree: + :type Degree: int & + :rtype: void") SectionShape; + virtual void SectionShape (Standard_Integer &OutValue,Standard_Integer &OutValue,Standard_Integer &OutValue); + + /****************** SetInterval ******************/ + %feature("compactdefaultargs") SetInterval; + %feature("autodoc", "* Sets the bounds of the parametric interval on the fonction This determines the derivatives in these values if the function is not Cn. + :param First: + :type First: float + :param Last: + :type Last: float + :rtype: void") SetInterval; + virtual void SetInterval (const Standard_Real First,const Standard_Real Last); + /****************** SetTolerance ******************/ + %feature("compactdefaultargs") SetTolerance; + %feature("autodoc", "* Is usefull, if (me) have to run numerical algorithm to perform D0, D1 or D2 :param Tol3d: :type Tol3d: float :param Tol2d: :type Tol2d: float - :rtype: void -") SetTolerance; + :rtype: void") SetTolerance; virtual void SetTolerance (const Standard_Real Tol3d,const Standard_Real Tol2d); - %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 - - :rtype: gp_Pnt -") BarycentreOfSurf; - virtual gp_Pnt BarycentreOfSurf (); - %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. - - :rtype: float -") MaximalSection; - virtual Standard_Real MaximalSection (); - %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 - :param Weigths: - :type Weigths: TColStd_Array1OfReal & - :rtype: void -") GetMinimalWeight; - virtual void GetMinimalWeight (TColStd_Array1OfReal & Weigths); }; @@ -2015,3 +1580,29 @@ class Approx_SweepFunction : public MMgt_TShared { __repr__ = _dumps_object } }; + +/* harray1 class */ +class Approx_HArray1OfGTrsf2d : public Approx_Array1OfGTrsf2d, public Standard_Transient { + public: + Approx_HArray1OfGTrsf2d(const Standard_Integer theLower, const Standard_Integer theUpper); + Approx_HArray1OfGTrsf2d(const Standard_Integer theLower, const Standard_Integer theUpper, const Approx_Array1OfGTrsf2d::value_type& theValue); + Approx_HArray1OfGTrsf2d(const Approx_Array1OfGTrsf2d& theOther); + const Approx_Array1OfGTrsf2d& Array1(); + Approx_Array1OfGTrsf2d& ChangeArray1(); +}; +%make_alias(Approx_HArray1OfGTrsf2d) + + +class Approx_HArray1OfAdHSurface : public Approx_Array1OfAdHSurface, public Standard_Transient { + public: + Approx_HArray1OfAdHSurface(const Standard_Integer theLower, const Standard_Integer theUpper); + Approx_HArray1OfAdHSurface(const Standard_Integer theLower, const Standard_Integer theUpper, const Approx_Array1OfAdHSurface::value_type& theValue); + Approx_HArray1OfAdHSurface(const Approx_Array1OfAdHSurface& theOther); + const Approx_Array1OfAdHSurface& Array1(); + Approx_Array1OfAdHSurface& ChangeArray1(); +}; +%make_alias(Approx_HArray1OfAdHSurface) + + +/* harray2 class */ +/* harray2 class */ diff --git a/src/SWIG_files/wrapper/ApproxInt.i b/src/SWIG_files/wrapper/ApproxInt.i index 949ac4c62..fb57bb225 100644 --- a/src/SWIG_files/wrapper/ApproxInt.i +++ b/src/SWIG_files/wrapper/ApproxInt.i @@ -1,6 +1,5 @@ /* -Copyright 2008-2017 Thomas Paviot (tpaviot@gmail.com) - +Copyright 2008-2019 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -15,14 +14,13 @@ 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 APPROXINTDOCSTRING -"" +"ApproxInt module, see official documentation at +https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_approxint.html" %enddef %module (package="OCC.Core", docstring=APPROXINTDOCSTRING) ApproxInt -#pragma SWIG nowarn=504,325,503 %{ #ifdef WNT @@ -37,21 +35,90 @@ along with pythonOCC. If not, see . %include ../common/OccHandle.i -%include ApproxInt_headers.i +%{ +#include + +//Dependencies +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +%}; +%import Standard.i +%import NCollection.i +%import TColgp.i +%import math.i +%import gp.i +%import IntSurf.i +/* public enums */ +/* end public enums declaration */ + +/* handles */ +/* end handles declaration */ + +/* templates */ +/* end templates declaration */ /* typedefs */ /* end typedefs declaration */ -/* public enums */ -/* end public enums declaration */ +/**************************** +* class ApproxInt_KnotTools * +****************************/ +class ApproxInt_KnotTools { + public: + /****************** BuildKnots ******************/ + %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. + :param thePntsXYZ: + :type thePntsXYZ: TColgp_Array1OfPnt + :param thePntsU1V1: + :type thePntsU1V1: TColgp_Array1OfPnt2d + :param thePntsU2V2: + :type thePntsU2V2: TColgp_Array1OfPnt2d + :param thePars: + :type thePars: math_Vector & + :param theApproxXYZ: + :type theApproxXYZ: bool + :param theApproxU1V1: + :type theApproxU1V1: bool + :param theApproxU2V2: + :type theApproxU2V2: bool + :param theMinNbPnts: + :type theMinNbPnts: int + :param theKnots: + :type theKnots: NCollection_Vector & + :rtype: void") 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); + +}; + +%extend ApproxInt_KnotTools { + %pythoncode { + __repr__ = _dumps_object + } +}; +/***************************** +* class ApproxInt_SvSurfaces * +*****************************/ %nodefaultctor ApproxInt_SvSurfaces; class ApproxInt_SvSurfaces { public: + /****************** Compute ******************/ %feature("compactdefaultargs") Compute; - %feature("autodoc", " * returns True if Tg,Tguv1 Tguv2 can be computed. - + %feature("autodoc", "* returns True if Tg,Tguv1 Tguv2 can be computed. :param u1: :type u1: float & :param v1: @@ -68,11 +135,12 @@ class ApproxInt_SvSurfaces { :type Tguv1: gp_Vec2d :param Tguv2: :type Tguv2: gp_Vec2d - :rtype: bool -") Compute; + :rtype: bool") 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); + + /****************** Pnt ******************/ %feature("compactdefaultargs") Pnt; - %feature("autodoc", " :param u1: + %feature("autodoc", ":param u1: :type u1: float :param v1: :type v1: float @@ -82,11 +150,28 @@ class ApproxInt_SvSurfaces { :type v2: float :param P: :type P: gp_Pnt - :rtype: void -") Pnt; + :rtype: void") Pnt; virtual void Pnt (const Standard_Real u1,const Standard_Real v1,const Standard_Real u2,const Standard_Real v2,gp_Pnt & P); + + /****************** SeekPoint ******************/ + %feature("compactdefaultargs") SeekPoint; + %feature("autodoc", "* computes point on curve and parameters on the surfaces + :param u1: + :type u1: float + :param v1: + :type v1: float + :param u2: + :type u2: float + :param v2: + :type v2: float + :param Point: + :type Point: IntSurf_PntOn2S & + :rtype: 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); + + /****************** Tangency ******************/ %feature("compactdefaultargs") Tangency; - %feature("autodoc", " :param u1: + %feature("autodoc", ":param u1: :type u1: float :param v1: :type v1: float @@ -96,11 +181,12 @@ class ApproxInt_SvSurfaces { :type v2: float :param Tg: :type Tg: gp_Vec - :rtype: bool -") Tangency; + :rtype: bool") Tangency; virtual Standard_Boolean Tangency (const Standard_Real u1,const Standard_Real v1,const Standard_Real u2,const Standard_Real v2,gp_Vec & Tg); + + /****************** TangencyOnSurf1 ******************/ %feature("compactdefaultargs") TangencyOnSurf1; - %feature("autodoc", " :param u1: + %feature("autodoc", ":param u1: :type u1: float :param v1: :type v1: float @@ -110,11 +196,12 @@ class ApproxInt_SvSurfaces { :type v2: float :param Tg: :type Tg: gp_Vec2d - :rtype: bool -") TangencyOnSurf1; + :rtype: bool") TangencyOnSurf1; virtual Standard_Boolean TangencyOnSurf1 (const Standard_Real u1,const Standard_Real v1,const Standard_Real u2,const Standard_Real v2,gp_Vec2d & Tg); + + /****************** TangencyOnSurf2 ******************/ %feature("compactdefaultargs") TangencyOnSurf2; - %feature("autodoc", " :param u1: + %feature("autodoc", ":param u1: :type u1: float :param v1: :type v1: float @@ -124,9 +211,9 @@ class ApproxInt_SvSurfaces { :type v2: float :param Tg: :type Tg: gp_Vec2d - :rtype: bool -") TangencyOnSurf2; + :rtype: bool") TangencyOnSurf2; virtual Standard_Boolean TangencyOnSurf2 (const Standard_Real u1,const Standard_Real v1,const Standard_Real u2,const Standard_Real v2,gp_Vec2d & Tg); + }; @@ -135,3 +222,7 @@ class ApproxInt_SvSurfaces { __repr__ = _dumps_object } }; + +/* harray1 class */ +/* harray2 class */ +/* harray2 class */ diff --git a/src/SWIG_files/wrapper/ApproxInt_headers.i b/src/SWIG_files/wrapper/ApproxInt_headers.i deleted file mode 100644 index 1ae3d52c6..000000000 --- a/src/SWIG_files/wrapper/ApproxInt_headers.i +++ /dev/null @@ -1,385 +0,0 @@ -/* -Copyright 2008-2017 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 . - -*/ -%{ -#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 -#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 -#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 -#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 -%}; -%import Standard.i -%import gp.i diff --git a/src/SWIG_files/wrapper/Approx_headers.i b/src/SWIG_files/wrapper/Approx_headers.i deleted file mode 100644 index 7473a1f70..000000000 --- a/src/SWIG_files/wrapper/Approx_headers.i +++ /dev/null @@ -1,749 +0,0 @@ -/* -Copyright 2008-2017 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 . - -*/ -%{ -#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 -#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 -#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 -#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 -#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 -#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 -#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 -#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 -%}; -%import Standard.i -%import Adaptor3d.i -%import gp.i -%import Adaptor2d.i -%import GeomAbs.i -%import Geom2d.i -%import Geom.i -%import MMgt.i -%import TColStd.i -%import AppCont.i -%import AppParCurves.i -%import TCollection.i -%import TColgp.i diff --git a/src/SWIG_files/wrapper/Aspect.i b/src/SWIG_files/wrapper/Aspect.i index a776f03a4..e31a7fdf9 100644 --- a/src/SWIG_files/wrapper/Aspect.i +++ b/src/SWIG_files/wrapper/Aspect.i @@ -1,6 +1,5 @@ /* -Copyright 2008-2017 Thomas Paviot (tpaviot@gmail.com) - +Copyright 2008-2019 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -15,27 +14,13 @@ 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 ASPECTDOCSTRING -"-Version: - -This package contains the group of graphic elements common -to different types of visualisers. It allows the description -of a screen background, a window, an edge, and groups of -graphic attributes that can be used in describing 2D -and 3D objects. - --Keywords: Window, Aspect, FillArea, Line, Marker, Edge -Highlight, Hatch, Background, GradientBackground, Color map, -Type map, Width map, Font map --Warning: --References: -" +"Aspect module, see official documentation at +https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_aspect.html" %enddef %module (package="OCC.Core", docstring=ASPECTDOCSTRING) Aspect -#pragma SWIG nowarn=504,325,503 %{ #ifdef WNT @@ -50,25 +35,176 @@ Type map, Width map, Font map %include ../common/OccHandle.i -%include Aspect_headers.i +%{ +#include + +//Dependencies +#include +#include +#include +#include +#include +#include +#include +#include +%}; +%import Standard.i +%import NCollection.i +%import Quantity.i +%import TCollection.i +/* public enums */ +enum Aspect_VKeyBasic { + Aspect_VKey_UNKNOWN = 0, + Aspect_VKey_A = 1, + Aspect_VKey_B = 2, + Aspect_VKey_C = 3, + Aspect_VKey_D = 4, + Aspect_VKey_E = 5, + Aspect_VKey_F = 6, + Aspect_VKey_G = 7, + Aspect_VKey_H = 8, + Aspect_VKey_I = 9, + Aspect_VKey_J = 10, + Aspect_VKey_K = 11, + Aspect_VKey_L = 12, + Aspect_VKey_M = 13, + Aspect_VKey_N = 14, + Aspect_VKey_O = 15, + Aspect_VKey_P = 16, + Aspect_VKey_Q = 17, + Aspect_VKey_R = 18, + Aspect_VKey_S = 19, + Aspect_VKey_T = 20, + Aspect_VKey_U = 21, + Aspect_VKey_V = 22, + Aspect_VKey_W = 23, + Aspect_VKey_X = 24, + Aspect_VKey_Y = 25, + Aspect_VKey_Z = 26, + Aspect_VKey_0 = 27, + Aspect_VKey_1 = 28, + Aspect_VKey_2 = 29, + Aspect_VKey_3 = 30, + Aspect_VKey_4 = 31, + Aspect_VKey_5 = 32, + Aspect_VKey_6 = 33, + Aspect_VKey_7 = 34, + Aspect_VKey_8 = 35, + Aspect_VKey_9 = 36, + Aspect_VKey_F1 = 37, + Aspect_VKey_F2 = 38, + Aspect_VKey_F3 = 39, + Aspect_VKey_F4 = 40, + Aspect_VKey_F5 = 41, + Aspect_VKey_F6 = 42, + Aspect_VKey_F7 = 43, + Aspect_VKey_F8 = 44, + Aspect_VKey_F9 = 45, + Aspect_VKey_F10 = 46, + Aspect_VKey_F11 = 47, + Aspect_VKey_F12 = 48, + Aspect_VKey_Up = 49, + Aspect_VKey_Down = 50, + Aspect_VKey_Left = 51, + Aspect_VKey_Right = 52, + Aspect_VKey_Plus = 53, + Aspect_VKey_Minus = 54, + Aspect_VKey_Equal = 55, + Aspect_VKey_PageUp = 56, + Aspect_VKey_PageDown = 57, + Aspect_VKey_Home = 58, + Aspect_VKey_End = 59, + Aspect_VKey_Escape = 60, + Aspect_VKey_Back = 61, + Aspect_VKey_Enter = 62, + Aspect_VKey_Backspace = 63, + Aspect_VKey_Space = 64, + Aspect_VKey_Delete = 65, + Aspect_VKey_Tilde = 66, + Aspect_VKey_Tab = 67, + Aspect_VKey_Comma = 68, + Aspect_VKey_Period = 69, + Aspect_VKey_Semicolon = 70, + Aspect_VKey_Slash = 71, + Aspect_VKey_BracketLeft = 72, + Aspect_VKey_Backslash = 73, + Aspect_VKey_BracketRight = 74, + Aspect_VKey_Apostrophe = 75, + Aspect_VKey_Numlock = 76, + Aspect_VKey_Scroll = 77, + Aspect_VKey_Numpad0 = 78, + Aspect_VKey_Numpad1 = 79, + Aspect_VKey_Numpad2 = 80, + Aspect_VKey_Numpad3 = 81, + Aspect_VKey_Numpad4 = 82, + Aspect_VKey_Numpad5 = 83, + Aspect_VKey_Numpad6 = 84, + Aspect_VKey_Numpad7 = 85, + Aspect_VKey_Numpad8 = 86, + Aspect_VKey_Numpad9 = 87, + Aspect_VKey_NumpadMultiply = 88, + Aspect_VKey_NumpadAdd = 89, + Aspect_VKey_NumpadSubtract = 90, + Aspect_VKey_NumpadDivide = 91, + Aspect_VKey_MediaNextTrack = 92, + Aspect_VKey_MediaPreviousTrack = 93, + Aspect_VKey_MediaStop = 94, + Aspect_VKey_MediaPlayPause = 95, + Aspect_VKey_VolumeMute = 96, + Aspect_VKey_VolumeDown = 97, + Aspect_VKey_VolumeUp = 98, + Aspect_VKey_BrowserBack = 99, + Aspect_VKey_BrowserForward = 100, + Aspect_VKey_BrowserRefresh = 101, + Aspect_VKey_BrowserStop = 102, + Aspect_VKey_BrowserSearch = 103, + Aspect_VKey_BrowserFavorites = 104, + Aspect_VKey_BrowserHome = 105, + Aspect_VKey_Shift = 106, + Aspect_VKey_Control = 107, + Aspect_VKey_Alt = 108, + Aspect_VKey_Menu = 109, + Aspect_VKey_Meta = 110, + Aspect_VKey_NavInteract = 111, + Aspect_VKey_NavForward = 112, + Aspect_VKey_NavBackward = 113, + Aspect_VKey_NavSlideLeft = 114, + Aspect_VKey_NavSlideRight = 115, + Aspect_VKey_NavSlideUp = 116, + Aspect_VKey_NavSlideDown = 117, + Aspect_VKey_NavRollCCW = 118, + Aspect_VKey_NavRollCW = 119, + Aspect_VKey_NavLookLeft = 120, + Aspect_VKey_NavLookRight = 121, + Aspect_VKey_NavLookUp = 122, + Aspect_VKey_NavLookDown = 123, + Aspect_VKey_NavCrouch = 124, + Aspect_VKey_NavJump = 125, + Aspect_VKey_NavThrustForward = 126, + Aspect_VKey_NavThrustBackward = 127, + Aspect_VKey_NavThrustStop = 128, + Aspect_VKey_NavSpeedIncrease = 129, + Aspect_VKey_NavSpeedDecrease = 130, +}; -/* typedefs */ -typedef void * Aspect_Display; -typedef unsigned long Aspect_Drawable; -typedef void * HANDLE; -typedef int ( * Aspect_GraphicCallbackProc ) ( Aspect_Drawable theWindowID , void * theUserData , Aspect_GraphicCallbackStruct * theCallData ); -typedef void * Aspect_RenderingContext; -typedef unsigned long Aspect_Handle; -typedef CALL_DEF_LAYER Aspect_CLayer2d; -/* end typedefs declaration */ +enum { + Aspect_VKey_Lower = 0, + Aspect_VKey_ModifiersLower = Aspect_VKey_Shift, + Aspect_VKey_ModifiersUpper = Aspect_VKey_Meta, + Aspect_VKey_NavigationKeysLower = Aspect_VKey_NavInteract, + Aspect_VKey_NavigationKeysUpper = Aspect_VKey_NavSpeedDecrease, + Aspect_VKey_Upper = Aspect_VKey_NavSpeedDecrease, + Aspect_VKey_NB = Aspect_VKey_Upper - Aspect_VKey_Lower + 1, + Aspect_VKey_MAX = 255, +}; -/* public enums */ enum Aspect_TypeOfDeflection { Aspect_TOD_RELATIVE = 0, Aspect_TOD_ABSOLUTE = 1, }; enum Aspect_TypeOfLine { + Aspect_TOL_EMPTY = - 1, Aspect_TOL_SOLID = 0, Aspect_TOL_DASH = 1, Aspect_TOL_DOT = 2, @@ -106,25 +242,11 @@ enum Aspect_TypeOfResize { Aspect_TOR_LEFT_AND_TOP_BORDER = 9, }; -enum Aspect_TypeOfDrawMode { - Aspect_TODM_REPLACE = 0, - Aspect_TODM_ERASE = 1, - Aspect_TODM_XOR = 2, - Aspect_TODM_XORLIGHT = 3, -}; - enum Aspect_GridType { Aspect_GT_Rectangular = 0, Aspect_GT_Circular = 1, }; -enum Aspect_TypeOfConstraint { - Aspect_TOC_BOTTOM_LEFT = 0, - Aspect_TOC_BOTTOM_RIGHT = 1, - Aspect_TOC_TOP_LEFT = 2, - Aspect_TOC_TOP_RIGHT = 3, -}; - enum Aspect_TypeOfColorScaleData { Aspect_TOCSD_AUTO = 0, Aspect_TOCSD_USER = 1, @@ -136,6 +258,7 @@ enum Aspect_TypeOfStyleText { }; enum Aspect_TypeOfMarker { + Aspect_TOM_EMPTY = - 1, Aspect_TOM_POINT = 0, Aspect_TOM_PLUS = 1, Aspect_TOM_STAR = 2, @@ -172,56 +295,21 @@ enum Aspect_FillMethod { Aspect_FM_STRETCH = 3, }; -enum Aspect_TypeOfUpdate { - Aspect_TOU_ASAP = 0, - Aspect_TOU_WAIT = 1, -}; - -enum Aspect_TypeOfTriedronEcho { - Aspect_TOTE_NONE = 0, - Aspect_TOTE_ORIGIN = 1, - Aspect_TOTE_AXIS_X = 2, - Aspect_TOTE_AXIS_Y = 3, - Aspect_TOTE_AXIS_Z = 4, - Aspect_TOTE_TEXT_X = 5, - Aspect_TOTE_TEXT_Y = 6, - Aspect_TOTE_TEXT_Z = 7, - Aspect_TOTE_01 = 8, - Aspect_TOTE_02 = 9, - Aspect_TOTE_03 = 10, - Aspect_TOTE_04 = 11, - Aspect_TOTE_05 = 12, - Aspect_TOTE_06 = 13, - Aspect_TOTE_07 = 14, - Aspect_TOTE_08 = 15, - Aspect_TOTE_09 = 16, - Aspect_TOTE_10 = 17, -}; - -enum Aspect_TypeOfPrimitive { - Aspect_TOP_UNKNOWN = 0, - Aspect_TOP_POLYLINE = 1, - Aspect_TOP_POLYGON = 2, - Aspect_TOP_SEGMENTS = 3, - Aspect_TOP_ARCS = 4, - Aspect_TOP_POLYARCS = 5, - Aspect_TOP_POINTS = 6, - Aspect_TOP_MARKERS = 7, -}; - enum Aspect_HatchStyle { - Aspect_HS_HORIZONTAL = 0, - Aspect_HS_HORIZONTAL_WIDE = 1, - Aspect_HS_VERTICAL = 2, - Aspect_HS_VERTICAL_WIDE = 3, - Aspect_HS_DIAGONAL_45 = 4, - Aspect_HS_DIAGONAL_45_WIDE = 5, + Aspect_HS_SOLID = 0, + Aspect_HS_HORIZONTAL = 7, + Aspect_HS_HORIZONTAL_WIDE = 11, + Aspect_HS_VERTICAL = 8, + Aspect_HS_VERTICAL_WIDE = 12, + Aspect_HS_DIAGONAL_45 = 5, + Aspect_HS_DIAGONAL_45_WIDE = 9, Aspect_HS_DIAGONAL_135 = 6, - Aspect_HS_DIAGONAL_135_WIDE = 7, - Aspect_HS_GRID = 8, - Aspect_HS_GRID_WIDE = 9, - Aspect_HS_GRID_DIAGONAL = 10, - Aspect_HS_GRID_DIAGONAL_WIDE = 11, + Aspect_HS_DIAGONAL_135_WIDE = 10, + Aspect_HS_GRID = 3, + Aspect_HS_GRID_WIDE = 4, + Aspect_HS_GRID_DIAGONAL = 1, + Aspect_HS_GRID_DIAGONAL_WIDE = 2, + Aspect_HS_NB = 13, }; enum Aspect_PolygonOffsetMode { @@ -234,11 +322,6 @@ enum Aspect_PolygonOffsetMode { Aspect_POM_Mask = Aspect_POM_All | Aspect_POM_None, }; -enum Aspect_TypeOfEdge { - Aspect_TOE_VISIBLE = 0, - Aspect_TOE_INVISIBLE = 1, -}; - enum Aspect_TypeOfColorScalePosition { Aspect_TOCSP_NONE = 0, Aspect_TOCSP_LEFT = 1, @@ -246,36 +329,38 @@ enum Aspect_TypeOfColorScalePosition { Aspect_TOCSP_CENTER = 3, }; -enum Aspect_XAtom { - Aspect_XA_DELETE_WINDOW = 0, +enum { + Aspect_VKeyFlags_NONE = 0, + Aspect_VKeyFlags_SHIFT = 1 << 8, + Aspect_VKeyFlags_CTRL = 1 << 9, + Aspect_VKeyFlags_ALT = 1 << 10, + Aspect_VKeyFlags_MENU = 1 << 11, + Aspect_VKeyFlags_META = 1 << 12, + Aspect_VKeyFlags_ALL = Aspect_VKeyFlags_SHIFT | Aspect_VKeyFlags_CTRL | Aspect_VKeyFlags_ALT | Aspect_VKeyFlags_MENU | Aspect_VKeyFlags_META, }; -enum Aspect_TypeOfTriedronPosition { - Aspect_TOTP_CENTER = 0, - Aspect_TOTP_LEFT_LOWER = 1, - Aspect_TOTP_LEFT_UPPER = 2, - Aspect_TOTP_RIGHT_LOWER = 3, - Aspect_TOTP_RIGHT_UPPER = 4, - Aspect_TOTP_01 = 5, - Aspect_TOTP_02 = 6, - Aspect_TOTP_03 = 7, - Aspect_TOTP_04 = 8, - Aspect_TOTP_05 = 9, - Aspect_TOTP_06 = 10, - Aspect_TOTP_07 = 11, - Aspect_TOTP_08 = 12, - Aspect_TOTP_09 = 13, - Aspect_TOTP_10 = 14, +enum { + Aspect_VKeyMouse_NONE = 0, + Aspect_VKeyMouse_LeftButton = 1 << 13, + Aspect_VKeyMouse_MiddleButton = 1 << 14, + Aspect_VKeyMouse_RightButton = 1 << 15, + Aspect_VKeyMouse_MainButtons = Aspect_VKeyMouse_LeftButton | Aspect_VKeyMouse_MiddleButton | Aspect_VKeyMouse_RightButton, }; -enum Aspect_TypeOfLayer { - Aspect_TOL_OVERLAY = 0, - Aspect_TOL_UNDERLAY = 1, +enum Aspect_XAtom { + Aspect_XA_DELETE_WINDOW = 0, }; -enum Aspect_PrintAlgo { - Aspect_PA_STRETCH = 0, - Aspect_PA_TILE = 1, +enum Aspect_TypeOfTriedronPosition { + Aspect_TOTP_CENTER = 0, + Aspect_TOTP_TOP = 1, + Aspect_TOTP_BOTTOM = 2, + Aspect_TOTP_LEFT = 4, + Aspect_TOTP_RIGHT = 8, + Aspect_TOTP_LEFT_LOWER = Aspect_TOTP_BOTTOM | Aspect_TOTP_LEFT, + Aspect_TOTP_LEFT_UPPER = Aspect_TOTP_TOP | Aspect_TOTP_LEFT, + Aspect_TOTP_RIGHT_LOWER = Aspect_TOTP_BOTTOM | Aspect_TOTP_RIGHT, + Aspect_TOTP_RIGHT_UPPER = Aspect_TOTP_TOP | Aspect_TOTP_RIGHT, }; enum Aspect_GridDrawMode { @@ -298,265 +383,80 @@ enum Aspect_TypeOfDisplayText { Aspect_TODT_DEKALE = 2, Aspect_TODT_BLEND = 3, Aspect_TODT_DIMENSION = 4, + Aspect_TODT_SHADOW = 5, }; enum Aspect_InteriorStyle { - Aspect_IS_EMPTY = 0, - Aspect_IS_HOLLOW = 1, - Aspect_IS_HATCH = 2, - Aspect_IS_SOLID = 3, - Aspect_IS_HIDDENLINE = 4, - Aspect_IS_POINT = 5, + Aspect_IS_EMPTY = - 1, + Aspect_IS_SOLID = 0, + Aspect_IS_HATCH = 1, + Aspect_IS_HIDDENLINE = 2, + Aspect_IS_POINT = 3, + Aspect_IS_HOLLOW = Aspect_IS_EMPTY, }; /* end public enums declaration */ -%wrap_handle(Aspect_AspectFillArea) -%wrap_handle(Aspect_AspectLine) -%wrap_handle(Aspect_AspectMarker) -%wrap_handle(Aspect_ColorScale) +/* handles */ +%wrap_handle(Aspect_DisplayConnection) %wrap_handle(Aspect_Grid) -%wrap_handle(Aspect_SequenceNodeOfSequenceOfColor) %wrap_handle(Aspect_Window) -%wrap_handle(Aspect_CircularGrid) -%wrap_handle(Aspect_RectangularGrid) - -%nodefaultctor Aspect_AspectFillArea; -class Aspect_AspectFillArea : public MMgt_TShared { - public: - %feature("compactdefaultargs") SetEdgeColor; - %feature("autodoc", " * Modifies the colour of the edge of the face - - :param AColor: - :type AColor: Quantity_Color & - :rtype: None -") SetEdgeColor; - void SetEdgeColor (const Quantity_Color & AColor); - %feature("compactdefaultargs") SetEdgeLineType; - %feature("autodoc", " * Modifies the edge line type - - :param AType: - :type AType: Aspect_TypeOfLine - :rtype: None -") SetEdgeLineType; - void SetEdgeLineType (const Aspect_TypeOfLine AType); - %feature("compactdefaultargs") SetEdgeWidth; - %feature("autodoc", " * Modifies the edge thickness //! Category: Methods to modify the class definition //! Warning: Raises AspectFillAreaDefinitionError if the width is a negative value. - - :param AWidth: - :type AWidth: float - :rtype: None -") SetEdgeWidth; - void SetEdgeWidth (const Standard_Real AWidth); - %feature("compactdefaultargs") SetHatchStyle; - %feature("autodoc", " * Modifies the hatch type used when InteriorStyle is IS_HATCH - - :param AStyle: - :type AStyle: Aspect_HatchStyle - :rtype: None -") SetHatchStyle; - void SetHatchStyle (const Aspect_HatchStyle AStyle); - %feature("compactdefaultargs") SetInteriorColor; - %feature("autodoc", " * Modifies the colour of the interior of the face - - :param AColor: - :type AColor: Quantity_Color & - :rtype: None -") SetInteriorColor; - void SetInteriorColor (const Quantity_Color & AColor); - %feature("compactdefaultargs") SetBackInteriorColor; - %feature("autodoc", " * Modifies the colour of the interior of the back face - - :param color: - :type color: Quantity_Color & - :rtype: None -") SetBackInteriorColor; - void SetBackInteriorColor (const Quantity_Color & color); - %feature("compactdefaultargs") SetInteriorStyle; - %feature("autodoc", " * Modifies the interior type used for rendering //! InteriorStyle : IS_EMPTY no interior IS_HOLLOW display the boundaries of the surface IS_HATCH display hatching IS_SOLID display interior entirely filled - - :param AStyle: - :type AStyle: Aspect_InteriorStyle - :rtype: None -") SetInteriorStyle; - void SetInteriorStyle (const Aspect_InteriorStyle AStyle); - %feature("compactdefaultargs") HatchStyle; - %feature("autodoc", " * Returns the hatch type used when InteriorStyle is IS_HATCH - - :rtype: Aspect_HatchStyle -") HatchStyle; - Aspect_HatchStyle HatchStyle (); - %feature("compactdefaultargs") Values; - %feature("autodoc", " :param AStyle: - :type AStyle: Aspect_InteriorStyle & - :param AIntColor: - :type AIntColor: Quantity_Color & - :param AEdgeColor: - :type AEdgeColor: Quantity_Color & - :param AType: - :type AType: Aspect_TypeOfLine & - :param AWidth: - :type AWidth: float & - :rtype: None -") Values; - void Values (Aspect_InteriorStyle & AStyle,Quantity_Color & AIntColor,Quantity_Color & AEdgeColor,Aspect_TypeOfLine & AType,Standard_Real &OutValue); - %feature("compactdefaultargs") Values; - %feature("autodoc", " * Returns the current values of the group. - - :param AStyle: - :type AStyle: Aspect_InteriorStyle & - :param AIntColor: - :type AIntColor: Quantity_Color & - :param BackIntColor: - :type BackIntColor: Quantity_Color & - :param AEdgeColor: - :type AEdgeColor: Quantity_Color & - :param AType: - :type AType: Aspect_TypeOfLine & - :param AWidth: - :type AWidth: float & - :rtype: None -") Values; - void Values (Aspect_InteriorStyle & AStyle,Quantity_Color & AIntColor,Quantity_Color & BackIntColor,Quantity_Color & AEdgeColor,Aspect_TypeOfLine & AType,Standard_Real &OutValue); -}; - - -%make_alias(Aspect_AspectFillArea) - -%extend Aspect_AspectFillArea { - %pythoncode { - __repr__ = _dumps_object - } -}; -%nodefaultctor Aspect_AspectLine; -class Aspect_AspectLine : public MMgt_TShared { - public: - %feature("compactdefaultargs") SetColor; - %feature("autodoc", " * Modifies the colour of . - - :param AColor: - :type AColor: Quantity_Color & - :rtype: None -") SetColor; - void SetColor (const Quantity_Color & AColor); - %feature("compactdefaultargs") SetType; - %feature("autodoc", " * Modifies the type of . - - :param AType: - :type AType: Aspect_TypeOfLine - :rtype: None -") SetType; - void SetType (const Aspect_TypeOfLine AType); - %feature("compactdefaultargs") SetWidth; - %feature("autodoc", " * Modifies the thickness of . Category: Methods to modify the class definition Warning: Raises AspectLineDefinitionError if the width is a negative value. - - :param AWidth: - :type AWidth: float - :rtype: None -") SetWidth; - void SetWidth (const Standard_Real AWidth); - %feature("compactdefaultargs") Values; - %feature("autodoc", " * Returns the current values of the group . - - :param AColor: - :type AColor: Quantity_Color & - :param AType: - :type AType: Aspect_TypeOfLine & - :param AWidth: - :type AWidth: float & - :rtype: None -") Values; - void Values (Quantity_Color & AColor,Aspect_TypeOfLine & AType,Standard_Real &OutValue); -}; - +/* end handles declaration */ -%make_alias(Aspect_AspectLine) +/* templates */ +%template(Aspect_SequenceOfColor) NCollection_Sequence ; +%template(Aspect_TouchMap) NCollection_IndexedDataMap ; +/* end templates declaration */ -%extend Aspect_AspectLine { - %pythoncode { - __repr__ = _dumps_object - } -}; -%nodefaultctor Aspect_AspectMarker; -class Aspect_AspectMarker : public MMgt_TShared { - public: - %feature("compactdefaultargs") SetColor; - %feature("autodoc", " * Modifies the colour of . - - :param AColor: - :type AColor: Quantity_Color & - :rtype: None -") SetColor; - void SetColor (const Quantity_Color & AColor); - %feature("compactdefaultargs") SetScale; - %feature("autodoc", " * Modifies the scale factor of . Marker type Aspect_TOM_POINT is not affected by the marker size scale factor. It is always the smallest displayable dot. Warning: Raises AspectMarkerDefinitionError if the scale is a negative value. - - :param AScale: - :type AScale: float - :rtype: None -") SetScale; - void SetScale (const Standard_Real AScale); - %feature("compactdefaultargs") SetType; - %feature("autodoc", " * Modifies the type of marker . - - :param AType: - :type AType: Aspect_TypeOfMarker - :rtype: None -") SetType; - void SetType (const Aspect_TypeOfMarker AType); - %feature("compactdefaultargs") Values; - %feature("autodoc", " * Returns the current values of the group . - - :param AColor: - :type AColor: Quantity_Color & - :param AType: - :type AType: Aspect_TypeOfMarker & - :param AScale: - :type AScale: float & - :rtype: None -") Values; - void Values (Quantity_Color & AColor,Aspect_TypeOfMarker & AType,Standard_Real &OutValue); -}; - - -%make_alias(Aspect_AspectMarker) +/* typedefs */ +typedef unsigned long Aspect_Drawable; +typedef unsigned int Aspect_VKey; +typedef NCollection_Sequence Aspect_SequenceOfColor; +typedef NCollection_IndexedDataMap Aspect_TouchMap; +typedef void * Aspect_RenderingContext; +typedef void * Aspect_Display; +typedef void * HANDLE; +typedef unsigned long Aspect_Handle; +typedef struct __GLXFBConfigRec * GLXFBConfig; +typedef void * Aspect_FBConfig; +typedef unsigned int Aspect_VKeyFlags; +typedef unsigned int Aspect_VKeyMouse; +/* end typedefs declaration */ -%extend Aspect_AspectMarker { - %pythoncode { - __repr__ = _dumps_object - } -}; +/************************** +* class Aspect_Background * +**************************/ %nodefaultctor Aspect_Background; class Aspect_Background { public: + /****************** Aspect_Background ******************/ %feature("compactdefaultargs") Aspect_Background; - %feature("autodoc", " * Creates a window background. Default color : NOC_MATRAGRAY. - - :rtype: None -") Aspect_Background; + %feature("autodoc", "* Creates a window background. Default color : NOC_MATRAGRAY. + :rtype: None") Aspect_Background; Aspect_Background (); - %feature("compactdefaultargs") Aspect_Background; - %feature("autodoc", " * Creates a window background with the colour . + /****************** Aspect_Background ******************/ + %feature("compactdefaultargs") Aspect_Background; + %feature("autodoc", "* Creates a window background with the colour . :param AColor: :type AColor: Quantity_Color & - :rtype: None -") Aspect_Background; + :rtype: None") Aspect_Background; Aspect_Background (const Quantity_Color & AColor); - %feature("compactdefaultargs") SetColor; - %feature("autodoc", " * Modifies the colour of the window background . + /****************** Color ******************/ + %feature("compactdefaultargs") Color; + %feature("autodoc", "* Returns the colour of the window background . + :rtype: Quantity_Color") Color; + Quantity_Color Color (); + + /****************** SetColor ******************/ + %feature("compactdefaultargs") SetColor; + %feature("autodoc", "* Modifies the colour of the window background . :param AColor: :type AColor: Quantity_Color & - :rtype: None -") SetColor; + :rtype: None") SetColor; void SetColor (const Quantity_Color & AColor); - %feature("compactdefaultargs") Color; - %feature("autodoc", " * Returns the colour of the window background . - :rtype: Quantity_Color -") Color; - Quantity_Color Color (); }; @@ -565,506 +465,98 @@ class Aspect_Background { __repr__ = _dumps_object } }; -%nodefaultctor Aspect_ColorScale; -class Aspect_ColorScale : public MMgt_TShared { - public: - %feature("compactdefaultargs") FindColor; - %feature("autodoc", " * Calculate color according passed value; returns true if value is in range or false, if isn't - :param theValue: - :type theValue: float - :param theColor: - :type theColor: Quantity_Color & - :rtype: bool -") FindColor; - Standard_Boolean FindColor (const Standard_Real theValue,Quantity_Color & theColor); - %feature("compactdefaultargs") FindColor; - %feature("autodoc", " :param theValue: - :type theValue: float - :param theMin: - :type theMin: float - :param theMax: - :type theMax: float - :param theColorsCount: - :type theColorsCount: int - :param theColor: - :type theColor: Quantity_Color & - :rtype: bool -") FindColor; - static Standard_Boolean FindColor (const Standard_Real theValue,const Standard_Real theMin,const Standard_Real theMax,const Standard_Integer theColorsCount,Quantity_Color & theColor); - %feature("compactdefaultargs") GetMin; - %feature("autodoc", " * Returns minimal value of color scale; - - :rtype: float -") GetMin; - Standard_Real GetMin (); - %feature("compactdefaultargs") GetMax; - %feature("autodoc", " * Returns maximal value of color scale; - - :rtype: float -") GetMax; - Standard_Real GetMax (); - %feature("compactdefaultargs") GetRange; - %feature("autodoc", " * Returns minimal and maximal values of color scale; - - :param theMin: - :type theMin: float & - :param theMax: - :type theMax: float & - :rtype: None -") GetRange; - void GetRange (Standard_Real &OutValue,Standard_Real &OutValue); - %feature("compactdefaultargs") GetLabelType; - %feature("autodoc", " * Returns the type of labels; Aspect_TOCSD_AUTO - labels as boundary values for intervals Aspect_TOCSD_USER - user specified label is used - - :rtype: Aspect_TypeOfColorScaleData -") GetLabelType; - Aspect_TypeOfColorScaleData GetLabelType (); - %feature("compactdefaultargs") GetColorType; - %feature("autodoc", " * Returns the type of colors; Aspect_TOCSD_AUTO - value between Red and Blue Aspect_TOCSD_USER - user specified color from color map - - :rtype: Aspect_TypeOfColorScaleData -") GetColorType; - Aspect_TypeOfColorScaleData GetColorType (); - %feature("compactdefaultargs") GetNumberOfIntervals; - %feature("autodoc", " * Returns the number of color scale intervals; - - :rtype: int -") GetNumberOfIntervals; - Standard_Integer GetNumberOfIntervals (); - %feature("compactdefaultargs") GetTitle; - %feature("autodoc", " * Returns the color scale title string; - - :rtype: TCollection_ExtendedString -") GetTitle; - TCollection_ExtendedString GetTitle (); - %feature("compactdefaultargs") GetFormat; - %feature("autodoc", " * Returns the format for numbers. The same like format for function printf(). Used if GetLabelType() is TOCSD_AUTO; - - :rtype: TCollection_AsciiString -") GetFormat; - TCollection_AsciiString GetFormat (); - %feature("compactdefaultargs") GetLabel; - %feature("autodoc", " * Returns the user specified label with index . Returns empty string if label not defined. - - :param theIndex: - :type theIndex: int - :rtype: TCollection_ExtendedString -") GetLabel; - TCollection_ExtendedString GetLabel (const Standard_Integer theIndex); - %feature("compactdefaultargs") GetColor; - %feature("autodoc", " * Returns the user specified color from color map with index . Returns default color if index out of range in color map. - - :param theIndex: - :type theIndex: int - :rtype: Quantity_Color -") GetColor; - Quantity_Color GetColor (const Standard_Integer theIndex); - %feature("compactdefaultargs") GetLabels; - %feature("autodoc", " * Returns the user specified labels. - - :param theLabels: - :type theLabels: TColStd_SequenceOfExtendedString & - :rtype: None -") GetLabels; - void GetLabels (TColStd_SequenceOfExtendedString & theLabels); - %feature("compactdefaultargs") GetColors; - %feature("autodoc", " * Returns the user specified colors. - - :param theColors: - :type theColors: Aspect_SequenceOfColor & - :rtype: None -") GetColors; - void GetColors (Aspect_SequenceOfColor & theColors); - %feature("compactdefaultargs") GetLabelPosition; - %feature("autodoc", " * Returns the position of labels concerning color filled rectangles. - - :rtype: Aspect_TypeOfColorScalePosition -") GetLabelPosition; - Aspect_TypeOfColorScalePosition GetLabelPosition (); - %feature("compactdefaultargs") GetTitlePosition; - %feature("autodoc", " * Returns the position of color scale title. - - :rtype: Aspect_TypeOfColorScalePosition -") GetTitlePosition; - Aspect_TypeOfColorScalePosition GetTitlePosition (); - %feature("compactdefaultargs") IsReversed; - %feature("autodoc", " * Returns true if the labels and colors used in reversed order. - - :rtype: bool -") IsReversed; - Standard_Boolean IsReversed (); - %feature("compactdefaultargs") IsLabelAtBorder; - %feature("autodoc", " * Returns true if the labels placed at border of color filled rectangles. - - :rtype: bool -") IsLabelAtBorder; - Standard_Boolean IsLabelAtBorder (); - %feature("compactdefaultargs") SetMin; - %feature("autodoc", " * Sets the minimal value of color scale. - - :param theMin: - :type theMin: float - :rtype: None -") SetMin; - void SetMin (const Standard_Real theMin); - %feature("compactdefaultargs") SetMax; - %feature("autodoc", " * Sets the maximal value of color scale. - - :param theMax: - :type theMax: float - :rtype: None -") SetMax; - void SetMax (const Standard_Real theMax); - %feature("compactdefaultargs") SetRange; - %feature("autodoc", " * Sets the minimal and maximal value of color scale. - - :param theMin: - :type theMin: float - :param theMax: - :type theMax: float - :rtype: None -") SetRange; - void SetRange (const Standard_Real theMin,const Standard_Real theMax); - %feature("compactdefaultargs") SetLabelType; - %feature("autodoc", " * Sets the type of labels. Aspect_TOCSD_AUTO - labels as boundary values for intervals Aspect_TOCSD_USER - user specified label is used - - :param theType: - :type theType: Aspect_TypeOfColorScaleData - :rtype: None -") SetLabelType; - void SetLabelType (const Aspect_TypeOfColorScaleData theType); - %feature("compactdefaultargs") SetColorType; - %feature("autodoc", " * Sets the type of colors. Aspect_TOCSD_AUTO - value between Red and Blue Aspect_TOCSD_USER - user specified color from color map - - :param theType: - :type theType: Aspect_TypeOfColorScaleData - :rtype: None -") SetColorType; - void SetColorType (const Aspect_TypeOfColorScaleData theType); - %feature("compactdefaultargs") SetNumberOfIntervals; - %feature("autodoc", " * Sets the number of color scale intervals. - - :param theNum: - :type theNum: int - :rtype: None -") SetNumberOfIntervals; - void SetNumberOfIntervals (const Standard_Integer theNum); - %feature("compactdefaultargs") SetTitle; - %feature("autodoc", " * Sets the color scale title string. - - :param theTitle: - :type theTitle: TCollection_ExtendedString & - :rtype: None -") SetTitle; - void SetTitle (const TCollection_ExtendedString & theTitle); - %feature("compactdefaultargs") SetFormat; - %feature("autodoc", " * Sets the color scale auto label format specification. - - :param theFormat: - :type theFormat: TCollection_AsciiString & - :rtype: None -") SetFormat; - void SetFormat (const TCollection_AsciiString & theFormat); - %feature("compactdefaultargs") SetLabel; - %feature("autodoc", " * Sets the color scale label at index. Index started from 1. - - :param theLabel: - :type theLabel: TCollection_ExtendedString & - :param anIndex: default value is -1 - :type anIndex: int - :rtype: None -") SetLabel; - void SetLabel (const TCollection_ExtendedString & theLabel,const Standard_Integer anIndex = -1); - %feature("compactdefaultargs") SetColor; - %feature("autodoc", " * Sets the color scale color at index. Index started from 1. - - :param theColor: - :type theColor: Quantity_Color & - :param theIndex: default value is -1 - :type theIndex: int - :rtype: None -") SetColor; - void SetColor (const Quantity_Color & theColor,const Standard_Integer theIndex = -1); - %feature("compactdefaultargs") SetLabels; - %feature("autodoc", " * Sets the color scale labels. - - :param theSeq: - :type theSeq: TColStd_SequenceOfExtendedString & - :rtype: None -") SetLabels; - void SetLabels (const TColStd_SequenceOfExtendedString & theSeq); - %feature("compactdefaultargs") SetColors; - %feature("autodoc", " * Sets the color scale colors. - - :param theSeq: - :type theSeq: Aspect_SequenceOfColor & - :rtype: None -") SetColors; - void SetColors (const Aspect_SequenceOfColor & theSeq); - %feature("compactdefaultargs") SetLabelPosition; - %feature("autodoc", " * Sets the color scale labels position concerning color filled rectangles. - - :param thePos: - :type thePos: Aspect_TypeOfColorScalePosition - :rtype: None -") SetLabelPosition; - void SetLabelPosition (const Aspect_TypeOfColorScalePosition thePos); - %feature("compactdefaultargs") SetTitlePosition; - %feature("autodoc", " * Sets the color scale title position. - - :param thePos: - :type thePos: Aspect_TypeOfColorScalePosition - :rtype: None -") SetTitlePosition; - void SetTitlePosition (const Aspect_TypeOfColorScalePosition thePos); - %feature("compactdefaultargs") SetReversed; - %feature("autodoc", " * Sets true if the labels and colors used in reversed order. - - :param theReverse: - :type theReverse: bool - :rtype: None -") SetReversed; - void SetReversed (const Standard_Boolean theReverse); - %feature("compactdefaultargs") SetLabelAtBorder; - %feature("autodoc", " * Sets true if the labels placed at border of color filled rectangles. - - :param theOn: - :type theOn: bool - :rtype: None -") SetLabelAtBorder; - void SetLabelAtBorder (const Standard_Boolean theOn); - %feature("compactdefaultargs") GetSize; - %feature("autodoc", " * Returns the size of color scale. - - :param theWidth: - :type theWidth: float & - :param theHeight: - :type theHeight: float & - :rtype: None -") GetSize; - void GetSize (Standard_Real &OutValue,Standard_Real &OutValue); - %feature("compactdefaultargs") GetWidth; - %feature("autodoc", " * Returns the width of color scale. - - :rtype: float -") GetWidth; - Standard_Real GetWidth (); - %feature("compactdefaultargs") GetHeight; - %feature("autodoc", " * Returns the height of color scale. - - :rtype: float -") GetHeight; - Standard_Real GetHeight (); - %feature("compactdefaultargs") SetSize; - %feature("autodoc", " * Sets the size of color scale. - - :param theWidth: - :type theWidth: float - :param theHeight: - :type theHeight: float - :rtype: None -") SetSize; - void SetSize (const Standard_Real theWidth,const Standard_Real theHeight); - %feature("compactdefaultargs") SetWidth; - %feature("autodoc", " * Sets the width of color scale. - - :param theWidth: - :type theWidth: float - :rtype: None -") SetWidth; - void SetWidth (const Standard_Real theWidth); - %feature("compactdefaultargs") SetHeight; - %feature("autodoc", " * Sets the height of color scale. - - :param theHeight: - :type theHeight: float - :rtype: None -") SetHeight; - void SetHeight (const Standard_Real theHeight); - %feature("compactdefaultargs") GetPosition; - %feature("autodoc", " * Returns the position of color scale. - - :param theX: - :type theX: float & - :param theY: - :type theY: float & - :rtype: None -") GetPosition; - void GetPosition (Standard_Real &OutValue,Standard_Real &OutValue); - %feature("compactdefaultargs") GetXPosition; - %feature("autodoc", " * Returns the X position of color scale. - - :rtype: float -") GetXPosition; - Standard_Real GetXPosition (); - %feature("compactdefaultargs") GetYPosition; - %feature("autodoc", " * Returns the height of color scale. - - :rtype: float -") GetYPosition; - Standard_Real GetYPosition (); - %feature("compactdefaultargs") SetPosition; - %feature("autodoc", " * Sets the position of color scale. - - :param theX: - :type theX: float - :param theY: - :type theY: float - :rtype: None -") SetPosition; - void SetPosition (const Standard_Real theX,const Standard_Real theY); - %feature("compactdefaultargs") SetXPosition; - %feature("autodoc", " * Sets the X position of color scale. - - :param theX: - :type theX: float - :rtype: None -") SetXPosition; - void SetXPosition (const Standard_Real theX); - %feature("compactdefaultargs") SetYPosition; - %feature("autodoc", " * Sets the Y position of color scale. - - :param theY: - :type theY: float - :rtype: None -") SetYPosition; - void SetYPosition (const Standard_Real theY); - %feature("compactdefaultargs") GetTextHeight; - %feature("autodoc", " * Returns the height of text of color scale. - - :rtype: int -") GetTextHeight; - Standard_Integer GetTextHeight (); - %feature("compactdefaultargs") SetTextHeight; - %feature("autodoc", " * Sets the height of text of color scale. - - :param theHeight: - :type theHeight: int - :rtype: None -") SetTextHeight; - void SetTextHeight (const Standard_Integer theHeight); - %feature("compactdefaultargs") PaintRect; - %feature("autodoc", " * Draws a rectangle. @param theX [in] the X coordinate of rectangle position. @param theY [in] the Y coordinate of rectangle position. @param theWidth [in] the width of rectangle. @param theHeight [in] the height of rectangle. @param theColor [in] the color of rectangle. @param theFilled [in] defines if rectangle must be filled. - - :param theX: - :type theX: int - :param theY: - :type theY: int - :param theWidth: - :type theWidth: int - :param theHeight: - :type theHeight: int - :param theColor: - :type theColor: Quantity_Color & - :param theFilled: default value is Standard_False - :type theFilled: bool - :rtype: void -") PaintRect; - virtual void PaintRect (const Standard_Integer theX,const Standard_Integer theY,const Standard_Integer theWidth,const Standard_Integer theHeight,const Quantity_Color & theColor,const Standard_Boolean theFilled = Standard_False); - %feature("compactdefaultargs") PaintText; - %feature("autodoc", " * Draws a text. @param theText [in] the text to draw. @param theX [in] the X coordinate of text position. @param theY [in] the Y coordinate of text position. @param theColor [in] the color of text. - - :param theText: - :type theText: TCollection_ExtendedString & - :param theX: - :type theX: int - :param theY: - :type theY: int - :param theColor: - :type theColor: Quantity_Color & - :rtype: void -") PaintText; - virtual void PaintText (const TCollection_ExtendedString & theText,const Standard_Integer theX,const Standard_Integer theY,const Quantity_Color & theColor); - %feature("compactdefaultargs") TextWidth; - %feature("autodoc", " * Returns the width of text. @param theText [in] the text of which to calculate width. - - :param theText: - :type theText: TCollection_ExtendedString & - :rtype: int -") TextWidth; - virtual Standard_Integer TextWidth (const TCollection_ExtendedString & theText); - %feature("compactdefaultargs") TextHeight; - %feature("autodoc", " * Returns the height of text. @param theText [in] the text of which to calculate height. - - :param theText: - :type theText: TCollection_ExtendedString & - :rtype: int -") TextHeight; - virtual Standard_Integer TextHeight (const TCollection_ExtendedString & theText); +/********************************* +* class Aspect_DisplayConnection * +*********************************/ +%nodefaultctor Aspect_DisplayConnection; +class Aspect_DisplayConnection : public Standard_Transient { + public: }; -%make_alias(Aspect_ColorScale) +%make_alias(Aspect_DisplayConnection) -%extend Aspect_ColorScale { +%extend Aspect_DisplayConnection { %pythoncode { __repr__ = _dumps_object } }; + +/********************* +* class Aspect_GenId * +*********************/ %nodefaultctor Aspect_GenId; class Aspect_GenId { public: + /****************** Aspect_GenId ******************/ %feature("compactdefaultargs") Aspect_GenId; - %feature("autodoc", " * Creates an available set of identifiers with the lower bound 0 and the upper bound INT_MAX / 2. - - :rtype: None -") Aspect_GenId; + %feature("autodoc", "* Creates an available set of identifiers with the lower bound 0 and the upper bound INT_MAX / 2. + :rtype: None") Aspect_GenId; Aspect_GenId (); - %feature("compactdefaultargs") Aspect_GenId; - %feature("autodoc", " * Creates an available set of identifiers with specified range. Raises IdentDefinitionError if theUpper is less than theLow. + /****************** Aspect_GenId ******************/ + %feature("compactdefaultargs") Aspect_GenId; + %feature("autodoc", "* Creates an available set of identifiers with specified range. Raises IdentDefinitionError if theUpper is less than theLow. :param theLow: :type theLow: int :param theUpper: :type theUpper: int - :rtype: None -") Aspect_GenId; + :rtype: None") Aspect_GenId; Aspect_GenId (const Standard_Integer theLow,const Standard_Integer theUpper); - %feature("compactdefaultargs") Free; - %feature("autodoc", " * Free all identifiers - make the whole range available again. - :rtype: None -") Free; - void Free (); + /****************** Available ******************/ + %feature("compactdefaultargs") Available; + %feature("autodoc", "* Returns the number of available identifiers. + :rtype: int") Available; + Standard_Integer Available (); + + /****************** Free ******************/ %feature("compactdefaultargs") Free; - %feature("autodoc", " * Free specified identifier. Warning - method has no protection against double-freeing! + %feature("autodoc", "* Free all identifiers - make the whole range available again. + :rtype: None") Free; + void Free (); + /****************** Free ******************/ + %feature("compactdefaultargs") Free; + %feature("autodoc", "* Free specified identifier. Warning - method has no protection against double-freeing! :param theId: :type theId: int - :rtype: None -") Free; + :rtype: None") Free; void Free (const Standard_Integer theId); - %feature("compactdefaultargs") HasFree; - %feature("autodoc", " * Returns true if there are available identifiers in range. - :rtype: bool -") HasFree; + /****************** HasFree ******************/ + %feature("compactdefaultargs") HasFree; + %feature("autodoc", "* Returns true if there are available identifiers in range. + :rtype: bool") HasFree; Standard_Boolean HasFree (); - %feature("compactdefaultargs") Available; - %feature("autodoc", " * Returns the number of available identifiers. - :rtype: int -") Available; - Standard_Integer Available (); + /****************** Lower ******************/ %feature("compactdefaultargs") Lower; - %feature("autodoc", " * Returns the lower identifier in range. - - :rtype: int -") Lower; + %feature("autodoc", "* Returns the lower identifier in range. + :rtype: int") Lower; Standard_Integer Lower (); - %feature("compactdefaultargs") Next; - %feature("autodoc", " * Returns the next available identifier. Warning: Raises IdentDefinitionError if all identifiers are busy. - :rtype: int -") Next; + /****************** Next ******************/ + %feature("compactdefaultargs") Next; + %feature("autodoc", "* Returns the next available identifier. Warning: Raises IdentDefinitionError if all identifiers are busy. + :rtype: int") Next; Standard_Integer Next (); - %feature("compactdefaultargs") Upper; - %feature("autodoc", " * Returns the upper identifier in range. - :rtype: int -") Upper; + /****************** Next ******************/ + %feature("compactdefaultargs") Next; + %feature("autodoc", "* Generates the next available identifier. @param theId [out] generated identifier returns False if all identifiers are busy. + :param theId: + :type theId: int & + :rtype: bool") Next; + Standard_Boolean Next (Standard_Integer &OutValue); + + /****************** Upper ******************/ + %feature("compactdefaultargs") Upper; + %feature("autodoc", "* Returns the upper identifier in range. + :rtype: int") Upper; Standard_Integer Upper (); + }; @@ -1073,187 +565,176 @@ class Aspect_GenId { __repr__ = _dumps_object } }; -%nodefaultctor Aspect_GraphicCallbackStruct; -class Aspect_GraphicCallbackStruct { - public: - int reason; - int wsID; - int viewID; - bool IsCoreProfile; - Handle_Standard_Transient glContext; -}; - -%extend Aspect_GraphicCallbackStruct { - %pythoncode { - __repr__ = _dumps_object - } -}; +/******************** +* class Aspect_Grid * +********************/ %nodefaultctor Aspect_Grid; -class Aspect_Grid : public MMgt_TShared { +class Aspect_Grid : public Standard_Transient { public: - %feature("compactdefaultargs") SetXOrigin; - %feature("autodoc", " * defines the x Origin of the grid. - - :param anOrigin: - :type anOrigin: Quantity_Length - :rtype: None -") SetXOrigin; - void SetXOrigin (const Quantity_Length anOrigin); - %feature("compactdefaultargs") SetYOrigin; - %feature("autodoc", " * defines the y Origin of the grid. - - :param anOrigin: - :type anOrigin: Quantity_Length - :rtype: None -") SetYOrigin; - void SetYOrigin (const Quantity_Length anOrigin); - %feature("compactdefaultargs") SetRotationAngle; - %feature("autodoc", " * defines the orientation of the the grid. - - :param anAngle: - :type anAngle: Quantity_PlaneAngle - :rtype: None -") SetRotationAngle; - void SetRotationAngle (const Quantity_PlaneAngle anAngle); - %feature("compactdefaultargs") Rotate; - %feature("autodoc", " * Rotate the grid from a relative angle. - - :param anAngle: - :type anAngle: Quantity_PlaneAngle - :rtype: None -") Rotate; - void Rotate (const Quantity_PlaneAngle anAngle); - %feature("compactdefaultargs") Translate; - %feature("autodoc", " * Translate the grid from a relative distance. - - :param aDx: - :type aDx: Quantity_Length - :param aDy: - :type aDy: Quantity_Length - :rtype: None -") Translate; - void Translate (const Quantity_Length aDx,const Quantity_Length aDy); - %feature("compactdefaultargs") SetColors; - %feature("autodoc", " * Change the colors of the grid + /****************** Activate ******************/ + %feature("compactdefaultargs") Activate; + %feature("autodoc", "* activates the grid. The Hit method will return gridx and gridx computed according to the steps of the grid. + :rtype: None") Activate; + void Activate (); + /****************** Colors ******************/ + %feature("compactdefaultargs") Colors; + %feature("autodoc", "* Returns the colors of the grid. :param aColor: :type aColor: Quantity_Color & :param aTenthColor: :type aTenthColor: Quantity_Color & - :rtype: void -") SetColors; - virtual void SetColors (const Quantity_Color & aColor,const Quantity_Color & aTenthColor); - %feature("compactdefaultargs") Hit; - %feature("autodoc", " * returns the point of the grid the closest to the point X,Y if the grid is active. If the grid is not active returns X,Y. + :rtype: None") Colors; + void Colors (Quantity_Color & aColor,Quantity_Color & aTenthColor); + /****************** Compute ******************/ + %feature("compactdefaultargs") Compute; + %feature("autodoc", "* returns the point of the grid the closest to the point X,Y :param X: - :type X: Quantity_Length + :type X: float :param Y: - :type Y: Quantity_Length + :type Y: float :param gridX: - :type gridX: Quantity_Length & + :type gridX: float & :param gridY: - :type gridY: Quantity_Length & - :rtype: None -") Hit; - void Hit (const Quantity_Length X,const Quantity_Length Y,Standard_Real &OutValue,Standard_Real &OutValue); - %feature("compactdefaultargs") Compute; - %feature("autodoc", " * returns the point of the grid the closest to the point X,Y + :type gridY: float & + :rtype: void") Compute; + virtual void Compute (const Standard_Real X,const Standard_Real Y,Standard_Real &OutValue,Standard_Real &OutValue); + + /****************** Deactivate ******************/ + %feature("compactdefaultargs") Deactivate; + %feature("autodoc", "* deactivates the grid. The hit method will return gridx and gridx as the enter value X & Y. + :rtype: None") Deactivate; + void Deactivate (); + /****************** Display ******************/ + %feature("compactdefaultargs") Display; + %feature("autodoc", "* Display the grid at screen. + :rtype: void") Display; + virtual void Display (); + + /****************** DrawMode ******************/ + %feature("compactdefaultargs") DrawMode; + %feature("autodoc", "* Returns the grid aspect. + :rtype: Aspect_GridDrawMode") DrawMode; + Aspect_GridDrawMode DrawMode (); + + /****************** Erase ******************/ + %feature("compactdefaultargs") Erase; + %feature("autodoc", "* Erase the grid from screen. + :rtype: void") Erase; + virtual void Erase (); + + /****************** Hit ******************/ + %feature("compactdefaultargs") Hit; + %feature("autodoc", "* returns the point of the grid the closest to the point X,Y if the grid is active. If the grid is not active returns X,Y. :param X: - :type X: Quantity_Length + :type X: float :param Y: - :type Y: Quantity_Length + :type Y: float :param gridX: - :type gridX: Quantity_Length & + :type gridX: float & :param gridY: - :type gridY: Quantity_Length & - :rtype: void -") Compute; - virtual void Compute (const Quantity_Length X,const Quantity_Length Y,Standard_Real &OutValue,Standard_Real &OutValue); - %feature("compactdefaultargs") Activate; - %feature("autodoc", " * activates the grid. The Hit method will return gridx and gridx computed according to the steps of the grid. - - :rtype: None -") Activate; - void Activate (); - %feature("compactdefaultargs") Deactivate; - %feature("autodoc", " * deactivates the grid. The hit method will return gridx and gridx as the enter value X & Y. + :type gridY: float & + :rtype: None") Hit; + void Hit (const Standard_Real X,const Standard_Real Y,Standard_Real &OutValue,Standard_Real &OutValue); - :rtype: None -") Deactivate; - void Deactivate (); - %feature("compactdefaultargs") XOrigin; - %feature("autodoc", " * returns the x Origin of the grid. + /****************** Init ******************/ + %feature("compactdefaultargs") Init; + %feature("autodoc", ":rtype: void") Init; + virtual void Init (); - :rtype: Quantity_Length -") XOrigin; - Quantity_Length XOrigin (); - %feature("compactdefaultargs") YOrigin; - %feature("autodoc", " * returns the x Origin of the grid. + /****************** IsActive ******************/ + %feature("compactdefaultargs") IsActive; + %feature("autodoc", "* Returns True when the grid is active. + :rtype: bool") IsActive; + Standard_Boolean IsActive (); - :rtype: Quantity_Length -") YOrigin; - Quantity_Length YOrigin (); - %feature("compactdefaultargs") RotationAngle; - %feature("autodoc", " * returns the x Angle of the grid. + /****************** IsDisplayed ******************/ + %feature("compactdefaultargs") IsDisplayed; + %feature("autodoc", "* Returns True when the grid is displayed at screen. + :rtype: bool") IsDisplayed; + virtual Standard_Boolean IsDisplayed (); - :rtype: Quantity_PlaneAngle -") RotationAngle; - Quantity_PlaneAngle RotationAngle (); - %feature("compactdefaultargs") IsActive; - %feature("autodoc", " * Returns True when the grid is active. + /****************** Rotate ******************/ + %feature("compactdefaultargs") Rotate; + %feature("autodoc", "* Rotate the grid from a relative angle. + :param anAngle: + :type anAngle: float + :rtype: None") Rotate; + void Rotate (const Standard_Real anAngle); - :rtype: bool -") IsActive; - Standard_Boolean IsActive (); - %feature("compactdefaultargs") Colors; - %feature("autodoc", " * Returns the colors of the grid. + /****************** RotationAngle ******************/ + %feature("compactdefaultargs") RotationAngle; + %feature("autodoc", "* returns the x Angle of the grid. + :rtype: float") RotationAngle; + Standard_Real RotationAngle (); + /****************** SetColors ******************/ + %feature("compactdefaultargs") SetColors; + %feature("autodoc", "* Change the colors of the grid :param aColor: :type aColor: Quantity_Color & :param aTenthColor: :type aTenthColor: Quantity_Color & - :rtype: None -") Colors; - void Colors (Quantity_Color & aColor,Quantity_Color & aTenthColor); - %feature("compactdefaultargs") SetDrawMode; - %feature("autodoc", " * Change the grid aspect. + :rtype: void") SetColors; + virtual void SetColors (const Quantity_Color & aColor,const Quantity_Color & aTenthColor); + /****************** SetDrawMode ******************/ + %feature("compactdefaultargs") SetDrawMode; + %feature("autodoc", "* Change the grid aspect. :param aDrawMode: :type aDrawMode: Aspect_GridDrawMode - :rtype: None -") SetDrawMode; + :rtype: None") SetDrawMode; void SetDrawMode (const Aspect_GridDrawMode aDrawMode); - %feature("compactdefaultargs") DrawMode; - %feature("autodoc", " * Returns the grid aspect. - :rtype: Aspect_GridDrawMode -") DrawMode; - Aspect_GridDrawMode DrawMode (); - %feature("compactdefaultargs") Display; - %feature("autodoc", " * Display the grid at screen. + /****************** SetRotationAngle ******************/ + %feature("compactdefaultargs") SetRotationAngle; + %feature("autodoc", "* defines the orientation of the grid. + :param anAngle: + :type anAngle: float + :rtype: None") SetRotationAngle; + void SetRotationAngle (const Standard_Real anAngle); - :rtype: void -") Display; - virtual void Display (); - %feature("compactdefaultargs") Erase; - %feature("autodoc", " * Erase the grid from screen. + /****************** SetXOrigin ******************/ + %feature("compactdefaultargs") SetXOrigin; + %feature("autodoc", "* defines the x Origin of the grid. + :param anOrigin: + :type anOrigin: float + :rtype: None") SetXOrigin; + void SetXOrigin (const Standard_Real anOrigin); - :rtype: void -") Erase; - virtual void Erase (); - %feature("compactdefaultargs") IsDisplayed; - %feature("autodoc", " * Returns True when the grid is displayed at screen. + /****************** SetYOrigin ******************/ + %feature("compactdefaultargs") SetYOrigin; + %feature("autodoc", "* defines the y Origin of the grid. + :param anOrigin: + :type anOrigin: float + :rtype: None") SetYOrigin; + void SetYOrigin (const Standard_Real anOrigin); + + /****************** Translate ******************/ + %feature("compactdefaultargs") Translate; + %feature("autodoc", "* Translate the grid from a relative distance. + :param aDx: + :type aDx: float + :param aDy: + :type aDy: float + :rtype: None") Translate; + void Translate (const Standard_Real aDx,const Standard_Real aDy); + + /****************** XOrigin ******************/ + %feature("compactdefaultargs") XOrigin; + %feature("autodoc", "* returns the x Origin of the grid. + :rtype: float") XOrigin; + Standard_Real XOrigin (); + + /****************** YOrigin ******************/ + %feature("compactdefaultargs") YOrigin; + %feature("autodoc", "* returns the x Origin of the grid. + :rtype: float") YOrigin; + Standard_Real YOrigin (); - :rtype: bool -") IsDisplayed; - virtual Standard_Boolean IsDisplayed (); - %feature("compactdefaultargs") Init; - %feature("autodoc", " :rtype: void -") Init; - virtual void Init (); }; @@ -1264,321 +745,270 @@ class Aspect_Grid : public MMgt_TShared { __repr__ = _dumps_object } }; -%nodefaultctor Aspect_SequenceNodeOfSequenceOfColor; -class Aspect_SequenceNodeOfSequenceOfColor : public TCollection_SeqNode { + +/*************************** +* class Aspect_ScrollDelta * +***************************/ +%nodefaultctor Aspect_ScrollDelta; +class Aspect_ScrollDelta { public: - %feature("compactdefaultargs") Aspect_SequenceNodeOfSequenceOfColor; - %feature("autodoc", " :param I: - :type I: Quantity_Color & - :param n: - :type n: TCollection_SeqNodePtr & - :param p: - :type p: TCollection_SeqNodePtr & - :rtype: None -") Aspect_SequenceNodeOfSequenceOfColor; - Aspect_SequenceNodeOfSequenceOfColor (const Quantity_Color & I,const TCollection_SeqNodePtr & n,const TCollection_SeqNodePtr & p); - %feature("compactdefaultargs") Value; - %feature("autodoc", " :rtype: Quantity_Color -") Value; - Quantity_Color & Value (); -}; + float Delta; + Aspect_VKeyFlags Flags; + /****************** Aspect_ScrollDelta ******************/ + %feature("compactdefaultargs") Aspect_ScrollDelta; + %feature("autodoc", "* Empty constructor. + :rtype: None") Aspect_ScrollDelta; + Aspect_ScrollDelta (); + + /****************** Aspect_ScrollDelta ******************/ + %feature("compactdefaultargs") Aspect_ScrollDelta; + %feature("autodoc", "* Constructor. + :param thePnt: + :type thePnt: NCollection_Vec2 & + :param theValue: + :type theValue: float + :param theFlags: default value is Aspect_VKeyFlags_NONE + :type theFlags: Aspect_VKeyFlags + :rtype: None") Aspect_ScrollDelta; + Aspect_ScrollDelta (const NCollection_Vec2 & thePnt,Standard_Real theValue,Aspect_VKeyFlags theFlags = Aspect_VKeyFlags_NONE); + + /****************** Aspect_ScrollDelta ******************/ + %feature("compactdefaultargs") Aspect_ScrollDelta; + %feature("autodoc", "* Constructor with undefined point. + :param theValue: + :type theValue: float + :param theFlags: default value is Aspect_VKeyFlags_NONE + :type theFlags: Aspect_VKeyFlags + :rtype: None") Aspect_ScrollDelta; + Aspect_ScrollDelta (Standard_Real theValue,Aspect_VKeyFlags theFlags = Aspect_VKeyFlags_NONE); + + /****************** HasPoint ******************/ + %feature("compactdefaultargs") HasPoint; + %feature("autodoc", "* //!< key flags Return true if action has point defined. + :rtype: bool") HasPoint; + bool HasPoint (); + + /****************** ResetPoint ******************/ + %feature("compactdefaultargs") ResetPoint; + %feature("autodoc", "* Reset at point. + :rtype: None") ResetPoint; + void ResetPoint (); +}; -%make_alias(Aspect_SequenceNodeOfSequenceOfColor) -%extend Aspect_SequenceNodeOfSequenceOfColor { +%extend Aspect_ScrollDelta { %pythoncode { __repr__ = _dumps_object } }; -%nodefaultctor Aspect_SequenceOfColor; -class Aspect_SequenceOfColor : public TCollection_BaseSequence { + +/********************* +* class Aspect_Touch * +*********************/ +%nodefaultctor Aspect_Touch; +class Aspect_Touch { public: - %feature("compactdefaultargs") Aspect_SequenceOfColor; - %feature("autodoc", " :rtype: None -") Aspect_SequenceOfColor; - Aspect_SequenceOfColor (); - %feature("compactdefaultargs") Aspect_SequenceOfColor; - %feature("autodoc", " :param Other: - :type Other: Aspect_SequenceOfColor & - :rtype: None -") Aspect_SequenceOfColor; - Aspect_SequenceOfColor (const Aspect_SequenceOfColor & Other); - %feature("compactdefaultargs") Clear; - %feature("autodoc", " :rtype: None -") Clear; - void Clear (); - %feature("compactdefaultargs") Assign; - %feature("autodoc", " :param Other: - :type Other: Aspect_SequenceOfColor & - :rtype: Aspect_SequenceOfColor -") Assign; - const Aspect_SequenceOfColor & Assign (const Aspect_SequenceOfColor & Other); - %feature("compactdefaultargs") operator =; - %feature("autodoc", " :param Other: - :type Other: Aspect_SequenceOfColor & - :rtype: Aspect_SequenceOfColor -") operator =; - const Aspect_SequenceOfColor & operator = (const Aspect_SequenceOfColor & Other); - %feature("compactdefaultargs") Append; - %feature("autodoc", " :param T: - :type T: Quantity_Color & - :rtype: None -") Append; - void Append (const Quantity_Color & T); - %feature("compactdefaultargs") Append; - %feature("autodoc", " :param S: - :type S: Aspect_SequenceOfColor & - :rtype: None -") Append; - void Append (Aspect_SequenceOfColor & S); - %feature("compactdefaultargs") Prepend; - %feature("autodoc", " :param T: - :type T: Quantity_Color & - :rtype: None -") Prepend; - void Prepend (const Quantity_Color & T); - %feature("compactdefaultargs") Prepend; - %feature("autodoc", " :param S: - :type S: Aspect_SequenceOfColor & - :rtype: None -") Prepend; - void Prepend (Aspect_SequenceOfColor & S); - %feature("compactdefaultargs") InsertBefore; - %feature("autodoc", " :param Index: - :type Index: int - :param T: - :type T: Quantity_Color & - :rtype: None -") InsertBefore; - void InsertBefore (const Standard_Integer Index,const Quantity_Color & T); - %feature("compactdefaultargs") InsertBefore; - %feature("autodoc", " :param Index: - :type Index: int - :param S: - :type S: Aspect_SequenceOfColor & - :rtype: None -") InsertBefore; - void InsertBefore (const Standard_Integer Index,Aspect_SequenceOfColor & S); - %feature("compactdefaultargs") InsertAfter; - %feature("autodoc", " :param Index: - :type Index: int - :param T: - :type T: Quantity_Color & - :rtype: None -") InsertAfter; - void InsertAfter (const Standard_Integer Index,const Quantity_Color & T); - %feature("compactdefaultargs") InsertAfter; - %feature("autodoc", " :param Index: - :type Index: int - :param S: - :type S: Aspect_SequenceOfColor & - :rtype: None -") InsertAfter; - void InsertAfter (const Standard_Integer Index,Aspect_SequenceOfColor & S); - %feature("compactdefaultargs") First; - %feature("autodoc", " :rtype: Quantity_Color -") First; - const Quantity_Color & First (); - %feature("compactdefaultargs") Last; - %feature("autodoc", " :rtype: Quantity_Color -") Last; - const Quantity_Color & Last (); - %feature("compactdefaultargs") Split; - %feature("autodoc", " :param Index: - :type Index: int - :param Sub: - :type Sub: Aspect_SequenceOfColor & - :rtype: None -") Split; - void Split (const Standard_Integer Index,Aspect_SequenceOfColor & Sub); - %feature("compactdefaultargs") Value; - %feature("autodoc", " :param Index: - :type Index: int - :rtype: Quantity_Color -") Value; - const Quantity_Color & Value (const Standard_Integer Index); - %feature("compactdefaultargs") SetValue; - %feature("autodoc", " :param Index: - :type Index: int - :param I: - :type I: Quantity_Color & - :rtype: None -") SetValue; - void SetValue (const Standard_Integer Index,const Quantity_Color & I); - %feature("compactdefaultargs") ChangeValue; - %feature("autodoc", " :param Index: - :type Index: int - :rtype: Quantity_Color -") ChangeValue; - Quantity_Color & ChangeValue (const Standard_Integer Index); - %feature("compactdefaultargs") Remove; - %feature("autodoc", " :param Index: - :type Index: int - :rtype: None -") Remove; - void Remove (const Standard_Integer Index); - %feature("compactdefaultargs") Remove; - %feature("autodoc", " :param FromIndex: - :type FromIndex: int - :param ToIndex: - :type ToIndex: int - :rtype: None -") Remove; - void Remove (const Standard_Integer FromIndex,const Standard_Integer ToIndex); + bool IsPreciseDevice; + /****************** Aspect_Touch ******************/ + %feature("compactdefaultargs") Aspect_Touch; + %feature("autodoc", "* Empty constructor + :rtype: None") Aspect_Touch; + Aspect_Touch (); + + /****************** Aspect_Touch ******************/ + %feature("compactdefaultargs") Aspect_Touch; + %feature("autodoc", "* Constructor with initialization. + :param thePnt: + :type thePnt: NCollection_Vec2 & + :param theIsPreciseDevice: + :type theIsPreciseDevice: bool + :rtype: None") Aspect_Touch; + Aspect_Touch (const NCollection_Vec2 & thePnt,Standard_Boolean theIsPreciseDevice); + + /****************** Aspect_Touch ******************/ + %feature("compactdefaultargs") Aspect_Touch; + %feature("autodoc", "* Constructor with initialization. + :param theX: + :type theX: float + :param theY: + :type theY: float + :param theIsPreciseDevice: + :type theIsPreciseDevice: bool + :rtype: None") Aspect_Touch; + Aspect_Touch (Standard_Real theX,Standard_Real theY,Standard_Boolean theIsPreciseDevice); + + /****************** Delta ******************/ + %feature("compactdefaultargs") Delta; + %feature("autodoc", "* //!< precise device input (e.g. mouse cursor, NOT emulated from touch screen) Return values delta. + :rtype: NCollection_Vec2") Delta; + NCollection_Vec2 Delta (); + }; -%extend Aspect_SequenceOfColor { +%extend Aspect_Touch { %pythoncode { __repr__ = _dumps_object } }; + +/********************** +* class Aspect_Window * +**********************/ %nodefaultctor Aspect_Window; -class Aspect_Window : public MMgt_TShared { +class Aspect_Window : public Standard_Transient { public: - %feature("compactdefaultargs") SetBackground; - %feature("autodoc", " * Modifies the window background. + /****************** Background ******************/ + %feature("compactdefaultargs") Background; + %feature("autodoc", "* Returns the window background. + :rtype: Aspect_Background") Background; + Aspect_Background Background (); + + /****************** BackgroundFillMethod ******************/ + %feature("compactdefaultargs") BackgroundFillMethod; + %feature("autodoc", "* Returns the current image background fill mode. + :rtype: Aspect_FillMethod") BackgroundFillMethod; + Aspect_FillMethod BackgroundFillMethod (); + + /****************** DoMapping ******************/ + %feature("compactdefaultargs") DoMapping; + %feature("autodoc", "* Apply the mapping change to the window . and returns True if the window is mapped at screen. + :rtype: bool") DoMapping; + virtual Standard_Boolean DoMapping (); + + /****************** DoResize ******************/ + %feature("compactdefaultargs") DoResize; + %feature("autodoc", "* Apply the resizing to the window . + :rtype: Aspect_TypeOfResize") DoResize; + virtual Aspect_TypeOfResize DoResize (); + + /****************** GradientBackground ******************/ + %feature("compactdefaultargs") GradientBackground; + %feature("autodoc", "* Returns the window gradient background. + :rtype: Aspect_GradientBackground") GradientBackground; + Aspect_GradientBackground GradientBackground (); + + /****************** InvalidateContent ******************/ + %feature("compactdefaultargs") InvalidateContent; + %feature("autodoc", "* Invalidate entire window content. //! Implementation is expected to allow calling this method from non-GUI thread, e.g. by queuing exposure event into window message queue or in other thread-safe manner. //! Optional display argument should be passed when called from non-GUI thread on platforms implementing thread-unsafe connections to display. NULL can be passed instead otherwise. + :param theDisp: + :type theDisp: opencascade::handle & + :rtype: None") InvalidateContent; + void InvalidateContent (const opencascade::handle & theDisp); + /****************** IsMapped ******************/ + %feature("compactdefaultargs") IsMapped; + %feature("autodoc", "* Returns True if the window is opened and False if the window is closed. + :rtype: bool") IsMapped; + virtual Standard_Boolean IsMapped (); + + /****************** IsVirtual ******************/ + %feature("compactdefaultargs") IsVirtual; + %feature("autodoc", "* Returns True if the window is virtual + :rtype: bool") IsVirtual; + Standard_Boolean IsVirtual (); + + /****************** Map ******************/ + %feature("compactdefaultargs") Map; + %feature("autodoc", "* Opens the window . + :rtype: void") Map; + virtual void Map (); + + /****************** NativeFBConfig ******************/ + %feature("compactdefaultargs") NativeFBConfig; + %feature("autodoc", "* Returns native Window FB config (GLXFBConfig on Xlib) + :rtype: Aspect_FBConfig") NativeFBConfig; + virtual Aspect_FBConfig NativeFBConfig (); + + /****************** Position ******************/ + %feature("compactdefaultargs") Position; + %feature("autodoc", "* Returns The Window POSITION in PIXEL + :param X1: + :type X1: int & + :param Y1: + :type Y1: int & + :param X2: + :type X2: int & + :param Y2: + :type Y2: int & + :rtype: void") Position; + virtual void Position (Standard_Integer &OutValue,Standard_Integer &OutValue,Standard_Integer &OutValue,Standard_Integer &OutValue); + + /****************** Ratio ******************/ + %feature("compactdefaultargs") Ratio; + %feature("autodoc", "* Returns The Window RATIO equal to the physical WIDTH/HEIGHT dimensions + :rtype: float") Ratio; + virtual Standard_Real Ratio (); + + /****************** SetBackground ******************/ + %feature("compactdefaultargs") SetBackground; + %feature("autodoc", "* Modifies the window background. :param ABack: :type ABack: Aspect_Background & - :rtype: None -") SetBackground; + :rtype: None") SetBackground; void SetBackground (const Aspect_Background & ABack); - %feature("compactdefaultargs") SetBackground; - %feature("autodoc", " * Modifies the window background from a Named Color. - :param theNameOfColor: - :type theNameOfColor: Quantity_NameOfColor - :rtype: None -") SetBackground; - void SetBackground (const Quantity_NameOfColor theNameOfColor); + /****************** SetBackground ******************/ %feature("compactdefaultargs") SetBackground; - %feature("autodoc", " * Modifies the window background. - + %feature("autodoc", "* Modifies the window background. :param color: :type color: Quantity_Color & - :rtype: None -") SetBackground; + :rtype: None") SetBackground; void SetBackground (const Quantity_Color & color); - %feature("compactdefaultargs") SetBackground; - %feature("autodoc", " * Modifies the window gradient background. + /****************** SetBackground ******************/ + %feature("compactdefaultargs") SetBackground; + %feature("autodoc", "* Modifies the window gradient background. :param ABackground: :type ABackground: Aspect_GradientBackground & - :rtype: None -") SetBackground; + :rtype: None") SetBackground; void SetBackground (const Aspect_GradientBackground & ABackground); - %feature("compactdefaultargs") SetBackground; - %feature("autodoc", " * Modifies the window gradient background. + /****************** SetBackground ******************/ + %feature("compactdefaultargs") SetBackground; + %feature("autodoc", "* Modifies the window gradient background. :param theFirstColor: :type theFirstColor: Quantity_Color & :param theSecondColor: :type theSecondColor: Quantity_Color & :param theFillMethod: :type theFillMethod: Aspect_GradientFillMethod - :rtype: None -") SetBackground; + :rtype: None") SetBackground; void SetBackground (const Quantity_Color & theFirstColor,const Quantity_Color & theSecondColor,const Aspect_GradientFillMethod theFillMethod); - %feature("compactdefaultargs") Map; - %feature("autodoc", " * Opens the window . - - :rtype: void -") Map; - virtual void Map (); - %feature("compactdefaultargs") Unmap; - %feature("autodoc", " * Closes the window . - - :rtype: void -") Unmap; - virtual void Unmap (); - %feature("compactdefaultargs") DoResize; - %feature("autodoc", " * Apply the resizing to the window . - - :rtype: Aspect_TypeOfResize -") DoResize; - virtual Aspect_TypeOfResize DoResize (); - %feature("compactdefaultargs") DoMapping; - %feature("autodoc", " * Apply the mapping change to the window . and returns True if the window is mapped at screen. - - :rtype: bool -") DoMapping; - virtual Standard_Boolean DoMapping (); - %feature("compactdefaultargs") Destroy; - %feature("autodoc", " * Destroy the Window - :rtype: void -") Destroy; - virtual void Destroy (); - %feature("compactdefaultargs") Background; - %feature("autodoc", " * Returns the window background. - - :rtype: Aspect_Background -") Background; - Aspect_Background Background (); - %feature("compactdefaultargs") BackgroundFillMethod; - %feature("autodoc", " * Returns the current image background fill mode. - - :rtype: Aspect_FillMethod -") BackgroundFillMethod; - Aspect_FillMethod BackgroundFillMethod (); - %feature("compactdefaultargs") GradientBackground; - %feature("autodoc", " * Returns the window gradient background. - - :rtype: Aspect_GradientBackground -") GradientBackground; - Aspect_GradientBackground GradientBackground (); - %feature("compactdefaultargs") IsMapped; - %feature("autodoc", " * Returns True if the window is opened and False if the window is closed. - - :rtype: bool -") IsMapped; - virtual Standard_Boolean IsMapped (); - %feature("compactdefaultargs") IsVirtual; - %feature("autodoc", " * Returns True if the window is virtual + /****************** SetTitle ******************/ + %feature("compactdefaultargs") SetTitle; + %feature("autodoc", "* Sets window title. + :param theTitle: + :type theTitle: TCollection_AsciiString & + :rtype: None") SetTitle; + void SetTitle (const TCollection_AsciiString & theTitle); - :rtype: bool -") IsVirtual; - Standard_Boolean IsVirtual (); + /****************** SetVirtual ******************/ %feature("compactdefaultargs") SetVirtual; - %feature("autodoc", " * Setup the virtual state - + %feature("autodoc", "* Setup the virtual state :param theVirtual: :type theVirtual: bool - :rtype: None -") SetVirtual; + :rtype: None") SetVirtual; void SetVirtual (const Standard_Boolean theVirtual); - %feature("compactdefaultargs") Ratio; - %feature("autodoc", " * Returns The Window RATIO equal to the physical WIDTH/HEIGHT dimensions - - :rtype: Quantity_Ratio -") Ratio; - virtual Quantity_Ratio Ratio (); - %feature("compactdefaultargs") Position; - %feature("autodoc", " * Returns The Window POSITION in PIXEL - :param X1: - :type X1: int & - :param Y1: - :type Y1: int & - :param X2: - :type X2: int & - :param Y2: - :type Y2: int & - :rtype: void -") Position; - virtual void Position (Standard_Integer &OutValue,Standard_Integer &OutValue,Standard_Integer &OutValue,Standard_Integer &OutValue); + /****************** Size ******************/ %feature("compactdefaultargs") Size; - %feature("autodoc", " * Returns The Window SIZE in PIXEL - + %feature("autodoc", "* Returns The Window SIZE in PIXEL :param Width: :type Width: int & :param Height: :type Height: int & - :rtype: void -") Size; + :rtype: void") Size; virtual void Size (Standard_Integer &OutValue,Standard_Integer &OutValue); + + /****************** Unmap ******************/ + %feature("compactdefaultargs") Unmap; + %feature("autodoc", "* Closes the window . + :rtype: void") Unmap; + virtual void Unmap (); + }; @@ -1589,144 +1019,62 @@ class Aspect_Window : public MMgt_TShared { __repr__ = _dumps_object } }; -%nodefaultctor Aspect_CircularGrid; -class Aspect_CircularGrid : public Aspect_Grid { - public: - %feature("compactdefaultargs") Aspect_CircularGrid; - %feature("autodoc", " * creates a new grid. By default this grid is not active. - - :param aRadiusStep: - :type aRadiusStep: Quantity_Length - :param aDivisionNumber: - :type aDivisionNumber: int - :param XOrigin: default value is 0 - :type XOrigin: Quantity_Length - :param anYOrigin: default value is 0 - :type anYOrigin: Quantity_Length - :param aRotationAngle: default value is 0 - :type aRotationAngle: Quantity_PlaneAngle - :rtype: None -") Aspect_CircularGrid; - Aspect_CircularGrid (const Quantity_Length aRadiusStep,const Standard_Integer aDivisionNumber,const Quantity_Length XOrigin = 0,const Quantity_Length anYOrigin = 0,const Quantity_PlaneAngle aRotationAngle = 0); - %feature("compactdefaultargs") SetRadiusStep; - %feature("autodoc", " * defines the x step of the grid. - - :param aStep: - :type aStep: Quantity_Length - :rtype: None -") SetRadiusStep; - void SetRadiusStep (const Quantity_Length aStep); - %feature("compactdefaultargs") SetDivisionNumber; - %feature("autodoc", " * defines the step of the grid. - - :param aNumber: - :type aNumber: int - :rtype: None -") SetDivisionNumber; - void SetDivisionNumber (const Standard_Integer aNumber); - %feature("compactdefaultargs") SetGridValues; - %feature("autodoc", " :param XOrigin: - :type XOrigin: Quantity_Length - :param YOrigin: - :type YOrigin: Quantity_Length - :param RadiusStep: - :type RadiusStep: Quantity_Length - :param DivisionNumber: - :type DivisionNumber: int - :param RotationAngle: - :type RotationAngle: Quantity_PlaneAngle - :rtype: None -") SetGridValues; - void SetGridValues (const Quantity_Length XOrigin,const Quantity_Length YOrigin,const Quantity_Length RadiusStep,const Standard_Integer DivisionNumber,const Quantity_PlaneAngle RotationAngle); - %feature("compactdefaultargs") Compute; - %feature("autodoc", " * returns the point of the grid the closest to the point X,Y - :param X: - :type X: Quantity_Length - :param Y: - :type Y: Quantity_Length - :param gridX: - :type gridX: Quantity_Length & - :param gridY: - :type gridY: Quantity_Length & - :rtype: None -") Compute; - void Compute (const Quantity_Length X,const Quantity_Length Y,Standard_Real &OutValue,Standard_Real &OutValue); - %feature("compactdefaultargs") RadiusStep; - %feature("autodoc", " * returns the x step of the grid. - - :rtype: Quantity_Length -") RadiusStep; - Quantity_Length RadiusStep (); - %feature("compactdefaultargs") DivisionNumber; - %feature("autodoc", " * returns the x step of the grid. - - :rtype: int -") DivisionNumber; - Standard_Integer DivisionNumber (); - %feature("compactdefaultargs") Init; - %feature("autodoc", " :rtype: None -") Init; - void Init (); -}; - - -%make_alias(Aspect_CircularGrid) - -%extend Aspect_CircularGrid { - %pythoncode { - __repr__ = _dumps_object - } -}; +/**************************** +* class Aspect_CircularGrid * +****************************/ +/********************************** +* class Aspect_GradientBackground * +**********************************/ %nodefaultctor Aspect_GradientBackground; class Aspect_GradientBackground : public Aspect_Background { public: + /****************** Aspect_GradientBackground ******************/ %feature("compactdefaultargs") Aspect_GradientBackground; - %feature("autodoc", " * Creates a window gradient background. Default colors : Quantity_NOC_BLACK. Default fill method : Aspect_GFM_NONE - - :rtype: None -") Aspect_GradientBackground; + %feature("autodoc", "* Creates a window gradient background. Default colors : Quantity_NOC_BLACK. Default fill method : Aspect_GFM_NONE + :rtype: None") Aspect_GradientBackground; Aspect_GradientBackground (); - %feature("compactdefaultargs") Aspect_GradientBackground; - %feature("autodoc", " * Creates a window gradient background with colours . + /****************** Aspect_GradientBackground ******************/ + %feature("compactdefaultargs") Aspect_GradientBackground; + %feature("autodoc", "* Creates a window gradient background with colours . :param AColor1: :type AColor1: Quantity_Color & :param AColor2: :type AColor2: Quantity_Color & :param AMethod: default value is Aspect_GFM_HOR :type AMethod: Aspect_GradientFillMethod - :rtype: None -") Aspect_GradientBackground; + :rtype: None") Aspect_GradientBackground; Aspect_GradientBackground (const Quantity_Color & AColor1,const Quantity_Color & AColor2,const Aspect_GradientFillMethod AMethod = Aspect_GFM_HOR); - %feature("compactdefaultargs") SetColors; - %feature("autodoc", " * Modifies the colours of the window gradient background . + /****************** BgGradientFillMethod ******************/ + %feature("compactdefaultargs") BgGradientFillMethod; + %feature("autodoc", "* Returns the current gradient background fill mode. + :rtype: Aspect_GradientFillMethod") BgGradientFillMethod; + Aspect_GradientFillMethod BgGradientFillMethod (); + + /****************** Colors ******************/ + %feature("compactdefaultargs") Colors; + %feature("autodoc", "* Returns colours of the window gradient background . :param AColor1: :type AColor1: Quantity_Color & :param AColor2: :type AColor2: Quantity_Color & - :param AMethod: default value is Aspect_GFM_HOR - :type AMethod: Aspect_GradientFillMethod - :rtype: None -") SetColors; - void SetColors (const Quantity_Color & AColor1,const Quantity_Color & AColor2,const Aspect_GradientFillMethod AMethod = Aspect_GFM_HOR); - %feature("compactdefaultargs") Colors; - %feature("autodoc", " * Returns colours of the window gradient background . + :rtype: None") Colors; + void Colors (Quantity_Color & AColor1,Quantity_Color & AColor2); + /****************** SetColors ******************/ + %feature("compactdefaultargs") SetColors; + %feature("autodoc", "* Modifies the colours of the window gradient background . :param AColor1: :type AColor1: Quantity_Color & :param AColor2: :type AColor2: Quantity_Color & - :rtype: None -") Colors; - void Colors (Quantity_Color & AColor1,Quantity_Color & AColor2); - %feature("compactdefaultargs") BgGradientFillMethod; - %feature("autodoc", " * Returns the current gradient background fill mode. + :param AMethod: default value is Aspect_GFM_HOR + :type AMethod: Aspect_GradientFillMethod + :rtype: None") SetColors; + void SetColors (const Quantity_Color & AColor1,const Quantity_Color & AColor2,const Aspect_GradientFillMethod AMethod = Aspect_GFM_HOR); - :rtype: Aspect_GradientFillMethod -") BgGradientFillMethod; - Aspect_GradientFillMethod BgGradientFillMethod (); }; @@ -1735,118 +1083,13 @@ class Aspect_GradientBackground : public Aspect_Background { __repr__ = _dumps_object } }; -%nodefaultctor Aspect_RectangularGrid; -class Aspect_RectangularGrid : public Aspect_Grid { - public: - %feature("compactdefaultargs") Aspect_RectangularGrid; - %feature("autodoc", " * creates a new grid. By default this grid is not active. The first angle is given relatively to the horizontal. The second angle is given relatively to the vertical. - - :param aXStep: - :type aXStep: Quantity_Length - :param aYStep: - :type aYStep: Quantity_Length - :param anXOrigin: default value is 0 - :type anXOrigin: Quantity_Length - :param anYOrigin: default value is 0 - :type anYOrigin: Quantity_Length - :param aFirstAngle: default value is 0 - :type aFirstAngle: Quantity_PlaneAngle - :param aSecondAngle: default value is 0 - :type aSecondAngle: Quantity_PlaneAngle - :param aRotationAngle: default value is 0 - :type aRotationAngle: Quantity_PlaneAngle - :rtype: None -") Aspect_RectangularGrid; - Aspect_RectangularGrid (const Quantity_Length aXStep,const Quantity_Length aYStep,const Quantity_Length anXOrigin = 0,const Quantity_Length anYOrigin = 0,const Quantity_PlaneAngle aFirstAngle = 0,const Quantity_PlaneAngle aSecondAngle = 0,const Quantity_PlaneAngle aRotationAngle = 0); - %feature("compactdefaultargs") SetXStep; - %feature("autodoc", " * defines the x step of the grid. - - :param aStep: - :type aStep: Quantity_Length - :rtype: None -") SetXStep; - void SetXStep (const Quantity_Length aStep); - %feature("compactdefaultargs") SetYStep; - %feature("autodoc", " * defines the y step of the grid. - - :param aStep: - :type aStep: Quantity_Length - :rtype: None -") SetYStep; - void SetYStep (const Quantity_Length aStep); - %feature("compactdefaultargs") SetAngle; - %feature("autodoc", " * defines the angle of the second network the fist angle is given relatively to the horizontal. the second angle is given relatively to the vertical. - - :param anAngle1: - :type anAngle1: Quantity_PlaneAngle - :param anAngle2: - :type anAngle2: Quantity_PlaneAngle - :rtype: None -") SetAngle; - void SetAngle (const Quantity_PlaneAngle anAngle1,const Quantity_PlaneAngle anAngle2); - %feature("compactdefaultargs") SetGridValues; - %feature("autodoc", " :param XOrigin: - :type XOrigin: Quantity_Length - :param YOrigin: - :type YOrigin: Quantity_Length - :param XStep: - :type XStep: Quantity_Length - :param YStep: - :type YStep: Quantity_Length - :param RotationAngle: - :type RotationAngle: Quantity_PlaneAngle - :rtype: None -") SetGridValues; - void SetGridValues (const Quantity_Length XOrigin,const Quantity_Length YOrigin,const Quantity_Length XStep,const Quantity_Length YStep,const Quantity_PlaneAngle RotationAngle); - %feature("compactdefaultargs") Compute; - %feature("autodoc", " * returns the point of the grid the closest to the point X,Y - :param X: - :type X: Quantity_Length - :param Y: - :type Y: Quantity_Length - :param gridX: - :type gridX: Quantity_Length & - :param gridY: - :type gridY: Quantity_Length & - :rtype: None -") Compute; - void Compute (const Quantity_Length X,const Quantity_Length Y,Standard_Real &OutValue,Standard_Real &OutValue); - %feature("compactdefaultargs") XStep; - %feature("autodoc", " * returns the x step of the grid. - - :rtype: Quantity_Length -") XStep; - Quantity_Length XStep (); - %feature("compactdefaultargs") YStep; - %feature("autodoc", " * returns the x step of the grid. - - :rtype: Quantity_Length -") YStep; - Quantity_Length YStep (); - %feature("compactdefaultargs") FirstAngle; - %feature("autodoc", " * returns the x Angle of the grid, relatively to the horizontal. - - :rtype: Quantity_PlaneAngle -") FirstAngle; - Quantity_PlaneAngle FirstAngle (); - %feature("compactdefaultargs") SecondAngle; - %feature("autodoc", " * returns the y Angle of the grid, relatively to the vertical. - - :rtype: Quantity_PlaneAngle -") SecondAngle; - Quantity_PlaneAngle SecondAngle (); - %feature("compactdefaultargs") Init; - %feature("autodoc", " :rtype: None -") Init; - void Init (); -}; - - -%make_alias(Aspect_RectangularGrid) - -%extend Aspect_RectangularGrid { - %pythoncode { - __repr__ = _dumps_object - } -}; +/***************************** +* class Aspect_NeutralWindow * +*****************************/ +/******************************* +* class Aspect_RectangularGrid * +*******************************/ +/* harray1 class */ +/* harray2 class */ +/* harray2 class */ diff --git a/src/SWIG_files/wrapper/Aspect_headers.i b/src/SWIG_files/wrapper/Aspect_headers.i deleted file mode 100644 index 4c86c3568..000000000 --- a/src/SWIG_files/wrapper/Aspect_headers.i +++ /dev/null @@ -1,629 +0,0 @@ -/* -Copyright 2008-2017 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 . - -*/ -%{ -#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 -#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 -#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 -#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 -#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 -#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 -#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 -%}; -%import MMgt.i -%import Quantity.i -%import Standard.i -%import TCollection.i -%import TColStd.i diff --git a/src/SWIG_files/wrapper/BOPAlgo.i b/src/SWIG_files/wrapper/BOPAlgo.i index bc6967110..e3207f9c8 100644 --- a/src/SWIG_files/wrapper/BOPAlgo.i +++ b/src/SWIG_files/wrapper/BOPAlgo.i @@ -1,6 +1,5 @@ /* -Copyright 2008-2017 Thomas Paviot (tpaviot@gmail.com) - +Copyright 2008-2019 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -15,14 +14,13 @@ 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 BOPALGODOCSTRING -"" +"BOPAlgo module, see official documentation at +https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_bopalgo.html" %enddef %module (package="OCC.Core", docstring=BOPALGODOCSTRING) BOPAlgo -#pragma SWIG nowarn=504,325,503 %{ #ifdef WNT @@ -37,19 +35,52 @@ along with pythonOCC. If not, see . %include ../common/OccHandle.i -%include BOPAlgo_headers.i - -/* typedefs */ -typedef NCollection_List BOPAlgo_ListOfCheckResult; -typedef BOPAlgo_ListOfCheckResult::Iterator BOPAlgo_ListIteratorOfListOfCheckResult; -typedef BOPAlgo_WireEdgeSet * BOPAlgo_PWireEdgeSet; -typedef BOPAlgo_ArgumentAnalyzer * BOPAlgo_PArgumentAnalyzer; -typedef BOPAlgo_Builder * BOPAlgo_PBuilder; -typedef BOPAlgo_BOP * BOPAlgo_PBOP; -typedef BOPAlgo_Section * BOPAlgo_PSection; -typedef BOPAlgo_PaveFiller * BOPAlgo_PPaveFiller; -/* end typedefs declaration */ - +%{ +#include + +//Dependencies +#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 +%}; +%import Standard.i +%import NCollection.i +%import TopoDS.i +%import TopTools.i +%import Message.i +%import IntTools.i +%import BOPDS.i +%import BRepTools.i +%import BOPTools.i +%import TopAbs.i /* public enums */ enum BOPAlgo_CheckStatus { BOPAlgo_CheckUnknown = 0, @@ -75,204 +106,170 @@ enum BOPAlgo_Operation { BOPAlgo_UNKNOWN = 5, }; -/* end public enums declaration */ - - -%nodefaultctor BOPAlgo_Algo; -%ignore BOPAlgo_Algo::~BOPAlgo_Algo(); -class BOPAlgo_Algo { - public: - %feature("compactdefaultargs") GetParallelMode; - %feature("autodoc", " :rtype: bool -") GetParallelMode; - static Standard_Boolean GetParallelMode (); - %feature("compactdefaultargs") SetParallelMode; - %feature("autodoc", " :param theNewMode: - :type theNewMode: bool - :rtype: void -") SetParallelMode; - static void SetParallelMode (const Standard_Boolean theNewMode); - %feature("compactdefaultargs") Perform; - %feature("autodoc", " :rtype: void -") Perform; - virtual void Perform (); - %feature("compactdefaultargs") ErrorStatus; - %feature("autodoc", " :rtype: int -") ErrorStatus; - Standard_Integer ErrorStatus (); - %feature("compactdefaultargs") WarningStatus; - %feature("autodoc", " :rtype: int -") WarningStatus; - Standard_Integer WarningStatus (); - %feature("compactdefaultargs") Allocator; - %feature("autodoc", " :rtype: BOPCol_BaseAllocator -") Allocator; - const BOPCol_BaseAllocator & Allocator (); - %feature("compactdefaultargs") SetRunParallel; - %feature("autodoc", " * Set the flag of parallel processing if is true the parallel processing is switched on if is false the parallel processing is switched off +enum BOPAlgo_GlueEnum { + BOPAlgo_GlueOff = 0, + BOPAlgo_GlueShift = 1, + BOPAlgo_GlueFull = 2, +}; - :param theFlag: - :type theFlag: bool - :rtype: None -") SetRunParallel; - void SetRunParallel (const Standard_Boolean theFlag); - %feature("compactdefaultargs") RunParallel; - %feature("autodoc", " * Returns the flag of parallel processing +/* end public enums declaration */ - :rtype: bool -") RunParallel; - Standard_Boolean RunParallel (); - %feature("compactdefaultargs") SetProgressIndicator; - %feature("autodoc", " * Set the Progress Indicator object. +/* handles */ +/* end handles declaration */ - :param theObj: - :type theObj: Handle_Message_ProgressIndicator & - :rtype: None -") SetProgressIndicator; - void SetProgressIndicator (const Handle_Message_ProgressIndicator & theObj); -}; +/* templates */ +%template(BOPAlgo_ListOfCheckResult) NCollection_List ; +/* end templates declaration */ +/* typedefs */ +typedef BOPAlgo_Builder * BOPAlgo_PBuilder; +typedef BOPAlgo_WireEdgeSet * BOPAlgo_PWireEdgeSet; +typedef BOPAlgo_PaveFiller * BOPAlgo_PPaveFiller; +typedef NCollection_List BOPAlgo_ListOfCheckResult; +typedef BOPAlgo_ListOfCheckResult::Iterator BOPAlgo_ListIteratorOfListOfCheckResult; +typedef BOPAlgo_Section * BOPAlgo_PSection; +typedef BOPAlgo_ArgumentAnalyzer * BOPAlgo_PArgumentAnalyzer; +typedef BOPAlgo_BOP * BOPAlgo_PBOP; +/* end typedefs declaration */ -%extend BOPAlgo_Algo { - %pythoncode { - __repr__ = _dumps_object - } -}; +/**************************** +* class BOPAlgo_CheckResult * +****************************/ %nodefaultctor BOPAlgo_CheckResult; class BOPAlgo_CheckResult { public: - %feature("compactdefaultargs") BOPAlgo_CheckResult; - %feature("autodoc", " * empty constructor - - :rtype: None -") BOPAlgo_CheckResult; - BOPAlgo_CheckResult (); - %feature("compactdefaultargs") SetShape1; - %feature("autodoc", " * sets ancestor shape (object) for faulty sub-shapes - - :param TheShape: - :type TheShape: TopoDS_Shape & - :rtype: None -") SetShape1; - void SetShape1 (const TopoDS_Shape & TheShape); + /****************** AddFaultyShape1 ******************/ %feature("compactdefaultargs") AddFaultyShape1; - %feature("autodoc", " * adds faulty sub-shapes from object to a list - + %feature("autodoc", "* adds faulty sub-shapes from object to a list :param TheShape: :type TheShape: TopoDS_Shape & - :rtype: None -") AddFaultyShape1; + :rtype: None") AddFaultyShape1; void AddFaultyShape1 (const TopoDS_Shape & TheShape); - %feature("compactdefaultargs") SetShape2; - %feature("autodoc", " * sets ancestor shape (tool) for faulty sub-shapes - :param TheShape: - :type TheShape: TopoDS_Shape & - :rtype: None -") SetShape2; - void SetShape2 (const TopoDS_Shape & TheShape); + /****************** AddFaultyShape2 ******************/ %feature("compactdefaultargs") AddFaultyShape2; - %feature("autodoc", " * adds faulty sub-shapes from tool to a list - + %feature("autodoc", "* adds faulty sub-shapes from tool to a list :param TheShape: :type TheShape: TopoDS_Shape & - :rtype: None -") AddFaultyShape2; + :rtype: None") AddFaultyShape2; void AddFaultyShape2 (const TopoDS_Shape & TheShape); - %feature("compactdefaultargs") GetShape1; - %feature("autodoc", " * returns ancestor shape (object) for faulties - :rtype: TopoDS_Shape -") GetShape1; - const TopoDS_Shape GetShape1 (); - %feature("compactdefaultargs") GetShape2; - %feature("autodoc", " * returns ancestor shape (tool) for faulties + /****************** BOPAlgo_CheckResult ******************/ + %feature("compactdefaultargs") BOPAlgo_CheckResult; + %feature("autodoc", "* empty constructor + :rtype: None") BOPAlgo_CheckResult; + BOPAlgo_CheckResult (); - :rtype: TopoDS_Shape -") GetShape2; - const TopoDS_Shape GetShape2 (); + /****************** GetCheckStatus ******************/ + %feature("compactdefaultargs") GetCheckStatus; + %feature("autodoc", "* gets status of faulty + :rtype: BOPAlgo_CheckStatus") GetCheckStatus; + BOPAlgo_CheckStatus GetCheckStatus (); + + /****************** GetFaultyShapes1 ******************/ %feature("compactdefaultargs") GetFaultyShapes1; - %feature("autodoc", " * returns list of faulty shapes for object + %feature("autodoc", "* returns list of faulty shapes for object + :rtype: TopTools_ListOfShape") GetFaultyShapes1; + const TopTools_ListOfShape & GetFaultyShapes1 (); - :rtype: BOPCol_ListOfShape -") GetFaultyShapes1; - const BOPCol_ListOfShape & GetFaultyShapes1 (); + /****************** GetFaultyShapes2 ******************/ %feature("compactdefaultargs") GetFaultyShapes2; - %feature("autodoc", " * returns list of faulty shapes for tool + %feature("autodoc", "* returns list of faulty shapes for tool + :rtype: TopTools_ListOfShape") GetFaultyShapes2; + const TopTools_ListOfShape & GetFaultyShapes2 (); - :rtype: BOPCol_ListOfShape -") GetFaultyShapes2; - const BOPCol_ListOfShape & GetFaultyShapes2 (); - %feature("compactdefaultargs") SetCheckStatus; - %feature("autodoc", " * set status of faulty + /****************** GetMaxDistance1 ******************/ + %feature("compactdefaultargs") GetMaxDistance1; + %feature("autodoc", "* Returns the distance for the first shape + :rtype: float") GetMaxDistance1; + Standard_Real GetMaxDistance1 (); + + /****************** GetMaxDistance2 ******************/ + %feature("compactdefaultargs") GetMaxDistance2; + %feature("autodoc", "* Returns the distance for the second shape + :rtype: float") GetMaxDistance2; + Standard_Real GetMaxDistance2 (); + + /****************** GetMaxParameter1 ******************/ + %feature("compactdefaultargs") GetMaxParameter1; + %feature("autodoc", "* Returns the parameter for the fircst shape + :rtype: float") GetMaxParameter1; + Standard_Real GetMaxParameter1 (); + + /****************** GetMaxParameter2 ******************/ + %feature("compactdefaultargs") GetMaxParameter2; + %feature("autodoc", "* Returns the parameter for the second shape + :rtype: float") GetMaxParameter2; + Standard_Real GetMaxParameter2 (); + + /****************** GetShape1 ******************/ + %feature("compactdefaultargs") GetShape1; + %feature("autodoc", "* returns ancestor shape (object) for faulties + :rtype: TopoDS_Shape") GetShape1; + const TopoDS_Shape GetShape1 (); + + /****************** GetShape2 ******************/ + %feature("compactdefaultargs") GetShape2; + %feature("autodoc", "* returns ancestor shape (tool) for faulties + :rtype: TopoDS_Shape") GetShape2; + const TopoDS_Shape GetShape2 (); + /****************** SetCheckStatus ******************/ + %feature("compactdefaultargs") SetCheckStatus; + %feature("autodoc", "* set status of faulty :param TheStatus: :type TheStatus: BOPAlgo_CheckStatus - :rtype: None -") SetCheckStatus; + :rtype: None") SetCheckStatus; void SetCheckStatus (const BOPAlgo_CheckStatus TheStatus); - %feature("compactdefaultargs") GetCheckStatus; - %feature("autodoc", " * gets status of faulty - :rtype: BOPAlgo_CheckStatus -") GetCheckStatus; - BOPAlgo_CheckStatus GetCheckStatus (); + /****************** SetMaxDistance1 ******************/ %feature("compactdefaultargs") SetMaxDistance1; - %feature("autodoc", " * Sets max distance for the first shape - + %feature("autodoc", "* Sets max distance for the first shape :param theDist: :type theDist: float - :rtype: None -") SetMaxDistance1; + :rtype: None") SetMaxDistance1; void SetMaxDistance1 (const Standard_Real theDist); - %feature("compactdefaultargs") SetMaxDistance2; - %feature("autodoc", " * Sets max distance for the second shape + /****************** SetMaxDistance2 ******************/ + %feature("compactdefaultargs") SetMaxDistance2; + %feature("autodoc", "* Sets max distance for the second shape :param theDist: :type theDist: float - :rtype: None -") SetMaxDistance2; + :rtype: None") SetMaxDistance2; void SetMaxDistance2 (const Standard_Real theDist); - %feature("compactdefaultargs") SetMaxParameter1; - %feature("autodoc", " * Sets the parameter for the first shape + /****************** SetMaxParameter1 ******************/ + %feature("compactdefaultargs") SetMaxParameter1; + %feature("autodoc", "* Sets the parameter for the first shape :param thePar: :type thePar: float - :rtype: None -") SetMaxParameter1; + :rtype: None") SetMaxParameter1; void SetMaxParameter1 (const Standard_Real thePar); - %feature("compactdefaultargs") SetMaxParameter2; - %feature("autodoc", " * Sets the parameter for the second shape + /****************** SetMaxParameter2 ******************/ + %feature("compactdefaultargs") SetMaxParameter2; + %feature("autodoc", "* Sets the parameter for the second shape :param thePar: :type thePar: float - :rtype: None -") SetMaxParameter2; + :rtype: None") SetMaxParameter2; void SetMaxParameter2 (const Standard_Real thePar); - %feature("compactdefaultargs") GetMaxDistance1; - %feature("autodoc", " * Returns the distance for the first shape - - :rtype: float -") GetMaxDistance1; - Standard_Real GetMaxDistance1 (); - %feature("compactdefaultargs") GetMaxDistance2; - %feature("autodoc", " * Returns the distance for the second shape - :rtype: float -") GetMaxDistance2; - Standard_Real GetMaxDistance2 (); - %feature("compactdefaultargs") GetMaxParameter1; - %feature("autodoc", " * Returns the parameter for the fircst shape + /****************** SetShape1 ******************/ + %feature("compactdefaultargs") SetShape1; + %feature("autodoc", "* sets ancestor shape (object) for faulty sub-shapes + :param TheShape: + :type TheShape: TopoDS_Shape & + :rtype: None") SetShape1; + void SetShape1 (const TopoDS_Shape & TheShape); - :rtype: float -") GetMaxParameter1; - Standard_Real GetMaxParameter1 (); - %feature("compactdefaultargs") GetMaxParameter2; - %feature("autodoc", " * Returns the parameter for the second shape + /****************** SetShape2 ******************/ + %feature("compactdefaultargs") SetShape2; + %feature("autodoc", "* sets ancestor shape (tool) for faulty sub-shapes + :param TheShape: + :type TheShape: TopoDS_Shape & + :rtype: None") SetShape2; + void SetShape2 (const TopoDS_Shape & TheShape); - :rtype: float -") GetMaxParameter2; - Standard_Real GetMaxParameter2 (); }; @@ -281,63 +278,250 @@ class BOPAlgo_CheckResult { __repr__ = _dumps_object } }; -%nodefaultctor BOPAlgo_SectionAttribute; -class BOPAlgo_SectionAttribute { + +/************************ +* class BOPAlgo_Options * +************************/ +%nodefaultctor BOPAlgo_Options; +class BOPAlgo_Options { public: - %feature("compactdefaultargs") BOPAlgo_SectionAttribute; - %feature("autodoc", " * Initializes me by flags - - :param Aproximation: default value is Standard_True - :type Aproximation: bool - :param PCurveOnS1: default value is Standard_True - :type PCurveOnS1: bool - :param PCurveOnS2: default value is Standard_True - :type PCurveOnS2: bool - :rtype: None -") BOPAlgo_SectionAttribute; - BOPAlgo_SectionAttribute (const Standard_Boolean Aproximation = Standard_True,const Standard_Boolean PCurveOnS1 = Standard_True,const Standard_Boolean PCurveOnS2 = Standard_True); - %feature("compactdefaultargs") Approximation; - %feature("autodoc", " * Modifier + /****************** AddError ******************/ + %feature("compactdefaultargs") AddError; + %feature("autodoc", "* //!@name Error reporting mechanism Adds the alert as error (fail) + :param theAlert: + :type theAlert: opencascade::handle & + :rtype: None") AddError; + void AddError (const opencascade::handle & theAlert); + + /****************** AddWarning ******************/ + %feature("compactdefaultargs") AddWarning; + %feature("autodoc", "* Adds the alert as warning + :param theAlert: + :type theAlert: opencascade::handle & + :rtype: None") AddWarning; + void AddWarning (const opencascade::handle & theAlert); + + /****************** Allocator ******************/ + %feature("compactdefaultargs") Allocator; + %feature("autodoc", "* Returns allocator + :rtype: opencascade::handle") Allocator; + const opencascade::handle & Allocator (); + + /****************** BOPAlgo_Options ******************/ + %feature("compactdefaultargs") BOPAlgo_Options; + %feature("autodoc", "* Empty constructor + :rtype: None") BOPAlgo_Options; + BOPAlgo_Options (); + + /****************** BOPAlgo_Options ******************/ + %feature("compactdefaultargs") BOPAlgo_Options; + %feature("autodoc", "* Constructor with allocator + :param theAllocator: + :type theAllocator: opencascade::handle & + :rtype: None") BOPAlgo_Options; + BOPAlgo_Options (const opencascade::handle & theAllocator); - :param theFlag: - :type theFlag: bool - :rtype: None -") Approximation; - void Approximation (const Standard_Boolean theFlag); - %feature("compactdefaultargs") PCurveOnS1; - %feature("autodoc", " * Modifier + /****************** Clear ******************/ + %feature("compactdefaultargs") Clear; + %feature("autodoc", "* Clears all warnings and errors, and any data cached by the algorithm. User defined options are not cleared. + :rtype: None") Clear; + void Clear (); - :param theFlag: - :type theFlag: bool - :rtype: None -") PCurveOnS1; - void PCurveOnS1 (const Standard_Boolean theFlag); - %feature("compactdefaultargs") PCurveOnS2; - %feature("autodoc", " * Modifier + /****************** ClearWarnings ******************/ + %feature("compactdefaultargs") ClearWarnings; + %feature("autodoc", "* Clears the warnings of the algorithm + :rtype: None") ClearWarnings; + void ClearWarnings (); + + + %feature("autodoc", "1"); + %extend{ + std::string DumpErrorsToString() { + std::stringstream s; + self->DumpErrors(s); + return s.str();} + }; + + %feature("autodoc", "1"); + %extend{ + std::string DumpWarningsToString() { + std::stringstream s; + self->DumpWarnings(s); + return s.str();} + }; + /****************** FuzzyValue ******************/ + %feature("compactdefaultargs") FuzzyValue; + %feature("autodoc", "* Returns the additional tolerance + :rtype: float") FuzzyValue; + Standard_Real FuzzyValue (); + + /****************** GetParallelMode ******************/ + %feature("compactdefaultargs") GetParallelMode; + %feature("autodoc", "* //!@name Parallel processing mode Gets the global parallel mode + :rtype: bool") GetParallelMode; + static Standard_Boolean GetParallelMode (); + + /****************** GetReport ******************/ + %feature("compactdefaultargs") GetReport; + %feature("autodoc", "* Returns report collecting all errors and warnings + :rtype: opencascade::handle") GetReport; + const opencascade::handle & GetReport (); + + /****************** HasError ******************/ + %feature("compactdefaultargs") HasError; + %feature("autodoc", "* Returns true if algorithm has generated error of specified type + :param theType: + :type theType: opencascade::handle & + :rtype: bool") HasError; + Standard_Boolean HasError (const opencascade::handle & theType); + + /****************** HasErrors ******************/ + %feature("compactdefaultargs") HasErrors; + %feature("autodoc", "* Returns true if algorithm has failed + :rtype: bool") HasErrors; + Standard_Boolean HasErrors (); + + /****************** HasWarning ******************/ + %feature("compactdefaultargs") HasWarning; + %feature("autodoc", "* Returns true if algorithm has generated warning of specified type + :param theType: + :type theType: opencascade::handle & + :rtype: bool") HasWarning; + Standard_Boolean HasWarning (const opencascade::handle & theType); + + /****************** HasWarnings ******************/ + %feature("compactdefaultargs") HasWarnings; + %feature("autodoc", "* Returns true if algorithm has generated some warning alerts + :rtype: bool") HasWarnings; + Standard_Boolean HasWarnings (); + + /****************** RunParallel ******************/ + %feature("compactdefaultargs") RunParallel; + %feature("autodoc", "* Returns the flag of parallel processing + :rtype: bool") RunParallel; + Standard_Boolean RunParallel (); + + /****************** SetFuzzyValue ******************/ + %feature("compactdefaultargs") SetFuzzyValue; + %feature("autodoc", "* //!@name Fuzzy tolerance Sets the additional tolerance + :param theFuzz: + :type theFuzz: float + :rtype: None") SetFuzzyValue; + void SetFuzzyValue (const Standard_Real theFuzz); + + /****************** SetParallelMode ******************/ + %feature("compactdefaultargs") SetParallelMode; + %feature("autodoc", "* Sets the global parallel mode + :param theNewMode: + :type theNewMode: bool + :rtype: void") SetParallelMode; + static void SetParallelMode (const Standard_Boolean theNewMode); + + /****************** SetProgressIndicator ******************/ + %feature("compactdefaultargs") SetProgressIndicator; + %feature("autodoc", "* //!@name Progress indicator Set the Progress Indicator object. + :param theObj: + :type theObj: opencascade::handle & + :rtype: None") SetProgressIndicator; + void SetProgressIndicator (const opencascade::handle & theObj); + /****************** SetRunParallel ******************/ + %feature("compactdefaultargs") SetRunParallel; + %feature("autodoc", "* Set the flag of parallel processing if is true the parallel processing is switched on if is false the parallel processing is switched off :param theFlag: :type theFlag: bool - :rtype: None -") PCurveOnS2; - void PCurveOnS2 (const Standard_Boolean theFlag); + :rtype: None") SetRunParallel; + void SetRunParallel (const Standard_Boolean theFlag); + + /****************** SetUseOBB ******************/ + %feature("compactdefaultargs") SetUseOBB; + %feature("autodoc", "* //!@name Usage of Oriented Bounding boxes Enables/Disables the usage of OBB + :param theUseOBB: + :type theUseOBB: bool + :rtype: None") SetUseOBB; + void SetUseOBB (const Standard_Boolean theUseOBB); + + /****************** UseOBB ******************/ + %feature("compactdefaultargs") UseOBB; + %feature("autodoc", "* Returns the flag defining usage of OBB + :rtype: bool") UseOBB; + Standard_Boolean UseOBB (); + +}; + + +%extend BOPAlgo_Options { + %pythoncode { + __repr__ = _dumps_object + } +}; + +/********************************* +* class BOPAlgo_SectionAttribute * +*********************************/ +%nodefaultctor BOPAlgo_SectionAttribute; +class BOPAlgo_SectionAttribute { + public: + /****************** Approximation ******************/ %feature("compactdefaultargs") Approximation; - %feature("autodoc", " * Selector + %feature("autodoc", "* Sets the Approximation flag + :param theApprox: + :type theApprox: bool + :rtype: None") Approximation; + void Approximation (const Standard_Boolean theApprox); - :rtype: bool -") Approximation; + /****************** Approximation ******************/ + %feature("compactdefaultargs") Approximation; + %feature("autodoc", "* Returns the Approximation flag + :rtype: bool") Approximation; Standard_Boolean Approximation (); + + /****************** BOPAlgo_SectionAttribute ******************/ + %feature("compactdefaultargs") BOPAlgo_SectionAttribute; + %feature("autodoc", "* Default constructor + :rtype: None") BOPAlgo_SectionAttribute; + BOPAlgo_SectionAttribute (); + + /****************** BOPAlgo_SectionAttribute ******************/ + %feature("compactdefaultargs") BOPAlgo_SectionAttribute; + %feature("autodoc", "* Constructor + :param theAproximation: + :type theAproximation: bool + :param thePCurveOnS1: + :type thePCurveOnS1: bool + :param thePCurveOnS2: + :type thePCurveOnS2: bool + :rtype: None") BOPAlgo_SectionAttribute; + BOPAlgo_SectionAttribute (const Standard_Boolean theAproximation,const Standard_Boolean thePCurveOnS1,const Standard_Boolean thePCurveOnS2); + + /****************** PCurveOnS1 ******************/ %feature("compactdefaultargs") PCurveOnS1; - %feature("autodoc", " * Selector + %feature("autodoc", "* Sets the PCurveOnS1 flag + :param thePCurveOnS1: + :type thePCurveOnS1: bool + :rtype: None") PCurveOnS1; + void PCurveOnS1 (const Standard_Boolean thePCurveOnS1); - :rtype: bool -") PCurveOnS1; + /****************** PCurveOnS1 ******************/ + %feature("compactdefaultargs") PCurveOnS1; + %feature("autodoc", "* Returns the PCurveOnS1 flag + :rtype: bool") PCurveOnS1; Standard_Boolean PCurveOnS1 (); + + /****************** PCurveOnS2 ******************/ %feature("compactdefaultargs") PCurveOnS2; - %feature("autodoc", " * Selector + %feature("autodoc", "* Sets the PCurveOnS2 flag + :param thePCurveOnS2: + :type thePCurveOnS2: bool + :rtype: None") PCurveOnS2; + void PCurveOnS2 (const Standard_Boolean thePCurveOnS2); - :rtype: bool -") PCurveOnS2; + /****************** PCurveOnS2 ******************/ + %feature("compactdefaultargs") PCurveOnS2; + %feature("autodoc", "* Returns the PCurveOnS2 flag + :rtype: bool") PCurveOnS2; Standard_Boolean PCurveOnS2 (); + }; @@ -346,84 +530,136 @@ class BOPAlgo_SectionAttribute { __repr__ = _dumps_object } }; + +/********************** +* class BOPAlgo_Tools * +**********************/ +%nodefaultctor BOPAlgo_Tools; class BOPAlgo_Tools { public: - %feature("compactdefaultargs") MakeBlocksCnx; - %feature("autodoc", " :param theMILI: - :type theMILI: BOPCol_IndexedDataMapOfIntegerListOfInteger & - :param theMBlocks: - :type theMBlocks: BOPCol_DataMapOfIntegerListOfInteger & - :param theAllocator: - :type theAllocator: BOPCol_BaseAllocator & - :rtype: void -") MakeBlocksCnx; - static void MakeBlocksCnx (const BOPCol_IndexedDataMapOfIntegerListOfInteger & theMILI,BOPCol_DataMapOfIntegerListOfInteger & theMBlocks,BOPCol_BaseAllocator & theAllocator); - %feature("compactdefaultargs") MakeBlocks; - %feature("autodoc", " :param theMILI: - :type theMILI: BOPDS_IndexedDataMapOfPaveBlockListOfPaveBlock & - :param theMBlocks: - :type theMBlocks: BOPDS_DataMapOfIntegerListOfPaveBlock & - :param theAllocator: - :type theAllocator: BOPCol_BaseAllocator & - :rtype: void -") MakeBlocks; - static void MakeBlocks (const BOPDS_IndexedDataMapOfPaveBlockListOfPaveBlock & theMILI,BOPDS_DataMapOfIntegerListOfPaveBlock & theMBlocks,BOPCol_BaseAllocator & theAllocator); + /****************** ClassifyFaces ******************/ + %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 + :param theFaces: + :type theFaces: TopTools_ListOfShape & + :param theSolids: + :type theSolids: TopTools_ListOfShape & + :param theRunParallel: + :type theRunParallel: bool + :param theContext: + :type theContext: opencascade::handle & + :param theInParts: + :type theInParts: TopTools_IndexedDataMapOfShapeListOfShape & + :param theShapeBoxMap: default value is TopTools_DataMapOfShapeBox() + :type theShapeBoxMap: TopTools_DataMapOfShapeBox & + :param theSolidsIF: default value is TopTools_DataMapOfShapeListOfShape() + :type theSolidsIF: TopTools_DataMapOfShapeListOfShape & + :rtype: void") 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()); + + /****************** ComputeToleranceOfCB ******************/ + %feature("compactdefaultargs") ComputeToleranceOfCB; + %feature("autodoc", ":param theCB: + :type theCB: opencascade::handle & + :param theDS: + :type theDS: BOPDS_PDS + :param theContext: + :type theContext: opencascade::handle & + :rtype: float") ComputeToleranceOfCB; + static Standard_Real ComputeToleranceOfCB (const opencascade::handle & theCB,const BOPDS_PDS theDS,const opencascade::handle & theContext); + + /****************** EdgesToWires ******************/ + %feature("compactdefaultargs") EdgesToWires; + %feature("autodoc", "* Creates planar wires from the given edges. The input edges are expected to be planar. And for the performance sake the method does not check if the edges are really planar. Thus, the result wires will also be not planar if the input edges are not planar. The edges may be not shared, but the resulting wires will be sharing the coinciding parts and intersecting parts. The output wires may be non-manifold and contain free and multi-connected vertices. Parameters: - input edges; - output wires; - boolean flag which defines whether the input edges are already shared or have to be intersected; - the angular tolerance which will be used for distinguishing the planes in which the edges are located. Default value is 1.e-8 which is used for intersection of planes in IntTools_FaceFace. Method returns the following error statuses: 0 - in case of success (at least one wire has been built); 1 - in case there are no edges in the given shape; 2 - sharing of the edges has failed. + :param theEdges: + :type theEdges: TopoDS_Shape & + :param theWires: + :type theWires: TopoDS_Shape & + :param theShared: default value is Standard_False + :type theShared: bool + :param theAngTol: default value is 1e-8 + :type theAngTol: float + :rtype: int") EdgesToWires; + static Standard_Integer EdgesToWires (const TopoDS_Shape & theEdges,TopoDS_Shape & theWires,const Standard_Boolean theShared = Standard_False,const Standard_Real theAngTol = 1e-8); + + /****************** FillInternals ******************/ + %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 + :param theSolids: + :type theSolids: TopTools_ListOfShape & + :param theParts: + :type theParts: TopTools_ListOfShape & + :param theImages: + :type theImages: TopTools_DataMapOfShapeListOfShape & + :param theContext: + :type theContext: opencascade::handle & + :rtype: void") FillInternals; + static void FillInternals (const TopTools_ListOfShape & theSolids,const TopTools_ListOfShape & theParts,const TopTools_DataMapOfShapeListOfShape & theImages,const opencascade::handle & theContext); + + /****************** IntersectVertices ******************/ + %feature("compactdefaultargs") IntersectVertices; + %feature("autodoc", "* Finds chains of intersecting vertices + :param theVertices: + :type theVertices: TopTools_IndexedDataMapOfShapeReal & + :param theFuzzyValue: + :type theFuzzyValue: float + :param theChains: + :type theChains: TopTools_ListOfListOfShape & + :rtype: void") IntersectVertices; + static void IntersectVertices (const TopTools_IndexedDataMapOfShapeReal & theVertices,const Standard_Real theFuzzyValue,TopTools_ListOfListOfShape & theChains); + + /****************** PerformCommonBlocks ******************/ %feature("compactdefaultargs") PerformCommonBlocks; - %feature("autodoc", " :param theMBlocks: + %feature("autodoc", "* Create Common Blocks from the groups of pave blocks of connection map. + :param theMBlocks: :type theMBlocks: BOPDS_IndexedDataMapOfPaveBlockListOfPaveBlock & :param theAllocator: - :type theAllocator: BOPCol_BaseAllocator & - :param pDS: - :type pDS: BOPDS_PDS & - :rtype: void -") PerformCommonBlocks; - static void PerformCommonBlocks (BOPDS_IndexedDataMapOfPaveBlockListOfPaveBlock & theMBlocks,BOPCol_BaseAllocator & theAllocator,BOPDS_PDS & pDS); - %feature("compactdefaultargs") FillMap; - %feature("autodoc", " :param tneN1: - :type tneN1: int - :param tneN2: - :type tneN2: int - :param theMILI: - :type theMILI: BOPCol_IndexedDataMapOfIntegerListOfInteger & - :param theAllocator: - :type theAllocator: BOPCol_BaseAllocator & - :rtype: void -") FillMap; - static void FillMap (const Standard_Integer tneN1,const Standard_Integer tneN2,BOPCol_IndexedDataMapOfIntegerListOfInteger & theMILI,BOPCol_BaseAllocator & theAllocator); - %feature("compactdefaultargs") FillMap; - %feature("autodoc", " :param tnePB1: - :type tnePB1: Handle_BOPDS_PaveBlock & - :param tnePB2: - :type tnePB2: Handle_BOPDS_PaveBlock & - :param theMILI: - :type theMILI: BOPDS_IndexedDataMapOfPaveBlockListOfPaveBlock & - :param theAllocator: - :type theAllocator: BOPCol_BaseAllocator & - :rtype: void -") FillMap; - static void FillMap (const Handle_BOPDS_PaveBlock & tnePB1,const Handle_BOPDS_PaveBlock & tnePB2,BOPDS_IndexedDataMapOfPaveBlockListOfPaveBlock & theMILI,BOPCol_BaseAllocator & theAllocator); - %feature("compactdefaultargs") FillMap; - %feature("autodoc", " :param tnePB1: - :type tnePB1: Handle_BOPDS_PaveBlock & - :param tneF: - :type tneF: int - :param theMILI: - :type theMILI: BOPDS_IndexedDataMapOfPaveBlockListOfInteger & - :param theAllocator: - :type theAllocator: BOPCol_BaseAllocator & - :rtype: void -") FillMap; - static void FillMap (const Handle_BOPDS_PaveBlock & tnePB1,const Standard_Integer tneF,BOPDS_IndexedDataMapOfPaveBlockListOfInteger & theMILI,BOPCol_BaseAllocator & theAllocator); + :type theAllocator: opencascade::handle & + :param theDS: + :type theDS: BOPDS_PDS & + :param theContext: default value is opencascade::handle() + :type theContext: opencascade::handle & + :rtype: void") PerformCommonBlocks; + static void PerformCommonBlocks (BOPDS_IndexedDataMapOfPaveBlockListOfPaveBlock & theMBlocks,const opencascade::handle & theAllocator,BOPDS_PDS & theDS,const opencascade::handle & theContext = opencascade::handle()); + + /****************** PerformCommonBlocks ******************/ %feature("compactdefaultargs") PerformCommonBlocks; - %feature("autodoc", " :param theMBlocks: + %feature("autodoc", "* Create Common Blocks on faces using the PB->Faces connection map . + :param theMBlocks: :type theMBlocks: BOPDS_IndexedDataMapOfPaveBlockListOfInteger & :param theAllocator: - :type theAllocator: BOPCol_BaseAllocator & + :type theAllocator: opencascade::handle & :param pDS: :type pDS: BOPDS_PDS & - :rtype: void -") PerformCommonBlocks; - static void PerformCommonBlocks (const BOPDS_IndexedDataMapOfPaveBlockListOfInteger & theMBlocks,BOPCol_BaseAllocator & theAllocator,BOPDS_PDS & pDS); + :param theContext: default value is opencascade::handle() + :type theContext: opencascade::handle & + :rtype: void") PerformCommonBlocks; + static void PerformCommonBlocks (const BOPDS_IndexedDataMapOfPaveBlockListOfInteger & theMBlocks,const opencascade::handle & theAllocator,BOPDS_PDS & pDS,const opencascade::handle & theContext = opencascade::handle()); + + /****************** TreatCompound ******************/ + %feature("compactdefaultargs") TreatCompound; + %feature("autodoc", "* Collect in the output list recursively all non-compound subshapes of the first level of the given shape theS. If a shape presents in the map theMFence it is skipped. All shapes put in the output are also added into theMFence. + :param theS: + :type theS: TopoDS_Shape & + :param theMFence: + :type theMFence: TopTools_MapOfShape & + :param theLS: + :type theLS: TopTools_ListOfShape & + :rtype: void") TreatCompound; + static void TreatCompound (const TopoDS_Shape & theS,TopTools_MapOfShape & theMFence,TopTools_ListOfShape & theLS); + + /****************** WiresToFaces ******************/ + %feature("compactdefaultargs") WiresToFaces; + %feature("autodoc", "* Creates planar faces from given planar wires. The method does not check if the wires are really planar. The input wires may be non-manifold but should be shared. The wires located in the same planes and included into other wires will create holes in the faces built from outer wires. The tolerance values of the input shapes may be modified during the operation due to projection of the edges on the planes for creation of 2D curves. Parameters: - the given wires; - the output faces; - the angular tolerance for distinguishing the planes in which the wires are located. Default value is 1.e-8 which is used for intersection of planes in IntTools_FaceFace. Method returns True in case of success, i.e. at least one face has been built. + :param theWires: + :type theWires: TopoDS_Shape & + :param theFaces: + :type theFaces: TopoDS_Shape & + :param theAngTol: default value is 1e-8 + :type theAngTol: float + :rtype: bool") WiresToFaces; + static Standard_Boolean WiresToFaces (const TopoDS_Shape & theWires,TopoDS_Shape & theFaces,const Standard_Real theAngTol = 1e-8); + }; @@ -432,53 +668,66 @@ class BOPAlgo_Tools { __repr__ = _dumps_object } }; + +/**************************** +* class BOPAlgo_WireEdgeSet * +****************************/ %nodefaultctor BOPAlgo_WireEdgeSet; class BOPAlgo_WireEdgeSet { public: + /****************** AddShape ******************/ + %feature("compactdefaultargs") AddShape; + %feature("autodoc", ":param sS: + :type sS: TopoDS_Shape & + :rtype: None") AddShape; + void AddShape (const TopoDS_Shape & sS); + + /****************** AddStartElement ******************/ + %feature("compactdefaultargs") AddStartElement; + %feature("autodoc", ":param sS: + :type sS: TopoDS_Shape & + :rtype: None") AddStartElement; + void AddStartElement (const TopoDS_Shape & sS); + + /****************** BOPAlgo_WireEdgeSet ******************/ %feature("compactdefaultargs") BOPAlgo_WireEdgeSet; - %feature("autodoc", " :rtype: None -") BOPAlgo_WireEdgeSet; + %feature("autodoc", ":rtype: None") BOPAlgo_WireEdgeSet; BOPAlgo_WireEdgeSet (); + + /****************** BOPAlgo_WireEdgeSet ******************/ %feature("compactdefaultargs") BOPAlgo_WireEdgeSet; - %feature("autodoc", " :param theAllocator: - :type theAllocator: BOPCol_BaseAllocator & - :rtype: None -") BOPAlgo_WireEdgeSet; - BOPAlgo_WireEdgeSet (const BOPCol_BaseAllocator & theAllocator); + %feature("autodoc", ":param theAllocator: + :type theAllocator: opencascade::handle & + :rtype: None") BOPAlgo_WireEdgeSet; + BOPAlgo_WireEdgeSet (const opencascade::handle & theAllocator); + + /****************** Clear ******************/ %feature("compactdefaultargs") Clear; - %feature("autodoc", " :rtype: None -") Clear; + %feature("autodoc", ":rtype: None") Clear; void Clear (); + + /****************** Face ******************/ + %feature("compactdefaultargs") Face; + %feature("autodoc", ":rtype: TopoDS_Face") Face; + const TopoDS_Face Face (); + + /****************** SetFace ******************/ %feature("compactdefaultargs") SetFace; - %feature("autodoc", " :param aF: + %feature("autodoc", ":param aF: :type aF: TopoDS_Face & - :rtype: None -") SetFace; + :rtype: None") SetFace; void SetFace (const TopoDS_Face & aF); - %feature("compactdefaultargs") Face; - %feature("autodoc", " :rtype: TopoDS_Face -") Face; - const TopoDS_Face Face (); - %feature("compactdefaultargs") AddStartElement; - %feature("autodoc", " :param sS: - :type sS: TopoDS_Shape & - :rtype: None -") AddStartElement; - void AddStartElement (const TopoDS_Shape & sS); - %feature("compactdefaultargs") StartElements; - %feature("autodoc", " :rtype: BOPCol_ListOfShape -") StartElements; - const BOPCol_ListOfShape & StartElements (); - %feature("compactdefaultargs") AddShape; - %feature("autodoc", " :param sS: - :type sS: TopoDS_Shape & - :rtype: None -") AddShape; - void AddShape (const TopoDS_Shape & sS); + + /****************** Shapes ******************/ %feature("compactdefaultargs") Shapes; - %feature("autodoc", " :rtype: BOPCol_ListOfShape -") Shapes; - const BOPCol_ListOfShape & Shapes (); + %feature("autodoc", ":rtype: TopTools_ListOfShape") Shapes; + const TopTools_ListOfShape & Shapes (); + + /****************** StartElements ******************/ + %feature("compactdefaultargs") StartElements; + %feature("autodoc", ":rtype: TopTools_ListOfShape") StartElements; + const TopTools_ListOfShape & StartElements (); + }; @@ -487,211 +736,674 @@ class BOPAlgo_WireEdgeSet { __repr__ = _dumps_object } }; -%nodefaultctor BOPAlgo_ArgumentAnalyzer; -class BOPAlgo_ArgumentAnalyzer : public BOPAlgo_Algo { - public: - %feature("compactdefaultargs") BOPAlgo_ArgumentAnalyzer; - %feature("autodoc", " * empty constructor - :rtype: None -") BOPAlgo_ArgumentAnalyzer; - BOPAlgo_ArgumentAnalyzer (); - %feature("compactdefaultargs") SetShape1; - %feature("autodoc", " * sets object shape +/********************* +* class BOPAlgo_Algo * +*********************/ +%nodefaultctor BOPAlgo_Algo; +%ignore BOPAlgo_Algo::~BOPAlgo_Algo(); +class BOPAlgo_Algo : public BOPAlgo_Options { + public: + /****************** Perform ******************/ + %feature("compactdefaultargs") Perform; + %feature("autodoc", ":rtype: void") Perform; + virtual void Perform (); - :param TheShape: - :type TheShape: TopoDS_Shape & - :rtype: None -") SetShape1; - void SetShape1 (const TopoDS_Shape & TheShape); - %feature("compactdefaultargs") SetShape2; - %feature("autodoc", " * sets tool shape +}; - :param TheShape: - :type TheShape: TopoDS_Shape & - :rtype: None -") SetShape2; - void SetShape2 (const TopoDS_Shape & TheShape); - %feature("compactdefaultargs") GetShape1; - %feature("autodoc", " * returns object shape; - :rtype: TopoDS_Shape -") GetShape1; - const TopoDS_Shape GetShape1 (); - %feature("compactdefaultargs") GetShape2; - %feature("autodoc", " * returns tool shape +%extend BOPAlgo_Algo { + %pythoncode { + __repr__ = _dumps_object + } +}; - :rtype: TopoDS_Shape -") GetShape2; - const TopoDS_Shape GetShape2 (); - %feature("compactdefaultargs") OperationType; - %feature("autodoc", " * returns ref +/****************************** +* class BOPAlgo_MakeConnected * +******************************/ +%nodefaultctor BOPAlgo_MakeConnected; +class BOPAlgo_MakeConnected : public BOPAlgo_Options { + public: + /****************** AddArgument ******************/ + %feature("compactdefaultargs") AddArgument; + %feature("autodoc", "* Adds the shape to the arguments. @param theS [in] One of the argument shapes. + :param theS: + :type theS: TopoDS_Shape & + :rtype: None") AddArgument; + void AddArgument (const TopoDS_Shape & theS); - :rtype: BOPAlgo_Operation -") OperationType; - BOPAlgo_Operation OperationType (); + /****************** Arguments ******************/ + %feature("compactdefaultargs") Arguments; + %feature("autodoc", "* Returns the list of arguments of the operation. + :rtype: TopTools_ListOfShape") Arguments; + const TopTools_ListOfShape & Arguments (); + + /****************** BOPAlgo_MakeConnected ******************/ + %feature("compactdefaultargs") BOPAlgo_MakeConnected; + %feature("autodoc", "* @name Constructor Empty constructor + :rtype: None") BOPAlgo_MakeConnected; + BOPAlgo_MakeConnected (); + + /****************** Clear ******************/ + %feature("compactdefaultargs") Clear; + %feature("autodoc", "* @name Clearing the contents of the algorithm from previous runs Clears the contents of the algorithm. + :rtype: None") Clear; + void Clear (); + + /****************** ClearRepetitions ******************/ + %feature("compactdefaultargs") ClearRepetitions; + %feature("autodoc", "* Clears the repetitions performed on the periodic shape, keeping the shape periodic. + :rtype: None") ClearRepetitions; + void ClearRepetitions (); + + /****************** GetModified ******************/ + %feature("compactdefaultargs") GetModified; + %feature("autodoc", "* Returns the list of shapes modified from the given shape. @param theS [in] The shape for which the modified shapes are necessary. + :param theS: + :type theS: TopoDS_Shape & + :rtype: TopTools_ListOfShape") GetModified; + const TopTools_ListOfShape & GetModified (const TopoDS_Shape & theS); + + /****************** GetOrigins ******************/ + %feature("compactdefaultargs") GetOrigins; + %feature("autodoc", "* Returns the list of original shapes from which the current shape has been created. @param theS [in] The shape for which the origins are necessary. + :param theS: + :type theS: TopoDS_Shape & + :rtype: TopTools_ListOfShape") GetOrigins; + const TopTools_ListOfShape & GetOrigins (const TopoDS_Shape & theS); + + /****************** History ******************/ + %feature("compactdefaultargs") History; + %feature("autodoc", "* @name History methods Returns the history of operations + :rtype: opencascade::handle") History; + const opencascade::handle & History (); + + /****************** MakePeriodic ******************/ + %feature("compactdefaultargs") MakePeriodic; + %feature("autodoc", "* @name Shape periodicity & repetition Makes the connected shape periodic. Repeated calls of this method overwrite the previous calls working with the basis connected shape. @param theParams [in] Periodic options. + :param theParams: + :type theParams: BOPAlgo_MakePeriodic::PeriodicityParams & + :rtype: None") MakePeriodic; + void MakePeriodic (const BOPAlgo_MakePeriodic::PeriodicityParams & theParams); + + /****************** MaterialsOnNegativeSide ******************/ + %feature("compactdefaultargs") MaterialsOnNegativeSide; + %feature("autodoc", "* Returns the original shapes which images contain the the given shape with REVERSED orientation. @param theS [in] The shape for which the materials are necessary. + :param theS: + :type theS: TopoDS_Shape & + :rtype: TopTools_ListOfShape") MaterialsOnNegativeSide; + const TopTools_ListOfShape & MaterialsOnNegativeSide (const TopoDS_Shape & theS); - %feature("autodoc","1"); - %extend { - Standard_Boolean GetStopOnFirstFaulty() { - return (Standard_Boolean) $self->StopOnFirstFaulty(); - } - }; - %feature("autodoc","1"); - %extend { - void SetStopOnFirstFaulty(Standard_Boolean value ) { - $self->StopOnFirstFaulty()=value; - } - }; - - %feature("autodoc","1"); - %extend { - Standard_Boolean GetArgumentTypeMode() { - return (Standard_Boolean) $self->ArgumentTypeMode(); - } - }; - %feature("autodoc","1"); - %extend { - void SetArgumentTypeMode(Standard_Boolean value ) { - $self->ArgumentTypeMode()=value; - } - }; - - %feature("autodoc","1"); - %extend { - Standard_Boolean GetSelfInterMode() { - return (Standard_Boolean) $self->SelfInterMode(); - } - }; - %feature("autodoc","1"); - %extend { - void SetSelfInterMode(Standard_Boolean value ) { - $self->SelfInterMode()=value; - } - }; - - %feature("autodoc","1"); - %extend { - Standard_Boolean GetSmallEdgeMode() { - return (Standard_Boolean) $self->SmallEdgeMode(); - } - }; - %feature("autodoc","1"); - %extend { - void SetSmallEdgeMode(Standard_Boolean value ) { - $self->SmallEdgeMode()=value; - } - }; - - %feature("autodoc","1"); - %extend { - Standard_Boolean GetRebuildFaceMode() { - return (Standard_Boolean) $self->RebuildFaceMode(); - } - }; - %feature("autodoc","1"); - %extend { - void SetRebuildFaceMode(Standard_Boolean value ) { - $self->RebuildFaceMode()=value; - } - }; - - %feature("autodoc","1"); - %extend { - Standard_Boolean GetTangentMode() { - return (Standard_Boolean) $self->TangentMode(); - } - }; - %feature("autodoc","1"); - %extend { - void SetTangentMode(Standard_Boolean value ) { - $self->TangentMode()=value; - } - }; - - %feature("autodoc","1"); - %extend { - Standard_Boolean GetMergeVertexMode() { - return (Standard_Boolean) $self->MergeVertexMode(); - } - }; - %feature("autodoc","1"); - %extend { - void SetMergeVertexMode(Standard_Boolean value ) { - $self->MergeVertexMode()=value; - } - }; - - %feature("autodoc","1"); - %extend { - Standard_Boolean GetMergeEdgeMode() { - return (Standard_Boolean) $self->MergeEdgeMode(); - } - }; - %feature("autodoc","1"); - %extend { - void SetMergeEdgeMode(Standard_Boolean value ) { - $self->MergeEdgeMode()=value; - } - }; - - %feature("autodoc","1"); - %extend { - Standard_Boolean GetContinuityMode() { - return (Standard_Boolean) $self->ContinuityMode(); - } - }; - %feature("autodoc","1"); - %extend { - void SetContinuityMode(Standard_Boolean value ) { - $self->ContinuityMode()=value; - } - }; - - %feature("autodoc","1"); - %extend { - Standard_Boolean GetCurveOnSurfaceMode() { - return (Standard_Boolean) $self->CurveOnSurfaceMode(); - } - }; - %feature("autodoc","1"); - %extend { - void SetCurveOnSurfaceMode(Standard_Boolean value ) { - $self->CurveOnSurfaceMode()=value; - } - }; - %feature("compactdefaultargs") Perform; - %feature("autodoc", " * performs analysis - - :rtype: None -") Perform; + /****************** MaterialsOnPositiveSide ******************/ + %feature("compactdefaultargs") MaterialsOnPositiveSide; + %feature("autodoc", "* @name Material transitions Returns the original shapes which images contain the the given shape with FORWARD orientation. @param theS [in] The shape for which the materials are necessary. + :param theS: + :type theS: TopoDS_Shape & + :rtype: TopTools_ListOfShape") MaterialsOnPositiveSide; + const TopTools_ListOfShape & MaterialsOnPositiveSide (const TopoDS_Shape & theS); + + /****************** Perform ******************/ + %feature("compactdefaultargs") Perform; + %feature("autodoc", "* @name Performing the operations Performs the operation, i.e. makes the input shapes connected. + :rtype: None") Perform; void Perform (); - %feature("compactdefaultargs") HasFaulty; - %feature("autodoc", " * result of test - :rtype: bool -") HasFaulty; - Standard_Boolean HasFaulty (); - %feature("compactdefaultargs") GetCheckResult; - %feature("autodoc", " * returns a result of test + /****************** PeriodicShape ******************/ + %feature("compactdefaultargs") PeriodicShape; + %feature("autodoc", "* Returns the resulting periodic & repeated shape + :rtype: TopoDS_Shape") PeriodicShape; + const TopoDS_Shape PeriodicShape (); + + /****************** PeriodicityTool ******************/ + %feature("compactdefaultargs") PeriodicityTool; + %feature("autodoc", "* Returns the periodicity tool. + :rtype: BOPAlgo_MakePeriodic") PeriodicityTool; + const BOPAlgo_MakePeriodic & PeriodicityTool (); + + /****************** RepeatShape ******************/ + %feature("compactdefaultargs") RepeatShape; + %feature("autodoc", "* Performs repetition of the periodic shape in specified direction required number of times. @param theDirectionID [in] The direction's ID (0 for X, 1 for Y, 2 for Z); @param theTimes [in] Requested number of repetitions (sign of the value defines the side of the repetition direction (positive or negative)). + :param theDirectionID: + :type theDirectionID: int + :param theTimes: + :type theTimes: int + :rtype: None") RepeatShape; + void RepeatShape (const Standard_Integer theDirectionID,const Standard_Integer theTimes); + + /****************** SetArguments ******************/ + %feature("compactdefaultargs") SetArguments; + %feature("autodoc", "* @name Setters for the shapes to make connected Sets the shape for making them connected. @param theArgs [in] The arguments for the operation. + :param theArgs: + :type theArgs: TopTools_ListOfShape & + :rtype: None") SetArguments; + void SetArguments (const TopTools_ListOfShape & theArgs); + + /****************** Shape ******************/ + %feature("compactdefaultargs") Shape; + %feature("autodoc", "* @name Getting the result shapes Returns the resulting connected shape + :rtype: TopoDS_Shape") Shape; + const TopoDS_Shape Shape (); - :rtype: BOPAlgo_ListOfCheckResult -") GetCheckResult; +}; + + +%extend BOPAlgo_MakeConnected { + %pythoncode { + __repr__ = _dumps_object + } +}; + +/***************************** +* class BOPAlgo_MakePeriodic * +*****************************/ +%nodefaultctor BOPAlgo_MakePeriodic; +class BOPAlgo_MakePeriodic : public BOPAlgo_Options { + public: + class PeriodicityParams {}; + /****************** BOPAlgo_MakePeriodic ******************/ + %feature("compactdefaultargs") BOPAlgo_MakePeriodic; + %feature("autodoc", "* @name Constructor Empty constructor + :rtype: None") BOPAlgo_MakePeriodic; + BOPAlgo_MakePeriodic (); + + /****************** Clear ******************/ + %feature("compactdefaultargs") Clear; + %feature("autodoc", "* @name Clearing the algorithm from previous runs Clears the algorithm from previous runs + :rtype: None") Clear; + void Clear (); + + /****************** ClearRepetitions ******************/ + %feature("compactdefaultargs") ClearRepetitions; + %feature("autodoc", "* Clears all performed repetitions. The next repetition will be performed on the base shape. + :rtype: None") ClearRepetitions; + void ClearRepetitions (); + + /****************** GetTwins ******************/ + %feature("compactdefaultargs") GetTwins; + %feature("autodoc", "* @name Getting the identical shapes Returns the identical shapes for the given shape located on the opposite periodic side. Returns empty list in case the shape has no twin. //! @param theS [in] Shape to get the twins for. + :param theS: + :type theS: TopoDS_Shape & + :rtype: TopTools_ListOfShape") GetTwins; + const TopTools_ListOfShape & GetTwins (const TopoDS_Shape & theS); + + /****************** History ******************/ + %feature("compactdefaultargs") History; + %feature("autodoc", "* @name Getting the History of the algorithm Returns the History of the algorithm + :rtype: opencascade::handle") History; + const opencascade::handle & History (); + + /****************** IsInputTrimmed ******************/ + %feature("compactdefaultargs") IsInputTrimmed; + %feature("autodoc", "* Returns whether the input shape was trimmed in the specified direction. @param theDirectionID [in] The direction's ID. + :param theDirectionID: + :type theDirectionID: int + :rtype: bool") IsInputTrimmed; + Standard_Boolean IsInputTrimmed (const Standard_Integer theDirectionID); + + /****************** IsInputXTrimmed ******************/ + %feature("compactdefaultargs") IsInputXTrimmed; + %feature("autodoc", "* Returns whether the input shape was already trimmed for X period. + :rtype: bool") IsInputXTrimmed; + Standard_Boolean IsInputXTrimmed (); + + /****************** IsInputYTrimmed ******************/ + %feature("compactdefaultargs") IsInputYTrimmed; + %feature("autodoc", "* Returns whether the input shape was already trimmed for Y period. + :rtype: bool") IsInputYTrimmed; + Standard_Boolean IsInputYTrimmed (); + + /****************** IsInputZTrimmed ******************/ + %feature("compactdefaultargs") IsInputZTrimmed; + %feature("autodoc", "* Returns whether the input shape was already trimmed for Z period. + :rtype: bool") IsInputZTrimmed; + Standard_Boolean IsInputZTrimmed (); + + /****************** IsPeriodic ******************/ + %feature("compactdefaultargs") IsPeriodic; + %feature("autodoc", "* Returns the info about Periodicity of the shape in specified direction. @param theDirectionID [in] The direction's ID. + :param theDirectionID: + :type theDirectionID: int + :rtype: bool") IsPeriodic; + Standard_Boolean IsPeriodic (const Standard_Integer theDirectionID); + + /****************** IsXPeriodic ******************/ + %feature("compactdefaultargs") IsXPeriodic; + %feature("autodoc", "* Returns the info about periodicity of the shape in X direction. + :rtype: bool") IsXPeriodic; + Standard_Boolean IsXPeriodic (); + + /****************** IsYPeriodic ******************/ + %feature("compactdefaultargs") IsYPeriodic; + %feature("autodoc", "* Returns the info about periodicity of the shape in Y direction. + :rtype: bool") IsYPeriodic; + Standard_Boolean IsYPeriodic (); + + /****************** IsZPeriodic ******************/ + %feature("compactdefaultargs") IsZPeriodic; + %feature("autodoc", "* Returns the info about periodicity of the shape in Z direction. + :rtype: bool") IsZPeriodic; + Standard_Boolean IsZPeriodic (); + + /****************** MakePeriodic ******************/ + %feature("compactdefaultargs") MakePeriodic; + %feature("autodoc", "* @name Methods for setting/getting periodicity info using ID as a direction Sets the flag to make the shape periodic in specified direction: - 0 - X direction; - 1 - Y direction; - 2 - Z direction. //! @param theDirectionID [in] The direction's ID; @param theIsPeriodic [in] Flag defining periodicity in given direction; @param thePeriod [in] Required period in given direction. + :param theDirectionID: + :type theDirectionID: int + :param theIsPeriodic: + :type theIsPeriodic: bool + :param thePeriod: default value is 0.0 + :type thePeriod: float + :rtype: None") MakePeriodic; + void MakePeriodic (const Standard_Integer theDirectionID,const Standard_Boolean theIsPeriodic,const Standard_Real thePeriod = 0.0); + + /****************** MakeXPeriodic ******************/ + %feature("compactdefaultargs") MakeXPeriodic; + %feature("autodoc", "* @name Named methods for setting/getting info about shape's periodicity Sets the flag to make the shape periodic in X direction. @param theIsPeriodic [in] Flag defining periodicity in X direction; @param thePeriod [in] Required period in X direction. + :param theIsPeriodic: + :type theIsPeriodic: bool + :param thePeriod: default value is 0.0 + :type thePeriod: float + :rtype: None") MakeXPeriodic; + void MakeXPeriodic (const Standard_Boolean theIsPeriodic,const Standard_Real thePeriod = 0.0); + + /****************** MakeYPeriodic ******************/ + %feature("compactdefaultargs") MakeYPeriodic; + %feature("autodoc", "* Sets the flag to make the shape periodic in Y direction. @param theIsPeriodic [in] Flag defining periodicity in Y direction; @param thePeriod [in] Required period in Y direction. + :param theIsPeriodic: + :type theIsPeriodic: bool + :param thePeriod: default value is 0.0 + :type thePeriod: float + :rtype: None") MakeYPeriodic; + void MakeYPeriodic (const Standard_Boolean theIsPeriodic,const Standard_Real thePeriod = 0.0); + + /****************** MakeZPeriodic ******************/ + %feature("compactdefaultargs") MakeZPeriodic; + %feature("autodoc", "* Sets the flag to make the shape periodic in Z direction. @param theIsPeriodic [in] Flag defining periodicity in Z direction; @param thePeriod [in] Required period in Z direction. + :param theIsPeriodic: + :type theIsPeriodic: bool + :param thePeriod: default value is 0.0 + :type thePeriod: float + :rtype: None") MakeZPeriodic; + void MakeZPeriodic (const Standard_Boolean theIsPeriodic,const Standard_Real thePeriod = 0.0); + + /****************** Perform ******************/ + %feature("compactdefaultargs") Perform; + %feature("autodoc", "* @name Performing the operation Makes the shape periodic in necessary directions + :rtype: None") Perform; + void Perform (); + + /****************** Period ******************/ + %feature("compactdefaultargs") Period; + %feature("autodoc", "* Returns the Period of the shape in specified direction. @param theDirectionID [in] The direction's ID. + :param theDirectionID: + :type theDirectionID: int + :rtype: float") Period; + Standard_Real Period (const Standard_Integer theDirectionID); + + /****************** PeriodFirst ******************/ + %feature("compactdefaultargs") PeriodFirst; + %feature("autodoc", "* Returns the first periodic parameter in the specified direction. @param theDirectionID [in] The direction's ID. + :param theDirectionID: + :type theDirectionID: int + :rtype: float") PeriodFirst; + Standard_Real PeriodFirst (const Standard_Integer theDirectionID); + + /****************** PeriodicityParameters ******************/ + %feature("compactdefaultargs") PeriodicityParameters; + %feature("autodoc", ":rtype: PeriodicityParams") PeriodicityParameters; + const PeriodicityParams & PeriodicityParameters (); + + /****************** RepeatShape ******************/ + %feature("compactdefaultargs") RepeatShape; + %feature("autodoc", "* @name Using the algorithm to repeat the shape Performs repetition of the shape in specified direction required number of times. Negative value of times means that the repetition should be perform in negative direction. Makes the repeated shape a base for following repetitions. //! @param theDirectionID [in] The direction's ID; @param theTimes [in] Requested number of repetitions. + :param theDirectionID: + :type theDirectionID: int + :param theTimes: + :type theTimes: int + :rtype: TopoDS_Shape") RepeatShape; + const TopoDS_Shape RepeatShape (const Standard_Integer theDirectionID,const Standard_Integer theTimes); + + /****************** RepeatedShape ******************/ + %feature("compactdefaultargs") RepeatedShape; + %feature("autodoc", "* @name Starting the repetitions over Returns the repeated shape + :rtype: TopoDS_Shape") RepeatedShape; + const TopoDS_Shape RepeatedShape (); + + /****************** SetPeriodicityParameters ******************/ + %feature("compactdefaultargs") SetPeriodicityParameters; + %feature("autodoc", "* //!< Array of start parameters of the XYZ periods: required for trimming @name Setters/Getters for periodicity parameters structure Sets the periodicity parameters. @param theParams [in] Periodicity parameters + :param theParams: + :type theParams: PeriodicityParams & + :rtype: None") SetPeriodicityParameters; + void SetPeriodicityParameters (const PeriodicityParams & theParams); + + /****************** SetShape ******************/ + %feature("compactdefaultargs") SetShape; + %feature("autodoc", "* @name Setting the shape to make it periodic Sets the shape to make it periodic. @param theShape [in] The shape to make periodic. + :param theShape: + :type theShape: TopoDS_Shape & + :rtype: None") SetShape; + void SetShape (const TopoDS_Shape & theShape); + + /****************** SetTrimmed ******************/ + %feature("compactdefaultargs") SetTrimmed; + %feature("autodoc", "* @name Methods for setting/getting trimming info taking Direction ID as a parameter Defines whether the input shape is already trimmed in specified direction to fit the period in this direction. Direction is defined by an ID: - 0 - X direction; - 1 - Y direction; - 2 - Z direction. //! If the shape is not trimmed it is required to set the first parameter of the period in that direction. The algorithm will make the shape fit into the period. //! Before calling this method, the shape has to be set to be periodic in this direction. //! @param theDirectionID [in] The direction's ID; @param theIsTrimmed [in] The flag defining trimming of the shape in given direction; @param theFirst [in] The first periodic parameter in the given direction. + :param theDirectionID: + :type theDirectionID: int + :param theIsTrimmed: + :type theIsTrimmed: bool + :param theFirst: default value is 0.0 + :type theFirst: float + :rtype: None") SetTrimmed; + void SetTrimmed (const Standard_Integer theDirectionID,const Standard_Boolean theIsTrimmed,const Standard_Real theFirst = 0.0); + + /****************** SetXTrimmed ******************/ + %feature("compactdefaultargs") SetXTrimmed; + %feature("autodoc", "* @name Named methods for setting/getting trimming info Defines whether the input shape is already trimmed in X direction to fit the X period. If the shape is not trimmed it is required to set the first parameter for the X period. The algorithm will make the shape fit into the period. //! Before calling this method, the shape has to be set to be periodic in this direction. //! @param theIsTrimmed [in] Flag defining whether the shape is already trimmed in X direction to fit the X period; @param theFirst [in] The first X periodic parameter. + :param theIsTrimmed: + :type theIsTrimmed: bool + :param theFirst: default value is 0.0 + :type theFirst: bool + :rtype: None") SetXTrimmed; + void SetXTrimmed (const Standard_Boolean theIsTrimmed,const Standard_Boolean theFirst = 0.0); + + /****************** SetYTrimmed ******************/ + %feature("compactdefaultargs") SetYTrimmed; + %feature("autodoc", "* Defines whether the input shape is already trimmed in Y direction to fit the Y period. If the shape is not trimmed it is required to set the first parameter for the Y period. The algorithm will make the shape fit into the period. //! Before calling this method, the shape has to be set to be periodic in this direction. //! @param theIsTrimmed [in] Flag defining whether the shape is already trimmed in Y direction to fit the Y period; @param theFirst [in] The first Y periodic parameter. + :param theIsTrimmed: + :type theIsTrimmed: bool + :param theFirst: default value is 0.0 + :type theFirst: bool + :rtype: None") SetYTrimmed; + void SetYTrimmed (const Standard_Boolean theIsTrimmed,const Standard_Boolean theFirst = 0.0); + + /****************** SetZTrimmed ******************/ + %feature("compactdefaultargs") SetZTrimmed; + %feature("autodoc", "* Defines whether the input shape is already trimmed in Z direction to fit the Z period. If the shape is not trimmed it is required to set the first parameter for the Z period. The algorithm will make the shape fit into the period. //! Before calling this method, the shape has to be set to be periodic in this direction. //! @param theIsTrimmed [in] Flag defining whether the shape is already trimmed in Z direction to fit the Z period; @param theFirst [in] The first Z periodic parameter. + :param theIsTrimmed: + :type theIsTrimmed: bool + :param theFirst: default value is 0.0 + :type theFirst: bool + :rtype: None") SetZTrimmed; + void SetZTrimmed (const Standard_Boolean theIsTrimmed,const Standard_Boolean theFirst = 0.0); + + /****************** Shape ******************/ + %feature("compactdefaultargs") Shape; + %feature("autodoc", "* @name Obtaining the result shape Returns the resulting periodic shape + :rtype: TopoDS_Shape") Shape; + const TopoDS_Shape Shape (); + + /****************** ToDirectionID ******************/ + %feature("compactdefaultargs") ToDirectionID; + %feature("autodoc", "* @name Conversion of the integer to ID of periodic direction Converts the integer to ID of periodic direction + :param theDirectionID: + :type theDirectionID: int + :rtype: int") ToDirectionID; + static Standard_Integer ToDirectionID (const Standard_Integer theDirectionID); + + /****************** XPeriod ******************/ + %feature("compactdefaultargs") XPeriod; + %feature("autodoc", "* Returns the XPeriod of the shape + :rtype: float") XPeriod; + Standard_Real XPeriod (); + + /****************** XPeriodFirst ******************/ + %feature("compactdefaultargs") XPeriodFirst; + %feature("autodoc", "* Returns the first parameter for the X period. + :rtype: float") XPeriodFirst; + Standard_Real XPeriodFirst (); + + /****************** XRepeat ******************/ + %feature("compactdefaultargs") XRepeat; + %feature("autodoc", "* Repeats the shape in X direction specified number of times. Negative value of times means that the repetition should be perform in negative X direction. Makes the repeated shape a base for following repetitions. //! @param theTimes [in] Requested number of repetitions. + :param theTimes: + :type theTimes: int + :rtype: TopoDS_Shape") XRepeat; + const TopoDS_Shape XRepeat (const Standard_Integer theTimes); + + /****************** YPeriod ******************/ + %feature("compactdefaultargs") YPeriod; + %feature("autodoc", "* Returns the YPeriod of the shape. + :rtype: float") YPeriod; + Standard_Real YPeriod (); + + /****************** YPeriodFirst ******************/ + %feature("compactdefaultargs") YPeriodFirst; + %feature("autodoc", "* Returns the first parameter for the Y period. + :rtype: float") YPeriodFirst; + Standard_Real YPeriodFirst (); + + /****************** YRepeat ******************/ + %feature("compactdefaultargs") YRepeat; + %feature("autodoc", "* Repeats the shape in Y direction specified number of times. Negative value of times means that the repetition should be perform in negative Y direction. Makes the repeated shape a base for following repetitions. //! @param theTimes [in] Requested number of repetitions. + :param theTimes: + :type theTimes: int + :rtype: TopoDS_Shape") YRepeat; + const TopoDS_Shape YRepeat (const Standard_Integer theTimes); + + /****************** ZPeriod ******************/ + %feature("compactdefaultargs") ZPeriod; + %feature("autodoc", "* Returns the ZPeriod of the shape. + :rtype: float") ZPeriod; + Standard_Real ZPeriod (); + + /****************** ZPeriodFirst ******************/ + %feature("compactdefaultargs") ZPeriodFirst; + %feature("autodoc", "* Returns the first parameter for the Z period. + :rtype: float") ZPeriodFirst; + Standard_Real ZPeriodFirst (); + + /****************** ZRepeat ******************/ + %feature("compactdefaultargs") ZRepeat; + %feature("autodoc", "* Repeats the shape in Z direction specified number of times. Negative value of times means that the repetition should be perform in negative Z direction. Makes the repeated shape a base for following repetitions. //! @param theTimes [in] Requested number of repetitions. + :param theTimes: + :type theTimes: int + :rtype: TopoDS_Shape") ZRepeat; + const TopoDS_Shape ZRepeat (const Standard_Integer theTimes); + +}; + + +%extend BOPAlgo_MakePeriodic { + %pythoncode { + __repr__ = _dumps_object + } +}; + +/********************************* +* class BOPAlgo_ArgumentAnalyzer * +*********************************/ +%nodefaultctor BOPAlgo_ArgumentAnalyzer; +class BOPAlgo_ArgumentAnalyzer : public BOPAlgo_Algo { + public: + + %feature("autodoc","1"); + %extend { + Standard_Boolean GetArgumentTypeMode() { + return (Standard_Boolean) $self->ArgumentTypeMode(); + } + }; + %feature("autodoc","1"); + %extend { + void SetArgumentTypeMode(Standard_Boolean value) { + $self->ArgumentTypeMode()=value; + } + }; + /****************** BOPAlgo_ArgumentAnalyzer ******************/ + %feature("compactdefaultargs") BOPAlgo_ArgumentAnalyzer; + %feature("autodoc", "* empty constructor + :rtype: None") BOPAlgo_ArgumentAnalyzer; + BOPAlgo_ArgumentAnalyzer (); + + + %feature("autodoc","1"); + %extend { + Standard_Boolean GetContinuityMode() { + return (Standard_Boolean) $self->ContinuityMode(); + } + }; + %feature("autodoc","1"); + %extend { + void SetContinuityMode(Standard_Boolean value) { + $self->ContinuityMode()=value; + } + }; + + %feature("autodoc","1"); + %extend { + Standard_Boolean GetCurveOnSurfaceMode() { + return (Standard_Boolean) $self->CurveOnSurfaceMode(); + } + }; + %feature("autodoc","1"); + %extend { + void SetCurveOnSurfaceMode(Standard_Boolean value) { + $self->CurveOnSurfaceMode()=value; + } + }; + /****************** GetCheckResult ******************/ + %feature("compactdefaultargs") GetCheckResult; + %feature("autodoc", "* returns a result of test + :rtype: BOPAlgo_ListOfCheckResult") GetCheckResult; const BOPAlgo_ListOfCheckResult & GetCheckResult (); - %feature("compactdefaultargs") SetFuzzyValue; - %feature("autodoc", " * Sets the additional tolerance - :param theFuzz: - :type theFuzz: float - :rtype: None -") SetFuzzyValue; - void SetFuzzyValue (const Standard_Real theFuzz); - %feature("compactdefaultargs") FuzzyValue; - %feature("autodoc", " * Returns the additional tolerance + /****************** GetShape1 ******************/ + %feature("compactdefaultargs") GetShape1; + %feature("autodoc", "* returns object shape; + :rtype: TopoDS_Shape") GetShape1; + const TopoDS_Shape GetShape1 (); - :rtype: float -") FuzzyValue; - Standard_Real FuzzyValue (); + /****************** GetShape2 ******************/ + %feature("compactdefaultargs") GetShape2; + %feature("autodoc", "* returns tool shape + :rtype: TopoDS_Shape") GetShape2; + const TopoDS_Shape GetShape2 (); + + /****************** HasFaulty ******************/ + %feature("compactdefaultargs") HasFaulty; + %feature("autodoc", "* result of test + :rtype: bool") HasFaulty; + Standard_Boolean HasFaulty (); + + + %feature("autodoc","1"); + %extend { + Standard_Boolean GetMergeEdgeMode() { + return (Standard_Boolean) $self->MergeEdgeMode(); + } + }; + %feature("autodoc","1"); + %extend { + void SetMergeEdgeMode(Standard_Boolean value) { + $self->MergeEdgeMode()=value; + } + }; + + %feature("autodoc","1"); + %extend { + Standard_Boolean GetMergeVertexMode() { + return (Standard_Boolean) $self->MergeVertexMode(); + } + }; + %feature("autodoc","1"); + %extend { + void SetMergeVertexMode(Standard_Boolean value) { + $self->MergeVertexMode()=value; + } + }; + /****************** OperationType ******************/ + %feature("compactdefaultargs") OperationType; + %feature("autodoc", "* returns ref + :rtype: BOPAlgo_Operation") OperationType; + BOPAlgo_Operation OperationType (); + + /****************** Perform ******************/ + %feature("compactdefaultargs") Perform; + %feature("autodoc", "* performs analysis + :rtype: None") Perform; + void Perform (); + + + %feature("autodoc","1"); + %extend { + Standard_Boolean GetRebuildFaceMode() { + return (Standard_Boolean) $self->RebuildFaceMode(); + } + }; + %feature("autodoc","1"); + %extend { + void SetRebuildFaceMode(Standard_Boolean value) { + $self->RebuildFaceMode()=value; + } + }; + + %feature("autodoc","1"); + %extend { + Standard_Boolean GetSelfInterMode() { + return (Standard_Boolean) $self->SelfInterMode(); + } + }; + %feature("autodoc","1"); + %extend { + void SetSelfInterMode(Standard_Boolean value) { + $self->SelfInterMode()=value; + } + }; + /****************** SetShape1 ******************/ + %feature("compactdefaultargs") SetShape1; + %feature("autodoc", "* sets object shape + :param TheShape: + :type TheShape: TopoDS_Shape & + :rtype: None") SetShape1; + void SetShape1 (const TopoDS_Shape & TheShape); + + /****************** SetShape2 ******************/ + %feature("compactdefaultargs") SetShape2; + %feature("autodoc", "* sets tool shape + :param TheShape: + :type TheShape: TopoDS_Shape & + :rtype: None") SetShape2; + void SetShape2 (const TopoDS_Shape & TheShape); + + + %feature("autodoc","1"); + %extend { + Standard_Boolean GetSmallEdgeMode() { + return (Standard_Boolean) $self->SmallEdgeMode(); + } + }; + %feature("autodoc","1"); + %extend { + void SetSmallEdgeMode(Standard_Boolean value) { + $self->SmallEdgeMode()=value; + } + }; + + %feature("autodoc","1"); + %extend { + Standard_Boolean GetStopOnFirstFaulty() { + return (Standard_Boolean) $self->StopOnFirstFaulty(); + } + }; + %feature("autodoc","1"); + %extend { + void SetStopOnFirstFaulty(Standard_Boolean value) { + $self->StopOnFirstFaulty()=value; + } + }; + + %feature("autodoc","1"); + %extend { + Standard_Boolean GetTangentMode() { + return (Standard_Boolean) $self->TangentMode(); + } + }; + %feature("autodoc","1"); + %extend { + void SetTangentMode(Standard_Boolean value) { + $self->TangentMode()=value; + } + }; }; @@ -700,34 +1412,62 @@ class BOPAlgo_ArgumentAnalyzer : public BOPAlgo_Algo { __repr__ = _dumps_object } }; + +/**************************** +* class BOPAlgo_BuilderArea * +****************************/ %nodefaultctor BOPAlgo_BuilderArea; %ignore BOPAlgo_BuilderArea::~BOPAlgo_BuilderArea(); class BOPAlgo_BuilderArea : public BOPAlgo_Algo { public: + /****************** Areas ******************/ + %feature("compactdefaultargs") Areas; + %feature("autodoc", "* Returns the found areas + :rtype: TopTools_ListOfShape") Areas; + const TopTools_ListOfShape & Areas (); + + /****************** IsAvoidInternalShapes ******************/ + %feature("compactdefaultargs") IsAvoidInternalShapes; + %feature("autodoc", "* Returns the AvoidInternalShapes flag + :rtype: bool") IsAvoidInternalShapes; + Standard_Boolean IsAvoidInternalShapes (); + + /****************** Loops ******************/ + %feature("compactdefaultargs") Loops; + %feature("autodoc", "* Returns the found loops + :rtype: TopTools_ListOfShape") Loops; + const TopTools_ListOfShape & Loops (); + + /****************** SetAvoidInternalShapes ******************/ + %feature("compactdefaultargs") SetAvoidInternalShapes; + %feature("autodoc", "* Defines the preventing of addition of internal parts into result. The default value is False, i.e. the internal parts are added into result. + :param theAvoidInternal: + :type theAvoidInternal: bool + :rtype: None") SetAvoidInternalShapes; + void SetAvoidInternalShapes (const Standard_Boolean theAvoidInternal); + + /****************** SetContext ******************/ %feature("compactdefaultargs") SetContext; - %feature("autodoc", " :param theContext: - :type theContext: Handle_IntTools_Context & - :rtype: None -") SetContext; - void SetContext (const Handle_IntTools_Context & theContext); - %feature("compactdefaultargs") Shapes; - %feature("autodoc", " :rtype: BOPCol_ListOfShape -") Shapes; - const BOPCol_ListOfShape & Shapes (); + %feature("autodoc", "* Sets the context for the algorithms + :param theContext: + :type theContext: opencascade::handle & + :rtype: None") SetContext; + void SetContext (const opencascade::handle & theContext); + + /****************** SetShapes ******************/ %feature("compactdefaultargs") SetShapes; - %feature("autodoc", " :param theLS: - :type theLS: BOPCol_ListOfShape & - :rtype: None -") SetShapes; - void SetShapes (const BOPCol_ListOfShape & theLS); - %feature("compactdefaultargs") Loops; - %feature("autodoc", " :rtype: BOPCol_ListOfShape -") Loops; - const BOPCol_ListOfShape & Loops (); - %feature("compactdefaultargs") Areas; - %feature("autodoc", " :rtype: BOPCol_ListOfShape -") Areas; - const BOPCol_ListOfShape & Areas (); + %feature("autodoc", "* Sets the shapes for building areas + :param theLS: + :type theLS: TopTools_ListOfShape & + :rtype: None") SetShapes; + void SetShapes (const TopTools_ListOfShape & theLS); + + /****************** Shapes ******************/ + %feature("compactdefaultargs") Shapes; + %feature("autodoc", "* Returns the input shapes + :rtype: TopTools_ListOfShape") Shapes; + const TopTools_ListOfShape & Shapes (); + }; @@ -736,62 +1476,81 @@ class BOPAlgo_BuilderArea : public BOPAlgo_Algo { __repr__ = _dumps_object } }; + +/***************************** +* class BOPAlgo_BuilderShape * +*****************************/ %nodefaultctor BOPAlgo_BuilderShape; -%ignore BOPAlgo_BuilderShape::~BOPAlgo_BuilderShape(); class BOPAlgo_BuilderShape : public BOPAlgo_Algo { public: - %feature("compactdefaultargs") Shape; - %feature("autodoc", " * Returns the result of algorithm - - :rtype: TopoDS_Shape -") Shape; - const TopoDS_Shape Shape (); + /****************** Generated ******************/ %feature("compactdefaultargs") Generated; - %feature("autodoc", " * Returns the list of shapes generated from the shape theS. - - :param theS: - :type theS: TopoDS_Shape & - :rtype: TopTools_ListOfShape -") Generated; - virtual const TopTools_ListOfShape & Generated (const TopoDS_Shape & theS); - %feature("compactdefaultargs") Modified; - %feature("autodoc", " * Returns the list of shapes modified from the shape theS. - + %feature("autodoc", "* Returns the list of shapes Generated from the shape theS. :param theS: :type theS: TopoDS_Shape & - :rtype: TopTools_ListOfShape -") Modified; - virtual const TopTools_ListOfShape & Modified (const TopoDS_Shape & theS); - %feature("compactdefaultargs") IsDeleted; - %feature("autodoc", " * Returns true if the shape theS has been deleted. + :rtype: TopTools_ListOfShape") Generated; + const TopTools_ListOfShape & Generated (const TopoDS_Shape & theS); - :param theS: - :type theS: TopoDS_Shape & - :rtype: bool -") IsDeleted; - virtual Standard_Boolean IsDeleted (const TopoDS_Shape & theS); + /****************** HasDeleted ******************/ %feature("compactdefaultargs") HasDeleted; - %feature("autodoc", " * Returns true if the at least one shape(or subshape) of arguments has been deleted. - - :rtype: bool -") HasDeleted; + %feature("autodoc", "* Returns true if any of the input shapes has been deleted during operation. + :rtype: bool") HasDeleted; Standard_Boolean HasDeleted (); - %feature("compactdefaultargs") HasGenerated; - %feature("autodoc", " * Returns true if the at least one shape(or subshape) of arguments has generated shapes. - :rtype: bool -") HasGenerated; + /****************** HasGenerated ******************/ + %feature("compactdefaultargs") HasGenerated; + %feature("autodoc", "* Returns true if any of the input shapes has generated shapes during operation. + :rtype: bool") HasGenerated; Standard_Boolean HasGenerated (); - %feature("compactdefaultargs") HasModified; - %feature("autodoc", " * Returns true if the at least one shape(or subshape) of arguments has modified shapes. - :rtype: bool -") HasModified; + /****************** HasHistory ******************/ + %feature("compactdefaultargs") HasHistory; + %feature("autodoc", "* Returns flag of history availability + :rtype: bool") HasHistory; + Standard_Boolean HasHistory (); + + /****************** HasModified ******************/ + %feature("compactdefaultargs") HasModified; + %feature("autodoc", "* Returns true if any of the input shapes has been modified during operation. + :rtype: bool") HasModified; Standard_Boolean HasModified (); - %feature("compactdefaultargs") ImagesResult; - %feature("autodoc", " :rtype: BOPCol_IndexedDataMapOfShapeListOfShape -") ImagesResult; - const BOPCol_IndexedDataMapOfShapeListOfShape & ImagesResult (); + + /****************** History ******************/ + %feature("compactdefaultargs") History; + %feature("autodoc", "* History Tool + :rtype: opencascade::handle") History; + opencascade::handle History (); + + /****************** IsDeleted ******************/ + %feature("compactdefaultargs") IsDeleted; + %feature("autodoc", "* Returns true if the shape theS has been deleted. In this case the shape will have no Modified elements, but can have Generated elements. + :param theS: + :type theS: TopoDS_Shape & + :rtype: bool") IsDeleted; + Standard_Boolean IsDeleted (const TopoDS_Shape & theS); + + /****************** Modified ******************/ + %feature("compactdefaultargs") Modified; + %feature("autodoc", "* @name History methods Returns the list of shapes Modified from the shape theS. + :param theS: + :type theS: TopoDS_Shape & + :rtype: TopTools_ListOfShape") Modified; + const TopTools_ListOfShape & Modified (const TopoDS_Shape & theS); + + /****************** SetToFillHistory ******************/ + %feature("compactdefaultargs") SetToFillHistory; + %feature("autodoc", "* @name Enabling/Disabling the history collection. Allows disabling the history collection + :param theHistFlag: + :type theHistFlag: bool + :rtype: None") SetToFillHistory; + void SetToFillHistory (const Standard_Boolean theHistFlag); + + /****************** Shape ******************/ + %feature("compactdefaultargs") Shape; + %feature("autodoc", "* @name Getting the result Returns the result of algorithm + :rtype: TopoDS_Shape") Shape; + const TopoDS_Shape Shape (); + }; @@ -800,71 +1559,116 @@ class BOPAlgo_BuilderShape : public BOPAlgo_Algo { __repr__ = _dumps_object } }; + +/*************************** +* class BOPAlgo_PaveFiller * +***************************/ %nodefaultctor BOPAlgo_PaveFiller; class BOPAlgo_PaveFiller : public BOPAlgo_Algo { public: + /****************** AddArgument ******************/ + %feature("compactdefaultargs") AddArgument; + %feature("autodoc", "* Adds the argument for operation + :param theShape: + :type theShape: TopoDS_Shape & + :rtype: None") AddArgument; + void AddArgument (const TopoDS_Shape & theShape); + + /****************** Arguments ******************/ + %feature("compactdefaultargs") Arguments; + %feature("autodoc", "* Returns the list of arguments + :rtype: TopTools_ListOfShape") Arguments; + const TopTools_ListOfShape & Arguments (); + + /****************** BOPAlgo_PaveFiller ******************/ %feature("compactdefaultargs") BOPAlgo_PaveFiller; - %feature("autodoc", " :rtype: None -") BOPAlgo_PaveFiller; + %feature("autodoc", ":rtype: None") BOPAlgo_PaveFiller; BOPAlgo_PaveFiller (); + + /****************** BOPAlgo_PaveFiller ******************/ %feature("compactdefaultargs") BOPAlgo_PaveFiller; - %feature("autodoc", " :param theAllocator: - :type theAllocator: BOPCol_BaseAllocator & - :rtype: None -") BOPAlgo_PaveFiller; - BOPAlgo_PaveFiller (const BOPCol_BaseAllocator & theAllocator); + %feature("autodoc", ":param theAllocator: + :type theAllocator: opencascade::handle & + :rtype: None") BOPAlgo_PaveFiller; + BOPAlgo_PaveFiller (const opencascade::handle & theAllocator); + + /****************** Context ******************/ + %feature("compactdefaultargs") Context; + %feature("autodoc", ":rtype: opencascade::handle") Context; + const opencascade::handle & Context (); + + /****************** DS ******************/ %feature("compactdefaultargs") DS; - %feature("autodoc", " :rtype: BOPDS_DS -") DS; + %feature("autodoc", ":rtype: BOPDS_DS") DS; const BOPDS_DS & DS (); + + /****************** Glue ******************/ + %feature("compactdefaultargs") Glue; + %feature("autodoc", "* Returns the glue option of the algorithm + :rtype: BOPAlgo_GlueEnum") Glue; + BOPAlgo_GlueEnum Glue (); + + /****************** IsAvoidBuildPCurve ******************/ + %feature("compactdefaultargs") IsAvoidBuildPCurve; + %feature("autodoc", "* Returns the flag to avoid building of p-curves of edges on faces + :rtype: bool") IsAvoidBuildPCurve; + Standard_Boolean IsAvoidBuildPCurve (); + + /****************** NonDestructive ******************/ + %feature("compactdefaultargs") NonDestructive; + %feature("autodoc", "* Returns the flag that defines the mode of treatment. In non-destructive mode the argument shapes are not modified. Instead a copy of a sub-shape is created in the result if it is needed to be updated. + :rtype: bool") NonDestructive; + Standard_Boolean NonDestructive (); + + /****************** PDS ******************/ %feature("compactdefaultargs") PDS; - %feature("autodoc", " :rtype: BOPDS_PDS -") PDS; + %feature("autodoc", ":rtype: BOPDS_PDS") PDS; BOPDS_PDS PDS (); + + /****************** Perform ******************/ + %feature("compactdefaultargs") Perform; + %feature("autodoc", ":rtype: void") Perform; + virtual void Perform (); + + /****************** SetArguments ******************/ %feature("compactdefaultargs") SetArguments; - %feature("autodoc", " :param theLS: - :type theLS: BOPCol_ListOfShape & - :rtype: None -") SetArguments; - void SetArguments (const BOPCol_ListOfShape & theLS); - %feature("compactdefaultargs") SetArguments; - %feature("autodoc", " :param theLS: + %feature("autodoc", "* Sets the arguments for operation + :param theLS: :type theLS: TopTools_ListOfShape & - :rtype: None -") SetArguments; + :rtype: None") SetArguments; void SetArguments (const TopTools_ListOfShape & theLS); - %feature("compactdefaultargs") Arguments; - %feature("autodoc", " :rtype: BOPCol_ListOfShape -") Arguments; - const BOPCol_ListOfShape & Arguments (); - %feature("compactdefaultargs") Context; - %feature("autodoc", " :rtype: Handle_IntTools_Context -") Context; - Handle_IntTools_Context Context (); + + /****************** SetAvoidBuildPCurve ******************/ + %feature("compactdefaultargs") SetAvoidBuildPCurve; + %feature("autodoc", "* Sets the flag to avoid building of p-curves of edges on faces + :param theValue: + :type theValue: bool + :rtype: None") SetAvoidBuildPCurve; + void SetAvoidBuildPCurve (const Standard_Boolean theValue); + + /****************** SetGlue ******************/ + %feature("compactdefaultargs") SetGlue; + %feature("autodoc", "* Sets the glue option for the algorithm + :param theGlue: + :type theGlue: BOPAlgo_GlueEnum + :rtype: None") SetGlue; + void SetGlue (const BOPAlgo_GlueEnum theGlue); + + /****************** SetNonDestructive ******************/ + %feature("compactdefaultargs") SetNonDestructive; + %feature("autodoc", "* Sets the flag that defines the mode of treatment. In non-destructive mode the argument shapes are not modified. Instead a copy of a sub-shape is created in the result if it is needed to be updated. + :param theFlag: + :type theFlag: bool + :rtype: None") SetNonDestructive; + void SetNonDestructive (const Standard_Boolean theFlag); + + /****************** SetSectionAttribute ******************/ %feature("compactdefaultargs") SetSectionAttribute; - %feature("autodoc", " :param theSecAttr: + %feature("autodoc", ":param theSecAttr: :type theSecAttr: BOPAlgo_SectionAttribute & - :rtype: None -") SetSectionAttribute; + :rtype: None") SetSectionAttribute; void SetSectionAttribute (const BOPAlgo_SectionAttribute & theSecAttr); - %feature("compactdefaultargs") Perform; - %feature("autodoc", " :rtype: void -") Perform; - virtual void Perform (); - %feature("compactdefaultargs") SetFuzzyValue; - %feature("autodoc", " * Sets the additional tolerance - - :param theFuzz: - :type theFuzz: float - :rtype: None -") SetFuzzyValue; - void SetFuzzyValue (const Standard_Real theFuzz); - %feature("compactdefaultargs") FuzzyValue; - %feature("autodoc", " * Returns the additional tolerance - :rtype: float -") FuzzyValue; - Standard_Real FuzzyValue (); }; @@ -873,55 +1677,60 @@ class BOPAlgo_PaveFiller : public BOPAlgo_Algo { __repr__ = _dumps_object } }; + +/****************************** +* class BOPAlgo_ShellSplitter * +******************************/ %nodefaultctor BOPAlgo_ShellSplitter; class BOPAlgo_ShellSplitter : public BOPAlgo_Algo { public: - %feature("compactdefaultargs") BOPAlgo_ShellSplitter; - %feature("autodoc", " * empty constructor - - :rtype: None -") BOPAlgo_ShellSplitter; - BOPAlgo_ShellSplitter (); - %feature("compactdefaultargs") BOPAlgo_ShellSplitter; - %feature("autodoc", " * constructor - - :param theAllocator: - :type theAllocator: BOPCol_BaseAllocator & - :rtype: None -") BOPAlgo_ShellSplitter; - BOPAlgo_ShellSplitter (const BOPCol_BaseAllocator & theAllocator); + /****************** AddStartElement ******************/ %feature("compactdefaultargs") AddStartElement; - %feature("autodoc", " * adds a face to process - + %feature("autodoc", "* adds a face to process :param theS: :type theS: TopoDS_Shape & - :rtype: None -") AddStartElement; + :rtype: None") AddStartElement; void AddStartElement (const TopoDS_Shape & theS); - %feature("compactdefaultargs") StartElements; - %feature("autodoc", " * return the faces to process - :rtype: BOPCol_ListOfShape -") StartElements; - const BOPCol_ListOfShape & StartElements (); - %feature("compactdefaultargs") Perform; - %feature("autodoc", " * performs the algorithm + /****************** BOPAlgo_ShellSplitter ******************/ + %feature("compactdefaultargs") BOPAlgo_ShellSplitter; + %feature("autodoc", "* empty constructor + :rtype: None") BOPAlgo_ShellSplitter; + BOPAlgo_ShellSplitter (); - :rtype: void -") Perform; + /****************** BOPAlgo_ShellSplitter ******************/ + %feature("compactdefaultargs") BOPAlgo_ShellSplitter; + %feature("autodoc", "* constructor + :param theAllocator: + :type theAllocator: opencascade::handle & + :rtype: None") BOPAlgo_ShellSplitter; + BOPAlgo_ShellSplitter (const opencascade::handle & theAllocator); + + /****************** Perform ******************/ + %feature("compactdefaultargs") Perform; + %feature("autodoc", "* performs the algorithm + :rtype: void") Perform; virtual void Perform (); + + /****************** Shells ******************/ %feature("compactdefaultargs") Shells; - %feature("autodoc", " * returns the loops + %feature("autodoc", "* returns the loops + :rtype: TopTools_ListOfShape") Shells; + const TopTools_ListOfShape & Shells (); - :rtype: BOPCol_ListOfShape -") Shells; - const BOPCol_ListOfShape & Shells (); + /****************** SplitBlock ******************/ %feature("compactdefaultargs") SplitBlock; - %feature("autodoc", " :param theCB: + %feature("autodoc", ":param theCB: :type theCB: BOPTools_ConnexityBlock & - :rtype: void -") SplitBlock; + :rtype: void") SplitBlock; static void SplitBlock (BOPTools_ConnexityBlock & theCB); + + /****************** StartElements ******************/ + %feature("compactdefaultargs") StartElements; + %feature("autodoc", "* return the faces to process + :rtype: TopTools_ListOfShape") StartElements; + const TopTools_ListOfShape & StartElements (); + }; @@ -930,49 +1739,76 @@ class BOPAlgo_ShellSplitter : public BOPAlgo_Algo { __repr__ = _dumps_object } }; + +/***************************** +* class BOPAlgo_WireSplitter * +*****************************/ %nodefaultctor BOPAlgo_WireSplitter; class BOPAlgo_WireSplitter : public BOPAlgo_Algo { public: + /****************** BOPAlgo_WireSplitter ******************/ %feature("compactdefaultargs") BOPAlgo_WireSplitter; - %feature("autodoc", " :rtype: None -") BOPAlgo_WireSplitter; + %feature("autodoc", ":rtype: None") BOPAlgo_WireSplitter; BOPAlgo_WireSplitter (); + + /****************** BOPAlgo_WireSplitter ******************/ %feature("compactdefaultargs") BOPAlgo_WireSplitter; - %feature("autodoc", " :param theAllocator: - :type theAllocator: BOPCol_BaseAllocator & - :rtype: None -") BOPAlgo_WireSplitter; - BOPAlgo_WireSplitter (const BOPCol_BaseAllocator & theAllocator); - %feature("compactdefaultargs") SetWES; - %feature("autodoc", " :param theWES: - :type theWES: BOPAlgo_WireEdgeSet & - :rtype: None -") SetWES; - void SetWES (const BOPAlgo_WireEdgeSet & theWES); - %feature("compactdefaultargs") WES; - %feature("autodoc", " :rtype: BOPAlgo_WireEdgeSet -") WES; - BOPAlgo_WireEdgeSet & WES (); - %feature("compactdefaultargs") Perform; - %feature("autodoc", " :rtype: void -") Perform; - virtual void Perform (); + %feature("autodoc", ":param theAllocator: + :type theAllocator: opencascade::handle & + :rtype: None") BOPAlgo_WireSplitter; + BOPAlgo_WireSplitter (const opencascade::handle & theAllocator); + + /****************** Context ******************/ + %feature("compactdefaultargs") Context; + %feature("autodoc", "* Returns the context + :rtype: opencascade::handle") Context; + const opencascade::handle & Context (); + + /****************** MakeWire ******************/ %feature("compactdefaultargs") MakeWire; - %feature("autodoc", " :param theLE: - :type theLE: BOPCol_ListOfShape & + %feature("autodoc", ":param theLE: + :type theLE: TopTools_ListOfShape & :param theW: :type theW: TopoDS_Wire & - :rtype: void -") MakeWire; - static void MakeWire (BOPCol_ListOfShape & theLE,TopoDS_Wire & theW); + :rtype: None") MakeWire; + static void MakeWire (TopTools_ListOfShape & theLE,TopoDS_Wire & theW); + + /****************** Perform ******************/ + %feature("compactdefaultargs") Perform; + %feature("autodoc", ":rtype: void") Perform; + virtual void Perform (); + + /****************** SetContext ******************/ + %feature("compactdefaultargs") SetContext; + %feature("autodoc", "* Sets the context for the algorithm + :param theContext: + :type theContext: opencascade::handle & + :rtype: None") SetContext; + void SetContext (const opencascade::handle & theContext); + + /****************** SetWES ******************/ + %feature("compactdefaultargs") SetWES; + %feature("autodoc", ":param theWES: + :type theWES: BOPAlgo_WireEdgeSet & + :rtype: None") SetWES; + void SetWES (const BOPAlgo_WireEdgeSet & theWES); + + /****************** SplitBlock ******************/ %feature("compactdefaultargs") SplitBlock; - %feature("autodoc", " :param theF: + %feature("autodoc", ":param theF: :type theF: TopoDS_Face & :param theCB: :type theCB: BOPTools_ConnexityBlock & - :rtype: void -") SplitBlock; - static void SplitBlock (const TopoDS_Face & theF,BOPTools_ConnexityBlock & theCB); + :param theContext: + :type theContext: opencascade::handle & + :rtype: void") SplitBlock; + static void SplitBlock (const TopoDS_Face & theF,BOPTools_ConnexityBlock & theCB,const opencascade::handle & theContext); + + /****************** WES ******************/ + %feature("compactdefaultargs") WES; + %feature("autodoc", ":rtype: BOPAlgo_WireEdgeSet") WES; + BOPAlgo_WireEdgeSet & WES (); + }; @@ -981,129 +1817,176 @@ class BOPAlgo_WireSplitter : public BOPAlgo_Algo { __repr__ = _dumps_object } }; + +/************************ +* class BOPAlgo_Builder * +************************/ %nodefaultctor BOPAlgo_Builder; class BOPAlgo_Builder : public BOPAlgo_BuilderShape { public: + /****************** AddArgument ******************/ + %feature("compactdefaultargs") AddArgument; + %feature("autodoc", "* @name Arguments Adds the argument to the operation. + :param theShape: + :type theShape: TopoDS_Shape & + :rtype: void") AddArgument; + virtual void AddArgument (const TopoDS_Shape & theShape); + + /****************** Arguments ******************/ + %feature("compactdefaultargs") Arguments; + %feature("autodoc", "* Returns the list of arguments. + :rtype: TopTools_ListOfShape") Arguments; + const TopTools_ListOfShape & Arguments (); + + /****************** BOPAlgo_Builder ******************/ %feature("compactdefaultargs") BOPAlgo_Builder; - %feature("autodoc", " :rtype: None -") BOPAlgo_Builder; + %feature("autodoc", "* Empty constructor. + :rtype: None") BOPAlgo_Builder; BOPAlgo_Builder (); + + /****************** BOPAlgo_Builder ******************/ %feature("compactdefaultargs") BOPAlgo_Builder; - %feature("autodoc", " :param theAllocator: - :type theAllocator: BOPCol_BaseAllocator & - :rtype: None -") BOPAlgo_Builder; - BOPAlgo_Builder (const BOPCol_BaseAllocator & theAllocator); + %feature("autodoc", ":param theAllocator: + :type theAllocator: opencascade::handle & + :rtype: None") BOPAlgo_Builder; + BOPAlgo_Builder (const opencascade::handle & theAllocator); + + /****************** BuildBOP ******************/ + %feature("compactdefaultargs") BuildBOP; + %feature("autodoc", "* @name BOPs on open solids 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. + :param theObjects: + :type theObjects: TopTools_ListOfShape & + :param theObjState: + :type theObjState: TopAbs_State + :param theTools: + :type theTools: TopTools_ListOfShape & + :param theToolsState: + :type theToolsState: TopAbs_State + :param theReport: default value is NULL + :type theReport: opencascade::handle + :rtype: void") BuildBOP; + virtual void BuildBOP (const TopTools_ListOfShape & theObjects,const TopAbs_State theObjState,const TopTools_ListOfShape & theTools,const TopAbs_State theToolsState,opencascade::handle theReport = NULL); + + /****************** BuildBOP ******************/ + %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. + :param theObjects: + :type theObjects: TopTools_ListOfShape & + :param theTools: + :type theTools: TopTools_ListOfShape & + :param theOperation: + :type theOperation: BOPAlgo_Operation + :param theReport: default value is NULL + :type theReport: opencascade::handle + :rtype: None") BuildBOP; + void BuildBOP (const TopTools_ListOfShape & theObjects,const TopTools_ListOfShape & theTools,const BOPAlgo_Operation theOperation,opencascade::handle theReport = NULL); + + /****************** CheckInverted ******************/ + %feature("compactdefaultargs") CheckInverted; + %feature("autodoc", "* Returns the flag defining whether the check for input solids on inverted status should be performed or not. + :rtype: bool") CheckInverted; + Standard_Boolean CheckInverted (); + + /****************** Clear ******************/ %feature("compactdefaultargs") Clear; - %feature("autodoc", " :rtype: void -") Clear; + %feature("autodoc", "* Clears the content of the algorithm. + :rtype: void") Clear; virtual void Clear (); - %feature("compactdefaultargs") PPaveFiller; - %feature("autodoc", " :rtype: BOPAlgo_PPaveFiller -") PPaveFiller; - BOPAlgo_PPaveFiller PPaveFiller (); + + /****************** Context ******************/ + %feature("compactdefaultargs") Context; + %feature("autodoc", "* Returns the Context, tool for cashing heavy algorithms. + :rtype: opencascade::handle") Context; + opencascade::handle Context (); + + /****************** Glue ******************/ + %feature("compactdefaultargs") Glue; + %feature("autodoc", "* Returns the glue option of the algorithm + :rtype: BOPAlgo_GlueEnum") Glue; + BOPAlgo_GlueEnum Glue (); + + /****************** Images ******************/ + %feature("compactdefaultargs") Images; + %feature("autodoc", "* @name Images/Origins Returns the map of images. + :rtype: TopTools_DataMapOfShapeListOfShape") Images; + const TopTools_DataMapOfShapeListOfShape & Images (); + + /****************** NonDestructive ******************/ + %feature("compactdefaultargs") NonDestructive; + %feature("autodoc", "* Returns the flag that defines the mode of treatment. In non-destructive mode the argument shapes are not modified. Instead a copy of a sub-shape is created in the result if it is needed to be updated. + :rtype: bool") NonDestructive; + Standard_Boolean NonDestructive (); + + /****************** Origins ******************/ + %feature("compactdefaultargs") Origins; + %feature("autodoc", "* Returns the map of origins. + :rtype: TopTools_DataMapOfShapeListOfShape") Origins; + const TopTools_DataMapOfShapeListOfShape & Origins (); + + /****************** PDS ******************/ %feature("compactdefaultargs") PDS; - %feature("autodoc", " :rtype: BOPDS_PDS -") PDS; + %feature("autodoc", "* Returns the Data Structure, holder of intersection information. + :rtype: BOPDS_PDS") PDS; BOPDS_PDS PDS (); - %feature("compactdefaultargs") AddArgument; - %feature("autodoc", " :param theShape: - :type theShape: TopoDS_Shape & - :rtype: void -") AddArgument; - virtual void AddArgument (const TopoDS_Shape & theShape); - %feature("compactdefaultargs") SetArguments; - %feature("autodoc", " :param theLS: - :type theLS: TopTools_ListOfShape & - :rtype: None -") SetArguments; - void SetArguments (const TopTools_ListOfShape & theLS); - %feature("compactdefaultargs") SetArguments; - %feature("autodoc", " :param theLS: - :type theLS: BOPCol_ListOfShape & - :rtype: void -") SetArguments; - virtual void SetArguments (const BOPCol_ListOfShape & theLS); - %feature("compactdefaultargs") Arguments; - %feature("autodoc", " :rtype: BOPCol_ListOfShape -") Arguments; - const BOPCol_ListOfShape & Arguments (); + + /****************** PPaveFiller ******************/ + %feature("compactdefaultargs") PPaveFiller; + %feature("autodoc", "* Returns the PaveFiller, algorithm for sub-shapes intersection. + :rtype: BOPAlgo_PPaveFiller") PPaveFiller; + BOPAlgo_PPaveFiller PPaveFiller (); + + /****************** Perform ******************/ %feature("compactdefaultargs") Perform; - %feature("autodoc", " :rtype: void -") Perform; + %feature("autodoc", "* @name Performing the operation Performs the operation. The intersection will be performed also. + :rtype: void") Perform; virtual void Perform (); + + /****************** PerformWithFiller ******************/ %feature("compactdefaultargs") PerformWithFiller; - %feature("autodoc", " :param theFiller: + %feature("autodoc", "* Performs the operation with the prepared filler. The intersection will not be performed in this case. + :param theFiller: :type theFiller: BOPAlgo_PaveFiller & - :rtype: void -") PerformWithFiller; + :rtype: void") PerformWithFiller; virtual void PerformWithFiller (const BOPAlgo_PaveFiller & theFiller); - %feature("compactdefaultargs") Generated; - %feature("autodoc", " * Returns the list of shapes generated from the shape theS. - - :param theS: - :type theS: TopoDS_Shape & - :rtype: TopTools_ListOfShape -") Generated; - virtual const TopTools_ListOfShape & Generated (const TopoDS_Shape & theS); - %feature("compactdefaultargs") Modified; - %feature("autodoc", " * Returns the list of shapes modified from the shape theS. - :param theS: - :type theS: TopoDS_Shape & - :rtype: TopTools_ListOfShape -") Modified; - virtual const TopTools_ListOfShape & Modified (const TopoDS_Shape & theS); - %feature("compactdefaultargs") IsDeleted; - %feature("autodoc", " * Returns true if the shape theS has been deleted. - - :param theS: - :type theS: TopoDS_Shape & - :rtype: bool -") IsDeleted; - virtual Standard_Boolean IsDeleted (const TopoDS_Shape & theS); - %feature("compactdefaultargs") Images; - %feature("autodoc", " :rtype: BOPCol_DataMapOfShapeListOfShape -") Images; - const BOPCol_DataMapOfShapeListOfShape & Images (); - %feature("compactdefaultargs") IsInterferred; - %feature("autodoc", " :param theS: - :type theS: TopoDS_Shape & - :rtype: bool -") IsInterferred; - Standard_Boolean IsInterferred (const TopoDS_Shape & theS); - %feature("compactdefaultargs") Origins; - %feature("autodoc", " * Returns myOrigins. + /****************** SetArguments ******************/ + %feature("compactdefaultargs") SetArguments; + %feature("autodoc", "* Sets the list of arguments for the operation. + :param theLS: + :type theLS: TopTools_ListOfShape & + :rtype: void") SetArguments; + virtual void SetArguments (const TopTools_ListOfShape & theLS); + + /****************** SetCheckInverted ******************/ + %feature("compactdefaultargs") SetCheckInverted; + %feature("autodoc", "* Enables/Disables the check of the input solids for inverted status + :param theCheck: + :type theCheck: bool + :rtype: None") SetCheckInverted; + void SetCheckInverted (const Standard_Boolean theCheck); + + /****************** SetGlue ******************/ + %feature("compactdefaultargs") SetGlue; + %feature("autodoc", "* Sets the glue option for the algorithm + :param theGlue: + :type theGlue: BOPAlgo_GlueEnum + :rtype: None") SetGlue; + void SetGlue (const BOPAlgo_GlueEnum theGlue); + + /****************** SetNonDestructive ******************/ + %feature("compactdefaultargs") SetNonDestructive; + %feature("autodoc", "* @name Options Sets the flag that defines the mode of treatment. In non-destructive mode the argument shapes are not modified. Instead a copy of a sub-shape is created in the result if it is needed to be updated. This flag is taken into account if internal PaveFiller is used only. In the case of calling PerformWithFiller the corresponding flag of that PaveFiller is in force. + :param theFlag: + :type theFlag: bool + :rtype: None") SetNonDestructive; + void SetNonDestructive (const Standard_Boolean theFlag); - :rtype: BOPCol_DataMapOfShapeShape -") Origins; - const BOPCol_DataMapOfShapeShape & Origins (); + /****************** ShapesSD ******************/ %feature("compactdefaultargs") ShapesSD; - %feature("autodoc", " * Returns myShapesSD. - - :rtype: BOPCol_DataMapOfShapeShape -") ShapesSD; - const BOPCol_DataMapOfShapeShape & ShapesSD (); - %feature("compactdefaultargs") Splits; - %feature("autodoc", " * Returns mySplits. - - :rtype: BOPCol_DataMapOfShapeListOfShape -") Splits; - const BOPCol_DataMapOfShapeListOfShape & Splits (); - %feature("compactdefaultargs") SetFuzzyValue; - %feature("autodoc", " * Sets the additional tolerance + %feature("autodoc", "* Returns the map of Same Domain (SD) shapes - coinciding shapes from different arguments. + :rtype: TopTools_DataMapOfShapeShape") ShapesSD; + const TopTools_DataMapOfShapeShape & ShapesSD (); - :param theFuzz: - :type theFuzz: float - :rtype: None -") SetFuzzyValue; - void SetFuzzyValue (const Standard_Real theFuzz); - %feature("compactdefaultargs") FuzzyValue; - %feature("autodoc", " * Returns the additional tolerance - - :rtype: float -") FuzzyValue; - Standard_Real FuzzyValue (); }; @@ -1112,43 +1995,50 @@ class BOPAlgo_Builder : public BOPAlgo_BuilderShape { __repr__ = _dumps_object } }; + +/**************************** +* class BOPAlgo_BuilderFace * +****************************/ %nodefaultctor BOPAlgo_BuilderFace; class BOPAlgo_BuilderFace : public BOPAlgo_BuilderArea { public: + /****************** BOPAlgo_BuilderFace ******************/ %feature("compactdefaultargs") BOPAlgo_BuilderFace; - %feature("autodoc", " :rtype: None -") BOPAlgo_BuilderFace; + %feature("autodoc", ":rtype: None") BOPAlgo_BuilderFace; BOPAlgo_BuilderFace (); + + /****************** BOPAlgo_BuilderFace ******************/ %feature("compactdefaultargs") BOPAlgo_BuilderFace; - %feature("autodoc", " :param theAllocator: - :type theAllocator: BOPCol_BaseAllocator & - :rtype: None -") BOPAlgo_BuilderFace; - BOPAlgo_BuilderFace (const BOPCol_BaseAllocator & theAllocator); - %feature("compactdefaultargs") SetFace; - %feature("autodoc", " * Sets the face generatix + %feature("autodoc", ":param theAllocator: + :type theAllocator: opencascade::handle & + :rtype: None") BOPAlgo_BuilderFace; + BOPAlgo_BuilderFace (const opencascade::handle & theAllocator); - :param theFace: - :type theFace: TopoDS_Face & - :rtype: None -") SetFace; - void SetFace (const TopoDS_Face & theFace); + /****************** Face ******************/ %feature("compactdefaultargs") Face; - %feature("autodoc", " * Returns the face generatix - - :rtype: TopoDS_Face -") Face; + %feature("autodoc", "* Returns the face generatix + :rtype: TopoDS_Face") Face; const TopoDS_Face Face (); - %feature("compactdefaultargs") Perform; - %feature("autodoc", " * Performs the algorithm - :rtype: void -") Perform; - virtual void Perform (); + /****************** Orientation ******************/ %feature("compactdefaultargs") Orientation; - %feature("autodoc", " :rtype: TopAbs_Orientation -") Orientation; + %feature("autodoc", ":rtype: TopAbs_Orientation") Orientation; TopAbs_Orientation Orientation (); + + /****************** Perform ******************/ + %feature("compactdefaultargs") Perform; + %feature("autodoc", "* Performs the algorithm + :rtype: void") Perform; + virtual void Perform (); + + /****************** SetFace ******************/ + %feature("compactdefaultargs") SetFace; + %feature("autodoc", "* Sets the face generatix + :param theFace: + :type theFace: TopoDS_Face & + :rtype: None") SetFace; + void SetFace (const TopoDS_Face & theFace); + }; @@ -1157,39 +2047,39 @@ class BOPAlgo_BuilderFace : public BOPAlgo_BuilderArea { __repr__ = _dumps_object } }; + +/***************************** +* class BOPAlgo_BuilderSolid * +*****************************/ %nodefaultctor BOPAlgo_BuilderSolid; class BOPAlgo_BuilderSolid : public BOPAlgo_BuilderArea { public: + /****************** BOPAlgo_BuilderSolid ******************/ %feature("compactdefaultargs") BOPAlgo_BuilderSolid; - %feature("autodoc", " :rtype: None -") BOPAlgo_BuilderSolid; + %feature("autodoc", "* @name Constructors Empty constructor + :rtype: None") BOPAlgo_BuilderSolid; BOPAlgo_BuilderSolid (); + + /****************** BOPAlgo_BuilderSolid ******************/ %feature("compactdefaultargs") BOPAlgo_BuilderSolid; - %feature("autodoc", " :param theAllocator: - :type theAllocator: BOPCol_BaseAllocator & - :rtype: None -") BOPAlgo_BuilderSolid; - BOPAlgo_BuilderSolid (const BOPCol_BaseAllocator & theAllocator); - %feature("compactdefaultargs") SetSolid; - %feature("autodoc", " * Sets the source solid - - :param theSolid: - :type theSolid: TopoDS_Solid & - :rtype: None -") SetSolid; - void SetSolid (const TopoDS_Solid & theSolid); - %feature("compactdefaultargs") Solid; - %feature("autodoc", " * Returns the source solid - - :rtype: TopoDS_Solid -") Solid; - const TopoDS_Solid Solid (); - %feature("compactdefaultargs") Perform; - %feature("autodoc", " * Performs the algorithm + %feature("autodoc", "* Constructor with allocator + :param theAllocator: + :type theAllocator: opencascade::handle & + :rtype: None") BOPAlgo_BuilderSolid; + BOPAlgo_BuilderSolid (const opencascade::handle & theAllocator); - :rtype: void -") Perform; + /****************** GetBoxesMap ******************/ + %feature("compactdefaultargs") GetBoxesMap; + %feature("autodoc", "* @name Getting the bounding boxes of the created solids For classification purposes the algorithm builds the bounding boxes for all created solids. This method returns the data map of solid - box pairs. + :rtype: TopTools_DataMapOfShapeBox") GetBoxesMap; + const TopTools_DataMapOfShapeBox & GetBoxesMap (); + + /****************** Perform ******************/ + %feature("compactdefaultargs") Perform; + %feature("autodoc", "* @name Performing the operation Performs the construction of the solids from the given faces + :rtype: void") Perform; virtual void Perform (); + }; @@ -1198,39 +2088,31 @@ class BOPAlgo_BuilderSolid : public BOPAlgo_BuilderArea { __repr__ = _dumps_object } }; + +/************************** +* class BOPAlgo_CheckerSI * +**************************/ %nodefaultctor BOPAlgo_CheckerSI; class BOPAlgo_CheckerSI : public BOPAlgo_PaveFiller { public: + /****************** BOPAlgo_CheckerSI ******************/ %feature("compactdefaultargs") BOPAlgo_CheckerSI; - %feature("autodoc", " :rtype: None -") BOPAlgo_CheckerSI; + %feature("autodoc", ":rtype: None") BOPAlgo_CheckerSI; BOPAlgo_CheckerSI (); + + /****************** Perform ******************/ %feature("compactdefaultargs") Perform; - %feature("autodoc", " :rtype: void -") Perform; + %feature("autodoc", ":rtype: void") Perform; virtual void Perform (); - %feature("compactdefaultargs") SetLevelOfCheck; - %feature("autodoc", " * Sets the level of checking shape on self-interference. It defines which interferferences will be checked: 0 - only V/V; 1 - V/V and V/E; 2 - V/V, V/E and E/E; 3 - V/V, V/E, E/E and V/F; 4 - V/V, V/E, E/E, V/F and E/F; 5 - all interferences, default value. + /****************** SetLevelOfCheck ******************/ + %feature("compactdefaultargs") SetLevelOfCheck; + %feature("autodoc", "* Sets the level of checking shape on self-interference. It defines which interferences will be checked: 0 - only V/V; 1 - V/V and V/E; 2 - V/V, V/E and E/E; 3 - V/V, V/E, E/E and V/F; 4 - V/V, V/E, E/E, V/F and E/F; 5 - V/V, V/E, E/E, V/F, E/F and F/F; 6 - V/V, V/E, E/E, V/F, E/F, F/F and V/S; 7 - V/V, V/E, E/E, V/F, E/F, F/F, V/S and E/S; 8 - V/V, V/E, E/E, V/F, E/F, F/F, V/S, E/S and F/S; 9 - V/V, V/E, E/E, V/F, E/F, F/F, V/S, E/S, F/S and S/S - all interferences (Default value) :param theLevel: :type theLevel: int - :rtype: None -") SetLevelOfCheck; + :rtype: None") SetLevelOfCheck; void SetLevelOfCheck (const Standard_Integer theLevel); - %feature("compactdefaultargs") SetNonDestructive; - %feature("autodoc", " * Sets the flag that defines the mode of the treatment: the copy of the argument when theFlag is true the argument itself when theFlag is false - :param theFlag: - :type theFlag: bool - :rtype: None -") SetNonDestructive; - void SetNonDestructive (const Standard_Boolean theFlag); - %feature("compactdefaultargs") NonDestructive; - %feature("autodoc", " * Returns the flag that defines the mode of the treatment: true when the copy of the argument is used false when the argument itself is used - - :rtype: bool -") NonDestructive; - Standard_Boolean NonDestructive (); }; @@ -1239,124 +2121,239 @@ class BOPAlgo_CheckerSI : public BOPAlgo_PaveFiller { __repr__ = _dumps_object } }; -%nodefaultctor BOPAlgo_BOP; -class BOPAlgo_BOP : public BOPAlgo_Builder { - public: - %feature("compactdefaultargs") BOPAlgo_BOP; - %feature("autodoc", " * Empty constructor - :rtype: None -") BOPAlgo_BOP; - BOPAlgo_BOP (); - %feature("compactdefaultargs") BOPAlgo_BOP; - %feature("autodoc", " :param theAllocator: - :type theAllocator: BOPCol_BaseAllocator & - :rtype: None -") BOPAlgo_BOP; - BOPAlgo_BOP (const BOPCol_BaseAllocator & theAllocator); +/******************************* +* class BOPAlgo_RemoveFeatures * +*******************************/ +%nodefaultctor BOPAlgo_RemoveFeatures; +class BOPAlgo_RemoveFeatures : public BOPAlgo_BuilderShape { + public: + /****************** AddFaceToRemove ******************/ + %feature("compactdefaultargs") AddFaceToRemove; + %feature("autodoc", "* Adds the face to remove from the input shape. @param theFace [in] The shape to extract the faces for removal. + :param theFace: + :type theFace: TopoDS_Shape & + :rtype: None") AddFaceToRemove; + void AddFaceToRemove (const TopoDS_Shape & theFace); + + /****************** AddFacesToRemove ******************/ + %feature("compactdefaultargs") AddFacesToRemove; + %feature("autodoc", "* Adds the faces to remove from the input shape. @param theFaces [in] The list of shapes to extract the faces for removal. + :param theFaces: + :type theFaces: TopTools_ListOfShape & + :rtype: None") AddFacesToRemove; + void AddFacesToRemove (const TopTools_ListOfShape & theFaces); + + /****************** BOPAlgo_RemoveFeatures ******************/ + %feature("compactdefaultargs") BOPAlgo_RemoveFeatures; + %feature("autodoc", "* @name Constructors Empty constructor + :rtype: None") BOPAlgo_RemoveFeatures; + BOPAlgo_RemoveFeatures (); + + /****************** Clear ******************/ %feature("compactdefaultargs") Clear; - %feature("autodoc", " * Clears internal fields and arguments + %feature("autodoc", "* @name Clearing the contents of the algorithm Clears the contents of the algorithm from previous run, allowing reusing it for following removals. + :rtype: None") Clear; + void Clear (); - :rtype: void -") Clear; - virtual void Clear (); - %feature("compactdefaultargs") AddTool; - %feature("autodoc", " * Adds Tool argument of the operation + /****************** FacesToRemove ******************/ + %feature("compactdefaultargs") FacesToRemove; + %feature("autodoc", "* Returns the list of faces which have been requested for removal from the input shape. + :rtype: TopTools_ListOfShape") FacesToRemove; + const TopTools_ListOfShape & FacesToRemove (); - :param theShape: - :type theShape: TopoDS_Shape & - :rtype: void -") AddTool; - virtual void AddTool (const TopoDS_Shape & theShape); - %feature("compactdefaultargs") SetTools; - %feature("autodoc", " :param theShapes: - :type theShapes: TopTools_ListOfShape & - :rtype: void -") SetTools; - virtual void SetTools (const TopTools_ListOfShape & theShapes); - %feature("compactdefaultargs") SetTools; - %feature("autodoc", " :param theShapes: - :type theShapes: BOPCol_ListOfShape & - :rtype: void -") SetTools; - virtual void SetTools (const BOPCol_ListOfShape & theShapes); - %feature("compactdefaultargs") SetOperation; - %feature("autodoc", " :param theOperation: - :type theOperation: BOPAlgo_Operation - :rtype: None -") SetOperation; - void SetOperation (const BOPAlgo_Operation theOperation); - %feature("compactdefaultargs") Operation; - %feature("autodoc", " :rtype: BOPAlgo_Operation -") Operation; - BOPAlgo_Operation Operation (); + /****************** InputShape ******************/ + %feature("compactdefaultargs") InputShape; + %feature("autodoc", "* Returns the input shape + :rtype: TopoDS_Shape") InputShape; + const TopoDS_Shape InputShape (); + + /****************** Perform ******************/ %feature("compactdefaultargs") Perform; - %feature("autodoc", " :rtype: void -") Perform; + %feature("autodoc", "* @name Performing the operation Performs the operation + :rtype: void") Perform; virtual void Perform (); + + /****************** SetShape ******************/ + %feature("compactdefaultargs") SetShape; + %feature("autodoc", "* @name Setting input data for the algorithm Sets the shape for processing. @param theShape [in] The shape to remove the faces from. It should either be the SOLID, COMPSOLID or COMPOUND of Solids. + :param theShape: + :type theShape: TopoDS_Shape & + :rtype: None") SetShape; + void SetShape (const TopoDS_Shape & theShape); + }; -%extend BOPAlgo_BOP { +%extend BOPAlgo_RemoveFeatures { + %pythoncode { + __repr__ = _dumps_object + } +}; + +/***************************** +* class BOPAlgo_CellsBuilder * +*****************************/ +%nodefaultctor BOPAlgo_CellsBuilder; +class BOPAlgo_CellsBuilder : public BOPAlgo_Builder { + public: + /****************** AddAllToResult ******************/ + %feature("compactdefaultargs") AddAllToResult; + %feature("autodoc", "* Add all split parts to result. defines the removal of internal boundaries; parameter defines whether to remove boundaries now or not. + :param theMaterial: default value is 0 + :type theMaterial: int + :param theUpdate: default value is Standard_False + :type theUpdate: bool + :rtype: None") AddAllToResult; + void AddAllToResult (const Standard_Integer theMaterial = 0,const Standard_Boolean theUpdate = Standard_False); + + /****************** AddToResult ******************/ + %feature("compactdefaultargs") AddToResult; + %feature("autodoc", "* Adding the parts to result. The parts are defined by two lists of shapes: defines the arguments which parts should be taken into result; defines the arguments which parts should not be taken into result; To be taken into result the part must be IN for all shapes from the list and must be OUT of all shapes from the list . To remove internal boundaries between any cells in the result variable should be used. The boundaries between cells with the same material will be removed. Default value is 0. Thus, to remove any boundary the value of this variable should not be equal to 0. parameter defines whether to remove boundaries now or not. + :param theLSToTake: + :type theLSToTake: TopTools_ListOfShape & + :param theLSToAvoid: + :type theLSToAvoid: TopTools_ListOfShape & + :param theMaterial: default value is 0 + :type theMaterial: int + :param theUpdate: default value is Standard_False + :type theUpdate: bool + :rtype: None") AddToResult; + void AddToResult (const TopTools_ListOfShape & theLSToTake,const TopTools_ListOfShape & theLSToAvoid,const Standard_Integer theMaterial = 0,const Standard_Boolean theUpdate = Standard_False); + + /****************** BOPAlgo_CellsBuilder ******************/ + %feature("compactdefaultargs") BOPAlgo_CellsBuilder; + %feature("autodoc", ":rtype: None") BOPAlgo_CellsBuilder; + BOPAlgo_CellsBuilder (); + + /****************** BOPAlgo_CellsBuilder ******************/ + %feature("compactdefaultargs") BOPAlgo_CellsBuilder; + %feature("autodoc", ":param theAllocator: + :type theAllocator: opencascade::handle & + :rtype: None") BOPAlgo_CellsBuilder; + BOPAlgo_CellsBuilder (const opencascade::handle & theAllocator); + + /****************** Clear ******************/ + %feature("compactdefaultargs") Clear; + %feature("autodoc", "* Redefined method Clear - clears the contents. + :rtype: void") Clear; + virtual void Clear (); + + /****************** GetAllParts ******************/ + %feature("compactdefaultargs") GetAllParts; + %feature("autodoc", "* Get all split parts. + :rtype: TopoDS_Shape") GetAllParts; + const TopoDS_Shape GetAllParts (); + + /****************** MakeContainers ******************/ + %feature("compactdefaultargs") MakeContainers; + %feature("autodoc", "* Makes the Containers of proper type from the parts added to result. + :rtype: None") MakeContainers; + void MakeContainers (); + + /****************** RemoveAllFromResult ******************/ + %feature("compactdefaultargs") RemoveAllFromResult; + %feature("autodoc", "* Remove all parts from result. + :rtype: None") RemoveAllFromResult; + void RemoveAllFromResult (); + + /****************** RemoveFromResult ******************/ + %feature("compactdefaultargs") RemoveFromResult; + %feature("autodoc", "* Removing the parts from result. The parts are defined by two lists of shapes: defines the arguments which parts should be removed from result; defines the arguments which parts should not be removed from result. To be removed from the result the part must be IN for all shapes from the list and must be OUT of all shapes from the list . + :param theLSToTake: + :type theLSToTake: TopTools_ListOfShape & + :param theLSToAvoid: + :type theLSToAvoid: TopTools_ListOfShape & + :rtype: None") RemoveFromResult; + void RemoveFromResult (const TopTools_ListOfShape & theLSToTake,const TopTools_ListOfShape & theLSToAvoid); + + /****************** RemoveInternalBoundaries ******************/ + %feature("compactdefaultargs") RemoveInternalBoundaries; + %feature("autodoc", "* Removes internal boundaries between cells with the same material. If the result contains the cells with same material but of different dimension the removal of internal boundaries between these cells will not be performed. In case of some errors during the removal the method will set the appropriate warning status - use GetReport() to access them. + :rtype: None") RemoveInternalBoundaries; + void RemoveInternalBoundaries (); + +}; + + +%extend BOPAlgo_CellsBuilder { %pythoncode { __repr__ = _dumps_object } }; + +/**************************** +* class BOPAlgo_MakerVolume * +****************************/ %nodefaultctor BOPAlgo_MakerVolume; class BOPAlgo_MakerVolume : public BOPAlgo_Builder { public: + /****************** BOPAlgo_MakerVolume ******************/ %feature("compactdefaultargs") BOPAlgo_MakerVolume; - %feature("autodoc", " * Empty contructor. - - :rtype: None -") BOPAlgo_MakerVolume; + %feature("autodoc", "* Empty contructor. + :rtype: None") BOPAlgo_MakerVolume; BOPAlgo_MakerVolume (); - %feature("compactdefaultargs") BOPAlgo_MakerVolume; - %feature("autodoc", " * Empty contructor. + /****************** BOPAlgo_MakerVolume ******************/ + %feature("compactdefaultargs") BOPAlgo_MakerVolume; + %feature("autodoc", "* Empty contructor. :param theAllocator: - :type theAllocator: BOPCol_BaseAllocator & - :rtype: None -") BOPAlgo_MakerVolume; - BOPAlgo_MakerVolume (const BOPCol_BaseAllocator & theAllocator); - %feature("compactdefaultargs") Clear; - %feature("autodoc", " * Clears the data. + :type theAllocator: opencascade::handle & + :rtype: None") BOPAlgo_MakerVolume; + BOPAlgo_MakerVolume (const opencascade::handle & theAllocator); - :rtype: None -") Clear; + /****************** Box ******************/ + %feature("compactdefaultargs") Box; + %feature("autodoc", "* Returns the solid box . + :rtype: TopoDS_Solid") Box; + const TopoDS_Solid Box (); + + /****************** Clear ******************/ + %feature("compactdefaultargs") Clear; + %feature("autodoc", "* Clears the data. + :rtype: None") Clear; void Clear (); - %feature("compactdefaultargs") SetIntersect; - %feature("autodoc", " * Sets the flag myIntersect: if is True the shapes from will be intersected. if is False no intersection will be done. - :param bIntersect: - :type bIntersect: bool - :rtype: None -") SetIntersect; - void SetIntersect (const Standard_Boolean bIntersect); - %feature("compactdefaultargs") IsIntersect; - %feature("autodoc", " * Returns the flag . + /****************** Faces ******************/ + %feature("compactdefaultargs") Faces; + %feature("autodoc", "* Returns the processed faces . + :rtype: TopTools_ListOfShape") Faces; + const TopTools_ListOfShape & Faces (); - :rtype: bool -") IsIntersect; - Standard_Boolean IsIntersect (); - %feature("compactdefaultargs") Box; - %feature("autodoc", " * Returns the solid box . + /****************** IsAvoidInternalShapes ******************/ + %feature("compactdefaultargs") IsAvoidInternalShapes; + %feature("autodoc", "* Returns the AvoidInternalShapes flag + :rtype: bool") IsAvoidInternalShapes; + Standard_Boolean IsAvoidInternalShapes (); - :rtype: TopoDS_Solid -") Box; - const TopoDS_Solid Box (); - %feature("compactdefaultargs") Faces; - %feature("autodoc", " * Returns the processed faces . + /****************** IsIntersect ******************/ + %feature("compactdefaultargs") IsIntersect; + %feature("autodoc", "* Returns the flag . + :rtype: bool") IsIntersect; + Standard_Boolean IsIntersect (); - :rtype: BOPCol_ListOfShape -") Faces; - const BOPCol_ListOfShape & Faces (); + /****************** Perform ******************/ %feature("compactdefaultargs") Perform; - %feature("autodoc", " * Performs the operation. - - :rtype: void -") Perform; + %feature("autodoc", "* Performs the operation. + :rtype: void") Perform; virtual void Perform (); + + /****************** SetAvoidInternalShapes ******************/ + %feature("compactdefaultargs") SetAvoidInternalShapes; + %feature("autodoc", "* Defines the preventing of addition of internal for solid parts into the result. By default the internal parts are added into result. + :param theAvoidInternal: + :type theAvoidInternal: bool + :rtype: None") SetAvoidInternalShapes; + void SetAvoidInternalShapes (const Standard_Boolean theAvoidInternal); + + /****************** SetIntersect ******************/ + %feature("compactdefaultargs") SetIntersect; + %feature("autodoc", "* Sets the flag myIntersect: if is True the shapes from will be intersected. if is False no intersection will be done. + :param bIntersect: + :type bIntersect: bool + :rtype: None") SetIntersect; + void SetIntersect (const Standard_Boolean bIntersect); + }; @@ -1365,35 +2362,27 @@ class BOPAlgo_MakerVolume : public BOPAlgo_Builder { __repr__ = _dumps_object } }; + +/************************ +* class BOPAlgo_Section * +************************/ %nodefaultctor BOPAlgo_Section; class BOPAlgo_Section : public BOPAlgo_Builder { public: + /****************** BOPAlgo_Section ******************/ %feature("compactdefaultargs") BOPAlgo_Section; - %feature("autodoc", " * Empty constructor - - :rtype: None -") BOPAlgo_Section; + %feature("autodoc", "* Empty constructor + :rtype: None") BOPAlgo_Section; BOPAlgo_Section (); - %feature("compactdefaultargs") BOPAlgo_Section; - %feature("autodoc", " * Empty constructor //! protected methods + /****************** BOPAlgo_Section ******************/ + %feature("compactdefaultargs") BOPAlgo_Section; + %feature("autodoc", "* Constructor with allocator :param theAllocator: - :type theAllocator: BOPCol_BaseAllocator & - :rtype: None -") BOPAlgo_Section; - BOPAlgo_Section (const BOPCol_BaseAllocator & theAllocator); - %feature("compactdefaultargs") BuildSection; - %feature("autodoc", " :rtype: void -") BuildSection; - virtual void BuildSection (); - %feature("compactdefaultargs") Generated; - %feature("autodoc", " * Returns the list of shapes generated from the shape theS. + :type theAllocator: opencascade::handle & + :rtype: None") BOPAlgo_Section; + BOPAlgo_Section (const opencascade::handle & theAllocator); - :param theS: - :type theS: TopoDS_Shape & - :rtype: TopTools_ListOfShape -") Generated; - virtual const TopTools_ListOfShape & Generated (const TopoDS_Shape & theS); }; @@ -1402,3 +2391,148 @@ class BOPAlgo_Section : public BOPAlgo_Builder { __repr__ = _dumps_object } }; + +/****************************** +* class BOPAlgo_ToolsProvider * +******************************/ +%nodefaultctor BOPAlgo_ToolsProvider; +class BOPAlgo_ToolsProvider : public BOPAlgo_Builder { + public: + /****************** AddTool ******************/ + %feature("compactdefaultargs") AddTool; + %feature("autodoc", "* Adds Tool argument of the operation + :param theShape: + :type theShape: TopoDS_Shape & + :rtype: void") AddTool; + virtual void AddTool (const TopoDS_Shape & theShape); + + /****************** BOPAlgo_ToolsProvider ******************/ + %feature("compactdefaultargs") BOPAlgo_ToolsProvider; + %feature("autodoc", "* Empty constructor + :rtype: None") BOPAlgo_ToolsProvider; + BOPAlgo_ToolsProvider (); + + /****************** BOPAlgo_ToolsProvider ******************/ + %feature("compactdefaultargs") BOPAlgo_ToolsProvider; + %feature("autodoc", ":param theAllocator: + :type theAllocator: opencascade::handle & + :rtype: None") BOPAlgo_ToolsProvider; + BOPAlgo_ToolsProvider (const opencascade::handle & theAllocator); + + /****************** Clear ******************/ + %feature("compactdefaultargs") Clear; + %feature("autodoc", "* Clears internal fields and arguments + :rtype: void") Clear; + virtual void Clear (); + + /****************** SetTools ******************/ + %feature("compactdefaultargs") SetTools; + %feature("autodoc", "* Adds the Tool arguments of the operation + :param theShapes: + :type theShapes: TopTools_ListOfShape & + :rtype: void") SetTools; + virtual void SetTools (const TopTools_ListOfShape & theShapes); + + /****************** Tools ******************/ + %feature("compactdefaultargs") Tools; + %feature("autodoc", "* Returns the Tool arguments of the operation + :rtype: TopTools_ListOfShape") Tools; + const TopTools_ListOfShape & Tools (); + +}; + + +%extend BOPAlgo_ToolsProvider { + %pythoncode { + __repr__ = _dumps_object + } +}; + +/******************** +* class BOPAlgo_BOP * +********************/ +%nodefaultctor BOPAlgo_BOP; +class BOPAlgo_BOP : public BOPAlgo_ToolsProvider { + public: + /****************** BOPAlgo_BOP ******************/ + %feature("compactdefaultargs") BOPAlgo_BOP; + %feature("autodoc", "* Empty constructor + :rtype: None") BOPAlgo_BOP; + BOPAlgo_BOP (); + + /****************** BOPAlgo_BOP ******************/ + %feature("compactdefaultargs") BOPAlgo_BOP; + %feature("autodoc", ":param theAllocator: + :type theAllocator: opencascade::handle & + :rtype: None") BOPAlgo_BOP; + BOPAlgo_BOP (const opencascade::handle & theAllocator); + + /****************** Clear ******************/ + %feature("compactdefaultargs") Clear; + %feature("autodoc", "* Clears internal fields and arguments + :rtype: void") Clear; + virtual void Clear (); + + /****************** Operation ******************/ + %feature("compactdefaultargs") Operation; + %feature("autodoc", ":rtype: BOPAlgo_Operation") Operation; + BOPAlgo_Operation Operation (); + + /****************** Perform ******************/ + %feature("compactdefaultargs") Perform; + %feature("autodoc", ":rtype: void") Perform; + virtual void Perform (); + + /****************** SetOperation ******************/ + %feature("compactdefaultargs") SetOperation; + %feature("autodoc", ":param theOperation: + :type theOperation: BOPAlgo_Operation + :rtype: None") SetOperation; + void SetOperation (const BOPAlgo_Operation theOperation); + +}; + + +%extend BOPAlgo_BOP { + %pythoncode { + __repr__ = _dumps_object + } +}; + +/************************* +* class BOPAlgo_Splitter * +*************************/ +%nodefaultctor BOPAlgo_Splitter; +class BOPAlgo_Splitter : public BOPAlgo_ToolsProvider { + public: + /****************** BOPAlgo_Splitter ******************/ + %feature("compactdefaultargs") BOPAlgo_Splitter; + %feature("autodoc", "* Empty constructor + :rtype: None") BOPAlgo_Splitter; + BOPAlgo_Splitter (); + + /****************** BOPAlgo_Splitter ******************/ + %feature("compactdefaultargs") BOPAlgo_Splitter; + %feature("autodoc", ":param theAllocator: + :type theAllocator: opencascade::handle & + :rtype: None") BOPAlgo_Splitter; + BOPAlgo_Splitter (const opencascade::handle & theAllocator); + + /****************** Perform ******************/ + %feature("compactdefaultargs") Perform; + %feature("autodoc", "* Performs the operation + :rtype: void") Perform; + virtual void Perform (); + +}; + + +%extend BOPAlgo_Splitter { + %pythoncode { + __repr__ = _dumps_object + } +}; + +/* harray1 class */ +/* harray2 class */ +/* harray2 class */ diff --git a/src/SWIG_files/wrapper/BOPAlgo_headers.i b/src/SWIG_files/wrapper/BOPAlgo_headers.i deleted file mode 100644 index eacbbdb4e..000000000 --- a/src/SWIG_files/wrapper/BOPAlgo_headers.i +++ /dev/null @@ -1,1203 +0,0 @@ -/* -Copyright 2008-2017 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 . - -*/ -%{ -#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 -#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 -#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 -#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 -#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 -#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 -#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 -#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 -#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 -#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 -#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 -#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 -#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 -%}; -%import Standard.i -%import BOPCol.i -%import Message.i -%import TopoDS.i -%import BOPDS.i -%import IntTools.i -%import TopTools.i -%import BOPTools.i -%import TopAbs.i diff --git a/src/SWIG_files/wrapper/BOPCol.i b/src/SWIG_files/wrapper/BOPCol.i deleted file mode 100644 index ac6496f9b..000000000 --- a/src/SWIG_files/wrapper/BOPCol.i +++ /dev/null @@ -1,185 +0,0 @@ -/* -Copyright 2008-2017 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 BOPCOLDOCSTRING -" -The package contains collection classes -that are used by -partition and boolean operation algorithms" -%enddef -%module (package="OCC.Core", docstring=BOPCOLDOCSTRING) BOPCol - -#pragma SWIG nowarn=504,325,503 - -%{ -#ifdef WNT -#pragma warning(disable : 4716) -#endif -%} - -%include ../common/CommonIncludes.i -%include ../common/ExceptionCatcher.i -%include ../common/FunctionTransformers.i -%include ../common/Operators.i -%include ../common/OccHandle.i - - -%include BOPCol_headers.i - -/* typedefs */ -typedef NCollection_Map BOPCol_MapOfInteger; -typedef NCollection_DataMap BOPCol_DataMapOfShapeListOfShape; -typedef BOPCol_MapOfOrientedShape::Iterator BOPCol_MapIteratorOfMapOfOrientedShape; -typedef NCollection_IndexedDataMap BOPCol_IndexedDataMapOfShapeListOfShape; -typedef BOPCol_DataMapOfShapeShape::Iterator BOPCol_DataMapIteratorOfDataMapOfShapeShape; -typedef NCollection_UBTree BOPCol_BoxBndTree; -typedef NCollection_IndexedDataMap BOPCol_IndexedDataMapOfIntegerListOfInteger; -typedef NCollection_DataMap BOPCol_DataMapOfIntegerListOfInteger; -typedef NCollection_DataMap BOPCol_DataMapOfIntegerMapOfInteger; -typedef BOPCol_ListOfListOfShape::Iterator BOPCol_ListIteratorOfListOfListOfShape; -typedef BOPCol_DataMapOfTransientAddress::Iterator BOPCol_DataMapIteratorOfDataMapOfTransientAddress; -typedef NCollection_IndexedDataMap BOPCol_IndexedDataMapOfShapeBox; -typedef BOPCol_ListOfShape::Iterator BOPCol_ListIteratorOfListOfShape; -typedef BOPCol_DataMapOfIntegerReal::Iterator BOPCol_DataMapIteratorOfDataMapOfIntegerReal; -typedef BOPCol_DataMapOfShapeListOfShape::Iterator BOPCol_DataMapIteratorOfDataMapOfShapeListOfShape; -typedef Standard_Integer * BOPCol_PInteger; -typedef BOPCol_DataMapOfIntegerListOfInteger::Iterator BOPCol_DataMapIteratorOfDataMapOfIntegerListOfInteger; -typedef NCollection_DataMap BOPCol_DataMapOfIntegerReal; -typedef BOPCol_DataMapOfIntegerMapOfInteger::Iterator BOPCol_DataMapIteratorOfDataMapOfIntegerMapOfInteger; -typedef BOPCol_DataMapOfShapeInteger::Iterator BOPCol_DataMapIteratorOfDataMapOfShapeInteger; -typedef BOPCol_DataMapOfShapeReal::Iterator BOPCol_DataMapIteratorOfDataMapOfShapeReal; -typedef BOPCol_ListOfInteger::Iterator BOPCol_ListIteratorOfListOfInteger; -typedef NCollection_DataMap BOPCol_DataMapOfIntegerInteger; -typedef NCollection_List BOPCol_ListOfShape; -typedef Handle_NCollection_BaseAllocator BOPCol_BaseAllocator; -typedef BOPCol_DataMapOfIntegerShape::Iterator BOPCol_DataMapIteratorOfDataMapOfIntegerShape; -typedef NCollection_Sequence BOPCol_SequenceOfShape; -typedef NCollection_DataMap BOPCol_DataMapOfTransientAddress; -typedef NCollection_IndexedMap BOPCol_IndexedMapOfShape; -typedef NCollection_IndexedMap BOPCol_IndexedMapOfInteger; -typedef NCollection_DataMap BOPCol_DataMapOfShapeReal; -typedef NCollection_List BOPCol_ListOfInteger; -typedef NCollection_DataMap BOPCol_DataMapOfShapeInteger; -typedef NCollection_DataMap BOPCol_DataMapOfIntegerShape; -typedef NCollection_Sequence BOPCol_SequenceOfReal; -typedef BOPCol_DataMapOfIntegerListOfShape::Iterator BOPCol_DataMapIteratorOfDataMapOfIntegerListOfShape; -typedef BOPCol_DataMapOfIntegerInteger::Iterator BOPCol_DataMapIteratorOfDataMapOfIntegerInteger; -typedef BOPCol_ListOfInteger * BOPCol_PListOfInteger; -typedef NCollection_List BOPCol_ListOfListOfShape; -typedef NCollection_UBTree BOPCol_Box2DBndTree; -typedef NCollection_DataMap BOPCol_DataMapOfIntegerListOfShape; -typedef NCollection_DataMap BOPCol_DataMapOfShapeShape; -typedef BOPCol_MapOfShape::Iterator BOPCol_MapIteratorOfMapOfShape; -typedef BOPCol_MapOfInteger::Iterator BOPCol_MapIteratorOfMapOfInteger; -typedef NCollection_DataMap BOPCol_DataMapOfShapeAddress; -typedef NCollection_IndexedDataMap BOPCol_IndexedDataMapOfShapeInteger; -typedef NCollection_Map BOPCol_MapOfShape; -typedef NCollection_Sequence BOPCol_SequenceOfPnt2d; -typedef BOPCol_DataMapOfShapeAddress::Iterator BOPCol_DataMapIteratorOfDataMapOfShapeAddress; -typedef NCollection_Map BOPCol_MapOfOrientedShape; -typedef NCollection_IndexedDataMap BOPCol_IndexedDataMapOfShapeShape; -typedef NCollection_IndexedMap BOPCol_IndexedMapOfOrientedShape; -/* end typedefs declaration */ - -/* public enums */ -/* end public enums declaration */ - - -%nodefaultctor BOPCol_Box2DBndTreeSelector; -class BOPCol_Box2DBndTreeSelector : public BOPCol_Box2DBndTree::Selector { - public: - %feature("compactdefaultargs") BOPCol_Box2DBndTreeSelector; - %feature("autodoc", " :rtype: None -") BOPCol_Box2DBndTreeSelector; - BOPCol_Box2DBndTreeSelector (); - %feature("compactdefaultargs") Reject; - %feature("autodoc", " :param &: - :type &: Bnd_Box2d - :rtype: bool -") Reject; - virtual Standard_Boolean Reject (const Bnd_Box2d &); - %feature("compactdefaultargs") Accept; - %feature("autodoc", " :param &: - :type &: int - :rtype: bool -") Accept; - virtual Standard_Boolean Accept (const Standard_Integer &); - %feature("compactdefaultargs") Clear; - %feature("autodoc", " :rtype: None -") Clear; - void Clear (); - %feature("compactdefaultargs") SetBox; - %feature("autodoc", " :param &: - :type &: Bnd_Box2d - :rtype: None -") SetBox; - void SetBox (const Bnd_Box2d &); - %feature("compactdefaultargs") Indices; - %feature("autodoc", " :rtype: BOPCol_ListOfInteger -") Indices; - const BOPCol_ListOfInteger & Indices (); -}; - - -%extend BOPCol_Box2DBndTreeSelector { - %pythoncode { - __repr__ = _dumps_object - } -}; -%nodefaultctor BOPCol_BoxBndTreeSelector; -class BOPCol_BoxBndTreeSelector : public BOPCol_BoxBndTree::Selector { - public: - %feature("compactdefaultargs") BOPCol_BoxBndTreeSelector; - %feature("autodoc", " :rtype: None -") BOPCol_BoxBndTreeSelector; - BOPCol_BoxBndTreeSelector (); - %feature("compactdefaultargs") Reject; - %feature("autodoc", " :param &: - :type &: Bnd_Box - :rtype: bool -") Reject; - virtual Standard_Boolean Reject (const Bnd_Box &); - %feature("compactdefaultargs") Accept; - %feature("autodoc", " :param &: - :type &: int - :rtype: bool -") Accept; - virtual Standard_Boolean Accept (const Standard_Integer &); - %feature("compactdefaultargs") Clear; - %feature("autodoc", " :rtype: None -") Clear; - void Clear (); - %feature("compactdefaultargs") SetBox; - %feature("autodoc", " :param &: - :type &: Bnd_Box - :rtype: None -") SetBox; - void SetBox (const Bnd_Box &); - %feature("compactdefaultargs") Indices; - %feature("autodoc", " :rtype: BOPCol_ListOfInteger -") Indices; - const BOPCol_ListOfInteger & Indices (); -}; - - -%extend BOPCol_BoxBndTreeSelector { - %pythoncode { - __repr__ = _dumps_object - } -}; diff --git a/src/SWIG_files/wrapper/BOPCol_headers.i b/src/SWIG_files/wrapper/BOPCol_headers.i deleted file mode 100644 index a7a7076d1..000000000 --- a/src/SWIG_files/wrapper/BOPCol_headers.i +++ /dev/null @@ -1,397 +0,0 @@ -/* -Copyright 2008-2017 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 . - -*/ -%{ -#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 -#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 -#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 -#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 -#include -#include -%}; -%import Bnd.i -%import Standard.i diff --git a/src/SWIG_files/wrapper/BOPDS.i b/src/SWIG_files/wrapper/BOPDS.i index c26bd8b67..484d533b5 100644 --- a/src/SWIG_files/wrapper/BOPDS.i +++ b/src/SWIG_files/wrapper/BOPDS.i @@ -1,6 +1,5 @@ /* -Copyright 2008-2017 Thomas Paviot (tpaviot@gmail.com) - +Copyright 2008-2019 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -15,18 +14,13 @@ 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 BOPDSDOCSTRING -" -The package contains classes that implements -the data structure for -general fuse and boolean operation algorithms -" +"BOPDS module, see official documentation at +https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_bopds.html" %enddef %module (package="OCC.Core", docstring=BOPDSDOCSTRING) BOPDS -#pragma SWIG nowarn=504,325,503 %{ #ifdef WNT @@ -41,193 +35,345 @@ general fuse and boolean operation algorithms %include ../common/OccHandle.i -%include BOPDS_headers.i +%{ +#include + +//Dependencies +#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 +%}; +%import Standard.i +%import NCollection.i +%import TColStd.i +%import Bnd.i +%import IntTools.i +%import TopoDS.i +%import TopTools.i +%import TopAbs.i +%import gp.i +/* public enums */ +/* end public enums declaration */ + +/* handles */ +%wrap_handle(BOPDS_CommonBlock) +%wrap_handle(BOPDS_PaveBlock) +/* end handles declaration */ + +/* templates */ +%template(BOPDS_VectorOfInterfZZ) NCollection_Vector ; +%template(BOPDS_IndexedDataMapOfShapeCoupleOfPaveBlocks) NCollection_IndexedDataMap ; +%template(BOPDS_VectorOfInterfVV) NCollection_Vector ; +%template(BOPDS_VectorOfIndexRange) NCollection_Vector ; +%template(BOPDS_VectorOfFaceInfo) NCollection_Vector ; +%template(BOPDS_VectorOfCurve) NCollection_Vector ; +%template(BOPDS_IndexedMapOfPaveBlock) NCollection_IndexedMap , TColStd_MapTransientHasher>; +%template(BOPDS_VectorOfInterfVF) NCollection_Vector ; +%template(BOPDS_MapOfPave) NCollection_Map ; +%template(BOPDS_VectorOfInterfFZ) NCollection_Vector ; +%template(BOPDS_IndexedDataMapOfPaveBlockListOfInteger) NCollection_IndexedDataMap , TColStd_ListOfInteger , TColStd_MapTransientHasher>; +%template(BOPDS_VectorOfPoint) NCollection_Vector ; +%template(BOPDS_VectorOfPave) 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(BOPDS_VectorOfInterfEZ) NCollection_Vector ; +%template(BOPDS_DataMapOfPaveBlockListOfPaveBlock) NCollection_DataMap , BOPDS_ListOfPaveBlock , TColStd_MapTransientHasher>; +%template(BOPDS_MapOfCommonBlock) NCollection_Map , TColStd_MapTransientHasher>; +%template(BOPDS_VectorOfInterfFF) NCollection_Vector ; +%template(BOPDS_ListOfPave) NCollection_List ; +%template(BOPDS_DataMapOfPaveBlockListOfInteger) NCollection_DataMap , TColStd_ListOfInteger , TColStd_MapTransientHasher>; +%template(BOPDS_DataMapOfShapeCoupleOfPaveBlocks) NCollection_DataMap ; +%template(BOPDS_VectorOfVectorOfPair) NCollection_Vector ; +%template(BOPDS_VectorOfListOfPaveBlock) NCollection_Vector ; +%template(BOPDS_VectorOfInterfEE) NCollection_Vector ; +%template(BOPDS_VectorOfShapeInfo) NCollection_Vector ; +%template(BOPDS_VectorOfInterfVZ) NCollection_Vector ; +%template(BOPDS_VectorOfPair) NCollection_Vector ; +%template(BOPDS_VectorOfInterfEF) NCollection_Vector ; +%template(BOPDS_VectorOfInterfVE) NCollection_Vector ; +%template(BOPDS_DataMapOfIntegerListOfPaveBlock) NCollection_DataMap ; +%template(BOPDS_MapOfPair) NCollection_Map ; +%template(BOPDS_IndexedDataMapOfPaveBlockListOfPaveBlock) NCollection_IndexedDataMap , BOPDS_ListOfPaveBlock , TColStd_MapTransientHasher>; +%template(BOPDS_ListOfPaveBlock) NCollection_List >; +%template(BOPDS_MapOfPaveBlock) NCollection_Map , TColStd_MapTransientHasher>; +/* end templates declaration */ /* typedefs */ -typedef NCollection_Map BOPDS_MapOfPassKey; -typedef BOPCol_NCVector BOPDS_VectorOfInterfVZ; -typedef NCollection_DataMap BOPDS_DataMapOfPaveBlockListOfInteger; -typedef NCollection_List BOPDS_ListOfPave; -typedef BOPDS_DataMapOfPaveBlockListOfPaveBlock::Iterator BOPDS_DataMapIteratorOfDataMapOfPaveBlockListOfPaveBlock; -typedef BOPCol_NCVector BOPDS_VectorOfInterfEZ; -typedef BOPCol_NCVector BOPDS_VectorOfInterfVV; -typedef BOPCol_NCVector BOPDS_VectorOfInterfEE; -typedef BOPCol_NCVector BOPDS_VectorOfInterfEF; +typedef NCollection_Vector BOPDS_VectorOfInterfZZ; +typedef NCollection_IndexedDataMap BOPDS_IndexedDataMapOfShapeCoupleOfPaveBlocks; +typedef NCollection_Vector BOPDS_VectorOfInterfVV; +typedef NCollection_Vector BOPDS_VectorOfIndexRange; typedef BOPDS_IteratorSI * BOPDS_PIteratorSI; -typedef BOPCol_NCVector BOPDS_VectorOfInterfZZ; -typedef BOPCol_NCVector BOPDS_VectorOfInterfVE; -typedef BOPDS_DataMapOfShapeCoupleOfPaveBlocks::Iterator BOPDS_DataMapIteratorOfDataMapOfShapeCoupleOfPaveBlocks; -typedef BOPCol_NCVector BOPDS_VectorOfInterfVF; -typedef BOPDS_ListOfPave::Iterator BOPDS_ListIteratorOfListOfPave; -typedef BOPCol_NCVector BOPDS_VectorOfCurve; -typedef BOPCol_NCVector BOPDS_VectorOfShapeInfo; -typedef NCollection_Map BOPDS_MapOfPaveBlock; -typedef BOPCol_NCVector BOPDS_VectorOfIndexRange; -typedef BOPCol_NCVector BOPDS_VectorOfInterfFF; +typedef NCollection_Vector BOPDS_VectorOfFaceInfo; +typedef NCollection_Vector BOPDS_VectorOfCurve; +typedef NCollection_IndexedMap , TColStd_MapTransientHasher> BOPDS_IndexedMapOfPaveBlock; +typedef NCollection_Vector BOPDS_VectorOfInterfVF; +typedef BOPDS_DataMapOfPaveBlockCommonBlock::Iterator BOPDS_DataMapIteratorOfDataMapOfPaveBlockCommonBlock; +typedef NCollection_Map BOPDS_MapOfPave; +typedef BOPDS_MapOfPave::Iterator BOPDS_MapIteratorOfMapOfPave; +typedef NCollection_Vector BOPDS_VectorOfInterfFZ; +typedef NCollection_IndexedDataMap , TColStd_ListOfInteger , TColStd_MapTransientHasher> BOPDS_IndexedDataMapOfPaveBlockListOfInteger; +typedef NCollection_Vector BOPDS_VectorOfPoint; typedef NCollection_Array1 BOPDS_VectorOfPave; -typedef BOPCol_NCVector BOPDS_VectorOfInterfFZ; -typedef NCollection_DataMap BOPDS_DataMapOfIntegerListOfPaveBlock; -typedef BOPDS_DataMapOfPassKeyListOfPaveBlock::Iterator BOPDS_DataMapIteratorOfDataMapOfPassKeyListOfPaveBlock; -typedef BOPDS_MapOfPassKeyBoolean::Iterator BOPDS_MapIteratorMapOfPassKeyBoolean; -typedef NCollection_Map BOPDS_MapOfPassKeyBoolean; typedef BOPDS_DS * BOPDS_PDS; -typedef BOPDS_ListOfPassKeyBoolean::Iterator BOPDS_ListIteratorOfListOfPassKeyBoolean; -typedef NCollection_IndexedMap BOPDS_IndexedMapOfPaveBlock; -typedef BOPDS_Iterator * BOPDS_PIterator; -typedef BOPDS_DataMapOfPaveBlockCommonBlock::Iterator BOPDS_DataMapIteratorOfDataMapOfPaveBlockCommonBlock; -typedef BOPDS_MapOfPassKey::Iterator BOPDS_MapIteratorMapOfPassKey; +typedef NCollection_Vector BOPDS_VectorOfInterfEZ; +typedef NCollection_DataMap , BOPDS_ListOfPaveBlock , TColStd_MapTransientHasher> BOPDS_DataMapOfPaveBlockListOfPaveBlock; +typedef BOPDS_DataMapOfPaveBlockListOfPaveBlock::Iterator BOPDS_DataMapIteratorOfDataMapOfPaveBlockListOfPaveBlock; +typedef NCollection_Map , TColStd_MapTransientHasher> BOPDS_MapOfCommonBlock; typedef BOPDS_MapOfCommonBlock::Iterator BOPDS_MapIteratorOfMapOfCommonBlock; -typedef NCollection_DataMap BOPDS_DataMapOfPassKeyListOfPaveBlock; -typedef NCollection_Map BOPDS_MapOfCommonBlock; -typedef BOPDS_ListOfPaveBlock::Iterator BOPDS_ListIteratorOfListOfPaveBlock; -typedef NCollection_Map BOPDS_MapOfPave; -typedef BOPCol_NCVector BOPDS_VectorOfListOfPaveBlock; -typedef NCollection_IndexedDataMap BOPDS_IndexedDataMapOfPaveBlockListOfInteger; -typedef BOPCol_NCVector BOPDS_VectorOfPoint; +typedef NCollection_Vector BOPDS_VectorOfInterfFF; +typedef NCollection_List BOPDS_ListOfPave; +typedef BOPDS_ListOfPave::Iterator BOPDS_ListIteratorOfListOfPave; +typedef NCollection_DataMap , TColStd_ListOfInteger , TColStd_MapTransientHasher> BOPDS_DataMapOfPaveBlockListOfInteger; typedef BOPDS_DataMapOfPaveBlockListOfInteger::Iterator BOPDS_DataMapIteratorOfDataMapOfPaveBlockListOfInteger; -typedef NCollection_DataMap BOPDS_DataMapOfPaveBlockListOfPaveBlock; -typedef BOPDS_MapOfPaveBlock::Iterator BOPDS_MapIteratorOfMapOfPaveBlock; -typedef NCollection_List BOPDS_ListOfPaveBlock; typedef NCollection_DataMap BOPDS_DataMapOfShapeCoupleOfPaveBlocks; -typedef NCollection_IndexedDataMap BOPDS_IndexedDataMapOfShapeCoupleOfPaveBlocks; -typedef BOPCol_NCVector BOPDS_VectorOfFaceInfo; -typedef NCollection_IndexedDataMap BOPDS_IndexedDataMapOfPaveBlockListOfPaveBlock; -typedef BOPCol_NCVector BOPDS_VectorOfListOfPassKeyBoolean; -typedef BOPDS_MapOfPave::Iterator BOPDS_MapIteratorOfMapOfPave; -typedef NCollection_List BOPDS_ListOfPassKeyBoolean; +typedef BOPDS_DataMapOfShapeCoupleOfPaveBlocks::Iterator BOPDS_DataMapIteratorOfDataMapOfShapeCoupleOfPaveBlocks; +typedef NCollection_Vector BOPDS_VectorOfVectorOfPair; +typedef NCollection_Vector BOPDS_VectorOfListOfPaveBlock; +typedef NCollection_Vector BOPDS_VectorOfInterfEE; +typedef NCollection_Vector BOPDS_VectorOfShapeInfo; +typedef NCollection_Vector BOPDS_VectorOfInterfVZ; +typedef NCollection_Vector BOPDS_VectorOfPair; +typedef BOPDS_Iterator * BOPDS_PIterator; +typedef NCollection_Vector BOPDS_VectorOfInterfEF; +typedef NCollection_Vector BOPDS_VectorOfInterfVE; +typedef NCollection_DataMap BOPDS_DataMapOfIntegerListOfPaveBlock; +typedef NCollection_Map BOPDS_MapOfPair; +typedef BOPDS_MapOfPair::Iterator BOPDS_MapIteratorOfMapOfPair; +typedef NCollection_IndexedDataMap , BOPDS_ListOfPaveBlock , TColStd_MapTransientHasher> BOPDS_IndexedDataMapOfPaveBlockListOfPaveBlock; +typedef NCollection_List > BOPDS_ListOfPaveBlock; +typedef BOPDS_ListOfPaveBlock::Iterator BOPDS_ListIteratorOfListOfPaveBlock; +typedef NCollection_Map , TColStd_MapTransientHasher> BOPDS_MapOfPaveBlock; +typedef BOPDS_MapOfPaveBlock::Iterator BOPDS_MapIteratorOfMapOfPaveBlock; /* end typedefs declaration */ -/* public enums */ -/* end public enums declaration */ - -%wrap_handle(BOPDS_CommonBlock) -%wrap_handle(BOPDS_PaveBlock) - +/************************** +* class BOPDS_CommonBlock * +**************************/ %nodefaultctor BOPDS_CommonBlock; -class BOPDS_CommonBlock : public MMgt_TShared { +class BOPDS_CommonBlock : public Standard_Transient { public: - %feature("compactdefaultargs") BOPDS_CommonBlock; - %feature("autodoc", " * Empty contructor + /****************** AddFace ******************/ + %feature("compactdefaultargs") AddFace; + %feature("autodoc", "* Modifier Adds the index of the face to the list of indices of faces of the common block + :param aF: + :type aF: int + :rtype: None") AddFace; + void AddFace (const Standard_Integer aF); - :rtype: None -") BOPDS_CommonBlock; - BOPDS_CommonBlock (); + /****************** AddPaveBlock ******************/ + %feature("compactdefaultargs") AddPaveBlock; + %feature("autodoc", "* Modifier Adds the pave block to the list of pave blocks of the common block + :param aPB: + :type aPB: opencascade::handle & + :rtype: None") AddPaveBlock; + void AddPaveBlock (const opencascade::handle & aPB); + + /****************** AppendFaces ******************/ + %feature("compactdefaultargs") AppendFaces; + %feature("autodoc", "* Modifier Appends the list of indices of faces to the list of indices of faces of the common block (the input list is emptied) + :param aLF: + :type aLF: TColStd_ListOfInteger & + :rtype: None") AppendFaces; + void AppendFaces (TColStd_ListOfInteger & aLF); + + /****************** BOPDS_CommonBlock ******************/ %feature("compactdefaultargs") BOPDS_CommonBlock; - %feature("autodoc", " * Contructor - the allocator to manage the memory + %feature("autodoc", "* Empty contructor + :rtype: None") BOPDS_CommonBlock; + BOPDS_CommonBlock (); + /****************** BOPDS_CommonBlock ******************/ + %feature("compactdefaultargs") BOPDS_CommonBlock; + %feature("autodoc", "* Contructor - the allocator to manage the memory :param theAllocator: - :type theAllocator: BOPCol_BaseAllocator & - :rtype: None -") BOPDS_CommonBlock; - BOPDS_CommonBlock (const BOPCol_BaseAllocator & theAllocator); - %feature("compactdefaultargs") AddPaveBlock; - %feature("autodoc", " * Modifier Adds the pave block to the list of pave blocks of the common block + :type theAllocator: opencascade::handle & + :rtype: None") BOPDS_CommonBlock; + BOPDS_CommonBlock (const opencascade::handle & theAllocator); - :param aPB: - :type aPB: Handle_BOPDS_PaveBlock & - :rtype: None -") AddPaveBlock; - void AddPaveBlock (const Handle_BOPDS_PaveBlock & aPB); - %feature("compactdefaultargs") AddPaveBlocks; - %feature("autodoc", " * Modifier Adds the list of pave blocks to the list of pave blocks of the common block + /****************** Contains ******************/ + %feature("compactdefaultargs") Contains; + %feature("autodoc", "* Query Returns true if the common block contains a pave block that is equal to + :param thePB: + :type thePB: opencascade::handle & + :rtype: bool") Contains; + Standard_Boolean Contains (const opencascade::handle & thePB); - :param aLPB: - :type aLPB: BOPDS_ListOfPaveBlock & - :rtype: None -") AddPaveBlocks; - void AddPaveBlocks (const BOPDS_ListOfPaveBlock & aLPB); - %feature("compactdefaultargs") AddFace; - %feature("autodoc", " * Modifier Adds the index of the face to the list of indices of faces of the common block + /****************** Contains ******************/ + %feature("compactdefaultargs") Contains; + %feature("autodoc", "* Query Returns true if the common block contains the face with index equal to + :param theF: + :type theF: int + :rtype: bool") Contains; + Standard_Boolean Contains (const Standard_Integer theF); - :param aF: - :type aF: int - :rtype: None -") AddFace; - void AddFace (const Standard_Integer aF); - %feature("compactdefaultargs") AddFaces; - %feature("autodoc", " * Modifier Adds the list of indices of faces to the list of indices of faces of the common block + /****************** Dump ******************/ + %feature("compactdefaultargs") Dump; + %feature("autodoc", ":rtype: None") Dump; + void Dump (); - :param aLF: - :type aLF: BOPCol_ListOfInteger & - :rtype: None -") AddFaces; - void AddFaces (const BOPCol_ListOfInteger & aLF); - %feature("compactdefaultargs") PaveBlocks; - %feature("autodoc", " * Selector Returns the list of pave blocks of the common block + /****************** Edge ******************/ + %feature("compactdefaultargs") Edge; + %feature("autodoc", "* Selector Returns the index of the edge of all pave blocks of the common block + :rtype: int") Edge; + Standard_Integer Edge (); - :rtype: BOPDS_ListOfPaveBlock -") PaveBlocks; - const BOPDS_ListOfPaveBlock & PaveBlocks (); + /****************** Faces ******************/ %feature("compactdefaultargs") Faces; - %feature("autodoc", " * Selector Returns the list of indices of faces of the common block - - :rtype: BOPCol_ListOfInteger -") Faces; - const BOPCol_ListOfInteger & Faces (); - %feature("compactdefaultargs") PaveBlock1; - %feature("autodoc", " * Selector Returns the first pave block of the common block - - :rtype: Handle_BOPDS_PaveBlock -") PaveBlock1; - Handle_BOPDS_PaveBlock PaveBlock1 (); - %feature("compactdefaultargs") PaveBlockOnEdge; - %feature("autodoc", " * Selector Returns the pave block that belongs to the edge with index + %feature("autodoc", "* Selector Returns the list of indices of faces of the common block + :rtype: TColStd_ListOfInteger") Faces; + const TColStd_ListOfInteger & Faces (); + /****************** IsPaveBlockOnEdge ******************/ + %feature("compactdefaultargs") IsPaveBlockOnEdge; + %feature("autodoc", "* Query Returns true if the common block contains a pave block that belongs to the edge with index :param theIndex: :type theIndex: int - :rtype: Handle_BOPDS_PaveBlock -") PaveBlockOnEdge; - Handle_BOPDS_PaveBlock PaveBlockOnEdge (const Standard_Integer theIndex); - %feature("compactdefaultargs") IsPaveBlockOnFace; - %feature("autodoc", " * Query Returns true if the common block contains a pave block that belongs to the face with index + :rtype: bool") IsPaveBlockOnEdge; + Standard_Boolean IsPaveBlockOnEdge (const Standard_Integer theIndex); + /****************** IsPaveBlockOnFace ******************/ + %feature("compactdefaultargs") IsPaveBlockOnFace; + %feature("autodoc", "* Query Returns true if the common block contains a pave block that belongs to the face with index :param theIndex: :type theIndex: int - :rtype: bool -") IsPaveBlockOnFace; + :rtype: bool") IsPaveBlockOnFace; Standard_Boolean IsPaveBlockOnFace (const Standard_Integer theIndex); - %feature("compactdefaultargs") IsPaveBlockOnEdge; - %feature("autodoc", " * Query Returns true if the common block contains a pave block that belongs to the edge with index + /****************** PaveBlock1 ******************/ + %feature("compactdefaultargs") PaveBlock1; + %feature("autodoc", "* Selector Returns the first pave block of the common block + :rtype: opencascade::handle") PaveBlock1; + const opencascade::handle & PaveBlock1 (); + + /****************** PaveBlockOnEdge ******************/ + %feature("compactdefaultargs") PaveBlockOnEdge; + %feature("autodoc", "* Selector Returns the pave block that belongs to the edge with index :param theIndex: :type theIndex: int - :rtype: bool -") IsPaveBlockOnEdge; - Standard_Boolean IsPaveBlockOnEdge (const Standard_Integer theIndex); - %feature("compactdefaultargs") Contains; - %feature("autodoc", " * Query Returns true if the common block contains a pave block that is equal to + :rtype: opencascade::handle") PaveBlockOnEdge; + opencascade::handle & PaveBlockOnEdge (const Standard_Integer theIndex); - :param thePB: - :type thePB: Handle_BOPDS_PaveBlock & - :rtype: bool -") Contains; - Standard_Boolean Contains (const Handle_BOPDS_PaveBlock & thePB); - %feature("compactdefaultargs") Contains; - %feature("autodoc", " * Query Returns true if the common block contains the face with index equal to + /****************** PaveBlocks ******************/ + %feature("compactdefaultargs") PaveBlocks; + %feature("autodoc", "* Selector Returns the list of pave blocks of the common block + :rtype: BOPDS_ListOfPaveBlock") PaveBlocks; + const BOPDS_ListOfPaveBlock & PaveBlocks (); - :param theF: - :type theF: int - :rtype: bool -") Contains; - Standard_Boolean Contains (const Standard_Integer theF); + /****************** SetEdge ******************/ %feature("compactdefaultargs") SetEdge; - %feature("autodoc", " * Modifier Assign the index as the edge index to all pave blocks of the common block - + %feature("autodoc", "* Modifier Assign the index as the edge index to all pave blocks of the common block :param theEdge: :type theEdge: int - :rtype: None -") SetEdge; + :rtype: None") SetEdge; void SetEdge (const Standard_Integer theEdge); - %feature("compactdefaultargs") Edge; - %feature("autodoc", " * Selector Returns the index of the edge of all pave blocks of the common block - :rtype: int -") Edge; - Standard_Integer Edge (); - %feature("compactdefaultargs") Dump; - %feature("autodoc", " :rtype: None -") Dump; - void Dump (); + /****************** SetFaces ******************/ + %feature("compactdefaultargs") SetFaces; + %feature("autodoc", "* Modifier Sets the list of indices of faces of the common block + :param aLF: + :type aLF: TColStd_ListOfInteger & + :rtype: None") SetFaces; + void SetFaces (const TColStd_ListOfInteger & aLF); + + /****************** SetPaveBlocks ******************/ + %feature("compactdefaultargs") SetPaveBlocks; + %feature("autodoc", "* Modifier Sets the list of pave blocks for the common block + :param aLPB: + :type aLPB: BOPDS_ListOfPaveBlock & + :rtype: None") SetPaveBlocks; + void SetPaveBlocks (const BOPDS_ListOfPaveBlock & aLPB); + + /****************** SetRealPaveBlock ******************/ + %feature("compactdefaultargs") SetRealPaveBlock; + %feature("autodoc", "* Moves the pave blocks in the list to make the given pave block to be the first. It will be representative for the whole group. + :param thePB: + :type thePB: opencascade::handle & + :rtype: None") SetRealPaveBlock; + void SetRealPaveBlock (const opencascade::handle & thePB); + + /****************** SetTolerance ******************/ + %feature("compactdefaultargs") SetTolerance; + %feature("autodoc", "* Sets the tolerance for the common block + :param theTol: + :type theTol: float + :rtype: None") SetTolerance; + void SetTolerance (const Standard_Real theTol); + + /****************** Tolerance ******************/ + %feature("compactdefaultargs") Tolerance; + %feature("autodoc", "* Return the tolerance of common block + :rtype: float") Tolerance; + Standard_Real Tolerance (); + }; @@ -238,101 +384,119 @@ class BOPDS_CommonBlock : public MMgt_TShared { __repr__ = _dumps_object } }; + +/********************************* +* class BOPDS_CoupleOfPaveBlocks * +*********************************/ %nodefaultctor BOPDS_CoupleOfPaveBlocks; class BOPDS_CoupleOfPaveBlocks { public: + /****************** BOPDS_CoupleOfPaveBlocks ******************/ %feature("compactdefaultargs") BOPDS_CoupleOfPaveBlocks; - %feature("autodoc", " * /** * Constructor */ - - :rtype: None -") BOPDS_CoupleOfPaveBlocks; + %feature("autodoc", "* /** * Constructor */ + :rtype: None") BOPDS_CoupleOfPaveBlocks; BOPDS_CoupleOfPaveBlocks (); + + /****************** BOPDS_CoupleOfPaveBlocks ******************/ %feature("compactdefaultargs") BOPDS_CoupleOfPaveBlocks; - %feature("autodoc", " * /** * Constructor * @param thePB1 * first pave block * @param thePB2 * secondt pave block */ + %feature("autodoc", "* /** * Constructor * @param thePB1 * first pave block * @param thePB2 * secondt pave block */ + :param thePB1: + :type thePB1: opencascade::handle & + :param thePB2: + :type thePB2: opencascade::handle & + :rtype: None") BOPDS_CoupleOfPaveBlocks; + BOPDS_CoupleOfPaveBlocks (const opencascade::handle & thePB1,const opencascade::handle & thePB2); + + /****************** Index ******************/ + %feature("compactdefaultargs") Index; + %feature("autodoc", "* /** * Returns the index * returns * index */ + :rtype: int") Index; + Standard_Integer Index (); + + /****************** IndexInterf ******************/ + %feature("compactdefaultargs") IndexInterf; + %feature("autodoc", "* /** * Returns the index of an interference * returns * index of an interference */ + :rtype: int") IndexInterf; + Standard_Integer IndexInterf (); + + /****************** PaveBlock1 ******************/ + %feature("compactdefaultargs") PaveBlock1; + %feature("autodoc", "* /** * Returns the first pave block * returns * the first pave block */ + :rtype: opencascade::handle") PaveBlock1; + const opencascade::handle & PaveBlock1 (); + /****************** PaveBlock2 ******************/ + %feature("compactdefaultargs") PaveBlock2; + %feature("autodoc", "* /** * Returns the second pave block * returns * the second pave block */ + :rtype: opencascade::handle") PaveBlock2; + const opencascade::handle & PaveBlock2 (); + + /****************** PaveBlocks ******************/ + %feature("compactdefaultargs") PaveBlocks; + %feature("autodoc", "* /** * Returns pave blocks * @param thePB1 * the first pave block * @param thePB2 * the second pave block */ :param thePB1: - :type thePB1: Handle_BOPDS_PaveBlock & + :type thePB1: opencascade::handle & :param thePB2: - :type thePB2: Handle_BOPDS_PaveBlock & - :rtype: None -") BOPDS_CoupleOfPaveBlocks; - BOPDS_CoupleOfPaveBlocks (const Handle_BOPDS_PaveBlock & thePB1,const Handle_BOPDS_PaveBlock & thePB2); - %feature("compactdefaultargs") SetIndex; - %feature("autodoc", " * /** * Sets an index * @param theIndex * index */ + :type thePB2: opencascade::handle & + :rtype: None") PaveBlocks; + void PaveBlocks (opencascade::handle & thePB1,opencascade::handle & thePB2); + /****************** SetIndex ******************/ + %feature("compactdefaultargs") SetIndex; + %feature("autodoc", "* /** * Sets an index * @param theIndex * index */ :param theIndex: :type theIndex: int - :rtype: None -") SetIndex; + :rtype: None") SetIndex; void SetIndex (const Standard_Integer theIndex); - %feature("compactdefaultargs") Index; - %feature("autodoc", " * /** * Returns the index * returns * index */ - :rtype: int -") Index; - Standard_Integer Index (); + /****************** SetIndexInterf ******************/ %feature("compactdefaultargs") SetIndexInterf; - %feature("autodoc", " * /** * Sets an index of an interference * @param theIndex * index of an interference */ - + %feature("autodoc", "* /** * Sets an index of an interference * @param theIndex * index of an interference */ :param theIndex: :type theIndex: int - :rtype: None -") SetIndexInterf; + :rtype: None") SetIndexInterf; void SetIndexInterf (const Standard_Integer theIndex); - %feature("compactdefaultargs") IndexInterf; - %feature("autodoc", " * /** * Returns the index of an interference * returns * index of an interference */ - :rtype: int -") IndexInterf; - Standard_Integer IndexInterf (); - %feature("compactdefaultargs") SetPaveBlocks; - %feature("autodoc", " * /** * Sets pave blocks * @param thePB1 * first pave block * @param thePB2 * secondt pave block */ + /****************** SetPaveBlock1 ******************/ + %feature("compactdefaultargs") SetPaveBlock1; + %feature("autodoc", "* /** * Sets the first pave block * @param thePB * the first pave block */ + :param thePB: + :type thePB: opencascade::handle & + :rtype: None") SetPaveBlock1; + void SetPaveBlock1 (const opencascade::handle & thePB); - :param thePB1: - :type thePB1: Handle_BOPDS_PaveBlock & - :param thePB2: - :type thePB2: Handle_BOPDS_PaveBlock & - :rtype: None -") SetPaveBlocks; - void SetPaveBlocks (const Handle_BOPDS_PaveBlock & thePB1,const Handle_BOPDS_PaveBlock & thePB2); - %feature("compactdefaultargs") PaveBlocks; - %feature("autodoc", " * /** * Returns pave blocks * @param thePB1 * the first pave block * @param thePB2 * the second pave block */ + /****************** SetPaveBlock2 ******************/ + %feature("compactdefaultargs") SetPaveBlock2; + %feature("autodoc", "* /** * Sets the second pave block * @param thePB * the second pave block */ + :param thePB: + :type thePB: opencascade::handle & + :rtype: None") SetPaveBlock2; + void SetPaveBlock2 (const opencascade::handle & thePB); + /****************** SetPaveBlocks ******************/ + %feature("compactdefaultargs") SetPaveBlocks; + %feature("autodoc", "* /** * Sets pave blocks * @param thePB1 * first pave block * @param thePB2 * secondt pave block */ :param thePB1: - :type thePB1: Handle_BOPDS_PaveBlock & + :type thePB1: opencascade::handle & :param thePB2: - :type thePB2: Handle_BOPDS_PaveBlock & - :rtype: None -") PaveBlocks; - void PaveBlocks (Handle_BOPDS_PaveBlock & thePB1,Handle_BOPDS_PaveBlock & thePB2); - %feature("compactdefaultargs") SetPaveBlock1; - %feature("autodoc", " * /** * Sets the first pave block * @param thePB * the first pave block */ + :type thePB2: opencascade::handle & + :rtype: None") SetPaveBlocks; + void SetPaveBlocks (const opencascade::handle & thePB1,const opencascade::handle & thePB2); - :param thePB: - :type thePB: Handle_BOPDS_PaveBlock & - :rtype: None -") SetPaveBlock1; - void SetPaveBlock1 (const Handle_BOPDS_PaveBlock & thePB); - %feature("compactdefaultargs") PaveBlock1; - %feature("autodoc", " * /** * Returns the first pave block * returns * the first pave block */ - - :rtype: Handle_BOPDS_PaveBlock -") PaveBlock1; - Handle_BOPDS_PaveBlock PaveBlock1 (); - %feature("compactdefaultargs") SetPaveBlock2; - %feature("autodoc", " * /** * Sets the second pave block * @param thePB * the second pave block */ + /****************** SetTolerance ******************/ + %feature("compactdefaultargs") SetTolerance; + %feature("autodoc", "* /** * Sets the tolerance associated with this couple */ + :param theTol: + :type theTol: float + :rtype: None") SetTolerance; + void SetTolerance (const Standard_Real theTol); - :param thePB: - :type thePB: Handle_BOPDS_PaveBlock & - :rtype: None -") SetPaveBlock2; - void SetPaveBlock2 (const Handle_BOPDS_PaveBlock & thePB); - %feature("compactdefaultargs") PaveBlock2; - %feature("autodoc", " * /** * Returns the second pave block * returns * the second pave block */ + /****************** Tolerance ******************/ + %feature("compactdefaultargs") Tolerance; + %feature("autodoc", "* /** * Returns the tolerance associated with this couple */ + :rtype: float") Tolerance; + Standard_Real Tolerance (); - :rtype: Handle_BOPDS_PaveBlock -") PaveBlock2; - Handle_BOPDS_PaveBlock PaveBlock2 (); }; @@ -341,105 +505,130 @@ class BOPDS_CoupleOfPaveBlocks { __repr__ = _dumps_object } }; + +/******************** +* class BOPDS_Curve * +********************/ %nodefaultctor BOPDS_Curve; class BOPDS_Curve { public: + /****************** BOPDS_Curve ******************/ %feature("compactdefaultargs") BOPDS_Curve; - %feature("autodoc", " * Empty contructor - - :rtype: None -") BOPDS_Curve; + %feature("autodoc", "* Empty contructor + :rtype: None") BOPDS_Curve; BOPDS_Curve (); - %feature("compactdefaultargs") BOPDS_Curve; - %feature("autodoc", " * Contructor - the allocator to manage the memory + /****************** BOPDS_Curve ******************/ + %feature("compactdefaultargs") BOPDS_Curve; + %feature("autodoc", "* Contructor - the allocator to manage the memory :param theAllocator: - :type theAllocator: BOPCol_BaseAllocator & - :rtype: None -") BOPDS_Curve; - BOPDS_Curve (const BOPCol_BaseAllocator & theAllocator); - %feature("compactdefaultargs") SetCurve; - %feature("autodoc", " * Modifier Sets the curve + :type theAllocator: opencascade::handle & + :rtype: None") BOPDS_Curve; + BOPDS_Curve (const opencascade::handle & theAllocator); - :param theC: - :type theC: IntTools_Curve & - :rtype: None -") SetCurve; - void SetCurve (const IntTools_Curve & theC); - %feature("compactdefaultargs") Curve; - %feature("autodoc", " * Selector Returns the curve + /****************** Box ******************/ + %feature("compactdefaultargs") Box; + %feature("autodoc", "* Selector Returns the bounding box of the curve + :rtype: Bnd_Box") Box; + const Bnd_Box & Box (); + + /****************** ChangeBox ******************/ + %feature("compactdefaultargs") ChangeBox; + %feature("autodoc", "* Selector/Modifier Returns the bounding box of the curve + :rtype: Bnd_Box") ChangeBox; + Bnd_Box & ChangeBox (); + + /****************** ChangePaveBlock1 ******************/ + %feature("compactdefaultargs") ChangePaveBlock1; + %feature("autodoc", "* Selector/Modifier Returns initial pave block of the curve + :rtype: opencascade::handle") ChangePaveBlock1; + opencascade::handle & ChangePaveBlock1 (); - :rtype: IntTools_Curve -") Curve; + /****************** ChangePaveBlocks ******************/ + %feature("compactdefaultargs") ChangePaveBlocks; + %feature("autodoc", "* Selector/Modifier Returns the list of pave blocks of the curve + :rtype: BOPDS_ListOfPaveBlock") ChangePaveBlocks; + BOPDS_ListOfPaveBlock & ChangePaveBlocks (); + + /****************** ChangeTechnoVertices ******************/ + %feature("compactdefaultargs") ChangeTechnoVertices; + %feature("autodoc", "* Selector/Modifier Returns list of indices of technologic vertices of the curve + :rtype: TColStd_ListOfInteger") ChangeTechnoVertices; + TColStd_ListOfInteger & ChangeTechnoVertices (); + + /****************** Curve ******************/ + %feature("compactdefaultargs") Curve; + %feature("autodoc", "* Selector Returns the curve + :rtype: IntTools_Curve") Curve; const IntTools_Curve & Curve (); - %feature("compactdefaultargs") SetBox; - %feature("autodoc", " * Modifier Sets the bounding box of the curve + /****************** HasEdge ******************/ + %feature("compactdefaultargs") HasEdge; + %feature("autodoc", "* Query Returns true if at least one pave block of the curve has edge + :rtype: bool") HasEdge; + Standard_Boolean HasEdge (); + + /****************** InitPaveBlock1 ******************/ + %feature("compactdefaultargs") InitPaveBlock1; + %feature("autodoc", "* Creates initial pave block of the curve + :rtype: None") InitPaveBlock1; + void InitPaveBlock1 (); + + /****************** PaveBlocks ******************/ + %feature("compactdefaultargs") PaveBlocks; + %feature("autodoc", "* Selector Returns the list of pave blocks of the curve + :rtype: BOPDS_ListOfPaveBlock") PaveBlocks; + const BOPDS_ListOfPaveBlock & PaveBlocks (); + + /****************** SetBox ******************/ + %feature("compactdefaultargs") SetBox; + %feature("autodoc", "* Modifier Sets the bounding box of the curve :param theBox: :type theBox: Bnd_Box & - :rtype: None -") SetBox; + :rtype: None") SetBox; void SetBox (const Bnd_Box & theBox); - %feature("compactdefaultargs") Box; - %feature("autodoc", " * Selector Returns the bounding box of the curve - :rtype: Bnd_Box -") Box; - const Bnd_Box & Box (); - %feature("compactdefaultargs") ChangeBox; - %feature("autodoc", " * Selector/Modifier Returns the bounding box of the curve + /****************** SetCurve ******************/ + %feature("compactdefaultargs") SetCurve; + %feature("autodoc", "* Modifier Sets the curve + :param theC: + :type theC: IntTools_Curve & + :rtype: None") SetCurve; + void SetCurve (const IntTools_Curve & theC); - :rtype: Bnd_Box -") ChangeBox; - Bnd_Box & ChangeBox (); + /****************** SetPaveBlocks ******************/ %feature("compactdefaultargs") SetPaveBlocks; - %feature("autodoc", " :param theLPB: + %feature("autodoc", ":param theLPB: :type theLPB: BOPDS_ListOfPaveBlock & - :rtype: None -") SetPaveBlocks; + :rtype: None") SetPaveBlocks; void SetPaveBlocks (const BOPDS_ListOfPaveBlock & theLPB); - %feature("compactdefaultargs") PaveBlocks; - %feature("autodoc", " * Selector Returns the list of pave blocks of the curve - - :rtype: BOPDS_ListOfPaveBlock -") PaveBlocks; - const BOPDS_ListOfPaveBlock & PaveBlocks (); - %feature("compactdefaultargs") ChangePaveBlocks; - %feature("autodoc", " * Selector/Modifier Returns the list of pave blocks of the curve - :rtype: BOPDS_ListOfPaveBlock -") ChangePaveBlocks; - BOPDS_ListOfPaveBlock & ChangePaveBlocks (); - %feature("compactdefaultargs") InitPaveBlock1; - %feature("autodoc", " * Creates initial pave block of the curve + /****************** SetTolerance ******************/ + %feature("compactdefaultargs") SetTolerance; + %feature("autodoc", "* Sets the tolerance for the curve. + :param theTol: + :type theTol: float + :rtype: None") SetTolerance; + void SetTolerance (const Standard_Real theTol); - :rtype: None -") InitPaveBlock1; - void InitPaveBlock1 (); - %feature("compactdefaultargs") ChangePaveBlock1; - %feature("autodoc", " * Selector/Modifier Returns initial pave block of the curve + /****************** TangentialTolerance ******************/ + %feature("compactdefaultargs") TangentialTolerance; + %feature("autodoc", "* Returns the tangential tolerance of the curve + :rtype: float") TangentialTolerance; + Standard_Real TangentialTolerance (); - :rtype: Handle_BOPDS_PaveBlock -") ChangePaveBlock1; - Handle_BOPDS_PaveBlock ChangePaveBlock1 (); + /****************** TechnoVertices ******************/ %feature("compactdefaultargs") TechnoVertices; - %feature("autodoc", " * Selector Returns list of indices of technologic vertices of the curve - - :rtype: BOPCol_ListOfInteger -") TechnoVertices; - const BOPCol_ListOfInteger & TechnoVertices (); - %feature("compactdefaultargs") ChangeTechnoVertices; - %feature("autodoc", " * Selector/Modifier Returns list of indices of technologic vertices of the curve + %feature("autodoc", "* Selector Returns list of indices of technologic vertices of the curve + :rtype: TColStd_ListOfInteger") TechnoVertices; + const TColStd_ListOfInteger & TechnoVertices (); - :rtype: BOPCol_ListOfInteger -") ChangeTechnoVertices; - BOPCol_ListOfInteger & ChangeTechnoVertices (); - %feature("compactdefaultargs") HasEdge; - %feature("autodoc", " * Query Returns true if at least one pave block of the curve has edge + /****************** Tolerance ******************/ + %feature("compactdefaultargs") Tolerance; + %feature("autodoc", "* Returns the tolerance of the curve + :rtype: float") Tolerance; + Standard_Real Tolerance (); - :rtype: bool -") HasEdge; - Standard_Boolean HasEdge (); }; @@ -448,573 +637,620 @@ class BOPDS_Curve { __repr__ = _dumps_object } }; + +/***************** +* class BOPDS_DS * +*****************/ %nodefaultctor BOPDS_DS; class BOPDS_DS { public: - %feature("compactdefaultargs") BOPDS_DS; - %feature("autodoc", " * Empty contructor - - :rtype: None -") BOPDS_DS; - BOPDS_DS (); - %feature("compactdefaultargs") BOPDS_DS; - %feature("autodoc", " * Contructor theAllocator - the allocator to manage the memory + /****************** AddInterf ******************/ + %feature("compactdefaultargs") AddInterf; + %feature("autodoc", "* Modifier Adds the information about an interference between shapes with indices theI1, theI2 to the summary table of interferences + :param theI1: + :type theI1: int + :param theI2: + :type theI2: int + :rtype: bool") AddInterf; + Standard_Boolean AddInterf (const Standard_Integer theI1,const Standard_Integer theI2); - :param theAllocator: - :type theAllocator: BOPCol_BaseAllocator & - :rtype: None -") BOPDS_DS; - BOPDS_DS (const BOPCol_BaseAllocator & theAllocator); - %feature("compactdefaultargs") Clear; - %feature("autodoc", " * Clears the contents + /****************** AddShapeSD ******************/ + %feature("compactdefaultargs") AddShapeSD; + %feature("autodoc", "* Modifier Adds the information about same domain shapes with indices theIndex, theIndexSD + :param theIndex: + :type theIndex: int + :param theIndexSD: + :type theIndexSD: int + :rtype: None") AddShapeSD; + void AddShapeSD (const Standard_Integer theIndex,const Standard_Integer theIndexSD); - :rtype: None -") Clear; - void Clear (); + /****************** Allocator ******************/ %feature("compactdefaultargs") Allocator; - %feature("autodoc", " * Selector - - :rtype: BOPCol_BaseAllocator -") Allocator; - const BOPCol_BaseAllocator & Allocator (); - %feature("compactdefaultargs") SetArguments; - %feature("autodoc", " * Modifier Sets the arguments [theLS] of an operation + %feature("autodoc", "* Selector + :rtype: opencascade::handle") Allocator; + const opencascade::handle & Allocator (); - :param theLS: - :type theLS: BOPCol_ListOfShape & - :rtype: None -") SetArguments; - void SetArguments (const BOPCol_ListOfShape & theLS); - %feature("compactdefaultargs") Arguments; - %feature("autodoc", " * Selector Returns the arguments of an operation + /****************** AloneVertices ******************/ + %feature("compactdefaultargs") AloneVertices; + %feature("autodoc", "* Selector Returns the indices of alone vertices for the face with index theIndex + :param theF: + :type theF: int + :param theLI: + :type theLI: TColStd_ListOfInteger & + :rtype: None") AloneVertices; + void AloneVertices (const Standard_Integer theF,TColStd_ListOfInteger & theLI); - :rtype: BOPCol_ListOfShape -") Arguments; - const BOPCol_ListOfShape & Arguments (); - %feature("compactdefaultargs") Init; - %feature("autodoc", " * Initializes the data structure for the arguments + /****************** Append ******************/ + %feature("compactdefaultargs") Append; + %feature("autodoc", "* Modifier Appends the information about the shape [theSI] to the data structure Returns the index of theSI in the data structure + :param theSI: + :type theSI: BOPDS_ShapeInfo & + :rtype: int") Append; + Standard_Integer Append (const BOPDS_ShapeInfo & theSI); - :rtype: None -") Init; - void Init (); - %feature("compactdefaultargs") NbShapes; - %feature("autodoc", " * Selector Returns the total number of shapes stored + /****************** Append ******************/ + %feature("compactdefaultargs") Append; + %feature("autodoc", "* Modifier Appends the default information about the shape [theS] to the data structure Returns the index of theS in the data structure + :param theS: + :type theS: TopoDS_Shape & + :rtype: int") Append; + Standard_Integer Append (const TopoDS_Shape & theS); - :rtype: int -") NbShapes; - Standard_Integer NbShapes (); - %feature("compactdefaultargs") NbSourceShapes; - %feature("autodoc", " * Selector Returns the total number of source shapes stored + /****************** Arguments ******************/ + %feature("compactdefaultargs") Arguments; + %feature("autodoc", "* Selector Returns the arguments of an operation + :rtype: TopTools_ListOfShape") Arguments; + const TopTools_ListOfShape & Arguments (); - :rtype: int -") NbSourceShapes; - Standard_Integer NbSourceShapes (); - %feature("compactdefaultargs") NbRanges; - %feature("autodoc", " * Selector Returns the number of index ranges + /****************** BOPDS_DS ******************/ + %feature("compactdefaultargs") BOPDS_DS; + %feature("autodoc", "* Empty contructor + :rtype: None") BOPDS_DS; + BOPDS_DS (); - :rtype: int -") NbRanges; - Standard_Integer NbRanges (); - %feature("compactdefaultargs") Range; - %feature("autodoc", " * Selector Returns the index range 'i' + /****************** BOPDS_DS ******************/ + %feature("compactdefaultargs") BOPDS_DS; + %feature("autodoc", "* Contructor theAllocator - the allocator to manage the memory + :param theAllocator: + :type theAllocator: opencascade::handle & + :rtype: None") BOPDS_DS; + BOPDS_DS (const opencascade::handle & theAllocator); + /****************** BuildBndBoxSolid ******************/ + %feature("compactdefaultargs") BuildBndBoxSolid; + %feature("autodoc", "* Computes bounding box for the solid with DS-index . The flag enables/disables the check of the solid for inverted status. By default the solids will be checked. :param theIndex: :type theIndex: int - :rtype: BOPDS_IndexRange -") Range; - const BOPDS_IndexRange & Range (const Standard_Integer theIndex); - %feature("compactdefaultargs") Rank; - %feature("autodoc", " * Selector Returns the rank of the shape of index 'i' - - :param theIndex: - :type theIndex: int - :rtype: int -") Rank; - Standard_Integer Rank (const Standard_Integer theIndex); - %feature("compactdefaultargs") IsNewShape; - %feature("autodoc", " * Returns true if the shape of index 'i' is not the source shape/sub-shape - - :param theIndex: - :type theIndex: int - :rtype: bool -") IsNewShape; - Standard_Boolean IsNewShape (const Standard_Integer theIndex); - %feature("compactdefaultargs") Append; - %feature("autodoc", " * Modifier Appends the information about the shape [theSI] to the data structure Returns the index of theSI in the data structure - - :param theSI: - :type theSI: BOPDS_ShapeInfo & - :rtype: int -") Append; - Standard_Integer Append (const BOPDS_ShapeInfo & theSI); - %feature("compactdefaultargs") Append; - %feature("autodoc", " * Modifier Appends the default information about the shape [theS] to the data structure Returns the index of theS in the data structure - - :param theS: - :type theS: TopoDS_Shape & - :rtype: int -") Append; - Standard_Integer Append (const TopoDS_Shape & theS); - %feature("compactdefaultargs") ShapeInfo; - %feature("autodoc", " * Selector Returns the information about the shape with index theIndex - - :param theIndex: - :type theIndex: int - :rtype: BOPDS_ShapeInfo -") ShapeInfo; - const BOPDS_ShapeInfo & ShapeInfo (const Standard_Integer theIndex); - %feature("compactdefaultargs") ChangeShapeInfo; - %feature("autodoc", " * Selector/Modifier Returns the information about the shape with index theIndex + :param theBox: + :type theBox: Bnd_Box & + :param theCheckInverted: default value is Standard_True + :type theCheckInverted: bool + :rtype: None") BuildBndBoxSolid; + void BuildBndBoxSolid (const Standard_Integer theIndex,Bnd_Box & theBox,const Standard_Boolean theCheckInverted = Standard_True); + /****************** ChangeFaceInfo ******************/ + %feature("compactdefaultargs") ChangeFaceInfo; + %feature("autodoc", "* Selector/Modifier Returns the state of face with index theIndex :param theIndex: :type theIndex: int - :rtype: BOPDS_ShapeInfo -") ChangeShapeInfo; - BOPDS_ShapeInfo & ChangeShapeInfo (const Standard_Integer theIndex); - %feature("compactdefaultargs") Shape; - %feature("autodoc", " * Selector Returns the shape with index theIndex + :rtype: BOPDS_FaceInfo") ChangeFaceInfo; + BOPDS_FaceInfo & ChangeFaceInfo (const Standard_Integer theIndex); + /****************** ChangePaveBlocks ******************/ + %feature("compactdefaultargs") ChangePaveBlocks; + %feature("autodoc", "* Selector/Modifier Returns the pave blocks for the shape with index theIndex :param theIndex: :type theIndex: int - :rtype: TopoDS_Shape -") Shape; - const TopoDS_Shape Shape (const Standard_Integer theIndex); - %feature("compactdefaultargs") Index; - %feature("autodoc", " * Selector Returns the index of the shape theS - - :param theS: - :type theS: TopoDS_Shape & - :rtype: int -") Index; - Standard_Integer Index (const TopoDS_Shape & theS); - %feature("compactdefaultargs") PaveBlocksPool; - %feature("autodoc", " * Selector Returns the information about pave blocks on source edges + :rtype: BOPDS_ListOfPaveBlock") ChangePaveBlocks; + BOPDS_ListOfPaveBlock & ChangePaveBlocks (const Standard_Integer theIndex); - :rtype: BOPDS_VectorOfListOfPaveBlock -") PaveBlocksPool; - const BOPDS_VectorOfListOfPaveBlock & PaveBlocksPool (); + /****************** ChangePaveBlocksPool ******************/ %feature("compactdefaultargs") ChangePaveBlocksPool; - %feature("autodoc", " * Selector/Modifier Returns the information about pave blocks on source edges - - :rtype: BOPDS_VectorOfListOfPaveBlock -") ChangePaveBlocksPool; + %feature("autodoc", "* Selector/Modifier Returns the information about pave blocks on source edges + :rtype: BOPDS_VectorOfListOfPaveBlock") ChangePaveBlocksPool; BOPDS_VectorOfListOfPaveBlock & ChangePaveBlocksPool (); - %feature("compactdefaultargs") HasPaveBlocks; - %feature("autodoc", " * Query Returns true if the shape with index theIndex has the information about pave blocks - - :param theIndex: - :type theIndex: int - :rtype: bool -") HasPaveBlocks; - Standard_Boolean HasPaveBlocks (const Standard_Integer theIndex); - %feature("compactdefaultargs") PaveBlocks; - %feature("autodoc", " * Selector Returns the pave blocks for the shape with index theIndex - - :param theIndex: - :type theIndex: int - :rtype: BOPDS_ListOfPaveBlock -") PaveBlocks; - const BOPDS_ListOfPaveBlock & PaveBlocks (const Standard_Integer theIndex); - %feature("compactdefaultargs") ChangePaveBlocks; - %feature("autodoc", " * Selector/Modifier Returns the pave blocks for the shape with index theIndex + /****************** ChangeShapeInfo ******************/ + %feature("compactdefaultargs") ChangeShapeInfo; + %feature("autodoc", "* Selector/Modifier Returns the information about the shape with index theIndex :param theIndex: :type theIndex: int - :rtype: BOPDS_ListOfPaveBlock -") ChangePaveBlocks; - BOPDS_ListOfPaveBlock & ChangePaveBlocks (const Standard_Integer theIndex); - %feature("compactdefaultargs") UpdatePaveBlocks; - %feature("autodoc", " * Update the pave blocks for the all shapes in data structure - - :rtype: None -") UpdatePaveBlocks; - void UpdatePaveBlocks (); - %feature("compactdefaultargs") UpdatePaveBlock; - %feature("autodoc", " * Update the pave block thePB - - :param thePB: - :type thePB: Handle_BOPDS_PaveBlock & - :rtype: None -") UpdatePaveBlock; - void UpdatePaveBlock (const Handle_BOPDS_PaveBlock & thePB); - %feature("compactdefaultargs") UpdateCommonBlock; - %feature("autodoc", " * Update the common block theCB + :rtype: BOPDS_ShapeInfo") ChangeShapeInfo; + BOPDS_ShapeInfo & ChangeShapeInfo (const Standard_Integer theIndex); - :param theCB: - :type theCB: Handle_BOPDS_CommonBlock & - :rtype: None -") UpdateCommonBlock; - void UpdateCommonBlock (const Handle_BOPDS_CommonBlock & theCB); - %feature("compactdefaultargs") IsCommonBlock; - %feature("autodoc", " * Query Returns true if the pave block is common block + /****************** Clear ******************/ + %feature("compactdefaultargs") Clear; + %feature("autodoc", "* Clears the contents + :rtype: None") Clear; + void Clear (); - :param thePB: - :type thePB: Handle_BOPDS_PaveBlock & - :rtype: bool -") IsCommonBlock; - Standard_Boolean IsCommonBlock (const Handle_BOPDS_PaveBlock & thePB); + /****************** CommonBlock ******************/ %feature("compactdefaultargs") CommonBlock; - %feature("autodoc", " * Selector Returns the common block - - :param thePB: - :type thePB: Handle_BOPDS_PaveBlock & - :rtype: Handle_BOPDS_CommonBlock -") CommonBlock; - Handle_BOPDS_CommonBlock CommonBlock (const Handle_BOPDS_PaveBlock & thePB); - %feature("compactdefaultargs") SetCommonBlock; - %feature("autodoc", " * Modifier Sets the common block - - :param thePB: - :type thePB: Handle_BOPDS_PaveBlock & - :param theCB: - :type theCB: Handle_BOPDS_CommonBlock & - :rtype: None -") SetCommonBlock; - void SetCommonBlock (const Handle_BOPDS_PaveBlock & thePB,const Handle_BOPDS_CommonBlock & theCB); - %feature("compactdefaultargs") RealPaveBlock; - %feature("autodoc", " * Selector Returns the real first pave block - + %feature("autodoc", "* Selector Returns the common block :param thePB: - :type thePB: Handle_BOPDS_PaveBlock & - :rtype: Handle_BOPDS_PaveBlock -") RealPaveBlock; - Handle_BOPDS_PaveBlock RealPaveBlock (const Handle_BOPDS_PaveBlock & thePB); - %feature("compactdefaultargs") IsCommonBlockOnEdge; - %feature("autodoc", " * Query Returns true if common block contains more then one pave block - - :param thePB: - :type thePB: Handle_BOPDS_PaveBlock & - :rtype: bool -") IsCommonBlockOnEdge; - Standard_Boolean IsCommonBlockOnEdge (const Handle_BOPDS_PaveBlock & thePB); - %feature("compactdefaultargs") FaceInfoPool; - %feature("autodoc", " * Selector Returns the information about state of faces + :type thePB: opencascade::handle & + :rtype: opencascade::handle") CommonBlock; + opencascade::handle CommonBlock (const opencascade::handle & thePB); - :rtype: BOPDS_VectorOfFaceInfo -") FaceInfoPool; - const BOPDS_VectorOfFaceInfo & FaceInfoPool (); - %feature("compactdefaultargs") HasFaceInfo; - %feature("autodoc", " * Query Returns true if the shape with index theIndex has the information about state of face + /****************** Dump ******************/ + %feature("compactdefaultargs") Dump; + %feature("autodoc", ":rtype: None") Dump; + void Dump (); - :param theIndex: - :type theIndex: int - :rtype: bool -") HasFaceInfo; - Standard_Boolean HasFaceInfo (const Standard_Integer theIndex); + /****************** FaceInfo ******************/ %feature("compactdefaultargs") FaceInfo; - %feature("autodoc", " * Selector Returns the state of face with index theIndex - + %feature("autodoc", "* Selector Returns the state of face with index theIndex :param theIndex: :type theIndex: int - :rtype: BOPDS_FaceInfo -") FaceInfo; + :rtype: BOPDS_FaceInfo") FaceInfo; const BOPDS_FaceInfo & FaceInfo (const Standard_Integer theIndex); - %feature("compactdefaultargs") ChangeFaceInfo; - %feature("autodoc", " * Selector/Modifier Returns the state of face with index theIndex - - :param theIndex: - :type theIndex: int - :rtype: BOPDS_FaceInfo -") ChangeFaceInfo; - BOPDS_FaceInfo & ChangeFaceInfo (const Standard_Integer theIndex); - %feature("compactdefaultargs") UpdateFaceInfoIn; - %feature("autodoc", " * Update the state In of face with index theIndex - - :param theIndex: - :type theIndex: int - :rtype: None -") UpdateFaceInfoIn; - void UpdateFaceInfoIn (const Standard_Integer theIndex); - %feature("compactdefaultargs") UpdateFaceInfoOn; - %feature("autodoc", " * Update the state On of face with index theIndex - - :param theIndex: - :type theIndex: int - :rtype: None -") UpdateFaceInfoOn; - void UpdateFaceInfoOn (const Standard_Integer theIndex); - %feature("compactdefaultargs") FaceInfoOn; - %feature("autodoc", " * Selector Returns the state On [theMPB,theMVP] of face with index theIndex + /****************** FaceInfoIn ******************/ + %feature("compactdefaultargs") FaceInfoIn; + %feature("autodoc", "* Selector Returns the state In [theMPB,theMVP] of face with index theIndex :param theIndex: :type theIndex: int :param theMPB: :type theMPB: BOPDS_IndexedMapOfPaveBlock & :param theMVP: - :type theMVP: BOPCol_MapOfInteger & - :rtype: None -") FaceInfoOn; - void FaceInfoOn (const Standard_Integer theIndex,BOPDS_IndexedMapOfPaveBlock & theMPB,BOPCol_MapOfInteger & theMVP); - %feature("compactdefaultargs") FaceInfoIn; - %feature("autodoc", " * Selector Returns the state In [theMPB,theMVP] of face with index theIndex + :type theMVP: TColStd_MapOfInteger & + :rtype: None") FaceInfoIn; + void FaceInfoIn (const Standard_Integer theIndex,BOPDS_IndexedMapOfPaveBlock & theMPB,TColStd_MapOfInteger & theMVP); + /****************** FaceInfoOn ******************/ + %feature("compactdefaultargs") FaceInfoOn; + %feature("autodoc", "* Selector Returns the state On [theMPB,theMVP] of face with index theIndex :param theIndex: :type theIndex: int :param theMPB: :type theMPB: BOPDS_IndexedMapOfPaveBlock & :param theMVP: - :type theMVP: BOPCol_MapOfInteger & - :rtype: None -") FaceInfoIn; - void FaceInfoIn (const Standard_Integer theIndex,BOPDS_IndexedMapOfPaveBlock & theMPB,BOPCol_MapOfInteger & theMVP); - %feature("compactdefaultargs") AloneVertices; - %feature("autodoc", " * Selector Returns the indices of alone vertices for the face with index theIndex + :type theMVP: TColStd_MapOfInteger & + :rtype: None") FaceInfoOn; + void FaceInfoOn (const Standard_Integer theIndex,BOPDS_IndexedMapOfPaveBlock & theMPB,TColStd_MapOfInteger & theMVP); - :param theF: - :type theF: int - :param theLI: - :type theLI: BOPCol_ListOfInteger & - :rtype: None -") AloneVertices; - void AloneVertices (const Standard_Integer theF,BOPCol_ListOfInteger & theLI); - %feature("compactdefaultargs") RefineFaceInfoOn; - %feature("autodoc", " * Refine the state On for the all faces having state information //! ++ + /****************** FaceInfoPool ******************/ + %feature("compactdefaultargs") FaceInfoPool; + %feature("autodoc", "* Selector Returns the information about state of faces + :rtype: BOPDS_VectorOfFaceInfo") FaceInfoPool; + const BOPDS_VectorOfFaceInfo & FaceInfoPool (); - :rtype: None -") RefineFaceInfoOn; - void RefineFaceInfoOn (); - %feature("compactdefaultargs") VerticesOnIn; - %feature("autodoc", " * Returns the indices of vertices and pave blocks that are On/In for the faces with indices theF1, theF2 + /****************** HasFaceInfo ******************/ + %feature("compactdefaultargs") HasFaceInfo; + %feature("autodoc", "* Query Returns true if the shape with index theIndex has the information about state of face + :param theIndex: + :type theIndex: int + :rtype: bool") HasFaceInfo; + Standard_Boolean HasFaceInfo (const Standard_Integer theIndex); - :param theF1: - :type theF1: int - :param theF2: - :type theF2: int - :param theMI: - :type theMI: BOPCol_MapOfInteger & - :param aMPB: - :type aMPB: BOPDS_IndexedMapOfPaveBlock & - :rtype: None -") VerticesOnIn; - void VerticesOnIn (const Standard_Integer theF1,const Standard_Integer theF2,BOPCol_MapOfInteger & theMI,BOPDS_IndexedMapOfPaveBlock & aMPB); - %feature("compactdefaultargs") SharedEdges; - %feature("autodoc", " * Returns the indices of edges that are shared for the faces with indices theF1, theF2 //! same domain shapes + /****************** HasInterf ******************/ + %feature("compactdefaultargs") HasInterf; + %feature("autodoc", "* Query Returns true if the shape with index theI is interferred + :param theI: + :type theI: int + :rtype: bool") HasInterf; + Standard_Boolean HasInterf (const Standard_Integer theI); - :param theF1: - :type theF1: int - :param theF2: - :type theF2: int - :param theLI: - :type theLI: BOPCol_ListOfInteger & - :param theAllocator: - :type theAllocator: BOPCol_BaseAllocator & - :rtype: None -") SharedEdges; - void SharedEdges (const Standard_Integer theF1,const Standard_Integer theF2,BOPCol_ListOfInteger & theLI,const BOPCol_BaseAllocator & theAllocator); - %feature("compactdefaultargs") ShapesSD; - %feature("autodoc", " * Selector Returns the collection same domain shapes + /****************** HasInterf ******************/ + %feature("compactdefaultargs") HasInterf; + %feature("autodoc", "* Query Returns true if the shapes with indices theI1, theI2 are interferred + :param theI1: + :type theI1: int + :param theI2: + :type theI2: int + :rtype: bool") HasInterf; + Standard_Boolean HasInterf (const Standard_Integer theI1,const Standard_Integer theI2); - :rtype: BOPCol_DataMapOfIntegerInteger -") ShapesSD; - BOPCol_DataMapOfIntegerInteger & ShapesSD (); - %feature("compactdefaultargs") AddShapeSD; - %feature("autodoc", " * Modifier Adds the information about same domain shapes with indices theIndex, theIndexSD + /****************** HasInterfShapeSubShapes ******************/ + %feature("compactdefaultargs") HasInterfShapeSubShapes; + %feature("autodoc", "* Query Returns true if the shape with index theI1 is interfered with any sub-shape of the shape with index theI2 (theFlag=true) all sub-shapes of the shape with index theI2 (theFlag=false) + :param theI1: + :type theI1: int + :param theI2: + :type theI2: int + :param theFlag: default value is Standard_True + :type theFlag: bool + :rtype: bool") HasInterfShapeSubShapes; + Standard_Boolean HasInterfShapeSubShapes (const Standard_Integer theI1,const Standard_Integer theI2,const Standard_Boolean theFlag = Standard_True); + + /****************** HasInterfSubShapes ******************/ + %feature("compactdefaultargs") HasInterfSubShapes; + %feature("autodoc", "* Query Returns true if the shapes with indices theI1, theI2 have interferred sub-shapes + :param theI1: + :type theI1: int + :param theI2: + :type theI2: int + :rtype: bool") HasInterfSubShapes; + Standard_Boolean HasInterfSubShapes (const Standard_Integer theI1,const Standard_Integer theI2); + /****************** HasPaveBlocks ******************/ + %feature("compactdefaultargs") HasPaveBlocks; + %feature("autodoc", "* Query Returns true if the shape with index theIndex has the information about pave blocks :param theIndex: :type theIndex: int - :param theIndexSD: - :type theIndexSD: int - :rtype: None -") AddShapeSD; - void AddShapeSD (const Standard_Integer theIndex,const Standard_Integer theIndexSD); - %feature("compactdefaultargs") HasShapeSD; - %feature("autodoc", " * Query Returns true if the shape with index theIndex has the same domain shape. In this case theIndexSD will contain the index of same domain shape found //! interferences + :rtype: bool") HasPaveBlocks; + Standard_Boolean HasPaveBlocks (const Standard_Integer theIndex); + /****************** HasShapeSD ******************/ + %feature("compactdefaultargs") HasShapeSD; + %feature("autodoc", "* Query Returns true if the shape with index theIndex has the same domain shape. In this case theIndexSD will contain the index of same domain shape found //! interferences :param theIndex: :type theIndex: int :param theIndexSD: :type theIndexSD: int & - :rtype: bool -") HasShapeSD; + :rtype: bool") HasShapeSD; Standard_Boolean HasShapeSD (const Standard_Integer theIndex,Standard_Integer &OutValue); - %feature("compactdefaultargs") InterfVV; - %feature("autodoc", " * Selector/Modifier Returns the collection of interferences Vertex/Vertex - :rtype: BOPDS_VectorOfInterfVV -") InterfVV; - BOPDS_VectorOfInterfVV & InterfVV (); - %feature("compactdefaultargs") InterfVE; - %feature("autodoc", " * Selector/Modifier Returns the collection of interferences Vertex/Edge + /****************** Index ******************/ + %feature("compactdefaultargs") Index; + %feature("autodoc", "* Selector Returns the index of the shape theS + :param theS: + :type theS: TopoDS_Shape & + :rtype: int") Index; + Standard_Integer Index (const TopoDS_Shape & theS); - :rtype: BOPDS_VectorOfInterfVE -") InterfVE; - BOPDS_VectorOfInterfVE & InterfVE (); - %feature("compactdefaultargs") InterfVF; - %feature("autodoc", " * Selector/Modifier Returns the collection of interferences Vertex/Face + /****************** Init ******************/ + %feature("compactdefaultargs") Init; + %feature("autodoc", "* Initializes the data structure for the arguments + :param theFuzz: default value is Precision::Confusion() + :type theFuzz: float + :rtype: None") Init; + void Init (const Standard_Real theFuzz = Precision::Confusion()); - :rtype: BOPDS_VectorOfInterfVF -") InterfVF; - BOPDS_VectorOfInterfVF & InterfVF (); - %feature("compactdefaultargs") InterfEE; - %feature("autodoc", " * Selector/Modifier Returns the collection of interferences Edge/Edge + /****************** InitPaveBlocksForVertex ******************/ + %feature("compactdefaultargs") InitPaveBlocksForVertex; + %feature("autodoc", ":param theNV: + :type theNV: int + :rtype: None") InitPaveBlocksForVertex; + void InitPaveBlocksForVertex (const Standard_Integer theNV); - :rtype: BOPDS_VectorOfInterfEE -") InterfEE; + /****************** InterfEE ******************/ + %feature("compactdefaultargs") InterfEE; + %feature("autodoc", "* Selector/Modifier Returns the collection of interferences Edge/Edge + :rtype: BOPDS_VectorOfInterfEE") InterfEE; BOPDS_VectorOfInterfEE & InterfEE (); - %feature("compactdefaultargs") InterfEF; - %feature("autodoc", " * Selector/Modifier Returns the collection of interferences Edge/Face - :rtype: BOPDS_VectorOfInterfEF -") InterfEF; + /****************** InterfEF ******************/ + %feature("compactdefaultargs") InterfEF; + %feature("autodoc", "* Selector/Modifier Returns the collection of interferences Edge/Face + :rtype: BOPDS_VectorOfInterfEF") InterfEF; BOPDS_VectorOfInterfEF & InterfEF (); - %feature("compactdefaultargs") InterfFF; - %feature("autodoc", " * Selector/Modifier Returns the collection of interferences Face/Face - :rtype: BOPDS_VectorOfInterfFF -") InterfFF; - BOPDS_VectorOfInterfFF & InterfFF (); - %feature("compactdefaultargs") InterfVZ; - %feature("autodoc", " * Selector/Modifier Returns the collection of interferences Vertex/Solid - - :rtype: BOPDS_VectorOfInterfVZ -") InterfVZ; - BOPDS_VectorOfInterfVZ & InterfVZ (); + /****************** InterfEZ ******************/ %feature("compactdefaultargs") InterfEZ; - %feature("autodoc", " * Selector/Modifier Returns the collection of interferences Edge/Solid - - :rtype: BOPDS_VectorOfInterfEZ -") InterfEZ; + %feature("autodoc", "* Selector/Modifier Returns the collection of interferences Edge/Solid + :rtype: BOPDS_VectorOfInterfEZ") InterfEZ; BOPDS_VectorOfInterfEZ & InterfEZ (); - %feature("compactdefaultargs") InterfFZ; - %feature("autodoc", " * Selector/Modifier Returns the collection of interferences Face/Solid - :rtype: BOPDS_VectorOfInterfFZ -") InterfFZ; + /****************** InterfFF ******************/ + %feature("compactdefaultargs") InterfFF; + %feature("autodoc", "* Selector/Modifier Returns the collection of interferences Face/Face + :rtype: BOPDS_VectorOfInterfFF") InterfFF; + BOPDS_VectorOfInterfFF & InterfFF (); + + /****************** InterfFZ ******************/ + %feature("compactdefaultargs") InterfFZ; + %feature("autodoc", "* Selector/Modifier Returns the collection of interferences Face/Solid + :rtype: BOPDS_VectorOfInterfFZ") InterfFZ; BOPDS_VectorOfInterfFZ & InterfFZ (); - %feature("compactdefaultargs") InterfZZ; - %feature("autodoc", " * Selector/Modifier Returns the collection of interferences Solid/Solid - :rtype: BOPDS_VectorOfInterfZZ -") InterfZZ; + /****************** InterfVE ******************/ + %feature("compactdefaultargs") InterfVE; + %feature("autodoc", "* Selector/Modifier Returns the collection of interferences Vertex/Edge + :rtype: BOPDS_VectorOfInterfVE") InterfVE; + BOPDS_VectorOfInterfVE & InterfVE (); + + /****************** InterfVF ******************/ + %feature("compactdefaultargs") InterfVF; + %feature("autodoc", "* Selector/Modifier Returns the collection of interferences Vertex/Face + :rtype: BOPDS_VectorOfInterfVF") InterfVF; + BOPDS_VectorOfInterfVF & InterfVF (); + + /****************** InterfVV ******************/ + %feature("compactdefaultargs") InterfVV; + %feature("autodoc", "* Selector/Modifier Returns the collection of interferences Vertex/Vertex + :rtype: BOPDS_VectorOfInterfVV") InterfVV; + BOPDS_VectorOfInterfVV & InterfVV (); + + /****************** InterfVZ ******************/ + %feature("compactdefaultargs") InterfVZ; + %feature("autodoc", "* Selector/Modifier Returns the collection of interferences Vertex/Solid + :rtype: BOPDS_VectorOfInterfVZ") InterfVZ; + BOPDS_VectorOfInterfVZ & InterfVZ (); + + /****************** InterfZZ ******************/ + %feature("compactdefaultargs") InterfZZ; + %feature("autodoc", "* Selector/Modifier Returns the collection of interferences Solid/Solid + :rtype: BOPDS_VectorOfInterfZZ") InterfZZ; BOPDS_VectorOfInterfZZ & InterfZZ (); - %feature("compactdefaultargs") NbInterfTypes; - %feature("autodoc", " * Returns the number of types of the interferences - :rtype: int -") NbInterfTypes; - static Standard_Integer NbInterfTypes (); - %feature("compactdefaultargs") AddInterf; - %feature("autodoc", " * Modifier Adds the information about an interference between shapes with indices theI1, theI2 to the summary table of interferences + /****************** Interferences ******************/ + %feature("compactdefaultargs") Interferences; + %feature("autodoc", "* Selector Returns the table of interferences //! debug + :rtype: BOPDS_MapOfPair") Interferences; + const BOPDS_MapOfPair & Interferences (); - :param theI1: - :type theI1: int - :param theI2: - :type theI2: int - :rtype: None -") AddInterf; - void AddInterf (const Standard_Integer theI1,const Standard_Integer theI2); - %feature("compactdefaultargs") HasInterf; - %feature("autodoc", " * Query Returns true if the shape with index theI is interferred + /****************** IsCommonBlock ******************/ + %feature("compactdefaultargs") IsCommonBlock; + %feature("autodoc", "* Query Returns true if the pave block is common block + :param thePB: + :type thePB: opencascade::handle & + :rtype: bool") IsCommonBlock; + Standard_Boolean IsCommonBlock (const opencascade::handle & thePB); - :param theI: - :type theI: int - :rtype: bool -") HasInterf; - Standard_Boolean HasInterf (const Standard_Integer theI); - %feature("compactdefaultargs") HasInterf; - %feature("autodoc", " * Query Returns true if the shapes with indices theI1, theI2 are interferred + /****************** IsCommonBlockOnEdge ******************/ + %feature("compactdefaultargs") IsCommonBlockOnEdge; + %feature("autodoc", "* Query Returns true if common block contains more then one pave block + :param thePB: + :type thePB: opencascade::handle & + :rtype: bool") IsCommonBlockOnEdge; + Standard_Boolean IsCommonBlockOnEdge (const opencascade::handle & thePB); - :param theI1: - :type theI1: int - :param theI2: - :type theI2: int - :rtype: bool -") HasInterf; - Standard_Boolean HasInterf (const Standard_Integer theI1,const Standard_Integer theI2); - %feature("compactdefaultargs") HasInterfShapeSubShapes; - %feature("autodoc", " * Query Returns true if the shape with index theI1 is interfered with any sub-shape of the shape with index theI2 (theFlag=true) all sub-shapes of the shape with index theI2 (theFlag=false) + /****************** IsNewShape ******************/ + %feature("compactdefaultargs") IsNewShape; + %feature("autodoc", "* Returns true if the shape of index 'i' is not the source shape/sub-shape + :param theIndex: + :type theIndex: int + :rtype: bool") IsNewShape; + Standard_Boolean IsNewShape (const Standard_Integer theIndex); - :param theI1: + /****************** IsSubShape ******************/ + %feature("compactdefaultargs") IsSubShape; + %feature("autodoc", ":param theI1: :type theI1: int :param theI2: :type theI2: int - :param theFlag: default value is Standard_True - :type theFlag: bool - :rtype: bool -") HasInterfShapeSubShapes; - Standard_Boolean HasInterfShapeSubShapes (const Standard_Integer theI1,const Standard_Integer theI2,const Standard_Boolean theFlag = Standard_True); - %feature("compactdefaultargs") HasInterfSubShapes; - %feature("autodoc", " * Query Returns true if the shapes with indices theI1, theI2 have interferred sub-shapes + :rtype: bool") IsSubShape; + Standard_Boolean IsSubShape (const Standard_Integer theI1,const Standard_Integer theI2); - :param theI1: - :type theI1: int - :param theI2: - :type theI2: int - :rtype: bool -") HasInterfSubShapes; - Standard_Boolean HasInterfSubShapes (const Standard_Integer theI1,const Standard_Integer theI2); - %feature("compactdefaultargs") Interferences; - %feature("autodoc", " * Selector Returns the table of interferences //! debug + /****************** IsValidShrunkData ******************/ + %feature("compactdefaultargs") IsValidShrunkData; + %feature("autodoc", "* Checks if the existing shrunk data of the pave block is still valid. The shrunk data may become invalid if e.g. the vertices of the pave block have been replaced with the new one with bigger tolerances, or the tolerances of the existing vertices have been increased. + :param thePB: + :type thePB: opencascade::handle & + :rtype: bool") IsValidShrunkData; + Standard_Boolean IsValidShrunkData (const opencascade::handle & thePB); + + /****************** NbInterfTypes ******************/ + %feature("compactdefaultargs") NbInterfTypes; + %feature("autodoc", "* Returns the number of types of the interferences + :rtype: int") NbInterfTypes; + static Standard_Integer NbInterfTypes (); + + /****************** NbRanges ******************/ + %feature("compactdefaultargs") NbRanges; + %feature("autodoc", "* Selector Returns the number of index ranges + :rtype: int") NbRanges; + Standard_Integer NbRanges (); + + /****************** NbShapes ******************/ + %feature("compactdefaultargs") NbShapes; + %feature("autodoc", "* Selector Returns the total number of shapes stored + :rtype: int") NbShapes; + Standard_Integer NbShapes (); + + /****************** NbSourceShapes ******************/ + %feature("compactdefaultargs") NbSourceShapes; + %feature("autodoc", "* Selector Returns the total number of source shapes stored + :rtype: int") NbSourceShapes; + Standard_Integer NbSourceShapes (); + + /****************** PaveBlocks ******************/ + %feature("compactdefaultargs") PaveBlocks; + %feature("autodoc", "* Selector Returns the pave blocks for the shape with index theIndex + :param theIndex: + :type theIndex: int + :rtype: BOPDS_ListOfPaveBlock") PaveBlocks; + const BOPDS_ListOfPaveBlock & PaveBlocks (const Standard_Integer theIndex); + + /****************** PaveBlocksPool ******************/ + %feature("compactdefaultargs") PaveBlocksPool; + %feature("autodoc", "* Selector Returns the information about pave blocks on source edges + :rtype: BOPDS_VectorOfListOfPaveBlock") PaveBlocksPool; + const BOPDS_VectorOfListOfPaveBlock & PaveBlocksPool (); + + /****************** Paves ******************/ + %feature("compactdefaultargs") Paves; + %feature("autodoc", "* Fills theLP with sorted paves of the shape with index theIndex + :param theIndex: + :type theIndex: int + :param theLP: + :type theLP: BOPDS_ListOfPave & + :rtype: None") Paves; + void Paves (const Standard_Integer theIndex,BOPDS_ListOfPave & theLP); + + /****************** Range ******************/ + %feature("compactdefaultargs") Range; + %feature("autodoc", "* Selector Returns the index range 'i' + :param theIndex: + :type theIndex: int + :rtype: BOPDS_IndexRange") Range; + const BOPDS_IndexRange & Range (const Standard_Integer theIndex); + + /****************** Rank ******************/ + %feature("compactdefaultargs") Rank; + %feature("autodoc", "* Selector Returns the rank of the shape of index 'i' + :param theIndex: + :type theIndex: int + :rtype: int") Rank; + Standard_Integer Rank (const Standard_Integer theIndex); + + /****************** RealPaveBlock ******************/ + %feature("compactdefaultargs") RealPaveBlock; + %feature("autodoc", "* Selector Returns the real first pave block + :param thePB: + :type thePB: opencascade::handle & + :rtype: opencascade::handle") RealPaveBlock; + opencascade::handle RealPaveBlock (const opencascade::handle & thePB); + + /****************** RefineFaceInfoIn ******************/ + %feature("compactdefaultargs") RefineFaceInfoIn; + %feature("autodoc", "* Removes any pave block from list of having IN state if it has also the state ON. + :rtype: None") RefineFaceInfoIn; + void RefineFaceInfoIn (); + + /****************** RefineFaceInfoOn ******************/ + %feature("compactdefaultargs") RefineFaceInfoOn; + %feature("autodoc", "* Refine the state On for the all faces having state information //! ++ + :rtype: None") RefineFaceInfoOn; + void RefineFaceInfoOn (); + + /****************** ReleasePaveBlocks ******************/ + %feature("compactdefaultargs") ReleasePaveBlocks; + %feature("autodoc", "* Clears information about PaveBlocks for the untouched edges + :rtype: None") ReleasePaveBlocks; + void ReleasePaveBlocks (); + + /****************** SetArguments ******************/ + %feature("compactdefaultargs") SetArguments; + %feature("autodoc", "* Modifier Sets the arguments [theLS] of an operation + :param theLS: + :type theLS: TopTools_ListOfShape & + :rtype: None") SetArguments; + void SetArguments (const TopTools_ListOfShape & theLS); + + /****************** SetCommonBlock ******************/ + %feature("compactdefaultargs") SetCommonBlock; + %feature("autodoc", "* Modifier Sets the common block + :param thePB: + :type thePB: opencascade::handle & + :param theCB: + :type theCB: opencascade::handle & + :rtype: None") SetCommonBlock; + void SetCommonBlock (const opencascade::handle & thePB,const opencascade::handle & theCB); + + /****************** Shape ******************/ + %feature("compactdefaultargs") Shape; + %feature("autodoc", "* Selector Returns the shape with index theIndex + :param theIndex: + :type theIndex: int + :rtype: TopoDS_Shape") Shape; + const TopoDS_Shape Shape (const Standard_Integer theIndex); + + /****************** ShapeInfo ******************/ + %feature("compactdefaultargs") ShapeInfo; + %feature("autodoc", "* Selector Returns the information about the shape with index theIndex + :param theIndex: + :type theIndex: int + :rtype: BOPDS_ShapeInfo") ShapeInfo; + const BOPDS_ShapeInfo & ShapeInfo (const Standard_Integer theIndex); + + /****************** ShapesSD ******************/ + %feature("compactdefaultargs") ShapesSD; + %feature("autodoc", "* Selector Returns the collection same domain shapes + :rtype: TColStd_DataMapOfIntegerInteger") ShapesSD; + TColStd_DataMapOfIntegerInteger & ShapesSD (); + + /****************** SharedEdges ******************/ + %feature("compactdefaultargs") SharedEdges; + %feature("autodoc", "* Returns the indices of edges that are shared for the faces with indices theF1, theF2 //! same domain shapes + :param theF1: + :type theF1: int + :param theF2: + :type theF2: int + :param theLI: + :type theLI: TColStd_ListOfInteger & + :param theAllocator: + :type theAllocator: opencascade::handle & + :rtype: None") SharedEdges; + void SharedEdges (const Standard_Integer theF1,const Standard_Integer theF2,TColStd_ListOfInteger & theLI,const opencascade::handle & theAllocator); + + /****************** SubShapesOnIn ******************/ + %feature("compactdefaultargs") SubShapesOnIn; + %feature("autodoc", "* Returns information about ON/IN sub-shapes of the given faces. @param theMVOnIn the indices of ON/IN vertices from both faces @param theMVCommon the indices of common vertices for both faces @param thePBOnIn all On/In pave blocks from both faces @param theCommonPB the common pave blocks (that are shared by both faces). + :param theNF1: + :type theNF1: int + :param theNF2: + :type theNF2: int + :param theMVOnIn: + :type theMVOnIn: TColStd_MapOfInteger & + :param theMVCommon: + :type theMVCommon: TColStd_MapOfInteger & + :param thePBOnIn: + :type thePBOnIn: BOPDS_IndexedMapOfPaveBlock & + :param theCommonPB: + :type theCommonPB: BOPDS_MapOfPaveBlock & + :rtype: None") SubShapesOnIn; + void SubShapesOnIn (const Standard_Integer theNF1,const Standard_Integer theNF2,TColStd_MapOfInteger & theMVOnIn,TColStd_MapOfInteger & theMVCommon,BOPDS_IndexedMapOfPaveBlock & thePBOnIn,BOPDS_MapOfPaveBlock & theCommonPB); + + /****************** UpdateCommonBlock ******************/ + %feature("compactdefaultargs") UpdateCommonBlock; + %feature("autodoc", "* Update the common block theCB + :param theCB: + :type theCB: opencascade::handle & + :param theFuzz: + :type theFuzz: float + :rtype: None") UpdateCommonBlock; + void UpdateCommonBlock (const opencascade::handle & theCB,const Standard_Real theFuzz); - :rtype: BOPDS_MapOfPassKey -") Interferences; - const BOPDS_MapOfPassKey & Interferences (); - %feature("compactdefaultargs") Dump; - %feature("autodoc", " :rtype: None -") Dump; - void Dump (); - %feature("compactdefaultargs") SortPaveBlocks; - %feature("autodoc", " :param theCB: - :type theCB: Handle_BOPDS_CommonBlock & - :rtype: None -") SortPaveBlocks; - void SortPaveBlocks (const Handle_BOPDS_CommonBlock & theCB); - %feature("compactdefaultargs") IsToSort; - %feature("autodoc", " :param theCB: - :type theCB: Handle_BOPDS_CommonBlock & - :param theI: - :type theI: int & - :rtype: bool -") IsToSort; - Standard_Boolean IsToSort (const Handle_BOPDS_CommonBlock & theCB,Standard_Integer &OutValue); - %feature("compactdefaultargs") IsSubShape; - %feature("autodoc", " :param theI1: - :type theI1: int - :param theI2: - :type theI2: int - :rtype: bool -") IsSubShape; - Standard_Boolean IsSubShape (const Standard_Integer theI1,const Standard_Integer theI2); - %feature("compactdefaultargs") Paves; - %feature("autodoc", " * Fills theLP with sorted paves of the shape with index theIndex + /****************** UpdateCommonBlockWithSDVertices ******************/ + %feature("compactdefaultargs") UpdateCommonBlockWithSDVertices; + %feature("autodoc", "* Update the pave block of the common block for all shapes in data structure + :param theCB: + :type theCB: opencascade::handle & + :rtype: None") UpdateCommonBlockWithSDVertices; + void UpdateCommonBlockWithSDVertices (const opencascade::handle & theCB); + /****************** UpdateFaceInfoIn ******************/ + %feature("compactdefaultargs") UpdateFaceInfoIn; + %feature("autodoc", "* Update the state In of face with index theIndex :param theIndex: :type theIndex: int - :param theLP: - :type theLP: BOPDS_ListOfPave & - :rtype: None -") Paves; - void Paves (const Standard_Integer theIndex,BOPDS_ListOfPave & theLP); - %feature("compactdefaultargs") UpdateEdgeTolerance; - %feature("autodoc", " * Updates tolerance of the sub-shapes of the shape with index . + :rtype: None") UpdateFaceInfoIn; + void UpdateFaceInfoIn (const Standard_Integer theIndex); + + /****************** UpdateFaceInfoIn ******************/ + %feature("compactdefaultargs") UpdateFaceInfoIn; + %feature("autodoc", "* Update the state IN for all faces in the given map + :param theFaces: + :type theFaces: TColStd_MapOfInteger & + :rtype: None") UpdateFaceInfoIn; + void UpdateFaceInfoIn (const TColStd_MapOfInteger & theFaces); + /****************** UpdateFaceInfoOn ******************/ + %feature("compactdefaultargs") UpdateFaceInfoOn; + %feature("autodoc", "* Update the state On of face with index theIndex :param theIndex: :type theIndex: int - :param theTolerance: - :type theTolerance: float - :rtype: None -") UpdateEdgeTolerance; - void UpdateEdgeTolerance (const Standard_Integer theIndex,const Standard_Real theTolerance); - %feature("compactdefaultargs") SetFuzzyValue; - %feature("autodoc", " * Sets the extended tolerance + :rtype: None") UpdateFaceInfoOn; + void UpdateFaceInfoOn (const Standard_Integer theIndex); + + /****************** UpdateFaceInfoOn ******************/ + %feature("compactdefaultargs") UpdateFaceInfoOn; + %feature("autodoc", "* Update the state ON for all faces in the given map + :param theFaces: + :type theFaces: TColStd_MapOfInteger & + :rtype: None") UpdateFaceInfoOn; + void UpdateFaceInfoOn (const TColStd_MapOfInteger & theFaces); + + /****************** UpdatePaveBlock ******************/ + %feature("compactdefaultargs") UpdatePaveBlock; + %feature("autodoc", "* Update the pave block thePB + :param thePB: + :type thePB: opencascade::handle & + :rtype: None") UpdatePaveBlock; + void UpdatePaveBlock (const opencascade::handle & thePB); + + /****************** UpdatePaveBlockWithSDVertices ******************/ + %feature("compactdefaultargs") UpdatePaveBlockWithSDVertices; + %feature("autodoc", "* Update the pave block for all shapes in data structure + :param thePB: + :type thePB: opencascade::handle & + :rtype: None") UpdatePaveBlockWithSDVertices; + void UpdatePaveBlockWithSDVertices (const opencascade::handle & thePB); + + /****************** UpdatePaveBlocks ******************/ + %feature("compactdefaultargs") UpdatePaveBlocks; + %feature("autodoc", "* Update the pave blocks for the all shapes in data structure + :rtype: None") UpdatePaveBlocks; + void UpdatePaveBlocks (); + + /****************** UpdatePaveBlocksWithSDVertices ******************/ + %feature("compactdefaultargs") UpdatePaveBlocksWithSDVertices; + %feature("autodoc", "* Update the pave blocks for all shapes in data structure + :rtype: None") UpdatePaveBlocksWithSDVertices; + void UpdatePaveBlocksWithSDVertices (); - :param theFuzz: - :type theFuzz: float - :rtype: None -") SetFuzzyValue; - void SetFuzzyValue (const Standard_Real theFuzz); - %feature("compactdefaultargs") FuzzyValue; - %feature("autodoc", " * Returns the extended tolerance - - :rtype: float -") FuzzyValue; - Standard_Real FuzzyValue (); - %feature("compactdefaultargs") SetDefaultTolerances; - %feature("autodoc", " * Reverts the tolerance values of unchanged entities to default values. - - :rtype: None -") SetDefaultTolerances; - void SetDefaultTolerances (); }; @@ -1023,113 +1259,118 @@ class BOPDS_DS { __repr__ = _dumps_object } }; + +/*********************** +* class BOPDS_FaceInfo * +***********************/ %nodefaultctor BOPDS_FaceInfo; class BOPDS_FaceInfo { public: + /****************** BOPDS_FaceInfo ******************/ %feature("compactdefaultargs") BOPDS_FaceInfo; - %feature("autodoc", " * Empty contructor - - :rtype: None -") BOPDS_FaceInfo; + %feature("autodoc", "* Empty contructor + :rtype: None") BOPDS_FaceInfo; BOPDS_FaceInfo (); - %feature("compactdefaultargs") BOPDS_FaceInfo; - %feature("autodoc", " * Contructor theAllocator - the allocator to manage the memory + /****************** BOPDS_FaceInfo ******************/ + %feature("compactdefaultargs") BOPDS_FaceInfo; + %feature("autodoc", "* Contructor theAllocator - the allocator to manage the memory :param theAllocator: - :type theAllocator: BOPCol_BaseAllocator & - :rtype: None -") BOPDS_FaceInfo; - BOPDS_FaceInfo (const BOPCol_BaseAllocator & theAllocator); - %feature("compactdefaultargs") Clear; - %feature("autodoc", " * Clears the contents + :type theAllocator: opencascade::handle & + :rtype: None") BOPDS_FaceInfo; + BOPDS_FaceInfo (const opencascade::handle & theAllocator); + + /****************** ChangePaveBlocksIn ******************/ + %feature("compactdefaultargs") ChangePaveBlocksIn; + %feature("autodoc", "* Selector/Modifier Returns the pave blocks of the face that have state In + :rtype: BOPDS_IndexedMapOfPaveBlock") ChangePaveBlocksIn; + BOPDS_IndexedMapOfPaveBlock & ChangePaveBlocksIn (); + + /****************** ChangePaveBlocksOn ******************/ + %feature("compactdefaultargs") ChangePaveBlocksOn; + %feature("autodoc", "* Selector/Modifier Returns the pave blocks of the face that have state On + :rtype: BOPDS_IndexedMapOfPaveBlock") ChangePaveBlocksOn; + BOPDS_IndexedMapOfPaveBlock & ChangePaveBlocksOn (); + + /****************** ChangePaveBlocksSc ******************/ + %feature("compactdefaultargs") ChangePaveBlocksSc; + %feature("autodoc", ":rtype: BOPDS_IndexedMapOfPaveBlock") ChangePaveBlocksSc; + BOPDS_IndexedMapOfPaveBlock & ChangePaveBlocksSc (); + + /****************** ChangeVerticesIn ******************/ + %feature("compactdefaultargs") ChangeVerticesIn; + %feature("autodoc", "* Selector/Modifier Returns the list of indices for vertices of the face that have state In //! On + :rtype: TColStd_MapOfInteger") ChangeVerticesIn; + TColStd_MapOfInteger & ChangeVerticesIn (); - :rtype: None -") Clear; + /****************** ChangeVerticesOn ******************/ + %feature("compactdefaultargs") ChangeVerticesOn; + %feature("autodoc", "* Selector/Modifier Returns the list of indices for vertices of the face that have state On //! Sections + :rtype: TColStd_MapOfInteger") ChangeVerticesOn; + TColStd_MapOfInteger & ChangeVerticesOn (); + + /****************** ChangeVerticesSc ******************/ + %feature("compactdefaultargs") ChangeVerticesSc; + %feature("autodoc", "* Selector/Modifier Returns the list of indices for section vertices of the face //! Others + :rtype: TColStd_MapOfInteger") ChangeVerticesSc; + TColStd_MapOfInteger & ChangeVerticesSc (); + + /****************** Clear ******************/ + %feature("compactdefaultargs") Clear; + %feature("autodoc", "* Clears the contents + :rtype: None") Clear; void Clear (); - %feature("compactdefaultargs") SetIndex; - %feature("autodoc", " * Modifier Sets the index of the face - :param theI: - :type theI: int - :rtype: None -") SetIndex; - void SetIndex (const Standard_Integer theI); + /****************** Index ******************/ %feature("compactdefaultargs") Index; - %feature("autodoc", " * Selector Returns the index of the face //! In - - :rtype: int -") Index; + %feature("autodoc", "* Selector Returns the index of the face //! In + :rtype: int") Index; Standard_Integer Index (); - %feature("compactdefaultargs") PaveBlocksIn; - %feature("autodoc", " * Selector Returns the pave blocks of the face that have state In - :rtype: BOPDS_IndexedMapOfPaveBlock -") PaveBlocksIn; + /****************** PaveBlocksIn ******************/ + %feature("compactdefaultargs") PaveBlocksIn; + %feature("autodoc", "* Selector Returns the pave blocks of the face that have state In + :rtype: BOPDS_IndexedMapOfPaveBlock") PaveBlocksIn; const BOPDS_IndexedMapOfPaveBlock & PaveBlocksIn (); - %feature("compactdefaultargs") ChangePaveBlocksIn; - %feature("autodoc", " * Selector/Modifier Returns the pave blocks of the face that have state In - - :rtype: BOPDS_IndexedMapOfPaveBlock -") ChangePaveBlocksIn; - BOPDS_IndexedMapOfPaveBlock & ChangePaveBlocksIn (); - %feature("compactdefaultargs") VerticesIn; - %feature("autodoc", " * Selector Returns the list of indices for vertices of the face that have state In - :rtype: BOPCol_MapOfInteger -") VerticesIn; - const BOPCol_MapOfInteger & VerticesIn (); - %feature("compactdefaultargs") ChangeVerticesIn; - %feature("autodoc", " * Selector/Modifier Returns the list of indices for vertices of the face that have state In //! On - - :rtype: BOPCol_MapOfInteger -") ChangeVerticesIn; - BOPCol_MapOfInteger & ChangeVerticesIn (); + /****************** PaveBlocksOn ******************/ %feature("compactdefaultargs") PaveBlocksOn; - %feature("autodoc", " * Selector Returns the pave blocks of the face that have state On - - :rtype: BOPDS_IndexedMapOfPaveBlock -") PaveBlocksOn; + %feature("autodoc", "* Selector Returns the pave blocks of the face that have state On + :rtype: BOPDS_IndexedMapOfPaveBlock") PaveBlocksOn; const BOPDS_IndexedMapOfPaveBlock & PaveBlocksOn (); - %feature("compactdefaultargs") ChangePaveBlocksOn; - %feature("autodoc", " * Selector/Modifier Returns the pave blocks of the face that have state On - :rtype: BOPDS_IndexedMapOfPaveBlock -") ChangePaveBlocksOn; - BOPDS_IndexedMapOfPaveBlock & ChangePaveBlocksOn (); - %feature("compactdefaultargs") VerticesOn; - %feature("autodoc", " * Selector Returns the list of indices for vertices of the face that have state On + /****************** PaveBlocksSc ******************/ + %feature("compactdefaultargs") PaveBlocksSc; + %feature("autodoc", "* Selector Returns the pave blocks of the face that are pave blocks of section edges + :rtype: BOPDS_IndexedMapOfPaveBlock") PaveBlocksSc; + const BOPDS_IndexedMapOfPaveBlock & PaveBlocksSc (); - :rtype: BOPCol_MapOfInteger -") VerticesOn; - const BOPCol_MapOfInteger & VerticesOn (); - %feature("compactdefaultargs") ChangeVerticesOn; - %feature("autodoc", " * Selector/Modifier Returns the list of indices for vertices of the face that have state On //! Sections + /****************** SetIndex ******************/ + %feature("compactdefaultargs") SetIndex; + %feature("autodoc", "* Modifier Sets the index of the face + :param theI: + :type theI: int + :rtype: None") SetIndex; + void SetIndex (const Standard_Integer theI); - :rtype: BOPCol_MapOfInteger -") ChangeVerticesOn; - BOPCol_MapOfInteger & ChangeVerticesOn (); - %feature("compactdefaultargs") PaveBlocksSc; - %feature("autodoc", " * Selector Returns the pave blocks of the face that are pave blocks of section edges + /****************** VerticesIn ******************/ + %feature("compactdefaultargs") VerticesIn; + %feature("autodoc", "* Selector Returns the list of indices for vertices of the face that have state In + :rtype: TColStd_MapOfInteger") VerticesIn; + const TColStd_MapOfInteger & VerticesIn (); - :rtype: BOPDS_IndexedMapOfPaveBlock -") PaveBlocksSc; - const BOPDS_IndexedMapOfPaveBlock & PaveBlocksSc (); - %feature("compactdefaultargs") ChangePaveBlocksSc; - %feature("autodoc", " :rtype: BOPDS_IndexedMapOfPaveBlock -") ChangePaveBlocksSc; - BOPDS_IndexedMapOfPaveBlock & ChangePaveBlocksSc (); - %feature("compactdefaultargs") VerticesSc; - %feature("autodoc", " * Selector Returns the list of indices for section vertices of the face + /****************** VerticesOn ******************/ + %feature("compactdefaultargs") VerticesOn; + %feature("autodoc", "* Selector Returns the list of indices for vertices of the face that have state On + :rtype: TColStd_MapOfInteger") VerticesOn; + const TColStd_MapOfInteger & VerticesOn (); - :rtype: BOPCol_MapOfInteger -") VerticesSc; - const BOPCol_MapOfInteger & VerticesSc (); - %feature("compactdefaultargs") ChangeVerticesSc; - %feature("autodoc", " * Selector/Modifier Returns the list of indices for section vertices of the face //! Others + /****************** VerticesSc ******************/ + %feature("compactdefaultargs") VerticesSc; + %feature("autodoc", "* Selector Returns the list of indices for section vertices of the face + :rtype: TColStd_MapOfInteger") VerticesSc; + const TColStd_MapOfInteger & VerticesSc (); - :rtype: BOPCol_MapOfInteger -") ChangeVerticesSc; - BOPCol_MapOfInteger & ChangeVerticesSc (); }; @@ -1138,75 +1379,80 @@ class BOPDS_FaceInfo { __repr__ = _dumps_object } }; + +/************************* +* class BOPDS_IndexRange * +*************************/ %nodefaultctor BOPDS_IndexRange; class BOPDS_IndexRange { public: + /****************** BOPDS_IndexRange ******************/ %feature("compactdefaultargs") BOPDS_IndexRange; - %feature("autodoc", " * Empty contructor - - :rtype: None -") BOPDS_IndexRange; + %feature("autodoc", "* Empty contructor + :rtype: None") BOPDS_IndexRange; BOPDS_IndexRange (); - %feature("compactdefaultargs") SetFirst; - %feature("autodoc", " * Modifier Sets the first index of the range - :param theI1: - :type theI1: int - :rtype: None -") SetFirst; - void SetFirst (const Standard_Integer theI1); - %feature("compactdefaultargs") SetLast; - %feature("autodoc", " * Modifier Sets the second index of the range + /****************** Contains ******************/ + %feature("compactdefaultargs") Contains; + %feature("autodoc", "* Query Returns true if the range contains + :param theIndex: + :type theIndex: int + :rtype: bool") Contains; + Standard_Boolean Contains (const Standard_Integer theIndex); - :param theI2: - :type theI2: int - :rtype: None -") SetLast; - void SetLast (const Standard_Integer theI2); - %feature("compactdefaultargs") First; - %feature("autodoc", " * Selector Returns the first index of the range + /****************** Dump ******************/ + %feature("compactdefaultargs") Dump; + %feature("autodoc", ":rtype: None") Dump; + void Dump (); - :rtype: int -") First; + /****************** First ******************/ + %feature("compactdefaultargs") First; + %feature("autodoc", "* Selector Returns the first index of the range + :rtype: int") First; Standard_Integer First (); - %feature("compactdefaultargs") Last; - %feature("autodoc", " * Selector Returns the second index of the range - :rtype: int -") Last; + /****************** Indices ******************/ + %feature("compactdefaultargs") Indices; + %feature("autodoc", "* Selector Returns the first index of the range Returns the second index of the range + :param theI1: + :type theI1: int & + :param theI2: + :type theI2: int & + :rtype: None") Indices; + void Indices (Standard_Integer &OutValue,Standard_Integer &OutValue); + + /****************** Last ******************/ + %feature("compactdefaultargs") Last; + %feature("autodoc", "* Selector Returns the second index of the range + :rtype: int") Last; Standard_Integer Last (); - %feature("compactdefaultargs") SetIndices; - %feature("autodoc", " * Modifier Sets the first index of the range Sets the second index of the range + /****************** SetFirst ******************/ + %feature("compactdefaultargs") SetFirst; + %feature("autodoc", "* Modifier Sets the first index of the range + :param theI1: + :type theI1: int + :rtype: None") SetFirst; + void SetFirst (const Standard_Integer theI1); + + /****************** SetIndices ******************/ + %feature("compactdefaultargs") SetIndices; + %feature("autodoc", "* Modifier Sets the first index of the range Sets the second index of the range :param theI1: :type theI1: int :param theI2: :type theI2: int - :rtype: None -") SetIndices; + :rtype: None") SetIndices; void SetIndices (const Standard_Integer theI1,const Standard_Integer theI2); - %feature("compactdefaultargs") Indices; - %feature("autodoc", " * Selector Returns the first index of the range Returns the second index of the range - :param theI1: - :type theI1: int & + /****************** SetLast ******************/ + %feature("compactdefaultargs") SetLast; + %feature("autodoc", "* Modifier Sets the second index of the range :param theI2: - :type theI2: int & - :rtype: None -") Indices; - void Indices (Standard_Integer &OutValue,Standard_Integer &OutValue); - %feature("compactdefaultargs") Contains; - %feature("autodoc", " * Query Returns true if the range contains + :type theI2: int + :rtype: None") SetLast; + void SetLast (const Standard_Integer theI2); - :param theIndex: - :type theIndex: int - :rtype: bool -") Contains; - Standard_Boolean Contains (const Standard_Integer theIndex); - %feature("compactdefaultargs") Dump; - %feature("autodoc", " :rtype: None -") Dump; - void Dump (); }; @@ -1215,103 +1461,128 @@ class BOPDS_IndexRange { __repr__ = _dumps_object } }; + +/********************* +* class BOPDS_Interf * +*********************/ +/*********************** +* class BOPDS_Iterator * +***********************/ %nodefaultctor BOPDS_Iterator; class BOPDS_Iterator { public: + /****************** BOPDS_Iterator ******************/ %feature("compactdefaultargs") BOPDS_Iterator; - %feature("autodoc", " * Empty contructor - - :rtype: None -") BOPDS_Iterator; + %feature("autodoc", "* Empty contructor + :rtype: None") BOPDS_Iterator; BOPDS_Iterator (); - %feature("compactdefaultargs") BOPDS_Iterator; - %feature("autodoc", " * Contructor theAllocator - the allocator to manage the memory + /****************** BOPDS_Iterator ******************/ + %feature("compactdefaultargs") BOPDS_Iterator; + %feature("autodoc", "* Contructor theAllocator - the allocator to manage the memory :param theAllocator: - :type theAllocator: BOPCol_BaseAllocator & - :rtype: None -") BOPDS_Iterator; - BOPDS_Iterator (const BOPCol_BaseAllocator & theAllocator); - %feature("compactdefaultargs") SetDS; - %feature("autodoc", " * Modifier Sets the data structure to process + :type theAllocator: opencascade::handle & + :rtype: None") BOPDS_Iterator; + BOPDS_Iterator (const opencascade::handle & theAllocator); - :param pDS: - :type pDS: BOPDS_PDS & - :rtype: None -") SetDS; - void SetDS (const BOPDS_PDS & pDS); - %feature("compactdefaultargs") DS; - %feature("autodoc", " * Selector Returns the data structure + /****************** BlockLength ******************/ + %feature("compactdefaultargs") BlockLength; + %feature("autodoc", "* Returns the block length + :rtype: int") BlockLength; + Standard_Integer BlockLength (); - :rtype: BOPDS_DS -") DS; + /****************** DS ******************/ + %feature("compactdefaultargs") DS; + %feature("autodoc", "* Selector Returns the data structure + :rtype: BOPDS_DS") DS; const BOPDS_DS & DS (); - %feature("compactdefaultargs") Initialize; - %feature("autodoc", " * Initializes the iterator theType1 - the first type of shape theType2 - the second type of shape + /****************** ExpectedLength ******************/ + %feature("compactdefaultargs") ExpectedLength; + %feature("autodoc", "* Returns the number of intersections founded + :rtype: int") ExpectedLength; + Standard_Integer ExpectedLength (); + + /****************** Initialize ******************/ + %feature("compactdefaultargs") Initialize; + %feature("autodoc", "* Initializes the iterator theType1 - the first type of shape theType2 - the second type of shape :param theType1: :type theType1: TopAbs_ShapeEnum :param theType2: :type theType2: TopAbs_ShapeEnum - :rtype: None -") Initialize; + :rtype: None") Initialize; void Initialize (const TopAbs_ShapeEnum theType1,const TopAbs_ShapeEnum theType2); - %feature("compactdefaultargs") More; - %feature("autodoc", " * Returns true if still there are pairs of intersected shapes - :rtype: bool -") More; + /****************** IntersectExt ******************/ + %feature("compactdefaultargs") IntersectExt; + %feature("autodoc", "* Updates the tree of Bounding Boxes with increased boxes and intersects such elements with the tree. + :param theIndicies: + :type theIndicies: TColStd_MapOfInteger & + :rtype: None") IntersectExt; + void IntersectExt (const TColStd_MapOfInteger & theIndicies); + + /****************** More ******************/ + %feature("compactdefaultargs") More; + %feature("autodoc", "* Returns true if still there are pairs of intersected shapes + :rtype: bool") More; Standard_Boolean More (); - %feature("compactdefaultargs") Next; - %feature("autodoc", " * Moves iterations ahead - :rtype: None -") Next; + /****************** NbExtInterfs ******************/ + %feature("compactdefaultargs") NbExtInterfs; + %feature("autodoc", "* @name Number of extra interfering types + :rtype: int") NbExtInterfs; + static Standard_Integer NbExtInterfs (); + + /****************** Next ******************/ + %feature("compactdefaultargs") Next; + %feature("autodoc", "* Moves iterations ahead + :rtype: None") Next; void Next (); - %feature("compactdefaultargs") Value; - %feature("autodoc", " * Returns indices (DS) of intersected shapes theIndex1 - the index of the first shape theIndex2 - the index of the second shape theWithSubShape - flag. True if the sub-shapes of shapes are intersected - :param theIndex1: - :type theIndex1: int & - :param theIndex2: - :type theIndex2: int & - :param theWithSubShape: - :type theWithSubShape: bool - :rtype: None -") Value; - void Value (Standard_Integer &OutValue,Standard_Integer &OutValue,Standard_Boolean &OutValue); + /****************** Prepare ******************/ %feature("compactdefaultargs") Prepare; - %feature("autodoc", " * Perform the intersection algorithm and prepare the results to be used - - :rtype: void -") Prepare; - virtual void Prepare (); - %feature("compactdefaultargs") ExpectedLength; - %feature("autodoc", " * Returns the number of intersections founded + %feature("autodoc", "* Perform the intersection algorithm and prepare the results to be used + :param theCtx: default value is opencascade::handle() + :type theCtx: opencascade::handle & + :param theCheckOBB: default value is Standard_False + :type theCheckOBB: bool + :param theFuzzyValue: default value is Precision::Confusion() + :type theFuzzyValue: float + :rtype: void") Prepare; + virtual void Prepare (const opencascade::handle & theCtx = opencascade::handle(),const Standard_Boolean theCheckOBB = Standard_False,const Standard_Real theFuzzyValue = Precision::Confusion()); + + /****************** RunParallel ******************/ + %feature("compactdefaultargs") RunParallel; + %feature("autodoc", "* Returns the flag of parallel processing + :rtype: bool") RunParallel; + Standard_Boolean RunParallel (); - :rtype: int -") ExpectedLength; - Standard_Integer ExpectedLength (); - %feature("compactdefaultargs") BlockLength; - %feature("autodoc", " * Returns the block length + /****************** SetDS ******************/ + %feature("compactdefaultargs") SetDS; + %feature("autodoc", "* Modifier Sets the data structure to process + :param pDS: + :type pDS: BOPDS_PDS & + :rtype: None") SetDS; + void SetDS (const BOPDS_PDS & pDS); - :rtype: int -") BlockLength; - Standard_Integer BlockLength (); + /****************** SetRunParallel ******************/ %feature("compactdefaultargs") SetRunParallel; - %feature("autodoc", " * Set the flag of parallel processing if is true the parallel processing is switched on if is false the parallel processing is switched off - + %feature("autodoc", "* Set the flag of parallel processing if is true the parallel processing is switched on if is false the parallel processing is switched off :param theFlag: :type theFlag: bool - :rtype: None -") SetRunParallel; + :rtype: None") SetRunParallel; void SetRunParallel (const Standard_Boolean theFlag); - %feature("compactdefaultargs") RunParallel; - %feature("autodoc", " * Returns the flag of parallel processing - :rtype: bool -") RunParallel; - Standard_Boolean RunParallel (); + /****************** Value ******************/ + %feature("compactdefaultargs") Value; + %feature("autodoc", "* Returns indices (DS) of intersected shapes theIndex1 - the index of the first shape theIndex2 - the index of the second shape + :param theIndex1: + :type theIndex1: int & + :param theIndex2: + :type theIndex2: int & + :rtype: None") Value; + void Value (Standard_Integer &OutValue,Standard_Integer &OutValue); + }; @@ -1320,250 +1591,182 @@ class BOPDS_Iterator { __repr__ = _dumps_object } }; -%nodefaultctor BOPDS_PassKey; -class BOPDS_PassKey { - public: - %feature("compactdefaultargs") BOPDS_PassKey; - %feature("autodoc", " * Empty contructor - - :rtype: None -") BOPDS_PassKey; - BOPDS_PassKey (); - %feature("compactdefaultargs") BOPDS_PassKey; - %feature("autodoc", " * Contructor theAllocator - the allocator to manage the memory - - :param theAllocator: - :type theAllocator: BOPCol_BaseAllocator & - :rtype: None -") BOPDS_PassKey; - BOPDS_PassKey (const BOPCol_BaseAllocator & theAllocator); - %feature("compactdefaultargs") BOPDS_PassKey; - %feature("autodoc", " * Copy Contructor - - :param Other: - :type Other: BOPDS_PassKey & - :rtype: None -") BOPDS_PassKey; - BOPDS_PassKey (const BOPDS_PassKey & Other); - %feature("compactdefaultargs") operator =; - %feature("autodoc", " :param Other: - :type Other: BOPDS_PassKey & - :rtype: BOPDS_PassKey -") operator =; - BOPDS_PassKey & operator = (const BOPDS_PassKey & Other); - %feature("compactdefaultargs") Clear; - %feature("autodoc", " * Clear the contents - - :rtype: None -") Clear; - void Clear (); - %feature("compactdefaultargs") SetIds; - %feature("autodoc", " * Modifier Sets one Id - - :param theI1: - :type theI1: int - :rtype: None -") SetIds; - void SetIds (const Standard_Integer theI1); - %feature("compactdefaultargs") SetIds; - %feature("autodoc", " * Modifier Sets two Id , - - :param theI1: - :type theI1: int - :param theI2: - :type theI2: int - :rtype: None -") SetIds; - void SetIds (const Standard_Integer theI1,const Standard_Integer theI2); - %feature("compactdefaultargs") SetIds; - %feature("autodoc", " * Modifier Sets three Id ,, - - :param theI1: - :type theI1: int - :param theI2: - :type theI2: int - :param theI3: - :type theI3: int - :rtype: None -") SetIds; - void SetIds (const Standard_Integer theI1,const Standard_Integer theI2,const Standard_Integer theI3); - %feature("compactdefaultargs") SetIds; - %feature("autodoc", " * Modifier Sets four Id ,,, - - :param theI1: - :type theI1: int - :param theI2: - :type theI2: int - :param theI3: - :type theI3: int - :param theI4: - :type theI4: int - :rtype: None -") SetIds; - void SetIds (const Standard_Integer theI1,const Standard_Integer theI2,const Standard_Integer theI3,const Standard_Integer theI4); - %feature("compactdefaultargs") SetIds; - %feature("autodoc", " * Modifier Sets the list of Id - :param theLI: - :type theLI: BOPCol_ListOfInteger & - :rtype: None -") SetIds; - void SetIds (const BOPCol_ListOfInteger & theLI); - %feature("compactdefaultargs") NbIds; - %feature("autodoc", " * Selector Returns the number of Ids> - - :rtype: int -") NbIds; - Standard_Integer NbIds (); - %feature("compactdefaultargs") IsEqual; - %feature("autodoc", " * Query Returns true if the PassKey is equal to +/******************* +* class BOPDS_Pair * +*******************/ +%nodefaultctor BOPDS_Pair; +class BOPDS_Pair { + public: + /****************** BOPDS_Pair ******************/ + %feature("compactdefaultargs") BOPDS_Pair; + %feature("autodoc", ":rtype: None") BOPDS_Pair; + BOPDS_Pair (); + + /****************** BOPDS_Pair ******************/ + %feature("compactdefaultargs") BOPDS_Pair; + %feature("autodoc", ":param theIndex1: + :type theIndex1: int + :param theIndex2: + :type theIndex2: int + :rtype: None") BOPDS_Pair; + BOPDS_Pair (const Standard_Integer theIndex1,const Standard_Integer theIndex2); - :param theOther: - :type theOther: BOPDS_PassKey & - :rtype: bool -") IsEqual; - Standard_Boolean IsEqual (const BOPDS_PassKey & theOther); + /****************** HashCode ******************/ %feature("compactdefaultargs") HashCode; - %feature("autodoc", " * Query Returns hash code - - :param theUpper: - :type theUpper: int - :rtype: int -") HashCode; - Standard_Integer HashCode (const Standard_Integer theUpper); + %feature("autodoc", "* Computes a hash code for this pair, in the range [1, theUpperBound] @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] + :param theUpperBound: + :type theUpperBound: int + :rtype: int") HashCode; + Standard_Integer HashCode (const Standard_Integer theUpperBound); %extend { Standard_Integer __hash__() { return $self->HashCode(2147483647); } }; - %feature("compactdefaultargs") Id; - %feature("autodoc", " * Selector Returns Id of index + + /****************** Indices ******************/ + %feature("compactdefaultargs") Indices; + %feature("autodoc", "* Gets the indices + :param theIndex1: + :type theIndex1: int & + :param theIndex2: + :type theIndex2: int & + :rtype: None") Indices; + void Indices (Standard_Integer &OutValue,Standard_Integer &OutValue); - :param theIndex: - :type theIndex: int - :rtype: int -") Id; - Standard_Integer Id (const Standard_Integer theIndex); - %feature("compactdefaultargs") Ids; - %feature("autodoc", " * Selector Returns the first two Ids , + /****************** IsEqual ******************/ + %feature("compactdefaultargs") IsEqual; + %feature("autodoc", "* Returns true if the Pair is equal to + :param theOther: + :type theOther: BOPDS_Pair & + :rtype: bool") IsEqual; + Standard_Boolean IsEqual (const BOPDS_Pair & theOther); + + /****************** SetIndices ******************/ + %feature("compactdefaultargs") SetIndices; + %feature("autodoc", "* Sets the indices + :param theIndex1: + :type theIndex1: int + :param theIndex2: + :type theIndex2: int + :rtype: None") SetIndices; + void SetIndices (const Standard_Integer theIndex1,const Standard_Integer theIndex2); - :param theI1: - :type theI1: int & - :param theI2: - :type theI2: int & - :rtype: None -") Ids; - void Ids (Standard_Integer &OutValue,Standard_Integer &OutValue); - %feature("compactdefaultargs") Dump; - %feature("autodoc", " :param aHex: default value is 0 - :type aHex: int - :rtype: None -") Dump; - void Dump (const Standard_Integer aHex = 0); }; -%extend BOPDS_PassKey { +%extend BOPDS_Pair { %pythoncode { __repr__ = _dumps_object } }; -class BOPDS_PassKeyMapHasher { + +/**************************** +* class BOPDS_PairMapHasher * +****************************/ +class BOPDS_PairMapHasher { public: + /****************** HashCode ******************/ %feature("compactdefaultargs") HashCode; - %feature("autodoc", " :param aPKey: - :type aPKey: BOPDS_PassKey & - :param Upper: - :type Upper: int - :rtype: int -") HashCode; - static Standard_Integer HashCode (const BOPDS_PassKey & aPKey,const Standard_Integer Upper); + %feature("autodoc", "* Computes a hash code for the given pair, in the range [1, theUpperBound] @param thePair the pair 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] + :param thePair: + :type thePair: BOPDS_Pair & + :param theUpperBound: + :type theUpperBound: int + :rtype: int") HashCode; + static Standard_Integer HashCode (const BOPDS_Pair & thePair,const Standard_Integer theUpperBound); + + /****************** IsEqual ******************/ %feature("compactdefaultargs") IsEqual; - %feature("autodoc", " :param aPKey1: - :type aPKey1: BOPDS_PassKey & - :param aPKey2: - :type aPKey2: BOPDS_PassKey & - :rtype: bool -") IsEqual; - static Standard_Boolean IsEqual (const BOPDS_PassKey & aPKey1,const BOPDS_PassKey & aPKey2); + %feature("autodoc", ":param thePair1: + :type thePair1: BOPDS_Pair & + :param thePair2: + :type thePair2: BOPDS_Pair & + :rtype: bool") IsEqual; + static Standard_Boolean IsEqual (const BOPDS_Pair & thePair1,const BOPDS_Pair & thePair2); + }; -%extend BOPDS_PassKeyMapHasher { +%extend BOPDS_PairMapHasher { %pythoncode { __repr__ = _dumps_object } }; -%nodefaultctor BOPDS_Pave; -class BOPDS_Pave { - public: - %feature("compactdefaultargs") BOPDS_Pave; - %feature("autodoc", " * Empty contructor - :rtype: None -") BOPDS_Pave; - BOPDS_Pave (); - %feature("compactdefaultargs") SetIndex; - %feature("autodoc", " * Modifier Sets the index of vertex - - :param theIndex: - :type theIndex: int - :rtype: None -") SetIndex; - void SetIndex (const Standard_Integer theIndex); - %feature("compactdefaultargs") Index; - %feature("autodoc", " * Selector Returns the index of vertex - - :rtype: int -") Index; - Standard_Integer Index (); - %feature("compactdefaultargs") SetParameter; - %feature("autodoc", " * Modifier Sets the parameter of vertex - - :param theParameter: - :type theParameter: float - :rtype: None -") SetParameter; - void SetParameter (const Standard_Real theParameter); - %feature("compactdefaultargs") Parameter; - %feature("autodoc", " * Selector Returns the parameter of vertex +/******************* +* class BOPDS_Pave * +*******************/ +%nodefaultctor BOPDS_Pave; +class BOPDS_Pave { + public: + /****************** BOPDS_Pave ******************/ + %feature("compactdefaultargs") BOPDS_Pave; + %feature("autodoc", "* Empty contructor + :rtype: None") BOPDS_Pave; + BOPDS_Pave (); - :rtype: float -") Parameter; - Standard_Real Parameter (); + /****************** Contents ******************/ %feature("compactdefaultargs") Contents; - %feature("autodoc", " * Selector Returns the index of vertex Returns the parameter of vertex - + %feature("autodoc", "* Selector Returns the index of vertex Returns the parameter of vertex :param theIndex: :type theIndex: int & :param theParameter: :type theParameter: float & - :rtype: None -") Contents; + :rtype: None") Contents; void Contents (Standard_Integer &OutValue,Standard_Real &OutValue); - %feature("compactdefaultargs") IsLess; - %feature("autodoc", " * Query Returns true if thr parameter od this is less than the parameter of + /****************** Dump ******************/ + %feature("compactdefaultargs") Dump; + %feature("autodoc", ":rtype: None") Dump; + void Dump (); + + /****************** Index ******************/ + %feature("compactdefaultargs") Index; + %feature("autodoc", "* Selector Returns the index of vertex + :rtype: int") Index; + Standard_Integer Index (); + + /****************** IsEqual ******************/ + %feature("compactdefaultargs") IsEqual; + %feature("autodoc", "* Query Returns true if thr parameter od this is equal to the parameter of :param theOther: :type theOther: BOPDS_Pave & - :rtype: bool -") IsLess; - Standard_Boolean IsLess (const BOPDS_Pave & theOther); - %feature("compactdefaultargs") operator <; - %feature("autodoc", " :param theOther: - :type theOther: BOPDS_Pave & - :rtype: bool -") operator <; - Standard_Boolean operator < (const BOPDS_Pave & theOther); - %feature("compactdefaultargs") IsEqual; - %feature("autodoc", " * Query Returns true if thr parameter od this is equal to the parameter of + :rtype: bool") IsEqual; + Standard_Boolean IsEqual (const BOPDS_Pave & theOther); + /****************** IsLess ******************/ + %feature("compactdefaultargs") IsLess; + %feature("autodoc", "* Query Returns true if thr parameter od this is less than the parameter of :param theOther: :type theOther: BOPDS_Pave & - :rtype: bool -") IsEqual; - Standard_Boolean IsEqual (const BOPDS_Pave & theOther); + :rtype: bool") IsLess; + Standard_Boolean IsLess (const BOPDS_Pave & theOther); + + /****************** Parameter ******************/ + %feature("compactdefaultargs") Parameter; + %feature("autodoc", "* Selector Returns the parameter of vertex + :rtype: float") Parameter; + Standard_Real Parameter (); + + /****************** SetIndex ******************/ + %feature("compactdefaultargs") SetIndex; + %feature("autodoc", "* Modifier Sets the index of vertex + :param theIndex: + :type theIndex: int + :rtype: None") SetIndex; + void SetIndex (const Standard_Integer theIndex); + + /****************** SetParameter ******************/ + %feature("compactdefaultargs") SetParameter; + %feature("autodoc", "* Modifier Sets the parameter of vertex + :param theParameter: + :type theParameter: float + :rtype: None") SetParameter; + void SetParameter (const Standard_Real theParameter); + %extend{ bool __eq_wrapper__(const BOPDS_Pave other) { @@ -1578,11 +1781,7 @@ class BOPDS_Pave { except: return False } - %feature("compactdefaultargs") Dump; - %feature("autodoc", " :rtype: None -") Dump; - void Dump (); -}; + }; %extend BOPDS_Pave { @@ -1590,217 +1789,240 @@ class BOPDS_Pave { __repr__ = _dumps_object } }; + +/************************ +* class BOPDS_PaveBlock * +************************/ %nodefaultctor BOPDS_PaveBlock; -class BOPDS_PaveBlock : public MMgt_TShared { +class BOPDS_PaveBlock : public Standard_Transient { public: - %feature("compactdefaultargs") BOPDS_PaveBlock; - %feature("autodoc", " * Empty contructor + /****************** AppendExtPave ******************/ + %feature("compactdefaultargs") AppendExtPave; + %feature("autodoc", "* Modifier Appends extra paves + :param thePave: + :type thePave: BOPDS_Pave & + :rtype: None") AppendExtPave; + void AppendExtPave (const BOPDS_Pave & thePave); - :rtype: None -") BOPDS_PaveBlock; - BOPDS_PaveBlock (); + /****************** AppendExtPave1 ******************/ + %feature("compactdefaultargs") AppendExtPave1; + %feature("autodoc", "* Modifier Appends extra pave + :param thePave: + :type thePave: BOPDS_Pave & + :rtype: None") AppendExtPave1; + void AppendExtPave1 (const BOPDS_Pave & thePave); + + /****************** BOPDS_PaveBlock ******************/ %feature("compactdefaultargs") BOPDS_PaveBlock; - %feature("autodoc", " * Contructor - the allocator to manage the memory + %feature("autodoc", "* Empty contructor + :rtype: None") BOPDS_PaveBlock; + BOPDS_PaveBlock (); + /****************** BOPDS_PaveBlock ******************/ + %feature("compactdefaultargs") BOPDS_PaveBlock; + %feature("autodoc", "* Contructor - the allocator to manage the memory :param theAllocator: - :type theAllocator: BOPCol_BaseAllocator & - :rtype: None -") BOPDS_PaveBlock; - BOPDS_PaveBlock (const BOPCol_BaseAllocator & theAllocator); - %feature("compactdefaultargs") SetPave1; - %feature("autodoc", " * Modifier Sets the first pave - - :param thePave: - :type thePave: BOPDS_Pave & - :rtype: None -") SetPave1; - void SetPave1 (const BOPDS_Pave & thePave); - %feature("compactdefaultargs") Pave1; - %feature("autodoc", " * Selector Returns the first pave + :type theAllocator: opencascade::handle & + :rtype: None") BOPDS_PaveBlock; + BOPDS_PaveBlock (const opencascade::handle & theAllocator); - :rtype: BOPDS_Pave -") Pave1; - const BOPDS_Pave & Pave1 (); - %feature("compactdefaultargs") SetPave2; - %feature("autodoc", " * Modifier Sets the second pave + /****************** ChangeExtPaves ******************/ + %feature("compactdefaultargs") ChangeExtPaves; + %feature("autodoc", "* Selector / Modifier Returns the extra paves + :rtype: BOPDS_ListOfPave") ChangeExtPaves; + BOPDS_ListOfPave & ChangeExtPaves (); - :param thePave: - :type thePave: BOPDS_Pave & - :rtype: None -") SetPave2; - void SetPave2 (const BOPDS_Pave & thePave); - %feature("compactdefaultargs") Pave2; - %feature("autodoc", " * Selector Returns the second pave + /****************** ContainsParameter ******************/ + %feature("compactdefaultargs") ContainsParameter; + %feature("autodoc", "* Query Returns true if the extra paves contain the pave with given value of the parameter - the value of the tolerance to compare - index of the found pave + :param thePrm: + :type thePrm: float + :param theTol: + :type theTol: float + :param theInd: + :type theInd: int & + :rtype: bool") ContainsParameter; + Standard_Boolean ContainsParameter (const Standard_Real thePrm,const Standard_Real theTol,Standard_Integer &OutValue); - :rtype: BOPDS_Pave -") Pave2; - const BOPDS_Pave & Pave2 (); - %feature("compactdefaultargs") SetEdge; - %feature("autodoc", " * Modifier Sets the index of edge of pave block + /****************** Dump ******************/ + %feature("compactdefaultargs") Dump; + %feature("autodoc", ":rtype: None") Dump; + void Dump (); - :param theEdge: - :type theEdge: int - :rtype: None -") SetEdge; - void SetEdge (const Standard_Integer theEdge); + /****************** Edge ******************/ %feature("compactdefaultargs") Edge; - %feature("autodoc", " * Selector Returns the index of edge of pave block - - :rtype: int -") Edge; + %feature("autodoc", "* Selector Returns the index of edge of pave block + :rtype: int") Edge; Standard_Integer Edge (); - %feature("compactdefaultargs") HasEdge; - %feature("autodoc", " * Query Returns true if the pave block has edge - :rtype: bool -") HasEdge; - Standard_Boolean HasEdge (); + /****************** ExtPaves ******************/ + %feature("compactdefaultargs") ExtPaves; + %feature("autodoc", "* Selector Returns the extra paves + :rtype: BOPDS_ListOfPave") ExtPaves; + const BOPDS_ListOfPave & ExtPaves (); + + /****************** HasEdge ******************/ %feature("compactdefaultargs") HasEdge; - %feature("autodoc", " * Query Returns true if the pave block has edge Returns the index of edge + %feature("autodoc", "* Query Returns true if the pave block has edge + :rtype: bool") HasEdge; + Standard_Boolean HasEdge (); + /****************** HasEdge ******************/ + %feature("compactdefaultargs") HasEdge; + %feature("autodoc", "* Query Returns true if the pave block has edge Returns the index of edge :param theEdge: :type theEdge: int & - :rtype: bool -") HasEdge; + :rtype: bool") HasEdge; Standard_Boolean HasEdge (Standard_Integer &OutValue); - %feature("compactdefaultargs") SetOriginalEdge; - %feature("autodoc", " * Modifier Sets the index of original edge of the pave block - :param theEdge: - :type theEdge: int - :rtype: None -") SetOriginalEdge; - void SetOriginalEdge (const Standard_Integer theEdge); - %feature("compactdefaultargs") OriginalEdge; - %feature("autodoc", " * Selector Returns the index of original edge of pave block + /****************** HasSameBounds ******************/ + %feature("compactdefaultargs") HasSameBounds; + %feature("autodoc", "* Query Returns true if the pave block has pave indices that equal to the pave indices of the pave block + :param theOther: + :type theOther: opencascade::handle & + :rtype: bool") HasSameBounds; + Standard_Boolean HasSameBounds (const opencascade::handle & theOther); - :rtype: int -") OriginalEdge; - Standard_Integer OriginalEdge (); - %feature("compactdefaultargs") IsSplitEdge; - %feature("autodoc", " * Query Returns true if the edge is equal to the original edge of the pave block + /****************** HasShrunkData ******************/ + %feature("compactdefaultargs") HasShrunkData; + %feature("autodoc", "* Query Returns true if the pave block contains the shrunk data + :rtype: bool") HasShrunkData; + Standard_Boolean HasShrunkData (); + + /****************** Indices ******************/ + %feature("compactdefaultargs") Indices; + %feature("autodoc", "* Selector Returns the pave indices of the pave block + :param theIndex1: + :type theIndex1: int & + :param theIndex2: + :type theIndex2: int & + :rtype: None") Indices; + void Indices (Standard_Integer &OutValue,Standard_Integer &OutValue); - :rtype: bool -") IsSplitEdge; + /****************** IsSplitEdge ******************/ + %feature("compactdefaultargs") IsSplitEdge; + %feature("autodoc", "* Query Returns true if the edge is equal to the original edge of the pave block + :rtype: bool") IsSplitEdge; Standard_Boolean IsSplitEdge (); - %feature("compactdefaultargs") Range; - %feature("autodoc", " * Selector Returns the parametric range of the pave block + /****************** IsSplittable ******************/ + %feature("compactdefaultargs") IsSplittable; + %feature("autodoc", "* Query Returns False if the pave block has a too short shrunk range and cannot be split, otherwise returns True + :rtype: bool") IsSplittable; + Standard_Boolean IsSplittable (); + + /****************** IsToUpdate ******************/ + %feature("compactdefaultargs") IsToUpdate; + %feature("autodoc", "* Query Returns true if the pave block contains extra paves + :rtype: bool") IsToUpdate; + Standard_Boolean IsToUpdate (); + + /****************** OriginalEdge ******************/ + %feature("compactdefaultargs") OriginalEdge; + %feature("autodoc", "* Selector Returns the index of original edge of pave block + :rtype: int") OriginalEdge; + Standard_Integer OriginalEdge (); + + /****************** Pave1 ******************/ + %feature("compactdefaultargs") Pave1; + %feature("autodoc", "* Selector Returns the first pave + :rtype: BOPDS_Pave") Pave1; + const BOPDS_Pave & Pave1 (); + + /****************** Pave2 ******************/ + %feature("compactdefaultargs") Pave2; + %feature("autodoc", "* Selector Returns the second pave + :rtype: BOPDS_Pave") Pave2; + const BOPDS_Pave & Pave2 (); + + /****************** Range ******************/ + %feature("compactdefaultargs") Range; + %feature("autodoc", "* Selector Returns the parametric range of the pave block :param theT1: :type theT1: float & :param theT2: :type theT2: float & - :rtype: None -") Range; + :rtype: None") Range; void Range (Standard_Real &OutValue,Standard_Real &OutValue); - %feature("compactdefaultargs") HasSameBounds; - %feature("autodoc", " * Query Returns true if the pave block has pave indices that equal to the pave indices of the pave block - - :param theOther: - :type theOther: Handle_BOPDS_PaveBlock & - :rtype: bool -") HasSameBounds; - Standard_Boolean HasSameBounds (const Handle_BOPDS_PaveBlock & theOther); - %feature("compactdefaultargs") Indices; - %feature("autodoc", " * Selector Returns the pave indices of the pave block - :param theIndex1: - :type theIndex1: int & - :param theIndex2: - :type theIndex2: int & - :rtype: None -") Indices; - void Indices (Standard_Integer &OutValue,Standard_Integer &OutValue); - %feature("compactdefaultargs") IsToUpdate; - %feature("autodoc", " * Query Returns true if the pave block contains extra paves + /****************** RemoveExtPave ******************/ + %feature("compactdefaultargs") RemoveExtPave; + %feature("autodoc", "* Modifier Removes a pave with the given vertex number from extra paves + :param theVertNum: + :type theVertNum: int + :rtype: None") RemoveExtPave; + void RemoveExtPave (const Standard_Integer theVertNum); - :rtype: bool -") IsToUpdate; - Standard_Boolean IsToUpdate (); - %feature("compactdefaultargs") AppendExtPave; - %feature("autodoc", " * Modifier Appends extra paves + /****************** SetEdge ******************/ + %feature("compactdefaultargs") SetEdge; + %feature("autodoc", "* Modifier Sets the index of edge of pave block + :param theEdge: + :type theEdge: int + :rtype: None") SetEdge; + void SetEdge (const Standard_Integer theEdge); - :param theLP: - :type theLP: BOPDS_Pave & - :rtype: None -") AppendExtPave; - void AppendExtPave (const BOPDS_Pave & theLP); - %feature("compactdefaultargs") AppendExtPave1; - %feature("autodoc", " * Modifier Appends extra pave + /****************** SetOriginalEdge ******************/ + %feature("compactdefaultargs") SetOriginalEdge; + %feature("autodoc", "* Modifier Sets the index of original edge of the pave block + :param theEdge: + :type theEdge: int + :rtype: None") SetOriginalEdge; + void SetOriginalEdge (const Standard_Integer theEdge); + /****************** SetPave1 ******************/ + %feature("compactdefaultargs") SetPave1; + %feature("autodoc", "* Modifier Sets the first pave :param thePave: :type thePave: BOPDS_Pave & - :rtype: None -") AppendExtPave1; - void AppendExtPave1 (const BOPDS_Pave & thePave); - %feature("compactdefaultargs") ExtPaves; - %feature("autodoc", " * Selector Returns the extra paves - - :rtype: BOPDS_ListOfPave -") ExtPaves; - const BOPDS_ListOfPave & ExtPaves (); - %feature("compactdefaultargs") ChangeExtPaves; - %feature("autodoc", " * Selector / Modifier Returns the extra paves - - :rtype: BOPDS_ListOfPave -") ChangeExtPaves; - BOPDS_ListOfPave & ChangeExtPaves (); - %feature("compactdefaultargs") Update; - %feature("autodoc", " * Modifier Updates the pave block. The extra paves are used to create new pave blocks . - if true, the first pave and the second pave are used to produce new pave blocks. + :rtype: None") SetPave1; + void SetPave1 (const BOPDS_Pave & thePave); - :param theLPB: - :type theLPB: BOPDS_ListOfPaveBlock & - :param theFlag: default value is Standard_True - :type theFlag: bool - :rtype: None -") Update; - void Update (BOPDS_ListOfPaveBlock & theLPB,const Standard_Boolean theFlag = Standard_True); - %feature("compactdefaultargs") ContainsParameter; - %feature("autodoc", " * Query Returns true if the extra paves contain the pave with given value of the parameter - the value of the tolerance to compare - index of the found pave + /****************** SetPave2 ******************/ + %feature("compactdefaultargs") SetPave2; + %feature("autodoc", "* Modifier Sets the second pave + :param thePave: + :type thePave: BOPDS_Pave & + :rtype: None") SetPave2; + void SetPave2 (const BOPDS_Pave & thePave); - :param thePrm: - :type thePrm: float - :param theTol: - :type theTol: float - :param theInd: - :type theInd: int & - :rtype: bool -") ContainsParameter; - Standard_Boolean ContainsParameter (const Standard_Real thePrm,const Standard_Real theTol,Standard_Integer &OutValue); + /****************** SetShrunkData ******************/ %feature("compactdefaultargs") SetShrunkData; - %feature("autodoc", " * Modifier Sets the shrunk data for the pave block , - shrunk range - the bounding box - + %feature("autodoc", "* Modifier Sets the shrunk data for the pave block , - shrunk range - the bounding box - defines whether the edge can be split :param theTS1: :type theTS1: float :param theTS2: :type theTS2: float :param theBox: :type theBox: Bnd_Box & - :rtype: None -") SetShrunkData; - void SetShrunkData (const Standard_Real theTS1,const Standard_Real theTS2,const Bnd_Box & theBox); - %feature("compactdefaultargs") ShrunkData; - %feature("autodoc", " * Selector Returns the shrunk data for the pave block , - shrunk range - the bounding box + :param theIsSplittable: + :type theIsSplittable: bool + :rtype: None") SetShrunkData; + void SetShrunkData (const Standard_Real theTS1,const Standard_Real theTS2,const Bnd_Box & theBox,const Standard_Boolean theIsSplittable); + /****************** ShrunkData ******************/ + %feature("compactdefaultargs") ShrunkData; + %feature("autodoc", "* Selector Returns the shrunk data for the pave block , - shrunk range - the bounding box - defines whether the edge can be split :param theTS1: :type theTS1: float & :param theTS2: :type theTS2: float & :param theBox: :type theBox: Bnd_Box & - :rtype: None -") ShrunkData; - void ShrunkData (Standard_Real &OutValue,Standard_Real &OutValue,Bnd_Box & theBox); - %feature("compactdefaultargs") HasShrunkData; - %feature("autodoc", " * Query Returns true if the pave block contains the shrunk data + :param theIsSplittable: + :type theIsSplittable: bool + :rtype: None") ShrunkData; + void ShrunkData (Standard_Real &OutValue,Standard_Real &OutValue,Bnd_Box & theBox,Standard_Boolean &OutValue); + + /****************** Update ******************/ + %feature("compactdefaultargs") Update; + %feature("autodoc", "* Modifier Updates the pave block. The extra paves are used to create new pave blocks . - if true, the first pave and the second pave are used to produce new pave blocks. + :param theLPB: + :type theLPB: BOPDS_ListOfPaveBlock & + :param theFlag: default value is Standard_True + :type theFlag: bool + :rtype: None") Update; + void Update (BOPDS_ListOfPaveBlock & theLPB,const Standard_Boolean theFlag = Standard_True); - :rtype: bool -") HasShrunkData; - Standard_Boolean HasShrunkData (); - %feature("compactdefaultargs") Dump; - %feature("autodoc", " :rtype: None -") Dump; - void Dump (); }; @@ -1811,24 +2033,31 @@ class BOPDS_PaveBlock : public MMgt_TShared { __repr__ = _dumps_object } }; + +/**************************** +* class BOPDS_PaveMapHasher * +****************************/ class BOPDS_PaveMapHasher { public: + /****************** HashCode ******************/ %feature("compactdefaultargs") HashCode; - %feature("autodoc", " :param aPave: - :type aPave: BOPDS_Pave & - :param Upper: - :type Upper: int - :rtype: int -") HashCode; - static Standard_Integer HashCode (const BOPDS_Pave & aPave,const Standard_Integer Upper); + %feature("autodoc", "* Computes a hash code for the given pave, in the range [1, theUpperBound] @param thePave the pave 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] + :param thePave: + :type thePave: BOPDS_Pave & + :param theUpperBound: + :type theUpperBound: int + :rtype: int") HashCode; + static Standard_Integer HashCode (const BOPDS_Pave & thePave,Standard_Integer theUpperBound); + + /****************** IsEqual ******************/ %feature("compactdefaultargs") IsEqual; - %feature("autodoc", " :param aPave1: + %feature("autodoc", ":param aPave1: :type aPave1: BOPDS_Pave & :param aPave2: :type aPave2: BOPDS_Pave & - :rtype: bool -") IsEqual; + :rtype: bool") IsEqual; static Standard_Boolean IsEqual (const BOPDS_Pave & aPave1,const BOPDS_Pave & aPave2); + }; @@ -1837,71 +2066,75 @@ class BOPDS_PaveMapHasher { __repr__ = _dumps_object } }; + +/******************** +* class BOPDS_Point * +********************/ %nodefaultctor BOPDS_Point; class BOPDS_Point { public: + /****************** BOPDS_Point ******************/ %feature("compactdefaultargs") BOPDS_Point; - %feature("autodoc", " * Empty contructor - - :rtype: None -") BOPDS_Point; + %feature("autodoc", "* Empty contructor + :rtype: None") BOPDS_Point; BOPDS_Point (); - %feature("compactdefaultargs") SetPnt; - %feature("autodoc", " * Modifier Sets 3D point + /****************** Index ******************/ + %feature("compactdefaultargs") Index; + %feature("autodoc", "* Selector Returns index of the vertex + :rtype: int") Index; + Standard_Integer Index (); + + /****************** Pnt ******************/ + %feature("compactdefaultargs") Pnt; + %feature("autodoc", "* Selector Returns 3D point + :rtype: gp_Pnt") Pnt; + const gp_Pnt Pnt (); + + /****************** Pnt2D1 ******************/ + %feature("compactdefaultargs") Pnt2D1; + %feature("autodoc", "* Selector Returns 2D point on the first face + :rtype: gp_Pnt2d") Pnt2D1; + const gp_Pnt2d Pnt2D1 (); + + /****************** Pnt2D2 ******************/ + %feature("compactdefaultargs") Pnt2D2; + %feature("autodoc", "* Selector Returns 2D point on the second face + :rtype: gp_Pnt2d") Pnt2D2; + const gp_Pnt2d Pnt2D2 (); + + /****************** SetIndex ******************/ + %feature("compactdefaultargs") SetIndex; + %feature("autodoc", "* Modifier Sets the index of the vertex + :param theIndex: + :type theIndex: int + :rtype: None") SetIndex; + void SetIndex (const Standard_Integer theIndex); + + /****************** SetPnt ******************/ + %feature("compactdefaultargs") SetPnt; + %feature("autodoc", "* Modifier Sets 3D point :param thePnt: :type thePnt: gp_Pnt - :rtype: None -") SetPnt; + :rtype: None") SetPnt; void SetPnt (const gp_Pnt & thePnt); - %feature("compactdefaultargs") Pnt; - %feature("autodoc", " * Selector Returns 3D point - :rtype: gp_Pnt -") Pnt; - const gp_Pnt Pnt (); + /****************** SetPnt2D1 ******************/ %feature("compactdefaultargs") SetPnt2D1; - %feature("autodoc", " * Modifier Sets 2D point on the first face - + %feature("autodoc", "* Modifier Sets 2D point on the first face :param thePnt: :type thePnt: gp_Pnt2d - :rtype: None -") SetPnt2D1; + :rtype: None") SetPnt2D1; void SetPnt2D1 (const gp_Pnt2d & thePnt); - %feature("compactdefaultargs") Pnt2D1; - %feature("autodoc", " * Selector Returns 2D point on the first face - :rtype: gp_Pnt2d -") Pnt2D1; - const gp_Pnt2d Pnt2D1 (); + /****************** SetPnt2D2 ******************/ %feature("compactdefaultargs") SetPnt2D2; - %feature("autodoc", " * Modifier Sets 2D point on the second face - + %feature("autodoc", "* Modifier Sets 2D point on the second face :param thePnt: :type thePnt: gp_Pnt2d - :rtype: None -") SetPnt2D2; + :rtype: None") SetPnt2D2; void SetPnt2D2 (const gp_Pnt2d & thePnt); - %feature("compactdefaultargs") Pnt2D2; - %feature("autodoc", " * Selector Returns 2D point on the second face - - :rtype: gp_Pnt2d -") Pnt2D2; - const gp_Pnt2d Pnt2D2 (); - %feature("compactdefaultargs") SetIndex; - %feature("autodoc", " * Modifier Sets the index of the vertex - - :param theIndex: - :type theIndex: int - :rtype: None -") SetIndex; - void SetIndex (const Standard_Integer theIndex); - %feature("compactdefaultargs") Index; - %feature("autodoc", " * Selector Returns index of the vertex - :rtype: int -") Index; - Standard_Integer Index (); }; @@ -1910,153 +2143,159 @@ class BOPDS_Point { __repr__ = _dumps_object } }; + +/************************ +* class BOPDS_ShapeInfo * +************************/ %nodefaultctor BOPDS_ShapeInfo; class BOPDS_ShapeInfo { public: + /****************** BOPDS_ShapeInfo ******************/ %feature("compactdefaultargs") BOPDS_ShapeInfo; - %feature("autodoc", " * Empty contructor - - :rtype: None -") BOPDS_ShapeInfo; + %feature("autodoc", "* Empty contructor + :rtype: None") BOPDS_ShapeInfo; BOPDS_ShapeInfo (); - %feature("compactdefaultargs") BOPDS_ShapeInfo; - %feature("autodoc", " * Contructor theAllocator - the allocator to manage the memory + /****************** BOPDS_ShapeInfo ******************/ + %feature("compactdefaultargs") BOPDS_ShapeInfo; + %feature("autodoc", "* Contructor theAllocator - the allocator to manage the memory :param theAllocator: - :type theAllocator: BOPCol_BaseAllocator & - :rtype: None -") BOPDS_ShapeInfo; - BOPDS_ShapeInfo (const BOPCol_BaseAllocator & theAllocator); - %feature("compactdefaultargs") SetShape; - %feature("autodoc", " * Modifier Sets the shape + :type theAllocator: opencascade::handle & + :rtype: None") BOPDS_ShapeInfo; + BOPDS_ShapeInfo (const opencascade::handle & theAllocator); - :param theS: - :type theS: TopoDS_Shape & - :rtype: None -") SetShape; - void SetShape (const TopoDS_Shape & theS); - %feature("compactdefaultargs") Shape; - %feature("autodoc", " * Selector Returns the shape - - :rtype: TopoDS_Shape -") Shape; - const TopoDS_Shape Shape (); - %feature("compactdefaultargs") SetShapeType; - %feature("autodoc", " * Modifier Sets the type of shape theType + /****************** Box ******************/ + %feature("compactdefaultargs") Box; + %feature("autodoc", "* Selector Returns the boundung box of the shape + :rtype: Bnd_Box") Box; + const Bnd_Box & Box (); - :param theType: - :type theType: TopAbs_ShapeEnum - :rtype: None -") SetShapeType; - void SetShapeType (const TopAbs_ShapeEnum theType); - %feature("compactdefaultargs") ShapeType; - %feature("autodoc", " * Selector Returns the type of shape + /****************** ChangeBox ******************/ + %feature("compactdefaultargs") ChangeBox; + %feature("autodoc", "* Selector/Modifier Returns the boundung box of the shape + :rtype: Bnd_Box") ChangeBox; + Bnd_Box & ChangeBox (); - :rtype: TopAbs_ShapeEnum -") ShapeType; - TopAbs_ShapeEnum ShapeType (); - %feature("compactdefaultargs") SetBox; - %feature("autodoc", " * Modifier Sets the boundung box of the shape theBox + /****************** ChangeSubShapes ******************/ + %feature("compactdefaultargs") ChangeSubShapes; + %feature("autodoc", "* Selector/ Modifier Returns the list of indices of sub-shapes + :rtype: TColStd_ListOfInteger") ChangeSubShapes; + TColStd_ListOfInteger & ChangeSubShapes (); - :param theBox: - :type theBox: Bnd_Box & - :rtype: None -") SetBox; - void SetBox (const Bnd_Box & theBox); - %feature("compactdefaultargs") Box; - %feature("autodoc", " * Selector Returns the boundung box of the shape + /****************** Dump ******************/ + %feature("compactdefaultargs") Dump; + %feature("autodoc", ":rtype: None") Dump; + void Dump (); - :rtype: Bnd_Box -") Box; - const Bnd_Box & Box (); - %feature("compactdefaultargs") ChangeBox; - %feature("autodoc", " * Selector/Modifier Returns the boundung box of the shape + /****************** Flag ******************/ + %feature("compactdefaultargs") Flag; + %feature("autodoc", "* Returns the flag + :rtype: int") Flag; + Standard_Integer Flag (); - :rtype: Bnd_Box -") ChangeBox; - Bnd_Box & ChangeBox (); - %feature("compactdefaultargs") SubShapes; - %feature("autodoc", " * Selector Returns the list of indices of sub-shapes + /****************** HasBRep ******************/ + %feature("compactdefaultargs") HasBRep; + %feature("autodoc", "* Query Returns true if the shape has boundary representation + :rtype: bool") HasBRep; + Standard_Boolean HasBRep (); - :rtype: BOPCol_ListOfInteger -") SubShapes; - const BOPCol_ListOfInteger & SubShapes (); - %feature("compactdefaultargs") ChangeSubShapes; - %feature("autodoc", " * Selector/ Modifier Returns the list of indices of sub-shapes + /****************** HasFlag ******************/ + %feature("compactdefaultargs") HasFlag; + %feature("autodoc", "* Query Returns true if there is flag. + :rtype: bool") HasFlag; + Standard_Boolean HasFlag (); - :rtype: BOPCol_ListOfInteger -") ChangeSubShapes; - BOPCol_ListOfInteger & ChangeSubShapes (); - %feature("compactdefaultargs") HasSubShape; - %feature("autodoc", " * Query Returns true if the shape has sub-shape with index theI + /****************** HasFlag ******************/ + %feature("compactdefaultargs") HasFlag; + %feature("autodoc", "* Query Returns true if there is flag. Returns the the flag theFlag + :param theFlag: + :type theFlag: int & + :rtype: bool") HasFlag; + Standard_Boolean HasFlag (Standard_Integer &OutValue); - :param theI: - :type theI: int - :rtype: bool -") HasSubShape; - Standard_Boolean HasSubShape (const Standard_Integer theI); + /****************** HasReference ******************/ %feature("compactdefaultargs") HasReference; - %feature("autodoc", " :rtype: bool -") HasReference; + %feature("autodoc", ":rtype: bool") HasReference; Standard_Boolean HasReference (); - %feature("compactdefaultargs") SetReference; - %feature("autodoc", " * Modifier Sets the index of a reference information + /****************** HasSubShape ******************/ + %feature("compactdefaultargs") HasSubShape; + %feature("autodoc", "* Query Returns true if the shape has sub-shape with index theI :param theI: :type theI: int - :rtype: None -") SetReference; - void SetReference (const Standard_Integer theI); - %feature("compactdefaultargs") Reference; - %feature("autodoc", " * Selector Returns the index of a reference information - - :rtype: int -") Reference; - Standard_Integer Reference (); - %feature("compactdefaultargs") HasBRep; - %feature("autodoc", " * Query Returns true if the shape has boundary representation + :rtype: bool") HasSubShape; + Standard_Boolean HasSubShape (const Standard_Integer theI); - :rtype: bool -") HasBRep; - Standard_Boolean HasBRep (); + /****************** IsInterfering ******************/ %feature("compactdefaultargs") IsInterfering; - %feature("autodoc", " * Returns true if the shape can be participant of an interference //! Flag - - :rtype: bool -") IsInterfering; + %feature("autodoc", "* Returns true if the shape can be participant of an interference //! Flag + :rtype: bool") IsInterfering; Standard_Boolean IsInterfering (); - %feature("compactdefaultargs") HasFlag; - %feature("autodoc", " * Query Returns true if there is flag. - :rtype: bool -") HasFlag; - Standard_Boolean HasFlag (); - %feature("compactdefaultargs") HasFlag; - %feature("autodoc", " * Query Returns true if there is flag. Returns the the flag theFlag + /****************** Reference ******************/ + %feature("compactdefaultargs") Reference; + %feature("autodoc", "* Selector Returns the index of a reference information + :rtype: int") Reference; + Standard_Integer Reference (); - :param theFlag: - :type theFlag: int & - :rtype: bool -") HasFlag; - Standard_Boolean HasFlag (Standard_Integer &OutValue); - %feature("compactdefaultargs") SetFlag; - %feature("autodoc", " * Modifier Sets the flag + /****************** SetBox ******************/ + %feature("compactdefaultargs") SetBox; + %feature("autodoc", "* Modifier Sets the boundung box of the shape theBox + :param theBox: + :type theBox: Bnd_Box & + :rtype: None") SetBox; + void SetBox (const Bnd_Box & theBox); + /****************** SetFlag ******************/ + %feature("compactdefaultargs") SetFlag; + %feature("autodoc", "* Modifier Sets the flag :param theI: :type theI: int - :rtype: None -") SetFlag; + :rtype: None") SetFlag; void SetFlag (const Standard_Integer theI); - %feature("compactdefaultargs") Flag; - %feature("autodoc", " * Returns the flag - :rtype: int -") Flag; - Standard_Integer Flag (); - %feature("compactdefaultargs") Dump; - %feature("autodoc", " :rtype: None -") Dump; - void Dump (); + /****************** SetReference ******************/ + %feature("compactdefaultargs") SetReference; + %feature("autodoc", "* Modifier Sets the index of a reference information + :param theI: + :type theI: int + :rtype: None") SetReference; + void SetReference (const Standard_Integer theI); + + /****************** SetShape ******************/ + %feature("compactdefaultargs") SetShape; + %feature("autodoc", "* Modifier Sets the shape + :param theS: + :type theS: TopoDS_Shape & + :rtype: None") SetShape; + void SetShape (const TopoDS_Shape & theS); + + /****************** SetShapeType ******************/ + %feature("compactdefaultargs") SetShapeType; + %feature("autodoc", "* Modifier Sets the type of shape theType + :param theType: + :type theType: TopAbs_ShapeEnum + :rtype: None") SetShapeType; + void SetShapeType (const TopAbs_ShapeEnum theType); + + /****************** Shape ******************/ + %feature("compactdefaultargs") Shape; + %feature("autodoc", "* Selector Returns the shape + :rtype: TopoDS_Shape") Shape; + const TopoDS_Shape Shape (); + + /****************** ShapeType ******************/ + %feature("compactdefaultargs") ShapeType; + %feature("autodoc", "* Selector Returns the type of shape + :rtype: TopAbs_ShapeEnum") ShapeType; + TopAbs_ShapeEnum ShapeType (); + + /****************** SubShapes ******************/ + %feature("compactdefaultargs") SubShapes; + %feature("autodoc", "* Selector Returns the list of indices of sub-shapes + :rtype: TColStd_ListOfInteger") SubShapes; + const TColStd_ListOfInteger & SubShapes (); + }; @@ -2065,99 +2304,109 @@ class BOPDS_ShapeInfo { __repr__ = _dumps_object } }; + +/************************** +* class BOPDS_SubIterator * +**************************/ %nodefaultctor BOPDS_SubIterator; class BOPDS_SubIterator { public: + /****************** BOPDS_SubIterator ******************/ %feature("compactdefaultargs") BOPDS_SubIterator; - %feature("autodoc", " * Empty contructor - - :rtype: None -") BOPDS_SubIterator; + %feature("autodoc", "* Empty constructor + :rtype: None") BOPDS_SubIterator; BOPDS_SubIterator (); - %feature("compactdefaultargs") BOPDS_SubIterator; - %feature("autodoc", " * Contructor theAllocator - the allocator to manage the memory + /****************** BOPDS_SubIterator ******************/ + %feature("compactdefaultargs") BOPDS_SubIterator; + %feature("autodoc", "* Constructor theAllocator - the allocator to manage the memory :param theAllocator: - :type theAllocator: BOPCol_BaseAllocator & - :rtype: None -") BOPDS_SubIterator; - BOPDS_SubIterator (const BOPCol_BaseAllocator & theAllocator); - %feature("compactdefaultargs") SetDS; - %feature("autodoc", " * Modifier Sets the data structure to process + :type theAllocator: opencascade::handle & + :rtype: None") BOPDS_SubIterator; + BOPDS_SubIterator (const opencascade::handle & theAllocator); + + /****************** DS ******************/ + %feature("compactdefaultargs") DS; + %feature("autodoc", "* Returns the data structure + :rtype: BOPDS_DS") DS; + const BOPDS_DS & DS (); + + /****************** ExpectedLength ******************/ + %feature("compactdefaultargs") ExpectedLength; + %feature("autodoc", "* Returns the number of interfering pairs + :rtype: int") ExpectedLength; + Standard_Integer ExpectedLength (); + + /****************** Initialize ******************/ + %feature("compactdefaultargs") Initialize; + %feature("autodoc", "* Initializes the iterator + :rtype: None") Initialize; + void Initialize (); + + /****************** More ******************/ + %feature("compactdefaultargs") More; + %feature("autodoc", "* Returns true if there are more pairs of intersected shapes + :rtype: bool") More; + Standard_Boolean More (); + + /****************** Next ******************/ + %feature("compactdefaultargs") Next; + %feature("autodoc", "* Moves iterations ahead + :rtype: None") Next; + void Next (); + + /****************** Prepare ******************/ + %feature("compactdefaultargs") Prepare; + %feature("autodoc", "* Perform the intersection algorithm and prepare the results to be used + :rtype: void") Prepare; + virtual void Prepare (); + /****************** SetDS ******************/ + %feature("compactdefaultargs") SetDS; + %feature("autodoc", "* Sets the data structure to process. It is used to access the shapes and their bounding boxes. :param pDS: :type pDS: BOPDS_PDS & - :rtype: None -") SetDS; + :rtype: None") SetDS; void SetDS (const BOPDS_PDS & pDS); - %feature("compactdefaultargs") DS; - %feature("autodoc", " * Selector Returns the data structure - :rtype: BOPDS_DS -") DS; - const BOPDS_DS & DS (); + /****************** SetSubSet1 ******************/ %feature("compactdefaultargs") SetSubSet1; - %feature("autodoc", " * Modifier Sets the first set of indices to process - + %feature("autodoc", "* Sets the first set of indices to process :param theLI: - :type theLI: BOPCol_ListOfInteger & - :rtype: None -") SetSubSet1; - void SetSubSet1 (const BOPCol_ListOfInteger & theLI); - %feature("compactdefaultargs") SubSet1; - %feature("autodoc", " * Selector Returns the first set of indices to process + :type theLI: TColStd_ListOfInteger & + :rtype: None") SetSubSet1; + void SetSubSet1 (const TColStd_ListOfInteger & theLI); - :rtype: BOPCol_ListOfInteger -") SubSet1; - const BOPCol_ListOfInteger & SubSet1 (); + /****************** SetSubSet2 ******************/ %feature("compactdefaultargs") SetSubSet2; - %feature("autodoc", " * Modifier Sets the second set of indices to process - + %feature("autodoc", "* Sets the second set of indices to process :param theLI: - :type theLI: BOPCol_ListOfInteger & - :rtype: None -") SetSubSet2; - void SetSubSet2 (const BOPCol_ListOfInteger & theLI); - %feature("compactdefaultargs") SubSet2; - %feature("autodoc", " * Selector Returns the second set of indices to process + :type theLI: TColStd_ListOfInteger & + :rtype: None") SetSubSet2; + void SetSubSet2 (const TColStd_ListOfInteger & theLI); - :rtype: BOPCol_ListOfInteger -") SubSet2; - const BOPCol_ListOfInteger & SubSet2 (); - %feature("compactdefaultargs") Initialize; - %feature("autodoc", " * Initializes the iterator - - :rtype: None -") Initialize; - void Initialize (); - %feature("compactdefaultargs") More; - %feature("autodoc", " * Returns true if still there are pairs of intersected shapes + /****************** SubSet1 ******************/ + %feature("compactdefaultargs") SubSet1; + %feature("autodoc", "* Returns the first set of indices to process + :rtype: TColStd_ListOfInteger") SubSet1; + const TColStd_ListOfInteger & SubSet1 (); - :rtype: bool -") More; - Standard_Boolean More (); - %feature("compactdefaultargs") Next; - %feature("autodoc", " * Moves iterations ahead + /****************** SubSet2 ******************/ + %feature("compactdefaultargs") SubSet2; + %feature("autodoc", "* Returns the second set of indices to process + :rtype: TColStd_ListOfInteger") SubSet2; + const TColStd_ListOfInteger & SubSet2 (); - :rtype: None -") Next; - void Next (); + /****************** Value ******************/ %feature("compactdefaultargs") Value; - %feature("autodoc", " * Returns indices (DS) of intersected shapes theIndex1 - the index of the first shape theIndex2 - the index of the second shape - + %feature("autodoc", "* Returns indices (DS) of intersected shapes theIndex1 - the index of the first shape theIndex2 - the index of the second shape :param theIndex1: :type theIndex1: int & :param theIndex2: :type theIndex2: int & - :rtype: None -") Value; + :rtype: None") Value; void Value (Standard_Integer &OutValue,Standard_Integer &OutValue); - %feature("compactdefaultargs") Prepare; - %feature("autodoc", " * Perform the intersection algorithm and prepare the results to be used - :rtype: void -") Prepare; - virtual void Prepare (); }; @@ -2166,42 +2415,46 @@ class BOPDS_SubIterator { __repr__ = _dumps_object } }; + +/******************** +* class BOPDS_Tools * +********************/ class BOPDS_Tools { public: - %feature("compactdefaultargs") TypeToInteger; - %feature("autodoc", " * Converts the conmbination of two types of shape , to the one integer value, that is returned + /****************** HasBRep ******************/ + %feature("compactdefaultargs") HasBRep; + %feature("autodoc", "* Returns true if the type correspond to a shape having boundary representation + :param theT: + :type theT: TopAbs_ShapeEnum + :rtype: bool") HasBRep; + static Standard_Boolean HasBRep (const TopAbs_ShapeEnum theT); + + /****************** IsInterfering ******************/ + %feature("compactdefaultargs") IsInterfering; + %feature("autodoc", "* Returns true if the type can be participant of an interference + :param theT: + :type theT: TopAbs_ShapeEnum + :rtype: bool") IsInterfering; + static Standard_Boolean IsInterfering (const TopAbs_ShapeEnum theT); + /****************** TypeToInteger ******************/ + %feature("compactdefaultargs") TypeToInteger; + %feature("autodoc", "* Converts the conmbination of two types of shape , to the one integer value, that is returned :param theT1: :type theT1: TopAbs_ShapeEnum :param theT2: :type theT2: TopAbs_ShapeEnum - :rtype: int -") TypeToInteger; + :rtype: int") TypeToInteger; static Standard_Integer TypeToInteger (const TopAbs_ShapeEnum theT1,const TopAbs_ShapeEnum theT2); - %feature("compactdefaultargs") TypeToInteger; - %feature("autodoc", " * Converts the type of shape , to integer value, that is returned + /****************** TypeToInteger ******************/ + %feature("compactdefaultargs") TypeToInteger; + %feature("autodoc", "* Converts the type of shape , to integer value, that is returned :param theT: :type theT: TopAbs_ShapeEnum - :rtype: int -") TypeToInteger; + :rtype: int") TypeToInteger; static Standard_Integer TypeToInteger (const TopAbs_ShapeEnum theT); - %feature("compactdefaultargs") HasBRep; - %feature("autodoc", " * Returns true if the type correspond to a shape having boundary representation - - :param theT: - :type theT: TopAbs_ShapeEnum - :rtype: bool -") HasBRep; - static Standard_Boolean HasBRep (const TopAbs_ShapeEnum theT); - %feature("compactdefaultargs") IsInterfering; - %feature("autodoc", " * Returns true if the type can be participant of an interference - :param theT: - :type theT: TopAbs_ShapeEnum - :rtype: bool -") IsInterfering; - static Standard_Boolean IsInterfering (const TopAbs_ShapeEnum theT); }; @@ -2210,37 +2463,41 @@ class BOPDS_Tools { __repr__ = _dumps_object } }; + +/*********************** +* class BOPDS_InterfEE * +***********************/ %nodefaultctor BOPDS_InterfEE; class BOPDS_InterfEE : public BOPDS_Interf { public: + /****************** BOPDS_InterfEE ******************/ %feature("compactdefaultargs") BOPDS_InterfEE; - %feature("autodoc", " * /** * Constructor */ - - :rtype: None -") BOPDS_InterfEE; + %feature("autodoc", "* /** * Constructor */ + :rtype: None") BOPDS_InterfEE; BOPDS_InterfEE (); - %feature("compactdefaultargs") BOPDS_InterfEE; - %feature("autodoc", " * /** * Constructor * @param theAllocator * allocator to manage the memory */ + /****************** BOPDS_InterfEE ******************/ + %feature("compactdefaultargs") BOPDS_InterfEE; + %feature("autodoc", "* /** * Constructor * @param theAllocator * allocator to manage the memory */ :param theAllocator: - :type theAllocator: Handle_NCollection_BaseAllocator & - :rtype: None -") BOPDS_InterfEE; - BOPDS_InterfEE (const Handle_NCollection_BaseAllocator & theAllocator); - %feature("compactdefaultargs") SetCommonPart; - %feature("autodoc", " * /** * Modifier * Sets the info of common part * @param theCP * common part */ + :type theAllocator: opencascade::handle & + :rtype: None") BOPDS_InterfEE; + BOPDS_InterfEE (const opencascade::handle & theAllocator); + /****************** CommonPart ******************/ + %feature("compactdefaultargs") CommonPart; + %feature("autodoc", "* /** * Selector * Returns the info of common part * returns * common part */ + :rtype: IntTools_CommonPrt") CommonPart; + const IntTools_CommonPrt & CommonPart (); + + /****************** SetCommonPart ******************/ + %feature("compactdefaultargs") SetCommonPart; + %feature("autodoc", "* /** * Modifier * Sets the info of common part * @param theCP * common part */ :param theCP: :type theCP: IntTools_CommonPrt & - :rtype: None -") SetCommonPart; + :rtype: None") SetCommonPart; void SetCommonPart (const IntTools_CommonPrt & theCP); - %feature("compactdefaultargs") CommonPart; - %feature("autodoc", " * /** * Selector * Returns the info of common part * returns * common part */ - :rtype: IntTools_CommonPrt -") CommonPart; - const IntTools_CommonPrt & CommonPart (); }; @@ -2249,37 +2506,41 @@ class BOPDS_InterfEE : public BOPDS_Interf { __repr__ = _dumps_object } }; + +/*********************** +* class BOPDS_InterfEF * +***********************/ %nodefaultctor BOPDS_InterfEF; class BOPDS_InterfEF : public BOPDS_Interf { public: + /****************** BOPDS_InterfEF ******************/ %feature("compactdefaultargs") BOPDS_InterfEF; - %feature("autodoc", " * /** * Constructor */ - - :rtype: None -") BOPDS_InterfEF; + %feature("autodoc", "* /** * Constructor */ + :rtype: None") BOPDS_InterfEF; BOPDS_InterfEF (); - %feature("compactdefaultargs") BOPDS_InterfEF; - %feature("autodoc", " * /** * Constructor * @param theAllocator * allocator to manage the memory *//** * Constructor * @param theAllocator * allocator to manage the memory */ + /****************** BOPDS_InterfEF ******************/ + %feature("compactdefaultargs") BOPDS_InterfEF; + %feature("autodoc", "* /** * Constructor * @param theAllocator * allocator to manage the memory *//** * Constructor * @param theAllocator * allocator to manage the memory */ :param theAllocator: - :type theAllocator: Handle_NCollection_BaseAllocator & - :rtype: None -") BOPDS_InterfEF; - BOPDS_InterfEF (const Handle_NCollection_BaseAllocator & theAllocator); - %feature("compactdefaultargs") SetCommonPart; - %feature("autodoc", " * /** * Modifier * Sets the info of common part * @param theCP * common part */ + :type theAllocator: opencascade::handle & + :rtype: None") BOPDS_InterfEF; + BOPDS_InterfEF (const opencascade::handle & theAllocator); + + /****************** CommonPart ******************/ + %feature("compactdefaultargs") CommonPart; + %feature("autodoc", "* /** * Selector * Returns the info of common part * returns * common part */ + :rtype: IntTools_CommonPrt") CommonPart; + const IntTools_CommonPrt & CommonPart (); + /****************** SetCommonPart ******************/ + %feature("compactdefaultargs") SetCommonPart; + %feature("autodoc", "* /** * Modifier * Sets the info of common part * @param theCP * common part */ :param theCP: :type theCP: IntTools_CommonPrt & - :rtype: None -") SetCommonPart; + :rtype: None") SetCommonPart; void SetCommonPart (const IntTools_CommonPrt & theCP); - %feature("compactdefaultargs") CommonPart; - %feature("autodoc", " * /** * Selector * Returns the info of common part * returns * common part */ - :rtype: IntTools_CommonPrt -") CommonPart; - const IntTools_CommonPrt & CommonPart (); }; @@ -2288,23 +2549,27 @@ class BOPDS_InterfEF : public BOPDS_Interf { __repr__ = _dumps_object } }; + +/*********************** +* class BOPDS_InterfEZ * +***********************/ %nodefaultctor BOPDS_InterfEZ; class BOPDS_InterfEZ : public BOPDS_Interf { public: + /****************** BOPDS_InterfEZ ******************/ %feature("compactdefaultargs") BOPDS_InterfEZ; - %feature("autodoc", " * /** * Constructor */ - - :rtype: None -") BOPDS_InterfEZ; + %feature("autodoc", "* /** * Constructor */ + :rtype: None") BOPDS_InterfEZ; BOPDS_InterfEZ (); - %feature("compactdefaultargs") BOPDS_InterfEZ; - %feature("autodoc", " * /** * Constructor * @param theAllocator * allocator to manage the memory */ + /****************** BOPDS_InterfEZ ******************/ + %feature("compactdefaultargs") BOPDS_InterfEZ; + %feature("autodoc", "* /** * Constructor * @param theAllocator * allocator to manage the memory */ :param theAllocator: - :type theAllocator: Handle_NCollection_BaseAllocator & - :rtype: None -") BOPDS_InterfEZ; - BOPDS_InterfEZ (const Handle_NCollection_BaseAllocator & theAllocator); + :type theAllocator: opencascade::handle & + :rtype: None") BOPDS_InterfEZ; + BOPDS_InterfEZ (const opencascade::handle & theAllocator); + }; @@ -2313,91 +2578,67 @@ class BOPDS_InterfEZ : public BOPDS_Interf { __repr__ = _dumps_object } }; + +/*********************** +* class BOPDS_InterfFF * +***********************/ %nodefaultctor BOPDS_InterfFF; class BOPDS_InterfFF : public BOPDS_Interf { public: + /****************** BOPDS_InterfFF ******************/ %feature("compactdefaultargs") BOPDS_InterfFF; - %feature("autodoc", " * /** * Constructor */ - - :rtype: None -") BOPDS_InterfFF; + %feature("autodoc", "* /** * Constructor */ + :rtype: None") BOPDS_InterfFF; BOPDS_InterfFF (); - %feature("compactdefaultargs") Init; - %feature("autodoc", " * /** * Initializer * @param theNbCurves * number of intersection curves * @param theNbPoints * number of intersection points */ + /****************** ChangeCurves ******************/ + %feature("compactdefaultargs") ChangeCurves; + %feature("autodoc", "* /** * Selector/Modifier * Returns the intersection curves * returns * intersection curves */ + :rtype: BOPDS_VectorOfCurve") ChangeCurves; + BOPDS_VectorOfCurve & ChangeCurves (); + + /****************** ChangePoints ******************/ + %feature("compactdefaultargs") ChangePoints; + %feature("autodoc", "* /** * Selector/Modifier * Returns the intersection points * returns * intersection points */ + :rtype: BOPDS_VectorOfPoint") ChangePoints; + BOPDS_VectorOfPoint & ChangePoints (); + + /****************** Curves ******************/ + %feature("compactdefaultargs") Curves; + %feature("autodoc", "* /** * Selector * Returns the intersection curves * returns * intersection curves */ + :rtype: BOPDS_VectorOfCurve") Curves; + const BOPDS_VectorOfCurve & Curves (); + + /****************** Init ******************/ + %feature("compactdefaultargs") Init; + %feature("autodoc", "* /** * Initializer * @param theNbCurves * number of intersection curves * @param theNbPoints * number of intersection points */ :param theNbCurves: :type theNbCurves: int :param theNbPoints: :type theNbPoints: int - :rtype: None -") Init; + :rtype: None") Init; void Init (const Standard_Integer theNbCurves,const Standard_Integer theNbPoints); - %feature("compactdefaultargs") SetTangentFaces; - %feature("autodoc", " * /** * Modifier * Sets the flag of whether the faces are tangent * @param theFlag * the flag */ + /****************** Points ******************/ + %feature("compactdefaultargs") Points; + %feature("autodoc", "* /** * Selector * Returns the intersection points * returns * intersection points */ + :rtype: BOPDS_VectorOfPoint") Points; + const BOPDS_VectorOfPoint & Points (); + + /****************** SetTangentFaces ******************/ + %feature("compactdefaultargs") SetTangentFaces; + %feature("autodoc", "* /** * Modifier * Sets the flag of whether the faces are tangent * @param theFlag * the flag */ :param theFlag: :type theFlag: bool - :rtype: None -") SetTangentFaces; + :rtype: None") SetTangentFaces; void SetTangentFaces (const Standard_Boolean theFlag); - %feature("compactdefaultargs") TangentFaces; - %feature("autodoc", " * /** * Selector * Returns the flag whether the faces are tangent * returns * the flag */ - :rtype: bool -") TangentFaces; + /****************** TangentFaces ******************/ + %feature("compactdefaultargs") TangentFaces; + %feature("autodoc", "* /** * Selector * Returns the flag whether the faces are tangent * returns * the flag */ + :rtype: bool") TangentFaces; Standard_Boolean TangentFaces (); - %feature("compactdefaultargs") SetTolR3D; - %feature("autodoc", " * /** * Modifier * Sets the value of 3D tolerance * @param theTol * 3D tolerance */ - - :param theTol: - :type theTol: float - :rtype: None -") SetTolR3D; - void SetTolR3D (const Standard_Real theTol); - %feature("compactdefaultargs") TolR3D; - %feature("autodoc", " * /** * Selector * Returns the value of 3D tolerance * returns * 3D tolerance */ - - :rtype: float -") TolR3D; - Standard_Real TolR3D (); - %feature("compactdefaultargs") SetTolR2D; - %feature("autodoc", " * /** * Modifier * Sets the value of 2D tolerance * @param theTol * 2D tolerance */ - - :param theTol: - :type theTol: float - :rtype: None -") SetTolR2D; - void SetTolR2D (const Standard_Real theTol); - %feature("compactdefaultargs") TolR2D; - %feature("autodoc", " * /** * Selector * Returns the value of 2D tolerance * returns * 2D tolerance */ - - :rtype: float -") TolR2D; - Standard_Real TolR2D (); - %feature("compactdefaultargs") Curves; - %feature("autodoc", " * /** * Selector * Returns the intersection curves * returns * intersection curves */ - - :rtype: BOPDS_VectorOfCurve -") Curves; - const BOPDS_VectorOfCurve & Curves (); - %feature("compactdefaultargs") ChangeCurves; - %feature("autodoc", " * /** * Selector/Modifier * Returns the intersection curves * returns * intersection curves */ - :rtype: BOPDS_VectorOfCurve -") ChangeCurves; - BOPDS_VectorOfCurve & ChangeCurves (); - %feature("compactdefaultargs") Points; - %feature("autodoc", " * /** * Selector * Returns the intersection points * returns * intersection points */ - - :rtype: BOPDS_VectorOfPoint -") Points; - const BOPDS_VectorOfPoint & Points (); - %feature("compactdefaultargs") ChangePoints; - %feature("autodoc", " * /** * Selector/Modifier * Returns the intersection points * returns * intersection points */ - - :rtype: BOPDS_VectorOfPoint -") ChangePoints; - BOPDS_VectorOfPoint & ChangePoints (); }; @@ -2406,23 +2647,27 @@ class BOPDS_InterfFF : public BOPDS_Interf { __repr__ = _dumps_object } }; + +/*********************** +* class BOPDS_InterfFZ * +***********************/ %nodefaultctor BOPDS_InterfFZ; class BOPDS_InterfFZ : public BOPDS_Interf { public: + /****************** BOPDS_InterfFZ ******************/ %feature("compactdefaultargs") BOPDS_InterfFZ; - %feature("autodoc", " * /** * Constructor */ - - :rtype: None -") BOPDS_InterfFZ; + %feature("autodoc", "* /** * Constructor */ + :rtype: None") BOPDS_InterfFZ; BOPDS_InterfFZ (); - %feature("compactdefaultargs") BOPDS_InterfFZ; - %feature("autodoc", " * /** * Constructor * @param theAllocator * allocator to manage the memory */ + /****************** BOPDS_InterfFZ ******************/ + %feature("compactdefaultargs") BOPDS_InterfFZ; + %feature("autodoc", "* /** * Constructor * @param theAllocator * allocator to manage the memory */ :param theAllocator: - :type theAllocator: Handle_NCollection_BaseAllocator & - :rtype: None -") BOPDS_InterfFZ; - BOPDS_InterfFZ (const Handle_NCollection_BaseAllocator & theAllocator); + :type theAllocator: opencascade::handle & + :rtype: None") BOPDS_InterfFZ; + BOPDS_InterfFZ (const opencascade::handle & theAllocator); + }; @@ -2431,37 +2676,41 @@ class BOPDS_InterfFZ : public BOPDS_Interf { __repr__ = _dumps_object } }; + +/*********************** +* class BOPDS_InterfVE * +***********************/ %nodefaultctor BOPDS_InterfVE; class BOPDS_InterfVE : public BOPDS_Interf { public: + /****************** BOPDS_InterfVE ******************/ %feature("compactdefaultargs") BOPDS_InterfVE; - %feature("autodoc", " * /** * Constructor */ - - :rtype: None -") BOPDS_InterfVE; + %feature("autodoc", "* /** * Constructor */ + :rtype: None") BOPDS_InterfVE; BOPDS_InterfVE (); - %feature("compactdefaultargs") BOPDS_InterfVE; - %feature("autodoc", " * /** * Constructor * @param theAllocator * allocator to manage the memory */ + /****************** BOPDS_InterfVE ******************/ + %feature("compactdefaultargs") BOPDS_InterfVE; + %feature("autodoc", "* /** * Constructor * @param theAllocator * allocator to manage the memory */ :param theAllocator: - :type theAllocator: Handle_NCollection_BaseAllocator & - :rtype: None -") BOPDS_InterfVE; - BOPDS_InterfVE (const Handle_NCollection_BaseAllocator & theAllocator); - %feature("compactdefaultargs") SetParameter; - %feature("autodoc", " * /** * Modifier * Sets the value of parameter * of the point of the vertex * on the curve of the edge * @param theT * value of parameter */ + :type theAllocator: opencascade::handle & + :rtype: None") BOPDS_InterfVE; + BOPDS_InterfVE (const opencascade::handle & theAllocator); + + /****************** Parameter ******************/ + %feature("compactdefaultargs") Parameter; + %feature("autodoc", "* /** * Selector * Returrns the value of parameter * of the point of the vertex * on the curve of the edge * returns * value of parameter */ + :rtype: float") Parameter; + Standard_Real Parameter (); + /****************** SetParameter ******************/ + %feature("compactdefaultargs") SetParameter; + %feature("autodoc", "* /** * Modifier * Sets the value of parameter * of the point of the vertex * on the curve of the edge * @param theT * value of parameter */ :param theT: :type theT: float - :rtype: None -") SetParameter; + :rtype: None") SetParameter; void SetParameter (const Standard_Real theT); - %feature("compactdefaultargs") Parameter; - %feature("autodoc", " * /** * Selector * Returrns the value of parameter * of the point of the vertex * on the curve of the edge * returns * value of parameter */ - :rtype: float -") Parameter; - Standard_Real Parameter (); }; @@ -2470,43 +2719,47 @@ class BOPDS_InterfVE : public BOPDS_Interf { __repr__ = _dumps_object } }; + +/*********************** +* class BOPDS_InterfVF * +***********************/ %nodefaultctor BOPDS_InterfVF; class BOPDS_InterfVF : public BOPDS_Interf { public: + /****************** BOPDS_InterfVF ******************/ %feature("compactdefaultargs") BOPDS_InterfVF; - %feature("autodoc", " * /** * Constructor */ - - :rtype: None -") BOPDS_InterfVF; + %feature("autodoc", "* /** * Constructor */ + :rtype: None") BOPDS_InterfVF; BOPDS_InterfVF (); - %feature("compactdefaultargs") BOPDS_InterfVF; - %feature("autodoc", " * /** * Constructor * @param theAllocator * allocator to manage the memory */ + /****************** BOPDS_InterfVF ******************/ + %feature("compactdefaultargs") BOPDS_InterfVF; + %feature("autodoc", "* /** * Constructor * @param theAllocator * allocator to manage the memory */ :param theAllocator: - :type theAllocator: Handle_NCollection_BaseAllocator & - :rtype: None -") BOPDS_InterfVF; - BOPDS_InterfVF (const Handle_NCollection_BaseAllocator & theAllocator); - %feature("compactdefaultargs") SetUV; - %feature("autodoc", " * /** * Modifier * Sets the value of parameters * of the point of the vertex * on the surface of of the face * @param theU * value of U parameter * @param theV * value of U parameter */ + :type theAllocator: opencascade::handle & + :rtype: None") BOPDS_InterfVF; + BOPDS_InterfVF (const opencascade::handle & theAllocator); + /****************** SetUV ******************/ + %feature("compactdefaultargs") SetUV; + %feature("autodoc", "* /** * Modifier * Sets the value of parameters * of the point of the vertex * on the surface of of the face * @param theU * value of U parameter * @param theV * value of U parameter */ :param theU: :type theU: float :param theV: :type theV: float - :rtype: None -") SetUV; + :rtype: None") SetUV; void SetUV (const Standard_Real theU,const Standard_Real theV); - %feature("compactdefaultargs") UV; - %feature("autodoc", " * /** * Selector * Returns the value of parameters * of the point of the vertex * on the surface of of the face * @param theU * value of U parameter * @param theV * value of U parameter */ + /****************** UV ******************/ + %feature("compactdefaultargs") UV; + %feature("autodoc", "* /** * Selector * Returns the value of parameters * of the point of the vertex * on the surface of of the face * @param theU * value of U parameter * @param theV * value of U parameter */ :param theU: :type theU: float & :param theV: :type theV: float & - :rtype: None -") UV; + :rtype: None") UV; void UV (Standard_Real &OutValue,Standard_Real &OutValue); + }; @@ -2515,23 +2768,27 @@ class BOPDS_InterfVF : public BOPDS_Interf { __repr__ = _dumps_object } }; + +/*********************** +* class BOPDS_InterfVV * +***********************/ %nodefaultctor BOPDS_InterfVV; class BOPDS_InterfVV : public BOPDS_Interf { public: + /****************** BOPDS_InterfVV ******************/ %feature("compactdefaultargs") BOPDS_InterfVV; - %feature("autodoc", " * /** * Constructor */ - - :rtype: None -") BOPDS_InterfVV; + %feature("autodoc", "* /** * Constructor */ + :rtype: None") BOPDS_InterfVV; BOPDS_InterfVV (); - %feature("compactdefaultargs") BOPDS_InterfVV; - %feature("autodoc", " * /** * Constructor * @param theAllocator * allocator to manage the memory */ + /****************** BOPDS_InterfVV ******************/ + %feature("compactdefaultargs") BOPDS_InterfVV; + %feature("autodoc", "* /** * Constructor * @param theAllocator * allocator to manage the memory */ :param theAllocator: - :type theAllocator: Handle_NCollection_BaseAllocator & - :rtype: None -") BOPDS_InterfVV; - BOPDS_InterfVV (const Handle_NCollection_BaseAllocator & theAllocator); + :type theAllocator: opencascade::handle & + :rtype: None") BOPDS_InterfVV; + BOPDS_InterfVV (const opencascade::handle & theAllocator); + }; @@ -2540,23 +2797,27 @@ class BOPDS_InterfVV : public BOPDS_Interf { __repr__ = _dumps_object } }; + +/*********************** +* class BOPDS_InterfVZ * +***********************/ %nodefaultctor BOPDS_InterfVZ; class BOPDS_InterfVZ : public BOPDS_Interf { public: + /****************** BOPDS_InterfVZ ******************/ %feature("compactdefaultargs") BOPDS_InterfVZ; - %feature("autodoc", " * /** * Constructor */ - - :rtype: None -") BOPDS_InterfVZ; + %feature("autodoc", "* /** * Constructor */ + :rtype: None") BOPDS_InterfVZ; BOPDS_InterfVZ (); - %feature("compactdefaultargs") BOPDS_InterfVZ; - %feature("autodoc", " * /** * Constructor * @param theAllocator * allocator to manage the memory */ + /****************** BOPDS_InterfVZ ******************/ + %feature("compactdefaultargs") BOPDS_InterfVZ; + %feature("autodoc", "* /** * Constructor * @param theAllocator * allocator to manage the memory */ :param theAllocator: - :type theAllocator: Handle_NCollection_BaseAllocator & - :rtype: None -") BOPDS_InterfVZ; - BOPDS_InterfVZ (const Handle_NCollection_BaseAllocator & theAllocator); + :type theAllocator: opencascade::handle & + :rtype: None") BOPDS_InterfVZ; + BOPDS_InterfVZ (const opencascade::handle & theAllocator); + }; @@ -2565,23 +2826,27 @@ class BOPDS_InterfVZ : public BOPDS_Interf { __repr__ = _dumps_object } }; + +/*********************** +* class BOPDS_InterfZZ * +***********************/ %nodefaultctor BOPDS_InterfZZ; class BOPDS_InterfZZ : public BOPDS_Interf { public: + /****************** BOPDS_InterfZZ ******************/ %feature("compactdefaultargs") BOPDS_InterfZZ; - %feature("autodoc", " * /** * Constructor */ - - :rtype: None -") BOPDS_InterfZZ; + %feature("autodoc", "* /** * Constructor */ + :rtype: None") BOPDS_InterfZZ; BOPDS_InterfZZ (); - %feature("compactdefaultargs") BOPDS_InterfZZ; - %feature("autodoc", " * /** * Constructor * @param theAllocator * allocator to manage the memory */ + /****************** BOPDS_InterfZZ ******************/ + %feature("compactdefaultargs") BOPDS_InterfZZ; + %feature("autodoc", "* /** * Constructor * @param theAllocator * allocator to manage the memory */ :param theAllocator: - :type theAllocator: Handle_NCollection_BaseAllocator & - :rtype: None -") BOPDS_InterfZZ; - BOPDS_InterfZZ (const Handle_NCollection_BaseAllocator & theAllocator); + :type theAllocator: opencascade::handle & + :rtype: None") BOPDS_InterfZZ; + BOPDS_InterfZZ (const opencascade::handle & theAllocator); + }; @@ -2590,31 +2855,35 @@ class BOPDS_InterfZZ : public BOPDS_Interf { __repr__ = _dumps_object } }; + +/************************* +* class BOPDS_IteratorSI * +*************************/ %nodefaultctor BOPDS_IteratorSI; class BOPDS_IteratorSI : public BOPDS_Iterator { public: + /****************** BOPDS_IteratorSI ******************/ %feature("compactdefaultargs") BOPDS_IteratorSI; - %feature("autodoc", " * Empty contructor - - :rtype: None -") BOPDS_IteratorSI; + %feature("autodoc", "* Empty contructor + :rtype: None") BOPDS_IteratorSI; BOPDS_IteratorSI (); - %feature("compactdefaultargs") BOPDS_IteratorSI; - %feature("autodoc", " * Contructor theAllocator - the allocator to manage the memory + /****************** BOPDS_IteratorSI ******************/ + %feature("compactdefaultargs") BOPDS_IteratorSI; + %feature("autodoc", "* Contructor theAllocator - the allocator to manage the memory :param theAllocator: - :type theAllocator: BOPCol_BaseAllocator & - :rtype: None -") BOPDS_IteratorSI; - BOPDS_IteratorSI (const BOPCol_BaseAllocator & theAllocator); - %feature("compactdefaultargs") UpdateByLevelOfCheck; - %feature("autodoc", " * Updates the lists of possible intersections according to the value of . It defines which interferferences will be checked: 0 - only V/V; 1 - V/V and V/E; 2 - V/V, V/E and E/E; 3 - V/V, V/E, E/E and V/F; 4 - V/V, V/E, E/E, V/F and E/F; other - all interferences. + :type theAllocator: opencascade::handle & + :rtype: None") BOPDS_IteratorSI; + BOPDS_IteratorSI (const opencascade::handle & theAllocator); + /****************** UpdateByLevelOfCheck ******************/ + %feature("compactdefaultargs") UpdateByLevelOfCheck; + %feature("autodoc", "* Updates the lists of possible intersections according to the value of . It defines which interferferences will be checked: 0 - only V/V; 1 - V/V and V/E; 2 - V/V, V/E and E/E; 3 - V/V, V/E, E/E and V/F; 4 - V/V, V/E, E/E, V/F and E/F; other - all interferences. :param theLevel: :type theLevel: int - :rtype: None -") UpdateByLevelOfCheck; + :rtype: None") UpdateByLevelOfCheck; void UpdateByLevelOfCheck (const Standard_Integer theLevel); + }; @@ -2623,46 +2892,7 @@ class BOPDS_IteratorSI : public BOPDS_Iterator { __repr__ = _dumps_object } }; -%nodefaultctor BOPDS_PassKeyBoolean; -class BOPDS_PassKeyBoolean : public BOPDS_PassKey { - public: - %feature("compactdefaultargs") BOPDS_PassKeyBoolean; - %feature("autodoc", " :rtype: None -") BOPDS_PassKeyBoolean; - BOPDS_PassKeyBoolean (); - %feature("compactdefaultargs") BOPDS_PassKeyBoolean; - %feature("autodoc", " :param theAllocator: - :type theAllocator: BOPCol_BaseAllocator & - :rtype: None -") BOPDS_PassKeyBoolean; - BOPDS_PassKeyBoolean (const BOPCol_BaseAllocator & theAllocator); - %feature("compactdefaultargs") BOPDS_PassKeyBoolean; - %feature("autodoc", " :param Other: - :type Other: BOPDS_PassKeyBoolean & - :rtype: None -") BOPDS_PassKeyBoolean; - BOPDS_PassKeyBoolean (const BOPDS_PassKeyBoolean & Other); - %feature("compactdefaultargs") SetFlag; - %feature("autodoc", " :param theFlag: - :type theFlag: bool - :rtype: None -") SetFlag; - void SetFlag (const Standard_Boolean theFlag); - %feature("compactdefaultargs") operator =; - %feature("autodoc", " :param &: - :type &: BOPDS_PassKeyBoolean - :rtype: BOPDS_PassKeyBoolean -") operator =; - BOPDS_PassKeyBoolean & operator = (const BOPDS_PassKeyBoolean &); - %feature("compactdefaultargs") Flag; - %feature("autodoc", " :rtype: bool -") Flag; - Standard_Boolean Flag (); -}; - -%extend BOPDS_PassKeyBoolean { - %pythoncode { - __repr__ = _dumps_object - } -}; +/* harray1 class */ +/* harray2 class */ +/* harray2 class */ diff --git a/src/SWIG_files/wrapper/BOPDS_headers.i b/src/SWIG_files/wrapper/BOPDS_headers.i deleted file mode 100644 index 840989033..000000000 --- a/src/SWIG_files/wrapper/BOPDS_headers.i +++ /dev/null @@ -1,1211 +0,0 @@ -/* -Copyright 2008-2017 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 . - -*/ -%{ -#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 -#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 -#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 -#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 -#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 -#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 -#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 -#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 -#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 -#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 -#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 -#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 -#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 -%}; -%import MMgt.i -%import BOPCol.i -%import Standard.i -%import IntTools.i -%import Bnd.i -%import TopoDS.i -%import TopAbs.i -%import gp.i -%import NCollection.i diff --git a/src/SWIG_files/wrapper/BOPInt.i b/src/SWIG_files/wrapper/BOPInt.i deleted file mode 100644 index 4f2b885f1..000000000 --- a/src/SWIG_files/wrapper/BOPInt.i +++ /dev/null @@ -1,48 +0,0 @@ -/* -Copyright 2008-2017 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 BOPINTDOCSTRING -"No docstring provided." -%enddef -%module (package="OCC.Core", docstring=BOPINTDOCSTRING) BOPInt - -#pragma SWIG nowarn=504,325,503 - -%{ -#ifdef WNT -#pragma warning(disable : 4716) -#endif -%} - -%include ../common/CommonIncludes.i -%include ../common/ExceptionCatcher.i -%include ../common/FunctionTransformers.i -%include ../common/Operators.i -%include ../common/OccHandle.i - - -%include BOPInt_headers.i - -/* typedefs */ -/* end typedefs declaration */ - -/* public enums */ -/* end public enums declaration */ - - diff --git a/src/SWIG_files/wrapper/BOPInt_headers.i b/src/SWIG_files/wrapper/BOPInt_headers.i deleted file mode 100644 index 833bc0d8c..000000000 --- a/src/SWIG_files/wrapper/BOPInt_headers.i +++ /dev/null @@ -1,670 +0,0 @@ -/* -Copyright 2008-2017 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 . - -*/ -%{ -#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 -#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 -#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 -#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 -#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 -#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 -#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 -%}; diff --git a/src/SWIG_files/wrapper/BOPTools.i b/src/SWIG_files/wrapper/BOPTools.i index dea6ce9a7..14285e97a 100644 --- a/src/SWIG_files/wrapper/BOPTools.i +++ b/src/SWIG_files/wrapper/BOPTools.i @@ -1,6 +1,5 @@ /* -Copyright 2008-2017 Thomas Paviot (tpaviot@gmail.com) - +Copyright 2008-2019 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -15,15 +14,13 @@ 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 BOPTOOLSDOCSTRING -" -" +"BOPTools module, see official documentation at +https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_boptools.html" %enddef %module (package="OCC.Core", docstring=BOPTOOLSDOCSTRING) BOPTools -#pragma SWIG nowarn=504,325,503 %{ #ifdef WNT @@ -38,229 +35,332 @@ along with pythonOCC. If not, see . %include ../common/OccHandle.i -%include BOPTools_headers.i +%{ +#include + +//Dependencies +#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 +%}; +%import Standard.i +%import NCollection.i +%import TopoDS.i +%import IntTools.i +%import gp.i +%import TopAbs.i +%import TopTools.i +%import Message.i +%import Geom.i +%import Geom2d.i +%import BRepAdaptor.i +/* public enums */ +/* end public enums declaration */ + +/* handles */ +/* end handles declaration */ + +/* templates */ +%template(BOPTools_ListOfConnexityBlock) NCollection_List ; +%template(BOPTools_MapOfSet) NCollection_Map ; +%template(BOPTools_ListOfCoupleOfShape) NCollection_List ; +%template(BOPTools_IndexedDataMapOfSetShape) NCollection_IndexedDataMap ; +/* end templates declaration */ /* typedefs */ +typedef NCollection_List BOPTools_ListOfConnexityBlock; +typedef BOPTools_ListOfConnexityBlock::Iterator BOPTools_ListIteratorOfListOfConnexityBlock; +typedef BOPTools_BoxSet BOPTools_Box2dTree; +typedef BOPTools_BoxSelector <2> BOPTools_Box2dTreeSelector; +typedef BOPTools_PairSelector <2> BOPTools_Box2dPairSelector; +typedef BOPTools_BoxSet BOPTools_BoxTree; +typedef BOPTools_BoxSelector <3> BOPTools_BoxTreeSelector; +typedef BOPTools_PairSelector <3> BOPTools_BoxPairSelector; +typedef NCollection_Map BOPTools_MapOfSet; typedef BOPTools_MapOfSet::Iterator BOPTools_MapIteratorOfMapOfSet; typedef NCollection_List BOPTools_ListOfCoupleOfShape; -typedef NCollection_List BOPTools_ListOfEdgeSet; typedef BOPTools_ListOfCoupleOfShape::Iterator BOPTools_ListIteratorOfListOfCoupleOfShape; -typedef BOPTools_ListOfConnexityBlock::Iterator BOPTools_ListIteratorOfListOfConnexityBlock; -typedef BOPTools_ListOfEdgeSet::Iterator BOPTools_ListIteratorOfListOfEdgeSet; -typedef NCollection_List BOPTools_ListOfConnexityBlock; -typedef BOPTools_ListOfShapeSet::Iterator BOPTools_ListIteratorOfListOfShapeSet; -typedef NCollection_List BOPTools_ListOfShapeSet; -typedef NCollection_Map BOPTools_MapOfSet; +typedef NCollection_IndexedDataMap BOPTools_IndexedDataMapOfSetShape; /* end typedefs declaration */ -/* public enums */ -/* end public enums declaration */ +/*************************** +* class BOPTools_AlgoTools * +***************************/ +class BOPTools_AlgoTools { + public: + /****************** AreFacesSameDomain ******************/ + %feature("compactdefaultargs") AreFacesSameDomain; + %feature("autodoc", "* Checking if the faces are coinciding Checks if the given faces are same-domain, i.e. coincide. + :param theF1: + :type theF1: TopoDS_Face & + :param theF2: + :type theF2: TopoDS_Face & + :param theContext: + :type theContext: opencascade::handle & + :param theFuzz: default value is Precision::Confusion() + :type theFuzz: float + :rtype: bool") AreFacesSameDomain; + static Standard_Boolean AreFacesSameDomain (const TopoDS_Face & theF1,const TopoDS_Face & theF2,const opencascade::handle & theContext,const Standard_Real theFuzz = Precision::Confusion()); + /****************** ComputeState ******************/ + %feature("compactdefaultargs") ComputeState; + %feature("autodoc", "* @name Point/Edge/Face classification relatively solid Computes the 3-D state of the point thePoint toward solid theSolid. theTol - value of precision of computation theContext- cahed geometrical tools Returns 3-D state. + :param thePoint: + :type thePoint: gp_Pnt + :param theSolid: + :type theSolid: TopoDS_Solid & + :param theTol: + :type theTol: float + :param theContext: + :type theContext: opencascade::handle & + :rtype: TopAbs_State") ComputeState; + static TopAbs_State ComputeState (const gp_Pnt & thePoint,const TopoDS_Solid & theSolid,const Standard_Real theTol,const opencascade::handle & theContext); -%rename(boptools) BOPTools; -class BOPTools { - public: - %feature("compactdefaultargs") MapShapes; - %feature("autodoc", " :param S: - :type S: TopoDS_Shape & - :param M: - :type M: BOPCol_MapOfShape & - :rtype: void -") MapShapes; - static void MapShapes (const TopoDS_Shape & S,BOPCol_MapOfShape & M); - %feature("compactdefaultargs") MapShapes; - %feature("autodoc", " :param S: - :type S: TopoDS_Shape & - :param M: - :type M: BOPCol_IndexedMapOfShape & - :rtype: void -") MapShapes; - static void MapShapes (const TopoDS_Shape & S,BOPCol_IndexedMapOfShape & M); - %feature("compactdefaultargs") MapShapes; - %feature("autodoc", " :param S: - :type S: TopoDS_Shape & - :param T: - :type T: TopAbs_ShapeEnum - :param M: - :type M: BOPCol_IndexedMapOfShape & - :rtype: void -") MapShapes; - static void MapShapes (const TopoDS_Shape & S,const TopAbs_ShapeEnum T,BOPCol_IndexedMapOfShape & M); - %feature("compactdefaultargs") MapShapesAndAncestors; - %feature("autodoc", " :param S: - :type S: TopoDS_Shape & - :param TS: - :type TS: TopAbs_ShapeEnum - :param TA: - :type TA: TopAbs_ShapeEnum - :param M: - :type M: BOPCol_IndexedDataMapOfShapeListOfShape & - :rtype: void -") MapShapesAndAncestors; - static void MapShapesAndAncestors (const TopoDS_Shape & S,const TopAbs_ShapeEnum TS,const TopAbs_ShapeEnum TA,BOPCol_IndexedDataMapOfShapeListOfShape & M); -}; + /****************** ComputeState ******************/ + %feature("compactdefaultargs") ComputeState; + %feature("autodoc", "* Computes the 3-D state of the vertex theVertex toward solid theSolid. theTol - value of precision of computation theContext- cahed geometrical tools Returns 3-D state. + :param theVertex: + :type theVertex: TopoDS_Vertex & + :param theSolid: + :type theSolid: TopoDS_Solid & + :param theTol: + :type theTol: float + :param theContext: + :type theContext: opencascade::handle & + :rtype: TopAbs_State") ComputeState; + static TopAbs_State ComputeState (const TopoDS_Vertex & theVertex,const TopoDS_Solid & theSolid,const Standard_Real theTol,const opencascade::handle & theContext); + + /****************** ComputeState ******************/ + %feature("compactdefaultargs") ComputeState; + %feature("autodoc", "* Computes the 3-D state of the edge theEdge toward solid theSolid. theTol - value of precision of computation theContext- cahed geometrical tools Returns 3-D state. + :param theEdge: + :type theEdge: TopoDS_Edge & + :param theSolid: + :type theSolid: TopoDS_Solid & + :param theTol: + :type theTol: float + :param theContext: + :type theContext: opencascade::handle & + :rtype: TopAbs_State") ComputeState; + static TopAbs_State ComputeState (const TopoDS_Edge & theEdge,const TopoDS_Solid & theSolid,const Standard_Real theTol,const opencascade::handle & theContext); + /****************** ComputeState ******************/ + %feature("compactdefaultargs") ComputeState; + %feature("autodoc", "* Computes the 3-D state of the face theFace toward solid theSolid. theTol - value of precision of computation theBounds - set of edges of to avoid theContext- cahed geometrical tools Returns 3-D state. + :param theFace: + :type theFace: TopoDS_Face & + :param theSolid: + :type theSolid: TopoDS_Solid & + :param theTol: + :type theTol: float + :param theBounds: + :type theBounds: TopTools_IndexedMapOfShape & + :param theContext: + :type theContext: opencascade::handle & + :rtype: TopAbs_State") ComputeState; + static TopAbs_State ComputeState (const TopoDS_Face & theFace,const TopoDS_Solid & theSolid,const Standard_Real theTol,const TopTools_IndexedMapOfShape & theBounds,const opencascade::handle & theContext); -%extend BOPTools { - %pythoncode { - __repr__ = _dumps_object - } -}; -class BOPTools_AlgoTools { - public: + /****************** ComputeStateByOnePoint ******************/ + %feature("compactdefaultargs") ComputeStateByOnePoint; + %feature("autodoc", "* Computes the 3-D state of the shape theShape toward solid theSolid. theTol - value of precision of computation theContext- cahed geometrical tools Returns 3-D state. + :param theShape: + :type theShape: TopoDS_Shape & + :param theSolid: + :type theSolid: TopoDS_Solid & + :param theTol: + :type theTol: float + :param theContext: + :type theContext: opencascade::handle & + :rtype: TopAbs_State") ComputeStateByOnePoint; + static TopAbs_State ComputeStateByOnePoint (const TopoDS_Shape & theShape,const TopoDS_Solid & theSolid,const Standard_Real theTol,const opencascade::handle & theContext); + + /****************** ComputeTolerance ******************/ + %feature("compactdefaultargs") ComputeTolerance; + %feature("autodoc", "* @name Edge/Face Deviation computation Computes the necessary value of the tolerance for the edge + :param theFace: + :type theFace: TopoDS_Face & + :param theEdge: + :type theEdge: TopoDS_Edge & + :param theMaxDist: + :type theMaxDist: float & + :param theMaxPar: + :type theMaxPar: float & + :rtype: bool") ComputeTolerance; + static Standard_Boolean ComputeTolerance (const TopoDS_Face & theFace,const TopoDS_Edge & theEdge,Standard_Real &OutValue,Standard_Real &OutValue); + + /****************** ComputeVV ******************/ %feature("compactdefaultargs") ComputeVV; - %feature("autodoc", " :param aV1: - :type aV1: TopoDS_Vertex & - :param aP2: - :type aP2: gp_Pnt - :param aTolP2: - :type aTolP2: float - :rtype: int -") ComputeVV; - static Standard_Integer ComputeVV (const TopoDS_Vertex & aV1,const gp_Pnt & aP2,const Standard_Real aTolP2); + %feature("autodoc", "* @name Intersection of the vertices Intersects the vertex with the point with tolerance . Returns the error status: - 0 - no error, meaning that the vertex intersects the point; - 1 - the distance between vertex and point is grater than the sum of tolerances. + :param theV: + :type theV: TopoDS_Vertex & + :param theP: + :type theP: gp_Pnt + :param theTolP: + :type theTolP: float + :rtype: int") ComputeVV; + static Standard_Integer ComputeVV (const TopoDS_Vertex & theV,const gp_Pnt & theP,const Standard_Real theTolP); + + /****************** ComputeVV ******************/ %feature("compactdefaultargs") ComputeVV; - %feature("autodoc", " :param aV1: - :type aV1: TopoDS_Vertex & - :param aV2: - :type aV2: TopoDS_Vertex & - :rtype: int -") ComputeVV; - static Standard_Integer ComputeVV (const TopoDS_Vertex & aV1,const TopoDS_Vertex & aV2); - %feature("compactdefaultargs") MakeVertex; - %feature("autodoc", " :param aLV: - :type aLV: BOPCol_ListOfShape & - :param aV: - :type aV: TopoDS_Vertex & - :rtype: void -") MakeVertex; - static void MakeVertex (BOPCol_ListOfShape & aLV,TopoDS_Vertex & aV); - %feature("compactdefaultargs") MakeEdge; - %feature("autodoc", " :param theCurve: - :type theCurve: IntTools_Curve & + %feature("autodoc", "* Intersects the given vertices with given fuzzy value. Returns the error status: - 0 - no error, meaning that the vertices interferes with given tolerance; - 1 - the distance between vertices is grater than the sum of their tolerances. :param theV1: :type theV1: TopoDS_Vertex & - :param theT1: - :type theT1: float :param theV2: :type theV2: TopoDS_Vertex & - :param theT2: - :type theT2: float - :param theTolR3D: - :type theTolR3D: float - :param theE: - :type theE: TopoDS_Edge & - :rtype: void -") MakeEdge; - static void MakeEdge (const IntTools_Curve & theCurve,const TopoDS_Vertex & theV1,const Standard_Real theT1,const TopoDS_Vertex & theV2,const Standard_Real theT2,const Standard_Real theTolR3D,TopoDS_Edge & theE); - %feature("compactdefaultargs") MakePCurve; - %feature("autodoc", " :param theE: - :type theE: TopoDS_Edge & - :param theF1: - :type theF1: TopoDS_Face & - :param theF2: - :type theF2: TopoDS_Face & - :param theCurve: - :type theCurve: IntTools_Curve & - :param thePC1: - :type thePC1: bool - :param thePC2: - :type thePC2: bool - :rtype: void -") MakePCurve; - static void MakePCurve (const TopoDS_Edge & theE,const TopoDS_Face & theF1,const TopoDS_Face & theF2,const IntTools_Curve & theCurve,const Standard_Boolean thePC1,const Standard_Boolean thePC2); - %feature("compactdefaultargs") MakeContainer; - %feature("autodoc", " :param theType: - :type theType: TopAbs_ShapeEnum - :param theShape: - :type theShape: TopoDS_Shape & - :rtype: void -") MakeContainer; - static void MakeContainer (const TopAbs_ShapeEnum theType,TopoDS_Shape & theShape); - %feature("compactdefaultargs") IsHole; - %feature("autodoc", " :param aW: - :type aW: TopoDS_Shape & - :param aF: - :type aF: TopoDS_Shape & - :rtype: bool -") IsHole; - static Standard_Boolean IsHole (const TopoDS_Shape & aW,const TopoDS_Shape & aF); - %feature("compactdefaultargs") IsSplitToReverse; - %feature("autodoc", " * Returns True if the shape theSplit has opposite direction than theShape theContext - cashed geometrical tools + :param theFuzz: default value is Precision::Confusion() + :type theFuzz: float + :rtype: int") ComputeVV; + static Standard_Integer ComputeVV (const TopoDS_Vertex & theV1,const TopoDS_Vertex & theV2,const Standard_Real theFuzz = Precision::Confusion()); + + /****************** CopyEdge ******************/ + %feature("compactdefaultargs") CopyEdge; + %feature("autodoc", "* Makes a copy of with vertices. + :param theEdge: + :type theEdge: TopoDS_Edge & + :rtype: TopoDS_Edge") CopyEdge; + static TopoDS_Edge CopyEdge (const TopoDS_Edge & theEdge); - :param theSplit: - :type theSplit: TopoDS_Shape & - :param theShape: - :type theShape: TopoDS_Shape & - :param theContext: - :type theContext: Handle_IntTools_Context & - :rtype: bool -") IsSplitToReverse; - static Standard_Boolean IsSplitToReverse (const TopoDS_Shape & theSplit,const TopoDS_Shape & theShape,Handle_IntTools_Context & theContext); - %feature("compactdefaultargs") IsSplitToReverse; - %feature("autodoc", " * Returns True if normal direction of the face theShape is not the same as for the face theSplit theContext - cashed geometrical tools + /****************** CorrectCurveOnSurface ******************/ + %feature("compactdefaultargs") CorrectCurveOnSurface; + %feature("autodoc", "* Provides valid values of tolerances for the shape in terms of BRepCheck_InvalidCurveOnSurface. + :param theS: + :type theS: TopoDS_Shape & + :param theMapToAvoid: + :type theMapToAvoid: TopTools_IndexedMapOfShape & + :param theTolMax: default value is 0.0001 + :type theTolMax: float + :param theRunParallel: default value is Standard_False + :type theRunParallel: bool + :rtype: void") CorrectCurveOnSurface; + static void CorrectCurveOnSurface (const TopoDS_Shape & theS,const TopTools_IndexedMapOfShape & theMapToAvoid,const Standard_Real theTolMax = 0.0001,const Standard_Boolean theRunParallel = Standard_False); - :param theSplit: - :type theSplit: TopoDS_Face & - :param theShape: - :type theShape: TopoDS_Face & - :param theContext: - :type theContext: Handle_IntTools_Context & - :rtype: bool -") IsSplitToReverse; - static Standard_Boolean IsSplitToReverse (const TopoDS_Face & theSplit,const TopoDS_Face & theShape,Handle_IntTools_Context & theContext); - %feature("compactdefaultargs") IsSplitToReverse; - %feature("autodoc", " :param aE1: + /****************** CorrectPointOnCurve ******************/ + %feature("compactdefaultargs") CorrectPointOnCurve; + %feature("autodoc", "* Provides valid values of tolerances for the shape in terms of BRepCheck_InvalidPointOnCurve. + :param theS: + :type theS: TopoDS_Shape & + :param theMapToAvoid: + :type theMapToAvoid: TopTools_IndexedMapOfShape & + :param theTolMax: default value is 0.0001 + :type theTolMax: float + :param theRunParallel: default value is Standard_False + :type theRunParallel: bool + :rtype: void") CorrectPointOnCurve; + static void CorrectPointOnCurve (const TopoDS_Shape & theS,const TopTools_IndexedMapOfShape & theMapToAvoid,const Standard_Real theTolMax = 0.0001,const Standard_Boolean theRunParallel = Standard_False); + + /****************** CorrectRange ******************/ + %feature("compactdefaultargs") CorrectRange; + %feature("autodoc", "* @name Correction of the edges range Correct shrunk range taking into account 3D-curve resolution and corresponding tolerance values of , + :param aE1: :type aE1: TopoDS_Edge & :param aE2: :type aE2: TopoDS_Edge & - :param aContext: - :type aContext: Handle_IntTools_Context & - :rtype: bool -") IsSplitToReverse; - static Standard_Boolean IsSplitToReverse (const TopoDS_Edge & aE1,const TopoDS_Edge & aE2,Handle_IntTools_Context & aContext); - %feature("compactdefaultargs") AreFacesSameDomain; - %feature("autodoc", " :param theF1: - :type theF1: TopoDS_Face & - :param theF2: - :type theF2: TopoDS_Face & - :param theContext: - :type theContext: Handle_IntTools_Context & - :rtype: bool -") AreFacesSameDomain; - static Standard_Boolean AreFacesSameDomain (const TopoDS_Face & theF1,const TopoDS_Face & theF2,Handle_IntTools_Context & theContext); - %feature("compactdefaultargs") CheckSameGeom; - %feature("autodoc", " :param theF1: - :type theF1: TopoDS_Face & - :param theF2: - :type theF2: TopoDS_Face & - :param theContext: - :type theContext: Handle_IntTools_Context & - :rtype: bool -") CheckSameGeom; - static Standard_Boolean CheckSameGeom (const TopoDS_Face & theF1,const TopoDS_Face & theF2,Handle_IntTools_Context & theContext); - %feature("compactdefaultargs") Sense; - %feature("autodoc", " :param theF1: - :type theF1: TopoDS_Face & - :param theF2: - :type theF2: TopoDS_Face & - :rtype: int -") Sense; - static Standard_Integer Sense (const TopoDS_Face & theF1,const TopoDS_Face & theF2); - %feature("compactdefaultargs") GetEdgeOff; - %feature("autodoc", " * Returns True if the face theFace contains the edge theEdge but with opposite orientation. If the method returns True theEdgeOff is the edge founded + :param aSR: + :type aSR: IntTools_Range & + :param aNewSR: + :type aNewSR: IntTools_Range & + :rtype: void") CorrectRange; + static void CorrectRange (const TopoDS_Edge & aE1,const TopoDS_Edge & aE2,const IntTools_Range & aSR,IntTools_Range & aNewSR); + + /****************** CorrectRange ******************/ + %feature("compactdefaultargs") CorrectRange; + %feature("autodoc", "* Correct shrunk range taking into account 3D-curve resolution and corresponding tolerance values of , + :param aE: + :type aE: TopoDS_Edge & + :param aF: + :type aF: TopoDS_Face & + :param aSR: + :type aSR: IntTools_Range & + :param aNewSR: + :type aNewSR: IntTools_Range & + :rtype: void") CorrectRange; + static void CorrectRange (const TopoDS_Edge & aE,const TopoDS_Face & aF,const IntTools_Range & aSR,IntTools_Range & aNewSR); + /****************** CorrectShapeTolerances ******************/ + %feature("compactdefaultargs") CorrectShapeTolerances; + %feature("autodoc", "* Corrects tolerance values of the sub-shapes of the shape if needed. + :param theS: + :type theS: TopoDS_Shape & + :param theMapToAvoid: + :type theMapToAvoid: TopTools_IndexedMapOfShape & + :param theRunParallel: default value is Standard_False + :type theRunParallel: bool + :rtype: void") CorrectShapeTolerances; + static void CorrectShapeTolerances (const TopoDS_Shape & theS,const TopTools_IndexedMapOfShape & theMapToAvoid,const Standard_Boolean theRunParallel = Standard_False); + + /****************** CorrectTolerances ******************/ + %feature("compactdefaultargs") CorrectTolerances; + %feature("autodoc", "* @name Methods for shape validation (correction) Provides valid values of tolerances for the shape is max value of the tolerance that can be accepted for correction. If real value of the tolerance will be greater than , the correction does not perform. + :param theS: + :type theS: TopoDS_Shape & + :param theMapToAvoid: + :type theMapToAvoid: TopTools_IndexedMapOfShape & + :param theTolMax: default value is 0.0001 + :type theTolMax: float + :param theRunParallel: default value is Standard_False + :type theRunParallel: bool + :rtype: void") CorrectTolerances; + static void CorrectTolerances (const TopoDS_Shape & theS,const TopTools_IndexedMapOfShape & theMapToAvoid,const Standard_Real theTolMax = 0.0001,const Standard_Boolean theRunParallel = Standard_False); + + /****************** Dimension ******************/ + %feature("compactdefaultargs") Dimension; + %feature("autodoc", "* Retutns dimension of the shape . + :param theS: + :type theS: TopoDS_Shape & + :rtype: int") Dimension; + static Standard_Integer Dimension (const TopoDS_Shape & theS); + + /****************** GetEdgeOff ******************/ + %feature("compactdefaultargs") GetEdgeOff; + %feature("autodoc", "* @name Looking for the edge in the face Returns True if the face theFace contains the edge theEdge but with opposite orientation. If the method returns True theEdgeOff is the edge founded :param theEdge: :type theEdge: TopoDS_Edge & :param theFace: :type theFace: TopoDS_Face & :param theEdgeOff: :type theEdgeOff: TopoDS_Edge & - :rtype: bool -") GetEdgeOff; + :rtype: bool") GetEdgeOff; static Standard_Boolean GetEdgeOff (const TopoDS_Edge & theEdge,const TopoDS_Face & theFace,TopoDS_Edge & theEdgeOff); - %feature("compactdefaultargs") GetFaceOff; - %feature("autodoc", " * For the face theFace and its edge theEdge finds the face suitable to produce shell. theLCEF - set of faces to search. All faces from theLCEF must share edge theEdge + /****************** GetEdgeOnFace ******************/ + %feature("compactdefaultargs") GetEdgeOnFace; + %feature("autodoc", "* For the face theFace gets the edge theEdgeOnF that is the same as theEdge Returns True if such edge exists Returns False if there is no such edge + :param theEdge: + :type theEdge: TopoDS_Edge & + :param theFace: + :type theFace: TopoDS_Face & + :param theEdgeOnF: + :type theEdgeOnF: TopoDS_Edge & + :rtype: bool") GetEdgeOnFace; + static Standard_Boolean GetEdgeOnFace (const TopoDS_Edge & theEdge,const TopoDS_Face & theFace,TopoDS_Edge & theEdgeOnF); + + /****************** GetFaceOff ******************/ + %feature("compactdefaultargs") GetFaceOff; + %feature("autodoc", "* @name Face classification relatively solid For the face theFace and its edge theEdge finds the face suitable to produce shell. theLCEF - set of faces to search. All faces from theLCEF must share edge theEdge :param theEdge: :type theEdge: TopoDS_Edge & :param theFace: @@ -270,13 +370,37 @@ class BOPTools_AlgoTools { :param theFaceOff: :type theFaceOff: TopoDS_Face & :param theContext: - :type theContext: Handle_IntTools_Context & - :rtype: bool -") GetFaceOff; - static Standard_Boolean GetFaceOff (const TopoDS_Edge & theEdge,const TopoDS_Face & theFace,BOPTools_ListOfCoupleOfShape & theLCEF,TopoDS_Face & theFaceOff,Handle_IntTools_Context & theContext); - %feature("compactdefaultargs") IsInternalFace; - %feature("autodoc", " * Returns True if the face theFace is inside of the couple of faces theFace1, theFace2. The faces theFace, theFace1, theFace2 must share the edge theEdge + :type theContext: opencascade::handle & + :rtype: bool") GetFaceOff; + static Standard_Boolean GetFaceOff (const TopoDS_Edge & theEdge,const TopoDS_Face & theFace,BOPTools_ListOfCoupleOfShape & theLCEF,TopoDS_Face & theFaceOff,const opencascade::handle & theContext); + + /****************** IsBlockInOnFace ******************/ + %feature("compactdefaultargs") IsBlockInOnFace; + %feature("autodoc", "* Returns True if PaveBlock lays on the face , i.e the is IN or ON in 2D of + :param aShR: + :type aShR: IntTools_Range & + :param aF: + :type aF: TopoDS_Face & + :param aE: + :type aE: TopoDS_Edge & + :param aContext: + :type aContext: opencascade::handle & + :rtype: bool") IsBlockInOnFace; + static Standard_Boolean IsBlockInOnFace (const IntTools_Range & aShR,const TopoDS_Face & aF,const TopoDS_Edge & aE,const opencascade::handle & aContext); + + /****************** IsHole ******************/ + %feature("compactdefaultargs") IsHole; + %feature("autodoc", "* @name Wire classification relatively face Checks if the wire is a hole for the face. + :param theW: + :type theW: TopoDS_Shape & + :param theF: + :type theF: TopoDS_Shape & + :rtype: bool") IsHole; + static Standard_Boolean IsHole (const TopoDS_Shape & theW,const TopoDS_Shape & theF); + /****************** IsInternalFace ******************/ + %feature("compactdefaultargs") IsInternalFace; + %feature("autodoc", "* Returns True if the face theFace is inside of the couple of faces theFace1, theFace2. The faces theFace, theFace1, theFace2 must share the edge theEdge Return values: * 0 state is not IN * 1 state is IN * 2 state can not be found by the method of angles :param theFace: :type theFace: TopoDS_Face & :param theEdge: @@ -286,221 +410,239 @@ class BOPTools_AlgoTools { :param theFace2: :type theFace2: TopoDS_Face & :param theContext: - :type theContext: Handle_IntTools_Context & - :rtype: int -") IsInternalFace; - static Standard_Integer IsInternalFace (const TopoDS_Face & theFace,const TopoDS_Edge & theEdge,const TopoDS_Face & theFace1,const TopoDS_Face & theFace2,Handle_IntTools_Context & theContext); - %feature("compactdefaultargs") IsInternalFace; - %feature("autodoc", " * Returns True if the face theFace is inside of the appropriate couple of faces (from the set theLF) . The faces of the set theLF and theFace must share the edge theEdge + :type theContext: opencascade::handle & + :rtype: int") IsInternalFace; + static Standard_Integer IsInternalFace (const TopoDS_Face & theFace,const TopoDS_Edge & theEdge,const TopoDS_Face & theFace1,const TopoDS_Face & theFace2,const opencascade::handle & theContext); + /****************** IsInternalFace ******************/ + %feature("compactdefaultargs") IsInternalFace; + %feature("autodoc", "* Returns True if the face theFace is inside of the appropriate couple of faces (from the set theLF) . The faces of the set theLF and theFace must share the edge theEdge * 0 state is not IN * 1 state is IN * 2 state can not be found by the method of angles :param theFace: :type theFace: TopoDS_Face & :param theEdge: :type theEdge: TopoDS_Edge & :param theLF: - :type theLF: BOPCol_ListOfShape & + :type theLF: TopTools_ListOfShape & :param theContext: - :type theContext: Handle_IntTools_Context & - :rtype: int -") IsInternalFace; - static Standard_Integer IsInternalFace (const TopoDS_Face & theFace,const TopoDS_Edge & theEdge,BOPCol_ListOfShape & theLF,Handle_IntTools_Context & theContext); - %feature("compactdefaultargs") IsInternalFace; - %feature("autodoc", " * Returns True if the face theFace is inside the solid theSolid. theMEF - Map Edge/Faces for theSolid theTol - value of precision of computation theContext- cahed geometrical tools + :type theContext: opencascade::handle & + :rtype: int") IsInternalFace; + static Standard_Integer IsInternalFace (const TopoDS_Face & theFace,const TopoDS_Edge & theEdge,TopTools_ListOfShape & theLF,const opencascade::handle & theContext); + /****************** IsInternalFace ******************/ + %feature("compactdefaultargs") IsInternalFace; + %feature("autodoc", "* Returns True if the face theFace is inside the solid theSolid. theMEF - Map Edge/Faces for theSolid theTol - value of precision of computation theContext- cahed geometrical tools :param theFace: :type theFace: TopoDS_Face & :param theSolid: :type theSolid: TopoDS_Solid & :param theMEF: - :type theMEF: BOPCol_IndexedDataMapOfShapeListOfShape & + :type theMEF: TopTools_IndexedDataMapOfShapeListOfShape & :param theTol: :type theTol: float :param theContext: - :type theContext: Handle_IntTools_Context & - :rtype: int -") IsInternalFace; - static Standard_Integer IsInternalFace (const TopoDS_Face & theFace,const TopoDS_Solid & theSolid,BOPCol_IndexedDataMapOfShapeListOfShape & theMEF,const Standard_Real theTol,Handle_IntTools_Context & theContext); - %feature("compactdefaultargs") GetEdgeOnFace; - %feature("autodoc", " * For the face theFace gets the edge theEdgeOnF that is the same as theEdge Returns True if such edge exists Returns False if there is no such edge + :type theContext: opencascade::handle & + :rtype: bool") IsInternalFace; + static Standard_Boolean IsInternalFace (const TopoDS_Face & theFace,const TopoDS_Solid & theSolid,TopTools_IndexedDataMapOfShapeListOfShape & theMEF,const Standard_Real theTol,const opencascade::handle & theContext); - :param theEdge: - :type theEdge: TopoDS_Edge & - :param theFace: - :type theFace: TopoDS_Face & - :param theEdgeOnF: - :type theEdgeOnF: TopoDS_Edge & - :rtype: bool -") GetEdgeOnFace; - static Standard_Boolean GetEdgeOnFace (const TopoDS_Edge & theEdge,const TopoDS_Face & theFace,TopoDS_Edge & theEdgeOnF); - %feature("compactdefaultargs") ComputeState; - %feature("autodoc", " * Computes the 3-D state of the point thePoint toward solid theSolid. theTol - value of precision of computation theContext- cahed geometrical tools Returns 3-D state. - - :param thePoint: - :type thePoint: gp_Pnt - :param theSolid: - :type theSolid: TopoDS_Solid & - :param theTol: - :type theTol: float - :param theContext: - :type theContext: Handle_IntTools_Context & - :rtype: TopAbs_State -") ComputeState; - static TopAbs_State ComputeState (const gp_Pnt & thePoint,const TopoDS_Solid & theSolid,const Standard_Real theTol,Handle_IntTools_Context & theContext); - %feature("compactdefaultargs") ComputeState; - %feature("autodoc", " * Computes the 3-D state of the vertex theVertex toward solid theSolid. theTol - value of precision of computation theContext- cahed geometrical tools Returns 3-D state. - - :param theVertex: - :type theVertex: TopoDS_Vertex & + /****************** IsInvertedSolid ******************/ + %feature("compactdefaultargs") IsInvertedSolid; + %feature("autodoc", "* @name Solid classification Returns true if the solid is inverted :param theSolid: :type theSolid: TopoDS_Solid & - :param theTol: - :type theTol: float - :param theContext: - :type theContext: Handle_IntTools_Context & - :rtype: TopAbs_State -") ComputeState; - static TopAbs_State ComputeState (const TopoDS_Vertex & theVertex,const TopoDS_Solid & theSolid,const Standard_Real theTol,Handle_IntTools_Context & theContext); - %feature("compactdefaultargs") ComputeState; - %feature("autodoc", " * Computes the 3-D state of the edge theEdge toward solid theSolid. theTol - value of precision of computation theContext- cahed geometrical tools Returns 3-D state. + :rtype: bool") IsInvertedSolid; + static Standard_Boolean IsInvertedSolid (const TopoDS_Solid & theSolid); + /****************** IsMicroEdge ******************/ + %feature("compactdefaultargs") IsMicroEdge; + %feature("autodoc", "* @name Checking edge on micro status Checks if it is possible to compute shrunk range for the edge Flag defines whether to take into account the possibility to split the edge or not. :param theEdge: :type theEdge: TopoDS_Edge & - :param theSolid: - :type theSolid: TopoDS_Solid & - :param theTol: - :type theTol: float :param theContext: - :type theContext: Handle_IntTools_Context & - :rtype: TopAbs_State -") ComputeState; - static TopAbs_State ComputeState (const TopoDS_Edge & theEdge,const TopoDS_Solid & theSolid,const Standard_Real theTol,Handle_IntTools_Context & theContext); - %feature("compactdefaultargs") ComputeState; - %feature("autodoc", " * Computes the 3-D state of the face theFace toward solid theSolid. theTol - value of precision of computation theBounds - set of edges of theFace to avoid theContext- cahed geometrical tools Returns 3-D state. + :type theContext: opencascade::handle & + :param theCheckSplittable: default value is Standard_True + :type theCheckSplittable: bool + :rtype: bool") IsMicroEdge; + static Standard_Boolean IsMicroEdge (const TopoDS_Edge & theEdge,const opencascade::handle & theContext,const Standard_Boolean theCheckSplittable = Standard_True); - :param theFace: - :type theFace: TopoDS_Face & - :param theSolid: - :type theSolid: TopoDS_Solid & - :param theTol: - :type theTol: float - :param theBounds: - :type theBounds: BOPCol_IndexedMapOfShape & + /****************** IsOpenShell ******************/ + %feature("compactdefaultargs") IsOpenShell; + %feature("autodoc", "* Returns true if the shell is open + :param theShell: + :type theShell: TopoDS_Shell & + :rtype: bool") IsOpenShell; + static Standard_Boolean IsOpenShell (const TopoDS_Shell & theShell); + + /****************** IsSplitToReverse ******************/ + %feature("compactdefaultargs") IsSplitToReverse; + %feature("autodoc", "* @name Choosing correct orientation for the split shape 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 + :param theSplit: + :type theSplit: TopoDS_Shape & + :param theShape: + :type theShape: TopoDS_Shape & :param theContext: - :type theContext: Handle_IntTools_Context & - :rtype: TopAbs_State -") ComputeState; - static TopAbs_State ComputeState (const TopoDS_Face & theFace,const TopoDS_Solid & theSolid,const Standard_Real theTol,BOPCol_IndexedMapOfShape & theBounds,Handle_IntTools_Context & theContext); - %feature("compactdefaultargs") ComputeStateByOnePoint; - %feature("autodoc", " * Computes the 3-D state of the shape theShape toward solid theSolid. theTol - value of precision of computation theContext- cahed geometrical tools Returns 3-D state. + :type theContext: opencascade::handle & + :param theError: default value is NULL + :type theError: int * + :rtype: bool") IsSplitToReverse; + static Standard_Boolean IsSplitToReverse (const TopoDS_Shape & theSplit,const TopoDS_Shape & theShape,const opencascade::handle & theContext,Standard_Integer * theError = NULL); + /****************** IsSplitToReverse ******************/ + %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 + :param theSplit: + :type theSplit: TopoDS_Face & + :param theShape: + :type theShape: TopoDS_Face & + :param theContext: + :type theContext: opencascade::handle & + :param theError: default value is NULL + :type theError: int * + :rtype: bool") IsSplitToReverse; + static Standard_Boolean IsSplitToReverse (const TopoDS_Face & theSplit,const TopoDS_Face & theShape,const opencascade::handle & theContext,Standard_Integer * theError = NULL); + + /****************** IsSplitToReverse ******************/ + %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 + :param theSplit: + :type theSplit: TopoDS_Edge & + :param theShape: + :type theShape: TopoDS_Edge & + :param theContext: + :type theContext: opencascade::handle & + :param theError: default value is NULL + :type theError: int * + :rtype: bool") IsSplitToReverse; + static Standard_Boolean IsSplitToReverse (const TopoDS_Edge & theSplit,const TopoDS_Edge & theShape,const opencascade::handle & theContext,Standard_Integer * theError = NULL); + + /****************** IsSplitToReverseWithWarn ******************/ + %feature("compactdefaultargs") IsSplitToReverseWithWarn; + %feature("autodoc", "* Add-on for the *IsSplitToReverse()* to check for its errors and in case of any add the *BOPAlgo_AlertUnableToOrientTheShape* warning to the report. + :param theSplit: + :type theSplit: TopoDS_Shape & :param theShape: :type theShape: TopoDS_Shape & - :param theSolid: - :type theSolid: TopoDS_Solid & - :param theTol: - :type theTol: float :param theContext: - :type theContext: Handle_IntTools_Context & - :rtype: TopAbs_State -") ComputeStateByOnePoint; - static TopAbs_State ComputeStateByOnePoint (const TopoDS_Shape & theShape,const TopoDS_Solid & theSolid,const Standard_Real theTol,Handle_IntTools_Context & theContext); - %feature("compactdefaultargs") MakeConnexityBlock; - %feature("autodoc", " * For the list of faces theLS build block theLSCB in terms of connexity by edges theMapAvoid - set of edges to avoid for the treatment + :type theContext: opencascade::handle & + :param theReport: default value is NULL + :type theReport: opencascade::handle & + :rtype: bool") IsSplitToReverseWithWarn; + static Standard_Boolean IsSplitToReverseWithWarn (const TopoDS_Shape & theSplit,const TopoDS_Shape & theShape,const opencascade::handle & theContext,const opencascade::handle & theReport = NULL); + /****************** MakeConnexityBlock ******************/ + %feature("compactdefaultargs") MakeConnexityBlock; + %feature("autodoc", "* @name Making connexity blocks For the list of faces theLS build block theLSCB in terms of connexity by edges theMapAvoid - set of edges to avoid for the treatment :param theLS: - :type theLS: BOPCol_ListOfShape & + :type theLS: TopTools_ListOfShape & :param theMapAvoid: - :type theMapAvoid: BOPCol_IndexedMapOfShape & + :type theMapAvoid: TopTools_IndexedMapOfShape & :param theLSCB: - :type theLSCB: BOPCol_ListOfShape & + :type theLSCB: TopTools_ListOfShape & :param theAllocator: - :type theAllocator: BOPCol_BaseAllocator & - :rtype: void -") MakeConnexityBlock; - static void MakeConnexityBlock (BOPCol_ListOfShape & theLS,BOPCol_IndexedMapOfShape & theMapAvoid,BOPCol_ListOfShape & theLSCB,const BOPCol_BaseAllocator & theAllocator); - %feature("compactdefaultargs") MakeConnexityBlocks; - %feature("autodoc", " * For the compound theS build the blocks theLCB (as list of compounds) in terms of connexity by the shapes of theType + :type theAllocator: opencascade::handle & + :rtype: void") MakeConnexityBlock; + static void MakeConnexityBlock (TopTools_ListOfShape & theLS,TopTools_IndexedMapOfShape & theMapAvoid,TopTools_ListOfShape & theLSCB,const opencascade::handle & theAllocator); + /****************** MakeConnexityBlocks ******************/ + %feature("compactdefaultargs") MakeConnexityBlocks; + %feature("autodoc", "* For the compound builds the blocks (compounds) of elements of type connected through the shapes of the type . The blocks are stored into the list . :param theS: :type theS: TopoDS_Shape & - :param theType1: - :type theType1: TopAbs_ShapeEnum - :param theType2: - :type theType2: TopAbs_ShapeEnum + :param theConnectionType: + :type theConnectionType: TopAbs_ShapeEnum + :param theElementType: + :type theElementType: TopAbs_ShapeEnum :param theLCB: - :type theLCB: BOPCol_ListOfShape & - :rtype: void -") MakeConnexityBlocks; - static void MakeConnexityBlocks (const TopoDS_Shape & theS,const TopAbs_ShapeEnum theType1,const TopAbs_ShapeEnum theType2,BOPCol_ListOfShape & theLCB); - %feature("compactdefaultargs") OrientFacesOnShell; - %feature("autodoc", " :param theS: - :type theS: TopoDS_Shape & - :rtype: void -") OrientFacesOnShell; - static void OrientFacesOnShell (TopoDS_Shape & theS); - %feature("compactdefaultargs") CorrectTolerances; - %feature("autodoc", " * Provides valid values of tolerances for the shape is max value of the tolerance that can be accepted for correction. If real value of the tolerance will be greater than , the correction does not perform. + :type theLCB: TopTools_ListOfShape & + :rtype: void") MakeConnexityBlocks; + static void MakeConnexityBlocks (const TopoDS_Shape & theS,const TopAbs_ShapeEnum theConnectionType,const TopAbs_ShapeEnum theElementType,TopTools_ListOfShape & theLCB); + /****************** MakeConnexityBlocks ******************/ + %feature("compactdefaultargs") MakeConnexityBlocks; + %feature("autodoc", "* For the compound builds the blocks (compounds) of elements of type connected through the shapes of the type . The blocks are stored into the list of lists . Returns also the connection map , filled during operation. :param theS: :type theS: TopoDS_Shape & - :param theTolMax: default value is 0.0001 - :type theTolMax: float - :param theRunParallel: default value is Standard_False - :type theRunParallel: bool - :rtype: void -") CorrectTolerances; - static void CorrectTolerances (const TopoDS_Shape & theS,const Standard_Real theTolMax = 0.0001,const Standard_Boolean theRunParallel = Standard_False); - %feature("compactdefaultargs") CorrectCurveOnSurface; - %feature("autodoc", " * Provides valid values of tolerances for the shape in terms of BRepCheck_InvalidCurveOnSurface. + :param theConnectionType: + :type theConnectionType: TopAbs_ShapeEnum + :param theElementType: + :type theElementType: TopAbs_ShapeEnum + :param theLCB: + :type theLCB: TopTools_ListOfListOfShape & + :param theConnectionMap: + :type theConnectionMap: TopTools_IndexedDataMapOfShapeListOfShape & + :rtype: void") MakeConnexityBlocks; + static void MakeConnexityBlocks (const TopoDS_Shape & theS,const TopAbs_ShapeEnum theConnectionType,const TopAbs_ShapeEnum theElementType,TopTools_ListOfListOfShape & theLCB,TopTools_IndexedDataMapOfShapeListOfShape & theConnectionMap); - :param theS: - :type theS: TopoDS_Shape & - :param theTolMax: default value is 0.0001 - :type theTolMax: float - :param theRunParallel: default value is Standard_False - :type theRunParallel: bool - :rtype: void -") CorrectCurveOnSurface; - static void CorrectCurveOnSurface (const TopoDS_Shape & theS,const Standard_Real theTolMax = 0.0001,const Standard_Boolean theRunParallel = Standard_False); - %feature("compactdefaultargs") CorrectPointOnCurve; - %feature("autodoc", " * Provides valid values of tolerances for the shape in terms of BRepCheck_InvalidPointOnCurve. + /****************** MakeConnexityBlocks ******************/ + %feature("compactdefaultargs") MakeConnexityBlocks; + %feature("autodoc", "* Makes connexity blocks of elements of the given type with the given type of the connecting elements. The blocks are checked on regularity (multi-connectivity) and stored to the list of blocks . + :param theLS: + :type theLS: TopTools_ListOfShape & + :param theConnectionType: + :type theConnectionType: TopAbs_ShapeEnum + :param theElementType: + :type theElementType: TopAbs_ShapeEnum + :param theLCB: + :type theLCB: BOPTools_ListOfConnexityBlock & + :rtype: void") MakeConnexityBlocks; + static void MakeConnexityBlocks (const TopTools_ListOfShape & theLS,const TopAbs_ShapeEnum theConnectionType,const TopAbs_ShapeEnum theElementType,BOPTools_ListOfConnexityBlock & theLCB); + + /****************** MakeContainer ******************/ + %feature("compactdefaultargs") MakeContainer; + %feature("autodoc", "* @name Other methods Makes empty container of requested type + :param theType: + :type theType: TopAbs_ShapeEnum + :param theShape: + :type theShape: TopoDS_Shape & + :rtype: void") MakeContainer; + static void MakeContainer (const TopAbs_ShapeEnum theType,TopoDS_Shape & theShape); - :param theS: - :type theS: TopoDS_Shape & - :param theTolMax: default value is 0.0001 - :type theTolMax: float - :param theRunParallel: default value is Standard_False - :type theRunParallel: bool - :rtype: void -") CorrectPointOnCurve; - static void CorrectPointOnCurve (const TopoDS_Shape & theS,const Standard_Real theTolMax = 0.0001,const Standard_Boolean theRunParallel = Standard_False); - %feature("compactdefaultargs") MakeNewVertex; - %feature("autodoc", " * Make a vertex using 3D-point and 3D-tolerance value + /****************** MakeEdge ******************/ + %feature("compactdefaultargs") MakeEdge; + %feature("autodoc", "* @name Edge construction Makes the edge based on the given curve with given bounding vertices. + :param theCurve: + :type theCurve: IntTools_Curve & + :param theV1: + :type theV1: TopoDS_Vertex & + :param theT1: + :type theT1: float + :param theV2: + :type theV2: TopoDS_Vertex & + :param theT2: + :type theT2: float + :param theTolR3D: + :type theTolR3D: float + :param theE: + :type theE: TopoDS_Edge & + :rtype: void") MakeEdge; + static void MakeEdge (const IntTools_Curve & theCurve,const TopoDS_Vertex & theV1,const Standard_Real theT1,const TopoDS_Vertex & theV2,const Standard_Real theT2,const Standard_Real theTolR3D,TopoDS_Edge & theE); + /****************** MakeNewVertex ******************/ + %feature("compactdefaultargs") MakeNewVertex; + %feature("autodoc", "* Make a vertex using 3D-point and 3D-tolerance value :param aP1: :type aP1: gp_Pnt :param aTol: :type aTol: float :param aNewVertex: :type aNewVertex: TopoDS_Vertex & - :rtype: void -") MakeNewVertex; + :rtype: void") MakeNewVertex; static void MakeNewVertex (const gp_Pnt & aP1,const Standard_Real aTol,TopoDS_Vertex & aNewVertex); - %feature("compactdefaultargs") MakeNewVertex; - %feature("autodoc", " * Make a vertex using couple of vertices + /****************** MakeNewVertex ******************/ + %feature("compactdefaultargs") MakeNewVertex; + %feature("autodoc", "* Make a vertex using couple of vertices :param aV1: :type aV1: TopoDS_Vertex & :param aV2: :type aV2: TopoDS_Vertex & :param aNewVertex: :type aNewVertex: TopoDS_Vertex & - :rtype: void -") MakeNewVertex; + :rtype: void") MakeNewVertex; static void MakeNewVertex (const TopoDS_Vertex & aV1,const TopoDS_Vertex & aV2,TopoDS_Vertex & aNewVertex); - %feature("compactdefaultargs") MakeNewVertex; - %feature("autodoc", " * Make a vertex in place of intersection between two edges with parameters + /****************** MakeNewVertex ******************/ + %feature("compactdefaultargs") MakeNewVertex; + %feature("autodoc", "* Make a vertex in place of intersection between two edges with parameters :param aE1: :type aE1: TopoDS_Edge & :param aP1: @@ -511,12 +653,12 @@ class BOPTools_AlgoTools { :type aP2: float :param aNewVertex: :type aNewVertex: TopoDS_Vertex & - :rtype: void -") MakeNewVertex; + :rtype: void") MakeNewVertex; static void MakeNewVertex (const TopoDS_Edge & aE1,const Standard_Real aP1,const TopoDS_Edge & aE2,const Standard_Real aP2,TopoDS_Vertex & aNewVertex); - %feature("compactdefaultargs") MakeNewVertex; - %feature("autodoc", " * Make a vertex in place of intersection between the edge with parameter and the face + /****************** MakeNewVertex ******************/ + %feature("compactdefaultargs") MakeNewVertex; + %feature("autodoc", "* Make a vertex in place of intersection between the edge with parameter and the face :param aE1: :type aE1: TopoDS_Edge & :param aP1: @@ -525,26 +667,34 @@ class BOPTools_AlgoTools { :type aF2: TopoDS_Face & :param aNewVertex: :type aNewVertex: TopoDS_Vertex & - :rtype: void -") MakeNewVertex; + :rtype: void") MakeNewVertex; static void MakeNewVertex (const TopoDS_Edge & aE1,const Standard_Real aP1,const TopoDS_Face & aF2,TopoDS_Vertex & aNewVertex); - %feature("compactdefaultargs") PointOnEdge; - %feature("autodoc", " * Compute a 3D-point on the edge at parameter - :param aEdge: - :type aEdge: TopoDS_Edge & - :param aPrm: - :type aPrm: float - :param aP: - :type aP: gp_Pnt - :rtype: void -") PointOnEdge; - static void PointOnEdge (const TopoDS_Edge & aEdge,const Standard_Real aPrm,gp_Pnt & aP); - %feature("compactdefaultargs") MakeSplitEdge; - %feature("autodoc", " * Make the edge from base edge and two vertices at parameters + /****************** MakePCurve ******************/ + %feature("compactdefaultargs") MakePCurve; + %feature("autodoc", "* @name PCurve construction Makes 2d curve of the edge on the faces and . - storage for caching the geometrical tools + :param theE: + :type theE: TopoDS_Edge & + :param theF1: + :type theF1: TopoDS_Face & + :param theF2: + :type theF2: TopoDS_Face & + :param theCurve: + :type theCurve: IntTools_Curve & + :param thePC1: + :type thePC1: bool + :param thePC2: + :type thePC2: bool + :param theContext: default value is opencascade::handle() + :type theContext: opencascade::handle & + :rtype: void") MakePCurve; + static void MakePCurve (const TopoDS_Edge & theE,const TopoDS_Face & theF1,const TopoDS_Face & theF2,const IntTools_Curve & theCurve,const Standard_Boolean thePC1,const Standard_Boolean thePC2,const opencascade::handle & theContext = opencascade::handle()); - :param aE1: - :type aE1: TopoDS_Edge & + /****************** MakeSectEdge ******************/ + %feature("compactdefaultargs") MakeSectEdge; + %feature("autodoc", "* Make the edge from 3D-Curve and two vertices at parameters + :param aIC: + :type aIC: IntTools_Curve & :param aV1: :type aV1: TopoDS_Vertex & :param aP1: @@ -555,14 +705,14 @@ class BOPTools_AlgoTools { :type aP2: float :param aNewEdge: :type aNewEdge: TopoDS_Edge & - :rtype: void -") MakeSplitEdge; - static void MakeSplitEdge (const TopoDS_Edge & aE1,const TopoDS_Vertex & aV1,const Standard_Real aP1,const TopoDS_Vertex & aV2,const Standard_Real aP2,TopoDS_Edge & aNewEdge); - %feature("compactdefaultargs") MakeSectEdge; - %feature("autodoc", " * Make the edge from 3D-Curve and two vertices at parameters + :rtype: void") MakeSectEdge; + static void MakeSectEdge (const IntTools_Curve & aIC,const TopoDS_Vertex & aV1,const Standard_Real aP1,const TopoDS_Vertex & aV2,const Standard_Real aP2,TopoDS_Edge & aNewEdge); - :param aIC: - :type aIC: IntTools_Curve & + /****************** MakeSplitEdge ******************/ + %feature("compactdefaultargs") MakeSplitEdge; + %feature("autodoc", "* Make the edge from base edge and two vertices at parameters + :param aE1: + :type aE1: TopoDS_Edge & :param aV1: :type aV1: TopoDS_Vertex & :param aP1: @@ -573,143 +723,93 @@ class BOPTools_AlgoTools { :type aP2: float :param aNewEdge: :type aNewEdge: TopoDS_Edge & - :rtype: void -") MakeSectEdge; - static void MakeSectEdge (const IntTools_Curve & aIC,const TopoDS_Vertex & aV1,const Standard_Real aP1,const TopoDS_Vertex & aV2,const Standard_Real aP2,TopoDS_Edge & aNewEdge); - %feature("compactdefaultargs") UpdateVertex; - %feature("autodoc", " * Update the tolerance value for vertex taking into account the fact that lays on the curve + :rtype: void") MakeSplitEdge; + static void MakeSplitEdge (const TopoDS_Edge & aE1,const TopoDS_Vertex & aV1,const Standard_Real aP1,const TopoDS_Vertex & aV2,const Standard_Real aP2,TopoDS_Edge & aNewEdge); + + /****************** MakeVertex ******************/ + %feature("compactdefaultargs") MakeVertex; + %feature("autodoc", "* @name Vertices construction Makes the vertex in the middle of given vertices with the tolerance covering all tolerance spheres of vertices. + :param theLV: + :type theLV: TopTools_ListOfShape & + :param theV: + :type theV: TopoDS_Vertex & + :rtype: void") MakeVertex; + static void MakeVertex (const TopTools_ListOfShape & theLV,TopoDS_Vertex & theV); + + /****************** OrientEdgesOnWire ******************/ + %feature("compactdefaultargs") OrientEdgesOnWire; + %feature("autodoc", "* @name Orienting elements in container Correctly orients edges on the wire + :param theWire: + :type theWire: TopoDS_Shape & + :rtype: void") OrientEdgesOnWire; + static void OrientEdgesOnWire (TopoDS_Shape & theWire); + + /****************** OrientFacesOnShell ******************/ + %feature("compactdefaultargs") OrientFacesOnShell; + %feature("autodoc", "* Correctly orients faces on the shell + :param theShell: + :type theShell: TopoDS_Shape & + :rtype: void") OrientFacesOnShell; + static void OrientFacesOnShell (TopoDS_Shape & theShell); + + /****************** PointOnEdge ******************/ + %feature("compactdefaultargs") PointOnEdge; + %feature("autodoc", "* Compute a 3D-point on the edge at parameter + :param aEdge: + :type aEdge: TopoDS_Edge & + :param aPrm: + :type aPrm: float + :param aP: + :type aP: gp_Pnt + :rtype: void") PointOnEdge; + static void PointOnEdge (const TopoDS_Edge & aEdge,const Standard_Real aPrm,gp_Pnt & aP); + + /****************** Sense ******************/ + %feature("compactdefaultargs") Sense; + %feature("autodoc", "* Checks if the normals direction of the given faces computed near the shared edge coincide. Returns the status of operation: * 0 - in case of error (shared edge not found or directions are not collinear) * 1 - normal directions coincide; * -1 - normal directions are opposite. + :param theF1: + :type theF1: TopoDS_Face & + :param theF2: + :type theF2: TopoDS_Face & + :param theContext: + :type theContext: opencascade::handle & + :rtype: int") Sense; + static Standard_Integer Sense (const TopoDS_Face & theF1,const TopoDS_Face & theF2,const opencascade::handle & theContext); + /****************** UpdateVertex ******************/ + %feature("compactdefaultargs") UpdateVertex; + %feature("autodoc", "* @name Updating the vertex Update the tolerance value for vertex taking into account the fact that lays on the curve :param aIC: :type aIC: IntTools_Curve & :param aT: :type aT: float :param aV: :type aV: TopoDS_Vertex & - :rtype: void -") UpdateVertex; + :rtype: void") UpdateVertex; static void UpdateVertex (const IntTools_Curve & aIC,const Standard_Real aT,const TopoDS_Vertex & aV); - %feature("compactdefaultargs") UpdateVertex; - %feature("autodoc", " * Update the tolerance value for vertex taking into account the fact that lays on the edge + /****************** UpdateVertex ******************/ + %feature("compactdefaultargs") UpdateVertex; + %feature("autodoc", "* Update the tolerance value for vertex taking into account the fact that lays on the edge :param aE: :type aE: TopoDS_Edge & :param aT: :type aT: float :param aV: :type aV: TopoDS_Vertex & - :rtype: void -") UpdateVertex; + :rtype: void") UpdateVertex; static void UpdateVertex (const TopoDS_Edge & aE,const Standard_Real aT,const TopoDS_Vertex & aV); - %feature("compactdefaultargs") UpdateVertex; - %feature("autodoc", " * Update the tolerance value for vertex taking into account the fact that should cover tolerance zone of + /****************** UpdateVertex ******************/ + %feature("compactdefaultargs") UpdateVertex; + %feature("autodoc", "* Update the tolerance value for vertex taking into account the fact that should cover tolerance zone of :param aVF: :type aVF: TopoDS_Vertex & :param aVN: :type aVN: TopoDS_Vertex & - :rtype: void -") UpdateVertex; + :rtype: void") UpdateVertex; static void UpdateVertex (const TopoDS_Vertex & aVF,const TopoDS_Vertex & aVN); - %feature("compactdefaultargs") CorrectRange; - %feature("autodoc", " * Correct shrunk range taking into account 3D-curve resolution and corresp. tolerances' values of , - - :param aE1: - :type aE1: TopoDS_Edge & - :param aE2: - :type aE2: TopoDS_Edge & - :param aSR: - :type aSR: IntTools_Range & - :param aNewSR: - :type aNewSR: IntTools_Range & - :rtype: void -") CorrectRange; - static void CorrectRange (const TopoDS_Edge & aE1,const TopoDS_Edge & aE2,const IntTools_Range & aSR,IntTools_Range & aNewSR); - %feature("compactdefaultargs") CorrectRange; - %feature("autodoc", " * Correct shrunk range taking into account 3D-curve resolution and corresp. tolerances' values of , - - :param aE: - :type aE: TopoDS_Edge & - :param aF: - :type aF: TopoDS_Face & - :param aSR: - :type aSR: IntTools_Range & - :param aNewSR: - :type aNewSR: IntTools_Range & - :rtype: void -") CorrectRange; - static void CorrectRange (const TopoDS_Edge & aE,const TopoDS_Face & aF,const IntTools_Range & aSR,IntTools_Range & aNewSR); - %feature("compactdefaultargs") IsBlockInOnFace; - %feature("autodoc", " * Returns True if PaveBlock lays on the face , i.e the is IN or ON in 2D of - - :param aShR: - :type aShR: IntTools_Range & - :param aF: - :type aF: TopoDS_Face & - :param aE: - :type aE: TopoDS_Edge & - :param aContext: - :type aContext: Handle_IntTools_Context & - :rtype: bool -") IsBlockInOnFace; - static Standard_Boolean IsBlockInOnFace (const IntTools_Range & aShR,const TopoDS_Face & aF,const TopoDS_Edge & aE,Handle_IntTools_Context & aContext); - %feature("compactdefaultargs") IsMicroEdge; - %feature("autodoc", " * Checks if it is possible to compute shrunk range for the edge . - - :param theEdge: - :type theEdge: TopoDS_Edge & - :param theContext: - :type theContext: Handle_IntTools_Context & - :rtype: bool -") IsMicroEdge; - static Standard_Boolean IsMicroEdge (const TopoDS_Edge & theEdge,const Handle_IntTools_Context & theContext); - %feature("compactdefaultargs") CorrectShapeTolerances; - %feature("autodoc", " * Corrects tolerance values of the sub-shapes of the shape if needed. - - :param theS: - :type theS: TopoDS_Shape & - :param theRunParallel: default value is Standard_False - :type theRunParallel: bool - :rtype: void -") CorrectShapeTolerances; - static void CorrectShapeTolerances (const TopoDS_Shape & theS,const Standard_Boolean theRunParallel = Standard_False); - %feature("compactdefaultargs") Dimension; - %feature("autodoc", " * Retutns dimension of the shape . - - :param theS: - :type theS: TopoDS_Shape & - :rtype: int -") Dimension; - static Standard_Integer Dimension (const TopoDS_Shape & theS); - %feature("compactdefaultargs") IsOpenShell; - %feature("autodoc", " * Returns true if the shell is open - - :param theShell: - :type theShell: TopoDS_Shell & - :rtype: bool -") IsOpenShell; - static Standard_Boolean IsOpenShell (const TopoDS_Shell & theShell); - %feature("compactdefaultargs") IsInvertedSolid; - %feature("autodoc", " * Returns true if the solid is inverted - - :param theSolid: - :type theSolid: TopoDS_Solid & - :rtype: bool -") IsInvertedSolid; - static Standard_Boolean IsInvertedSolid (const TopoDS_Solid & theSolid); - %feature("compactdefaultargs") ComputeTolerance; - %feature("autodoc", " * Computes the necessary value of the tolerance for the edge - :param theFace: - :type theFace: TopoDS_Face & - :param theEdge: - :type theEdge: TopoDS_Edge & - :param theMaxDist: - :type theMaxDist: float & - :param theMaxPar: - :type theMaxPar: float & - :rtype: bool -") ComputeTolerance; - static Standard_Boolean ComputeTolerance (const TopoDS_Face & theFace,const TopoDS_Edge & theEdge,Standard_Real &OutValue,Standard_Real &OutValue); }; @@ -718,240 +818,234 @@ class BOPTools_AlgoTools { __repr__ = _dumps_object } }; + +/***************************** +* class BOPTools_AlgoTools2D * +*****************************/ class BOPTools_AlgoTools2D { public: - %feature("compactdefaultargs") BuildPCurveForEdgeOnFace; - %feature("autodoc", " * Compute P-Curve for the edge on the face Raises exception Standard_ConstructionError if projection algorithm fails + /****************** AdjustPCurveOnFace ******************/ + %feature("compactdefaultargs") AdjustPCurveOnFace; + %feature("autodoc", "* Adjust P-Curve (3D-curve ) on surface of the face . - storage for caching the geometrical tools + :param theF: + :type theF: TopoDS_Face & + :param theC3D: + :type theC3D: opencascade::handle & + :param theC2D: + :type theC2D: opencascade::handle & + :param theC2DA: + :type theC2DA: opencascade::handle & + :param theContext: default value is opencascade::handle() + :type theContext: opencascade::handle & + :rtype: void") AdjustPCurveOnFace; + static void AdjustPCurveOnFace (const TopoDS_Face & theF,const opencascade::handle & theC3D,const opencascade::handle & theC2D,opencascade::handle & theC2DA,const opencascade::handle & theContext = opencascade::handle()); + + /****************** AdjustPCurveOnFace ******************/ + %feature("compactdefaultargs") AdjustPCurveOnFace; + %feature("autodoc", "* Adjust P-Curve (3D-curve ) on surface . [aT1, aT2] - range to adjust - storage for caching the geometrical tools + :param theF: + :type theF: TopoDS_Face & + :param theFirst: + :type theFirst: float + :param theLast: + :type theLast: float + :param theC2D: + :type theC2D: opencascade::handle & + :param theC2DA: + :type theC2DA: opencascade::handle & + :param theContext: default value is opencascade::handle() + :type theContext: opencascade::handle & + :rtype: void") AdjustPCurveOnFace; + static void AdjustPCurveOnFace (const TopoDS_Face & theF,const Standard_Real theFirst,const Standard_Real theLast,const opencascade::handle & theC2D,opencascade::handle & theC2DA,const opencascade::handle & theContext = opencascade::handle()); + + /****************** AdjustPCurveOnSurf ******************/ + %feature("compactdefaultargs") AdjustPCurveOnSurf; + %feature("autodoc", "* Adjust P-Curve (3D-curve ) on surface . [aT1, aT2] - range to adjust + :param aF: + :type aF: BRepAdaptor_Surface & + :param aT1: + :type aT1: float + :param aT2: + :type aT2: float + :param aC2D: + :type aC2D: opencascade::handle & + :param aC2DA: + :type aC2DA: opencascade::handle & + :rtype: void") AdjustPCurveOnSurf; + static void AdjustPCurveOnSurf (const BRepAdaptor_Surface & aF,const Standard_Real aT1,const Standard_Real aT2,const opencascade::handle & aC2D,opencascade::handle & aC2DA); + + /****************** AttachExistingPCurve ******************/ + %feature("compactdefaultargs") AttachExistingPCurve; + %feature("autodoc", "* Attach P-Curve from the edge on surface to the edge Returns 0 in case of success + :param aEold: + :type aEold: TopoDS_Edge & + :param aEnew: + :type aEnew: TopoDS_Edge & + :param aF: + :type aF: TopoDS_Face & + :param aCtx: + :type aCtx: opencascade::handle & + :rtype: int") AttachExistingPCurve; + static Standard_Integer AttachExistingPCurve (const TopoDS_Edge & aEold,const TopoDS_Edge & aEnew,const TopoDS_Face & aF,const opencascade::handle & aCtx); + /****************** BuildPCurveForEdgeOnFace ******************/ + %feature("compactdefaultargs") BuildPCurveForEdgeOnFace; + %feature("autodoc", "* Compute P-Curve for the edge on the face . Raises exception Standard_ConstructionError if projection algorithm fails. - storage for caching the geometrical tools :param aE: :type aE: TopoDS_Edge & :param aF: :type aF: TopoDS_Face & - :rtype: void -") BuildPCurveForEdgeOnFace; - static void BuildPCurveForEdgeOnFace (const TopoDS_Edge & aE,const TopoDS_Face & aF); - %feature("compactdefaultargs") EdgeTangent; - %feature("autodoc", " * Compute tangent for the edge [in 3D] at parameter + :param theContext: default value is opencascade::handle() + :type theContext: opencascade::handle & + :rtype: void") BuildPCurveForEdgeOnFace; + static void BuildPCurveForEdgeOnFace (const TopoDS_Edge & aE,const TopoDS_Face & aF,const opencascade::handle & theContext = opencascade::handle()); + /****************** EdgeTangent ******************/ + %feature("compactdefaultargs") EdgeTangent; + %feature("autodoc", "* Compute tangent for the edge [in 3D] at parameter :param anE: :type anE: TopoDS_Edge & :param aT: :type aT: float :param Tau: :type Tau: gp_Vec - :rtype: bool -") EdgeTangent; + :rtype: bool") EdgeTangent; static Standard_Boolean EdgeTangent (const TopoDS_Edge & anE,const Standard_Real aT,gp_Vec & Tau); - %feature("compactdefaultargs") PointOnSurface; - %feature("autodoc", " * Compute surface parameters of the face for the point from the edge at parameter . If has't pcurve on surface, algorithm tries to get it by projection and can raise exception Standard_ConstructionError if projection algorithm fails - :param aE: - :type aE: TopoDS_Edge & - :param aF: - :type aF: TopoDS_Face & - :param aT: - :type aT: float - :param U: - :type U: float & - :param V: - :type V: float & - :rtype: void -") PointOnSurface; - static void PointOnSurface (const TopoDS_Edge & aE,const TopoDS_Face & aF,const Standard_Real aT,Standard_Real &OutValue,Standard_Real &OutValue); + /****************** HasCurveOnSurface ******************/ %feature("compactdefaultargs") HasCurveOnSurface; - %feature("autodoc", " * Returns True if the edge has P-Curve on surface . [aFirst, aLast] - range of the P-Curve [aToler] - reached tolerance If the P-Curve does not exist, aC.IsNull()=True. - + %feature("autodoc", "* Returns True if the edge has P-Curve on surface . [aFirst, aLast] - range of the P-Curve [aToler] - reached tolerance If the P-Curve does not exist, aC.IsNull()=True. :param aE: :type aE: TopoDS_Edge & :param aF: :type aF: TopoDS_Face & :param aC: - :type aC: Handle_Geom2d_Curve & + :type aC: opencascade::handle & :param aFirst: :type aFirst: float & :param aLast: :type aLast: float & :param aToler: :type aToler: float & - :rtype: bool -") HasCurveOnSurface; - static Standard_Boolean HasCurveOnSurface (const TopoDS_Edge & aE,const TopoDS_Face & aF,Handle_Geom2d_Curve & aC,Standard_Real &OutValue,Standard_Real &OutValue,Standard_Real &OutValue); - %feature("compactdefaultargs") HasCurveOnSurface; - %feature("autodoc", " * Returns True if the edge has P-Curve on surface . If the P-Curve does not exist, aC.IsNull()=True. + :rtype: bool") HasCurveOnSurface; + static Standard_Boolean HasCurveOnSurface (const TopoDS_Edge & aE,const TopoDS_Face & aF,opencascade::handle & aC,Standard_Real &OutValue,Standard_Real &OutValue,Standard_Real &OutValue); + /****************** HasCurveOnSurface ******************/ + %feature("compactdefaultargs") HasCurveOnSurface; + %feature("autodoc", "* Returns True if the edge has P-Curve on surface . If the P-Curve does not exist, aC.IsNull()=True. :param aE: :type aE: TopoDS_Edge & :param aF: :type aF: TopoDS_Face & - :rtype: bool -") HasCurveOnSurface; + :rtype: bool") HasCurveOnSurface; static Standard_Boolean HasCurveOnSurface (const TopoDS_Edge & aE,const TopoDS_Face & aF); - %feature("compactdefaultargs") AdjustPCurveOnFace; - %feature("autodoc", " * Adjust P-Curve (3D-curve ) on surface . - - :param aF: - :type aF: TopoDS_Face & - :param C3D: - :type C3D: Handle_Geom_Curve & - :param aC2D: - :type aC2D: Handle_Geom2d_Curve & - :param aC2DA: - :type aC2DA: Handle_Geom2d_Curve & - :rtype: void -") AdjustPCurveOnFace; - static void AdjustPCurveOnFace (const TopoDS_Face & aF,const Handle_Geom_Curve & C3D,const Handle_Geom2d_Curve & aC2D,Handle_Geom2d_Curve & aC2DA); - %feature("compactdefaultargs") AdjustPCurveOnFace; - %feature("autodoc", " * Adjust P-Curve (3D-curve ) on surface . [aT1, aT2] - range to adjust - - :param aF: - :type aF: TopoDS_Face & - :param aT1: - :type aT1: float - :param aT2: - :type aT2: float - :param aC2D: - :type aC2D: Handle_Geom2d_Curve & - :param aC2DA: - :type aC2DA: Handle_Geom2d_Curve & - :rtype: void -") AdjustPCurveOnFace; - static void AdjustPCurveOnFace (const TopoDS_Face & aF,const Standard_Real aT1,const Standard_Real aT2,const Handle_Geom2d_Curve & aC2D,Handle_Geom2d_Curve & aC2DA); - %feature("compactdefaultargs") AdjustPCurveOnFace; - %feature("autodoc", " * Adjust P-Curve (3D-curve ) on surface . [aT1, aT2] - range to adjust - :param aF: - :type aF: BRepAdaptor_Surface & - :param aT1: - :type aT1: float - :param aT2: - :type aT2: float - :param aC2D: - :type aC2D: Handle_Geom2d_Curve & - :param aC2DA: - :type aC2DA: Handle_Geom2d_Curve & - :rtype: void -") AdjustPCurveOnFace; - static void AdjustPCurveOnFace (const BRepAdaptor_Surface & aF,const Standard_Real aT1,const Standard_Real aT2,const Handle_Geom2d_Curve & aC2D,Handle_Geom2d_Curve & aC2DA); + /****************** IntermediatePoint ******************/ %feature("compactdefaultargs") IntermediatePoint; - %feature("autodoc", " * Compute intermediate value in between [aFirst, aLast] . - + %feature("autodoc", "* Compute intermediate value in between [aFirst, aLast] . :param aFirst: :type aFirst: float :param aLast: :type aLast: float - :rtype: float -") IntermediatePoint; + :rtype: float") IntermediatePoint; static Standard_Real IntermediatePoint (const Standard_Real aFirst,const Standard_Real aLast); - %feature("compactdefaultargs") IntermediatePoint; - %feature("autodoc", " * Compute intermediate value of parameter for the edge . + /****************** IntermediatePoint ******************/ + %feature("compactdefaultargs") IntermediatePoint; + %feature("autodoc", "* Compute intermediate value of parameter for the edge . :param anE: :type anE: TopoDS_Edge & - :rtype: float -") IntermediatePoint; + :rtype: float") IntermediatePoint; static Standard_Real IntermediatePoint (const TopoDS_Edge & anE); - %feature("compactdefaultargs") BuildPCurveForEdgeOnPlane; - %feature("autodoc", " :param theE: - :type theE: TopoDS_Edge & - :param theF: - :type theF: TopoDS_Face & - :rtype: void -") BuildPCurveForEdgeOnPlane; - static void BuildPCurveForEdgeOnPlane (const TopoDS_Edge & theE,const TopoDS_Face & theF); - %feature("compactdefaultargs") BuildPCurveForEdgeOnPlane; - %feature("autodoc", " :param theE: + + /****************** IsEdgeIsoline ******************/ + %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). + :param theE: :type theE: TopoDS_Edge & :param theF: :type theF: TopoDS_Face & - :param theC2D: - :type theC2D: Handle_Geom2d_Curve & - :param bToUpdate: - :type bToUpdate: bool - :rtype: void -") BuildPCurveForEdgeOnPlane; - static void BuildPCurveForEdgeOnPlane (const TopoDS_Edge & theE,const TopoDS_Face & theF,Handle_Geom2d_Curve & theC2D,Standard_Boolean &OutValue); - %feature("compactdefaultargs") BuildPCurveForEdgesOnPlane; - %feature("autodoc", " :param theLE: - :type theLE: BOPCol_ListOfShape & - :param theF: - :type theF: TopoDS_Face & - :rtype: void -") BuildPCurveForEdgesOnPlane; - static void BuildPCurveForEdgesOnPlane (const BOPCol_ListOfShape & theLE,const TopoDS_Face & theF); + :param isTheUIso: + :type isTheUIso: bool + :param isTheVIso: + :type isTheVIso: bool + :rtype: void") IsEdgeIsoline; + static void IsEdgeIsoline (const TopoDS_Edge & theE,const TopoDS_Face & theF,Standard_Boolean &OutValue,Standard_Boolean &OutValue); + + /****************** Make2D ******************/ %feature("compactdefaultargs") Make2D; - %feature("autodoc", " * Make P-Curve for the edge on surface . [aFirst, aLast] - range of the P-Curve [aToler] - reached tolerance Raises exception Standard_ConstructionError if algorithm fails - + %feature("autodoc", "* Make P-Curve for the edge on surface . [aFirst, aLast] - range of the P-Curve [aToler] - reached tolerance Raises exception Standard_ConstructionError if algorithm fails. - storage for caching the geometrical tools :param aE: :type aE: TopoDS_Edge & :param aF: :type aF: TopoDS_Face & :param aC: - :type aC: Handle_Geom2d_Curve & + :type aC: opencascade::handle & :param aFirst: :type aFirst: float & :param aLast: :type aLast: float & :param aToler: :type aToler: float & - :rtype: void -") Make2D; - static void Make2D (const TopoDS_Edge & aE,const TopoDS_Face & aF,Handle_Geom2d_Curve & aC,Standard_Real &OutValue,Standard_Real &OutValue,Standard_Real &OutValue); - %feature("compactdefaultargs") MakePCurveOnFace; - %feature("autodoc", " * Make P-Curve for the 3D-curve on surface . [aToler] - reached tolerance Raises exception Standard_ConstructionError if projection algorithm fails + :param theContext: default value is opencascade::handle() + :type theContext: opencascade::handle & + :rtype: void") Make2D; + static void Make2D (const TopoDS_Edge & aE,const TopoDS_Face & aF,opencascade::handle & aC,Standard_Real &OutValue,Standard_Real &OutValue,Standard_Real &OutValue,const opencascade::handle & theContext = opencascade::handle()); + /****************** MakePCurveOnFace ******************/ + %feature("compactdefaultargs") MakePCurveOnFace; + %feature("autodoc", "* Make P-Curve for the 3D-curve on surface . [aToler] - reached tolerance Raises exception Standard_ConstructionError if projection algorithm fails. - storage for caching the geometrical tools :param aF: :type aF: TopoDS_Face & :param C3D: - :type C3D: Handle_Geom_Curve & + :type C3D: opencascade::handle & :param aC: - :type aC: Handle_Geom2d_Curve & + :type aC: opencascade::handle & :param aToler: :type aToler: float & - :rtype: void -") MakePCurveOnFace; - static void MakePCurveOnFace (const TopoDS_Face & aF,const Handle_Geom_Curve & C3D,Handle_Geom2d_Curve & aC,Standard_Real &OutValue); - %feature("compactdefaultargs") MakePCurveOnFace; - %feature("autodoc", " * Make P-Curve for the 3D-curve on surface . [aT1, aT2] - range to build [aToler] - reached tolerance Raises exception Standard_ConstructionError if projection algorithm fails + :param theContext: default value is opencascade::handle() + :type theContext: opencascade::handle & + :rtype: void") MakePCurveOnFace; + static void MakePCurveOnFace (const TopoDS_Face & aF,const opencascade::handle & C3D,opencascade::handle & aC,Standard_Real &OutValue,const opencascade::handle & theContext = opencascade::handle()); + /****************** MakePCurveOnFace ******************/ + %feature("compactdefaultargs") MakePCurveOnFace; + %feature("autodoc", "* Make P-Curve for the 3D-curve on surface . [aT1, aT2] - range to build [aToler] - reached tolerance Raises exception Standard_ConstructionError if projection algorithm fails. - storage for caching the geometrical tools :param aF: :type aF: TopoDS_Face & :param C3D: - :type C3D: Handle_Geom_Curve & + :type C3D: opencascade::handle & :param aT1: :type aT1: float :param aT2: :type aT2: float :param aC: - :type aC: Handle_Geom2d_Curve & + :type aC: opencascade::handle & :param aToler: - :type aToler: float & - :rtype: void -") MakePCurveOnFace; - static void MakePCurveOnFace (const TopoDS_Face & aF,const Handle_Geom_Curve & C3D,const Standard_Real aT1,const Standard_Real aT2,Handle_Geom2d_Curve & aC,Standard_Real &OutValue); - %feature("compactdefaultargs") MakePCurveOfType; - %feature("autodoc", " * Make empty P-Curve of relevant to type - - :param PC: - :type PC: ProjLib_ProjectedCurve & - :param aC: - :type aC: Handle_Geom2d_Curve & - :rtype: void -") MakePCurveOfType; - static void MakePCurveOfType (const ProjLib_ProjectedCurve & PC,Handle_Geom2d_Curve & aC); - %feature("compactdefaultargs") AttachExistingPCurve; - %feature("autodoc", " * Attach P-Curve from the edge on surface to the edge Returns 0 in case of success - - :param aEold: - :type aEold: TopoDS_Edge & - :param aEnew: - :type aEnew: TopoDS_Edge & + :type aToler: float & + :param theContext: default value is opencascade::handle() + :type theContext: opencascade::handle & + :rtype: void") MakePCurveOnFace; + static void MakePCurveOnFace (const TopoDS_Face & aF,const opencascade::handle & C3D,const Standard_Real aT1,const Standard_Real aT2,opencascade::handle & aC,Standard_Real &OutValue,const opencascade::handle & theContext = opencascade::handle()); + + /****************** PointOnSurface ******************/ + %feature("compactdefaultargs") PointOnSurface; + %feature("autodoc", "* Compute surface parameters of the face for the point from the edge at parameter . If has't pcurve on surface, algorithm tries to get it by projection and can raise exception Standard_ConstructionError if projection algorithm fails. - storage for caching the geometrical tools + :param aE: + :type aE: TopoDS_Edge & :param aF: :type aF: TopoDS_Face & - :param aCtx: - :type aCtx: Handle_IntTools_Context & - :rtype: int -") AttachExistingPCurve; - static Standard_Integer AttachExistingPCurve (const TopoDS_Edge & aEold,const TopoDS_Edge & aEnew,const TopoDS_Face & aF,const Handle_IntTools_Context & aCtx); + :param aT: + :type aT: float + :param U: + :type U: float & + :param V: + :type V: float & + :param theContext: default value is opencascade::handle() + :type theContext: opencascade::handle & + :rtype: void") PointOnSurface; + static void PointOnSurface (const TopoDS_Edge & aE,const TopoDS_Face & aF,const Standard_Real aT,Standard_Real &OutValue,Standard_Real &OutValue,const opencascade::handle & theContext = opencascade::handle()); + }; @@ -960,105 +1054,223 @@ class BOPTools_AlgoTools2D { __repr__ = _dumps_object } }; + +/***************************** +* class BOPTools_AlgoTools3D * +*****************************/ class BOPTools_AlgoTools3D { public: + /****************** DoSplitSEAMOnFace ******************/ %feature("compactdefaultargs") DoSplitSEAMOnFace; - %feature("autodoc", " * Make the edge seam edge for the face - + %feature("autodoc", "* Make the edge seam edge for the face :param aSp: :type aSp: TopoDS_Edge & :param aF: :type aF: TopoDS_Face & - :rtype: void -") DoSplitSEAMOnFace; + :rtype: void") DoSplitSEAMOnFace; static void DoSplitSEAMOnFace (const TopoDS_Edge & aSp,const TopoDS_Face & aF); - %feature("compactdefaultargs") GetNormalToFaceOnEdge; - %feature("autodoc", " * Computes normal to the face for the point on the edge at parameter + /****************** GetApproxNormalToFaceOnEdge ******************/ + %feature("compactdefaultargs") GetApproxNormalToFaceOnEdge; + %feature("autodoc", "* Computes normal to the face for the 3D-point that belongs to the edge at parameter . Output: aPx - the 3D-point where the normal computed aD - the normal; Warning: The normal is computed not exactly in the point on the edge, but in point that is near to the edge towards to the face material (so, we'll have approx. normal); The point is computed using PointNearEdge function, with the shifting value BOPTools_AlgoTools3D::MinStepIn2d(), from the edge, but if this value is too big, the point will be computed using Hatcher (PointInFace function). Returns True in case of success. :param aE: :type aE: TopoDS_Edge & :param aF: :type aF: TopoDS_Face & :param aT: :type aT: float + :param aPx: + :type aPx: gp_Pnt :param aD: :type aD: gp_Dir - :rtype: void -") GetNormalToFaceOnEdge; - static void GetNormalToFaceOnEdge (const TopoDS_Edge & aE,const TopoDS_Face & aF,const Standard_Real aT,gp_Dir & aD); + :param theContext: + :type theContext: opencascade::handle & + :rtype: bool") GetApproxNormalToFaceOnEdge; + static Standard_Boolean GetApproxNormalToFaceOnEdge (const TopoDS_Edge & aE,const TopoDS_Face & aF,const Standard_Real aT,gp_Pnt & aPx,gp_Dir & aD,const opencascade::handle & theContext); + + /****************** GetApproxNormalToFaceOnEdge ******************/ + %feature("compactdefaultargs") GetApproxNormalToFaceOnEdge; + %feature("autodoc", "* Computes normal to the face for the 3D-point that belongs to the edge at parameter . Output: aPx - the 3D-point where the normal computed aD - the normal; Warning: The normal is computed not exactly in the point on the edge, but in point that is near to the edge towards to the face material (so, we'll have approx. normal); The point is computed using PointNearEdge function with the shifting value from the edge; No checks on this value will be done. Returns True in case of success. + :param theE: + :type theE: TopoDS_Edge & + :param theF: + :type theF: TopoDS_Face & + :param aT: + :type aT: float + :param aP: + :type aP: gp_Pnt + :param aDNF: + :type aDNF: gp_Dir + :param aDt2D: + :type aDt2D: float + :rtype: bool") GetApproxNormalToFaceOnEdge; + static Standard_Boolean GetApproxNormalToFaceOnEdge (const TopoDS_Edge & theE,const TopoDS_Face & theF,const Standard_Real aT,gp_Pnt & aP,gp_Dir & aDNF,const Standard_Real aDt2D); + + /****************** GetApproxNormalToFaceOnEdge ******************/ + %feature("compactdefaultargs") GetApproxNormalToFaceOnEdge; + %feature("autodoc", "* Computes normal to the face for the 3D-point that belongs to the edge at parameter . Output: aPx - the 3D-point where the normal computed aD - the normal; Warning: The normal is computed not exactly in the point on the edge, but in point that is near to the edge towards to the face material (so, we'll have approx. normal); The point is computed using PointNearEdge function with the shifting value from the edge, but if this value is too big the point will be computed using Hatcher (PointInFace function). Returns True in case of success. + :param theE: + :type theE: TopoDS_Edge & + :param theF: + :type theF: TopoDS_Face & + :param aT: + :type aT: float + :param aDt2D: + :type aDt2D: float + :param aP: + :type aP: gp_Pnt + :param aDNF: + :type aDNF: gp_Dir + :param theContext: + :type theContext: opencascade::handle & + :rtype: bool") GetApproxNormalToFaceOnEdge; + static Standard_Boolean GetApproxNormalToFaceOnEdge (const TopoDS_Edge & theE,const TopoDS_Face & theF,const Standard_Real aT,const Standard_Real aDt2D,gp_Pnt & aP,gp_Dir & aDNF,const opencascade::handle & theContext); + + /****************** GetNormalToFaceOnEdge ******************/ %feature("compactdefaultargs") GetNormalToFaceOnEdge; - %feature("autodoc", " * Computes normal to the face for the point on the edge at arbitrary intermediate parameter + %feature("autodoc", "* Computes normal to the face for the point on the edge at parameter . - storage for caching the geometrical tools + :param aE: + :type aE: TopoDS_Edge & + :param aF: + :type aF: TopoDS_Face & + :param aT: + :type aT: float + :param aD: + :type aD: gp_Dir + :param theContext: default value is opencascade::handle() + :type theContext: opencascade::handle & + :rtype: void") GetNormalToFaceOnEdge; + static void GetNormalToFaceOnEdge (const TopoDS_Edge & aE,const TopoDS_Face & aF,const Standard_Real aT,gp_Dir & aD,const opencascade::handle & theContext = opencascade::handle()); + /****************** GetNormalToFaceOnEdge ******************/ + %feature("compactdefaultargs") GetNormalToFaceOnEdge; + %feature("autodoc", "* Computes normal to the face for the point on the edge at arbitrary intermediate parameter. - storage for caching the geometrical tools :param aE: :type aE: TopoDS_Edge & :param aF: :type aF: TopoDS_Face & :param aD: :type aD: gp_Dir - :rtype: void -") GetNormalToFaceOnEdge; - static void GetNormalToFaceOnEdge (const TopoDS_Edge & aE,const TopoDS_Face & aF,gp_Dir & aD); - %feature("compactdefaultargs") SenseFlag; - %feature("autodoc", " * Returns 1 if scalar product aNF1* aNF2>0. Returns 0 if directions aNF1 aNF2 coinside Returns -1 if scalar product aNF1* aNF2<0. + :param theContext: default value is opencascade::handle() + :type theContext: opencascade::handle & + :rtype: void") GetNormalToFaceOnEdge; + static void GetNormalToFaceOnEdge (const TopoDS_Edge & aE,const TopoDS_Face & aF,gp_Dir & aD,const opencascade::handle & theContext = opencascade::handle()); - :param aNF1: - :type aNF1: gp_Dir - :param aNF2: - :type aNF2: gp_Dir - :rtype: int -") SenseFlag; - static Standard_Integer SenseFlag (const gp_Dir & aNF1,const gp_Dir & aNF2); + /****************** GetNormalToSurface ******************/ %feature("compactdefaultargs") GetNormalToSurface; - %feature("autodoc", " * Compute normal to surface in point (U,V) Returns True if directions aD1U, aD1V coinside - + %feature("autodoc", "* Compute normal to surface in point (U,V) Returns True if directions aD1U, aD1V coincide :param aS: - :type aS: Handle_Geom_Surface & + :type aS: opencascade::handle & :param U: :type U: float :param V: :type V: float :param aD: :type aD: gp_Dir - :rtype: bool -") GetNormalToSurface; - static Standard_Boolean GetNormalToSurface (const Handle_Geom_Surface & aS,const Standard_Real U,const Standard_Real V,gp_Dir & aD); - %feature("compactdefaultargs") GetApproxNormalToFaceOnEdge; - %feature("autodoc", " * Computes normal to the face for the 3D-point that belonds to the edge at parameter . Output: aPx - the 3D-point where the normal computed aD - the normal; //! Warning: The normal is computed not exactly in the point on the edge, but in point that is near to the edge towards to the face material (so, we'll have approx. normal) + :rtype: bool") GetNormalToSurface; + static Standard_Boolean GetNormalToSurface (const opencascade::handle & aS,const Standard_Real U,const Standard_Real V,gp_Dir & aD); + + /****************** IsEmptyShape ******************/ + %feature("compactdefaultargs") IsEmptyShape; + %feature("autodoc", "* Returns True if the shape does not contain geometry information (e.g. empty compound) + :param aS: + :type aS: TopoDS_Shape & + :rtype: bool") IsEmptyShape; + static Standard_Boolean IsEmptyShape (const TopoDS_Shape & aS); + /****************** MinStepIn2d ******************/ + %feature("compactdefaultargs") MinStepIn2d; + %feature("autodoc", "* Returns simple step value that is used in 2D-computations = 1.e-5 + :rtype: float") MinStepIn2d; + static Standard_Real MinStepIn2d (); + + /****************** OrientEdgeOnFace ******************/ + %feature("compactdefaultargs") OrientEdgeOnFace; + %feature("autodoc", "* Get the edge from the face that is the same as the edge :param aE: :type aE: TopoDS_Edge & :param aF: :type aF: TopoDS_Face & - :param aT: - :type aT: float - :param aPx: - :type aPx: gp_Pnt - :param aD: - :type aD: gp_Dir + :param aER: + :type aER: TopoDS_Edge & + :rtype: void") OrientEdgeOnFace; + static void OrientEdgeOnFace (const TopoDS_Edge & aE,const TopoDS_Face & aF,TopoDS_Edge & aER); + + /****************** PointInFace ******************/ + %feature("compactdefaultargs") PointInFace; + %feature("autodoc", "* Computes arbitrary point inside the face . - 2D representation of on the surface of Returns 0 in case of success. + :param theF: + :type theF: TopoDS_Face & + :param theP: + :type theP: gp_Pnt + :param theP2D: + :type theP2D: gp_Pnt2d :param theContext: - :type theContext: Handle_IntTools_Context & - :rtype: void -") GetApproxNormalToFaceOnEdge; - static void GetApproxNormalToFaceOnEdge (const TopoDS_Edge & aE,const TopoDS_Face & aF,const Standard_Real aT,gp_Pnt & aPx,gp_Dir & aD,Handle_IntTools_Context & theContext); - %feature("compactdefaultargs") GetApproxNormalToFaceOnEdge; - %feature("autodoc", " :param theE: + :type theContext: opencascade::handle & + :rtype: int") PointInFace; + static Standard_Integer PointInFace (const TopoDS_Face & theF,gp_Pnt & theP,gp_Pnt2d & theP2D,const opencascade::handle & theContext); + + /****************** PointInFace ******************/ + %feature("compactdefaultargs") PointInFace; + %feature("autodoc", "* Computes a point inside the face using starting point taken by the parameter from the 2d curve of the edge on the face in the direction perpendicular to the tangent vector of the 2d curve of the edge. The point will be distanced on from the 2d curve. - 2D representation of on the surface of Returns 0 in case of success. + :param theF: + :type theF: TopoDS_Face & + :param theE: :type theE: TopoDS_Edge & + :param theT: + :type theT: float + :param theDt2D: + :type theDt2D: float + :param theP: + :type theP: gp_Pnt + :param theP2D: + :type theP2D: gp_Pnt2d + :param theContext: + :type theContext: opencascade::handle & + :rtype: int") PointInFace; + static Standard_Integer PointInFace (const TopoDS_Face & theF,const TopoDS_Edge & theE,const Standard_Real theT,const Standard_Real theDt2D,gp_Pnt & theP,gp_Pnt2d & theP2D,const opencascade::handle & theContext); + + /****************** PointInFace ******************/ + %feature("compactdefaultargs") PointInFace; + %feature("autodoc", "* Computes a point inside the face using the line so that 2D point , 2D representation of on the surface of , lies on that line. Returns 0 in case of success. :param theF: :type theF: TopoDS_Face & + :param theL: + :type theL: opencascade::handle & + :param theP: + :type theP: gp_Pnt + :param theP2D: + :type theP2D: gp_Pnt2d + :param theContext: + :type theContext: opencascade::handle & + :param theDt2D: default value is 0.0 + :type theDt2D: float + :rtype: int") PointInFace; + static Standard_Integer PointInFace (const TopoDS_Face & theF,const opencascade::handle & theL,gp_Pnt & theP,gp_Pnt2d & theP2D,const opencascade::handle & theContext,const Standard_Real theDt2D = 0.0); + + /****************** PointNearEdge ******************/ + %feature("compactdefaultargs") PointNearEdge; + %feature("autodoc", "* Compute the point , () that is near to the edge at parameter towards to the material of the face . The value of shifting in 2D is If the value of shifting is too big the point will be computed using Hatcher (PointInFace function). Returns error status: 0 - in case of success; 1 - does not have 2d curve on the face ; 2 - the computed point is out of the face. + :param aE: + :type aE: TopoDS_Edge & + :param aF: + :type aF: TopoDS_Face & :param aT: :type aT: float - :param aP: - :type aP: gp_Pnt - :param aDNF: - :type aDNF: gp_Dir :param aDt2D: :type aDt2D: float - :rtype: void -") GetApproxNormalToFaceOnEdge; - static void GetApproxNormalToFaceOnEdge (const TopoDS_Edge & theE,const TopoDS_Face & theF,const Standard_Real aT,gp_Pnt & aP,gp_Dir & aDNF,const Standard_Real aDt2D); - %feature("compactdefaultargs") PointNearEdge; - %feature("autodoc", " * Compute the point , () that is near to the edge at parameter towards to the material of the face . The value of shifting in 2D is + :param aP2D: + :type aP2D: gp_Pnt2d + :param aPx: + :type aPx: gp_Pnt + :param theContext: + :type theContext: opencascade::handle & + :rtype: int") PointNearEdge; + static Standard_Integer PointNearEdge (const TopoDS_Edge & aE,const TopoDS_Face & aF,const Standard_Real aT,const Standard_Real aDt2D,gp_Pnt2d & aP2D,gp_Pnt & aPx,const opencascade::handle & theContext); + /****************** PointNearEdge ******************/ + %feature("compactdefaultargs") PointNearEdge; + %feature("autodoc", "* Compute the point , () that is near to the edge at parameter towards to the material of the face . The value of shifting in 2D is . No checks on this value will be done. Returns error status: 0 - in case of success; 1 - does not have 2d curve on the face . :param aE: :type aE: TopoDS_Edge & :param aF: @@ -1071,12 +1283,12 @@ class BOPTools_AlgoTools3D { :type aP2D: gp_Pnt2d :param aPx: :type aPx: gp_Pnt - :rtype: void -") PointNearEdge; - static void PointNearEdge (const TopoDS_Edge & aE,const TopoDS_Face & aF,const Standard_Real aT,const Standard_Real aDt2D,gp_Pnt2d & aP2D,gp_Pnt & aPx); - %feature("compactdefaultargs") PointNearEdge; - %feature("autodoc", " * Computes the point , () that is near to the edge at parameter towards to the material of the face . The value of shifting in 2D is dt2D=BOPTools_AlgoTools3D::MinStepIn2d() + :rtype: int") PointNearEdge; + static Standard_Integer PointNearEdge (const TopoDS_Edge & aE,const TopoDS_Face & aF,const Standard_Real aT,const Standard_Real aDt2D,gp_Pnt2d & aP2D,gp_Pnt & aPx); + /****************** PointNearEdge ******************/ + %feature("compactdefaultargs") PointNearEdge; + %feature("autodoc", "* Computes the point , () that is near to the edge at parameter towards to the material of the face . The value of shifting in 2D is dt2D=BOPTools_AlgoTools3D::MinStepIn2d() If the value of shifting is too big the point will be computed using Hatcher (PointInFace function). Returns error status: 0 - in case of success; 1 - does not have 2d curve on the face ; 2 - the computed point is out of the face. :param aE: :type aE: TopoDS_Edge & :param aF: @@ -1088,13 +1300,13 @@ class BOPTools_AlgoTools3D { :param aPx: :type aPx: gp_Pnt :param theContext: - :type theContext: Handle_IntTools_Context & - :rtype: void -") PointNearEdge; - static void PointNearEdge (const TopoDS_Edge & aE,const TopoDS_Face & aF,const Standard_Real aT,gp_Pnt2d & aP2D,gp_Pnt & aPx,Handle_IntTools_Context & theContext); - %feature("compactdefaultargs") PointNearEdge; - %feature("autodoc", " * Compute the point , () that is near to the edge at arbitrary parameter towards to the material of the face . The value of shifting in 2D is dt2D=BOPTools_AlgoTools3D::MinStepIn2d() + :type theContext: opencascade::handle & + :rtype: int") PointNearEdge; + static Standard_Integer PointNearEdge (const TopoDS_Edge & aE,const TopoDS_Face & aF,const Standard_Real aT,gp_Pnt2d & aP2D,gp_Pnt & aPx,const opencascade::handle & theContext); + /****************** PointNearEdge ******************/ + %feature("compactdefaultargs") PointNearEdge; + %feature("autodoc", "* Compute the point , () that is near to the edge at arbitrary parameter towards to the material of the face . The value of shifting in 2D is dt2D=BOPTools_AlgoTools3D::MinStepIn2d(). If the value of shifting is too big the point will be computed using Hatcher (PointInFace function). Returns error status: 0 - in case of success; 1 - does not have 2d curve on the face ; 2 - the computed point is out of the face. :param aE: :type aE: TopoDS_Edge & :param aF: @@ -1104,50 +1316,20 @@ class BOPTools_AlgoTools3D { :param aPx: :type aPx: gp_Pnt :param theContext: - :type theContext: Handle_IntTools_Context & - :rtype: void -") PointNearEdge; - static void PointNearEdge (const TopoDS_Edge & aE,const TopoDS_Face & aF,gp_Pnt2d & aP2D,gp_Pnt & aPx,Handle_IntTools_Context & theContext); - %feature("compactdefaultargs") MinStepIn2d; - %feature("autodoc", " * Returns simple step value that is used in 2D-computations = 1.e-5 - - :rtype: float -") MinStepIn2d; - static Standard_Real MinStepIn2d (); - %feature("compactdefaultargs") IsEmptyShape; - %feature("autodoc", " * Returns True if the shape does not contain geometry information (e.g. empty compound) + :type theContext: opencascade::handle & + :rtype: int") PointNearEdge; + static Standard_Integer PointNearEdge (const TopoDS_Edge & aE,const TopoDS_Face & aF,gp_Pnt2d & aP2D,gp_Pnt & aPx,const opencascade::handle & theContext); - :param aS: - :type aS: TopoDS_Shape & - :rtype: bool -") IsEmptyShape; - static Standard_Boolean IsEmptyShape (const TopoDS_Shape & aS); - %feature("compactdefaultargs") OrientEdgeOnFace; - %feature("autodoc", " * Get the edge from the face that is the same as the edge - - :param aE: - :type aE: TopoDS_Edge & - :param aF: - :type aF: TopoDS_Face & - :param aER: - :type aER: TopoDS_Edge & - :rtype: void -") OrientEdgeOnFace; - static void OrientEdgeOnFace (const TopoDS_Edge & aE,const TopoDS_Face & aF,TopoDS_Edge & aER); - %feature("compactdefaultargs") PointInFace; - %feature("autodoc", " * Computes a point inside the face . - 2D representation of on the surface of Returns 0 in case of success. + /****************** SenseFlag ******************/ + %feature("compactdefaultargs") SenseFlag; + %feature("autodoc", "* Returns 1 if scalar product aNF1* aNF2>0. Returns 0 if directions aNF1 aNF2 coincide Returns -1 if scalar product aNF1* aNF2<0. + :param aNF1: + :type aNF1: gp_Dir + :param aNF2: + :type aNF2: gp_Dir + :rtype: int") SenseFlag; + static Standard_Integer SenseFlag (const gp_Dir & aNF1,const gp_Dir & aNF2); - :param theF: - :type theF: TopoDS_Face & - :param theP: - :type theP: gp_Pnt - :param theP2D: - :type theP2D: gp_Pnt2d - :param theContext: - :type theContext: Handle_IntTools_Context & - :rtype: int -") PointInFace; - static Standard_Integer PointInFace (const TopoDS_Face & theF,gp_Pnt & theP,gp_Pnt2d & theP2D,Handle_IntTools_Context & theContext); }; @@ -1156,45 +1338,57 @@ class BOPTools_AlgoTools3D { __repr__ = _dumps_object } }; + +/******************************** +* class BOPTools_ConnexityBlock * +********************************/ %nodefaultctor BOPTools_ConnexityBlock; class BOPTools_ConnexityBlock { public: + /****************** BOPTools_ConnexityBlock ******************/ %feature("compactdefaultargs") BOPTools_ConnexityBlock; - %feature("autodoc", " :rtype: None -") BOPTools_ConnexityBlock; + %feature("autodoc", ":rtype: None") BOPTools_ConnexityBlock; BOPTools_ConnexityBlock (); + + /****************** BOPTools_ConnexityBlock ******************/ %feature("compactdefaultargs") BOPTools_ConnexityBlock; - %feature("autodoc", " :param theAllocator: - :type theAllocator: Handle_NCollection_BaseAllocator & - :rtype: None -") BOPTools_ConnexityBlock; - BOPTools_ConnexityBlock (const Handle_NCollection_BaseAllocator & theAllocator); - %feature("compactdefaultargs") Shapes; - %feature("autodoc", " :rtype: BOPCol_ListOfShape -") Shapes; - const BOPCol_ListOfShape & Shapes (); + %feature("autodoc", ":param theAllocator: + :type theAllocator: opencascade::handle & + :rtype: None") BOPTools_ConnexityBlock; + BOPTools_ConnexityBlock (const opencascade::handle & theAllocator); + + /****************** ChangeLoops ******************/ + %feature("compactdefaultargs") ChangeLoops; + %feature("autodoc", ":rtype: TopTools_ListOfShape") ChangeLoops; + TopTools_ListOfShape & ChangeLoops (); + + /****************** ChangeShapes ******************/ %feature("compactdefaultargs") ChangeShapes; - %feature("autodoc", " :rtype: BOPCol_ListOfShape -") ChangeShapes; - BOPCol_ListOfShape & ChangeShapes (); - %feature("compactdefaultargs") SetRegular; - %feature("autodoc", " :param theFlag: - :type theFlag: bool - :rtype: None -") SetRegular; - void SetRegular (const Standard_Boolean theFlag); + %feature("autodoc", ":rtype: TopTools_ListOfShape") ChangeShapes; + TopTools_ListOfShape & ChangeShapes (); + + /****************** IsRegular ******************/ %feature("compactdefaultargs") IsRegular; - %feature("autodoc", " :rtype: bool -") IsRegular; + %feature("autodoc", ":rtype: bool") IsRegular; Standard_Boolean IsRegular (); + + /****************** Loops ******************/ %feature("compactdefaultargs") Loops; - %feature("autodoc", " :rtype: BOPCol_ListOfShape -") Loops; - const BOPCol_ListOfShape & Loops (); - %feature("compactdefaultargs") ChangeLoops; - %feature("autodoc", " :rtype: BOPCol_ListOfShape -") ChangeLoops; - BOPCol_ListOfShape & ChangeLoops (); + %feature("autodoc", ":rtype: TopTools_ListOfShape") Loops; + const TopTools_ListOfShape & Loops (); + + /****************** SetRegular ******************/ + %feature("compactdefaultargs") SetRegular; + %feature("autodoc", ":param theFlag: + :type theFlag: bool + :rtype: None") SetRegular; + void SetRegular (const Standard_Boolean theFlag); + + /****************** Shapes ******************/ + %feature("compactdefaultargs") Shapes; + %feature("autodoc", ":rtype: TopTools_ListOfShape") Shapes; + const TopTools_ListOfShape & Shapes (); + }; @@ -1203,131 +1397,127 @@ class BOPTools_ConnexityBlock { __repr__ = _dumps_object } }; -%nodefaultctor BOPTools_EdgeSet; -class BOPTools_EdgeSet { + +/******************************* +* class BOPTools_CoupleOfShape * +*******************************/ +%nodefaultctor BOPTools_CoupleOfShape; +class BOPTools_CoupleOfShape { public: - %feature("compactdefaultargs") BOPTools_EdgeSet; - %feature("autodoc", " :rtype: None -") BOPTools_EdgeSet; - BOPTools_EdgeSet (); - %feature("compactdefaultargs") BOPTools_EdgeSet; - %feature("autodoc", " :param theAllocator: - :type theAllocator: BOPCol_BaseAllocator & - :rtype: None -") BOPTools_EdgeSet; - BOPTools_EdgeSet (const BOPCol_BaseAllocator & theAllocator); - %feature("compactdefaultargs") SetShape; - %feature("autodoc", " :param theS: - :type theS: TopoDS_Shape & - :rtype: None -") SetShape; - void SetShape (const TopoDS_Shape & theS); - %feature("compactdefaultargs") Shape; - %feature("autodoc", " :rtype: TopoDS_Shape -") Shape; - const TopoDS_Shape Shape (); - %feature("compactdefaultargs") AddEdge; - %feature("autodoc", " :param theEdge: - :type theEdge: TopoDS_Edge & - :rtype: None -") AddEdge; - void AddEdge (const TopoDS_Edge & theEdge); - %feature("compactdefaultargs") AddEdges; - %feature("autodoc", " :param theLS: - :type theLS: BOPCol_ListOfShape & - :rtype: None -") AddEdges; - void AddEdges (const BOPCol_ListOfShape & theLS); - %feature("compactdefaultargs") AddEdges; - %feature("autodoc", " :param theFace: - :type theFace: TopoDS_Shape & - :rtype: None -") AddEdges; - void AddEdges (const TopoDS_Shape & theFace); - %feature("compactdefaultargs") Clear; - %feature("autodoc", " :rtype: None -") Clear; - void Clear (); - %feature("compactdefaultargs") Get; - %feature("autodoc", " :param theLS: - :type theLS: BOPCol_ListOfShape & - :rtype: None -") Get; - void Get (BOPCol_ListOfShape & theLS); - %feature("compactdefaultargs") Contains; - %feature("autodoc", " :param theSet: - :type theSet: BOPTools_EdgeSet & - :rtype: bool -") Contains; - Standard_Boolean Contains (const BOPTools_EdgeSet & theSet); + /****************** BOPTools_CoupleOfShape ******************/ + %feature("compactdefaultargs") BOPTools_CoupleOfShape; + %feature("autodoc", ":rtype: None") BOPTools_CoupleOfShape; + BOPTools_CoupleOfShape (); + + /****************** SetShape1 ******************/ + %feature("compactdefaultargs") SetShape1; + %feature("autodoc", ":param theShape: + :type theShape: TopoDS_Shape & + :rtype: None") SetShape1; + void SetShape1 (const TopoDS_Shape & theShape); + + /****************** SetShape2 ******************/ + %feature("compactdefaultargs") SetShape2; + %feature("autodoc", ":param theShape: + :type theShape: TopoDS_Shape & + :rtype: None") SetShape2; + void SetShape2 (const TopoDS_Shape & theShape); + + /****************** Shape1 ******************/ + %feature("compactdefaultargs") Shape1; + %feature("autodoc", ":rtype: TopoDS_Shape") Shape1; + const TopoDS_Shape Shape1 (); + + /****************** Shape2 ******************/ + %feature("compactdefaultargs") Shape2; + %feature("autodoc", ":rtype: TopoDS_Shape") Shape2; + const TopoDS_Shape Shape2 (); + }; -%extend BOPTools_EdgeSet { +%extend BOPTools_CoupleOfShape { %pythoncode { __repr__ = _dumps_object } }; + +/************************** +* class BOPTools_Parallel * +**************************/ +/********************* +* class BOPTools_Set * +*********************/ %nodefaultctor BOPTools_Set; class BOPTools_Set { public: - %feature("compactdefaultargs") BOPTools_Set; - %feature("autodoc", " :rtype: None -") BOPTools_Set; - BOPTools_Set (); - %feature("compactdefaultargs") BOPTools_Set; - %feature("autodoc", " :param theAllocator: - :type theAllocator: BOPCol_BaseAllocator & - :rtype: None -") BOPTools_Set; - BOPTools_Set (const BOPCol_BaseAllocator & theAllocator); - %feature("compactdefaultargs") Assign; - %feature("autodoc", " :param Other: - :type Other: BOPTools_Set & - :rtype: BOPTools_Set -") Assign; - BOPTools_Set & Assign (const BOPTools_Set & Other); - %feature("compactdefaultargs") operator =; - %feature("autodoc", " :param Other: - :type Other: BOPTools_Set & - :rtype: BOPTools_Set -") operator =; - BOPTools_Set & operator = (const BOPTools_Set & Other); - %feature("compactdefaultargs") Shape; - %feature("autodoc", " :rtype: TopoDS_Shape -") Shape; - const TopoDS_Shape Shape (); + /****************** Add ******************/ %feature("compactdefaultargs") Add; - %feature("autodoc", " :param theS: + %feature("autodoc", ":param theS: :type theS: TopoDS_Shape & :param theType: :type theType: TopAbs_ShapeEnum - :rtype: None -") Add; + :rtype: None") Add; void Add (const TopoDS_Shape & theS,const TopAbs_ShapeEnum theType); - %feature("compactdefaultargs") NbShapes; - %feature("autodoc", " :rtype: int -") NbShapes; - Standard_Integer NbShapes (); - %feature("compactdefaultargs") IsEqual; - %feature("autodoc", " :param aOther: - :type aOther: BOPTools_Set & - :rtype: bool -") IsEqual; - Standard_Boolean IsEqual (const BOPTools_Set & aOther); + + /****************** Assign ******************/ + %feature("compactdefaultargs") Assign; + %feature("autodoc", ":param Other: + :type Other: BOPTools_Set & + :rtype: BOPTools_Set") Assign; + BOPTools_Set & Assign (const BOPTools_Set & Other); + + /****************** BOPTools_Set ******************/ + %feature("compactdefaultargs") BOPTools_Set; + %feature("autodoc", ":rtype: None") BOPTools_Set; + BOPTools_Set (); + + /****************** BOPTools_Set ******************/ + %feature("compactdefaultargs") BOPTools_Set; + %feature("autodoc", ":param theAllocator: + :type theAllocator: opencascade::handle & + :rtype: None") BOPTools_Set; + BOPTools_Set (const opencascade::handle & theAllocator); + + /****************** HashCode ******************/ %feature("compactdefaultargs") HashCode; - %feature("autodoc", " :param Upper: - :type Upper: int - :rtype: int -") HashCode; - Standard_Integer HashCode (const Standard_Integer Upper); + %feature("autodoc", "* Computes a hash code for this set, in the range [1, theUpperBound] @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] + :param theUpperBound: + :type theUpperBound: int + :rtype: int") HashCode; + Standard_Integer HashCode (Standard_Integer theUpperBound); %extend { Standard_Integer __hash__() { return $self->HashCode(2147483647); } }; - }; + + /****************** IsEqual ******************/ + %feature("compactdefaultargs") IsEqual; + %feature("autodoc", ":param aOther: + :type aOther: BOPTools_Set & + :rtype: bool") IsEqual; + Standard_Boolean IsEqual (const BOPTools_Set & aOther); + + /****************** NbShapes ******************/ + %feature("compactdefaultargs") NbShapes; + %feature("autodoc", ":rtype: int") NbShapes; + Standard_Integer NbShapes (); + + /****************** Shape ******************/ + %feature("compactdefaultargs") Shape; + %feature("autodoc", ":rtype: TopoDS_Shape") Shape; + const TopoDS_Shape Shape (); + + /****************** operator = ******************/ + %feature("compactdefaultargs") operator =; + %feature("autodoc", ":param Other: + :type Other: BOPTools_Set & + :rtype: BOPTools_Set") operator =; + BOPTools_Set & operator = (const BOPTools_Set & Other); + +}; %extend BOPTools_Set { @@ -1335,24 +1525,31 @@ class BOPTools_Set { __repr__ = _dumps_object } }; + +/****************************** +* class BOPTools_SetMapHasher * +******************************/ class BOPTools_SetMapHasher { public: + /****************** HashCode ******************/ %feature("compactdefaultargs") HashCode; - %feature("autodoc", " :param aSet: - :type aSet: BOPTools_Set & - :param Upper: - :type Upper: int - :rtype: int -") HashCode; - static Standard_Integer HashCode (const BOPTools_Set & aSet,const Standard_Integer Upper); + %feature("autodoc", "* Computes a hash code for the given set, in the range [1, theUpperBound] @param theSet the set 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] + :param theSet: + :type theSet: BOPTools_Set & + :param theUpperBound: + :type theUpperBound: int + :rtype: int") HashCode; + static Standard_Integer HashCode (const BOPTools_Set & theSet,Standard_Integer theUpperBound); + + /****************** IsEqual ******************/ %feature("compactdefaultargs") IsEqual; - %feature("autodoc", " :param aSet1: + %feature("autodoc", ":param aSet1: :type aSet1: BOPTools_Set & :param aSet2: :type aSet2: BOPTools_Set & - :rtype: bool -") IsEqual; + :rtype: bool") IsEqual; static Standard_Boolean IsEqual (const BOPTools_Set & aSet1,const BOPTools_Set & aSet2); + }; @@ -1361,105 +1558,7 @@ class BOPTools_SetMapHasher { __repr__ = _dumps_object } }; -%nodefaultctor BOPTools_ShapeSet; -class BOPTools_ShapeSet { - public: - %feature("compactdefaultargs") BOPTools_ShapeSet; - %feature("autodoc", " :rtype: None -") BOPTools_ShapeSet; - BOPTools_ShapeSet (); - %feature("compactdefaultargs") BOPTools_ShapeSet; - %feature("autodoc", " :param theAllocator: - :type theAllocator: BOPCol_BaseAllocator & - :rtype: None -") BOPTools_ShapeSet; - BOPTools_ShapeSet (const BOPCol_BaseAllocator & theAllocator); - %feature("compactdefaultargs") SetShape; - %feature("autodoc", " :param theS: - :type theS: TopoDS_Shape & - :rtype: None -") SetShape; - void SetShape (const TopoDS_Shape & theS); - %feature("compactdefaultargs") Shape; - %feature("autodoc", " :rtype: TopoDS_Shape -") Shape; - const TopoDS_Shape Shape (); - %feature("compactdefaultargs") Add; - %feature("autodoc", " :param theLS: - :type theLS: BOPCol_ListOfShape & - :rtype: None -") Add; - void Add (const BOPCol_ListOfShape & theLS); - %feature("compactdefaultargs") Add; - %feature("autodoc", " :param theShape: - :type theShape: TopoDS_Shape & - :rtype: None -") Add; - void Add (const TopoDS_Shape & theShape); - %feature("compactdefaultargs") Add; - %feature("autodoc", " :param theShape: - :type theShape: TopoDS_Shape & - :param theType: - :type theType: TopAbs_ShapeEnum - :rtype: None -") Add; - void Add (const TopoDS_Shape & theShape,const TopAbs_ShapeEnum theType); - %feature("compactdefaultargs") AddEdge; - %feature("autodoc", " :param theEdge: - :type theEdge: TopoDS_Edge & - :rtype: None -") AddEdge; - void AddEdge (const TopoDS_Edge & theEdge); - %feature("compactdefaultargs") AddEdges; - %feature("autodoc", " :param theLS: - :type theLS: BOPCol_ListOfShape & - :rtype: None -") AddEdges; - void AddEdges (const BOPCol_ListOfShape & theLS); - %feature("compactdefaultargs") AddEdges; - %feature("autodoc", " :param theFace: - :type theFace: TopoDS_Shape & - :rtype: None -") AddEdges; - void AddEdges (const TopoDS_Shape & theFace); - %feature("compactdefaultargs") Subtract; - %feature("autodoc", " :param theSet: - :type theSet: BOPTools_ShapeSet & - :rtype: None -") Subtract; - void Subtract (const BOPTools_ShapeSet & theSet); - - %extend{ - void __isub_wrapper__(const BOPTools_ShapeSet other) { - *self -= other; - } - } - %pythoncode { - def __isub__(self, right): - self.__isub_wrapper__(right) - return self - } - %feature("compactdefaultargs") Clear; - %feature("autodoc", " :rtype: None -") Clear; - void Clear (); - %feature("compactdefaultargs") Get; - %feature("autodoc", " :param theLS: - :type theLS: BOPCol_ListOfShape & - :rtype: None -") Get; - void Get (BOPCol_ListOfShape & theLS); - %feature("compactdefaultargs") Contains; - %feature("autodoc", " :param theSet: - :type theSet: BOPTools_ShapeSet & - :rtype: bool -") Contains; - Standard_Boolean Contains (const BOPTools_ShapeSet & theSet); -}; - -%extend BOPTools_ShapeSet { - %pythoncode { - __repr__ = _dumps_object - } -}; +/* harray1 class */ +/* harray2 class */ +/* harray2 class */ diff --git a/src/SWIG_files/wrapper/BOPTools_headers.i b/src/SWIG_files/wrapper/BOPTools_headers.i deleted file mode 100644 index 6f7ebbf7f..000000000 --- a/src/SWIG_files/wrapper/BOPTools_headers.i +++ /dev/null @@ -1,1087 +0,0 @@ -/* -Copyright 2008-2017 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 . - -*/ -%{ -#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 -#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 -#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 -#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 -#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 -#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 -#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 -#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 -#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 -#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 -#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 -#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 -%}; -%import TopoDS.i -%import BOPCol.i -%import TopAbs.i -%import gp.i -%import Standard.i -%import IntTools.i -%import Geom2d.i -%import Geom.i -%import BRepAdaptor.i -%import ProjLib.i -%import NCollection.i diff --git a/src/SWIG_files/wrapper/BRep.i b/src/SWIG_files/wrapper/BRep.i index cbf2acf1b..d7ea006bd 100644 --- a/src/SWIG_files/wrapper/BRep.i +++ b/src/SWIG_files/wrapper/BRep.i @@ -1,6 +1,5 @@ /* -Copyright 2008-2017 Thomas Paviot (tpaviot@gmail.com) - +Copyright 2008-2019 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -15,25 +14,13 @@ 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 BREPDOCSTRING -"This package describes a Boundary Representation -Data Structure inherited from the abstract -Topology defined in the TopoDS package. The -geometric data are provided by the Geom and Geom2d -packages. - -The TVertex, TEdge, and TFace are redefined in -this package to add geometric information. - --Level : Public -All methods of all classes will be public. -" +"BRep module, see official documentation at +https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brep.html" %enddef %module (package="OCC.Core", docstring=BREPDOCSTRING) BRep -#pragma SWIG nowarn=504,325,503 %{ #ifdef WNT @@ -48,17 +35,42 @@ All methods of all classes will be public. %include ../common/OccHandle.i -%include BRep_headers.i - -/* typedefs */ -/* end typedefs declaration */ - +%{ +#include + +//Dependencies +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +%}; +%import Standard.i +%import NCollection.i +%import TopoDS.i +%import GeomAbs.i +%import Geom.i +%import TopLoc.i +%import Poly.i +%import gp.i +%import Geom2d.i +%import TopAbs.i /* public enums */ /* end public enums declaration */ +/* handles */ %wrap_handle(BRep_CurveRepresentation) -%wrap_handle(BRep_ListNodeOfListOfCurveRepresentation) -%wrap_handle(BRep_ListNodeOfListOfPointRepresentation) %wrap_handle(BRep_PointRepresentation) %wrap_handle(BRep_TEdge) %wrap_handle(BRep_TFace) @@ -77,248 +89,382 @@ All methods of all classes will be public. %wrap_handle(BRep_PolygonOnClosedSurface) %wrap_handle(BRep_PolygonOnClosedTriangulation) %wrap_handle(BRep_CurveOnClosedSurface) +/* end handles declaration */ + +/* templates */ +%template(BRep_ListOfPointRepresentation) NCollection_List >; +%template(BRep_ListIteratorOfListOfPointRepresentation) NCollection_TListIterator>; +%template(BRep_ListOfCurveRepresentation) NCollection_List >; +%template(BRep_ListIteratorOfListOfCurveRepresentation) NCollection_TListIterator>; +/* end templates declaration */ +/* typedefs */ +typedef NCollection_List > BRep_ListOfPointRepresentation; +typedef NCollection_List >::Iterator BRep_ListIteratorOfListOfPointRepresentation; +typedef NCollection_List > BRep_ListOfCurveRepresentation; +typedef NCollection_List >::Iterator BRep_ListIteratorOfListOfCurveRepresentation; +/* end typedefs declaration */ + +/********************* +* class BRep_Builder * +*********************/ class BRep_Builder : public TopoDS_Builder { public: - %feature("compactdefaultargs") MakeFace; - %feature("autodoc", " * Makes an undefined Face. + /****************** Continuity ******************/ + %feature("compactdefaultargs") Continuity; + %feature("autodoc", "* Sets the geometric continuity on the edge. + :param E: + :type E: TopoDS_Edge & + :param F1: + :type F1: TopoDS_Face & + :param F2: + :type F2: TopoDS_Face & + :param C: + :type C: GeomAbs_Shape + :rtype: None") Continuity; + void Continuity (const TopoDS_Edge & E,const TopoDS_Face & F1,const TopoDS_Face & F2,const GeomAbs_Shape C); - :param F: - :type F: TopoDS_Face & - :rtype: None -") MakeFace; - void MakeFace (TopoDS_Face & F); - %feature("compactdefaultargs") MakeFace; - %feature("autodoc", " * Makes a Face with a surface. + /****************** Continuity ******************/ + %feature("compactdefaultargs") Continuity; + %feature("autodoc", "* Sets the geometric continuity on the edge. + :param E: + :type E: TopoDS_Edge & + :param S1: + :type S1: opencascade::handle & + :param S2: + :type S2: opencascade::handle & + :param L1: + :type L1: TopLoc_Location & + :param L2: + :type L2: TopLoc_Location & + :param C: + :type C: GeomAbs_Shape + :rtype: None") Continuity; + void Continuity (const TopoDS_Edge & E,const opencascade::handle & S1,const opencascade::handle & S2,const TopLoc_Location & L1,const TopLoc_Location & L2,const GeomAbs_Shape C); - :param F: - :type F: TopoDS_Face & - :param S: - :type S: Handle_Geom_Surface & + /****************** Degenerated ******************/ + %feature("compactdefaultargs") Degenerated; + %feature("autodoc", "* Sets the degenerated flag for the edge . + :param E: + :type E: TopoDS_Edge & + :param D: + :type D: bool + :rtype: None") Degenerated; + void Degenerated (const TopoDS_Edge & E,const Standard_Boolean D); + + /****************** MakeEdge ******************/ + %feature("compactdefaultargs") MakeEdge; + %feature("autodoc", "* Makes an undefined Edge (no geometry). + :param E: + :type E: TopoDS_Edge & + :rtype: None") MakeEdge; + void MakeEdge (TopoDS_Edge & E); + + /****************** MakeEdge ******************/ + %feature("compactdefaultargs") MakeEdge; + %feature("autodoc", "* Makes an Edge with a curve. + :param E: + :type E: TopoDS_Edge & + :param C: + :type C: opencascade::handle & :param Tol: :type Tol: float - :rtype: None -") MakeFace; - void MakeFace (TopoDS_Face & F,const Handle_Geom_Surface & S,const Standard_Real Tol); - %feature("compactdefaultargs") MakeFace; - %feature("autodoc", " * Makes a Face with a surface and a location. + :rtype: None") MakeEdge; + void MakeEdge (TopoDS_Edge & E,const opencascade::handle & C,const Standard_Real Tol); - :param F: - :type F: TopoDS_Face & - :param S: - :type S: Handle_Geom_Surface & + /****************** MakeEdge ******************/ + %feature("compactdefaultargs") MakeEdge; + %feature("autodoc", "* Makes an Edge with a curve and a location. + :param E: + :type E: TopoDS_Edge & + :param C: + :type C: opencascade::handle & :param L: :type L: TopLoc_Location & :param Tol: :type Tol: float - :rtype: None -") MakeFace; - void MakeFace (TopoDS_Face & F,const Handle_Geom_Surface & S,const TopLoc_Location & L,const Standard_Real Tol); + :rtype: None") MakeEdge; + void MakeEdge (TopoDS_Edge & E,const opencascade::handle & C,const TopLoc_Location & L,const Standard_Real Tol); + + /****************** MakeEdge ******************/ + %feature("compactdefaultargs") MakeEdge; + %feature("autodoc", "* Makes an Edge with a polygon 3d. + :param E: + :type E: TopoDS_Edge & + :param P: + :type P: opencascade::handle & + :rtype: None") MakeEdge; + void MakeEdge (TopoDS_Edge & E,const opencascade::handle & P); + + /****************** MakeEdge ******************/ + %feature("compactdefaultargs") MakeEdge; + %feature("autodoc", "* makes an Edge polygon on Triangulation. + :param E: + :type E: TopoDS_Edge & + :param N: + :type N: opencascade::handle & + :param T: + :type T: opencascade::handle & + :rtype: None") MakeEdge; + void MakeEdge (TopoDS_Edge & E,const opencascade::handle & N,const opencascade::handle & T); + + /****************** MakeEdge ******************/ + %feature("compactdefaultargs") MakeEdge; + %feature("autodoc", "* makes an Edge polygon on Triangulation. + :param E: + :type E: TopoDS_Edge & + :param N: + :type N: opencascade::handle & + :param T: + :type T: opencascade::handle & + :param L: + :type L: TopLoc_Location & + :rtype: None") MakeEdge; + void MakeEdge (TopoDS_Edge & E,const opencascade::handle & N,const opencascade::handle & T,const TopLoc_Location & L); + + /****************** MakeFace ******************/ %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 an undefined Face. + :param F: + :type F: TopoDS_Face & + :rtype: None") MakeFace; + void MakeFace (TopoDS_Face & F); + /****************** MakeFace ******************/ + %feature("compactdefaultargs") MakeFace; + %feature("autodoc", "* Makes a Face with a surface. :param F: :type F: TopoDS_Face & - :param T: - :type T: Handle_Poly_Triangulation & - :rtype: None -") MakeFace; - void MakeFace (TopoDS_Face & F,const Handle_Poly_Triangulation & T); - %feature("compactdefaultargs") UpdateFace; - %feature("autodoc", " * Updates the face F using the tolerance value Tol, surface S and location Location. + :param S: + :type S: opencascade::handle & + :param Tol: + :type Tol: float + :rtype: None") MakeFace; + void MakeFace (TopoDS_Face & F,const opencascade::handle & S,const Standard_Real Tol); + /****************** MakeFace ******************/ + %feature("compactdefaultargs") MakeFace; + %feature("autodoc", "* Makes a Face with a surface and a location. :param F: :type F: TopoDS_Face & :param S: - :type S: Handle_Geom_Surface & + :type S: opencascade::handle & :param L: :type L: TopLoc_Location & :param Tol: :type Tol: float - :rtype: None -") UpdateFace; - void UpdateFace (const TopoDS_Face & F,const Handle_Geom_Surface & S,const TopLoc_Location & L,const Standard_Real Tol); - %feature("compactdefaultargs") UpdateFace; - %feature("autodoc", " * Changes a face triangulation. //! A null Triangulation removes the triangulation. + :rtype: None") MakeFace; + void MakeFace (TopoDS_Face & F,const opencascade::handle & S,const TopLoc_Location & L,const Standard_Real Tol); + /****************** MakeFace ******************/ + %feature("compactdefaultargs") MakeFace; + %feature("autodoc", "* Makes a Face with a triangulation. The triangulation is in the same reference system than the TFace. :param F: :type F: TopoDS_Face & :param T: - :type T: Handle_Poly_Triangulation & - :rtype: None -") UpdateFace; - void UpdateFace (const TopoDS_Face & F,const Handle_Poly_Triangulation & T); - %feature("compactdefaultargs") UpdateFace; - %feature("autodoc", " * Updates the face Tolerance. + :type T: opencascade::handle & + :rtype: None") MakeFace; + void MakeFace (TopoDS_Face & F,const opencascade::handle & T); - :param F: - :type F: TopoDS_Face & + /****************** MakeVertex ******************/ + %feature("compactdefaultargs") MakeVertex; + %feature("autodoc", "* Makes an udefined vertex without geometry. + :param V: + :type V: TopoDS_Vertex & + :rtype: None") MakeVertex; + void MakeVertex (TopoDS_Vertex & V); + + /****************** MakeVertex ******************/ + %feature("compactdefaultargs") MakeVertex; + %feature("autodoc", "* Makes a vertex from a 3D point. + :param V: + :type V: TopoDS_Vertex & + :param P: + :type P: gp_Pnt :param Tol: :type Tol: float - :rtype: None -") UpdateFace; - void UpdateFace (const TopoDS_Face & F,const Standard_Real Tol); - %feature("compactdefaultargs") NaturalRestriction; - %feature("autodoc", " * Sets the NaturalRestriction flag of the face. + :rtype: None") MakeVertex; + void MakeVertex (TopoDS_Vertex & V,const gp_Pnt & P,const Standard_Real Tol); + /****************** NaturalRestriction ******************/ + %feature("compactdefaultargs") NaturalRestriction; + %feature("autodoc", "* Sets the NaturalRestriction flag of the face. :param F: :type F: TopoDS_Face & :param N: :type N: bool - :rtype: None -") NaturalRestriction; + :rtype: None") NaturalRestriction; void NaturalRestriction (const TopoDS_Face & F,const Standard_Boolean N); - %feature("compactdefaultargs") MakeEdge; - %feature("autodoc", " * Makes an undefined Edge (no geometry). - - :param E: - :type E: TopoDS_Edge & - :rtype: None -") MakeEdge; - void MakeEdge (TopoDS_Edge & E); - %feature("compactdefaultargs") MakeEdge; - %feature("autodoc", " * Makes an Edge with a curve. + /****************** Range ******************/ + %feature("compactdefaultargs") Range; + %feature("autodoc", "* Sets the range of the 3d curve if Only3d=True, otherwise sets the range to all the representations :param E: :type E: TopoDS_Edge & - :param C: - :type C: Handle_Geom_Curve & - :param Tol: - :type Tol: float - :rtype: None -") MakeEdge; - void MakeEdge (TopoDS_Edge & E,const Handle_Geom_Curve & C,const Standard_Real Tol); - %feature("compactdefaultargs") MakeEdge; - %feature("autodoc", " * Makes an Edge with a curve and a location. + :param First: + :type First: float + :param Last: + :type Last: float + :param Only3d: default value is Standard_False + :type Only3d: bool + :rtype: None") Range; + void Range (const TopoDS_Edge & E,const Standard_Real First,const Standard_Real Last,const Standard_Boolean Only3d = Standard_False); + /****************** Range ******************/ + %feature("compactdefaultargs") Range; + %feature("autodoc", "* Sets the range of the edge on the pcurve on the surface. :param E: :type E: TopoDS_Edge & - :param C: - :type C: Handle_Geom_Curve & + :param S: + :type S: opencascade::handle & :param L: :type L: TopLoc_Location & - :param Tol: - :type Tol: float - :rtype: None -") MakeEdge; - void MakeEdge (TopoDS_Edge & E,const Handle_Geom_Curve & C,const TopLoc_Location & L,const Standard_Real Tol); - %feature("compactdefaultargs") MakeEdge; - %feature("autodoc", " * Makes an Edge with a polygon 3d. + :param First: + :type First: float + :param Last: + :type Last: float + :rtype: None") Range; + void Range (const TopoDS_Edge & E,const opencascade::handle & S,const TopLoc_Location & L,const Standard_Real First,const Standard_Real Last); + /****************** Range ******************/ + %feature("compactdefaultargs") Range; + %feature("autodoc", "* Sets the range of the edge on the pcurve on the face. :param E: :type E: TopoDS_Edge & - :param P: - :type P: Handle_Poly_Polygon3D & - :rtype: None -") MakeEdge; - void MakeEdge (TopoDS_Edge & E,const Handle_Poly_Polygon3D & P); - %feature("compactdefaultargs") MakeEdge; - %feature("autodoc", " * makes an Edge polygon on Triangulation. + :param F: + :type F: TopoDS_Face & + :param First: + :type First: float + :param Last: + :type Last: float + :rtype: None") Range; + void Range (const TopoDS_Edge & E,const TopoDS_Face & F,const Standard_Real First,const Standard_Real Last); + /****************** SameParameter ******************/ + %feature("compactdefaultargs") SameParameter; + %feature("autodoc", "* Sets the same parameter flag for the edge . :param E: :type E: TopoDS_Edge & - :param N: - :type N: Handle_Poly_PolygonOnTriangulation & - :param T: - :type T: Handle_Poly_Triangulation & - :rtype: None -") MakeEdge; - void MakeEdge (TopoDS_Edge & E,const Handle_Poly_PolygonOnTriangulation & N,const Handle_Poly_Triangulation & T); - %feature("compactdefaultargs") MakeEdge; - %feature("autodoc", " * makes an Edge polygon on Triangulation. + :param S: + :type S: bool + :rtype: None") SameParameter; + void SameParameter (const TopoDS_Edge & E,const Standard_Boolean S); + /****************** SameRange ******************/ + %feature("compactdefaultargs") SameRange; + %feature("autodoc", "* Sets the same range flag for the edge . :param E: :type E: TopoDS_Edge & - :param N: - :type N: Handle_Poly_PolygonOnTriangulation & - :param T: - :type T: Handle_Poly_Triangulation & - :param L: - :type L: TopLoc_Location & - :rtype: None -") MakeEdge; - void MakeEdge (TopoDS_Edge & E,const Handle_Poly_PolygonOnTriangulation & N,const Handle_Poly_Triangulation & T,const TopLoc_Location & L); - %feature("compactdefaultargs") UpdateEdge; - %feature("autodoc", " * Sets a 3D curve for the edge. If is a null handle, remove any existing 3d curve. + :param S: + :type S: bool + :rtype: None") SameRange; + void SameRange (const TopoDS_Edge & E,const Standard_Boolean S); + + /****************** Transfert ******************/ + %feature("compactdefaultargs") Transfert; + %feature("autodoc", "* Add to the geometric representations of . + :param Ein: + :type Ein: TopoDS_Edge & + :param Eout: + :type Eout: TopoDS_Edge & + :rtype: None") Transfert; + void Transfert (const TopoDS_Edge & Ein,const TopoDS_Edge & Eout); + + /****************** Transfert ******************/ + %feature("compactdefaultargs") Transfert; + %feature("autodoc", "* Transfert the parameters of Vin on Ein as the parameter of Vout on Eout. + :param Ein: + :type Ein: TopoDS_Edge & + :param Eout: + :type Eout: TopoDS_Edge & + :param Vin: + :type Vin: TopoDS_Vertex & + :param Vout: + :type Vout: TopoDS_Vertex & + :rtype: None") Transfert; + void Transfert (const TopoDS_Edge & Ein,const TopoDS_Edge & Eout,const TopoDS_Vertex & Vin,const TopoDS_Vertex & Vout); + /****************** UpdateEdge ******************/ + %feature("compactdefaultargs") UpdateEdge; + %feature("autodoc", "* Sets a 3D curve for the edge. If is a null handle, remove any existing 3d curve. :param E: :type E: TopoDS_Edge & :param C: - :type C: Handle_Geom_Curve & + :type C: opencascade::handle & :param Tol: :type Tol: float - :rtype: None -") UpdateEdge; - void UpdateEdge (const TopoDS_Edge & E,const Handle_Geom_Curve & C,const Standard_Real Tol); - %feature("compactdefaultargs") UpdateEdge; - %feature("autodoc", " * Sets a 3D curve for the edge. If is a null handle, remove any existing 3d curve. + :rtype: None") UpdateEdge; + void UpdateEdge (const TopoDS_Edge & E,const opencascade::handle & C,const Standard_Real Tol); + /****************** UpdateEdge ******************/ + %feature("compactdefaultargs") UpdateEdge; + %feature("autodoc", "* Sets a 3D curve for the edge. If is a null handle, remove any existing 3d curve. :param E: :type E: TopoDS_Edge & :param C: - :type C: Handle_Geom_Curve & + :type C: opencascade::handle & :param L: :type L: TopLoc_Location & :param Tol: :type Tol: float - :rtype: None -") UpdateEdge; - void UpdateEdge (const TopoDS_Edge & E,const Handle_Geom_Curve & C,const TopLoc_Location & L,const Standard_Real Tol); - %feature("compactdefaultargs") UpdateEdge; - %feature("autodoc", " * Sets a pcurve for the edge on the face. If is a null handle, remove any existing pcurve. + :rtype: None") UpdateEdge; + void UpdateEdge (const TopoDS_Edge & E,const opencascade::handle & C,const TopLoc_Location & L,const Standard_Real Tol); + /****************** UpdateEdge ******************/ + %feature("compactdefaultargs") UpdateEdge; + %feature("autodoc", "* Sets a pcurve for the edge on the face. If is a null handle, remove any existing pcurve. :param E: :type E: TopoDS_Edge & :param C: - :type C: Handle_Geom2d_Curve & + :type C: opencascade::handle & :param F: :type F: TopoDS_Face & :param Tol: :type Tol: float - :rtype: None -") UpdateEdge; - void UpdateEdge (const TopoDS_Edge & E,const Handle_Geom2d_Curve & C,const TopoDS_Face & F,const Standard_Real Tol); - %feature("compactdefaultargs") UpdateEdge; - %feature("autodoc", " * Sets pcurves for the edge on the closed face. If or is a null handle, remove any existing pcurve. + :rtype: None") UpdateEdge; + void UpdateEdge (const TopoDS_Edge & E,const opencascade::handle & C,const TopoDS_Face & F,const Standard_Real Tol); + /****************** UpdateEdge ******************/ + %feature("compactdefaultargs") UpdateEdge; + %feature("autodoc", "* Sets pcurves for the edge on the closed face. If or is a null handle, remove any existing pcurve. :param E: :type E: TopoDS_Edge & :param C1: - :type C1: Handle_Geom2d_Curve & + :type C1: opencascade::handle & :param C2: - :type C2: Handle_Geom2d_Curve & + :type C2: opencascade::handle & :param F: :type F: TopoDS_Face & :param Tol: :type Tol: float - :rtype: None -") UpdateEdge; - void UpdateEdge (const TopoDS_Edge & E,const Handle_Geom2d_Curve & C1,const Handle_Geom2d_Curve & C2,const TopoDS_Face & F,const Standard_Real Tol); - %feature("compactdefaultargs") UpdateEdge; - %feature("autodoc", " * Sets a pcurve for the edge on the face. If is a null handle, remove any existing pcurve. + :rtype: None") UpdateEdge; + void UpdateEdge (const TopoDS_Edge & E,const opencascade::handle & C1,const opencascade::handle & C2,const TopoDS_Face & F,const Standard_Real Tol); + /****************** UpdateEdge ******************/ + %feature("compactdefaultargs") UpdateEdge; + %feature("autodoc", "* Sets a pcurve for the edge on the face. If is a null handle, remove any existing pcurve. :param E: :type E: TopoDS_Edge & :param C: - :type C: Handle_Geom2d_Curve & + :type C: opencascade::handle & :param S: - :type S: Handle_Geom_Surface & + :type S: opencascade::handle & :param L: :type L: TopLoc_Location & :param Tol: :type Tol: float - :rtype: None -") UpdateEdge; - void UpdateEdge (const TopoDS_Edge & E,const Handle_Geom2d_Curve & C,const Handle_Geom_Surface & S,const TopLoc_Location & L,const Standard_Real Tol); - %feature("compactdefaultargs") UpdateEdge; - %feature("autodoc", " * Sets a pcurve for the edge on the face. If is a null handle, remove any existing pcurve. Sets UV bounds for curve repsentation + :rtype: None") UpdateEdge; + void UpdateEdge (const TopoDS_Edge & E,const opencascade::handle & C,const opencascade::handle & S,const TopLoc_Location & L,const Standard_Real Tol); + /****************** UpdateEdge ******************/ + %feature("compactdefaultargs") UpdateEdge; + %feature("autodoc", "* Sets a pcurve for the edge on the face. If is a null handle, remove any existing pcurve. Sets UV bounds for curve repsentation :param E: :type E: TopoDS_Edge & :param C: - :type C: Handle_Geom2d_Curve & + :type C: opencascade::handle & :param S: - :type S: Handle_Geom_Surface & + :type S: opencascade::handle & :param L: :type L: TopLoc_Location & :param Tol: @@ -327,38 +473,38 @@ class BRep_Builder : public TopoDS_Builder { :type Pf: gp_Pnt2d :param Pl: :type Pl: gp_Pnt2d - :rtype: None -") UpdateEdge; - void UpdateEdge (const TopoDS_Edge & E,const Handle_Geom2d_Curve & C,const Handle_Geom_Surface & S,const TopLoc_Location & L,const Standard_Real Tol,const gp_Pnt2d & Pf,const gp_Pnt2d & Pl); - %feature("compactdefaultargs") UpdateEdge; - %feature("autodoc", " * Sets pcurves for the edge on the closed surface. or is a null handle, remove any existing pcurve. + :rtype: None") UpdateEdge; + void UpdateEdge (const TopoDS_Edge & E,const opencascade::handle & C,const opencascade::handle & S,const TopLoc_Location & L,const Standard_Real Tol,const gp_Pnt2d & Pf,const gp_Pnt2d & Pl); + /****************** UpdateEdge ******************/ + %feature("compactdefaultargs") UpdateEdge; + %feature("autodoc", "* Sets pcurves for the edge on the closed surface. or is a null handle, remove any existing pcurve. :param E: :type E: TopoDS_Edge & :param C1: - :type C1: Handle_Geom2d_Curve & + :type C1: opencascade::handle & :param C2: - :type C2: Handle_Geom2d_Curve & + :type C2: opencascade::handle & :param S: - :type S: Handle_Geom_Surface & + :type S: opencascade::handle & :param L: :type L: TopLoc_Location & :param Tol: :type Tol: float - :rtype: None -") UpdateEdge; - void UpdateEdge (const TopoDS_Edge & E,const Handle_Geom2d_Curve & C1,const Handle_Geom2d_Curve & C2,const Handle_Geom_Surface & S,const TopLoc_Location & L,const Standard_Real Tol); - %feature("compactdefaultargs") UpdateEdge; - %feature("autodoc", " * Sets pcurves for the edge on the closed surface. or is a null handle, remove any existing pcurve. Sets UV bounds for curve repsentation + :rtype: None") UpdateEdge; + void UpdateEdge (const TopoDS_Edge & E,const opencascade::handle & C1,const opencascade::handle & C2,const opencascade::handle & S,const TopLoc_Location & L,const Standard_Real Tol); + /****************** UpdateEdge ******************/ + %feature("compactdefaultargs") UpdateEdge; + %feature("autodoc", "* Sets pcurves for the edge on the closed surface. or is a null handle, remove any existing pcurve. Sets UV bounds for curve repsentation :param E: :type E: TopoDS_Edge & :param C1: - :type C1: Handle_Geom2d_Curve & + :type C1: opencascade::handle & :param C2: - :type C2: Handle_Geom2d_Curve & + :type C2: opencascade::handle & :param S: - :type S: Handle_Geom_Surface & + :type S: opencascade::handle & :param L: :type L: TopLoc_Location & :param Tol: @@ -367,304 +513,202 @@ class BRep_Builder : public TopoDS_Builder { :type Pf: gp_Pnt2d :param Pl: :type Pl: gp_Pnt2d - :rtype: None -") UpdateEdge; - void UpdateEdge (const TopoDS_Edge & E,const Handle_Geom2d_Curve & C1,const Handle_Geom2d_Curve & C2,const Handle_Geom_Surface & S,const TopLoc_Location & L,const Standard_Real Tol,const gp_Pnt2d & Pf,const gp_Pnt2d & Pl); - %feature("compactdefaultargs") UpdateEdge; - %feature("autodoc", " * Changes an Edge 3D polygon. A null Polygon removes the 3d Polygon. + :rtype: None") UpdateEdge; + void UpdateEdge (const TopoDS_Edge & E,const opencascade::handle & C1,const opencascade::handle & C2,const opencascade::handle & S,const TopLoc_Location & L,const Standard_Real Tol,const gp_Pnt2d & Pf,const gp_Pnt2d & Pl); + /****************** UpdateEdge ******************/ + %feature("compactdefaultargs") UpdateEdge; + %feature("autodoc", "* Changes an Edge 3D polygon. A null Polygon removes the 3d Polygon. :param E: :type E: TopoDS_Edge & :param P: - :type P: Handle_Poly_Polygon3D & - :rtype: None -") UpdateEdge; - void UpdateEdge (const TopoDS_Edge & E,const Handle_Poly_Polygon3D & P); - %feature("compactdefaultargs") UpdateEdge; - %feature("autodoc", " * Changes an Edge 3D polygon. A null Polygon removes the 3d Polygon. + :type P: opencascade::handle & + :rtype: None") UpdateEdge; + void UpdateEdge (const TopoDS_Edge & E,const opencascade::handle & P); + /****************** UpdateEdge ******************/ + %feature("compactdefaultargs") UpdateEdge; + %feature("autodoc", "* Changes an Edge 3D polygon. A null Polygon removes the 3d Polygon. :param E: :type E: TopoDS_Edge & :param P: - :type P: Handle_Poly_Polygon3D & + :type P: opencascade::handle & :param L: :type L: TopLoc_Location & - :rtype: None -") UpdateEdge; - void UpdateEdge (const TopoDS_Edge & E,const Handle_Poly_Polygon3D & P,const TopLoc_Location & L); - %feature("compactdefaultargs") UpdateEdge; - %feature("autodoc", " * Changes an Edge polygon on Triangulation. + :rtype: None") UpdateEdge; + void UpdateEdge (const TopoDS_Edge & E,const opencascade::handle & P,const TopLoc_Location & L); + /****************** UpdateEdge ******************/ + %feature("compactdefaultargs") UpdateEdge; + %feature("autodoc", "* Changes an Edge polygon on Triangulation. :param E: :type E: TopoDS_Edge & :param N: - :type N: Handle_Poly_PolygonOnTriangulation & + :type N: opencascade::handle & :param T: - :type T: Handle_Poly_Triangulation & - :rtype: None -") UpdateEdge; - void UpdateEdge (const TopoDS_Edge & E,const Handle_Poly_PolygonOnTriangulation & N,const Handle_Poly_Triangulation & T); - %feature("compactdefaultargs") UpdateEdge; - %feature("autodoc", " * Changes an Edge polygon on Triangulation. + :type T: opencascade::handle & + :rtype: None") UpdateEdge; + void UpdateEdge (const TopoDS_Edge & E,const opencascade::handle & N,const opencascade::handle & T); + /****************** UpdateEdge ******************/ + %feature("compactdefaultargs") UpdateEdge; + %feature("autodoc", "* Changes an Edge polygon on Triangulation. :param E: :type E: TopoDS_Edge & :param N: - :type N: Handle_Poly_PolygonOnTriangulation & + :type N: opencascade::handle & :param T: - :type T: Handle_Poly_Triangulation & + :type T: opencascade::handle & :param L: :type L: TopLoc_Location & - :rtype: None -") UpdateEdge; - void UpdateEdge (const TopoDS_Edge & E,const Handle_Poly_PolygonOnTriangulation & N,const Handle_Poly_Triangulation & T,const TopLoc_Location & L); - %feature("compactdefaultargs") UpdateEdge; - %feature("autodoc", " * Changes an Edge polygon on Triangulation. + :rtype: None") UpdateEdge; + void UpdateEdge (const TopoDS_Edge & E,const opencascade::handle & N,const opencascade::handle & T,const TopLoc_Location & L); + /****************** UpdateEdge ******************/ + %feature("compactdefaultargs") UpdateEdge; + %feature("autodoc", "* Changes an Edge polygon on Triangulation. :param E: :type E: TopoDS_Edge & :param N1: - :type N1: Handle_Poly_PolygonOnTriangulation & + :type N1: opencascade::handle & :param N2: - :type N2: Handle_Poly_PolygonOnTriangulation & + :type N2: opencascade::handle & :param T: - :type T: Handle_Poly_Triangulation & - :rtype: None -") UpdateEdge; - void UpdateEdge (const TopoDS_Edge & E,const Handle_Poly_PolygonOnTriangulation & N1,const Handle_Poly_PolygonOnTriangulation & N2,const Handle_Poly_Triangulation & T); - %feature("compactdefaultargs") UpdateEdge; - %feature("autodoc", " * Changes an Edge polygon on Triangulation. + :type T: opencascade::handle & + :rtype: None") UpdateEdge; + void UpdateEdge (const TopoDS_Edge & E,const opencascade::handle & N1,const opencascade::handle & N2,const opencascade::handle & T); + /****************** UpdateEdge ******************/ + %feature("compactdefaultargs") UpdateEdge; + %feature("autodoc", "* Changes an Edge polygon on Triangulation. :param E: :type E: TopoDS_Edge & :param N1: - :type N1: Handle_Poly_PolygonOnTriangulation & + :type N1: opencascade::handle & :param N2: - :type N2: Handle_Poly_PolygonOnTriangulation & + :type N2: opencascade::handle & :param T: - :type T: Handle_Poly_Triangulation & + :type T: opencascade::handle & :param L: :type L: TopLoc_Location & - :rtype: None -") UpdateEdge; - void UpdateEdge (const TopoDS_Edge & E,const Handle_Poly_PolygonOnTriangulation & N1,const Handle_Poly_PolygonOnTriangulation & N2,const Handle_Poly_Triangulation & T,const TopLoc_Location & L); - %feature("compactdefaultargs") UpdateEdge; - %feature("autodoc", " * Changes Edge polygon on a face. + :rtype: None") UpdateEdge; + void UpdateEdge (const TopoDS_Edge & E,const opencascade::handle & N1,const opencascade::handle & N2,const opencascade::handle & T,const TopLoc_Location & L); + /****************** UpdateEdge ******************/ + %feature("compactdefaultargs") UpdateEdge; + %feature("autodoc", "* Changes Edge polygon on a face. :param E: :type E: TopoDS_Edge & :param P: - :type P: Handle_Poly_Polygon2D & + :type P: opencascade::handle & :param S: :type S: TopoDS_Face & - :rtype: None -") UpdateEdge; - void UpdateEdge (const TopoDS_Edge & E,const Handle_Poly_Polygon2D & P,const TopoDS_Face & S); - %feature("compactdefaultargs") UpdateEdge; - %feature("autodoc", " * Changes Edge polygon on a face. + :rtype: None") UpdateEdge; + void UpdateEdge (const TopoDS_Edge & E,const opencascade::handle & P,const TopoDS_Face & S); + /****************** UpdateEdge ******************/ + %feature("compactdefaultargs") UpdateEdge; + %feature("autodoc", "* Changes Edge polygon on a face. :param E: :type E: TopoDS_Edge & :param P: - :type P: Handle_Poly_Polygon2D & + :type P: opencascade::handle & :param S: - :type S: Handle_Geom_Surface & + :type S: opencascade::handle & :param T: :type T: TopLoc_Location & - :rtype: None -") UpdateEdge; - void UpdateEdge (const TopoDS_Edge & E,const Handle_Poly_Polygon2D & P,const Handle_Geom_Surface & S,const TopLoc_Location & T); - %feature("compactdefaultargs") UpdateEdge; - %feature("autodoc", " * Changes Edge polygons on a face. //! A null Polygon removes the 2d Polygon. + :rtype: None") UpdateEdge; + void UpdateEdge (const TopoDS_Edge & E,const opencascade::handle & P,const opencascade::handle & S,const TopLoc_Location & T); + /****************** UpdateEdge ******************/ + %feature("compactdefaultargs") UpdateEdge; + %feature("autodoc", "* Changes Edge polygons on a face. //! A null Polygon removes the 2d Polygon. :param E: :type E: TopoDS_Edge & :param P1: - :type P1: Handle_Poly_Polygon2D & + :type P1: opencascade::handle & :param P2: - :type P2: Handle_Poly_Polygon2D & + :type P2: opencascade::handle & :param S: :type S: TopoDS_Face & - :rtype: None -") UpdateEdge; - void UpdateEdge (const TopoDS_Edge & E,const Handle_Poly_Polygon2D & P1,const Handle_Poly_Polygon2D & P2,const TopoDS_Face & S); - %feature("compactdefaultargs") UpdateEdge; - %feature("autodoc", " * Changes Edge polygons on a face. //! A null Polygon removes the 2d Polygon. + :rtype: None") UpdateEdge; + void UpdateEdge (const TopoDS_Edge & E,const opencascade::handle & P1,const opencascade::handle & P2,const TopoDS_Face & S); + /****************** UpdateEdge ******************/ + %feature("compactdefaultargs") UpdateEdge; + %feature("autodoc", "* Changes Edge polygons on a face. //! A null Polygon removes the 2d Polygon. :param E: :type E: TopoDS_Edge & :param P1: - :type P1: Handle_Poly_Polygon2D & + :type P1: opencascade::handle & :param P2: - :type P2: Handle_Poly_Polygon2D & + :type P2: opencascade::handle & :param S: - :type S: Handle_Geom_Surface & + :type S: opencascade::handle & :param L: :type L: TopLoc_Location & - :rtype: None -") UpdateEdge; - void UpdateEdge (const TopoDS_Edge & E,const Handle_Poly_Polygon2D & P1,const Handle_Poly_Polygon2D & P2,const Handle_Geom_Surface & S,const TopLoc_Location & L); - %feature("compactdefaultargs") UpdateEdge; - %feature("autodoc", " * Updates the edge tolerance. + :rtype: None") UpdateEdge; + void UpdateEdge (const TopoDS_Edge & E,const opencascade::handle & P1,const opencascade::handle & P2,const opencascade::handle & S,const TopLoc_Location & L); + /****************** UpdateEdge ******************/ + %feature("compactdefaultargs") UpdateEdge; + %feature("autodoc", "* Updates the edge tolerance. :param E: :type E: TopoDS_Edge & :param Tol: :type Tol: float - :rtype: None -") UpdateEdge; + :rtype: None") UpdateEdge; void UpdateEdge (const TopoDS_Edge & E,const Standard_Real Tol); - %feature("compactdefaultargs") Continuity; - %feature("autodoc", " * Sets the geometric continuity on the edge. - :param E: - :type E: TopoDS_Edge & - :param F1: - :type F1: TopoDS_Face & - :param F2: - :type F2: TopoDS_Face & - :param C: - :type C: GeomAbs_Shape - :rtype: None -") Continuity; - void Continuity (const TopoDS_Edge & E,const TopoDS_Face & F1,const TopoDS_Face & F2,const GeomAbs_Shape C); - %feature("compactdefaultargs") Continuity; - %feature("autodoc", " * Sets the geometric continuity on the edge. + /****************** UpdateFace ******************/ + %feature("compactdefaultargs") UpdateFace; + %feature("autodoc", "* Updates the face F using the tolerance value Tol, surface S and location Location. + :param F: + :type F: TopoDS_Face & + :param S: + :type S: opencascade::handle & + :param L: + :type L: TopLoc_Location & + :param Tol: + :type Tol: float + :rtype: None") UpdateFace; + void UpdateFace (const TopoDS_Face & F,const opencascade::handle & S,const TopLoc_Location & L,const Standard_Real Tol); - :param E: - :type E: TopoDS_Edge & - :param S1: - :type S1: Handle_Geom_Surface & - :param S2: - :type S2: Handle_Geom_Surface & - :param L1: - :type L1: TopLoc_Location & - :param L2: - :type L2: TopLoc_Location & - :param C: - :type C: GeomAbs_Shape - :rtype: None -") Continuity; - void Continuity (const TopoDS_Edge & E,const Handle_Geom_Surface & S1,const Handle_Geom_Surface & S2,const TopLoc_Location & L1,const TopLoc_Location & L2,const GeomAbs_Shape C); - %feature("compactdefaultargs") SameParameter; - %feature("autodoc", " * Sets the same parameter flag for the edge . + /****************** UpdateFace ******************/ + %feature("compactdefaultargs") UpdateFace; + %feature("autodoc", "* Changes a face triangulation. //! A null Triangulation removes the triangulation. + :param F: + :type F: TopoDS_Face & + :param T: + :type T: opencascade::handle & + :rtype: None") UpdateFace; + void UpdateFace (const TopoDS_Face & F,const opencascade::handle & T); - :param E: - :type E: TopoDS_Edge & - :param S: - :type S: bool - :rtype: None -") SameParameter; - void SameParameter (const TopoDS_Edge & E,const Standard_Boolean S); - %feature("compactdefaultargs") SameRange; - %feature("autodoc", " * Sets the same range flag for the edge . - - :param E: - :type E: TopoDS_Edge & - :param S: - :type S: bool - :rtype: None -") SameRange; - void SameRange (const TopoDS_Edge & E,const Standard_Boolean S); - %feature("compactdefaultargs") Degenerated; - %feature("autodoc", " * Sets the degenerated flag for the edge . - - :param E: - :type E: TopoDS_Edge & - :param D: - :type D: bool - :rtype: None -") Degenerated; - void Degenerated (const TopoDS_Edge & E,const Standard_Boolean D); - %feature("compactdefaultargs") Range; - %feature("autodoc", " * Sets the range of the 3d curve if Only3d=True, otherwise sets the range to all the representations - - :param E: - :type E: TopoDS_Edge & - :param First: - :type First: float - :param Last: - :type Last: float - :param Only3d: default value is Standard_False - :type Only3d: bool - :rtype: None -") Range; - void Range (const TopoDS_Edge & E,const Standard_Real First,const Standard_Real Last,const Standard_Boolean Only3d = Standard_False); - %feature("compactdefaultargs") Range; - %feature("autodoc", " * Sets the range of the edge on the pcurve on the surface. - - :param E: - :type E: TopoDS_Edge & - :param S: - :type S: Handle_Geom_Surface & - :param L: - :type L: TopLoc_Location & - :param First: - :type First: float - :param Last: - :type Last: float - :rtype: None -") Range; - void Range (const TopoDS_Edge & E,const Handle_Geom_Surface & S,const TopLoc_Location & L,const Standard_Real First,const Standard_Real Last); - %feature("compactdefaultargs") Range; - %feature("autodoc", " * Sets the range of the edge on the pcurve on the face. - - :param E: - :type E: TopoDS_Edge & + /****************** UpdateFace ******************/ + %feature("compactdefaultargs") UpdateFace; + %feature("autodoc", "* Updates the face Tolerance. :param F: :type F: TopoDS_Face & - :param First: - :type First: float - :param Last: - :type Last: float - :rtype: None -") Range; - void Range (const TopoDS_Edge & E,const TopoDS_Face & F,const Standard_Real First,const Standard_Real Last); - %feature("compactdefaultargs") Transfert; - %feature("autodoc", " * Add to the geometric representations of . - - :param Ein: - :type Ein: TopoDS_Edge & - :param Eout: - :type Eout: TopoDS_Edge & - :rtype: None -") Transfert; - void Transfert (const TopoDS_Edge & Ein,const TopoDS_Edge & Eout); - %feature("compactdefaultargs") MakeVertex; - %feature("autodoc", " * Makes an udefined vertex without geometry. - - :param V: - :type V: TopoDS_Vertex & - :rtype: None -") MakeVertex; - void MakeVertex (TopoDS_Vertex & V); - %feature("compactdefaultargs") MakeVertex; - %feature("autodoc", " * Makes a vertex from a 3D point. - - :param V: - :type V: TopoDS_Vertex & - :param P: - :type P: gp_Pnt :param Tol: :type Tol: float - :rtype: None -") MakeVertex; - void MakeVertex (TopoDS_Vertex & V,const gp_Pnt & P,const Standard_Real Tol); - %feature("compactdefaultargs") UpdateVertex; - %feature("autodoc", " * Sets a 3D point on the vertex. + :rtype: None") UpdateFace; + void UpdateFace (const TopoDS_Face & F,const Standard_Real Tol); + /****************** UpdateVertex ******************/ + %feature("compactdefaultargs") UpdateVertex; + %feature("autodoc", "* Sets a 3D point on the vertex. :param V: :type V: TopoDS_Vertex & :param P: :type P: gp_Pnt :param Tol: :type Tol: float - :rtype: None -") UpdateVertex; + :rtype: None") UpdateVertex; void UpdateVertex (const TopoDS_Vertex & V,const gp_Pnt & P,const Standard_Real Tol); - %feature("compactdefaultargs") UpdateVertex; - %feature("autodoc", " * Sets the parameter for the vertex on the edge curves. + /****************** UpdateVertex ******************/ + %feature("compactdefaultargs") UpdateVertex; + %feature("autodoc", "* Sets the parameter for the vertex on the edge curves. :param V: :type V: TopoDS_Vertex & :param P: @@ -673,12 +717,12 @@ class BRep_Builder : public TopoDS_Builder { :type E: TopoDS_Edge & :param Tol: :type Tol: float - :rtype: None -") UpdateVertex; + :rtype: None") UpdateVertex; void UpdateVertex (const TopoDS_Vertex & V,const Standard_Real P,const TopoDS_Edge & E,const Standard_Real Tol); - %feature("compactdefaultargs") UpdateVertex; - %feature("autodoc", " * Sets the parameter for the vertex on the edge pcurve on the face. + /****************** UpdateVertex ******************/ + %feature("compactdefaultargs") UpdateVertex; + %feature("autodoc", "* Sets the parameter for the vertex on the edge pcurve on the face. :param V: :type V: TopoDS_Vertex & :param P: @@ -689,12 +733,12 @@ class BRep_Builder : public TopoDS_Builder { :type F: TopoDS_Face & :param Tol: :type Tol: float - :rtype: None -") UpdateVertex; + :rtype: None") UpdateVertex; void UpdateVertex (const TopoDS_Vertex & V,const Standard_Real P,const TopoDS_Edge & E,const TopoDS_Face & F,const Standard_Real Tol); - %feature("compactdefaultargs") UpdateVertex; - %feature("autodoc", " * Sets the parameter for the vertex on the edge pcurve on the surface. + /****************** UpdateVertex ******************/ + %feature("compactdefaultargs") UpdateVertex; + %feature("autodoc", "* Sets the parameter for the vertex on the edge pcurve on the surface. :param V: :type V: TopoDS_Vertex & :param P: @@ -702,17 +746,17 @@ class BRep_Builder : public TopoDS_Builder { :param E: :type E: TopoDS_Edge & :param S: - :type S: Handle_Geom_Surface & + :type S: opencascade::handle & :param L: :type L: TopLoc_Location & :param Tol: :type Tol: float - :rtype: None -") UpdateVertex; - void UpdateVertex (const TopoDS_Vertex & V,const Standard_Real P,const TopoDS_Edge & E,const Handle_Geom_Surface & S,const TopLoc_Location & L,const Standard_Real Tol); - %feature("compactdefaultargs") UpdateVertex; - %feature("autodoc", " * Sets the parameters for the vertex on the face. + :rtype: None") UpdateVertex; + void UpdateVertex (const TopoDS_Vertex & V,const Standard_Real P,const TopoDS_Edge & E,const opencascade::handle & S,const TopLoc_Location & L,const Standard_Real Tol); + /****************** UpdateVertex ******************/ + %feature("compactdefaultargs") UpdateVertex; + %feature("autodoc", "* Sets the parameters for the vertex on the face. :param Ve: :type Ve: TopoDS_Vertex & :param U: @@ -723,33 +767,19 @@ class BRep_Builder : public TopoDS_Builder { :type F: TopoDS_Face & :param Tol: :type Tol: float - :rtype: None -") UpdateVertex; + :rtype: None") UpdateVertex; void UpdateVertex (const TopoDS_Vertex & Ve,const Standard_Real U,const Standard_Real V,const TopoDS_Face & F,const Standard_Real Tol); - %feature("compactdefaultargs") UpdateVertex; - %feature("autodoc", " * Updates the vertex tolerance. + /****************** UpdateVertex ******************/ + %feature("compactdefaultargs") UpdateVertex; + %feature("autodoc", "* Updates the vertex tolerance. :param V: :type V: TopoDS_Vertex & :param Tol: :type Tol: float - :rtype: None -") UpdateVertex; + :rtype: None") UpdateVertex; void UpdateVertex (const TopoDS_Vertex & V,const Standard_Real Tol); - %feature("compactdefaultargs") Transfert; - %feature("autodoc", " * Transfert the parameters of Vin on Ein as the parameter of Vout on Eout. - :param Ein: - :type Ein: TopoDS_Edge & - :param Eout: - :type Eout: TopoDS_Edge & - :param Vin: - :type Vin: TopoDS_Vertex & - :param Vout: - :type Vout: TopoDS_Vertex & - :rtype: None -") Transfert; - void Transfert (const TopoDS_Edge & Ein,const TopoDS_Edge & Eout,const TopoDS_Vertex & Vin,const TopoDS_Vertex & Vout); }; @@ -758,750 +788,396 @@ class BRep_Builder : public TopoDS_Builder { __repr__ = _dumps_object } }; + +/********************************* +* class BRep_CurveRepresentation * +*********************************/ %nodefaultctor BRep_CurveRepresentation; -class BRep_CurveRepresentation : public MMgt_TShared { +class BRep_CurveRepresentation : public Standard_Transient { public: - %feature("compactdefaultargs") IsCurve3D; - %feature("autodoc", " * A 3D curve representation. + /****************** Continuity ******************/ + %feature("compactdefaultargs") Continuity; + %feature("autodoc", ":rtype: GeomAbs_Shape") Continuity; + virtual const GeomAbs_Shape & Continuity (); - :rtype: bool -") IsCurve3D; - virtual Standard_Boolean IsCurve3D (); - %feature("compactdefaultargs") IsCurveOnSurface; - %feature("autodoc", " * A curve in the parametric space of a surface. + /****************** Continuity ******************/ + %feature("compactdefaultargs") Continuity; + %feature("autodoc", ":param C: + :type C: GeomAbs_Shape + :rtype: void") Continuity; + virtual void Continuity (const GeomAbs_Shape C); - :rtype: bool -") IsCurveOnSurface; - virtual Standard_Boolean IsCurveOnSurface (); - %feature("compactdefaultargs") IsRegularity; - %feature("autodoc", " * A continuity between two surfaces. + /****************** Copy ******************/ + %feature("compactdefaultargs") Copy; + %feature("autodoc", "* Return a copy of this representation. + :rtype: opencascade::handle") Copy; + virtual opencascade::handle Copy (); - :rtype: bool -") IsRegularity; - virtual Standard_Boolean IsRegularity (); - %feature("compactdefaultargs") IsCurveOnClosedSurface; - %feature("autodoc", " * A curve with two parametric curves on the same surface. + /****************** Curve3D ******************/ + %feature("compactdefaultargs") Curve3D; + %feature("autodoc", ":rtype: opencascade::handle") Curve3D; + virtual const opencascade::handle & Curve3D (); + + /****************** Curve3D ******************/ + %feature("compactdefaultargs") Curve3D; + %feature("autodoc", ":param C: + :type C: opencascade::handle & + :rtype: void") Curve3D; + virtual void Curve3D (const opencascade::handle & C); + + /****************** IsCurve3D ******************/ + %feature("compactdefaultargs") IsCurve3D; + %feature("autodoc", "* A 3D curve representation. + :rtype: bool") IsCurve3D; + virtual Standard_Boolean IsCurve3D (); - :rtype: bool -") IsCurveOnClosedSurface; + /****************** IsCurveOnClosedSurface ******************/ + %feature("compactdefaultargs") IsCurveOnClosedSurface; + %feature("autodoc", "* A curve with two parametric curves on the same surface. + :rtype: bool") IsCurveOnClosedSurface; virtual Standard_Boolean IsCurveOnClosedSurface (); + + /****************** IsCurveOnSurface ******************/ %feature("compactdefaultargs") IsCurveOnSurface; - %feature("autodoc", " * Is it a curve in the parametric space of with location . + %feature("autodoc", "* A curve in the parametric space of a surface. + :rtype: bool") IsCurveOnSurface; + virtual Standard_Boolean IsCurveOnSurface (); + /****************** IsCurveOnSurface ******************/ + %feature("compactdefaultargs") IsCurveOnSurface; + %feature("autodoc", "* Is it a curve in the parametric space of with location . :param S: - :type S: Handle_Geom_Surface & + :type S: opencascade::handle & :param L: :type L: TopLoc_Location & - :rtype: bool -") IsCurveOnSurface; - virtual Standard_Boolean IsCurveOnSurface (const Handle_Geom_Surface & S,const TopLoc_Location & L); - %feature("compactdefaultargs") IsRegularity; - %feature("autodoc", " * Is it a regularity between and with location and . + :rtype: bool") IsCurveOnSurface; + virtual Standard_Boolean IsCurveOnSurface (const opencascade::handle & S,const TopLoc_Location & L); - :param S1: - :type S1: Handle_Geom_Surface & - :param S2: - :type S2: Handle_Geom_Surface & - :param L1: - :type L1: TopLoc_Location & - :param L2: - :type L2: TopLoc_Location & - :rtype: bool -") IsRegularity; - virtual Standard_Boolean IsRegularity (const Handle_Geom_Surface & S1,const Handle_Geom_Surface & S2,const TopLoc_Location & L1,const TopLoc_Location & L2); + /****************** IsPolygon3D ******************/ %feature("compactdefaultargs") IsPolygon3D; - %feature("autodoc", " * A 3D polygon representation. - - :rtype: bool -") IsPolygon3D; + %feature("autodoc", "* A 3D polygon representation. + :rtype: bool") IsPolygon3D; virtual Standard_Boolean IsPolygon3D (); - %feature("compactdefaultargs") IsPolygonOnTriangulation; - %feature("autodoc", " * A representation by an array of nodes on a triangulation. - :rtype: bool -") IsPolygonOnTriangulation; - virtual Standard_Boolean IsPolygonOnTriangulation (); - %feature("compactdefaultargs") IsPolygonOnTriangulation; - %feature("autodoc", " * Is it a polygon in the definition of with location . + /****************** IsPolygonOnClosedSurface ******************/ + %feature("compactdefaultargs") IsPolygonOnClosedSurface; + %feature("autodoc", "* Two 2D polygon representations in the parametric space of a surface. + :rtype: bool") IsPolygonOnClosedSurface; + virtual Standard_Boolean IsPolygonOnClosedSurface (); - :param T: - :type T: Handle_Poly_Triangulation & - :param L: - :type L: TopLoc_Location & - :rtype: bool -") IsPolygonOnTriangulation; - virtual Standard_Boolean IsPolygonOnTriangulation (const Handle_Poly_Triangulation & T,const TopLoc_Location & L); + /****************** IsPolygonOnClosedTriangulation ******************/ %feature("compactdefaultargs") IsPolygonOnClosedTriangulation; - %feature("autodoc", " * A representation by two arrays of nodes on a triangulation. - - :rtype: bool -") IsPolygonOnClosedTriangulation; + %feature("autodoc", "* A representation by two arrays of nodes on a triangulation. + :rtype: bool") IsPolygonOnClosedTriangulation; virtual Standard_Boolean IsPolygonOnClosedTriangulation (); - %feature("compactdefaultargs") IsPolygonOnSurface; - %feature("autodoc", " * A polygon in the parametric space of a surface. - :rtype: bool -") IsPolygonOnSurface; - virtual Standard_Boolean IsPolygonOnSurface (); + /****************** IsPolygonOnSurface ******************/ %feature("compactdefaultargs") IsPolygonOnSurface; - %feature("autodoc", " * Is it a polygon in the parametric space of with location . + %feature("autodoc", "* A polygon in the parametric space of a surface. + :rtype: bool") IsPolygonOnSurface; + virtual Standard_Boolean IsPolygonOnSurface (); + /****************** IsPolygonOnSurface ******************/ + %feature("compactdefaultargs") IsPolygonOnSurface; + %feature("autodoc", "* Is it a polygon in the parametric space of with location . :param S: - :type S: Handle_Geom_Surface & + :type S: opencascade::handle & :param L: :type L: TopLoc_Location & - :rtype: bool -") IsPolygonOnSurface; - virtual Standard_Boolean IsPolygonOnSurface (const Handle_Geom_Surface & S,const TopLoc_Location & L); - %feature("compactdefaultargs") IsPolygonOnClosedSurface; - %feature("autodoc", " * Two 2D polygon representations in the parametric space of a surface. + :rtype: bool") IsPolygonOnSurface; + virtual Standard_Boolean IsPolygonOnSurface (const opencascade::handle & S,const TopLoc_Location & L); - :rtype: bool -") IsPolygonOnClosedSurface; - virtual Standard_Boolean IsPolygonOnClosedSurface (); + /****************** IsPolygonOnTriangulation ******************/ + %feature("compactdefaultargs") IsPolygonOnTriangulation; + %feature("autodoc", "* A representation by an array of nodes on a triangulation. + :rtype: bool") IsPolygonOnTriangulation; + virtual Standard_Boolean IsPolygonOnTriangulation (); + + /****************** IsPolygonOnTriangulation ******************/ + %feature("compactdefaultargs") IsPolygonOnTriangulation; + %feature("autodoc", "* Is it a polygon in the definition of with location . + :param T: + :type T: opencascade::handle & + :param L: + :type L: TopLoc_Location & + :rtype: bool") IsPolygonOnTriangulation; + virtual Standard_Boolean IsPolygonOnTriangulation (const opencascade::handle & T,const TopLoc_Location & L); + + /****************** IsRegularity ******************/ + %feature("compactdefaultargs") IsRegularity; + %feature("autodoc", "* A continuity between two surfaces. + :rtype: bool") IsRegularity; + virtual Standard_Boolean IsRegularity (); + + /****************** IsRegularity ******************/ + %feature("compactdefaultargs") IsRegularity; + %feature("autodoc", "* Is it a regularity between and with location and . + :param S1: + :type S1: opencascade::handle & + :param S2: + :type S2: opencascade::handle & + :param L1: + :type L1: TopLoc_Location & + :param L2: + :type L2: TopLoc_Location & + :rtype: bool") IsRegularity; + virtual Standard_Boolean IsRegularity (const opencascade::handle & S1,const opencascade::handle & S2,const TopLoc_Location & L1,const TopLoc_Location & L2); + + /****************** Location ******************/ %feature("compactdefaultargs") Location; - %feature("autodoc", " :rtype: TopLoc_Location -") Location; + %feature("autodoc", ":rtype: TopLoc_Location") Location; const TopLoc_Location & Location (); + + /****************** Location ******************/ %feature("compactdefaultargs") Location; - %feature("autodoc", " :param L: + %feature("autodoc", ":param L: :type L: TopLoc_Location & - :rtype: None -") Location; + :rtype: None") Location; void Location (const TopLoc_Location & L); - %feature("compactdefaultargs") Curve3D; - %feature("autodoc", " :rtype: Handle_Geom_Curve -") Curve3D; - Handle_Geom_Curve Curve3D (); - %feature("compactdefaultargs") Curve3D; - %feature("autodoc", " :param C: - :type C: Handle_Geom_Curve & - :rtype: void -") Curve3D; - virtual void Curve3D (const Handle_Geom_Curve & C); - %feature("compactdefaultargs") Surface; - %feature("autodoc", " :rtype: Handle_Geom_Surface -") Surface; - Handle_Geom_Surface Surface (); + + /****************** Location2 ******************/ + %feature("compactdefaultargs") Location2; + %feature("autodoc", ":rtype: TopLoc_Location") Location2; + virtual const TopLoc_Location & Location2 (); + + /****************** PCurve ******************/ %feature("compactdefaultargs") PCurve; - %feature("autodoc", " :rtype: Handle_Geom2d_Curve -") PCurve; - Handle_Geom2d_Curve PCurve (); + %feature("autodoc", ":rtype: opencascade::handle") PCurve; + virtual const opencascade::handle & PCurve (); + + /****************** PCurve ******************/ %feature("compactdefaultargs") PCurve; - %feature("autodoc", " :param C: - :type C: Handle_Geom2d_Curve & - :rtype: void -") PCurve; - virtual void PCurve (const Handle_Geom2d_Curve & C); + %feature("autodoc", ":param C: + :type C: opencascade::handle & + :rtype: void") PCurve; + virtual void PCurve (const opencascade::handle & C); + + /****************** PCurve2 ******************/ %feature("compactdefaultargs") PCurve2; - %feature("autodoc", " :rtype: Handle_Geom2d_Curve -") PCurve2; - Handle_Geom2d_Curve PCurve2 (); + %feature("autodoc", ":rtype: opencascade::handle") PCurve2; + virtual const opencascade::handle & PCurve2 (); + + /****************** PCurve2 ******************/ %feature("compactdefaultargs") PCurve2; - %feature("autodoc", " :param C: - :type C: Handle_Geom2d_Curve & - :rtype: void -") PCurve2; - virtual void PCurve2 (const Handle_Geom2d_Curve & C); - %feature("compactdefaultargs") Polygon3D; - %feature("autodoc", " :rtype: Handle_Poly_Polygon3D -") Polygon3D; - Handle_Poly_Polygon3D Polygon3D (); - %feature("compactdefaultargs") Polygon3D; - %feature("autodoc", " :param P: - :type P: Handle_Poly_Polygon3D & - :rtype: void -") Polygon3D; - virtual void Polygon3D (const Handle_Poly_Polygon3D & P); + %feature("autodoc", ":param C: + :type C: opencascade::handle & + :rtype: void") PCurve2; + virtual void PCurve2 (const opencascade::handle & C); + + /****************** Polygon ******************/ %feature("compactdefaultargs") Polygon; - %feature("autodoc", " :rtype: Handle_Poly_Polygon2D -") Polygon; - Handle_Poly_Polygon2D Polygon (); + %feature("autodoc", ":rtype: opencascade::handle") Polygon; + virtual const opencascade::handle & Polygon (); + + /****************** Polygon ******************/ %feature("compactdefaultargs") Polygon; - %feature("autodoc", " :param P: - :type P: Handle_Poly_Polygon2D & - :rtype: void -") Polygon; - virtual void Polygon (const Handle_Poly_Polygon2D & P); - %feature("compactdefaultargs") Polygon2; - %feature("autodoc", " :rtype: Handle_Poly_Polygon2D -") Polygon2; - Handle_Poly_Polygon2D Polygon2 (); + %feature("autodoc", ":param P: + :type P: opencascade::handle & + :rtype: void") Polygon; + virtual void Polygon (const opencascade::handle & P); + + /****************** Polygon2 ******************/ %feature("compactdefaultargs") Polygon2; - %feature("autodoc", " :param P: - :type P: Handle_Poly_Polygon2D & - :rtype: void -") Polygon2; - virtual void Polygon2 (const Handle_Poly_Polygon2D & P); - %feature("compactdefaultargs") Triangulation; - %feature("autodoc", " :rtype: Handle_Poly_Triangulation -") Triangulation; - Handle_Poly_Triangulation Triangulation (); - %feature("compactdefaultargs") PolygonOnTriangulation; - %feature("autodoc", " :rtype: Handle_Poly_PolygonOnTriangulation -") PolygonOnTriangulation; - Handle_Poly_PolygonOnTriangulation PolygonOnTriangulation (); - %feature("compactdefaultargs") PolygonOnTriangulation; - %feature("autodoc", " :param P: - :type P: Handle_Poly_PolygonOnTriangulation & - :rtype: void -") PolygonOnTriangulation; - virtual void PolygonOnTriangulation (const Handle_Poly_PolygonOnTriangulation & P); - %feature("compactdefaultargs") PolygonOnTriangulation2; - %feature("autodoc", " :rtype: Handle_Poly_PolygonOnTriangulation -") PolygonOnTriangulation2; - Handle_Poly_PolygonOnTriangulation PolygonOnTriangulation2 (); - %feature("compactdefaultargs") PolygonOnTriangulation2; - %feature("autodoc", " :param P2: - :type P2: Handle_Poly_PolygonOnTriangulation & - :rtype: void -") PolygonOnTriangulation2; - virtual void PolygonOnTriangulation2 (const Handle_Poly_PolygonOnTriangulation & P2); - %feature("compactdefaultargs") Surface2; - %feature("autodoc", " :rtype: Handle_Geom_Surface -") Surface2; - Handle_Geom_Surface Surface2 (); - %feature("compactdefaultargs") Location2; - %feature("autodoc", " :rtype: TopLoc_Location -") Location2; - virtual const TopLoc_Location & Location2 (); - %feature("compactdefaultargs") Continuity; - %feature("autodoc", " :rtype: GeomAbs_Shape -") Continuity; - virtual const GeomAbs_Shape & Continuity (); - %feature("compactdefaultargs") Continuity; - %feature("autodoc", " :param C: - :type C: GeomAbs_Shape - :rtype: void -") Continuity; - virtual void Continuity (const GeomAbs_Shape C); - %feature("compactdefaultargs") Copy; - %feature("autodoc", " * Return a copy of this representation. + %feature("autodoc", ":rtype: opencascade::handle") Polygon2; + virtual const opencascade::handle & Polygon2 (); - :rtype: Handle_BRep_CurveRepresentation -") Copy; - virtual Handle_BRep_CurveRepresentation Copy (); -}; + /****************** Polygon2 ******************/ + %feature("compactdefaultargs") Polygon2; + %feature("autodoc", ":param P: + :type P: opencascade::handle & + :rtype: void") Polygon2; + virtual void Polygon2 (const opencascade::handle & P); + /****************** Polygon3D ******************/ + %feature("compactdefaultargs") Polygon3D; + %feature("autodoc", ":rtype: opencascade::handle") Polygon3D; + virtual const opencascade::handle & Polygon3D (); -%make_alias(BRep_CurveRepresentation) + /****************** Polygon3D ******************/ + %feature("compactdefaultargs") Polygon3D; + %feature("autodoc", ":param P: + :type P: opencascade::handle & + :rtype: void") Polygon3D; + virtual void Polygon3D (const opencascade::handle & P); -%extend BRep_CurveRepresentation { - %pythoncode { - __repr__ = _dumps_object - } -}; -%nodefaultctor BRep_ListIteratorOfListOfCurveRepresentation; -class BRep_ListIteratorOfListOfCurveRepresentation { - public: - %feature("compactdefaultargs") BRep_ListIteratorOfListOfCurveRepresentation; - %feature("autodoc", " :rtype: None -") BRep_ListIteratorOfListOfCurveRepresentation; - BRep_ListIteratorOfListOfCurveRepresentation (); - %feature("compactdefaultargs") BRep_ListIteratorOfListOfCurveRepresentation; - %feature("autodoc", " :param L: - :type L: BRep_ListOfCurveRepresentation & - :rtype: None -") BRep_ListIteratorOfListOfCurveRepresentation; - BRep_ListIteratorOfListOfCurveRepresentation (const BRep_ListOfCurveRepresentation & L); - %feature("compactdefaultargs") Initialize; - %feature("autodoc", " :param L: - :type L: BRep_ListOfCurveRepresentation & - :rtype: None -") Initialize; - void Initialize (const BRep_ListOfCurveRepresentation & L); - %feature("compactdefaultargs") More; - %feature("autodoc", " :rtype: bool -") More; - Standard_Boolean More (); - %feature("compactdefaultargs") Next; - %feature("autodoc", " :rtype: None -") Next; - void Next (); - %feature("compactdefaultargs") Value; - %feature("autodoc", " :rtype: Handle_BRep_CurveRepresentation -") Value; - Handle_BRep_CurveRepresentation Value (); -}; + /****************** PolygonOnTriangulation ******************/ + %feature("compactdefaultargs") PolygonOnTriangulation; + %feature("autodoc", ":rtype: opencascade::handle") PolygonOnTriangulation; + virtual const opencascade::handle & PolygonOnTriangulation (); + /****************** PolygonOnTriangulation ******************/ + %feature("compactdefaultargs") PolygonOnTriangulation; + %feature("autodoc", ":param P: + :type P: opencascade::handle & + :rtype: void") PolygonOnTriangulation; + virtual void PolygonOnTriangulation (const opencascade::handle & P); -%extend BRep_ListIteratorOfListOfCurveRepresentation { - %pythoncode { - __repr__ = _dumps_object - } -}; -%nodefaultctor BRep_ListIteratorOfListOfPointRepresentation; -class BRep_ListIteratorOfListOfPointRepresentation { - public: - %feature("compactdefaultargs") BRep_ListIteratorOfListOfPointRepresentation; - %feature("autodoc", " :rtype: None -") BRep_ListIteratorOfListOfPointRepresentation; - BRep_ListIteratorOfListOfPointRepresentation (); - %feature("compactdefaultargs") BRep_ListIteratorOfListOfPointRepresentation; - %feature("autodoc", " :param L: - :type L: BRep_ListOfPointRepresentation & - :rtype: None -") BRep_ListIteratorOfListOfPointRepresentation; - BRep_ListIteratorOfListOfPointRepresentation (const BRep_ListOfPointRepresentation & L); - %feature("compactdefaultargs") Initialize; - %feature("autodoc", " :param L: - :type L: BRep_ListOfPointRepresentation & - :rtype: None -") Initialize; - void Initialize (const BRep_ListOfPointRepresentation & L); - %feature("compactdefaultargs") More; - %feature("autodoc", " :rtype: bool -") More; - Standard_Boolean More (); - %feature("compactdefaultargs") Next; - %feature("autodoc", " :rtype: None -") Next; - void Next (); - %feature("compactdefaultargs") Value; - %feature("autodoc", " :rtype: Handle_BRep_PointRepresentation -") Value; - Handle_BRep_PointRepresentation Value (); -}; + /****************** PolygonOnTriangulation2 ******************/ + %feature("compactdefaultargs") PolygonOnTriangulation2; + %feature("autodoc", ":rtype: opencascade::handle") PolygonOnTriangulation2; + virtual const opencascade::handle & PolygonOnTriangulation2 (); + /****************** PolygonOnTriangulation2 ******************/ + %feature("compactdefaultargs") PolygonOnTriangulation2; + %feature("autodoc", ":param P2: + :type P2: opencascade::handle & + :rtype: void") PolygonOnTriangulation2; + virtual void PolygonOnTriangulation2 (const opencascade::handle & P2); -%extend BRep_ListIteratorOfListOfPointRepresentation { - %pythoncode { - __repr__ = _dumps_object - } -}; -%nodefaultctor BRep_ListNodeOfListOfCurveRepresentation; -class BRep_ListNodeOfListOfCurveRepresentation : public TCollection_MapNode { - public: - %feature("compactdefaultargs") BRep_ListNodeOfListOfCurveRepresentation; - %feature("autodoc", " :param I: - :type I: Handle_BRep_CurveRepresentation & - :param n: - :type n: TCollection_MapNodePtr & - :rtype: None -") BRep_ListNodeOfListOfCurveRepresentation; - BRep_ListNodeOfListOfCurveRepresentation (const Handle_BRep_CurveRepresentation & I,const TCollection_MapNodePtr & n); - %feature("compactdefaultargs") Value; - %feature("autodoc", " :rtype: Handle_BRep_CurveRepresentation -") Value; - Handle_BRep_CurveRepresentation Value (); -}; + /****************** Surface ******************/ + %feature("compactdefaultargs") Surface; + %feature("autodoc", ":rtype: opencascade::handle") Surface; + virtual const opencascade::handle & Surface (); + /****************** Surface2 ******************/ + %feature("compactdefaultargs") Surface2; + %feature("autodoc", ":rtype: opencascade::handle") Surface2; + virtual const opencascade::handle & Surface2 (); -%make_alias(BRep_ListNodeOfListOfCurveRepresentation) + /****************** Triangulation ******************/ + %feature("compactdefaultargs") Triangulation; + %feature("autodoc", ":rtype: opencascade::handle") Triangulation; + virtual const opencascade::handle & Triangulation (); -%extend BRep_ListNodeOfListOfCurveRepresentation { - %pythoncode { - __repr__ = _dumps_object - } -}; -%nodefaultctor BRep_ListNodeOfListOfPointRepresentation; -class BRep_ListNodeOfListOfPointRepresentation : public TCollection_MapNode { - public: - %feature("compactdefaultargs") BRep_ListNodeOfListOfPointRepresentation; - %feature("autodoc", " :param I: - :type I: Handle_BRep_PointRepresentation & - :param n: - :type n: TCollection_MapNodePtr & - :rtype: None -") BRep_ListNodeOfListOfPointRepresentation; - BRep_ListNodeOfListOfPointRepresentation (const Handle_BRep_PointRepresentation & I,const TCollection_MapNodePtr & n); - %feature("compactdefaultargs") Value; - %feature("autodoc", " :rtype: Handle_BRep_PointRepresentation -") Value; - Handle_BRep_PointRepresentation Value (); }; -%make_alias(BRep_ListNodeOfListOfPointRepresentation) +%make_alias(BRep_CurveRepresentation) -%extend BRep_ListNodeOfListOfPointRepresentation { +%extend BRep_CurveRepresentation { %pythoncode { __repr__ = _dumps_object } }; -%nodefaultctor BRep_ListOfCurveRepresentation; -class BRep_ListOfCurveRepresentation { - public: - %feature("compactdefaultargs") BRep_ListOfCurveRepresentation; - %feature("autodoc", " :rtype: None -") BRep_ListOfCurveRepresentation; - BRep_ListOfCurveRepresentation (); - %feature("compactdefaultargs") BRep_ListOfCurveRepresentation; - %feature("autodoc", " :param Other: - :type Other: BRep_ListOfCurveRepresentation & - :rtype: None -") BRep_ListOfCurveRepresentation; - BRep_ListOfCurveRepresentation (const BRep_ListOfCurveRepresentation & Other); - %feature("compactdefaultargs") Assign; - %feature("autodoc", " :param Other: - :type Other: BRep_ListOfCurveRepresentation & - :rtype: None -") Assign; - void Assign (const BRep_ListOfCurveRepresentation & Other); - %feature("compactdefaultargs") operator =; - %feature("autodoc", " :param Other: - :type Other: BRep_ListOfCurveRepresentation & - :rtype: None -") operator =; - void operator = (const BRep_ListOfCurveRepresentation & Other); - %feature("compactdefaultargs") Extent; - %feature("autodoc", " :rtype: int -") Extent; - Standard_Integer Extent (); - %feature("compactdefaultargs") Clear; - %feature("autodoc", " :rtype: None -") Clear; - void Clear (); - %feature("compactdefaultargs") IsEmpty; - %feature("autodoc", " :rtype: bool -") IsEmpty; - Standard_Boolean IsEmpty (); - %feature("compactdefaultargs") Prepend; - %feature("autodoc", " :param I: - :type I: Handle_BRep_CurveRepresentation & - :rtype: None -") Prepend; - void Prepend (const Handle_BRep_CurveRepresentation & I); - %feature("compactdefaultargs") Prepend; - %feature("autodoc", " :param I: - :type I: Handle_BRep_CurveRepresentation & - :param theIt: - :type theIt: BRep_ListIteratorOfListOfCurveRepresentation & - :rtype: None -") Prepend; - void Prepend (const Handle_BRep_CurveRepresentation & I,BRep_ListIteratorOfListOfCurveRepresentation & theIt); - %feature("compactdefaultargs") Prepend; - %feature("autodoc", " :param Other: - :type Other: BRep_ListOfCurveRepresentation & - :rtype: None -") Prepend; - void Prepend (BRep_ListOfCurveRepresentation & Other); - %feature("compactdefaultargs") Append; - %feature("autodoc", " :param I: - :type I: Handle_BRep_CurveRepresentation & - :rtype: None -") Append; - void Append (const Handle_BRep_CurveRepresentation & I); - %feature("compactdefaultargs") Append; - %feature("autodoc", " :param I: - :type I: Handle_BRep_CurveRepresentation & - :param theIt: - :type theIt: BRep_ListIteratorOfListOfCurveRepresentation & - :rtype: None -") Append; - void Append (const Handle_BRep_CurveRepresentation & I,BRep_ListIteratorOfListOfCurveRepresentation & theIt); - %feature("compactdefaultargs") Append; - %feature("autodoc", " :param Other: - :type Other: BRep_ListOfCurveRepresentation & - :rtype: None -") Append; - void Append (BRep_ListOfCurveRepresentation & Other); - %feature("compactdefaultargs") First; - %feature("autodoc", " :rtype: Handle_BRep_CurveRepresentation -") First; - Handle_BRep_CurveRepresentation First (); - %feature("compactdefaultargs") Last; - %feature("autodoc", " :rtype: Handle_BRep_CurveRepresentation -") Last; - Handle_BRep_CurveRepresentation Last (); - %feature("compactdefaultargs") RemoveFirst; - %feature("autodoc", " :rtype: None -") RemoveFirst; - void RemoveFirst (); - %feature("compactdefaultargs") Remove; - %feature("autodoc", " :param It: - :type It: BRep_ListIteratorOfListOfCurveRepresentation & - :rtype: None -") Remove; - void Remove (BRep_ListIteratorOfListOfCurveRepresentation & It); - %feature("compactdefaultargs") InsertBefore; - %feature("autodoc", " :param I: - :type I: Handle_BRep_CurveRepresentation & - :param It: - :type It: BRep_ListIteratorOfListOfCurveRepresentation & - :rtype: None -") InsertBefore; - void InsertBefore (const Handle_BRep_CurveRepresentation & I,BRep_ListIteratorOfListOfCurveRepresentation & It); - %feature("compactdefaultargs") InsertBefore; - %feature("autodoc", " :param Other: - :type Other: BRep_ListOfCurveRepresentation & - :param It: - :type It: BRep_ListIteratorOfListOfCurveRepresentation & - :rtype: None -") InsertBefore; - void InsertBefore (BRep_ListOfCurveRepresentation & Other,BRep_ListIteratorOfListOfCurveRepresentation & It); - %feature("compactdefaultargs") InsertAfter; - %feature("autodoc", " :param I: - :type I: Handle_BRep_CurveRepresentation & - :param It: - :type It: BRep_ListIteratorOfListOfCurveRepresentation & - :rtype: None -") InsertAfter; - void InsertAfter (const Handle_BRep_CurveRepresentation & I,BRep_ListIteratorOfListOfCurveRepresentation & It); - %feature("compactdefaultargs") InsertAfter; - %feature("autodoc", " :param Other: - :type Other: BRep_ListOfCurveRepresentation & - :param It: - :type It: BRep_ListIteratorOfListOfCurveRepresentation & - :rtype: None -") InsertAfter; - void InsertAfter (BRep_ListOfCurveRepresentation & Other,BRep_ListIteratorOfListOfCurveRepresentation & It); -}; - -%extend BRep_ListOfCurveRepresentation { - %pythoncode { - __repr__ = _dumps_object - } -}; -%nodefaultctor BRep_ListOfPointRepresentation; -class BRep_ListOfPointRepresentation { +/********************************* +* class BRep_PointRepresentation * +*********************************/ +%nodefaultctor BRep_PointRepresentation; +class BRep_PointRepresentation : public Standard_Transient { public: - %feature("compactdefaultargs") BRep_ListOfPointRepresentation; - %feature("autodoc", " :rtype: None -") BRep_ListOfPointRepresentation; - BRep_ListOfPointRepresentation (); - %feature("compactdefaultargs") BRep_ListOfPointRepresentation; - %feature("autodoc", " :param Other: - :type Other: BRep_ListOfPointRepresentation & - :rtype: None -") BRep_ListOfPointRepresentation; - BRep_ListOfPointRepresentation (const BRep_ListOfPointRepresentation & Other); - %feature("compactdefaultargs") Assign; - %feature("autodoc", " :param Other: - :type Other: BRep_ListOfPointRepresentation & - :rtype: None -") Assign; - void Assign (const BRep_ListOfPointRepresentation & Other); - %feature("compactdefaultargs") operator =; - %feature("autodoc", " :param Other: - :type Other: BRep_ListOfPointRepresentation & - :rtype: None -") operator =; - void operator = (const BRep_ListOfPointRepresentation & Other); - %feature("compactdefaultargs") Extent; - %feature("autodoc", " :rtype: int -") Extent; - Standard_Integer Extent (); - %feature("compactdefaultargs") Clear; - %feature("autodoc", " :rtype: None -") Clear; - void Clear (); - %feature("compactdefaultargs") IsEmpty; - %feature("autodoc", " :rtype: bool -") IsEmpty; - Standard_Boolean IsEmpty (); - %feature("compactdefaultargs") Prepend; - %feature("autodoc", " :param I: - :type I: Handle_BRep_PointRepresentation & - :rtype: None -") Prepend; - void Prepend (const Handle_BRep_PointRepresentation & I); - %feature("compactdefaultargs") Prepend; - %feature("autodoc", " :param I: - :type I: Handle_BRep_PointRepresentation & - :param theIt: - :type theIt: BRep_ListIteratorOfListOfPointRepresentation & - :rtype: None -") Prepend; - void Prepend (const Handle_BRep_PointRepresentation & I,BRep_ListIteratorOfListOfPointRepresentation & theIt); - %feature("compactdefaultargs") Prepend; - %feature("autodoc", " :param Other: - :type Other: BRep_ListOfPointRepresentation & - :rtype: None -") Prepend; - void Prepend (BRep_ListOfPointRepresentation & Other); - %feature("compactdefaultargs") Append; - %feature("autodoc", " :param I: - :type I: Handle_BRep_PointRepresentation & - :rtype: None -") Append; - void Append (const Handle_BRep_PointRepresentation & I); - %feature("compactdefaultargs") Append; - %feature("autodoc", " :param I: - :type I: Handle_BRep_PointRepresentation & - :param theIt: - :type theIt: BRep_ListIteratorOfListOfPointRepresentation & - :rtype: None -") Append; - void Append (const Handle_BRep_PointRepresentation & I,BRep_ListIteratorOfListOfPointRepresentation & theIt); - %feature("compactdefaultargs") Append; - %feature("autodoc", " :param Other: - :type Other: BRep_ListOfPointRepresentation & - :rtype: None -") Append; - void Append (BRep_ListOfPointRepresentation & Other); - %feature("compactdefaultargs") First; - %feature("autodoc", " :rtype: Handle_BRep_PointRepresentation -") First; - Handle_BRep_PointRepresentation First (); - %feature("compactdefaultargs") Last; - %feature("autodoc", " :rtype: Handle_BRep_PointRepresentation -") Last; - Handle_BRep_PointRepresentation Last (); - %feature("compactdefaultargs") RemoveFirst; - %feature("autodoc", " :rtype: None -") RemoveFirst; - void RemoveFirst (); - %feature("compactdefaultargs") Remove; - %feature("autodoc", " :param It: - :type It: BRep_ListIteratorOfListOfPointRepresentation & - :rtype: None -") Remove; - void Remove (BRep_ListIteratorOfListOfPointRepresentation & It); - %feature("compactdefaultargs") InsertBefore; - %feature("autodoc", " :param I: - :type I: Handle_BRep_PointRepresentation & - :param It: - :type It: BRep_ListIteratorOfListOfPointRepresentation & - :rtype: None -") InsertBefore; - void InsertBefore (const Handle_BRep_PointRepresentation & I,BRep_ListIteratorOfListOfPointRepresentation & It); - %feature("compactdefaultargs") InsertBefore; - %feature("autodoc", " :param Other: - :type Other: BRep_ListOfPointRepresentation & - :param It: - :type It: BRep_ListIteratorOfListOfPointRepresentation & - :rtype: None -") InsertBefore; - void InsertBefore (BRep_ListOfPointRepresentation & Other,BRep_ListIteratorOfListOfPointRepresentation & It); - %feature("compactdefaultargs") InsertAfter; - %feature("autodoc", " :param I: - :type I: Handle_BRep_PointRepresentation & - :param It: - :type It: BRep_ListIteratorOfListOfPointRepresentation & - :rtype: None -") InsertAfter; - void InsertAfter (const Handle_BRep_PointRepresentation & I,BRep_ListIteratorOfListOfPointRepresentation & It); - %feature("compactdefaultargs") InsertAfter; - %feature("autodoc", " :param Other: - :type Other: BRep_ListOfPointRepresentation & - :param It: - :type It: BRep_ListIteratorOfListOfPointRepresentation & - :rtype: None -") InsertAfter; - void InsertAfter (BRep_ListOfPointRepresentation & Other,BRep_ListIteratorOfListOfPointRepresentation & It); -}; + /****************** Curve ******************/ + %feature("compactdefaultargs") Curve; + %feature("autodoc", ":rtype: opencascade::handle") Curve; + virtual const opencascade::handle & Curve (); + /****************** Curve ******************/ + %feature("compactdefaultargs") Curve; + %feature("autodoc", ":param C: + :type C: opencascade::handle & + :rtype: void") Curve; + virtual void Curve (const opencascade::handle & C); -%extend BRep_ListOfPointRepresentation { - %pythoncode { - __repr__ = _dumps_object - } -}; -%nodefaultctor BRep_PointRepresentation; -class BRep_PointRepresentation : public MMgt_TShared { - public: + /****************** IsPointOnCurve ******************/ %feature("compactdefaultargs") IsPointOnCurve; - %feature("autodoc", " * A point on a 3d curve. - - :rtype: bool -") IsPointOnCurve; + %feature("autodoc", "* A point on a 3d curve. + :rtype: bool") IsPointOnCurve; virtual Standard_Boolean IsPointOnCurve (); - %feature("compactdefaultargs") IsPointOnCurveOnSurface; - %feature("autodoc", " * A point on a 2d curve on a surface. - - :rtype: bool -") IsPointOnCurveOnSurface; - virtual Standard_Boolean IsPointOnCurveOnSurface (); - %feature("compactdefaultargs") IsPointOnSurface; - %feature("autodoc", " * A point on a surface. - :rtype: bool -") IsPointOnSurface; - virtual Standard_Boolean IsPointOnSurface (); + /****************** IsPointOnCurve ******************/ %feature("compactdefaultargs") IsPointOnCurve; - %feature("autodoc", " * A point on the curve . - + %feature("autodoc", "* A point on the curve . :param C: - :type C: Handle_Geom_Curve & + :type C: opencascade::handle & :param L: :type L: TopLoc_Location & - :rtype: bool -") IsPointOnCurve; - virtual Standard_Boolean IsPointOnCurve (const Handle_Geom_Curve & C,const TopLoc_Location & L); + :rtype: bool") IsPointOnCurve; + virtual Standard_Boolean IsPointOnCurve (const opencascade::handle & C,const TopLoc_Location & L); + + /****************** IsPointOnCurveOnSurface ******************/ %feature("compactdefaultargs") IsPointOnCurveOnSurface; - %feature("autodoc", " * A point on the 2d curve on the surface . + %feature("autodoc", "* A point on a 2d curve on a surface. + :rtype: bool") IsPointOnCurveOnSurface; + virtual Standard_Boolean IsPointOnCurveOnSurface (); + /****************** IsPointOnCurveOnSurface ******************/ + %feature("compactdefaultargs") IsPointOnCurveOnSurface; + %feature("autodoc", "* A point on the 2d curve on the surface . :param PC: - :type PC: Handle_Geom2d_Curve & + :type PC: opencascade::handle & :param S: - :type S: Handle_Geom_Surface & + :type S: opencascade::handle & :param L: :type L: TopLoc_Location & - :rtype: bool -") IsPointOnCurveOnSurface; - virtual Standard_Boolean IsPointOnCurveOnSurface (const Handle_Geom2d_Curve & PC,const Handle_Geom_Surface & S,const TopLoc_Location & L); + :rtype: bool") IsPointOnCurveOnSurface; + virtual Standard_Boolean IsPointOnCurveOnSurface (const opencascade::handle & PC,const opencascade::handle & S,const TopLoc_Location & L); + + /****************** IsPointOnSurface ******************/ %feature("compactdefaultargs") IsPointOnSurface; - %feature("autodoc", " * A point on the surface . + %feature("autodoc", "* A point on a surface. + :rtype: bool") IsPointOnSurface; + virtual Standard_Boolean IsPointOnSurface (); + /****************** IsPointOnSurface ******************/ + %feature("compactdefaultargs") IsPointOnSurface; + %feature("autodoc", "* A point on the surface . :param S: - :type S: Handle_Geom_Surface & + :type S: opencascade::handle & :param L: :type L: TopLoc_Location & - :rtype: bool -") IsPointOnSurface; - virtual Standard_Boolean IsPointOnSurface (const Handle_Geom_Surface & S,const TopLoc_Location & L); + :rtype: bool") IsPointOnSurface; + virtual Standard_Boolean IsPointOnSurface (const opencascade::handle & S,const TopLoc_Location & L); + + /****************** Location ******************/ %feature("compactdefaultargs") Location; - %feature("autodoc", " :rtype: TopLoc_Location -") Location; + %feature("autodoc", ":rtype: TopLoc_Location") Location; const TopLoc_Location & Location (); + + /****************** Location ******************/ %feature("compactdefaultargs") Location; - %feature("autodoc", " :param L: + %feature("autodoc", ":param L: :type L: TopLoc_Location & - :rtype: None -") Location; + :rtype: None") Location; void Location (const TopLoc_Location & L); + + /****************** PCurve ******************/ + %feature("compactdefaultargs") PCurve; + %feature("autodoc", ":rtype: opencascade::handle") PCurve; + virtual const opencascade::handle & PCurve (); + + /****************** PCurve ******************/ + %feature("compactdefaultargs") PCurve; + %feature("autodoc", ":param C: + :type C: opencascade::handle & + :rtype: void") PCurve; + virtual void PCurve (const opencascade::handle & C); + + /****************** Parameter ******************/ %feature("compactdefaultargs") Parameter; - %feature("autodoc", " :rtype: float -") Parameter; + %feature("autodoc", ":rtype: float") Parameter; Standard_Real Parameter (); + + /****************** Parameter ******************/ %feature("compactdefaultargs") Parameter; - %feature("autodoc", " :param P: + %feature("autodoc", ":param P: :type P: float - :rtype: None -") Parameter; + :rtype: None") Parameter; void Parameter (const Standard_Real P); + + /****************** Parameter2 ******************/ %feature("compactdefaultargs") Parameter2; - %feature("autodoc", " :rtype: float -") Parameter2; + %feature("autodoc", ":rtype: float") Parameter2; virtual Standard_Real Parameter2 (); + + /****************** Parameter2 ******************/ %feature("compactdefaultargs") Parameter2; - %feature("autodoc", " :param P: + %feature("autodoc", ":param P: :type P: float - :rtype: void -") Parameter2; + :rtype: void") Parameter2; virtual void Parameter2 (const Standard_Real P); - %feature("compactdefaultargs") Curve; - %feature("autodoc", " :rtype: Handle_Geom_Curve -") Curve; - Handle_Geom_Curve Curve (); - %feature("compactdefaultargs") Curve; - %feature("autodoc", " :param C: - :type C: Handle_Geom_Curve & - :rtype: void -") Curve; - virtual void Curve (const Handle_Geom_Curve & C); - %feature("compactdefaultargs") PCurve; - %feature("autodoc", " :rtype: Handle_Geom2d_Curve -") PCurve; - Handle_Geom2d_Curve PCurve (); - %feature("compactdefaultargs") PCurve; - %feature("autodoc", " :param C: - :type C: Handle_Geom2d_Curve & - :rtype: void -") PCurve; - virtual void PCurve (const Handle_Geom2d_Curve & C); + + /****************** Surface ******************/ %feature("compactdefaultargs") Surface; - %feature("autodoc", " :rtype: Handle_Geom_Surface -") Surface; - Handle_Geom_Surface Surface (); + %feature("autodoc", ":rtype: opencascade::handle") Surface; + virtual const opencascade::handle & Surface (); + + /****************** Surface ******************/ %feature("compactdefaultargs") Surface; - %feature("autodoc", " :param S: - :type S: Handle_Geom_Surface & - :rtype: void -") Surface; - virtual void Surface (const Handle_Geom_Surface & S); + %feature("autodoc", ":param S: + :type S: opencascade::handle & + :rtype: void") Surface; + virtual void Surface (const opencascade::handle & S); + }; @@ -1512,77 +1188,91 @@ class BRep_PointRepresentation : public MMgt_TShared { __repr__ = _dumps_object } }; + +/******************* +* class BRep_TEdge * +*******************/ %nodefaultctor BRep_TEdge; class BRep_TEdge : public TopoDS_TEdge { public: + /****************** BRep_TEdge ******************/ %feature("compactdefaultargs") BRep_TEdge; - %feature("autodoc", " * Creates an empty TEdge. - - :rtype: None -") BRep_TEdge; + %feature("autodoc", "* Creates an empty TEdge. + :rtype: None") BRep_TEdge; BRep_TEdge (); - %feature("compactdefaultargs") Tolerance; - %feature("autodoc", " :rtype: float -") Tolerance; - Standard_Real Tolerance (); - %feature("compactdefaultargs") Tolerance; - %feature("autodoc", " :param T: - :type T: float - :rtype: None -") Tolerance; - void Tolerance (const Standard_Real T); - %feature("compactdefaultargs") UpdateTolerance; - %feature("autodoc", " * Sets the tolerance to the max of and the current tolerance. - :param T: - :type T: float - :rtype: None -") UpdateTolerance; - void UpdateTolerance (const Standard_Real T); + /****************** ChangeCurves ******************/ + %feature("compactdefaultargs") ChangeCurves; + %feature("autodoc", ":rtype: BRep_ListOfCurveRepresentation") ChangeCurves; + BRep_ListOfCurveRepresentation & ChangeCurves (); + + /****************** Curves ******************/ + %feature("compactdefaultargs") Curves; + %feature("autodoc", ":rtype: BRep_ListOfCurveRepresentation") Curves; + const BRep_ListOfCurveRepresentation & Curves (); + + /****************** Degenerated ******************/ + %feature("compactdefaultargs") Degenerated; + %feature("autodoc", ":rtype: bool") Degenerated; + Standard_Boolean Degenerated (); + + /****************** Degenerated ******************/ + %feature("compactdefaultargs") Degenerated; + %feature("autodoc", ":param S: + :type S: bool + :rtype: None") Degenerated; + void Degenerated (const Standard_Boolean S); + + /****************** EmptyCopy ******************/ + %feature("compactdefaultargs") EmptyCopy; + %feature("autodoc", "* Returns a copy of the TShape with no sub-shapes. + :rtype: opencascade::handle") EmptyCopy; + opencascade::handle EmptyCopy (); + + /****************** SameParameter ******************/ %feature("compactdefaultargs") SameParameter; - %feature("autodoc", " :rtype: bool -") SameParameter; + %feature("autodoc", ":rtype: bool") SameParameter; Standard_Boolean SameParameter (); + + /****************** SameParameter ******************/ %feature("compactdefaultargs") SameParameter; - %feature("autodoc", " :param S: + %feature("autodoc", ":param S: :type S: bool - :rtype: None -") SameParameter; + :rtype: None") SameParameter; void SameParameter (const Standard_Boolean S); + + /****************** SameRange ******************/ %feature("compactdefaultargs") SameRange; - %feature("autodoc", " :rtype: bool -") SameRange; + %feature("autodoc", ":rtype: bool") SameRange; Standard_Boolean SameRange (); + + /****************** SameRange ******************/ %feature("compactdefaultargs") SameRange; - %feature("autodoc", " :param S: + %feature("autodoc", ":param S: :type S: bool - :rtype: None -") SameRange; + :rtype: None") SameRange; void SameRange (const Standard_Boolean S); - %feature("compactdefaultargs") Degenerated; - %feature("autodoc", " :rtype: bool -") Degenerated; - Standard_Boolean Degenerated (); - %feature("compactdefaultargs") Degenerated; - %feature("autodoc", " :param S: - :type S: bool - :rtype: None -") Degenerated; - void Degenerated (const Standard_Boolean S); - %feature("compactdefaultargs") Curves; - %feature("autodoc", " :rtype: BRep_ListOfCurveRepresentation -") Curves; - const BRep_ListOfCurveRepresentation & Curves (); - %feature("compactdefaultargs") ChangeCurves; - %feature("autodoc", " :rtype: BRep_ListOfCurveRepresentation -") ChangeCurves; - BRep_ListOfCurveRepresentation & ChangeCurves (); - %feature("compactdefaultargs") EmptyCopy; - %feature("autodoc", " * Returns a copy of the TShape with no sub-shapes. - :rtype: Handle_TopoDS_TShape -") EmptyCopy; - Handle_TopoDS_TShape EmptyCopy (); + /****************** Tolerance ******************/ + %feature("compactdefaultargs") Tolerance; + %feature("autodoc", ":rtype: float") Tolerance; + Standard_Real Tolerance (); + + /****************** Tolerance ******************/ + %feature("compactdefaultargs") Tolerance; + %feature("autodoc", ":param T: + :type T: float + :rtype: None") Tolerance; + void Tolerance (const Standard_Real T); + + /****************** UpdateTolerance ******************/ + %feature("compactdefaultargs") UpdateTolerance; + %feature("autodoc", "* Sets the tolerance to the max of and the current tolerance. + :param T: + :type T: float + :rtype: None") UpdateTolerance; + void UpdateTolerance (const Standard_Real T); + }; @@ -1593,71 +1283,85 @@ class BRep_TEdge : public TopoDS_TEdge { __repr__ = _dumps_object } }; + +/******************* +* class BRep_TFace * +*******************/ %nodefaultctor BRep_TFace; class BRep_TFace : public TopoDS_TFace { public: + /****************** BRep_TFace ******************/ %feature("compactdefaultargs") BRep_TFace; - %feature("autodoc", " * Creates an empty TFace. - - :rtype: None -") BRep_TFace; + %feature("autodoc", "* Creates an empty TFace. + :rtype: None") BRep_TFace; BRep_TFace (); - %feature("compactdefaultargs") Surface; - %feature("autodoc", " :rtype: Handle_Geom_Surface -") Surface; - Handle_Geom_Surface Surface (); - %feature("compactdefaultargs") Triangulation; - %feature("autodoc", " :rtype: Handle_Poly_Triangulation -") Triangulation; - Handle_Poly_Triangulation Triangulation (); + + /****************** EmptyCopy ******************/ + %feature("compactdefaultargs") EmptyCopy; + %feature("autodoc", "* Returns a copy of the TShape with no sub-shapes. The new Face has no triangulation. + :rtype: opencascade::handle") EmptyCopy; + virtual opencascade::handle EmptyCopy (); + + /****************** Location ******************/ %feature("compactdefaultargs") Location; - %feature("autodoc", " :rtype: TopLoc_Location -") Location; + %feature("autodoc", ":rtype: TopLoc_Location") Location; const TopLoc_Location & Location (); - %feature("compactdefaultargs") Tolerance; - %feature("autodoc", " :rtype: float -") Tolerance; - Standard_Real Tolerance (); - %feature("compactdefaultargs") Surface; - %feature("autodoc", " :param S: - :type S: Handle_Geom_Surface & - :rtype: None -") Surface; - void Surface (const Handle_Geom_Surface & S); - %feature("compactdefaultargs") Triangulation; - %feature("autodoc", " :param T: - :type T: Handle_Poly_Triangulation & - :rtype: None -") Triangulation; - void Triangulation (const Handle_Poly_Triangulation & T); + + /****************** Location ******************/ %feature("compactdefaultargs") Location; - %feature("autodoc", " :param L: + %feature("autodoc", ":param L: :type L: TopLoc_Location & - :rtype: None -") Location; + :rtype: None") Location; void Location (const TopLoc_Location & L); - %feature("compactdefaultargs") Tolerance; - %feature("autodoc", " :param T: - :type T: float - :rtype: None -") Tolerance; - void Tolerance (const Standard_Real T); + + /****************** NaturalRestriction ******************/ %feature("compactdefaultargs") NaturalRestriction; - %feature("autodoc", " :rtype: bool -") NaturalRestriction; + %feature("autodoc", ":rtype: bool") NaturalRestriction; Standard_Boolean NaturalRestriction (); + + /****************** NaturalRestriction ******************/ %feature("compactdefaultargs") NaturalRestriction; - %feature("autodoc", " :param N: + %feature("autodoc", ":param N: :type N: bool - :rtype: None -") NaturalRestriction; + :rtype: None") NaturalRestriction; void NaturalRestriction (const Standard_Boolean N); - %feature("compactdefaultargs") EmptyCopy; - %feature("autodoc", " * Returns a copy of the TShape with no sub-shapes. The new Face has no triangulation. - :rtype: Handle_TopoDS_TShape -") EmptyCopy; - virtual Handle_TopoDS_TShape EmptyCopy (); + /****************** Surface ******************/ + %feature("compactdefaultargs") Surface; + %feature("autodoc", ":rtype: opencascade::handle") Surface; + const opencascade::handle & Surface (); + + /****************** Surface ******************/ + %feature("compactdefaultargs") Surface; + %feature("autodoc", ":param S: + :type S: opencascade::handle & + :rtype: None") Surface; + void Surface (const opencascade::handle & S); + + /****************** Tolerance ******************/ + %feature("compactdefaultargs") Tolerance; + %feature("autodoc", ":rtype: float") Tolerance; + Standard_Real Tolerance (); + + /****************** Tolerance ******************/ + %feature("compactdefaultargs") Tolerance; + %feature("autodoc", ":param T: + :type T: float + :rtype: None") Tolerance; + void Tolerance (const Standard_Real T); + + /****************** Triangulation ******************/ + %feature("compactdefaultargs") Triangulation; + %feature("autodoc", ":rtype: opencascade::handle") Triangulation; + const opencascade::handle & Triangulation (); + + /****************** Triangulation ******************/ + %feature("compactdefaultargs") Triangulation; + %feature("autodoc", ":param T: + :type T: opencascade::handle & + :rtype: None") Triangulation; + void Triangulation (const opencascade::handle & T); + }; @@ -1668,55 +1372,66 @@ class BRep_TFace : public TopoDS_TFace { __repr__ = _dumps_object } }; + +/********************* +* class BRep_TVertex * +*********************/ %nodefaultctor BRep_TVertex; class BRep_TVertex : public TopoDS_TVertex { public: + /****************** BRep_TVertex ******************/ %feature("compactdefaultargs") BRep_TVertex; - %feature("autodoc", " :rtype: None -") BRep_TVertex; + %feature("autodoc", ":rtype: None") BRep_TVertex; BRep_TVertex (); + + /****************** ChangePoints ******************/ + %feature("compactdefaultargs") ChangePoints; + %feature("autodoc", ":rtype: BRep_ListOfPointRepresentation") ChangePoints; + BRep_ListOfPointRepresentation & ChangePoints (); + + /****************** EmptyCopy ******************/ + %feature("compactdefaultargs") EmptyCopy; + %feature("autodoc", "* Returns a copy of the TShape with no sub-shapes. + :rtype: opencascade::handle") EmptyCopy; + opencascade::handle EmptyCopy (); + + /****************** Pnt ******************/ + %feature("compactdefaultargs") Pnt; + %feature("autodoc", ":rtype: gp_Pnt") Pnt; + const gp_Pnt Pnt (); + + /****************** Pnt ******************/ + %feature("compactdefaultargs") Pnt; + %feature("autodoc", ":param P: + :type P: gp_Pnt + :rtype: None") Pnt; + void Pnt (const gp_Pnt & P); + + /****************** Points ******************/ + %feature("compactdefaultargs") Points; + %feature("autodoc", ":rtype: BRep_ListOfPointRepresentation") Points; + const BRep_ListOfPointRepresentation & Points (); + + /****************** Tolerance ******************/ %feature("compactdefaultargs") Tolerance; - %feature("autodoc", " :rtype: float -") Tolerance; + %feature("autodoc", ":rtype: float") Tolerance; Standard_Real Tolerance (); + + /****************** Tolerance ******************/ %feature("compactdefaultargs") Tolerance; - %feature("autodoc", " :param T: + %feature("autodoc", ":param T: :type T: float - :rtype: None -") Tolerance; + :rtype: None") Tolerance; void Tolerance (const Standard_Real T); - %feature("compactdefaultargs") UpdateTolerance; - %feature("autodoc", " * Sets the tolerance to the max of and the current tolerance. + /****************** UpdateTolerance ******************/ + %feature("compactdefaultargs") UpdateTolerance; + %feature("autodoc", "* Sets the tolerance to the max of and the current tolerance. :param T: :type T: float - :rtype: None -") UpdateTolerance; + :rtype: None") UpdateTolerance; void UpdateTolerance (const Standard_Real T); - %feature("compactdefaultargs") Pnt; - %feature("autodoc", " :rtype: gp_Pnt -") Pnt; - const gp_Pnt Pnt (); - %feature("compactdefaultargs") Pnt; - %feature("autodoc", " :param P: - :type P: gp_Pnt - :rtype: None -") Pnt; - void Pnt (const gp_Pnt & P); - %feature("compactdefaultargs") Points; - %feature("autodoc", " :rtype: BRep_ListOfPointRepresentation -") Points; - const BRep_ListOfPointRepresentation & Points (); - %feature("compactdefaultargs") ChangePoints; - %feature("autodoc", " :rtype: BRep_ListOfPointRepresentation -") ChangePoints; - BRep_ListOfPointRepresentation & ChangePoints (); - %feature("compactdefaultargs") EmptyCopy; - %feature("autodoc", " * Returns a copy of the TShape with no sub-shapes. - :rtype: Handle_TopoDS_TShape -") EmptyCopy; - Handle_TopoDS_TShape EmptyCopy (); }; @@ -1727,363 +1442,463 @@ class BRep_TVertex : public TopoDS_TVertex { __repr__ = _dumps_object } }; + +/****************** +* class BRep_Tool * +******************/ class BRep_Tool { public: - %feature("compactdefaultargs") IsClosed; - %feature("autodoc", " * If S is Shell, returns True if it has no free boundaries (edges). If S is Wire, returns True if it has no free ends (vertices). (Internal and External sub-shepes are ignored in these checks) If S is Edge, returns True if its vertices are the same. For other shape types returns S.Closed(). + /****************** Continuity ******************/ + %feature("compactdefaultargs") Continuity; + %feature("autodoc", "* Returns the continuity. + :param E: + :type E: TopoDS_Edge & + :param F1: + :type F1: TopoDS_Face & + :param F2: + :type F2: TopoDS_Face & + :rtype: GeomAbs_Shape") Continuity; + static GeomAbs_Shape Continuity (const TopoDS_Edge & E,const TopoDS_Face & F1,const TopoDS_Face & F2); - :param S: - :type S: TopoDS_Shape & - :rtype: bool -") IsClosed; - static Standard_Boolean IsClosed (const TopoDS_Shape & S); - %feature("compactdefaultargs") Surface; - %feature("autodoc", " * Returns the geometric surface of the face. Returns in the location for the surface. + /****************** Continuity ******************/ + %feature("compactdefaultargs") Continuity; + %feature("autodoc", "* Returns the continuity. + :param E: + :type E: TopoDS_Edge & + :param S1: + :type S1: opencascade::handle & + :param S2: + :type S2: opencascade::handle & + :param L1: + :type L1: TopLoc_Location & + :param L2: + :type L2: TopLoc_Location & + :rtype: GeomAbs_Shape") Continuity; + static GeomAbs_Shape Continuity (const TopoDS_Edge & E,const opencascade::handle & S1,const opencascade::handle & S2,const TopLoc_Location & L1,const TopLoc_Location & L2); - :param F: - :type F: TopoDS_Face & + /****************** Curve ******************/ + %feature("compactdefaultargs") Curve; + %feature("autodoc", "* Returns the 3D curve of the edge. May be a Null handle. Returns in the location for the curve. In and the parameter range. + :param E: + :type E: TopoDS_Edge & :param L: :type L: TopLoc_Location & - :rtype: Handle_Geom_Surface -") Surface; - Handle_Geom_Surface Surface (const TopoDS_Face & F,TopLoc_Location & L); - %feature("compactdefaultargs") Surface; - %feature("autodoc", " * Returns the geometric surface of the face. It can be a copy if there is a Location. + :param First: + :type First: float & + :param Last: + :type Last: float & + :rtype: opencascade::handle") Curve; + static const opencascade::handle & Curve (const TopoDS_Edge & E,TopLoc_Location & L,Standard_Real &OutValue,Standard_Real &OutValue); - :param F: - :type F: TopoDS_Face & - :rtype: Handle_Geom_Surface -") Surface; - static Handle_Geom_Surface Surface (const TopoDS_Face & F); - %feature("compactdefaultargs") Triangulation; - %feature("autodoc", " * Returns the Triangulation of the face. It is a null handle if there is no triangulation. + /****************** Curve ******************/ + %feature("compactdefaultargs") Curve; + %feature("autodoc", "* Returns the 3D curve of the edge. May be a Null handle. In and the parameter range. It can be a copy if there is a Location. + :param E: + :type E: TopoDS_Edge & + :param First: + :type First: float & + :param Last: + :type Last: float & + :rtype: opencascade::handle") Curve; + static opencascade::handle Curve (const TopoDS_Edge & E,Standard_Real &OutValue,Standard_Real &OutValue); - :param F: - :type F: TopoDS_Face & + /****************** CurveOnPlane ******************/ + %feature("compactdefaultargs") CurveOnPlane; + %feature("autodoc", "* For the planar surface builds the 2d curve for the edge by projection of the edge on plane. Returns a NULL handle if the surface is not planar or the projection failed. + :param E: + :type E: TopoDS_Edge & + :param S: + :type S: opencascade::handle & :param L: :type L: TopLoc_Location & - :rtype: Handle_Poly_Triangulation -") Triangulation; - Handle_Poly_Triangulation Triangulation (const TopoDS_Face & F,TopLoc_Location & L); - %feature("compactdefaultargs") Tolerance; - %feature("autodoc", " * Returns the tolerance of the face. - - :param F: - :type F: TopoDS_Face & - :rtype: float -") Tolerance; - static Standard_Real Tolerance (const TopoDS_Face & F); - %feature("compactdefaultargs") NaturalRestriction; - %feature("autodoc", " * Returns the NaturalRestriction flag of the face. + :param First: + :type First: float & + :param Last: + :type Last: float & + :rtype: opencascade::handle") CurveOnPlane; + static opencascade::handle CurveOnPlane (const TopoDS_Edge & E,const opencascade::handle & S,const TopLoc_Location & L,Standard_Real &OutValue,Standard_Real &OutValue); + /****************** CurveOnSurface ******************/ + %feature("compactdefaultargs") CurveOnSurface; + %feature("autodoc", "* Returns the curve associated to the edge in the parametric space of the face. Returns a NULL handle if this curve does not exist. Returns in and the parameter range. If the surface is a plane the curve can be not stored but created a new each time. The flag pointed by serves to indicate storage status. It is valued if the pointer is non-null. + :param E: + :type E: TopoDS_Edge & :param F: :type F: TopoDS_Face & - :rtype: bool -") NaturalRestriction; - static Standard_Boolean NaturalRestriction (const TopoDS_Face & F); - %feature("compactdefaultargs") IsGeometric; - %feature("autodoc", " * Returns True if is a 3d curve or a curve on surface. + :param First: + :type First: float & + :param Last: + :type Last: float & + :param theIsStored: default value is NULL + :type theIsStored: bool * + :rtype: opencascade::handle") CurveOnSurface; + static opencascade::handle CurveOnSurface (const TopoDS_Edge & E,const TopoDS_Face & F,Standard_Real &OutValue,Standard_Real &OutValue,Standard_Boolean * theIsStored = NULL); + /****************** CurveOnSurface ******************/ + %feature("compactdefaultargs") CurveOnSurface; + %feature("autodoc", "* Returns the curve associated to the edge in the parametric space of the surface. Returns a NULL handle if this curve does not exist. Returns in and the parameter range. If the surface is a plane the curve can be not stored but created a new each time. The flag pointed by serves to indicate storage status. It is valued if the pointer is non-null. :param E: :type E: TopoDS_Edge & - :rtype: bool -") IsGeometric; - static Standard_Boolean IsGeometric (const TopoDS_Edge & E); - %feature("compactdefaultargs") Curve; - %feature("autodoc", " * Returns the 3D curve of the edge. May be a Null handle. Returns in the location for the curve. In and the parameter range. + :param S: + :type S: opencascade::handle & + :param L: + :type L: TopLoc_Location & + :param First: + :type First: float & + :param Last: + :type Last: float & + :param theIsStored: default value is NULL + :type theIsStored: bool * + :rtype: opencascade::handle") CurveOnSurface; + static opencascade::handle CurveOnSurface (const TopoDS_Edge & E,const opencascade::handle & S,const TopLoc_Location & L,Standard_Real &OutValue,Standard_Real &OutValue,Standard_Boolean * theIsStored = NULL); + /****************** CurveOnSurface ******************/ + %feature("compactdefaultargs") CurveOnSurface; + %feature("autodoc", "* Returns in , , a 2d curve, a surface and a location for the edge . and are null if the edge has no curve on surface. Returns in and the parameter range. :param E: :type E: TopoDS_Edge & + :param C: + :type C: opencascade::handle & + :param S: + :type S: opencascade::handle & :param L: :type L: TopLoc_Location & :param First: :type First: float & :param Last: :type Last: float & - :rtype: Handle_Geom_Curve -") Curve; - Handle_Geom_Curve Curve (const TopoDS_Edge & E,TopLoc_Location & L,Standard_Real &OutValue,Standard_Real &OutValue); - %feature("compactdefaultargs") Curve; - %feature("autodoc", " * Returns the 3D curve of the edge. May be a Null handle. In and the parameter range. It can be a copy if there is a Location. + :rtype: void") CurveOnSurface; + static void CurveOnSurface (const TopoDS_Edge & E,opencascade::handle & C,opencascade::handle & S,TopLoc_Location & L,Standard_Real &OutValue,Standard_Real &OutValue); + /****************** CurveOnSurface ******************/ + %feature("compactdefaultargs") CurveOnSurface; + %feature("autodoc", "* Returns in , , the 2d curve, the surface and the location for the edge of rank . and are null if the index is out of range. Returns in and the parameter range. :param E: :type E: TopoDS_Edge & + :param C: + :type C: opencascade::handle & + :param S: + :type S: opencascade::handle & + :param L: + :type L: TopLoc_Location & :param First: :type First: float & :param Last: :type Last: float & - :rtype: Handle_Geom_Curve -") Curve; - static Handle_Geom_Curve Curve (const TopoDS_Edge & E,Standard_Real &OutValue,Standard_Real &OutValue); - %feature("compactdefaultargs") Polygon3D; - %feature("autodoc", " * Returns the 3D polygon of the edge. May be a Null handle. Returns in the location for the polygon. + :param Index: + :type Index: int + :rtype: void") CurveOnSurface; + static void CurveOnSurface (const TopoDS_Edge & E,opencascade::handle & C,opencascade::handle & S,TopLoc_Location & L,Standard_Real &OutValue,Standard_Real &OutValue,const Standard_Integer Index); + + /****************** Degenerated ******************/ + %feature("compactdefaultargs") Degenerated; + %feature("autodoc", "* Returns True if the edge is degenerated. + :param E: + :type E: TopoDS_Edge & + :rtype: bool") Degenerated; + static Standard_Boolean Degenerated (const TopoDS_Edge & E); + + /****************** HasContinuity ******************/ + %feature("compactdefaultargs") HasContinuity; + %feature("autodoc", "* Returns True if the edge is on the surfaces of the two faces. + :param E: + :type E: TopoDS_Edge & + :param F1: + :type F1: TopoDS_Face & + :param F2: + :type F2: TopoDS_Face & + :rtype: bool") HasContinuity; + static Standard_Boolean HasContinuity (const TopoDS_Edge & E,const TopoDS_Face & F1,const TopoDS_Face & F2); + + /****************** HasContinuity ******************/ + %feature("compactdefaultargs") HasContinuity; + %feature("autodoc", "* Returns True if the edge is on the surfaces. + :param E: + :type E: TopoDS_Edge & + :param S1: + :type S1: opencascade::handle & + :param S2: + :type S2: opencascade::handle & + :param L1: + :type L1: TopLoc_Location & + :param L2: + :type L2: TopLoc_Location & + :rtype: bool") HasContinuity; + static Standard_Boolean HasContinuity (const TopoDS_Edge & E,const opencascade::handle & S1,const opencascade::handle & S2,const TopLoc_Location & L1,const TopLoc_Location & L2); + + /****************** HasContinuity ******************/ + %feature("compactdefaultargs") HasContinuity; + %feature("autodoc", "* Returns True if the edge has regularity on some two surfaces + :param E: + :type E: TopoDS_Edge & + :rtype: bool") HasContinuity; + static Standard_Boolean HasContinuity (const TopoDS_Edge & E); + + /****************** IsClosed ******************/ + %feature("compactdefaultargs") IsClosed; + %feature("autodoc", "* If S is Shell, returns True if it has no free boundaries (edges). If S is Wire, returns True if it has no free ends (vertices). (Internal and External sub-shepes are ignored in these checks) If S is Edge, returns True if its vertices are the same. For other shape types returns S.Closed(). + :param S: + :type S: TopoDS_Shape & + :rtype: bool") IsClosed; + static Standard_Boolean IsClosed (const TopoDS_Shape & S); + + /****************** IsClosed ******************/ + %feature("compactdefaultargs") IsClosed; + %feature("autodoc", "* Returns True if has two PCurves in the parametric space of . i.e. is on a closed surface and is on the closing curve. + :param E: + :type E: TopoDS_Edge & + :param F: + :type F: TopoDS_Face & + :rtype: bool") IsClosed; + static Standard_Boolean IsClosed (const TopoDS_Edge & E,const TopoDS_Face & F); + + /****************** IsClosed ******************/ + %feature("compactdefaultargs") IsClosed; + %feature("autodoc", "* Returns True if has two PCurves in the parametric space of . i.e. is a closed surface and is on the closing curve. + :param E: + :type E: TopoDS_Edge & + :param S: + :type S: opencascade::handle & + :param L: + :type L: TopLoc_Location & + :rtype: bool") IsClosed; + static Standard_Boolean IsClosed (const TopoDS_Edge & E,const opencascade::handle & S,const TopLoc_Location & L); + /****************** IsClosed ******************/ + %feature("compactdefaultargs") IsClosed; + %feature("autodoc", "* Returns True if has two arrays of indices in the triangulation . :param E: :type E: TopoDS_Edge & + :param T: + :type T: opencascade::handle & :param L: :type L: TopLoc_Location & - :rtype: Handle_Poly_Polygon3D -") Polygon3D; - Handle_Poly_Polygon3D Polygon3D (const TopoDS_Edge & E,TopLoc_Location & L); - %feature("compactdefaultargs") CurveOnSurface; - %feature("autodoc", " * Returns the curve associated to the edge in the parametric space of the face. Returns a NULL handle if this curve does not exist. Returns in and the parameter range. + :rtype: bool") IsClosed; + static Standard_Boolean IsClosed (const TopoDS_Edge & E,const opencascade::handle & T,const TopLoc_Location & L); + /****************** IsGeometric ******************/ + %feature("compactdefaultargs") IsGeometric; + %feature("autodoc", "* Returns True if is a 3d curve or a curve on surface. :param E: :type E: TopoDS_Edge & + :rtype: bool") IsGeometric; + static Standard_Boolean IsGeometric (const TopoDS_Edge & E); + + /****************** MaxContinuity ******************/ + %feature("compactdefaultargs") MaxContinuity; + %feature("autodoc", "* Returns the max continuity of edge between some surfaces or GeomAbs_C0 if there no such surfaces. + :param theEdge: + :type theEdge: TopoDS_Edge & + :rtype: GeomAbs_Shape") MaxContinuity; + static GeomAbs_Shape MaxContinuity (const TopoDS_Edge & theEdge); + + /****************** MaxTolerance ******************/ + %feature("compactdefaultargs") MaxTolerance; + %feature("autodoc", "* Returns the maximum tolerance of input shape subshapes. + :param theShape: + :type theShape: TopoDS_Shape & + :param theSubShape: + :type theSubShape: TopAbs_ShapeEnum + :rtype: float") MaxTolerance; + static Standard_Real MaxTolerance (const TopoDS_Shape & theShape,const TopAbs_ShapeEnum theSubShape); + + /****************** NaturalRestriction ******************/ + %feature("compactdefaultargs") NaturalRestriction; + %feature("autodoc", "* Returns the NaturalRestriction flag of the face. :param F: :type F: TopoDS_Face & - :param First: - :type First: float & - :param Last: - :type Last: float & - :rtype: Handle_Geom2d_Curve -") CurveOnSurface; - static Handle_Geom2d_Curve CurveOnSurface (const TopoDS_Edge & E,const TopoDS_Face & F,Standard_Real &OutValue,Standard_Real &OutValue); - %feature("compactdefaultargs") CurveOnSurface; - %feature("autodoc", " * Returns the curve associated to the edge in the parametric space of the surface. Returns a NULL handle if this curve does not exist. Returns in and the parameter range. + :rtype: bool") NaturalRestriction; + static Standard_Boolean NaturalRestriction (const TopoDS_Face & F); + /****************** Parameter ******************/ + %feature("compactdefaultargs") Parameter; + %feature("autodoc", "* Returns the parameter of on . + :param V: + :type V: TopoDS_Vertex & :param E: :type E: TopoDS_Edge & - :param S: - :type S: Handle_Geom_Surface & - :param L: - :type L: TopLoc_Location & - :param First: - :type First: float & - :param Last: - :type Last: float & - :rtype: Handle_Geom2d_Curve -") CurveOnSurface; - static Handle_Geom2d_Curve CurveOnSurface (const TopoDS_Edge & E,const Handle_Geom_Surface & S,const TopLoc_Location & L,Standard_Real &OutValue,Standard_Real &OutValue); - %feature("compactdefaultargs") CurveOnSurface; - %feature("autodoc", " * Returns in , , a 2d curve, a surface and a location for the edge . and are null if the edge has no curve on surface. Returns in and the parameter range. + :rtype: float") Parameter; + static Standard_Real Parameter (const TopoDS_Vertex & V,const TopoDS_Edge & E); + /****************** Parameter ******************/ + %feature("compactdefaultargs") Parameter; + %feature("autodoc", "* Returns the parameters of the vertex on the pcurve of the edge on the face. + :param V: + :type V: TopoDS_Vertex & + :param E: + :type E: TopoDS_Edge & + :param F: + :type F: TopoDS_Face & + :rtype: float") Parameter; + static Standard_Real Parameter (const TopoDS_Vertex & V,const TopoDS_Edge & E,const TopoDS_Face & F); + + /****************** Parameter ******************/ + %feature("compactdefaultargs") Parameter; + %feature("autodoc", "* Returns the parameters of the vertex on the pcurve of the edge on the surface. + :param V: + :type V: TopoDS_Vertex & :param E: :type E: TopoDS_Edge & - :param C: - :type C: Handle_Geom2d_Curve & :param S: - :type S: Handle_Geom_Surface & + :type S: opencascade::handle & :param L: :type L: TopLoc_Location & - :param First: - :type First: float & - :param Last: - :type Last: float & - :rtype: void -") CurveOnSurface; - static void CurveOnSurface (const TopoDS_Edge & E,Handle_Geom2d_Curve & C,Handle_Geom_Surface & S,TopLoc_Location & L,Standard_Real &OutValue,Standard_Real &OutValue); - %feature("compactdefaultargs") CurveOnSurface; - %feature("autodoc", " * Returns in , , the 2d curve, the surface and the location for the edge of rank . and are null if the index is out of range. Returns in and the parameter range. + :rtype: float") Parameter; + static Standard_Real Parameter (const TopoDS_Vertex & V,const TopoDS_Edge & E,const opencascade::handle & S,const TopLoc_Location & L); + + /****************** Parameters ******************/ + %feature("compactdefaultargs") Parameters; + %feature("autodoc", "* Returns the parameters of the vertex on the face. + :param V: + :type V: TopoDS_Vertex & + :param F: + :type F: TopoDS_Face & + :rtype: gp_Pnt2d") Parameters; + static gp_Pnt2d Parameters (const TopoDS_Vertex & V,const TopoDS_Face & F); + + /****************** Pnt ******************/ + %feature("compactdefaultargs") Pnt; + %feature("autodoc", "* Returns the 3d point. + :param V: + :type V: TopoDS_Vertex & + :rtype: gp_Pnt") Pnt; + static gp_Pnt Pnt (const TopoDS_Vertex & V); + /****************** Polygon3D ******************/ + %feature("compactdefaultargs") Polygon3D; + %feature("autodoc", "* Returns the 3D polygon of the edge. May be a Null handle. Returns in the location for the polygon. :param E: :type E: TopoDS_Edge & - :param C: - :type C: Handle_Geom2d_Curve & - :param S: - :type S: Handle_Geom_Surface & :param L: :type L: TopLoc_Location & - :param First: - :type First: float & - :param Last: - :type Last: float & - :param Index: - :type Index: int - :rtype: void -") CurveOnSurface; - static void CurveOnSurface (const TopoDS_Edge & E,Handle_Geom2d_Curve & C,Handle_Geom_Surface & S,TopLoc_Location & L,Standard_Real &OutValue,Standard_Real &OutValue,const Standard_Integer Index); - %feature("compactdefaultargs") PolygonOnSurface; - %feature("autodoc", " * Returns the polygon associated to the edge in the parametric space of the face. Returns a NULL handle if this polygon does not exist. + :rtype: opencascade::handle") Polygon3D; + static const opencascade::handle & Polygon3D (const TopoDS_Edge & E,TopLoc_Location & L); + /****************** PolygonOnSurface ******************/ + %feature("compactdefaultargs") PolygonOnSurface; + %feature("autodoc", "* Returns the polygon associated to the edge in the parametric space of the face. Returns a NULL handle if this polygon does not exist. :param E: :type E: TopoDS_Edge & :param F: :type F: TopoDS_Face & - :rtype: Handle_Poly_Polygon2D -") PolygonOnSurface; - static Handle_Poly_Polygon2D PolygonOnSurface (const TopoDS_Edge & E,const TopoDS_Face & F); - %feature("compactdefaultargs") PolygonOnSurface; - %feature("autodoc", " * Returns the polygon associated to the edge in the parametric space of the surface. Returns a NULL handle if this polygon does not exist. + :rtype: opencascade::handle") PolygonOnSurface; + static opencascade::handle PolygonOnSurface (const TopoDS_Edge & E,const TopoDS_Face & F); + /****************** PolygonOnSurface ******************/ + %feature("compactdefaultargs") PolygonOnSurface; + %feature("autodoc", "* Returns the polygon associated to the edge in the parametric space of the surface. Returns a NULL handle if this polygon does not exist. :param E: :type E: TopoDS_Edge & :param S: - :type S: Handle_Geom_Surface & + :type S: opencascade::handle & :param L: :type L: TopLoc_Location & - :rtype: Handle_Poly_Polygon2D -") PolygonOnSurface; - static Handle_Poly_Polygon2D PolygonOnSurface (const TopoDS_Edge & E,const Handle_Geom_Surface & S,const TopLoc_Location & L); - %feature("compactdefaultargs") PolygonOnSurface; - %feature("autodoc", " * Returns in , , a 2d curve, a surface and a location for the edge . and are null if the edge has no polygon on surface. + :rtype: opencascade::handle") PolygonOnSurface; + static opencascade::handle PolygonOnSurface (const TopoDS_Edge & E,const opencascade::handle & S,const TopLoc_Location & L); + /****************** PolygonOnSurface ******************/ + %feature("compactdefaultargs") PolygonOnSurface; + %feature("autodoc", "* Returns in , , a 2d curve, a surface and a location for the edge . and are null if the edge has no polygon on surface. :param E: :type E: TopoDS_Edge & :param C: - :type C: Handle_Poly_Polygon2D & + :type C: opencascade::handle & :param S: - :type S: Handle_Geom_Surface & + :type S: opencascade::handle & :param L: :type L: TopLoc_Location & - :rtype: void -") PolygonOnSurface; - static void PolygonOnSurface (const TopoDS_Edge & E,Handle_Poly_Polygon2D & C,Handle_Geom_Surface & S,TopLoc_Location & L); - %feature("compactdefaultargs") PolygonOnSurface; - %feature("autodoc", " * Returns in , , the 2d curve, the surface and the location for the edge of rank . and are null if the index is out of range. + :rtype: void") PolygonOnSurface; + static void PolygonOnSurface (const TopoDS_Edge & E,opencascade::handle & C,opencascade::handle & S,TopLoc_Location & L); + /****************** PolygonOnSurface ******************/ + %feature("compactdefaultargs") PolygonOnSurface; + %feature("autodoc", "* Returns in , , the 2d curve, the surface and the location for the edge of rank . and are null if the index is out of range. :param E: :type E: TopoDS_Edge & :param C: - :type C: Handle_Poly_Polygon2D & + :type C: opencascade::handle & :param S: - :type S: Handle_Geom_Surface & + :type S: opencascade::handle & :param L: :type L: TopLoc_Location & :param Index: :type Index: int - :rtype: void -") PolygonOnSurface; - static void PolygonOnSurface (const TopoDS_Edge & E,Handle_Poly_Polygon2D & C,Handle_Geom_Surface & S,TopLoc_Location & L,const Standard_Integer Index); - %feature("compactdefaultargs") PolygonOnTriangulation; - %feature("autodoc", " * Returns the polygon associated to the edge in the parametric space of the face. Returns a NULL handle if this polygon does not exist. + :rtype: void") PolygonOnSurface; + static void PolygonOnSurface (const TopoDS_Edge & E,opencascade::handle & C,opencascade::handle & S,TopLoc_Location & L,const Standard_Integer Index); + /****************** PolygonOnTriangulation ******************/ + %feature("compactdefaultargs") PolygonOnTriangulation; + %feature("autodoc", "* Returns the polygon associated to the edge in the parametric space of the face. Returns a NULL handle if this polygon does not exist. :param E: :type E: TopoDS_Edge & :param T: - :type T: Handle_Poly_Triangulation & + :type T: opencascade::handle & :param L: :type L: TopLoc_Location & - :rtype: Handle_Poly_PolygonOnTriangulation -") PolygonOnTriangulation; - Handle_Poly_PolygonOnTriangulation PolygonOnTriangulation (const TopoDS_Edge & E,const Handle_Poly_Triangulation & T,const TopLoc_Location & L); - %feature("compactdefaultargs") PolygonOnTriangulation; - %feature("autodoc", " * Returns in

, , a polygon on triangulation, a triangulation and a location for the edge .

and are null if the edge has no polygon on triangulation. + :rtype: opencascade::handle") PolygonOnTriangulation; + static const opencascade::handle & PolygonOnTriangulation (const TopoDS_Edge & E,const opencascade::handle & T,const TopLoc_Location & L); + /****************** PolygonOnTriangulation ******************/ + %feature("compactdefaultargs") PolygonOnTriangulation; + %feature("autodoc", "* Returns in

, , a polygon on triangulation, a triangulation and a location for the edge .

and are null if the edge has no polygon on triangulation. :param E: :type E: TopoDS_Edge & :param P: - :type P: Handle_Poly_PolygonOnTriangulation & + :type P: opencascade::handle & :param T: - :type T: Handle_Poly_Triangulation & + :type T: opencascade::handle & :param L: :type L: TopLoc_Location & - :rtype: void -") PolygonOnTriangulation; - static void PolygonOnTriangulation (const TopoDS_Edge & E,Handle_Poly_PolygonOnTriangulation & P,Handle_Poly_Triangulation & T,TopLoc_Location & L); - %feature("compactdefaultargs") PolygonOnTriangulation; - %feature("autodoc", " * Returns in

, , a polygon on triangulation, a triangulation and a location for the edge for the range index. and are null if the edge has no polygon on triangulation. + :rtype: void") PolygonOnTriangulation; + static void PolygonOnTriangulation (const TopoDS_Edge & E,opencascade::handle & P,opencascade::handle & T,TopLoc_Location & L); + /****************** PolygonOnTriangulation ******************/ + %feature("compactdefaultargs") PolygonOnTriangulation; + %feature("autodoc", "* Returns in

, , a polygon on triangulation, a triangulation and a location for the edge for the range index. and are null if the edge has no polygon on triangulation. :param E: :type E: TopoDS_Edge & :param P: - :type P: Handle_Poly_PolygonOnTriangulation & + :type P: opencascade::handle & :param T: - :type T: Handle_Poly_Triangulation & + :type T: opencascade::handle & :param L: :type L: TopLoc_Location & :param Index: :type Index: int - :rtype: void -") PolygonOnTriangulation; - static void PolygonOnTriangulation (const TopoDS_Edge & E,Handle_Poly_PolygonOnTriangulation & P,Handle_Poly_Triangulation & T,TopLoc_Location & L,const Standard_Integer Index); - %feature("compactdefaultargs") IsClosed; - %feature("autodoc", " * Returns True if has two PCurves in the parametric space of . i.e. is on a closed surface and is on the closing curve. - - :param E: - :type E: TopoDS_Edge & - :param F: - :type F: TopoDS_Face & - :rtype: bool -") IsClosed; - static Standard_Boolean IsClosed (const TopoDS_Edge & E,const TopoDS_Face & F); - %feature("compactdefaultargs") IsClosed; - %feature("autodoc", " * Returns True if has two PCurves in the parametric space of . i.e. is a closed surface and is on the closing curve. - - :param E: - :type E: TopoDS_Edge & - :param S: - :type S: Handle_Geom_Surface & - :param L: - :type L: TopLoc_Location & - :rtype: bool -") IsClosed; - static Standard_Boolean IsClosed (const TopoDS_Edge & E,const Handle_Geom_Surface & S,const TopLoc_Location & L); - %feature("compactdefaultargs") IsClosed; - %feature("autodoc", " * Returns True if has two arrays of indices in the triangulation . - - :param E: - :type E: TopoDS_Edge & - :param T: - :type T: Handle_Poly_Triangulation & - :param L: - :type L: TopLoc_Location & - :rtype: bool -") IsClosed; - static Standard_Boolean IsClosed (const TopoDS_Edge & E,const Handle_Poly_Triangulation & T,const TopLoc_Location & L); - %feature("compactdefaultargs") Tolerance; - %feature("autodoc", " * Returns the tolerance for . - - :param E: - :type E: TopoDS_Edge & - :rtype: float -") Tolerance; - static Standard_Real Tolerance (const TopoDS_Edge & E); - %feature("compactdefaultargs") SameParameter; - %feature("autodoc", " * Returns the SameParameter flag for the edge. - - :param E: - :type E: TopoDS_Edge & - :rtype: bool -") SameParameter; - static Standard_Boolean SameParameter (const TopoDS_Edge & E); - %feature("compactdefaultargs") SameRange; - %feature("autodoc", " * Returns the SameRange flag for the edge. + :rtype: void") PolygonOnTriangulation; + static void PolygonOnTriangulation (const TopoDS_Edge & E,opencascade::handle & P,opencascade::handle & T,TopLoc_Location & L,const Standard_Integer Index); - :param E: - :type E: TopoDS_Edge & - :rtype: bool -") SameRange; - static Standard_Boolean SameRange (const TopoDS_Edge & E); - %feature("compactdefaultargs") Degenerated; - %feature("autodoc", " * Returns True if the edge is degenerated. - - :param E: - :type E: TopoDS_Edge & - :rtype: bool -") Degenerated; - static Standard_Boolean Degenerated (const TopoDS_Edge & E); + /****************** Range ******************/ %feature("compactdefaultargs") Range; - %feature("autodoc", " * Gets the range of the 3d curve. - + %feature("autodoc", "* Gets the range of the 3d curve. :param E: :type E: TopoDS_Edge & :param First: :type First: float & :param Last: :type Last: float & - :rtype: void -") Range; + :rtype: void") Range; static void Range (const TopoDS_Edge & E,Standard_Real &OutValue,Standard_Real &OutValue); - %feature("compactdefaultargs") Range; - %feature("autodoc", " * Gets the range of the edge on the pcurve on the surface. + /****************** Range ******************/ + %feature("compactdefaultargs") Range; + %feature("autodoc", "* Gets the range of the edge on the pcurve on the surface. :param E: :type E: TopoDS_Edge & :param S: - :type S: Handle_Geom_Surface & + :type S: opencascade::handle & :param L: :type L: TopLoc_Location & :param First: :type First: float & :param Last: :type Last: float & - :rtype: void -") Range; - static void Range (const TopoDS_Edge & E,const Handle_Geom_Surface & S,const TopLoc_Location & L,Standard_Real &OutValue,Standard_Real &OutValue); - %feature("compactdefaultargs") Range; - %feature("autodoc", " * Gets the range of the edge on the pcurve on the face. + :rtype: void") Range; + static void Range (const TopoDS_Edge & E,const opencascade::handle & S,const TopLoc_Location & L,Standard_Real &OutValue,Standard_Real &OutValue); + /****************** Range ******************/ + %feature("compactdefaultargs") Range; + %feature("autodoc", "* Gets the range of the edge on the pcurve on the face. :param E: :type E: TopoDS_Edge & :param F: @@ -2092,58 +1907,44 @@ class BRep_Tool { :type First: float & :param Last: :type Last: float & - :rtype: void -") Range; + :rtype: void") Range; static void Range (const TopoDS_Edge & E,const TopoDS_Face & F,Standard_Real &OutValue,Standard_Real &OutValue); - %feature("compactdefaultargs") UVPoints; - %feature("autodoc", " * Gets the UV locations of the extremities of the edge. + /****************** SameParameter ******************/ + %feature("compactdefaultargs") SameParameter; + %feature("autodoc", "* Returns the SameParameter flag for the edge. :param E: :type E: TopoDS_Edge & - :param S: - :type S: Handle_Geom_Surface & - :param L: - :type L: TopLoc_Location & - :param PFirst: - :type PFirst: gp_Pnt2d - :param PLast: - :type PLast: gp_Pnt2d - :rtype: void -") UVPoints; - static void UVPoints (const TopoDS_Edge & E,const Handle_Geom_Surface & S,const TopLoc_Location & L,gp_Pnt2d & PFirst,gp_Pnt2d & PLast); - %feature("compactdefaultargs") UVPoints; - %feature("autodoc", " * Gets the UV locations of the extremities of the edge. + :rtype: bool") SameParameter; + static Standard_Boolean SameParameter (const TopoDS_Edge & E); + /****************** SameRange ******************/ + %feature("compactdefaultargs") SameRange; + %feature("autodoc", "* Returns the SameRange flag for the edge. :param E: :type E: TopoDS_Edge & - :param F: - :type F: TopoDS_Face & - :param PFirst: - :type PFirst: gp_Pnt2d - :param PLast: - :type PLast: gp_Pnt2d - :rtype: void -") UVPoints; - static void UVPoints (const TopoDS_Edge & E,const TopoDS_Face & F,gp_Pnt2d & PFirst,gp_Pnt2d & PLast); - %feature("compactdefaultargs") SetUVPoints; - %feature("autodoc", " * Sets the UV locations of the extremities of the edge. + :rtype: bool") SameRange; + static Standard_Boolean SameRange (const TopoDS_Edge & E); + /****************** SetUVPoints ******************/ + %feature("compactdefaultargs") SetUVPoints; + %feature("autodoc", "* Sets the UV locations of the extremities of the edge. :param E: :type E: TopoDS_Edge & :param S: - :type S: Handle_Geom_Surface & + :type S: opencascade::handle & :param L: :type L: TopLoc_Location & :param PFirst: :type PFirst: gp_Pnt2d :param PLast: :type PLast: gp_Pnt2d - :rtype: void -") SetUVPoints; - static void SetUVPoints (const TopoDS_Edge & E,const Handle_Geom_Surface & S,const TopLoc_Location & L,const gp_Pnt2d & PFirst,const gp_Pnt2d & PLast); - %feature("compactdefaultargs") SetUVPoints; - %feature("autodoc", " * Sets the UV locations of the extremities of the edge. + :rtype: void") SetUVPoints; + static void SetUVPoints (const TopoDS_Edge & E,const opencascade::handle & S,const TopLoc_Location & L,const gp_Pnt2d & PFirst,const gp_Pnt2d & PLast); + /****************** SetUVPoints ******************/ + %feature("compactdefaultargs") SetUVPoints; + %feature("autodoc", "* Sets the UV locations of the extremities of the edge. :param E: :type E: TopoDS_Edge & :param F: @@ -2152,135 +1953,91 @@ class BRep_Tool { :type PFirst: gp_Pnt2d :param PLast: :type PLast: gp_Pnt2d - :rtype: void -") SetUVPoints; + :rtype: void") SetUVPoints; static void SetUVPoints (const TopoDS_Edge & E,const TopoDS_Face & F,const gp_Pnt2d & PFirst,const gp_Pnt2d & PLast); - %feature("compactdefaultargs") HasContinuity; - %feature("autodoc", " * Returns True if the edge is on the surfaces of the two faces. - - :param E: - :type E: TopoDS_Edge & - :param F1: - :type F1: TopoDS_Face & - :param F2: - :type F2: TopoDS_Face & - :rtype: bool -") HasContinuity; - static Standard_Boolean HasContinuity (const TopoDS_Edge & E,const TopoDS_Face & F1,const TopoDS_Face & F2); - %feature("compactdefaultargs") Continuity; - %feature("autodoc", " * Returns the continuity. - :param E: - :type E: TopoDS_Edge & - :param F1: - :type F1: TopoDS_Face & - :param F2: - :type F2: TopoDS_Face & - :rtype: GeomAbs_Shape -") Continuity; - static GeomAbs_Shape Continuity (const TopoDS_Edge & E,const TopoDS_Face & F1,const TopoDS_Face & F2); - %feature("compactdefaultargs") HasContinuity; - %feature("autodoc", " * Returns True if the edge is on the surfaces. + /****************** Surface ******************/ + %feature("compactdefaultargs") Surface; + %feature("autodoc", "* Returns the geometric surface of the face. Returns in the location for the surface. + :param F: + :type F: TopoDS_Face & + :param L: + :type L: TopLoc_Location & + :rtype: opencascade::handle") Surface; + static const opencascade::handle & Surface (const TopoDS_Face & F,TopLoc_Location & L); - :param E: - :type E: TopoDS_Edge & - :param S1: - :type S1: Handle_Geom_Surface & - :param S2: - :type S2: Handle_Geom_Surface & - :param L1: - :type L1: TopLoc_Location & - :param L2: - :type L2: TopLoc_Location & - :rtype: bool -") HasContinuity; - static Standard_Boolean HasContinuity (const TopoDS_Edge & E,const Handle_Geom_Surface & S1,const Handle_Geom_Surface & S2,const TopLoc_Location & L1,const TopLoc_Location & L2); - %feature("compactdefaultargs") Continuity; - %feature("autodoc", " * Returns the continuity. + /****************** Surface ******************/ + %feature("compactdefaultargs") Surface; + %feature("autodoc", "* Returns the geometric surface of the face. It can be a copy if there is a Location. + :param F: + :type F: TopoDS_Face & + :rtype: opencascade::handle") Surface; + static opencascade::handle Surface (const TopoDS_Face & F); - :param E: - :type E: TopoDS_Edge & - :param S1: - :type S1: Handle_Geom_Surface & - :param S2: - :type S2: Handle_Geom_Surface & - :param L1: - :type L1: TopLoc_Location & - :param L2: - :type L2: TopLoc_Location & - :rtype: GeomAbs_Shape -") Continuity; - static GeomAbs_Shape Continuity (const TopoDS_Edge & E,const Handle_Geom_Surface & S1,const Handle_Geom_Surface & S2,const TopLoc_Location & L1,const TopLoc_Location & L2); - %feature("compactdefaultargs") HasContinuity; - %feature("autodoc", " * Returns True if the edge has regularity on some two surfaces + /****************** Tolerance ******************/ + %feature("compactdefaultargs") Tolerance; + %feature("autodoc", "* Returns the tolerance of the face. + :param F: + :type F: TopoDS_Face & + :rtype: float") Tolerance; + static Standard_Real Tolerance (const TopoDS_Face & F); + /****************** Tolerance ******************/ + %feature("compactdefaultargs") Tolerance; + %feature("autodoc", "* Returns the tolerance for . :param E: :type E: TopoDS_Edge & - :rtype: bool -") HasContinuity; - static Standard_Boolean HasContinuity (const TopoDS_Edge & E); - %feature("compactdefaultargs") Pnt; - %feature("autodoc", " * Returns the 3d point. + :rtype: float") Tolerance; + static Standard_Real Tolerance (const TopoDS_Edge & E); - :param V: - :type V: TopoDS_Vertex & - :rtype: gp_Pnt -") Pnt; - static gp_Pnt Pnt (const TopoDS_Vertex & V); + /****************** Tolerance ******************/ %feature("compactdefaultargs") Tolerance; - %feature("autodoc", " * Returns the tolerance. - + %feature("autodoc", "* Returns the tolerance. :param V: :type V: TopoDS_Vertex & - :rtype: float -") Tolerance; + :rtype: float") Tolerance; static Standard_Real Tolerance (const TopoDS_Vertex & V); - %feature("compactdefaultargs") Parameter; - %feature("autodoc", " * Returns the parameter of on . - - :param V: - :type V: TopoDS_Vertex & - :param E: - :type E: TopoDS_Edge & - :rtype: float -") Parameter; - static Standard_Real Parameter (const TopoDS_Vertex & V,const TopoDS_Edge & E); - %feature("compactdefaultargs") Parameter; - %feature("autodoc", " * Returns the parameters of the vertex on the pcurve of the edge on the face. - :param V: - :type V: TopoDS_Vertex & - :param E: - :type E: TopoDS_Edge & + /****************** Triangulation ******************/ + %feature("compactdefaultargs") Triangulation; + %feature("autodoc", "* Returns the Triangulation of the face. It is a null handle if there is no triangulation. :param F: :type F: TopoDS_Face & - :rtype: float -") Parameter; - static Standard_Real Parameter (const TopoDS_Vertex & V,const TopoDS_Edge & E,const TopoDS_Face & F); - %feature("compactdefaultargs") Parameter; - %feature("autodoc", " * Returns the parameters of the vertex on the pcurve of the edge on the surface. + :param L: + :type L: TopLoc_Location & + :rtype: opencascade::handle") Triangulation; + static const opencascade::handle & Triangulation (const TopoDS_Face & F,TopLoc_Location & L); - :param V: - :type V: TopoDS_Vertex & + /****************** UVPoints ******************/ + %feature("compactdefaultargs") UVPoints; + %feature("autodoc", "* Gets the UV locations of the extremities of the edge. :param E: :type E: TopoDS_Edge & :param S: - :type S: Handle_Geom_Surface & + :type S: opencascade::handle & :param L: :type L: TopLoc_Location & - :rtype: float -") Parameter; - static Standard_Real Parameter (const TopoDS_Vertex & V,const TopoDS_Edge & E,const Handle_Geom_Surface & S,const TopLoc_Location & L); - %feature("compactdefaultargs") Parameters; - %feature("autodoc", " * Returns the parameters of the vertex on the face. + :param PFirst: + :type PFirst: gp_Pnt2d + :param PLast: + :type PLast: gp_Pnt2d + :rtype: void") UVPoints; + static void UVPoints (const TopoDS_Edge & E,const opencascade::handle & S,const TopLoc_Location & L,gp_Pnt2d & PFirst,gp_Pnt2d & PLast); - :param V: - :type V: TopoDS_Vertex & + /****************** UVPoints ******************/ + %feature("compactdefaultargs") UVPoints; + %feature("autodoc", "* Gets the UV locations of the extremities of the edge. + :param E: + :type E: TopoDS_Edge & :param F: :type F: TopoDS_Face & - :rtype: gp_Pnt2d -") Parameters; - static gp_Pnt2d Parameters (const TopoDS_Vertex & V,const TopoDS_Face & F); + :param PFirst: + :type PFirst: gp_Pnt2d + :param PLast: + :type PLast: gp_Pnt2d + :rtype: void") UVPoints; + static void UVPoints (const TopoDS_Edge & E,const TopoDS_Face & F,gp_Pnt2d & PFirst,gp_Pnt2d & PLast); + }; @@ -2289,81 +2046,91 @@ class BRep_Tool { __repr__ = _dumps_object } }; + +/****************************** +* class BRep_CurveOn2Surfaces * +******************************/ %nodefaultctor BRep_CurveOn2Surfaces; class BRep_CurveOn2Surfaces : public BRep_CurveRepresentation { public: + /****************** BRep_CurveOn2Surfaces ******************/ %feature("compactdefaultargs") BRep_CurveOn2Surfaces; - %feature("autodoc", " :param S1: - :type S1: Handle_Geom_Surface & + %feature("autodoc", ":param S1: + :type S1: opencascade::handle & :param S2: - :type S2: Handle_Geom_Surface & + :type S2: opencascade::handle & :param L1: :type L1: TopLoc_Location & :param L2: :type L2: TopLoc_Location & :param C: :type C: GeomAbs_Shape - :rtype: None -") BRep_CurveOn2Surfaces; - BRep_CurveOn2Surfaces (const Handle_Geom_Surface & S1,const Handle_Geom_Surface & S2,const TopLoc_Location & L1,const TopLoc_Location & L2,const GeomAbs_Shape C); - %feature("compactdefaultargs") IsRegularity; - %feature("autodoc", " * Returns True. + :rtype: None") BRep_CurveOn2Surfaces; + BRep_CurveOn2Surfaces (const opencascade::handle & S1,const opencascade::handle & S2,const TopLoc_Location & L1,const TopLoc_Location & L2,const GeomAbs_Shape C); + + /****************** Continuity ******************/ + %feature("compactdefaultargs") Continuity; + %feature("autodoc", ":rtype: GeomAbs_Shape") Continuity; + virtual const GeomAbs_Shape & Continuity (); + + /****************** Continuity ******************/ + %feature("compactdefaultargs") Continuity; + %feature("autodoc", ":param C: + :type C: GeomAbs_Shape + :rtype: void") Continuity; + virtual void Continuity (const GeomAbs_Shape C); + + /****************** Copy ******************/ + %feature("compactdefaultargs") Copy; + %feature("autodoc", "* Return a copy of this representation. + :rtype: opencascade::handle") Copy; + opencascade::handle Copy (); + + /****************** D0 ******************/ + %feature("compactdefaultargs") D0; + %feature("autodoc", "* Raises an error. + :param U: + :type U: float + :param P: + :type P: gp_Pnt + :rtype: None") D0; + void D0 (const Standard_Real U,gp_Pnt & P); - :rtype: bool -") IsRegularity; - virtual Standard_Boolean IsRegularity (); + /****************** IsRegularity ******************/ %feature("compactdefaultargs") IsRegularity; - %feature("autodoc", " * A curve on two surfaces (continuity). + %feature("autodoc", "* Returns True. + :rtype: bool") IsRegularity; + virtual Standard_Boolean IsRegularity (); + /****************** IsRegularity ******************/ + %feature("compactdefaultargs") IsRegularity; + %feature("autodoc", "* A curve on two surfaces (continuity). :param S1: - :type S1: Handle_Geom_Surface & + :type S1: opencascade::handle & :param S2: - :type S2: Handle_Geom_Surface & + :type S2: opencascade::handle & :param L1: :type L1: TopLoc_Location & :param L2: :type L2: TopLoc_Location & - :rtype: bool -") IsRegularity; - virtual Standard_Boolean IsRegularity (const Handle_Geom_Surface & S1,const Handle_Geom_Surface & S2,const TopLoc_Location & L1,const TopLoc_Location & L2); - %feature("compactdefaultargs") D0; - %feature("autodoc", " * Raises an error. + :rtype: bool") IsRegularity; + virtual Standard_Boolean IsRegularity (const opencascade::handle & S1,const opencascade::handle & S2,const TopLoc_Location & L1,const TopLoc_Location & L2); - :param U: - :type U: float - :param P: - :type P: gp_Pnt - :rtype: None -") D0; - void D0 (const Standard_Real U,gp_Pnt & P); - %feature("compactdefaultargs") Surface; - %feature("autodoc", " :rtype: Handle_Geom_Surface -") Surface; - Handle_Geom_Surface Surface (); - %feature("compactdefaultargs") Surface2; - %feature("autodoc", " :rtype: Handle_Geom_Surface -") Surface2; - Handle_Geom_Surface Surface2 (); + /****************** Location2 ******************/ %feature("compactdefaultargs") Location2; - %feature("autodoc", " :rtype: TopLoc_Location -") Location2; + %feature("autodoc", ":rtype: TopLoc_Location") Location2; virtual const TopLoc_Location & Location2 (); - %feature("compactdefaultargs") Continuity; - %feature("autodoc", " :rtype: GeomAbs_Shape -") Continuity; - virtual const GeomAbs_Shape & Continuity (); - %feature("compactdefaultargs") Continuity; - %feature("autodoc", " :param C: - :type C: GeomAbs_Shape - :rtype: void -") Continuity; - virtual void Continuity (const GeomAbs_Shape C); - %feature("compactdefaultargs") Copy; - %feature("autodoc", " * Return a copy of this representation. - :rtype: Handle_BRep_CurveRepresentation -") Copy; - Handle_BRep_CurveRepresentation Copy (); + /****************** Surface ******************/ + %feature("compactdefaultargs") Surface; + %feature("autodoc", ":rtype: opencascade::handle") Surface; + virtual const opencascade::handle & Surface (); + + /****************** Surface2 ******************/ + %feature("compactdefaultargs") Surface2; + %feature("autodoc", ":rtype: opencascade::handle") Surface2; + virtual const opencascade::handle & Surface2 (); + }; @@ -2374,61 +2141,71 @@ class BRep_CurveOn2Surfaces : public BRep_CurveRepresentation { __repr__ = _dumps_object } }; + +/******************** +* class BRep_GCurve * +********************/ %nodefaultctor BRep_GCurve; class BRep_GCurve : public BRep_CurveRepresentation { public: - %feature("compactdefaultargs") SetRange; - %feature("autodoc", " :param First: - :type First: float - :param Last: - :type Last: float - :rtype: None -") SetRange; - void SetRange (const Standard_Real First,const Standard_Real Last); - %feature("compactdefaultargs") Range; - %feature("autodoc", " :param First: - :type First: float & - :param Last: - :type Last: float & - :rtype: None -") Range; - void Range (Standard_Real &OutValue,Standard_Real &OutValue); + /****************** D0 ******************/ + %feature("compactdefaultargs") D0; + %feature("autodoc", "* Computes the point at parameter U. + :param U: + :type U: float + :param P: + :type P: gp_Pnt + :rtype: void") D0; + virtual void D0 (const Standard_Real U,gp_Pnt & P); + + /****************** First ******************/ %feature("compactdefaultargs") First; - %feature("autodoc", " :rtype: float -") First; + %feature("autodoc", ":rtype: float") First; Standard_Real First (); - %feature("compactdefaultargs") Last; - %feature("autodoc", " :rtype: float -") Last; - Standard_Real Last (); + + /****************** First ******************/ %feature("compactdefaultargs") First; - %feature("autodoc", " :param F: + %feature("autodoc", ":param F: :type F: float - :rtype: None -") First; + :rtype: None") First; void First (const Standard_Real F); + + /****************** Last ******************/ + %feature("compactdefaultargs") Last; + %feature("autodoc", ":rtype: float") Last; + Standard_Real Last (); + + /****************** Last ******************/ %feature("compactdefaultargs") Last; - %feature("autodoc", " :param L: + %feature("autodoc", ":param L: :type L: float - :rtype: None -") Last; + :rtype: None") Last; void Last (const Standard_Real L); - %feature("compactdefaultargs") D0; - %feature("autodoc", " * Computes the point at parameter U. - :param U: - :type U: float - :param P: - :type P: gp_Pnt - :rtype: void -") D0; - virtual void D0 (const Standard_Real U,gp_Pnt & P); - %feature("compactdefaultargs") Update; - %feature("autodoc", " * Recomputes any derived data after a modification. This is called when the range is modified. + /****************** Range ******************/ + %feature("compactdefaultargs") Range; + %feature("autodoc", ":param First: + :type First: float & + :param Last: + :type Last: float & + :rtype: None") Range; + void Range (Standard_Real &OutValue,Standard_Real &OutValue); + + /****************** SetRange ******************/ + %feature("compactdefaultargs") SetRange; + %feature("autodoc", ":param First: + :type First: float + :param Last: + :type Last: float + :rtype: None") SetRange; + void SetRange (const Standard_Real First,const Standard_Real Last); - :rtype: void -") Update; + /****************** Update ******************/ + %feature("compactdefaultargs") Update; + %feature("autodoc", "* Recomputes any derived data after a modification. This is called when the range is modified. + :rtype: void") Update; virtual void Update (); + }; @@ -2439,43 +2216,51 @@ class BRep_GCurve : public BRep_CurveRepresentation { __repr__ = _dumps_object } }; + +/************************** +* class BRep_PointOnCurve * +**************************/ %nodefaultctor BRep_PointOnCurve; class BRep_PointOnCurve : public BRep_PointRepresentation { public: + /****************** BRep_PointOnCurve ******************/ %feature("compactdefaultargs") BRep_PointOnCurve; - %feature("autodoc", " :param P: + %feature("autodoc", ":param P: :type P: float :param C: - :type C: Handle_Geom_Curve & + :type C: opencascade::handle & :param L: :type L: TopLoc_Location & - :rtype: None -") BRep_PointOnCurve; - BRep_PointOnCurve (const Standard_Real P,const Handle_Geom_Curve & C,const TopLoc_Location & L); - %feature("compactdefaultargs") IsPointOnCurve; - %feature("autodoc", " * Returns True + :rtype: None") BRep_PointOnCurve; + BRep_PointOnCurve (const Standard_Real P,const opencascade::handle & C,const TopLoc_Location & L); - :rtype: bool -") IsPointOnCurve; + /****************** Curve ******************/ + %feature("compactdefaultargs") Curve; + %feature("autodoc", ":rtype: opencascade::handle") Curve; + virtual const opencascade::handle & Curve (); + + /****************** Curve ******************/ + %feature("compactdefaultargs") Curve; + %feature("autodoc", ":param C: + :type C: opencascade::handle & + :rtype: void") Curve; + virtual void Curve (const opencascade::handle & C); + + /****************** IsPointOnCurve ******************/ + %feature("compactdefaultargs") IsPointOnCurve; + %feature("autodoc", "* Returns True + :rtype: bool") IsPointOnCurve; virtual Standard_Boolean IsPointOnCurve (); + + /****************** IsPointOnCurve ******************/ %feature("compactdefaultargs") IsPointOnCurve; - %feature("autodoc", " :param C: - :type C: Handle_Geom_Curve & + %feature("autodoc", ":param C: + :type C: opencascade::handle & :param L: :type L: TopLoc_Location & - :rtype: bool -") IsPointOnCurve; - virtual Standard_Boolean IsPointOnCurve (const Handle_Geom_Curve & C,const TopLoc_Location & L); - %feature("compactdefaultargs") Curve; - %feature("autodoc", " :rtype: Handle_Geom_Curve -") Curve; - Handle_Geom_Curve Curve (); - %feature("compactdefaultargs") Curve; - %feature("autodoc", " :param C: - :type C: Handle_Geom_Curve & - :rtype: void -") Curve; - virtual void Curve (const Handle_Geom_Curve & C); + :rtype: bool") IsPointOnCurve; + virtual Standard_Boolean IsPointOnCurve (const opencascade::handle & C,const TopLoc_Location & L); + }; @@ -2486,19 +2271,25 @@ class BRep_PointOnCurve : public BRep_PointRepresentation { __repr__ = _dumps_object } }; + +/***************************** +* class BRep_PointsOnSurface * +*****************************/ %nodefaultctor BRep_PointsOnSurface; class BRep_PointsOnSurface : public BRep_PointRepresentation { public: + /****************** Surface ******************/ %feature("compactdefaultargs") Surface; - %feature("autodoc", " :rtype: Handle_Geom_Surface -") Surface; - Handle_Geom_Surface Surface (); + %feature("autodoc", ":rtype: opencascade::handle") Surface; + virtual const opencascade::handle & Surface (); + + /****************** Surface ******************/ %feature("compactdefaultargs") Surface; - %feature("autodoc", " :param S: - :type S: Handle_Geom_Surface & - :rtype: void -") Surface; - virtual void Surface (const Handle_Geom_Surface & S); + %feature("autodoc", ":param S: + :type S: opencascade::handle & + :rtype: void") Surface; + virtual void Surface (const opencascade::handle & S); + }; @@ -2509,39 +2300,46 @@ class BRep_PointsOnSurface : public BRep_PointRepresentation { __repr__ = _dumps_object } }; + +/*********************** +* class BRep_Polygon3D * +***********************/ %nodefaultctor BRep_Polygon3D; class BRep_Polygon3D : public BRep_CurveRepresentation { public: + /****************** BRep_Polygon3D ******************/ %feature("compactdefaultargs") BRep_Polygon3D; - %feature("autodoc", " :param P: - :type P: Handle_Poly_Polygon3D & + %feature("autodoc", ":param P: + :type P: opencascade::handle & :param L: :type L: TopLoc_Location & - :rtype: None -") BRep_Polygon3D; - BRep_Polygon3D (const Handle_Poly_Polygon3D & P,const TopLoc_Location & L); - %feature("compactdefaultargs") IsPolygon3D; - %feature("autodoc", " * Returns True. + :rtype: None") BRep_Polygon3D; + BRep_Polygon3D (const opencascade::handle & P,const TopLoc_Location & L); + + /****************** Copy ******************/ + %feature("compactdefaultargs") Copy; + %feature("autodoc", "* Return a copy of this representation. + :rtype: opencascade::handle") Copy; + opencascade::handle Copy (); - :rtype: bool -") IsPolygon3D; + /****************** IsPolygon3D ******************/ + %feature("compactdefaultargs") IsPolygon3D; + %feature("autodoc", "* Returns True. + :rtype: bool") IsPolygon3D; virtual Standard_Boolean IsPolygon3D (); + + /****************** Polygon3D ******************/ %feature("compactdefaultargs") Polygon3D; - %feature("autodoc", " :rtype: Handle_Poly_Polygon3D -") Polygon3D; - Handle_Poly_Polygon3D Polygon3D (); + %feature("autodoc", ":rtype: opencascade::handle") Polygon3D; + virtual const opencascade::handle & Polygon3D (); + + /****************** Polygon3D ******************/ %feature("compactdefaultargs") Polygon3D; - %feature("autodoc", " :param P: - :type P: Handle_Poly_Polygon3D & - :rtype: void -") Polygon3D; - virtual void Polygon3D (const Handle_Poly_Polygon3D & P); - %feature("compactdefaultargs") Copy; - %feature("autodoc", " * Return a copy of this representation. + %feature("autodoc", ":param P: + :type P: opencascade::handle & + :rtype: void") Polygon3D; + virtual void Polygon3D (const opencascade::handle & P); - :rtype: Handle_BRep_CurveRepresentation -") Copy; - Handle_BRep_CurveRepresentation Copy (); }; @@ -2552,55 +2350,63 @@ class BRep_Polygon3D : public BRep_CurveRepresentation { __repr__ = _dumps_object } }; + +/****************************** +* class BRep_PolygonOnSurface * +******************************/ %nodefaultctor BRep_PolygonOnSurface; class BRep_PolygonOnSurface : public BRep_CurveRepresentation { public: + /****************** BRep_PolygonOnSurface ******************/ %feature("compactdefaultargs") BRep_PolygonOnSurface; - %feature("autodoc", " :param P: - :type P: Handle_Poly_Polygon2D & + %feature("autodoc", ":param P: + :type P: opencascade::handle & :param S: - :type S: Handle_Geom_Surface & + :type S: opencascade::handle & :param L: :type L: TopLoc_Location & - :rtype: None -") BRep_PolygonOnSurface; - BRep_PolygonOnSurface (const Handle_Poly_Polygon2D & P,const Handle_Geom_Surface & S,const TopLoc_Location & L); - %feature("compactdefaultargs") IsPolygonOnSurface; - %feature("autodoc", " * A 2D polygon representation in the parametric space of a surface. + :rtype: None") BRep_PolygonOnSurface; + BRep_PolygonOnSurface (const opencascade::handle & P,const opencascade::handle & S,const TopLoc_Location & L); - :rtype: bool -") IsPolygonOnSurface; - virtual Standard_Boolean IsPolygonOnSurface (); + /****************** Copy ******************/ + %feature("compactdefaultargs") Copy; + %feature("autodoc", "* Return a copy of this representation. + :rtype: opencascade::handle") Copy; + virtual opencascade::handle Copy (); + + /****************** IsPolygonOnSurface ******************/ %feature("compactdefaultargs") IsPolygonOnSurface; - %feature("autodoc", " * A 2D polygon representation in the parametric space of a surface. + %feature("autodoc", "* A 2D polygon representation in the parametric space of a surface. + :rtype: bool") IsPolygonOnSurface; + virtual Standard_Boolean IsPolygonOnSurface (); + /****************** IsPolygonOnSurface ******************/ + %feature("compactdefaultargs") IsPolygonOnSurface; + %feature("autodoc", "* A 2D polygon representation in the parametric space of a surface. :param S: - :type S: Handle_Geom_Surface & + :type S: opencascade::handle & :param L: :type L: TopLoc_Location & - :rtype: bool -") IsPolygonOnSurface; - virtual Standard_Boolean IsPolygonOnSurface (const Handle_Geom_Surface & S,const TopLoc_Location & L); - %feature("compactdefaultargs") Surface; - %feature("autodoc", " :rtype: Handle_Geom_Surface -") Surface; - Handle_Geom_Surface Surface (); + :rtype: bool") IsPolygonOnSurface; + virtual Standard_Boolean IsPolygonOnSurface (const opencascade::handle & S,const TopLoc_Location & L); + + /****************** Polygon ******************/ %feature("compactdefaultargs") Polygon; - %feature("autodoc", " :rtype: Handle_Poly_Polygon2D -") Polygon; - Handle_Poly_Polygon2D Polygon (); + %feature("autodoc", ":rtype: opencascade::handle") Polygon; + virtual const opencascade::handle & Polygon (); + + /****************** Polygon ******************/ %feature("compactdefaultargs") Polygon; - %feature("autodoc", " :param P: - :type P: Handle_Poly_Polygon2D & - :rtype: void -") Polygon; - virtual void Polygon (const Handle_Poly_Polygon2D & P); - %feature("compactdefaultargs") Copy; - %feature("autodoc", " * Return a copy of this representation. + %feature("autodoc", ":param P: + :type P: opencascade::handle & + :rtype: void") Polygon; + virtual void Polygon (const opencascade::handle & P); + + /****************** Surface ******************/ + %feature("compactdefaultargs") Surface; + %feature("autodoc", ":rtype: opencascade::handle") Surface; + virtual const opencascade::handle & Surface (); - :rtype: Handle_BRep_CurveRepresentation -") Copy; - virtual Handle_BRep_CurveRepresentation Copy (); }; @@ -2611,57 +2417,64 @@ class BRep_PolygonOnSurface : public BRep_CurveRepresentation { __repr__ = _dumps_object } }; + +/************************************ +* class BRep_PolygonOnTriangulation * +************************************/ %nodefaultctor BRep_PolygonOnTriangulation; class BRep_PolygonOnTriangulation : public BRep_CurveRepresentation { public: + /****************** BRep_PolygonOnTriangulation ******************/ %feature("compactdefaultargs") BRep_PolygonOnTriangulation; - %feature("autodoc", " :param P: - :type P: Handle_Poly_PolygonOnTriangulation & + %feature("autodoc", ":param P: + :type P: opencascade::handle & :param T: - :type T: Handle_Poly_Triangulation & + :type T: opencascade::handle & :param L: :type L: TopLoc_Location & - :rtype: None -") BRep_PolygonOnTriangulation; - BRep_PolygonOnTriangulation (const Handle_Poly_PolygonOnTriangulation & P,const Handle_Poly_Triangulation & T,const TopLoc_Location & L); - %feature("compactdefaultargs") IsPolygonOnTriangulation; - %feature("autodoc", " * returns True. + :rtype: None") BRep_PolygonOnTriangulation; + BRep_PolygonOnTriangulation (const opencascade::handle & P,const opencascade::handle & T,const TopLoc_Location & L); - :rtype: bool -") IsPolygonOnTriangulation; - virtual Standard_Boolean IsPolygonOnTriangulation (); + /****************** Copy ******************/ + %feature("compactdefaultargs") Copy; + %feature("autodoc", "* Return a copy of this representation. + :rtype: opencascade::handle") Copy; + virtual opencascade::handle Copy (); + + /****************** IsPolygonOnTriangulation ******************/ %feature("compactdefaultargs") IsPolygonOnTriangulation; - %feature("autodoc", " * Is it a polygon in the definition of with location . + %feature("autodoc", "* returns True. + :rtype: bool") IsPolygonOnTriangulation; + virtual Standard_Boolean IsPolygonOnTriangulation (); + /****************** IsPolygonOnTriangulation ******************/ + %feature("compactdefaultargs") IsPolygonOnTriangulation; + %feature("autodoc", "* Is it a polygon in the definition of with location . :param T: - :type T: Handle_Poly_Triangulation & + :type T: opencascade::handle & :param L: :type L: TopLoc_Location & - :rtype: bool -") IsPolygonOnTriangulation; - virtual Standard_Boolean IsPolygonOnTriangulation (const Handle_Poly_Triangulation & T,const TopLoc_Location & L); - %feature("compactdefaultargs") PolygonOnTriangulation; - %feature("autodoc", " * returns True. + :rtype: bool") IsPolygonOnTriangulation; + virtual Standard_Boolean IsPolygonOnTriangulation (const opencascade::handle & T,const TopLoc_Location & L); + /****************** PolygonOnTriangulation ******************/ + %feature("compactdefaultargs") PolygonOnTriangulation; + %feature("autodoc", "* returns True. :param P: - :type P: Handle_Poly_PolygonOnTriangulation & - :rtype: void -") PolygonOnTriangulation; - virtual void PolygonOnTriangulation (const Handle_Poly_PolygonOnTriangulation & P); - %feature("compactdefaultargs") Triangulation; - %feature("autodoc", " :rtype: Handle_Poly_Triangulation -") Triangulation; - Handle_Poly_Triangulation Triangulation (); + :type P: opencascade::handle & + :rtype: void") PolygonOnTriangulation; + virtual void PolygonOnTriangulation (const opencascade::handle & P); + + /****************** PolygonOnTriangulation ******************/ %feature("compactdefaultargs") PolygonOnTriangulation; - %feature("autodoc", " :rtype: Handle_Poly_PolygonOnTriangulation -") PolygonOnTriangulation; - Handle_Poly_PolygonOnTriangulation PolygonOnTriangulation (); - %feature("compactdefaultargs") Copy; - %feature("autodoc", " * Return a copy of this representation. + %feature("autodoc", ":rtype: opencascade::handle") PolygonOnTriangulation; + virtual const opencascade::handle & PolygonOnTriangulation (); + + /****************** Triangulation ******************/ + %feature("compactdefaultargs") Triangulation; + %feature("autodoc", ":rtype: opencascade::handle") Triangulation; + virtual const opencascade::handle & Triangulation (); - :rtype: Handle_BRep_CurveRepresentation -") Copy; - virtual Handle_BRep_CurveRepresentation Copy (); }; @@ -2672,49 +2485,56 @@ class BRep_PolygonOnTriangulation : public BRep_CurveRepresentation { __repr__ = _dumps_object } }; + +/********************* +* class BRep_Curve3D * +*********************/ %nodefaultctor BRep_Curve3D; class BRep_Curve3D : public BRep_GCurve { public: + /****************** BRep_Curve3D ******************/ %feature("compactdefaultargs") BRep_Curve3D; - %feature("autodoc", " :param C: - :type C: Handle_Geom_Curve & + %feature("autodoc", ":param C: + :type C: opencascade::handle & :param L: :type L: TopLoc_Location & - :rtype: None -") BRep_Curve3D; - BRep_Curve3D (const Handle_Geom_Curve & C,const TopLoc_Location & L); - %feature("compactdefaultargs") D0; - %feature("autodoc", " * Computes the point at parameter U. + :rtype: None") BRep_Curve3D; + BRep_Curve3D (const opencascade::handle & C,const TopLoc_Location & L); + + /****************** Copy ******************/ + %feature("compactdefaultargs") Copy; + %feature("autodoc", "* Return a copy of this representation. + :rtype: opencascade::handle") Copy; + opencascade::handle Copy (); + + /****************** Curve3D ******************/ + %feature("compactdefaultargs") Curve3D; + %feature("autodoc", ":rtype: opencascade::handle") Curve3D; + virtual const opencascade::handle & Curve3D (); + + /****************** Curve3D ******************/ + %feature("compactdefaultargs") Curve3D; + %feature("autodoc", ":param C: + :type C: opencascade::handle & + :rtype: void") Curve3D; + virtual void Curve3D (const opencascade::handle & C); + /****************** D0 ******************/ + %feature("compactdefaultargs") D0; + %feature("autodoc", "* Computes the point at parameter U. :param U: :type U: float :param P: :type P: gp_Pnt - :rtype: None -") D0; + :rtype: None") D0; void D0 (const Standard_Real U,gp_Pnt & P); - %feature("compactdefaultargs") IsCurve3D; - %feature("autodoc", " * Returns True. - :rtype: bool -") IsCurve3D; + /****************** IsCurve3D ******************/ + %feature("compactdefaultargs") IsCurve3D; + %feature("autodoc", "* Returns True. + :rtype: bool") IsCurve3D; virtual Standard_Boolean IsCurve3D (); - %feature("compactdefaultargs") Curve3D; - %feature("autodoc", " :rtype: Handle_Geom_Curve -") Curve3D; - Handle_Geom_Curve Curve3D (); - %feature("compactdefaultargs") Curve3D; - %feature("autodoc", " :param C: - :type C: Handle_Geom_Curve & - :rtype: void -") Curve3D; - virtual void Curve3D (const Handle_Geom_Curve & C); - %feature("compactdefaultargs") Copy; - %feature("autodoc", " * Return a copy of this representation. - :rtype: Handle_BRep_CurveRepresentation -") Copy; - Handle_BRep_CurveRepresentation Copy (); }; @@ -2725,87 +2545,97 @@ class BRep_Curve3D : public BRep_GCurve { __repr__ = _dumps_object } }; + +/**************************** +* class BRep_CurveOnSurface * +****************************/ %nodefaultctor BRep_CurveOnSurface; class BRep_CurveOnSurface : public BRep_GCurve { public: + /****************** BRep_CurveOnSurface ******************/ %feature("compactdefaultargs") BRep_CurveOnSurface; - %feature("autodoc", " :param PC: - :type PC: Handle_Geom2d_Curve & + %feature("autodoc", ":param PC: + :type PC: opencascade::handle & :param S: - :type S: Handle_Geom_Surface & + :type S: opencascade::handle & :param L: :type L: TopLoc_Location & - :rtype: None -") BRep_CurveOnSurface; - BRep_CurveOnSurface (const Handle_Geom2d_Curve & PC,const Handle_Geom_Surface & S,const TopLoc_Location & L); - %feature("compactdefaultargs") SetUVPoints; - %feature("autodoc", " :param P1: - :type P1: gp_Pnt2d - :param P2: - :type P2: gp_Pnt2d - :rtype: None -") SetUVPoints; - void SetUVPoints (const gp_Pnt2d & P1,const gp_Pnt2d & P2); - %feature("compactdefaultargs") UVPoints; - %feature("autodoc", " :param P1: - :type P1: gp_Pnt2d - :param P2: - :type P2: gp_Pnt2d - :rtype: None -") UVPoints; - void UVPoints (gp_Pnt2d & P1,gp_Pnt2d & P2); - %feature("compactdefaultargs") D0; - %feature("autodoc", " * Computes the point at parameter U. + :rtype: None") BRep_CurveOnSurface; + BRep_CurveOnSurface (const opencascade::handle & PC,const opencascade::handle & S,const TopLoc_Location & L); + + /****************** Copy ******************/ + %feature("compactdefaultargs") Copy; + %feature("autodoc", "* Return a copy of this representation. + :rtype: opencascade::handle") Copy; + virtual opencascade::handle Copy (); + /****************** D0 ******************/ + %feature("compactdefaultargs") D0; + %feature("autodoc", "* Computes the point at parameter U. :param U: :type U: float :param P: :type P: gp_Pnt - :rtype: None -") D0; + :rtype: None") D0; void D0 (const Standard_Real U,gp_Pnt & P); - %feature("compactdefaultargs") IsCurveOnSurface; - %feature("autodoc", " * Returns True. - :rtype: bool -") IsCurveOnSurface; - virtual Standard_Boolean IsCurveOnSurface (); + /****************** IsCurveOnSurface ******************/ %feature("compactdefaultargs") IsCurveOnSurface; - %feature("autodoc", " * A curve in the parametric space of a surface. + %feature("autodoc", "* Returns True. + :rtype: bool") IsCurveOnSurface; + virtual Standard_Boolean IsCurveOnSurface (); + /****************** IsCurveOnSurface ******************/ + %feature("compactdefaultargs") IsCurveOnSurface; + %feature("autodoc", "* A curve in the parametric space of a surface. :param S: - :type S: Handle_Geom_Surface & + :type S: opencascade::handle & :param L: :type L: TopLoc_Location & - :rtype: bool -") IsCurveOnSurface; - virtual Standard_Boolean IsCurveOnSurface (const Handle_Geom_Surface & S,const TopLoc_Location & L); - %feature("compactdefaultargs") Surface; - %feature("autodoc", " :rtype: Handle_Geom_Surface -") Surface; - Handle_Geom_Surface Surface (); + :rtype: bool") IsCurveOnSurface; + virtual Standard_Boolean IsCurveOnSurface (const opencascade::handle & S,const TopLoc_Location & L); + + /****************** PCurve ******************/ %feature("compactdefaultargs") PCurve; - %feature("autodoc", " :rtype: Handle_Geom2d_Curve -") PCurve; - Handle_Geom2d_Curve PCurve (); + %feature("autodoc", ":rtype: opencascade::handle") PCurve; + virtual const opencascade::handle & PCurve (); + + /****************** PCurve ******************/ %feature("compactdefaultargs") PCurve; - %feature("autodoc", " :param C: - :type C: Handle_Geom2d_Curve & - :rtype: void -") PCurve; - virtual void PCurve (const Handle_Geom2d_Curve & C); - %feature("compactdefaultargs") Copy; - %feature("autodoc", " * Return a copy of this representation. + %feature("autodoc", ":param C: + :type C: opencascade::handle & + :rtype: void") PCurve; + virtual void PCurve (const opencascade::handle & C); - :rtype: Handle_BRep_CurveRepresentation -") Copy; - virtual Handle_BRep_CurveRepresentation Copy (); - %feature("compactdefaultargs") Update; - %feature("autodoc", " * Recomputes any derived data after a modification. This is called when the range is modified. + /****************** SetUVPoints ******************/ + %feature("compactdefaultargs") SetUVPoints; + %feature("autodoc", ":param P1: + :type P1: gp_Pnt2d + :param P2: + :type P2: gp_Pnt2d + :rtype: None") SetUVPoints; + void SetUVPoints (const gp_Pnt2d & P1,const gp_Pnt2d & P2); + + /****************** Surface ******************/ + %feature("compactdefaultargs") Surface; + %feature("autodoc", ":rtype: opencascade::handle") Surface; + virtual const opencascade::handle & Surface (); + + /****************** UVPoints ******************/ + %feature("compactdefaultargs") UVPoints; + %feature("autodoc", ":param P1: + :type P1: gp_Pnt2d + :param P2: + :type P2: gp_Pnt2d + :rtype: None") UVPoints; + void UVPoints (gp_Pnt2d & P1,gp_Pnt2d & P2); - :rtype: void -") Update; + /****************** Update ******************/ + %feature("compactdefaultargs") Update; + %feature("autodoc", "* Recomputes any derived data after a modification. This is called when the range is modified. + :rtype: void") Update; virtual void Update (); + }; @@ -2816,47 +2646,55 @@ class BRep_CurveOnSurface : public BRep_GCurve { __repr__ = _dumps_object } }; + +/*********************************** +* class BRep_PointOnCurveOnSurface * +***********************************/ %nodefaultctor BRep_PointOnCurveOnSurface; class BRep_PointOnCurveOnSurface : public BRep_PointsOnSurface { public: + /****************** BRep_PointOnCurveOnSurface ******************/ %feature("compactdefaultargs") BRep_PointOnCurveOnSurface; - %feature("autodoc", " :param P: + %feature("autodoc", ":param P: :type P: float :param C: - :type C: Handle_Geom2d_Curve & + :type C: opencascade::handle & :param S: - :type S: Handle_Geom_Surface & + :type S: opencascade::handle & :param L: :type L: TopLoc_Location & - :rtype: None -") BRep_PointOnCurveOnSurface; - BRep_PointOnCurveOnSurface (const Standard_Real P,const Handle_Geom2d_Curve & C,const Handle_Geom_Surface & S,const TopLoc_Location & L); - %feature("compactdefaultargs") IsPointOnCurveOnSurface; - %feature("autodoc", " * Returns True + :rtype: None") BRep_PointOnCurveOnSurface; + BRep_PointOnCurveOnSurface (const Standard_Real P,const opencascade::handle & C,const opencascade::handle & S,const TopLoc_Location & L); - :rtype: bool -") IsPointOnCurveOnSurface; + /****************** IsPointOnCurveOnSurface ******************/ + %feature("compactdefaultargs") IsPointOnCurveOnSurface; + %feature("autodoc", "* Returns True + :rtype: bool") IsPointOnCurveOnSurface; virtual Standard_Boolean IsPointOnCurveOnSurface (); + + /****************** IsPointOnCurveOnSurface ******************/ %feature("compactdefaultargs") IsPointOnCurveOnSurface; - %feature("autodoc", " :param PC: - :type PC: Handle_Geom2d_Curve & + %feature("autodoc", ":param PC: + :type PC: opencascade::handle & :param S: - :type S: Handle_Geom_Surface & + :type S: opencascade::handle & :param L: :type L: TopLoc_Location & - :rtype: bool -") IsPointOnCurveOnSurface; - virtual Standard_Boolean IsPointOnCurveOnSurface (const Handle_Geom2d_Curve & PC,const Handle_Geom_Surface & S,const TopLoc_Location & L); + :rtype: bool") IsPointOnCurveOnSurface; + virtual Standard_Boolean IsPointOnCurveOnSurface (const opencascade::handle & PC,const opencascade::handle & S,const TopLoc_Location & L); + + /****************** PCurve ******************/ %feature("compactdefaultargs") PCurve; - %feature("autodoc", " :rtype: Handle_Geom2d_Curve -") PCurve; - Handle_Geom2d_Curve PCurve (); + %feature("autodoc", ":rtype: opencascade::handle") PCurve; + virtual const opencascade::handle & PCurve (); + + /****************** PCurve ******************/ %feature("compactdefaultargs") PCurve; - %feature("autodoc", " :param C: - :type C: Handle_Geom2d_Curve & - :rtype: void -") PCurve; - virtual void PCurve (const Handle_Geom2d_Curve & C); + %feature("autodoc", ":param C: + :type C: opencascade::handle & + :rtype: void") PCurve; + virtual void PCurve (const opencascade::handle & C); + }; @@ -2867,43 +2705,52 @@ class BRep_PointOnCurveOnSurface : public BRep_PointsOnSurface { __repr__ = _dumps_object } }; + +/**************************** +* class BRep_PointOnSurface * +****************************/ %nodefaultctor BRep_PointOnSurface; class BRep_PointOnSurface : public BRep_PointsOnSurface { public: + /****************** BRep_PointOnSurface ******************/ %feature("compactdefaultargs") BRep_PointOnSurface; - %feature("autodoc", " :param P1: + %feature("autodoc", ":param P1: :type P1: float :param P2: :type P2: float :param S: - :type S: Handle_Geom_Surface & + :type S: opencascade::handle & :param L: :type L: TopLoc_Location & - :rtype: None -") BRep_PointOnSurface; - BRep_PointOnSurface (const Standard_Real P1,const Standard_Real P2,const Handle_Geom_Surface & S,const TopLoc_Location & L); + :rtype: None") BRep_PointOnSurface; + BRep_PointOnSurface (const Standard_Real P1,const Standard_Real P2,const opencascade::handle & S,const TopLoc_Location & L); + + /****************** IsPointOnSurface ******************/ %feature("compactdefaultargs") IsPointOnSurface; - %feature("autodoc", " :rtype: bool -") IsPointOnSurface; + %feature("autodoc", ":rtype: bool") IsPointOnSurface; virtual Standard_Boolean IsPointOnSurface (); + + /****************** IsPointOnSurface ******************/ %feature("compactdefaultargs") IsPointOnSurface; - %feature("autodoc", " :param S: - :type S: Handle_Geom_Surface & + %feature("autodoc", ":param S: + :type S: opencascade::handle & :param L: :type L: TopLoc_Location & - :rtype: bool -") IsPointOnSurface; - virtual Standard_Boolean IsPointOnSurface (const Handle_Geom_Surface & S,const TopLoc_Location & L); + :rtype: bool") IsPointOnSurface; + virtual Standard_Boolean IsPointOnSurface (const opencascade::handle & S,const TopLoc_Location & L); + + /****************** Parameter2 ******************/ %feature("compactdefaultargs") Parameter2; - %feature("autodoc", " :rtype: float -") Parameter2; + %feature("autodoc", ":rtype: float") Parameter2; virtual Standard_Real Parameter2 (); + + /****************** Parameter2 ******************/ %feature("compactdefaultargs") Parameter2; - %feature("autodoc", " :param P: + %feature("autodoc", ":param P: :type P: float - :rtype: void -") Parameter2; + :rtype: void") Parameter2; virtual void Parameter2 (const Standard_Real P); + }; @@ -2914,43 +2761,50 @@ class BRep_PointOnSurface : public BRep_PointsOnSurface { __repr__ = _dumps_object } }; + +/************************************ +* class BRep_PolygonOnClosedSurface * +************************************/ %nodefaultctor BRep_PolygonOnClosedSurface; class BRep_PolygonOnClosedSurface : public BRep_PolygonOnSurface { public: + /****************** BRep_PolygonOnClosedSurface ******************/ %feature("compactdefaultargs") BRep_PolygonOnClosedSurface; - %feature("autodoc", " :param P1: - :type P1: Handle_Poly_Polygon2D & + %feature("autodoc", ":param P1: + :type P1: opencascade::handle & :param P2: - :type P2: Handle_Poly_Polygon2D & + :type P2: opencascade::handle & :param S: - :type S: Handle_Geom_Surface & + :type S: opencascade::handle & :param L: :type L: TopLoc_Location & - :rtype: None -") BRep_PolygonOnClosedSurface; - BRep_PolygonOnClosedSurface (const Handle_Poly_Polygon2D & P1,const Handle_Poly_Polygon2D & P2,const Handle_Geom_Surface & S,const TopLoc_Location & L); - %feature("compactdefaultargs") IsPolygonOnClosedSurface; - %feature("autodoc", " * returns True. + :rtype: None") BRep_PolygonOnClosedSurface; + BRep_PolygonOnClosedSurface (const opencascade::handle & P1,const opencascade::handle & P2,const opencascade::handle & S,const TopLoc_Location & L); + + /****************** Copy ******************/ + %feature("compactdefaultargs") Copy; + %feature("autodoc", "* Return a copy of this representation. + :rtype: opencascade::handle") Copy; + virtual opencascade::handle Copy (); - :rtype: bool -") IsPolygonOnClosedSurface; + /****************** IsPolygonOnClosedSurface ******************/ + %feature("compactdefaultargs") IsPolygonOnClosedSurface; + %feature("autodoc", "* returns True. + :rtype: bool") IsPolygonOnClosedSurface; virtual Standard_Boolean IsPolygonOnClosedSurface (); + + /****************** Polygon2 ******************/ %feature("compactdefaultargs") Polygon2; - %feature("autodoc", " :rtype: Handle_Poly_Polygon2D -") Polygon2; - Handle_Poly_Polygon2D Polygon2 (); + %feature("autodoc", ":rtype: opencascade::handle") Polygon2; + virtual const opencascade::handle & Polygon2 (); + + /****************** Polygon2 ******************/ %feature("compactdefaultargs") Polygon2; - %feature("autodoc", " :param P: - :type P: Handle_Poly_Polygon2D & - :rtype: void -") Polygon2; - virtual void Polygon2 (const Handle_Poly_Polygon2D & P); - %feature("compactdefaultargs") Copy; - %feature("autodoc", " * Return a copy of this representation. + %feature("autodoc", ":param P: + :type P: opencascade::handle & + :rtype: void") Polygon2; + virtual void Polygon2 (const opencascade::handle & P); - :rtype: Handle_BRep_CurveRepresentation -") Copy; - virtual Handle_BRep_CurveRepresentation Copy (); }; @@ -2961,43 +2815,50 @@ class BRep_PolygonOnClosedSurface : public BRep_PolygonOnSurface { __repr__ = _dumps_object } }; + +/****************************************** +* class BRep_PolygonOnClosedTriangulation * +******************************************/ %nodefaultctor BRep_PolygonOnClosedTriangulation; class BRep_PolygonOnClosedTriangulation : public BRep_PolygonOnTriangulation { public: + /****************** BRep_PolygonOnClosedTriangulation ******************/ %feature("compactdefaultargs") BRep_PolygonOnClosedTriangulation; - %feature("autodoc", " :param P1: - :type P1: Handle_Poly_PolygonOnTriangulation & + %feature("autodoc", ":param P1: + :type P1: opencascade::handle & :param P2: - :type P2: Handle_Poly_PolygonOnTriangulation & + :type P2: opencascade::handle & :param Tr: - :type Tr: Handle_Poly_Triangulation & + :type Tr: opencascade::handle & :param L: :type L: TopLoc_Location & - :rtype: None -") BRep_PolygonOnClosedTriangulation; - BRep_PolygonOnClosedTriangulation (const Handle_Poly_PolygonOnTriangulation & P1,const Handle_Poly_PolygonOnTriangulation & P2,const Handle_Poly_Triangulation & Tr,const TopLoc_Location & L); - %feature("compactdefaultargs") IsPolygonOnClosedTriangulation; - %feature("autodoc", " * Returns True. + :rtype: None") BRep_PolygonOnClosedTriangulation; + BRep_PolygonOnClosedTriangulation (const opencascade::handle & P1,const opencascade::handle & P2,const opencascade::handle & Tr,const TopLoc_Location & L); + + /****************** Copy ******************/ + %feature("compactdefaultargs") Copy; + %feature("autodoc", "* Return a copy of this representation. + :rtype: opencascade::handle") Copy; + virtual opencascade::handle Copy (); - :rtype: bool -") IsPolygonOnClosedTriangulation; + /****************** IsPolygonOnClosedTriangulation ******************/ + %feature("compactdefaultargs") IsPolygonOnClosedTriangulation; + %feature("autodoc", "* Returns True. + :rtype: bool") IsPolygonOnClosedTriangulation; virtual Standard_Boolean IsPolygonOnClosedTriangulation (); + + /****************** PolygonOnTriangulation2 ******************/ %feature("compactdefaultargs") PolygonOnTriangulation2; - %feature("autodoc", " :param P2: - :type P2: Handle_Poly_PolygonOnTriangulation & - :rtype: void -") PolygonOnTriangulation2; - virtual void PolygonOnTriangulation2 (const Handle_Poly_PolygonOnTriangulation & P2); + %feature("autodoc", ":param P2: + :type P2: opencascade::handle & + :rtype: void") PolygonOnTriangulation2; + virtual void PolygonOnTriangulation2 (const opencascade::handle & P2); + + /****************** PolygonOnTriangulation2 ******************/ %feature("compactdefaultargs") PolygonOnTriangulation2; - %feature("autodoc", " :rtype: Handle_Poly_PolygonOnTriangulation -") PolygonOnTriangulation2; - Handle_Poly_PolygonOnTriangulation PolygonOnTriangulation2 (); - %feature("compactdefaultargs") Copy; - %feature("autodoc", " * Return a copy of this representation. + %feature("autodoc", ":rtype: opencascade::handle") PolygonOnTriangulation2; + virtual const opencascade::handle & PolygonOnTriangulation2 (); - :rtype: Handle_BRep_CurveRepresentation -") Copy; - virtual Handle_BRep_CurveRepresentation Copy (); }; @@ -3008,109 +2869,120 @@ class BRep_PolygonOnClosedTriangulation : public BRep_PolygonOnTriangulation { __repr__ = _dumps_object } }; + +/********************************** +* class BRep_CurveOnClosedSurface * +**********************************/ %nodefaultctor BRep_CurveOnClosedSurface; class BRep_CurveOnClosedSurface : public BRep_CurveOnSurface { public: + /****************** BRep_CurveOnClosedSurface ******************/ %feature("compactdefaultargs") BRep_CurveOnClosedSurface; - %feature("autodoc", " :param PC1: - :type PC1: Handle_Geom2d_Curve & + %feature("autodoc", ":param PC1: + :type PC1: opencascade::handle & :param PC2: - :type PC2: Handle_Geom2d_Curve & + :type PC2: opencascade::handle & :param S: - :type S: Handle_Geom_Surface & + :type S: opencascade::handle & :param L: :type L: TopLoc_Location & :param C: :type C: GeomAbs_Shape - :rtype: None -") BRep_CurveOnClosedSurface; - BRep_CurveOnClosedSurface (const Handle_Geom2d_Curve & PC1,const Handle_Geom2d_Curve & PC2,const Handle_Geom_Surface & S,const TopLoc_Location & L,const GeomAbs_Shape C); - %feature("compactdefaultargs") SetUVPoints2; - %feature("autodoc", " :param P1: - :type P1: gp_Pnt2d - :param P2: - :type P2: gp_Pnt2d - :rtype: None -") SetUVPoints2; - void SetUVPoints2 (const gp_Pnt2d & P1,const gp_Pnt2d & P2); - %feature("compactdefaultargs") UVPoints2; - %feature("autodoc", " :param P1: - :type P1: gp_Pnt2d - :param P2: - :type P2: gp_Pnt2d - :rtype: None -") UVPoints2; - void UVPoints2 (gp_Pnt2d & P1,gp_Pnt2d & P2); - %feature("compactdefaultargs") IsCurveOnClosedSurface; - %feature("autodoc", " * Returns True. + :rtype: None") BRep_CurveOnClosedSurface; + BRep_CurveOnClosedSurface (const opencascade::handle & PC1,const opencascade::handle & PC2,const opencascade::handle & S,const TopLoc_Location & L,const GeomAbs_Shape C); + + /****************** Continuity ******************/ + %feature("compactdefaultargs") Continuity; + %feature("autodoc", ":rtype: GeomAbs_Shape") Continuity; + virtual const GeomAbs_Shape & Continuity (); - :rtype: bool -") IsCurveOnClosedSurface; + /****************** Continuity ******************/ + %feature("compactdefaultargs") Continuity; + %feature("autodoc", ":param C: + :type C: GeomAbs_Shape + :rtype: void") Continuity; + virtual void Continuity (const GeomAbs_Shape C); + + /****************** Copy ******************/ + %feature("compactdefaultargs") Copy; + %feature("autodoc", "* Return a copy of this representation. + :rtype: opencascade::handle") Copy; + virtual opencascade::handle Copy (); + + /****************** IsCurveOnClosedSurface ******************/ + %feature("compactdefaultargs") IsCurveOnClosedSurface; + %feature("autodoc", "* Returns True. + :rtype: bool") IsCurveOnClosedSurface; virtual Standard_Boolean IsCurveOnClosedSurface (); - %feature("compactdefaultargs") IsRegularity; - %feature("autodoc", " * Returns True - :rtype: bool -") IsRegularity; - virtual Standard_Boolean IsRegularity (); + /****************** IsRegularity ******************/ %feature("compactdefaultargs") IsRegularity; - %feature("autodoc", " * A curve on two surfaces (continuity). + %feature("autodoc", "* Returns True + :rtype: bool") IsRegularity; + virtual Standard_Boolean IsRegularity (); + /****************** IsRegularity ******************/ + %feature("compactdefaultargs") IsRegularity; + %feature("autodoc", "* A curve on two surfaces (continuity). :param S1: - :type S1: Handle_Geom_Surface & + :type S1: opencascade::handle & :param S2: - :type S2: Handle_Geom_Surface & + :type S2: opencascade::handle & :param L1: :type L1: TopLoc_Location & :param L2: :type L2: TopLoc_Location & - :rtype: bool -") IsRegularity; - virtual Standard_Boolean IsRegularity (const Handle_Geom_Surface & S1,const Handle_Geom_Surface & S2,const TopLoc_Location & L1,const TopLoc_Location & L2); - %feature("compactdefaultargs") PCurve2; - %feature("autodoc", " :rtype: Handle_Geom2d_Curve -") PCurve2; - Handle_Geom2d_Curve PCurve2 (); - %feature("compactdefaultargs") Surface2; - %feature("autodoc", " * Returns Surface() + :rtype: bool") IsRegularity; + virtual Standard_Boolean IsRegularity (const opencascade::handle & S1,const opencascade::handle & S2,const TopLoc_Location & L1,const TopLoc_Location & L2); - :rtype: Handle_Geom_Surface -") Surface2; - Handle_Geom_Surface Surface2 (); + /****************** Location2 ******************/ %feature("compactdefaultargs") Location2; - %feature("autodoc", " * Returns Location() - - :rtype: TopLoc_Location -") Location2; + %feature("autodoc", "* Returns Location() + :rtype: TopLoc_Location") Location2; virtual const TopLoc_Location & Location2 (); - %feature("compactdefaultargs") Continuity; - %feature("autodoc", " :rtype: GeomAbs_Shape -") Continuity; - virtual const GeomAbs_Shape & Continuity (); - %feature("compactdefaultargs") Continuity; - %feature("autodoc", " :param C: - :type C: GeomAbs_Shape - :rtype: void -") Continuity; - virtual void Continuity (const GeomAbs_Shape C); + + /****************** PCurve2 ******************/ %feature("compactdefaultargs") PCurve2; - %feature("autodoc", " :param C: - :type C: Handle_Geom2d_Curve & - :rtype: void -") PCurve2; - virtual void PCurve2 (const Handle_Geom2d_Curve & C); - %feature("compactdefaultargs") Copy; - %feature("autodoc", " * Return a copy of this representation. + %feature("autodoc", ":rtype: opencascade::handle") PCurve2; + virtual const opencascade::handle & PCurve2 (); - :rtype: Handle_BRep_CurveRepresentation -") Copy; - virtual Handle_BRep_CurveRepresentation Copy (); - %feature("compactdefaultargs") Update; - %feature("autodoc", " * Recomputes any derived data after a modification. This is called when the range is modified. + /****************** PCurve2 ******************/ + %feature("compactdefaultargs") PCurve2; + %feature("autodoc", ":param C: + :type C: opencascade::handle & + :rtype: void") PCurve2; + virtual void PCurve2 (const opencascade::handle & C); + + /****************** SetUVPoints2 ******************/ + %feature("compactdefaultargs") SetUVPoints2; + %feature("autodoc", ":param P1: + :type P1: gp_Pnt2d + :param P2: + :type P2: gp_Pnt2d + :rtype: None") SetUVPoints2; + void SetUVPoints2 (const gp_Pnt2d & P1,const gp_Pnt2d & P2); + + /****************** Surface2 ******************/ + %feature("compactdefaultargs") Surface2; + %feature("autodoc", "* Returns Surface() + :rtype: opencascade::handle") Surface2; + virtual const opencascade::handle & Surface2 (); + + /****************** UVPoints2 ******************/ + %feature("compactdefaultargs") UVPoints2; + %feature("autodoc", ":param P1: + :type P1: gp_Pnt2d + :param P2: + :type P2: gp_Pnt2d + :rtype: None") UVPoints2; + void UVPoints2 (gp_Pnt2d & P1,gp_Pnt2d & P2); - :rtype: void -") Update; + /****************** Update ******************/ + %feature("compactdefaultargs") Update; + %feature("autodoc", "* Recomputes any derived data after a modification. This is called when the range is modified. + :rtype: void") Update; virtual void Update (); + }; @@ -3121,3 +2993,7 @@ class BRep_CurveOnClosedSurface : public BRep_CurveOnSurface { __repr__ = _dumps_object } }; + +/* harray1 class */ +/* harray2 class */ +/* harray2 class */ diff --git a/src/SWIG_files/wrapper/BRepAdaptor.i b/src/SWIG_files/wrapper/BRepAdaptor.i index b0643d16c..1754a0a0e 100644 --- a/src/SWIG_files/wrapper/BRepAdaptor.i +++ b/src/SWIG_files/wrapper/BRepAdaptor.i @@ -1,6 +1,5 @@ /* -Copyright 2008-2017 Thomas Paviot (tpaviot@gmail.com) - +Copyright 2008-2019 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -15,28 +14,13 @@ 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 BREPADAPTORDOCSTRING -"The BRepAdaptor package provides classes to access -the geometry of the BRep models. - -OverView of classes - -* Surface : Provides the methods of Surface from -Adpator on a Face. - -* Curve : Provides the methods of Curve from -Adaptor3d on an Edge. - -* Curve2d : Provides the methods of Curve2d from -Adaptor2d on an Edge on a Face. - -" +"BRepAdaptor module, see official documentation at +https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brepadaptor.html" %enddef %module (package="OCC.Core", docstring=BREPADAPTORDOCSTRING) BRepAdaptor -#pragma SWIG nowarn=504,325,503 %{ #ifdef WNT @@ -51,104 +35,55 @@ Adaptor2d on an Edge on a Face. %include ../common/OccHandle.i -%include BRepAdaptor_headers.i - -/* typedefs */ -/* end typedefs declaration */ - +%{ +#include + +//Dependencies +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +%}; +%import Standard.i +%import NCollection.i +%import Adaptor3d.i +%import TopoDS.i +%import Geom.i +%import gp.i +%import GeomAbs.i +%import TColStd.i +%import GeomAdaptor.i +%import Geom2dAdaptor.i +%import Adaptor2d.i /* public enums */ /* end public enums declaration */ -%wrap_handle(BRepAdaptor_HArray1OfCurve) +/* handles */ %wrap_handle(BRepAdaptor_HCompCurve) %wrap_handle(BRepAdaptor_HCurve) %wrap_handle(BRepAdaptor_HCurve2d) %wrap_handle(BRepAdaptor_HSurface) +%wrap_handle(BRepAdaptor_HArray1OfCurve) +/* end handles declaration */ -%nodefaultctor BRepAdaptor_Array1OfCurve; -class BRepAdaptor_Array1OfCurve { - public: - %feature("compactdefaultargs") BRepAdaptor_Array1OfCurve; - %feature("autodoc", " :param Low: - :type Low: int - :param Up: - :type Up: int - :rtype: None -") BRepAdaptor_Array1OfCurve; - BRepAdaptor_Array1OfCurve (const Standard_Integer Low,const Standard_Integer Up); - %feature("compactdefaultargs") BRepAdaptor_Array1OfCurve; - %feature("autodoc", " :param Item: - :type Item: BRepAdaptor_Curve & - :param Low: - :type Low: int - :param Up: - :type Up: int - :rtype: None -") BRepAdaptor_Array1OfCurve; - BRepAdaptor_Array1OfCurve (const BRepAdaptor_Curve & Item,const Standard_Integer Low,const Standard_Integer Up); - %feature("compactdefaultargs") Init; - %feature("autodoc", " :param V: - :type V: BRepAdaptor_Curve & - :rtype: None -") Init; - void Init (const BRepAdaptor_Curve & V); - %feature("compactdefaultargs") Destroy; - %feature("autodoc", " :rtype: None -") Destroy; - void Destroy (); - %feature("compactdefaultargs") IsAllocated; - %feature("autodoc", " :rtype: bool -") IsAllocated; - Standard_Boolean IsAllocated (); - %feature("compactdefaultargs") Assign; - %feature("autodoc", " :param Other: - :type Other: BRepAdaptor_Array1OfCurve & - :rtype: BRepAdaptor_Array1OfCurve -") Assign; - const BRepAdaptor_Array1OfCurve & Assign (const BRepAdaptor_Array1OfCurve & Other); - %feature("compactdefaultargs") operator =; - %feature("autodoc", " :param Other: - :type Other: BRepAdaptor_Array1OfCurve & - :rtype: BRepAdaptor_Array1OfCurve -") operator =; - const BRepAdaptor_Array1OfCurve & operator = (const BRepAdaptor_Array1OfCurve & Other); - %feature("compactdefaultargs") Length; - %feature("autodoc", " :rtype: int -") Length; - Standard_Integer Length (); - %feature("compactdefaultargs") Lower; - %feature("autodoc", " :rtype: int -") Lower; - Standard_Integer Lower (); - %feature("compactdefaultargs") Upper; - %feature("autodoc", " :rtype: int -") Upper; - Standard_Integer Upper (); - %feature("compactdefaultargs") SetValue; - %feature("autodoc", " :param Index: - :type Index: int - :param Value: - :type Value: BRepAdaptor_Curve & - :rtype: None -") SetValue; - void SetValue (const Standard_Integer Index,const BRepAdaptor_Curve & Value); - %feature("compactdefaultargs") Value; - %feature("autodoc", " :param Index: - :type Index: int - :rtype: BRepAdaptor_Curve -") Value; - const BRepAdaptor_Curve & Value (const Standard_Integer Index); - %feature("compactdefaultargs") ChangeValue; - %feature("autodoc", " :param Index: - :type Index: int - :rtype: BRepAdaptor_Curve -") ChangeValue; - BRepAdaptor_Curve & ChangeValue (const Standard_Integer Index); -}; - - +/* templates */ +%template(BRepAdaptor_Array1OfCurve) NCollection_Array1 ; -%extend BRepAdaptor_Array1OfCurve { +%extend NCollection_Array1 { %pythoncode { def __getitem__(self, index): if index + self.Lower() > self.Upper(): @@ -175,38 +110,42 @@ class BRepAdaptor_Array1OfCurve { if self.current >= self.Upper(): raise StopIteration else: - self.current +=1 + self.current += 1 return self.Value(self.current) __next__ = next - } }; -%extend BRepAdaptor_Array1OfCurve { - %pythoncode { - __repr__ = _dumps_object - } -}; +/* end templates declaration */ + +/* typedefs */ +typedef NCollection_Array1 BRepAdaptor_Array1OfCurve; +/* end typedefs declaration */ + +/****************************** +* class BRepAdaptor_CompCurve * +******************************/ %nodefaultctor BRepAdaptor_CompCurve; class BRepAdaptor_CompCurve : public Adaptor3d_Curve { public: + /****************** BRepAdaptor_CompCurve ******************/ %feature("compactdefaultargs") BRepAdaptor_CompCurve; - %feature("autodoc", " * Creates an undefined Curve with no Wire loaded. - - :rtype: None -") BRepAdaptor_CompCurve; + %feature("autodoc", "* Creates an undefined Curve with no Wire loaded. + :rtype: None") BRepAdaptor_CompCurve; BRepAdaptor_CompCurve (); + + /****************** BRepAdaptor_CompCurve ******************/ %feature("compactdefaultargs") BRepAdaptor_CompCurve; - %feature("autodoc", " :param W: + %feature("autodoc", ":param W: :type W: TopoDS_Wire & :param KnotByCurvilinearAbcissa: default value is Standard_False :type KnotByCurvilinearAbcissa: bool - :rtype: None -") BRepAdaptor_CompCurve; + :rtype: None") BRepAdaptor_CompCurve; BRepAdaptor_CompCurve (const TopoDS_Wire & W,const Standard_Boolean KnotByCurvilinearAbcissa = Standard_False); - %feature("compactdefaultargs") BRepAdaptor_CompCurve; - %feature("autodoc", " * Creates a Curve to acces to the geometry of edge . + /****************** BRepAdaptor_CompCurve ******************/ + %feature("compactdefaultargs") BRepAdaptor_CompCurve; + %feature("autodoc", "* Creates a Curve to acces to the geometry of edge . :param W: :type W: TopoDS_Wire & :param KnotByCurvilinearAbcissa: @@ -217,148 +156,54 @@ class BRepAdaptor_CompCurve : public Adaptor3d_Curve { :type Last: float :param Tol: :type Tol: float - :rtype: None -") BRepAdaptor_CompCurve; + :rtype: None") BRepAdaptor_CompCurve; BRepAdaptor_CompCurve (const TopoDS_Wire & W,const Standard_Boolean KnotByCurvilinearAbcissa,const Standard_Real First,const Standard_Real Last,const Standard_Real Tol); - %feature("compactdefaultargs") Initialize; - %feature("autodoc", " * Sets the wire . - :param W: - :type W: TopoDS_Wire & - :param KnotByCurvilinearAbcissa: - :type KnotByCurvilinearAbcissa: bool - :rtype: None -") Initialize; - void Initialize (const TopoDS_Wire & W,const Standard_Boolean KnotByCurvilinearAbcissa); - %feature("compactdefaultargs") Initialize; - %feature("autodoc", " * Sets wire and trimmed parameter. + /****************** BSpline ******************/ + %feature("compactdefaultargs") BSpline; + %feature("autodoc", ":rtype: opencascade::handle") BSpline; + opencascade::handle BSpline (); - :param W: - :type W: TopoDS_Wire & - :param KnotByCurvilinearAbcissa: - :type KnotByCurvilinearAbcissa: bool - :param First: - :type First: float - :param Last: - :type Last: float - :param Tol: - :type Tol: float - :rtype: None -") Initialize; - void Initialize (const TopoDS_Wire & W,const Standard_Boolean KnotByCurvilinearAbcissa,const Standard_Real First,const Standard_Real Last,const Standard_Real Tol); - %feature("compactdefaultargs") SetPeriodic; - %feature("autodoc", " * Set the flag Periodic. Warning: This method has no effect if the wire is not closed - - :param Periodic: - :type Periodic: bool - :rtype: None -") SetPeriodic; - void SetPeriodic (const Standard_Boolean Periodic); - %feature("compactdefaultargs") Wire; - %feature("autodoc", " * Returns the wire. + /****************** Bezier ******************/ + %feature("compactdefaultargs") Bezier; + %feature("autodoc", ":rtype: opencascade::handle") Bezier; + opencascade::handle Bezier (); - :rtype: TopoDS_Wire -") Wire; - const TopoDS_Wire Wire (); - %feature("compactdefaultargs") Edge; - %feature("autodoc", " * returns an edge and one parameter on them corresponding to the parameter U. + /****************** Circle ******************/ + %feature("compactdefaultargs") Circle; + %feature("autodoc", ":rtype: gp_Circ") Circle; + gp_Circ Circle (); - :param U: - :type U: float - :param E: - :type E: TopoDS_Edge & - :param UonE: - :type UonE: float & - :rtype: None -") Edge; - void Edge (const Standard_Real U,TopoDS_Edge & E,Standard_Real &OutValue); - %feature("compactdefaultargs") FirstParameter; - %feature("autodoc", " :rtype: float -") FirstParameter; - Standard_Real FirstParameter (); - %feature("compactdefaultargs") LastParameter; - %feature("autodoc", " :rtype: float -") LastParameter; - Standard_Real LastParameter (); + /****************** Continuity ******************/ %feature("compactdefaultargs") Continuity; - %feature("autodoc", " :rtype: GeomAbs_Shape -") Continuity; + %feature("autodoc", ":rtype: GeomAbs_Shape") Continuity; GeomAbs_Shape Continuity (); - %feature("compactdefaultargs") NbIntervals; - %feature("autodoc", " * Returns the number of intervals for continuity . May be one if Continuity(me) >= - - :param S: - :type S: GeomAbs_Shape - :rtype: int -") NbIntervals; - Standard_Integer NbIntervals (const GeomAbs_Shape S); - %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() - - :param T: - :type T: TColStd_Array1OfReal & - :param S: - :type S: GeomAbs_Shape - :rtype: None -") Intervals; - void Intervals (TColStd_Array1OfReal & T,const GeomAbs_Shape S); - %feature("compactdefaultargs") Trim; - %feature("autodoc", " * Returns a curve equivalent of between parameters and . is used to test for 3d points confusion. If >= - - :param First: - :type First: float - :param Last: - :type Last: float - :param Tol: - :type Tol: float - :rtype: Handle_Adaptor3d_HCurve -") Trim; - Handle_Adaptor3d_HCurve Trim (const Standard_Real First,const Standard_Real Last,const Standard_Real Tol); - %feature("compactdefaultargs") IsClosed; - %feature("autodoc", " :rtype: bool -") IsClosed; - Standard_Boolean IsClosed (); - %feature("compactdefaultargs") IsPeriodic; - %feature("autodoc", " :rtype: bool -") IsPeriodic; - Standard_Boolean IsPeriodic (); - %feature("compactdefaultargs") Period; - %feature("autodoc", " :rtype: float -") Period; - Standard_Real Period (); - %feature("compactdefaultargs") Value; - %feature("autodoc", " * Computes the point of parameter U on the curve - :param U: - :type U: float - :rtype: gp_Pnt -") Value; - gp_Pnt Value (const Standard_Real U); + /****************** D0 ******************/ %feature("compactdefaultargs") D0; - %feature("autodoc", " * Computes the point of parameter U. - + %feature("autodoc", "* Computes the point of parameter U. :param U: :type U: float :param P: :type P: gp_Pnt - :rtype: None -") D0; + :rtype: None") D0; void D0 (const Standard_Real U,gp_Pnt & P); - %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. + /****************** D1 ******************/ + %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. :param U: :type U: float :param P: :type P: gp_Pnt :param V: :type V: gp_Vec - :rtype: None -") D1; + :rtype: None") D1; void D1 (const Standard_Real U,gp_Pnt & P,gp_Vec & V); - %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. + /****************** D2 ******************/ + %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. :param U: :type U: float :param P: @@ -367,12 +212,12 @@ class BRepAdaptor_CompCurve : public Adaptor3d_Curve { :type V1: gp_Vec :param V2: :type V2: gp_Vec - :rtype: None -") D2; + :rtype: None") D2; void D2 (const Standard_Real U,gp_Pnt & P,gp_Vec & V1,gp_Vec & V2); - %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. + /****************** D3 ******************/ + %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. :param U: :type U: float :param P: @@ -383,75 +228,179 @@ class BRepAdaptor_CompCurve : public Adaptor3d_Curve { :type V2: gp_Vec :param V3: :type V3: gp_Vec - :rtype: None -") D3; + :rtype: None") D3; void D3 (const Standard_Real U,gp_Pnt & P,gp_Vec & V1,gp_Vec & V2,gp_Vec & V3); - %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. + /****************** DN ******************/ + %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. :param U: :type U: float :param N: :type N: int - :rtype: gp_Vec -") DN; + :rtype: gp_Vec") DN; gp_Vec DN (const Standard_Real U,const Standard_Integer N); - %feature("compactdefaultargs") Resolution; - %feature("autodoc", " * returns the parametric resolution - :param R3d: - :type R3d: float - :rtype: float -") Resolution; - Standard_Real Resolution (const Standard_Real R3d); - %feature("compactdefaultargs") GetType; - %feature("autodoc", " :rtype: GeomAbs_CurveType -") GetType; - GeomAbs_CurveType GetType (); - %feature("compactdefaultargs") Line; - %feature("autodoc", " :rtype: gp_Lin -") Line; - gp_Lin Line (); - %feature("compactdefaultargs") Circle; - %feature("autodoc", " :rtype: gp_Circ -") Circle; - gp_Circ Circle (); + /****************** Degree ******************/ + %feature("compactdefaultargs") Degree; + %feature("autodoc", ":rtype: int") Degree; + Standard_Integer Degree (); + + /****************** Edge ******************/ + %feature("compactdefaultargs") Edge; + %feature("autodoc", "* returns an edge and one parameter on them corresponding to the parameter U. + :param U: + :type U: float + :param E: + :type E: TopoDS_Edge & + :param UonE: + :type UonE: float & + :rtype: None") Edge; + void Edge (const Standard_Real U,TopoDS_Edge & E,Standard_Real &OutValue); + + /****************** Ellipse ******************/ %feature("compactdefaultargs") Ellipse; - %feature("autodoc", " :rtype: gp_Elips -") Ellipse; + %feature("autodoc", ":rtype: gp_Elips") Ellipse; gp_Elips Ellipse (); + + /****************** FirstParameter ******************/ + %feature("compactdefaultargs") FirstParameter; + %feature("autodoc", ":rtype: float") FirstParameter; + Standard_Real FirstParameter (); + + /****************** GetType ******************/ + %feature("compactdefaultargs") GetType; + %feature("autodoc", ":rtype: GeomAbs_CurveType") GetType; + GeomAbs_CurveType GetType (); + + /****************** Hyperbola ******************/ %feature("compactdefaultargs") Hyperbola; - %feature("autodoc", " :rtype: gp_Hypr -") Hyperbola; + %feature("autodoc", ":rtype: gp_Hypr") Hyperbola; gp_Hypr Hyperbola (); - %feature("compactdefaultargs") Parabola; - %feature("autodoc", " :rtype: gp_Parab -") Parabola; - gp_Parab Parabola (); - %feature("compactdefaultargs") Degree; - %feature("autodoc", " :rtype: int -") Degree; - Standard_Integer Degree (); + + /****************** Initialize ******************/ + %feature("compactdefaultargs") Initialize; + %feature("autodoc", "* Sets the wire . + :param W: + :type W: TopoDS_Wire & + :param KnotByCurvilinearAbcissa: + :type KnotByCurvilinearAbcissa: bool + :rtype: None") Initialize; + void Initialize (const TopoDS_Wire & W,const Standard_Boolean KnotByCurvilinearAbcissa); + + /****************** Initialize ******************/ + %feature("compactdefaultargs") Initialize; + %feature("autodoc", "* Sets wire and trimmed parameter. + :param W: + :type W: TopoDS_Wire & + :param KnotByCurvilinearAbcissa: + :type KnotByCurvilinearAbcissa: bool + :param First: + :type First: float + :param Last: + :type Last: float + :param Tol: + :type Tol: float + :rtype: None") Initialize; + void Initialize (const TopoDS_Wire & W,const Standard_Boolean KnotByCurvilinearAbcissa,const Standard_Real First,const Standard_Real Last,const Standard_Real Tol); + + /****************** Intervals ******************/ + %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() + :param T: + :type T: TColStd_Array1OfReal & + :param S: + :type S: GeomAbs_Shape + :rtype: None") Intervals; + void Intervals (TColStd_Array1OfReal & T,const GeomAbs_Shape S); + + /****************** IsClosed ******************/ + %feature("compactdefaultargs") IsClosed; + %feature("autodoc", ":rtype: bool") IsClosed; + Standard_Boolean IsClosed (); + + /****************** IsPeriodic ******************/ + %feature("compactdefaultargs") IsPeriodic; + %feature("autodoc", ":rtype: bool") IsPeriodic; + Standard_Boolean IsPeriodic (); + + /****************** IsRational ******************/ %feature("compactdefaultargs") IsRational; - %feature("autodoc", " :rtype: bool -") IsRational; + %feature("autodoc", ":rtype: bool") IsRational; Standard_Boolean IsRational (); - %feature("compactdefaultargs") NbPoles; - %feature("autodoc", " :rtype: int -") NbPoles; - Standard_Integer NbPoles (); + + /****************** LastParameter ******************/ + %feature("compactdefaultargs") LastParameter; + %feature("autodoc", ":rtype: float") LastParameter; + Standard_Real LastParameter (); + + /****************** Line ******************/ + %feature("compactdefaultargs") Line; + %feature("autodoc", ":rtype: gp_Lin") Line; + gp_Lin Line (); + + /****************** NbIntervals ******************/ + %feature("compactdefaultargs") NbIntervals; + %feature("autodoc", "* Returns the number of intervals for continuity . May be one if Continuity(me) >= + :param S: + :type S: GeomAbs_Shape + :rtype: int") NbIntervals; + Standard_Integer NbIntervals (const GeomAbs_Shape S); + + /****************** NbKnots ******************/ %feature("compactdefaultargs") NbKnots; - %feature("autodoc", " :rtype: int -") NbKnots; + %feature("autodoc", ":rtype: int") NbKnots; Standard_Integer NbKnots (); - %feature("compactdefaultargs") Bezier; - %feature("autodoc", " :rtype: Handle_Geom_BezierCurve -") Bezier; - Handle_Geom_BezierCurve Bezier (); - %feature("compactdefaultargs") BSpline; - %feature("autodoc", " :rtype: Handle_Geom_BSplineCurve -") BSpline; - Handle_Geom_BSplineCurve BSpline (); + + /****************** NbPoles ******************/ + %feature("compactdefaultargs") NbPoles; + %feature("autodoc", ":rtype: int") NbPoles; + Standard_Integer NbPoles (); + + /****************** Parabola ******************/ + %feature("compactdefaultargs") Parabola; + %feature("autodoc", ":rtype: gp_Parab") Parabola; + gp_Parab Parabola (); + + /****************** Period ******************/ + %feature("compactdefaultargs") Period; + %feature("autodoc", ":rtype: float") Period; + Standard_Real Period (); + + /****************** Resolution ******************/ + %feature("compactdefaultargs") Resolution; + %feature("autodoc", "* returns the parametric resolution + :param R3d: + :type R3d: float + :rtype: float") Resolution; + Standard_Real Resolution (const Standard_Real R3d); + + /****************** Trim ******************/ + %feature("compactdefaultargs") Trim; + %feature("autodoc", "* Returns a curve equivalent of between parameters and . is used to test for 3d points confusion. If >= + :param First: + :type First: float + :param Last: + :type Last: float + :param Tol: + :type Tol: float + :rtype: opencascade::handle") Trim; + opencascade::handle Trim (const Standard_Real First,const Standard_Real Last,const Standard_Real Tol); + + /****************** Value ******************/ + %feature("compactdefaultargs") Value; + %feature("autodoc", "* Computes the point of parameter U on the curve + :param U: + :type U: float + :rtype: gp_Pnt") Value; + gp_Pnt Value (const Standard_Real U); + + /****************** Wire ******************/ + %feature("compactdefaultargs") Wire; + %feature("autodoc", "* Returns the wire. + :rtype: TopoDS_Wire") Wire; + const TopoDS_Wire Wire (); + }; @@ -460,180 +409,96 @@ class BRepAdaptor_CompCurve : public Adaptor3d_Curve { __repr__ = _dumps_object } }; + +/************************** +* class BRepAdaptor_Curve * +**************************/ %nodefaultctor BRepAdaptor_Curve; class BRepAdaptor_Curve : public Adaptor3d_Curve { public: + /****************** BRepAdaptor_Curve ******************/ %feature("compactdefaultargs") BRepAdaptor_Curve; - %feature("autodoc", " * Creates an undefined Curve with no Edge loaded. - - :rtype: None -") BRepAdaptor_Curve; + %feature("autodoc", "* Creates an undefined Curve with no Edge loaded. + :rtype: None") BRepAdaptor_Curve; BRepAdaptor_Curve (); - %feature("compactdefaultargs") BRepAdaptor_Curve; - %feature("autodoc", " * Creates a Curve to acces to the geometry of edge . + /****************** BRepAdaptor_Curve ******************/ + %feature("compactdefaultargs") BRepAdaptor_Curve; + %feature("autodoc", "* Creates a Curve to acces to the geometry of edge . :param E: :type E: TopoDS_Edge & - :rtype: None -") BRepAdaptor_Curve; + :rtype: None") BRepAdaptor_Curve; BRepAdaptor_Curve (const TopoDS_Edge & E); - %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. + /****************** BRepAdaptor_Curve ******************/ + %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. :param E: :type E: TopoDS_Edge & :param F: :type F: TopoDS_Face & - :rtype: None -") BRepAdaptor_Curve; + :rtype: None") BRepAdaptor_Curve; BRepAdaptor_Curve (const TopoDS_Edge & E,const TopoDS_Face & F); - %feature("compactdefaultargs") Initialize; - %feature("autodoc", " * Sets the Curve to acces to the geometry of edge . - :param E: - :type E: TopoDS_Edge & - :rtype: None -") Initialize; - void Initialize (const TopoDS_Edge & E); - %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. + /****************** BSpline ******************/ + %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 + :rtype: opencascade::handle") BSpline; + opencascade::handle BSpline (); - :param E: - :type E: TopoDS_Edge & - :param F: - :type F: TopoDS_Face & - :rtype: None -") Initialize; - void Initialize (const TopoDS_Edge & E,const TopoDS_Face & F); - %feature("compactdefaultargs") Trsf; - %feature("autodoc", " * Returns the coordinate system of the curve. + /****************** Bezier ******************/ + %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 + :rtype: opencascade::handle") Bezier; + opencascade::handle Bezier (); - :rtype: gp_Trsf -") Trsf; - const gp_Trsf Trsf (); - %feature("compactdefaultargs") Is3DCurve; - %feature("autodoc", " * Returns True if the edge geometry is computed from a 3D curve. + /****************** Circle ******************/ + %feature("compactdefaultargs") Circle; + %feature("autodoc", ":rtype: gp_Circ") Circle; + gp_Circ Circle (); - :rtype: bool -") Is3DCurve; - Standard_Boolean Is3DCurve (); - %feature("compactdefaultargs") IsCurveOnSurface; - %feature("autodoc", " * Returns True if the edge geometry is computed from a pcurve on a surface. + /****************** Continuity ******************/ + %feature("compactdefaultargs") Continuity; + %feature("autodoc", ":rtype: GeomAbs_Shape") Continuity; + GeomAbs_Shape Continuity (); - :rtype: bool -") IsCurveOnSurface; - Standard_Boolean IsCurveOnSurface (); + /****************** Curve ******************/ %feature("compactdefaultargs") Curve; - %feature("autodoc", " * Returns the Curve of the edge. - - :rtype: GeomAdaptor_Curve -") Curve; + %feature("autodoc", "* Returns the Curve of the edge. + :rtype: GeomAdaptor_Curve") Curve; const GeomAdaptor_Curve & Curve (); - %feature("compactdefaultargs") CurveOnSurface; - %feature("autodoc", " * Returns the CurveOnSurface of the edge. - :rtype: Adaptor3d_CurveOnSurface -") CurveOnSurface; + /****************** CurveOnSurface ******************/ + %feature("compactdefaultargs") CurveOnSurface; + %feature("autodoc", "* Returns the CurveOnSurface of the edge. + :rtype: Adaptor3d_CurveOnSurface") CurveOnSurface; const Adaptor3d_CurveOnSurface & CurveOnSurface (); - %feature("compactdefaultargs") Edge; - %feature("autodoc", " * Returns the edge. - - :rtype: TopoDS_Edge -") Edge; - const TopoDS_Edge Edge (); - %feature("compactdefaultargs") Tolerance; - %feature("autodoc", " * Returns the edge tolerance. - :rtype: float -") Tolerance; - Standard_Real Tolerance (); - %feature("compactdefaultargs") FirstParameter; - %feature("autodoc", " :rtype: float -") FirstParameter; - Standard_Real FirstParameter (); - %feature("compactdefaultargs") LastParameter; - %feature("autodoc", " :rtype: float -") LastParameter; - Standard_Real LastParameter (); - %feature("compactdefaultargs") Continuity; - %feature("autodoc", " :rtype: GeomAbs_Shape -") Continuity; - GeomAbs_Shape Continuity (); - %feature("compactdefaultargs") NbIntervals; - %feature("autodoc", " * Returns the number of intervals for continuity . May be one if Continuity(me) >= - - :param S: - :type S: GeomAbs_Shape - :rtype: int -") NbIntervals; - Standard_Integer NbIntervals (const GeomAbs_Shape S); - %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() - - :param T: - :type T: TColStd_Array1OfReal & - :param S: - :type S: GeomAbs_Shape - :rtype: None -") Intervals; - void Intervals (TColStd_Array1OfReal & T,const GeomAbs_Shape S); - %feature("compactdefaultargs") Trim; - %feature("autodoc", " * Returns a curve equivalent of between parameters and . is used to test for 3d points confusion. If >= - - :param First: - :type First: float - :param Last: - :type Last: float - :param Tol: - :type Tol: float - :rtype: Handle_Adaptor3d_HCurve -") Trim; - Handle_Adaptor3d_HCurve Trim (const Standard_Real First,const Standard_Real Last,const Standard_Real Tol); - %feature("compactdefaultargs") IsClosed; - %feature("autodoc", " :rtype: bool -") IsClosed; - Standard_Boolean IsClosed (); - %feature("compactdefaultargs") IsPeriodic; - %feature("autodoc", " :rtype: bool -") IsPeriodic; - Standard_Boolean IsPeriodic (); - %feature("compactdefaultargs") Period; - %feature("autodoc", " :rtype: float -") Period; - Standard_Real Period (); - %feature("compactdefaultargs") Value; - %feature("autodoc", " * Computes the point of parameter U on the curve - - :param U: - :type U: float - :rtype: gp_Pnt -") Value; - gp_Pnt Value (const Standard_Real U); + /****************** D0 ******************/ %feature("compactdefaultargs") D0; - %feature("autodoc", " * Computes the point of parameter U. - + %feature("autodoc", "* Computes the point of parameter U. :param U: :type U: float :param P: :type P: gp_Pnt - :rtype: None -") D0; + :rtype: None") D0; void D0 (const Standard_Real U,gp_Pnt & P); - %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. + /****************** D1 ******************/ + %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. :param U: :type U: float :param P: :type P: gp_Pnt :param V: :type V: gp_Vec - :rtype: None -") D1; + :rtype: None") D1; void D1 (const Standard_Real U,gp_Pnt & P,gp_Vec & V); - %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. + /****************** D2 ******************/ + %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. :param U: :type U: float :param P: @@ -642,12 +507,12 @@ class BRepAdaptor_Curve : public Adaptor3d_Curve { :type V1: gp_Vec :param V2: :type V2: gp_Vec - :rtype: None -") D2; + :rtype: None") D2; void D2 (const Standard_Real U,gp_Pnt & P,gp_Vec & V1,gp_Vec & V2); - %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. + /****************** D3 ******************/ + %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. :param U: :type U: float :param P: @@ -658,79 +523,194 @@ class BRepAdaptor_Curve : public Adaptor3d_Curve { :type V2: gp_Vec :param V3: :type V3: gp_Vec - :rtype: None -") D3; + :rtype: None") D3; void D3 (const Standard_Real U,gp_Pnt & P,gp_Vec & V1,gp_Vec & V2,gp_Vec & V3); - %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. + /****************** DN ******************/ + %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. :param U: :type U: float :param N: :type N: int - :rtype: gp_Vec -") DN; + :rtype: gp_Vec") DN; gp_Vec DN (const Standard_Real U,const Standard_Integer N); - %feature("compactdefaultargs") Resolution; - %feature("autodoc", " * returns the parametric resolution - :param R3d: - :type R3d: float - :rtype: float -") Resolution; - Standard_Real Resolution (const Standard_Real R3d); - %feature("compactdefaultargs") GetType; - %feature("autodoc", " :rtype: GeomAbs_CurveType -") GetType; - GeomAbs_CurveType GetType (); - %feature("compactdefaultargs") Line; - %feature("autodoc", " :rtype: gp_Lin -") Line; - gp_Lin Line (); - %feature("compactdefaultargs") Circle; - %feature("autodoc", " :rtype: gp_Circ -") Circle; - gp_Circ Circle (); + /****************** Degree ******************/ + %feature("compactdefaultargs") Degree; + %feature("autodoc", ":rtype: int") Degree; + Standard_Integer Degree (); + + /****************** Edge ******************/ + %feature("compactdefaultargs") Edge; + %feature("autodoc", "* Returns the edge. + :rtype: TopoDS_Edge") Edge; + const TopoDS_Edge Edge (); + + /****************** Ellipse ******************/ %feature("compactdefaultargs") Ellipse; - %feature("autodoc", " :rtype: gp_Elips -") Ellipse; + %feature("autodoc", ":rtype: gp_Elips") Ellipse; gp_Elips Ellipse (); + + /****************** FirstParameter ******************/ + %feature("compactdefaultargs") FirstParameter; + %feature("autodoc", ":rtype: float") FirstParameter; + Standard_Real FirstParameter (); + + /****************** GetType ******************/ + %feature("compactdefaultargs") GetType; + %feature("autodoc", ":rtype: GeomAbs_CurveType") GetType; + GeomAbs_CurveType GetType (); + + /****************** Hyperbola ******************/ %feature("compactdefaultargs") Hyperbola; - %feature("autodoc", " :rtype: gp_Hypr -") Hyperbola; + %feature("autodoc", ":rtype: gp_Hypr") Hyperbola; gp_Hypr Hyperbola (); - %feature("compactdefaultargs") Parabola; - %feature("autodoc", " :rtype: gp_Parab -") Parabola; - gp_Parab Parabola (); - %feature("compactdefaultargs") Degree; - %feature("autodoc", " :rtype: int -") Degree; - Standard_Integer Degree (); + + /****************** Initialize ******************/ + %feature("compactdefaultargs") Initialize; + %feature("autodoc", "* Sets the Curve to acces to the geometry of edge . + :param E: + :type E: TopoDS_Edge & + :rtype: None") Initialize; + void Initialize (const TopoDS_Edge & E); + + /****************** Initialize ******************/ + %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. + :param E: + :type E: TopoDS_Edge & + :param F: + :type F: TopoDS_Face & + :rtype: None") Initialize; + void Initialize (const TopoDS_Edge & E,const TopoDS_Face & F); + + /****************** Intervals ******************/ + %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() + :param T: + :type T: TColStd_Array1OfReal & + :param S: + :type S: GeomAbs_Shape + :rtype: None") Intervals; + void Intervals (TColStd_Array1OfReal & T,const GeomAbs_Shape S); + + /****************** Is3DCurve ******************/ + %feature("compactdefaultargs") Is3DCurve; + %feature("autodoc", "* Returns True if the edge geometry is computed from a 3D curve. + :rtype: bool") Is3DCurve; + Standard_Boolean Is3DCurve (); + + /****************** IsClosed ******************/ + %feature("compactdefaultargs") IsClosed; + %feature("autodoc", ":rtype: bool") IsClosed; + Standard_Boolean IsClosed (); + + /****************** IsCurveOnSurface ******************/ + %feature("compactdefaultargs") IsCurveOnSurface; + %feature("autodoc", "* Returns True if the edge geometry is computed from a pcurve on a surface. + :rtype: bool") IsCurveOnSurface; + Standard_Boolean IsCurveOnSurface (); + + /****************** IsPeriodic ******************/ + %feature("compactdefaultargs") IsPeriodic; + %feature("autodoc", ":rtype: bool") IsPeriodic; + Standard_Boolean IsPeriodic (); + + /****************** IsRational ******************/ %feature("compactdefaultargs") IsRational; - %feature("autodoc", " :rtype: bool -") IsRational; + %feature("autodoc", ":rtype: bool") IsRational; Standard_Boolean IsRational (); - %feature("compactdefaultargs") NbPoles; - %feature("autodoc", " :rtype: int -") NbPoles; - Standard_Integer NbPoles (); + + /****************** LastParameter ******************/ + %feature("compactdefaultargs") LastParameter; + %feature("autodoc", ":rtype: float") LastParameter; + Standard_Real LastParameter (); + + /****************** Line ******************/ + %feature("compactdefaultargs") Line; + %feature("autodoc", ":rtype: gp_Lin") Line; + gp_Lin Line (); + + /****************** NbIntervals ******************/ + %feature("compactdefaultargs") NbIntervals; + %feature("autodoc", "* Returns the number of intervals for continuity . May be one if Continuity(me) >= + :param S: + :type S: GeomAbs_Shape + :rtype: int") NbIntervals; + Standard_Integer NbIntervals (const GeomAbs_Shape S); + + /****************** NbKnots ******************/ %feature("compactdefaultargs") NbKnots; - %feature("autodoc", " :rtype: int -") NbKnots; + %feature("autodoc", ":rtype: int") NbKnots; Standard_Integer NbKnots (); - %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 - :rtype: Handle_Geom_BezierCurve -") Bezier; - Handle_Geom_BezierCurve Bezier (); - %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 + /****************** NbPoles ******************/ + %feature("compactdefaultargs") NbPoles; + %feature("autodoc", ":rtype: int") NbPoles; + Standard_Integer NbPoles (); + + /****************** OffsetCurve ******************/ + %feature("compactdefaultargs") OffsetCurve; + %feature("autodoc", ":rtype: opencascade::handle") OffsetCurve; + opencascade::handle OffsetCurve (); + + /****************** Parabola ******************/ + %feature("compactdefaultargs") Parabola; + %feature("autodoc", ":rtype: gp_Parab") Parabola; + gp_Parab Parabola (); + + /****************** Period ******************/ + %feature("compactdefaultargs") Period; + %feature("autodoc", ":rtype: float") Period; + Standard_Real Period (); + + /****************** Reset ******************/ + %feature("compactdefaultargs") Reset; + %feature("autodoc", "* Reset currently loaded curve (undone Load()). + :rtype: None") Reset; + void Reset (); + + /****************** Resolution ******************/ + %feature("compactdefaultargs") Resolution; + %feature("autodoc", "* returns the parametric resolution + :param R3d: + :type R3d: float + :rtype: float") Resolution; + Standard_Real Resolution (const Standard_Real R3d); + + /****************** Tolerance ******************/ + %feature("compactdefaultargs") Tolerance; + %feature("autodoc", "* Returns the edge tolerance. + :rtype: float") Tolerance; + Standard_Real Tolerance (); + + /****************** Trim ******************/ + %feature("compactdefaultargs") Trim; + %feature("autodoc", "* Returns a curve equivalent of between parameters and . is used to test for 3d points confusion. If >= + :param First: + :type First: float + :param Last: + :type Last: float + :param Tol: + :type Tol: float + :rtype: opencascade::handle") Trim; + opencascade::handle Trim (const Standard_Real First,const Standard_Real Last,const Standard_Real Tol); + + /****************** Trsf ******************/ + %feature("compactdefaultargs") Trsf; + %feature("autodoc", "* Returns the coordinate system of the curve. + :rtype: gp_Trsf") Trsf; + const gp_Trsf Trsf (); + + /****************** Value ******************/ + %feature("compactdefaultargs") Value; + %feature("autodoc", "* Computes the point of parameter U on the curve + :param U: + :type U: float + :rtype: gp_Pnt") Value; + gp_Pnt Value (const Standard_Real U); - :rtype: Handle_Geom_BSplineCurve -") BSpline; - Handle_Geom_BSplineCurve BSpline (); }; @@ -739,47 +719,51 @@ class BRepAdaptor_Curve : public Adaptor3d_Curve { __repr__ = _dumps_object } }; + +/**************************** +* class BRepAdaptor_Curve2d * +****************************/ %nodefaultctor BRepAdaptor_Curve2d; class BRepAdaptor_Curve2d : public Geom2dAdaptor_Curve { public: + /****************** BRepAdaptor_Curve2d ******************/ %feature("compactdefaultargs") BRepAdaptor_Curve2d; - %feature("autodoc", " * Creates an uninitialized curve2d. - - :rtype: None -") BRepAdaptor_Curve2d; + %feature("autodoc", "* Creates an uninitialized curve2d. + :rtype: None") BRepAdaptor_Curve2d; BRepAdaptor_Curve2d (); - %feature("compactdefaultargs") BRepAdaptor_Curve2d; - %feature("autodoc", " * Creates with the pcurve of on . + /****************** BRepAdaptor_Curve2d ******************/ + %feature("compactdefaultargs") BRepAdaptor_Curve2d; + %feature("autodoc", "* Creates with the pcurve of on . :param E: :type E: TopoDS_Edge & :param F: :type F: TopoDS_Face & - :rtype: None -") BRepAdaptor_Curve2d; + :rtype: None") BRepAdaptor_Curve2d; BRepAdaptor_Curve2d (const TopoDS_Edge & E,const TopoDS_Face & F); - %feature("compactdefaultargs") Initialize; - %feature("autodoc", " * Initialize with the pcurve of on . + /****************** Edge ******************/ + %feature("compactdefaultargs") Edge; + %feature("autodoc", "* Returns the Edge. + :rtype: TopoDS_Edge") Edge; + const TopoDS_Edge Edge (); + + /****************** Face ******************/ + %feature("compactdefaultargs") Face; + %feature("autodoc", "* Returns the Face. + :rtype: TopoDS_Face") Face; + const TopoDS_Face Face (); + + /****************** Initialize ******************/ + %feature("compactdefaultargs") Initialize; + %feature("autodoc", "* Initialize with the pcurve of on . :param E: :type E: TopoDS_Edge & :param F: :type F: TopoDS_Face & - :rtype: None -") Initialize; + :rtype: None") Initialize; void Initialize (const TopoDS_Edge & E,const TopoDS_Face & F); - %feature("compactdefaultargs") Edge; - %feature("autodoc", " * Returns the Edge. - - :rtype: TopoDS_Edge -") Edge; - const TopoDS_Edge Edge (); - %feature("compactdefaultargs") Face; - %feature("autodoc", " * Returns the Face. - :rtype: TopoDS_Face -") Face; - const TopoDS_Face Face (); }; @@ -788,149 +772,53 @@ class BRepAdaptor_Curve2d : public Geom2dAdaptor_Curve { __repr__ = _dumps_object } }; -%nodefaultctor BRepAdaptor_HArray1OfCurve; -class BRepAdaptor_HArray1OfCurve : public MMgt_TShared { - public: - %feature("compactdefaultargs") BRepAdaptor_HArray1OfCurve; - %feature("autodoc", " :param Low: - :type Low: int - :param Up: - :type Up: int - :rtype: None -") BRepAdaptor_HArray1OfCurve; - BRepAdaptor_HArray1OfCurve (const Standard_Integer Low,const Standard_Integer Up); - %feature("compactdefaultargs") BRepAdaptor_HArray1OfCurve; - %feature("autodoc", " :param Low: - :type Low: int - :param Up: - :type Up: int - :param V: - :type V: BRepAdaptor_Curve & - :rtype: None -") BRepAdaptor_HArray1OfCurve; - BRepAdaptor_HArray1OfCurve (const Standard_Integer Low,const Standard_Integer Up,const BRepAdaptor_Curve & V); - %feature("compactdefaultargs") Init; - %feature("autodoc", " :param V: - :type V: BRepAdaptor_Curve & - :rtype: None -") Init; - void Init (const BRepAdaptor_Curve & V); - %feature("compactdefaultargs") Length; - %feature("autodoc", " :rtype: int -") Length; - Standard_Integer Length (); - %feature("compactdefaultargs") Lower; - %feature("autodoc", " :rtype: int -") Lower; - Standard_Integer Lower (); - %feature("compactdefaultargs") Upper; - %feature("autodoc", " :rtype: int -") Upper; - Standard_Integer Upper (); - %feature("compactdefaultargs") SetValue; - %feature("autodoc", " :param Index: - :type Index: int - :param Value: - :type Value: BRepAdaptor_Curve & - :rtype: None -") SetValue; - void SetValue (const Standard_Integer Index,const BRepAdaptor_Curve & Value); - %feature("compactdefaultargs") Value; - %feature("autodoc", " :param Index: - :type Index: int - :rtype: BRepAdaptor_Curve -") Value; - const BRepAdaptor_Curve & Value (const Standard_Integer Index); - %feature("compactdefaultargs") ChangeValue; - %feature("autodoc", " :param Index: - :type Index: int - :rtype: BRepAdaptor_Curve -") ChangeValue; - BRepAdaptor_Curve & ChangeValue (const Standard_Integer Index); - %feature("compactdefaultargs") Array1; - %feature("autodoc", " :rtype: BRepAdaptor_Array1OfCurve -") Array1; - const BRepAdaptor_Array1OfCurve & Array1 (); - %feature("compactdefaultargs") ChangeArray1; - %feature("autodoc", " :rtype: BRepAdaptor_Array1OfCurve -") ChangeArray1; - BRepAdaptor_Array1OfCurve & ChangeArray1 (); -}; - - -%make_alias(BRepAdaptor_HArray1OfCurve) - - -%extend BRepAdaptor_HArray1OfCurve { - %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 - } -}; -%extend BRepAdaptor_HArray1OfCurve { - %pythoncode { - __repr__ = _dumps_object - } -}; +/******************************* +* class BRepAdaptor_HCompCurve * +*******************************/ %nodefaultctor BRepAdaptor_HCompCurve; class BRepAdaptor_HCompCurve : public Adaptor3d_HCurve { public: + /****************** BRepAdaptor_HCompCurve ******************/ %feature("compactdefaultargs") BRepAdaptor_HCompCurve; - %feature("autodoc", " :rtype: None -") BRepAdaptor_HCompCurve; + %feature("autodoc", "* Creates an empty GenHCurve. + :rtype: None") BRepAdaptor_HCompCurve; BRepAdaptor_HCompCurve (); + + /****************** BRepAdaptor_HCompCurve ******************/ %feature("compactdefaultargs") BRepAdaptor_HCompCurve; - %feature("autodoc", " :param C: + %feature("autodoc", "* Creates a GenHCurve from a Curve + :param C: :type C: BRepAdaptor_CompCurve & - :rtype: None -") BRepAdaptor_HCompCurve; + :rtype: None") BRepAdaptor_HCompCurve; BRepAdaptor_HCompCurve (const BRepAdaptor_CompCurve & C); - %feature("compactdefaultargs") Set; - %feature("autodoc", " :param C: - :type C: BRepAdaptor_CompCurve & - :rtype: None -") Set; - void Set (const BRepAdaptor_CompCurve & C); + + /****************** ChangeCurve ******************/ + %feature("compactdefaultargs") ChangeCurve; + %feature("autodoc", "* Returns the curve used to create the GenHCurve. + :rtype: BRepAdaptor_CompCurve") ChangeCurve; + BRepAdaptor_CompCurve & ChangeCurve (); + + /****************** Curve ******************/ %feature("compactdefaultargs") Curve; - %feature("autodoc", " :rtype: Adaptor3d_Curve -") Curve; + %feature("autodoc", "* Returns the curve used to create the GenHCurve. This is redefined from HCurve, cannot be inline. + :rtype: Adaptor3d_Curve") Curve; const Adaptor3d_Curve & Curve (); + + /****************** GetCurve ******************/ %feature("compactdefaultargs") GetCurve; - %feature("autodoc", " :rtype: Adaptor3d_Curve -") GetCurve; + %feature("autodoc", "* Returns the curve used to create the GenHCurve. This is redefined from HCurve, cannot be inline. + :rtype: Adaptor3d_Curve") GetCurve; Adaptor3d_Curve & GetCurve (); - %feature("compactdefaultargs") ChangeCurve; - %feature("autodoc", " :rtype: BRepAdaptor_CompCurve -") ChangeCurve; - BRepAdaptor_CompCurve & ChangeCurve (); + + /****************** Set ******************/ + %feature("compactdefaultargs") Set; + %feature("autodoc", "* Sets the field of the GenHCurve. + :param C: + :type C: BRepAdaptor_CompCurve & + :rtype: None") Set; + void Set (const BRepAdaptor_CompCurve & C); + }; @@ -941,37 +829,53 @@ class BRepAdaptor_HCompCurve : public Adaptor3d_HCurve { __repr__ = _dumps_object } }; + +/*************************** +* class BRepAdaptor_HCurve * +***************************/ %nodefaultctor BRepAdaptor_HCurve; class BRepAdaptor_HCurve : public Adaptor3d_HCurve { public: + /****************** BRepAdaptor_HCurve ******************/ %feature("compactdefaultargs") BRepAdaptor_HCurve; - %feature("autodoc", " :rtype: None -") BRepAdaptor_HCurve; + %feature("autodoc", "* Creates an empty GenHCurve. + :rtype: None") BRepAdaptor_HCurve; BRepAdaptor_HCurve (); + + /****************** BRepAdaptor_HCurve ******************/ %feature("compactdefaultargs") BRepAdaptor_HCurve; - %feature("autodoc", " :param C: + %feature("autodoc", "* Creates a GenHCurve from a Curve + :param C: :type C: BRepAdaptor_Curve & - :rtype: None -") BRepAdaptor_HCurve; + :rtype: None") BRepAdaptor_HCurve; BRepAdaptor_HCurve (const BRepAdaptor_Curve & C); - %feature("compactdefaultargs") Set; - %feature("autodoc", " :param C: - :type C: BRepAdaptor_Curve & - :rtype: None -") Set; - void Set (const BRepAdaptor_Curve & C); + + /****************** ChangeCurve ******************/ + %feature("compactdefaultargs") ChangeCurve; + %feature("autodoc", "* Returns the curve used to create the GenHCurve. + :rtype: BRepAdaptor_Curve") ChangeCurve; + BRepAdaptor_Curve & ChangeCurve (); + + /****************** Curve ******************/ %feature("compactdefaultargs") Curve; - %feature("autodoc", " :rtype: Adaptor3d_Curve -") Curve; + %feature("autodoc", "* Returns the curve used to create the GenHCurve. This is redefined from HCurve, cannot be inline. + :rtype: Adaptor3d_Curve") Curve; const Adaptor3d_Curve & Curve (); + + /****************** GetCurve ******************/ %feature("compactdefaultargs") GetCurve; - %feature("autodoc", " :rtype: Adaptor3d_Curve -") GetCurve; + %feature("autodoc", "* Returns the curve used to create the GenHCurve. This is redefined from HCurve, cannot be inline. + :rtype: Adaptor3d_Curve") GetCurve; Adaptor3d_Curve & GetCurve (); - %feature("compactdefaultargs") ChangeCurve; - %feature("autodoc", " :rtype: BRepAdaptor_Curve -") ChangeCurve; - BRepAdaptor_Curve & ChangeCurve (); + + /****************** Set ******************/ + %feature("compactdefaultargs") Set; + %feature("autodoc", "* Sets the field of the GenHCurve. + :param C: + :type C: BRepAdaptor_Curve & + :rtype: None") Set; + void Set (const BRepAdaptor_Curve & C); + }; @@ -982,33 +886,47 @@ class BRepAdaptor_HCurve : public Adaptor3d_HCurve { __repr__ = _dumps_object } }; + +/***************************** +* class BRepAdaptor_HCurve2d * +*****************************/ %nodefaultctor BRepAdaptor_HCurve2d; class BRepAdaptor_HCurve2d : public Adaptor2d_HCurve2d { public: + /****************** BRepAdaptor_HCurve2d ******************/ %feature("compactdefaultargs") BRepAdaptor_HCurve2d; - %feature("autodoc", " :rtype: None -") BRepAdaptor_HCurve2d; + %feature("autodoc", "* Creates an empty GenHCurve2d. + :rtype: None") BRepAdaptor_HCurve2d; BRepAdaptor_HCurve2d (); + + /****************** BRepAdaptor_HCurve2d ******************/ %feature("compactdefaultargs") BRepAdaptor_HCurve2d; - %feature("autodoc", " :param C: + %feature("autodoc", "* Creates a GenHCurve2d from a Curve + :param C: :type C: BRepAdaptor_Curve2d & - :rtype: None -") BRepAdaptor_HCurve2d; + :rtype: None") BRepAdaptor_HCurve2d; BRepAdaptor_HCurve2d (const BRepAdaptor_Curve2d & C); - %feature("compactdefaultargs") Set; - %feature("autodoc", " :param C: - :type C: BRepAdaptor_Curve2d & - :rtype: None -") Set; - void Set (const BRepAdaptor_Curve2d & C); - %feature("compactdefaultargs") Curve2d; - %feature("autodoc", " :rtype: Adaptor2d_Curve2d -") Curve2d; - const Adaptor2d_Curve2d & Curve2d (); + + /****************** ChangeCurve2d ******************/ %feature("compactdefaultargs") ChangeCurve2d; - %feature("autodoc", " :rtype: BRepAdaptor_Curve2d -") ChangeCurve2d; + %feature("autodoc", "* Returns the curve used to create the GenHCurve. + :rtype: BRepAdaptor_Curve2d") ChangeCurve2d; BRepAdaptor_Curve2d & ChangeCurve2d (); + + /****************** Curve2d ******************/ + %feature("compactdefaultargs") Curve2d; + %feature("autodoc", "* Returns the curve used to create the GenHCurve2d. This is redefined from HCurve2d, cannot be inline. + :rtype: Adaptor2d_Curve2d") Curve2d; + const Adaptor2d_Curve2d & Curve2d (); + + /****************** Set ******************/ + %feature("compactdefaultargs") Set; + %feature("autodoc", "* Sets the field of the GenHCurve2d. + :param C: + :type C: BRepAdaptor_Curve2d & + :rtype: None") Set; + void Set (const BRepAdaptor_Curve2d & C); + }; @@ -1019,33 +937,47 @@ class BRepAdaptor_HCurve2d : public Adaptor2d_HCurve2d { __repr__ = _dumps_object } }; + +/***************************** +* class BRepAdaptor_HSurface * +*****************************/ %nodefaultctor BRepAdaptor_HSurface; class BRepAdaptor_HSurface : public Adaptor3d_HSurface { public: + /****************** BRepAdaptor_HSurface ******************/ %feature("compactdefaultargs") BRepAdaptor_HSurface; - %feature("autodoc", " :rtype: None -") BRepAdaptor_HSurface; + %feature("autodoc", "* Creates an empty GenHSurface. + :rtype: None") BRepAdaptor_HSurface; BRepAdaptor_HSurface (); + + /****************** BRepAdaptor_HSurface ******************/ %feature("compactdefaultargs") BRepAdaptor_HSurface; - %feature("autodoc", " :param S: + %feature("autodoc", "* Creates a GenHSurface from a Surface. + :param S: :type S: BRepAdaptor_Surface & - :rtype: None -") BRepAdaptor_HSurface; + :rtype: None") BRepAdaptor_HSurface; BRepAdaptor_HSurface (const BRepAdaptor_Surface & S); + + /****************** ChangeSurface ******************/ + %feature("compactdefaultargs") ChangeSurface; + %feature("autodoc", "* Returns the surface used to create the GenHSurface. + :rtype: BRepAdaptor_Surface") ChangeSurface; + BRepAdaptor_Surface & ChangeSurface (); + + /****************** Set ******************/ %feature("compactdefaultargs") Set; - %feature("autodoc", " :param S: + %feature("autodoc", "* Sets the field of the GenHSurface. + :param S: :type S: BRepAdaptor_Surface & - :rtype: None -") Set; + :rtype: None") Set; void Set (const BRepAdaptor_Surface & S); + + /****************** Surface ******************/ %feature("compactdefaultargs") Surface; - %feature("autodoc", " :rtype: Adaptor3d_Surface -") Surface; + %feature("autodoc", "* Returns a reference to the Surface inside the HSurface. This is redefined from HSurface, cannot be inline. + :rtype: Adaptor3d_Surface") Surface; const Adaptor3d_Surface & Surface (); - %feature("compactdefaultargs") ChangeSurface; - %feature("autodoc", " :rtype: BRepAdaptor_Surface -") ChangeSurface; - BRepAdaptor_Surface & ChangeSurface (); + }; @@ -1056,198 +988,87 @@ class BRepAdaptor_HSurface : public Adaptor3d_HSurface { __repr__ = _dumps_object } }; + +/**************************** +* class BRepAdaptor_Surface * +****************************/ %nodefaultctor BRepAdaptor_Surface; class BRepAdaptor_Surface : public Adaptor3d_Surface { public: - %feature("compactdefaultargs") BRepAdaptor_Surface; - %feature("autodoc", " * Creates an undefined surface with no face loaded. + /****************** AxeOfRevolution ******************/ + %feature("compactdefaultargs") AxeOfRevolution; + %feature("autodoc", ":rtype: gp_Ax1") AxeOfRevolution; + gp_Ax1 AxeOfRevolution (); - :rtype: None -") BRepAdaptor_Surface; - BRepAdaptor_Surface (); + /****************** BRepAdaptor_Surface ******************/ %feature("compactdefaultargs") BRepAdaptor_Surface; - %feature("autodoc", " * Creates a surface to access the geometry of . If is true the parameter range is the parameter range in the UV space of the restriction. + %feature("autodoc", "* Creates an undefined surface with no face loaded. + :rtype: None") BRepAdaptor_Surface; + BRepAdaptor_Surface (); + /****************** BRepAdaptor_Surface ******************/ + %feature("compactdefaultargs") BRepAdaptor_Surface; + %feature("autodoc", "* Creates a surface to access the geometry of . If is true the parameter range is the parameter range in the UV space of the restriction. :param F: :type F: TopoDS_Face & :param R: default value is Standard_True :type R: bool - :rtype: None -") BRepAdaptor_Surface; + :rtype: None") BRepAdaptor_Surface; BRepAdaptor_Surface (const TopoDS_Face & F,const Standard_Boolean R = Standard_True); - %feature("compactdefaultargs") Initialize; - %feature("autodoc", " * Sets the surface to the geometry of . - - :param F: - :type F: TopoDS_Face & - :param Restriction: default value is Standard_True - :type Restriction: bool - :rtype: None -") Initialize; - void Initialize (const TopoDS_Face & F,const Standard_Boolean Restriction = Standard_True); - %feature("compactdefaultargs") Surface; - %feature("autodoc", " * Returns the surface. - - :rtype: GeomAdaptor_Surface -") Surface; - const GeomAdaptor_Surface & Surface (); - %feature("compactdefaultargs") ChangeSurface; - %feature("autodoc", " * Returns the surface. - - :rtype: GeomAdaptor_Surface -") ChangeSurface; - GeomAdaptor_Surface & ChangeSurface (); - %feature("compactdefaultargs") Trsf; - %feature("autodoc", " * Returns the surface coordinate system. - - :rtype: gp_Trsf -") Trsf; - const gp_Trsf Trsf (); - %feature("compactdefaultargs") Face; - %feature("autodoc", " * Returns the face. - - :rtype: TopoDS_Face -") Face; - const TopoDS_Face Face (); - %feature("compactdefaultargs") Tolerance; - %feature("autodoc", " * Returns the face tolerance. - :rtype: float -") Tolerance; - Standard_Real Tolerance (); - %feature("compactdefaultargs") FirstUParameter; - %feature("autodoc", " :rtype: float -") FirstUParameter; - Standard_Real FirstUParameter (); - %feature("compactdefaultargs") LastUParameter; - %feature("autodoc", " :rtype: float -") LastUParameter; - Standard_Real LastUParameter (); - %feature("compactdefaultargs") FirstVParameter; - %feature("autodoc", " :rtype: float -") FirstVParameter; - Standard_Real FirstVParameter (); - %feature("compactdefaultargs") LastVParameter; - %feature("autodoc", " :rtype: float -") LastVParameter; - Standard_Real LastVParameter (); - %feature("compactdefaultargs") UContinuity; - %feature("autodoc", " :rtype: GeomAbs_Shape -") UContinuity; - GeomAbs_Shape UContinuity (); - %feature("compactdefaultargs") VContinuity; - %feature("autodoc", " :rtype: GeomAbs_Shape -") VContinuity; - GeomAbs_Shape VContinuity (); - %feature("compactdefaultargs") NbUIntervals; - %feature("autodoc", " * If necessary, breaks the surface in U intervals of continuity . And returns the number of intervals. + /****************** BSpline ******************/ + %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 + :rtype: opencascade::handle") BSpline; + opencascade::handle BSpline (); - :param S: - :type S: GeomAbs_Shape - :rtype: int -") NbUIntervals; - Standard_Integer NbUIntervals (const GeomAbs_Shape S); - %feature("compactdefaultargs") NbVIntervals; - %feature("autodoc", " * If necessary, breaks the surface in V intervals of continuity . And returns the number of intervals. + /****************** BasisCurve ******************/ + %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. + :rtype: opencascade::handle") BasisCurve; + opencascade::handle BasisCurve (); - :param S: - :type S: GeomAbs_Shape - :rtype: int -") NbVIntervals; - Standard_Integer NbVIntervals (const GeomAbs_Shape S); - %feature("compactdefaultargs") UIntervals; - %feature("autodoc", " * Returns the intervals with the requested continuity in the U direction. + /****************** BasisSurface ******************/ + %feature("compactdefaultargs") BasisSurface; + %feature("autodoc", ":rtype: opencascade::handle") BasisSurface; + opencascade::handle BasisSurface (); - :param T: - :type T: TColStd_Array1OfReal & - :param S: - :type S: GeomAbs_Shape - :rtype: None -") UIntervals; - void UIntervals (TColStd_Array1OfReal & T,const GeomAbs_Shape S); - %feature("compactdefaultargs") VIntervals; - %feature("autodoc", " * Returns the intervals with the requested continuity in the V direction. + /****************** Bezier ******************/ + %feature("compactdefaultargs") Bezier; + %feature("autodoc", ":rtype: opencascade::handle") Bezier; + opencascade::handle Bezier (); - :param T: - :type T: TColStd_Array1OfReal & - :param S: - :type S: GeomAbs_Shape - :rtype: None -") VIntervals; - void VIntervals (TColStd_Array1OfReal & T,const GeomAbs_Shape S); - %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 >= + /****************** ChangeSurface ******************/ + %feature("compactdefaultargs") ChangeSurface; + %feature("autodoc", "* Returns the surface. + :rtype: GeomAdaptor_Surface") ChangeSurface; + GeomAdaptor_Surface & ChangeSurface (); - :param First: - :type First: float - :param Last: - :type Last: float - :param Tol: - :type Tol: float - :rtype: Handle_Adaptor3d_HSurface -") UTrim; - Handle_Adaptor3d_HSurface UTrim (const Standard_Real First,const Standard_Real Last,const Standard_Real Tol); - %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 >= + /****************** Cone ******************/ + %feature("compactdefaultargs") Cone; + %feature("autodoc", ":rtype: gp_Cone") Cone; + gp_Cone Cone (); - :param First: - :type First: float - :param Last: - :type Last: float - :param Tol: - :type Tol: float - :rtype: Handle_Adaptor3d_HSurface -") VTrim; - Handle_Adaptor3d_HSurface VTrim (const Standard_Real First,const Standard_Real Last,const Standard_Real Tol); - %feature("compactdefaultargs") IsUClosed; - %feature("autodoc", " :rtype: bool -") IsUClosed; - Standard_Boolean IsUClosed (); - %feature("compactdefaultargs") IsVClosed; - %feature("autodoc", " :rtype: bool -") IsVClosed; - Standard_Boolean IsVClosed (); - %feature("compactdefaultargs") IsUPeriodic; - %feature("autodoc", " :rtype: bool -") IsUPeriodic; - Standard_Boolean IsUPeriodic (); - %feature("compactdefaultargs") UPeriod; - %feature("autodoc", " :rtype: float -") UPeriod; - Standard_Real UPeriod (); - %feature("compactdefaultargs") IsVPeriodic; - %feature("autodoc", " :rtype: bool -") IsVPeriodic; - Standard_Boolean IsVPeriodic (); - %feature("compactdefaultargs") VPeriod; - %feature("autodoc", " :rtype: float -") VPeriod; - Standard_Real VPeriod (); - %feature("compactdefaultargs") Value; - %feature("autodoc", " * Computes the point of parameters U,V on the surface. + /****************** Cylinder ******************/ + %feature("compactdefaultargs") Cylinder; + %feature("autodoc", ":rtype: gp_Cylinder") Cylinder; + gp_Cylinder Cylinder (); - :param U: - :type U: float - :param V: - :type V: float - :rtype: gp_Pnt -") Value; - gp_Pnt Value (const Standard_Real U,const Standard_Real V); + /****************** D0 ******************/ %feature("compactdefaultargs") D0; - %feature("autodoc", " * Computes the point of parameters U,V on the surface. - + %feature("autodoc", "* Computes the point of parameters U,V on the surface. :param U: :type U: float :param V: :type V: float :param P: :type P: gp_Pnt - :rtype: None -") D0; + :rtype: None") D0; void D0 (const Standard_Real U,const Standard_Real V,gp_Pnt & P); - %feature("compactdefaultargs") D1; - %feature("autodoc", " * Computes the point and the first derivatives on the surface. Raised if the continuity of the current intervals is not C1. + /****************** D1 ******************/ + %feature("compactdefaultargs") D1; + %feature("autodoc", "* Computes the point and the first derivatives on the surface. Raised if the continuity of the current intervals is not C1. :param U: :type U: float :param V: @@ -1258,12 +1079,12 @@ class BRepAdaptor_Surface : public Adaptor3d_Surface { :type D1U: gp_Vec :param D1V: :type D1V: gp_Vec - :rtype: None -") D1; + :rtype: None") D1; void D1 (const Standard_Real U,const Standard_Real V,gp_Pnt & P,gp_Vec & D1U,gp_Vec & D1V); - %feature("compactdefaultargs") D2; - %feature("autodoc", " * Computes the point, the first and second derivatives on the surface. Raised if the continuity of the current intervals is not C2. + /****************** D2 ******************/ + %feature("compactdefaultargs") D2; + %feature("autodoc", "* Computes the point, the first and second derivatives on the surface. Raised if the continuity of the current intervals is not C2. :param U: :type U: float :param V: @@ -1280,12 +1101,12 @@ class BRepAdaptor_Surface : public Adaptor3d_Surface { :type D2V: gp_Vec :param D2UV: :type D2UV: gp_Vec - :rtype: None -") D2; + :rtype: 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); - %feature("compactdefaultargs") D3; - %feature("autodoc", " * Computes the point, the first, second and third derivatives on the surface. Raised if the continuity of the current intervals is not C3. + /****************** D3 ******************/ + %feature("compactdefaultargs") D3; + %feature("autodoc", "* Computes the point, the first, second and third derivatives on the surface. Raised if the continuity of the current intervals is not C3. :param U: :type U: float :param V: @@ -1310,12 +1131,12 @@ class BRepAdaptor_Surface : public Adaptor3d_Surface { :type D3UUV: gp_Vec :param D3UVV: :type D3UVV: gp_Vec - :rtype: None -") D3; + :rtype: 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); - %feature("compactdefaultargs") DN; - %feature("autodoc", " * Computes the derivative of order Nu in the direction U and Nv in the direction V at the point P(U, V). Raised if the current U interval is not not CNu and the current V interval is not CNv. Raised if Nu + Nv < 1 or Nu < 0 or Nv < 0. + /****************** DN ******************/ + %feature("compactdefaultargs") DN; + %feature("autodoc", "* Computes the derivative of order Nu in the direction U and Nv in the direction V at the point P(U, V). Raised if the current U interval is not not CNu and the current V interval is not CNv. Raised if Nu + Nv < 1 or Nu < 0 or Nv < 0. :param U: :type U: float :param V: @@ -1324,115 +1145,260 @@ class BRepAdaptor_Surface : public Adaptor3d_Surface { :type Nu: int :param Nv: :type Nv: int - :rtype: gp_Vec -") DN; + :rtype: gp_Vec") DN; gp_Vec DN (const Standard_Real U,const Standard_Real V,const Standard_Integer Nu,const Standard_Integer Nv); - %feature("compactdefaultargs") UResolution; - %feature("autodoc", " * Returns the parametric U resolution corresponding to the real space resolution . - :param R3d: - :type R3d: float - :rtype: float -") UResolution; - Standard_Real UResolution (const Standard_Real R3d); - %feature("compactdefaultargs") VResolution; - %feature("autodoc", " * Returns the parametric V resolution corresponding to the real space resolution . + /****************** Direction ******************/ + %feature("compactdefaultargs") Direction; + %feature("autodoc", ":rtype: gp_Dir") Direction; + gp_Dir Direction (); - :param R3d: - :type R3d: float - :rtype: float -") VResolution; - Standard_Real VResolution (const Standard_Real R3d); - %feature("compactdefaultargs") GetType; - %feature("autodoc", " * Returns the type of the surface : Plane, Cylinder, Cone, Sphere, Torus, BezierSurface, BSplineSurface, SurfaceOfRevolution, SurfaceOfExtrusion, OtherSurface + /****************** Face ******************/ + %feature("compactdefaultargs") Face; + %feature("autodoc", "* Returns the face. + :rtype: TopoDS_Face") Face; + const TopoDS_Face Face (); - :rtype: GeomAbs_SurfaceType -") GetType; + /****************** FirstUParameter ******************/ + %feature("compactdefaultargs") FirstUParameter; + %feature("autodoc", ":rtype: float") FirstUParameter; + Standard_Real FirstUParameter (); + + /****************** FirstVParameter ******************/ + %feature("compactdefaultargs") FirstVParameter; + %feature("autodoc", ":rtype: float") FirstVParameter; + Standard_Real FirstVParameter (); + + /****************** GetType ******************/ + %feature("compactdefaultargs") GetType; + %feature("autodoc", "* Returns the type of the surface : Plane, Cylinder, Cone, Sphere, Torus, BezierSurface, BSplineSurface, SurfaceOfRevolution, SurfaceOfExtrusion, OtherSurface + :rtype: GeomAbs_SurfaceType") GetType; GeomAbs_SurfaceType GetType (); + + /****************** Initialize ******************/ + %feature("compactdefaultargs") Initialize; + %feature("autodoc", "* Sets the surface to the geometry of . + :param F: + :type F: TopoDS_Face & + :param Restriction: default value is Standard_True + :type Restriction: bool + :rtype: None") Initialize; + void Initialize (const TopoDS_Face & F,const Standard_Boolean Restriction = Standard_True); + + /****************** IsUClosed ******************/ + %feature("compactdefaultargs") IsUClosed; + %feature("autodoc", ":rtype: bool") IsUClosed; + Standard_Boolean IsUClosed (); + + /****************** IsUPeriodic ******************/ + %feature("compactdefaultargs") IsUPeriodic; + %feature("autodoc", ":rtype: bool") IsUPeriodic; + Standard_Boolean IsUPeriodic (); + + /****************** IsURational ******************/ + %feature("compactdefaultargs") IsURational; + %feature("autodoc", ":rtype: bool") IsURational; + Standard_Boolean IsURational (); + + /****************** IsVClosed ******************/ + %feature("compactdefaultargs") IsVClosed; + %feature("autodoc", ":rtype: bool") IsVClosed; + Standard_Boolean IsVClosed (); + + /****************** IsVPeriodic ******************/ + %feature("compactdefaultargs") IsVPeriodic; + %feature("autodoc", ":rtype: bool") IsVPeriodic; + Standard_Boolean IsVPeriodic (); + + /****************** IsVRational ******************/ + %feature("compactdefaultargs") IsVRational; + %feature("autodoc", ":rtype: bool") IsVRational; + Standard_Boolean IsVRational (); + + /****************** LastUParameter ******************/ + %feature("compactdefaultargs") LastUParameter; + %feature("autodoc", ":rtype: float") LastUParameter; + Standard_Real LastUParameter (); + + /****************** LastVParameter ******************/ + %feature("compactdefaultargs") LastVParameter; + %feature("autodoc", ":rtype: float") LastVParameter; + Standard_Real LastVParameter (); + + /****************** NbUIntervals ******************/ + %feature("compactdefaultargs") NbUIntervals; + %feature("autodoc", "* If necessary, breaks the surface in U intervals of continuity . And returns the number of intervals. + :param S: + :type S: GeomAbs_Shape + :rtype: int") NbUIntervals; + Standard_Integer NbUIntervals (const GeomAbs_Shape S); + + /****************** NbUKnots ******************/ + %feature("compactdefaultargs") NbUKnots; + %feature("autodoc", ":rtype: int") NbUKnots; + Standard_Integer NbUKnots (); + + /****************** NbUPoles ******************/ + %feature("compactdefaultargs") NbUPoles; + %feature("autodoc", ":rtype: int") NbUPoles; + Standard_Integer NbUPoles (); + + /****************** NbVIntervals ******************/ + %feature("compactdefaultargs") NbVIntervals; + %feature("autodoc", "* If necessary, breaks the surface in V intervals of continuity . And returns the number of intervals. + :param S: + :type S: GeomAbs_Shape + :rtype: int") NbVIntervals; + Standard_Integer NbVIntervals (const GeomAbs_Shape S); + + /****************** NbVKnots ******************/ + %feature("compactdefaultargs") NbVKnots; + %feature("autodoc", ":rtype: int") NbVKnots; + Standard_Integer NbVKnots (); + + /****************** NbVPoles ******************/ + %feature("compactdefaultargs") NbVPoles; + %feature("autodoc", ":rtype: int") NbVPoles; + Standard_Integer NbVPoles (); + + /****************** OffsetValue ******************/ + %feature("compactdefaultargs") OffsetValue; + %feature("autodoc", ":rtype: float") OffsetValue; + Standard_Real OffsetValue (); + + /****************** Plane ******************/ %feature("compactdefaultargs") Plane; - %feature("autodoc", " :rtype: gp_Pln -") Plane; + %feature("autodoc", ":rtype: gp_Pln") Plane; gp_Pln Plane (); - %feature("compactdefaultargs") Cylinder; - %feature("autodoc", " :rtype: gp_Cylinder -") Cylinder; - gp_Cylinder Cylinder (); - %feature("compactdefaultargs") Cone; - %feature("autodoc", " :rtype: gp_Cone -") Cone; - gp_Cone Cone (); + + /****************** Sphere ******************/ %feature("compactdefaultargs") Sphere; - %feature("autodoc", " :rtype: gp_Sphere -") Sphere; + %feature("autodoc", ":rtype: gp_Sphere") Sphere; gp_Sphere Sphere (); + + /****************** Surface ******************/ + %feature("compactdefaultargs") Surface; + %feature("autodoc", "* Returns the surface. + :rtype: GeomAdaptor_Surface") Surface; + const GeomAdaptor_Surface & Surface (); + + /****************** Tolerance ******************/ + %feature("compactdefaultargs") Tolerance; + %feature("autodoc", "* Returns the face tolerance. + :rtype: float") Tolerance; + Standard_Real Tolerance (); + + /****************** Torus ******************/ %feature("compactdefaultargs") Torus; - %feature("autodoc", " :rtype: gp_Torus -") Torus; + %feature("autodoc", ":rtype: gp_Torus") Torus; gp_Torus Torus (); + + /****************** Trsf ******************/ + %feature("compactdefaultargs") Trsf; + %feature("autodoc", "* Returns the surface coordinate system. + :rtype: gp_Trsf") Trsf; + const gp_Trsf Trsf (); + + /****************** UContinuity ******************/ + %feature("compactdefaultargs") UContinuity; + %feature("autodoc", ":rtype: GeomAbs_Shape") UContinuity; + GeomAbs_Shape UContinuity (); + + /****************** UDegree ******************/ %feature("compactdefaultargs") UDegree; - %feature("autodoc", " :rtype: int -") UDegree; + %feature("autodoc", ":rtype: int") UDegree; Standard_Integer UDegree (); - %feature("compactdefaultargs") NbUPoles; - %feature("autodoc", " :rtype: int -") NbUPoles; - Standard_Integer NbUPoles (); + + /****************** UIntervals ******************/ + %feature("compactdefaultargs") UIntervals; + %feature("autodoc", "* Returns the intervals with the requested continuity in the U direction. + :param T: + :type T: TColStd_Array1OfReal & + :param S: + :type S: GeomAbs_Shape + :rtype: None") UIntervals; + void UIntervals (TColStd_Array1OfReal & T,const GeomAbs_Shape S); + + /****************** UPeriod ******************/ + %feature("compactdefaultargs") UPeriod; + %feature("autodoc", ":rtype: float") UPeriod; + Standard_Real UPeriod (); + + /****************** UResolution ******************/ + %feature("compactdefaultargs") UResolution; + %feature("autodoc", "* Returns the parametric U resolution corresponding to the real space resolution . + :param R3d: + :type R3d: float + :rtype: float") UResolution; + Standard_Real UResolution (const Standard_Real R3d); + + /****************** UTrim ******************/ + %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 >= + :param First: + :type First: float + :param Last: + :type Last: float + :param Tol: + :type Tol: float + :rtype: opencascade::handle") UTrim; + opencascade::handle UTrim (const Standard_Real First,const Standard_Real Last,const Standard_Real Tol); + + /****************** VContinuity ******************/ + %feature("compactdefaultargs") VContinuity; + %feature("autodoc", ":rtype: GeomAbs_Shape") VContinuity; + GeomAbs_Shape VContinuity (); + + /****************** VDegree ******************/ %feature("compactdefaultargs") VDegree; - %feature("autodoc", " :rtype: int -") VDegree; + %feature("autodoc", ":rtype: int") VDegree; Standard_Integer VDegree (); - %feature("compactdefaultargs") NbVPoles; - %feature("autodoc", " :rtype: int -") NbVPoles; - Standard_Integer NbVPoles (); - %feature("compactdefaultargs") NbUKnots; - %feature("autodoc", " :rtype: int -") NbUKnots; - Standard_Integer NbUKnots (); - %feature("compactdefaultargs") NbVKnots; - %feature("autodoc", " :rtype: int -") NbVKnots; - Standard_Integer NbVKnots (); - %feature("compactdefaultargs") IsURational; - %feature("autodoc", " :rtype: bool -") IsURational; - Standard_Boolean IsURational (); - %feature("compactdefaultargs") IsVRational; - %feature("autodoc", " :rtype: bool -") IsVRational; - Standard_Boolean IsVRational (); - %feature("compactdefaultargs") Bezier; - %feature("autodoc", " :rtype: Handle_Geom_BezierSurface -") Bezier; - Handle_Geom_BezierSurface Bezier (); - %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 - :rtype: Handle_Geom_BSplineSurface -") BSpline; - Handle_Geom_BSplineSurface BSpline (); - %feature("compactdefaultargs") AxeOfRevolution; - %feature("autodoc", " :rtype: gp_Ax1 -") AxeOfRevolution; - gp_Ax1 AxeOfRevolution (); - %feature("compactdefaultargs") Direction; - %feature("autodoc", " :rtype: gp_Dir -") Direction; - gp_Dir Direction (); - %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. + /****************** VIntervals ******************/ + %feature("compactdefaultargs") VIntervals; + %feature("autodoc", "* Returns the intervals with the requested continuity in the V direction. + :param T: + :type T: TColStd_Array1OfReal & + :param S: + :type S: GeomAbs_Shape + :rtype: None") VIntervals; + void VIntervals (TColStd_Array1OfReal & T,const GeomAbs_Shape S); + + /****************** VPeriod ******************/ + %feature("compactdefaultargs") VPeriod; + %feature("autodoc", ":rtype: float") VPeriod; + Standard_Real VPeriod (); + + /****************** VResolution ******************/ + %feature("compactdefaultargs") VResolution; + %feature("autodoc", "* Returns the parametric V resolution corresponding to the real space resolution . + :param R3d: + :type R3d: float + :rtype: float") VResolution; + Standard_Real VResolution (const Standard_Real R3d); + + /****************** VTrim ******************/ + %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 >= + :param First: + :type First: float + :param Last: + :type Last: float + :param Tol: + :type Tol: float + :rtype: opencascade::handle") VTrim; + opencascade::handle VTrim (const Standard_Real First,const Standard_Real Last,const Standard_Real Tol); + + /****************** Value ******************/ + %feature("compactdefaultargs") Value; + %feature("autodoc", "* Computes the point of parameters U,V on the surface. + :param U: + :type U: float + :param V: + :type V: float + :rtype: gp_Pnt") Value; + gp_Pnt Value (const Standard_Real U,const Standard_Real V); - :rtype: Handle_Adaptor3d_HCurve -") BasisCurve; - Handle_Adaptor3d_HCurve BasisCurve (); - %feature("compactdefaultargs") BasisSurface; - %feature("autodoc", " :rtype: Handle_Adaptor3d_HSurface -") BasisSurface; - Handle_Adaptor3d_HSurface BasisSurface (); - %feature("compactdefaultargs") OffsetValue; - %feature("autodoc", " :rtype: float -") OffsetValue; - Standard_Real OffsetValue (); }; @@ -1441,3 +1407,18 @@ class BRepAdaptor_Surface : public Adaptor3d_Surface { __repr__ = _dumps_object } }; + +/* harray1 class */ +class BRepAdaptor_HArray1OfCurve : public BRepAdaptor_Array1OfCurve, public Standard_Transient { + public: + BRepAdaptor_HArray1OfCurve(const Standard_Integer theLower, const Standard_Integer theUpper); + BRepAdaptor_HArray1OfCurve(const Standard_Integer theLower, const Standard_Integer theUpper, const BRepAdaptor_Array1OfCurve::value_type& theValue); + BRepAdaptor_HArray1OfCurve(const BRepAdaptor_Array1OfCurve& theOther); + const BRepAdaptor_Array1OfCurve& Array1(); + BRepAdaptor_Array1OfCurve& ChangeArray1(); +}; +%make_alias(BRepAdaptor_HArray1OfCurve) + + +/* harray2 class */ +/* harray2 class */ diff --git a/src/SWIG_files/wrapper/BRepAdaptor_headers.i b/src/SWIG_files/wrapper/BRepAdaptor_headers.i deleted file mode 100644 index a442fa8be..000000000 --- a/src/SWIG_files/wrapper/BRepAdaptor_headers.i +++ /dev/null @@ -1,666 +0,0 @@ -/* -Copyright 2008-2017 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 . - -*/ -%{ -#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 -#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 -#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 -#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 -#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 -#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 -#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 -%}; -%import Standard.i -%import Adaptor3d.i -%import TopoDS.i -%import GeomAbs.i -%import TColStd.i -%import gp.i -%import Geom.i -%import GeomAdaptor.i -%import Geom2dAdaptor.i -%import MMgt.i -%import Adaptor2d.i diff --git a/src/SWIG_files/wrapper/BRepAlgo.i b/src/SWIG_files/wrapper/BRepAlgo.i index cc1487b34..00e5f0d8d 100644 --- a/src/SWIG_files/wrapper/BRepAlgo.i +++ b/src/SWIG_files/wrapper/BRepAlgo.i @@ -1,6 +1,5 @@ /* -Copyright 2008-2017 Thomas Paviot (tpaviot@gmail.com) - +Copyright 2008-2019 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -15,21 +14,13 @@ 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 BREPALGODOCSTRING -" -The BRepAlgo package provides a full range of -services to perform Old Boolean Operations in Open CASCADE. -Attention: -The New Boolean Operation has replaced the Old -Boolean Operations algorithm in the BrepAlgoAPI -package in Open CASCADE. -" +"BRepAlgo module, see official documentation at +https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brepalgo.html" %enddef %module (package="OCC.Core", docstring=BREPALGODOCSTRING) BRepAlgo -#pragma SWIG nowarn=504,325,503 %{ #ifdef WNT @@ -44,11 +35,56 @@ package in Open CASCADE. %include ../common/OccHandle.i -%include BRepAlgo_headers.i - -/* typedefs */ -/* end typedefs declaration */ - +%{ +#include + +//Dependencies +#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 +%}; +%import Standard.i +%import NCollection.i +%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 /* public enums */ enum BRepAlgo_CheckStatus { BRepAlgo_OK = 0, @@ -57,46 +93,61 @@ enum BRepAlgo_CheckStatus { /* end public enums declaration */ +/* handles */ %wrap_handle(BRepAlgo_AsDes) -%wrap_handle(BRepAlgo_DataMapNodeOfDataMapOfShapeBoolean) -%wrap_handle(BRepAlgo_DataMapNodeOfDataMapOfShapeInterference) -%wrap_handle(BRepAlgo_EdgeConnector) -%wrap_handle(BRepAlgo_SequenceNodeOfSequenceOfSequenceOfInteger) +/* end handles declaration */ + +/* templates */ +/* end templates declaration */ + +/* typedefs */ +/* end typedefs declaration */ +/***************** +* class BRepAlgo * +*****************/ %rename(brepalgo) BRepAlgo; class BRepAlgo { public: + /****************** ConcatenateWire ******************/ %feature("compactdefaultargs") ConcatenateWire; - %feature("autodoc", " * this method makes a wire whose edges are C1 from a Wire whose edges could be G1. It removes a vertex between G1 edges. Option can be G1 or C1. - + %feature("autodoc", "* this method makes a wire whose edges are C1 from a Wire whose edges could be G1. It removes a vertex between G1 edges. Option can be G1 or C1. :param Wire: :type Wire: TopoDS_Wire & :param Option: :type Option: GeomAbs_Shape :param AngularTolerance: default value is 1.0e-4 :type AngularTolerance: float - :rtype: TopoDS_Wire -") ConcatenateWire; + :rtype: TopoDS_Wire") ConcatenateWire; static TopoDS_Wire ConcatenateWire (const TopoDS_Wire & Wire,const GeomAbs_Shape Option,const Standard_Real AngularTolerance = 1.0e-4); - %feature("compactdefaultargs") ConcatenateWireC0; - %feature("autodoc", " * this method makes an edge from a wire. Junction points between edges of wire may be sharp, resulting curve of the resulting edge may be C0. + /****************** ConcatenateWireC0 ******************/ + %feature("compactdefaultargs") ConcatenateWireC0; + %feature("autodoc", "* this method makes an edge from a wire. Junction points between edges of wire may be sharp, resulting curve of the resulting edge may be C0. :param Wire: :type Wire: TopoDS_Wire & - :rtype: TopoDS_Edge -") ConcatenateWireC0; + :rtype: TopoDS_Edge") ConcatenateWireC0; static TopoDS_Edge ConcatenateWireC0 (const TopoDS_Wire & Wire); - %feature("compactdefaultargs") IsValid; - %feature("autodoc", " * Checks if the shape is 'correct'. If not, returns , else returns . + /****************** IsTopologicallyValid ******************/ + %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. :param S: :type S: TopoDS_Shape & - :rtype: bool -") IsValid; - static Standard_Boolean IsValid (const TopoDS_Shape & S); + :rtype: bool") IsTopologicallyValid; + static Standard_Boolean IsTopologicallyValid (const TopoDS_Shape & S); + + /****************** IsValid ******************/ %feature("compactdefaultargs") IsValid; - %feature("autodoc", " * Checks if the Generated and Modified Faces from the shapes in the shape are 'correct'. The args may be empty, then all faces will be checked. If is True, only closed shape are valid. If is False the geometry of new vertices and edges are not verified and the auto-intersection of new wires are not searched. + %feature("autodoc", "* Checks if the shape is 'correct'. If not, returns , else returns . + :param S: + :type S: TopoDS_Shape & + :rtype: bool") IsValid; + static Standard_Boolean IsValid (const TopoDS_Shape & S); + /****************** IsValid ******************/ + %feature("compactdefaultargs") IsValid; + %feature("autodoc", "* Checks if the Generated and Modified Faces from the shapes in the shape are 'correct'. The args may be empty, then all faces will be checked. If is True, only closed shape are valid. If is False the geometry of new vertices and edges are not verified and the auto-intersection of new wires are not searched. :param theArgs: :type theArgs: TopTools_ListOfShape & :param theResult: @@ -105,17 +156,9 @@ class BRepAlgo { :type closedSolid: bool :param GeomCtrl: default value is Standard_True :type GeomCtrl: bool - :rtype: bool -") IsValid; + :rtype: bool") IsValid; static Standard_Boolean IsValid (const TopTools_ListOfShape & theArgs,const TopoDS_Shape & theResult,const Standard_Boolean closedSolid = Standard_False,const Standard_Boolean GeomCtrl = Standard_True); - %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. - :param S: - :type S: TopoDS_Shape & - :rtype: bool -") IsTopologicallyValid; - static Standard_Boolean IsTopologicallyValid (const TopoDS_Shape & S); }; @@ -124,105 +167,112 @@ class BRepAlgo { __repr__ = _dumps_object } }; + +/*********************** +* class BRepAlgo_AsDes * +***********************/ %nodefaultctor BRepAlgo_AsDes; -class BRepAlgo_AsDes : public MMgt_TShared { +class BRepAlgo_AsDes : public Standard_Transient { public: - %feature("compactdefaultargs") BRepAlgo_AsDes; - %feature("autodoc", " * Creates an empty AsDes. - - :rtype: None -") BRepAlgo_AsDes; - BRepAlgo_AsDes (); - %feature("compactdefaultargs") Clear; - %feature("autodoc", " :rtype: None -") Clear; - void Clear (); + /****************** Add ******************/ %feature("compactdefaultargs") Add; - %feature("autodoc", " * Stores as a futur subshape of . - + %feature("autodoc", "* Stores as a futur subshape of . :param S: :type S: TopoDS_Shape & :param SS: :type SS: TopoDS_Shape & - :rtype: None -") Add; + :rtype: None") Add; void Add (const TopoDS_Shape & S,const TopoDS_Shape & SS); - %feature("compactdefaultargs") Add; - %feature("autodoc", " * Stores as futurs SubShapes of . + /****************** Add ******************/ + %feature("compactdefaultargs") Add; + %feature("autodoc", "* Stores as futurs SubShapes of . :param S: :type S: TopoDS_Shape & :param SS: :type SS: TopTools_ListOfShape & - :rtype: None -") Add; + :rtype: None") Add; void Add (const TopoDS_Shape & S,const TopTools_ListOfShape & SS); - %feature("compactdefaultargs") HasAscendant; - %feature("autodoc", " :param S: - :type S: TopoDS_Shape & - :rtype: bool -") HasAscendant; - Standard_Boolean HasAscendant (const TopoDS_Shape & S); - %feature("compactdefaultargs") HasDescendant; - %feature("autodoc", " :param S: - :type S: TopoDS_Shape & - :rtype: bool -") HasDescendant; - Standard_Boolean HasDescendant (const TopoDS_Shape & S); - %feature("compactdefaultargs") Ascendant; - %feature("autodoc", " * Returns the Shape containing . + /****************** Ascendant ******************/ + %feature("compactdefaultargs") Ascendant; + %feature("autodoc", "* Returns the Shape containing . :param S: :type S: TopoDS_Shape & - :rtype: TopTools_ListOfShape -") Ascendant; + :rtype: TopTools_ListOfShape") Ascendant; const TopTools_ListOfShape & Ascendant (const TopoDS_Shape & S); - %feature("compactdefaultargs") Descendant; - %feature("autodoc", " * Returns futur subhapes of . - :param S: - :type S: TopoDS_Shape & - :rtype: TopTools_ListOfShape -") Descendant; - const TopTools_ListOfShape & Descendant (const TopoDS_Shape & S); - %feature("compactdefaultargs") ChangeDescendant; - %feature("autodoc", " * Returns futur subhapes of . + /****************** BRepAlgo_AsDes ******************/ + %feature("compactdefaultargs") BRepAlgo_AsDes; + %feature("autodoc", "* Creates an empty AsDes. + :rtype: None") BRepAlgo_AsDes; + BRepAlgo_AsDes (); + /****************** ChangeDescendant ******************/ + %feature("compactdefaultargs") ChangeDescendant; + %feature("autodoc", "* Returns futur subhapes of . :param S: :type S: TopoDS_Shape & - :rtype: TopTools_ListOfShape -") ChangeDescendant; + :rtype: TopTools_ListOfShape") ChangeDescendant; TopTools_ListOfShape & ChangeDescendant (const TopoDS_Shape & S); - %feature("compactdefaultargs") Replace; - %feature("autodoc", " * Replace by . disapear from . - :param OldS: - :type OldS: TopoDS_Shape & - :param NewS: - :type NewS: TopoDS_Shape & - :rtype: None -") Replace; - void Replace (const TopoDS_Shape & OldS,const TopoDS_Shape & NewS); - %feature("compactdefaultargs") Remove; - %feature("autodoc", " * Remove from me. + /****************** Clear ******************/ + %feature("compactdefaultargs") Clear; + %feature("autodoc", ":rtype: None") Clear; + void Clear (); + /****************** Descendant ******************/ + %feature("compactdefaultargs") Descendant; + %feature("autodoc", "* Returns futur subhapes of . :param S: :type S: TopoDS_Shape & - :rtype: None -") Remove; - void Remove (const TopoDS_Shape & S); - %feature("compactdefaultargs") HasCommonDescendant; - %feature("autodoc", " * Returns True if (S1> and has common Descendants. Stores in the Commons Descendants. + :rtype: TopTools_ListOfShape") Descendant; + const TopTools_ListOfShape & Descendant (const TopoDS_Shape & S); + + /****************** HasAscendant ******************/ + %feature("compactdefaultargs") HasAscendant; + %feature("autodoc", ":param S: + :type S: TopoDS_Shape & + :rtype: bool") HasAscendant; + Standard_Boolean HasAscendant (const TopoDS_Shape & S); + /****************** HasCommonDescendant ******************/ + %feature("compactdefaultargs") HasCommonDescendant; + %feature("autodoc", "* Returns True if (S1> and has common Descendants. Stores in the Commons Descendants. :param S1: :type S1: TopoDS_Shape & :param S2: :type S2: TopoDS_Shape & :param LC: :type LC: TopTools_ListOfShape & - :rtype: bool -") HasCommonDescendant; + :rtype: bool") HasCommonDescendant; Standard_Boolean HasCommonDescendant (const TopoDS_Shape & S1,const TopoDS_Shape & S2,TopTools_ListOfShape & LC); + + /****************** HasDescendant ******************/ + %feature("compactdefaultargs") HasDescendant; + %feature("autodoc", ":param S: + :type S: TopoDS_Shape & + :rtype: bool") HasDescendant; + Standard_Boolean HasDescendant (const TopoDS_Shape & S); + + /****************** Remove ******************/ + %feature("compactdefaultargs") Remove; + %feature("autodoc", "* Remove from me. + :param S: + :type S: TopoDS_Shape & + :rtype: None") Remove; + void Remove (const TopoDS_Shape & S); + + /****************** Replace ******************/ + %feature("compactdefaultargs") Replace; + %feature("autodoc", "* Replace by . disapear from . + :param OldS: + :type OldS: TopoDS_Shape & + :param NewS: + :type NewS: TopoDS_Shape & + :rtype: None") Replace; + void Replace (const TopoDS_Shape & OldS,const TopoDS_Shape & NewS); + }; @@ -233,826 +283,131 @@ class BRepAlgo_AsDes : public MMgt_TShared { __repr__ = _dumps_object } }; + +/********************************** +* class BRepAlgo_BooleanOperation * +**********************************/ %nodefaultctor BRepAlgo_BooleanOperation; class BRepAlgo_BooleanOperation : public BRepBuilderAPI_MakeShape { public: - %feature("compactdefaultargs") Delete; - %feature("autodoc", " :rtype: void -") Delete; - virtual void Delete (); - %feature("compactdefaultargs") PerformDS; - %feature("autodoc", " :rtype: None -") PerformDS; - void PerformDS (); - %feature("compactdefaultargs") Perform; - %feature("autodoc", " :param St1: - :type St1: TopAbs_State - :param St2: - :type St2: TopAbs_State - :rtype: None -") Perform; - void Perform (const TopAbs_State St1,const TopAbs_State St2); + /****************** Builder ******************/ %feature("compactdefaultargs") Builder; - %feature("autodoc", " :rtype: Handle_TopOpeBRepBuild_HBuilder -") Builder; - Handle_TopOpeBRepBuild_HBuilder Builder (); - %feature("compactdefaultargs") Shape1; - %feature("autodoc", " * Returns the first shape involved in this Boolean operation. + %feature("autodoc", ":rtype: opencascade::handle") Builder; + opencascade::handle Builder (); - :rtype: TopoDS_Shape -") Shape1; - const TopoDS_Shape Shape1 (); - %feature("compactdefaultargs") Shape2; - %feature("autodoc", " * Returns the second shape involved in this Boolean operation. - - :rtype: TopoDS_Shape -") Shape2; - const TopoDS_Shape Shape2 (); - %feature("compactdefaultargs") Modified; - %feature("autodoc", " * Returns the list of shapes modified from the shape . - - :param S: - :type S: TopoDS_Shape & - :rtype: TopTools_ListOfShape -") Modified; - virtual const TopTools_ListOfShape & Modified (const TopoDS_Shape & S); + /****************** IsDeleted ******************/ %feature("compactdefaultargs") IsDeleted; - %feature("autodoc", " :param S: + %feature("autodoc", ":param S: :type S: TopoDS_Shape & - :rtype: bool -") IsDeleted; + :rtype: bool") IsDeleted; virtual Standard_Boolean IsDeleted (const TopoDS_Shape & S); -}; - - -%extend BRepAlgo_BooleanOperation { - %pythoncode { - __repr__ = _dumps_object - } -}; -%nodefaultctor BRepAlgo_BooleanOperations; -class BRepAlgo_BooleanOperations { - public: - %feature("compactdefaultargs") BRepAlgo_BooleanOperations; - %feature("autodoc", " :rtype: None -") BRepAlgo_BooleanOperations; - BRepAlgo_BooleanOperations (); - %feature("compactdefaultargs") Shapes2d; - %feature("autodoc", " * S1 is a Shell with ALL faces supported by the SAME S2 is an Edge INCLUDED in that surface with pcurve. this avoids a time-consuming 3D operation, compared to Shapes. - - :param S1: - :type S1: TopoDS_Shape & - :param S2: - :type S2: TopoDS_Shape & - :rtype: None -") Shapes2d; - void Shapes2d (const TopoDS_Shape & S1,const TopoDS_Shape & S2); - %feature("compactdefaultargs") Shapes; - %feature("autodoc", " * Defines the arguments. - - :param S1: - :type S1: TopoDS_Shape & - :param S2: - :type S2: TopoDS_Shape & - :rtype: None -") Shapes; - void Shapes (const TopoDS_Shape & S1,const TopoDS_Shape & S2); - %feature("compactdefaultargs") SetApproxParameters; - %feature("autodoc", " * Sets different parameters for the curve approximations : NbPntMax : Maximum number of points to be approximated at the same time in one curve. Tol3D, Tol2D : Tolerances to be reached by the approximation. RelativeTol : The given tolerances are relative. - - :param NbPntMax: - :type NbPntMax: int - :param Tol3D: - :type Tol3D: float - :param Tol2D: - :type Tol2D: float - :param RelativeTol: - :type RelativeTol: bool - :rtype: None -") SetApproxParameters; - void SetApproxParameters (const Standard_Integer NbPntMax,const Standard_Real Tol3D,const Standard_Real Tol2D,const Standard_Boolean RelativeTol); - %feature("compactdefaultargs") Define; - %feature("autodoc", " :param S1: - :type S1: TopoDS_Shape & - :param S2: - :type S2: TopoDS_Shape & - :param HDS: - :type HDS: Handle_TopOpeBRepDS_HDataStructure & - :rtype: None -") Define; - void Define (const TopoDS_Shape & S1,const TopoDS_Shape & S2,Handle_TopOpeBRepDS_HDataStructure & HDS); - %feature("compactdefaultargs") Common; - %feature("autodoc", " * returns the common part of the shapes. - - :rtype: TopoDS_Shape -") Common; - const TopoDS_Shape Common (); - %feature("compactdefaultargs") Fus; - %feature("autodoc", " * returns the fuse part of the shapes. - - :rtype: TopoDS_Shape -") Fus; - const TopoDS_Shape Fus (); - %feature("compactdefaultargs") Cut; - %feature("autodoc", " * returns the cut part of the shapes. - - :rtype: TopoDS_Shape -") Cut; - const TopoDS_Shape Cut (); - %feature("compactdefaultargs") Section; - %feature("autodoc", " * returns the intersection of the shapes. - - :rtype: TopoDS_Shape -") Section; - const TopoDS_Shape Section (); - %feature("compactdefaultargs") Shape; - %feature("autodoc", " * returns the result of the boolean operation. - - :rtype: TopoDS_Shape -") Shape; - const TopoDS_Shape Shape (); - %feature("compactdefaultargs") ShapeFrom; - %feature("autodoc", " * Returns the shape(s) resulting of the boolean operation issued from the shape . - :param S: - :type S: TopoDS_Shape & - :rtype: TopoDS_Shape -") ShapeFrom; - const TopoDS_Shape ShapeFrom (const TopoDS_Shape & S); + /****************** Modified ******************/ %feature("compactdefaultargs") Modified; - %feature("autodoc", " * Returns the list of the descendant shapes of the shape . - - :param S: - :type S: TopoDS_Shape & - :rtype: TopTools_ListOfShape -") Modified; - const TopTools_ListOfShape & Modified (const TopoDS_Shape & S); - %feature("compactdefaultargs") IsDeleted; - %feature("autodoc", " * Returns the fact that the shape has been deleted or not by the boolean operation. - - :param S: - :type S: TopoDS_Shape & - :rtype: bool -") IsDeleted; - Standard_Boolean IsDeleted (const TopoDS_Shape & S); - %feature("compactdefaultargs") DataStructure; - %feature("autodoc", " :rtype: Handle_TopOpeBRepDS_HDataStructure -") DataStructure; - Handle_TopOpeBRepDS_HDataStructure DataStructure (); - %feature("compactdefaultargs") ChangeDataStructure; - %feature("autodoc", " :rtype: Handle_TopOpeBRepDS_HDataStructure -") ChangeDataStructure; - Handle_TopOpeBRepDS_HDataStructure ChangeDataStructure (); - %feature("compactdefaultargs") Builder; - %feature("autodoc", " :rtype: Handle_TopOpeBRepBuild_HBuilder -") Builder; - Handle_TopOpeBRepBuild_HBuilder Builder (); - %feature("compactdefaultargs") ChangeBuilder; - %feature("autodoc", " :rtype: Handle_TopOpeBRepBuild_HBuilder -") ChangeBuilder; - Handle_TopOpeBRepBuild_HBuilder ChangeBuilder (); - %feature("compactdefaultargs") DataStructureAccess; - %feature("autodoc", " * returns the member myDSA. It is useful to then access the method GetSectionEdgeSet (wich is a member of DSAccess) - - :rtype: BRepAlgo_DSAccess -") DataStructureAccess; - BRepAlgo_DSAccess & DataStructureAccess (); -}; - - -%extend BRepAlgo_BooleanOperations { - %pythoncode { - __repr__ = _dumps_object - } -}; -%nodefaultctor BRepAlgo_DSAccess; -class BRepAlgo_DSAccess { - public: - %feature("compactdefaultargs") BRepAlgo_DSAccess; - %feature("autodoc", " :rtype: None -") BRepAlgo_DSAccess; - BRepAlgo_DSAccess (); - %feature("compactdefaultargs") Init; - %feature("autodoc", " * Clears the internal data structure, including the - - :rtype: None -") Init; - void Init (); - %feature("compactdefaultargs") Load; - %feature("autodoc", " * Loads the shape in DS. - + %feature("autodoc", "* Returns the list of shapes modified from the shape . :param S: :type S: TopoDS_Shape & - :rtype: None -") Load; - void Load (const TopoDS_Shape & S); - %feature("compactdefaultargs") Load; - %feature("autodoc", " * Loads two shapes in the DS without intersecting them. - - :param S1: - :type S1: TopoDS_Shape & - :param S2: - :type S2: TopoDS_Shape & - :rtype: None -") Load; - void Load (TopoDS_Shape & S1,TopoDS_Shape & S2); - %feature("compactdefaultargs") Intersect; - %feature("autodoc", " * Intersects two shapes at input and loads the DS with their intersection. Clears the TopOpeBRepBuild_HBuilder if necessary - - :rtype: None -") Intersect; - void Intersect (); - %feature("compactdefaultargs") Intersect; - %feature("autodoc", " * Intersects the faces contained in two given shapes and loads them in the DS. Clears the TopOpeBRepBuild_HBuilder if necessary - - :param S1: - :type S1: TopoDS_Shape & - :param S2: - :type S2: TopoDS_Shape & - :rtype: None -") Intersect; - void Intersect (const TopoDS_Shape & S1,const TopoDS_Shape & S2); - %feature("compactdefaultargs") SameDomain; - %feature("autodoc", " * This method does the same thing as the previous, but faster. There is no intersection face/face 3D. The faces have the same support(surface). No test of tangency (that is why it is faster). Intersects in 2d the faces tangent F1 anf F2. - - :param S1: - :type S1: TopoDS_Shape & - :param S2: - :type S2: TopoDS_Shape & - :rtype: None -") SameDomain; - void SameDomain (const TopoDS_Shape & S1,const TopoDS_Shape & S2); - %feature("compactdefaultargs") GetSectionEdgeSet; - %feature("autodoc", " * returns compounds of Edge connected with section, which contains sections between faces contained in S1 and S2. returns an empty list of Shape if S1 or S2 do not contain face. calls GetSectionEdgeSet() if it has not already been done - - :param S1: - :type S1: TopoDS_Shape & - :param S2: - :type S2: TopoDS_Shape & - :rtype: TopTools_ListOfShape -") GetSectionEdgeSet; - const TopTools_ListOfShape & GetSectionEdgeSet (const TopoDS_Shape & S1,const TopoDS_Shape & S2); - %feature("compactdefaultargs") GetSectionEdgeSet; - %feature("autodoc", " * returns all compounds of edges connected with section contained in the DS - - :rtype: TopTools_ListOfShape -") GetSectionEdgeSet; - const TopTools_ListOfShape & GetSectionEdgeSet (); - %feature("compactdefaultargs") IsWire; - %feature("autodoc", " * NYI - - :param Compound: - :type Compound: TopoDS_Shape & - :rtype: bool -") IsWire; - Standard_Boolean IsWire (const TopoDS_Shape & Compound); - %feature("compactdefaultargs") Wire; - %feature("autodoc", " * NYI - - :param Compound: - :type Compound: TopoDS_Shape & - :rtype: TopoDS_Shape -") Wire; - const TopoDS_Shape Wire (const TopoDS_Shape & Compound); - %feature("compactdefaultargs") SectionVertex; - %feature("autodoc", " * NYI returns the vertex of section, which contains the section between face S1 and edge S2 (returns an empty Shape if S1 is not a face or if S2 is not an edge) - - :param S1: - :type S1: TopoDS_Shape & - :param S2: - :type S2: TopoDS_Shape & - :rtype: TopTools_ListOfShape -") SectionVertex; - const TopTools_ListOfShape & SectionVertex (const TopoDS_Shape & S1,const TopoDS_Shape & S2); - %feature("compactdefaultargs") SuppressEdgeSet; - %feature("autodoc", " * Invalidates a complete line of section. All Edges connected by Vertex or a Wire. Can be a group of connected Edges, which do not form a standard Wire. - - :param Compound: - :type Compound: TopoDS_Shape & - :rtype: None -") SuppressEdgeSet; - void SuppressEdgeSet (const TopoDS_Shape & Compound); - %feature("compactdefaultargs") ChangeEdgeSet; - %feature("autodoc", " * Modifies a line of section. -- should be a Group of Edges connected by Vertex. -- Can be a Wire. Can be a group of connected Edges that do not form a standard Wire. should be sub-groupn of - - :param Old: - :type Old: TopoDS_Shape & - :param New: - :type New: TopoDS_Shape & - :rtype: None -") ChangeEdgeSet; - void ChangeEdgeSet (const TopoDS_Shape & Old,const TopoDS_Shape & New); - %feature("compactdefaultargs") SuppressSectionVertex; - %feature("autodoc", " * NYI Make invalid a Vertex of section. The Vertex shoud be reconstructed from a point. - - :param V: - :type V: TopoDS_Vertex & - :rtype: None -") SuppressSectionVertex; - void SuppressSectionVertex (const TopoDS_Vertex & V); - %feature("compactdefaultargs") Merge; - %feature("autodoc", " :param state1: - :type state1: TopAbs_State - :param state2: - :type state2: TopAbs_State - :rtype: TopoDS_Shape -") Merge; - const TopoDS_Shape Merge (const TopAbs_State state1,const TopAbs_State state2); - %feature("compactdefaultargs") Merge; - %feature("autodoc", " :param state1: - :type state1: TopAbs_State - :rtype: TopoDS_Shape -") Merge; - const TopoDS_Shape Merge (const TopAbs_State state1); - %feature("compactdefaultargs") Propagate; - %feature("autodoc", " * NYI Propagation of a state starting from the shape FromShape = edge or vertex of section, face or Coumpound de section. LoadShape is either S1, or S2 (see the method Load). Propagation from FromShape, on the states of LoadShape. Return a Wire in 2d, a Shell in 3d. Specifications are incomplete, to be redefined for the typologies correpsonding to and the result : exemple : FromShape resultat vertex wire (or edge) edge of section face (or shell) compound of section shell ... ... - - :param what: - :type what: TopAbs_State - :param FromShape: - :type FromShape: TopoDS_Shape & - :param LoadShape: - :type LoadShape: TopoDS_Shape & - :rtype: TopoDS_Shape -") Propagate; - const TopoDS_Shape Propagate (const TopAbs_State what,const TopoDS_Shape & FromShape,const TopoDS_Shape & LoadShape); - %feature("compactdefaultargs") PropagateFromSection; - %feature("autodoc", " * SectionShape est soit un Vertex de section(NYI), soit une Edge de section. Propagation des shapes de section en partant de SectionShape. return un Compound de section. - - :param SectionShape: - :type SectionShape: TopoDS_Shape & - :rtype: TopoDS_Shape -") PropagateFromSection; - const TopoDS_Shape PropagateFromSection (const TopoDS_Shape & SectionShape); - %feature("compactdefaultargs") Modified; - %feature("autodoc", " * Returns the list of the descendant shapes of the shape . + :rtype: TopTools_ListOfShape") Modified; + virtual const TopTools_ListOfShape & Modified (const TopoDS_Shape & S); - :param S: - :type S: TopoDS_Shape & - :rtype: TopTools_ListOfShape -") Modified; - const TopTools_ListOfShape & Modified (const TopoDS_Shape & S); - %feature("compactdefaultargs") Check; - %feature("autodoc", " * NYI coherence of the internal Data Structure. - - :rtype: BRepAlgo_CheckStatus -") Check; - BRepAlgo_CheckStatus Check (); - %feature("compactdefaultargs") DS; - %feature("autodoc", " :rtype: Handle_TopOpeBRepDS_HDataStructure -") DS; - Handle_TopOpeBRepDS_HDataStructure DS (); - %feature("compactdefaultargs") ChangeDS; - %feature("autodoc", " :rtype: Handle_TopOpeBRepDS_HDataStructure -") ChangeDS; - Handle_TopOpeBRepDS_HDataStructure ChangeDS (); - %feature("compactdefaultargs") Builder; - %feature("autodoc", " :rtype: Handle_TopOpeBRepBuild_HBuilder -") Builder; - Handle_TopOpeBRepBuild_HBuilder Builder (); - %feature("compactdefaultargs") ChangeBuilder; - %feature("autodoc", " :rtype: Handle_TopOpeBRepBuild_HBuilder -") ChangeBuilder; - Handle_TopOpeBRepBuild_HBuilder ChangeBuilder (); -}; + /****************** Perform ******************/ + %feature("compactdefaultargs") Perform; + %feature("autodoc", ":param St1: + :type St1: TopAbs_State + :param St2: + :type St2: TopAbs_State + :rtype: None") Perform; + void Perform (const TopAbs_State St1,const TopAbs_State St2); + /****************** PerformDS ******************/ + %feature("compactdefaultargs") PerformDS; + %feature("autodoc", ":rtype: None") PerformDS; + void PerformDS (); -%extend BRepAlgo_DSAccess { - %pythoncode { - __repr__ = _dumps_object - } -}; -%nodefaultctor BRepAlgo_DataMapIteratorOfDataMapOfShapeBoolean; -class BRepAlgo_DataMapIteratorOfDataMapOfShapeBoolean : public TCollection_BasicMapIterator { - public: - %feature("compactdefaultargs") BRepAlgo_DataMapIteratorOfDataMapOfShapeBoolean; - %feature("autodoc", " :rtype: None -") BRepAlgo_DataMapIteratorOfDataMapOfShapeBoolean; - BRepAlgo_DataMapIteratorOfDataMapOfShapeBoolean (); - %feature("compactdefaultargs") BRepAlgo_DataMapIteratorOfDataMapOfShapeBoolean; - %feature("autodoc", " :param aMap: - :type aMap: BRepAlgo_DataMapOfShapeBoolean & - :rtype: None -") BRepAlgo_DataMapIteratorOfDataMapOfShapeBoolean; - BRepAlgo_DataMapIteratorOfDataMapOfShapeBoolean (const BRepAlgo_DataMapOfShapeBoolean & aMap); - %feature("compactdefaultargs") Initialize; - %feature("autodoc", " :param aMap: - :type aMap: BRepAlgo_DataMapOfShapeBoolean & - :rtype: None -") Initialize; - void Initialize (const BRepAlgo_DataMapOfShapeBoolean & aMap); - %feature("compactdefaultargs") Key; - %feature("autodoc", " :rtype: TopoDS_Shape -") Key; - const TopoDS_Shape Key (); - %feature("compactdefaultargs") Value; - %feature("autodoc", " :rtype: bool -") Value; - const Standard_Boolean & Value (); -}; + /****************** Shape1 ******************/ + %feature("compactdefaultargs") Shape1; + %feature("autodoc", "* Returns the first shape involved in this Boolean operation. + :rtype: TopoDS_Shape") Shape1; + const TopoDS_Shape Shape1 (); + /****************** Shape2 ******************/ + %feature("compactdefaultargs") Shape2; + %feature("autodoc", "* Returns the second shape involved in this Boolean operation. + :rtype: TopoDS_Shape") Shape2; + const TopoDS_Shape Shape2 (); -%extend BRepAlgo_DataMapIteratorOfDataMapOfShapeBoolean { - %pythoncode { - __repr__ = _dumps_object - } -}; -%nodefaultctor BRepAlgo_DataMapIteratorOfDataMapOfShapeInterference; -class BRepAlgo_DataMapIteratorOfDataMapOfShapeInterference : public TCollection_BasicMapIterator { - public: - %feature("compactdefaultargs") BRepAlgo_DataMapIteratorOfDataMapOfShapeInterference; - %feature("autodoc", " :rtype: None -") BRepAlgo_DataMapIteratorOfDataMapOfShapeInterference; - BRepAlgo_DataMapIteratorOfDataMapOfShapeInterference (); - %feature("compactdefaultargs") BRepAlgo_DataMapIteratorOfDataMapOfShapeInterference; - %feature("autodoc", " :param aMap: - :type aMap: BRepAlgo_DataMapOfShapeInterference & - :rtype: None -") BRepAlgo_DataMapIteratorOfDataMapOfShapeInterference; - BRepAlgo_DataMapIteratorOfDataMapOfShapeInterference (const BRepAlgo_DataMapOfShapeInterference & aMap); - %feature("compactdefaultargs") Initialize; - %feature("autodoc", " :param aMap: - :type aMap: BRepAlgo_DataMapOfShapeInterference & - :rtype: None -") Initialize; - void Initialize (const BRepAlgo_DataMapOfShapeInterference & aMap); - %feature("compactdefaultargs") Key; - %feature("autodoc", " :rtype: TopoDS_Shape -") Key; - const TopoDS_Shape Key (); - %feature("compactdefaultargs") Value; - %feature("autodoc", " :rtype: Handle_TopOpeBRepDS_Interference -") Value; - Handle_TopOpeBRepDS_Interference Value (); }; -%extend BRepAlgo_DataMapIteratorOfDataMapOfShapeInterference { - %pythoncode { - __repr__ = _dumps_object - } -}; -%nodefaultctor BRepAlgo_DataMapNodeOfDataMapOfShapeBoolean; -class BRepAlgo_DataMapNodeOfDataMapOfShapeBoolean : public TCollection_MapNode { - public: - %feature("compactdefaultargs") BRepAlgo_DataMapNodeOfDataMapOfShapeBoolean; - %feature("autodoc", " :param K: - :type K: TopoDS_Shape & - :param I: - :type I: bool - :param n: - :type n: TCollection_MapNodePtr & - :rtype: None -") BRepAlgo_DataMapNodeOfDataMapOfShapeBoolean; - BRepAlgo_DataMapNodeOfDataMapOfShapeBoolean (const TopoDS_Shape & K,const Standard_Boolean & I,const TCollection_MapNodePtr & n); - %feature("compactdefaultargs") Key; - %feature("autodoc", " :rtype: TopoDS_Shape -") Key; - TopoDS_Shape Key (); - - %feature("autodoc","1"); - %extend { - Standard_Boolean GetValue() { - return (Standard_Boolean) $self->Value(); - } - }; - %feature("autodoc","1"); - %extend { - void SetValue(Standard_Boolean value ) { - $self->Value()=value; - } - }; - }; - - -%make_alias(BRepAlgo_DataMapNodeOfDataMapOfShapeBoolean) - -%extend BRepAlgo_DataMapNodeOfDataMapOfShapeBoolean { +%extend BRepAlgo_BooleanOperation { %pythoncode { __repr__ = _dumps_object } }; -%nodefaultctor BRepAlgo_DataMapNodeOfDataMapOfShapeInterference; -class BRepAlgo_DataMapNodeOfDataMapOfShapeInterference : public TCollection_MapNode { - public: - %feature("compactdefaultargs") BRepAlgo_DataMapNodeOfDataMapOfShapeInterference; - %feature("autodoc", " :param K: - :type K: TopoDS_Shape & - :param I: - :type I: Handle_TopOpeBRepDS_Interference & - :param n: - :type n: TCollection_MapNodePtr & - :rtype: None -") BRepAlgo_DataMapNodeOfDataMapOfShapeInterference; - BRepAlgo_DataMapNodeOfDataMapOfShapeInterference (const TopoDS_Shape & K,const Handle_TopOpeBRepDS_Interference & I,const TCollection_MapNodePtr & n); - %feature("compactdefaultargs") Key; - %feature("autodoc", " :rtype: TopoDS_Shape -") Key; - TopoDS_Shape Key (); - %feature("compactdefaultargs") Value; - %feature("autodoc", " :rtype: Handle_TopOpeBRepDS_Interference -") Value; - Handle_TopOpeBRepDS_Interference Value (); -}; - -%make_alias(BRepAlgo_DataMapNodeOfDataMapOfShapeInterference) - -%extend BRepAlgo_DataMapNodeOfDataMapOfShapeInterference { - %pythoncode { - __repr__ = _dumps_object - } -}; -%nodefaultctor BRepAlgo_DataMapOfShapeBoolean; -class BRepAlgo_DataMapOfShapeBoolean : public TCollection_BasicMap { +/******************************** +* class BRepAlgo_FaceRestrictor * +********************************/ +%nodefaultctor BRepAlgo_FaceRestrictor; +class BRepAlgo_FaceRestrictor { public: - %feature("compactdefaultargs") BRepAlgo_DataMapOfShapeBoolean; - %feature("autodoc", " :param NbBuckets: default value is 1 - :type NbBuckets: int - :rtype: None -") BRepAlgo_DataMapOfShapeBoolean; - BRepAlgo_DataMapOfShapeBoolean (const Standard_Integer NbBuckets = 1); - %feature("compactdefaultargs") Assign; - %feature("autodoc", " :param Other: - :type Other: BRepAlgo_DataMapOfShapeBoolean & - :rtype: BRepAlgo_DataMapOfShapeBoolean -") Assign; - BRepAlgo_DataMapOfShapeBoolean & Assign (const BRepAlgo_DataMapOfShapeBoolean & Other); - %feature("compactdefaultargs") operator =; - %feature("autodoc", " :param Other: - :type Other: BRepAlgo_DataMapOfShapeBoolean & - :rtype: BRepAlgo_DataMapOfShapeBoolean -") operator =; - BRepAlgo_DataMapOfShapeBoolean & operator = (const BRepAlgo_DataMapOfShapeBoolean & Other); - %feature("compactdefaultargs") ReSize; - %feature("autodoc", " :param NbBuckets: - :type NbBuckets: int - :rtype: None -") ReSize; - void ReSize (const Standard_Integer NbBuckets); - %feature("compactdefaultargs") Clear; - %feature("autodoc", " :rtype: None -") Clear; - void Clear (); - %feature("compactdefaultargs") Bind; - %feature("autodoc", " :param K: - :type K: TopoDS_Shape & - :param I: - :type I: bool - :rtype: bool -") Bind; - Standard_Boolean Bind (const TopoDS_Shape & K,const Standard_Boolean & I); - %feature("compactdefaultargs") IsBound; - %feature("autodoc", " :param K: - :type K: TopoDS_Shape & - :rtype: bool -") IsBound; - Standard_Boolean IsBound (const TopoDS_Shape & K); - %feature("compactdefaultargs") UnBind; - %feature("autodoc", " :param K: - :type K: TopoDS_Shape & - :rtype: bool -") UnBind; - Standard_Boolean UnBind (const TopoDS_Shape & K); - %feature("compactdefaultargs") Find; - %feature("autodoc", " :param K: - :type K: TopoDS_Shape & - :rtype: bool -") Find; - const Standard_Boolean & Find (const TopoDS_Shape & K); - %feature("compactdefaultargs") ChangeFind; - %feature("autodoc", " :param K: - :type K: TopoDS_Shape & - :rtype: bool -") ChangeFind; - Standard_Boolean & ChangeFind (const TopoDS_Shape & K); - %feature("compactdefaultargs") Find1; - %feature("autodoc", " :param K: - :type K: TopoDS_Shape & - :rtype: Standard_Address -") Find1; - Standard_Address Find1 (const TopoDS_Shape & K); - %feature("compactdefaultargs") ChangeFind1; - %feature("autodoc", " :param K: - :type K: TopoDS_Shape & - :rtype: Standard_Address -") ChangeFind1; - Standard_Address ChangeFind1 (const TopoDS_Shape & K); -}; + /****************** Add ******************/ + %feature("compactdefaultargs") Add; + %feature("autodoc", "* Add the wire to the set of wires. //! Warning: The Wires must be closed. //! The edges of can be modified if they have not pcurves on the surface of . In this case if is false the first pcurve of the edge is positionned on . if is True ,the Pcurve On is the projection of the curve 3d on . + :param W: + :type W: TopoDS_Wire & + :rtype: None") Add; + void Add (TopoDS_Wire & W); + /****************** BRepAlgo_FaceRestrictor ******************/ + %feature("compactdefaultargs") BRepAlgo_FaceRestrictor; + %feature("autodoc", ":rtype: None") BRepAlgo_FaceRestrictor; + BRepAlgo_FaceRestrictor (); -%extend BRepAlgo_DataMapOfShapeBoolean { - %pythoncode { - __repr__ = _dumps_object - } -}; -%nodefaultctor BRepAlgo_DataMapOfShapeInterference; -class BRepAlgo_DataMapOfShapeInterference : public TCollection_BasicMap { - public: - %feature("compactdefaultargs") BRepAlgo_DataMapOfShapeInterference; - %feature("autodoc", " :param NbBuckets: default value is 1 - :type NbBuckets: int - :rtype: None -") BRepAlgo_DataMapOfShapeInterference; - BRepAlgo_DataMapOfShapeInterference (const Standard_Integer NbBuckets = 1); - %feature("compactdefaultargs") Assign; - %feature("autodoc", " :param Other: - :type Other: BRepAlgo_DataMapOfShapeInterference & - :rtype: BRepAlgo_DataMapOfShapeInterference -") Assign; - BRepAlgo_DataMapOfShapeInterference & Assign (const BRepAlgo_DataMapOfShapeInterference & Other); - %feature("compactdefaultargs") operator =; - %feature("autodoc", " :param Other: - :type Other: BRepAlgo_DataMapOfShapeInterference & - :rtype: BRepAlgo_DataMapOfShapeInterference -") operator =; - BRepAlgo_DataMapOfShapeInterference & operator = (const BRepAlgo_DataMapOfShapeInterference & Other); - %feature("compactdefaultargs") ReSize; - %feature("autodoc", " :param NbBuckets: - :type NbBuckets: int - :rtype: None -") ReSize; - void ReSize (const Standard_Integer NbBuckets); + /****************** Clear ******************/ %feature("compactdefaultargs") Clear; - %feature("autodoc", " :rtype: None -") Clear; + %feature("autodoc", "* Removes all the Wires + :rtype: None") Clear; void Clear (); - %feature("compactdefaultargs") Bind; - %feature("autodoc", " :param K: - :type K: TopoDS_Shape & - :param I: - :type I: Handle_TopOpeBRepDS_Interference & - :rtype: bool -") Bind; - Standard_Boolean Bind (const TopoDS_Shape & K,const Handle_TopOpeBRepDS_Interference & I); - %feature("compactdefaultargs") IsBound; - %feature("autodoc", " :param K: - :type K: TopoDS_Shape & - :rtype: bool -") IsBound; - Standard_Boolean IsBound (const TopoDS_Shape & K); - %feature("compactdefaultargs") UnBind; - %feature("autodoc", " :param K: - :type K: TopoDS_Shape & - :rtype: bool -") UnBind; - Standard_Boolean UnBind (const TopoDS_Shape & K); - %feature("compactdefaultargs") Find; - %feature("autodoc", " :param K: - :type K: TopoDS_Shape & - :rtype: Handle_TopOpeBRepDS_Interference -") Find; - Handle_TopOpeBRepDS_Interference Find (const TopoDS_Shape & K); - %feature("compactdefaultargs") ChangeFind; - %feature("autodoc", " :param K: - :type K: TopoDS_Shape & - :rtype: Handle_TopOpeBRepDS_Interference -") ChangeFind; - Handle_TopOpeBRepDS_Interference ChangeFind (const TopoDS_Shape & K); - %feature("compactdefaultargs") Find1; - %feature("autodoc", " :param K: - :type K: TopoDS_Shape & - :rtype: Standard_Address -") Find1; - Standard_Address Find1 (const TopoDS_Shape & K); - %feature("compactdefaultargs") ChangeFind1; - %feature("autodoc", " :param K: - :type K: TopoDS_Shape & - :rtype: Standard_Address -") ChangeFind1; - Standard_Address ChangeFind1 (const TopoDS_Shape & K); -}; - - -%extend BRepAlgo_DataMapOfShapeInterference { - %pythoncode { - __repr__ = _dumps_object - } -}; -%nodefaultctor BRepAlgo_EdgeConnector; -class BRepAlgo_EdgeConnector : public MMgt_TShared { - public: - %feature("compactdefaultargs") BRepAlgo_EdgeConnector; - %feature("autodoc", " :rtype: None -") BRepAlgo_EdgeConnector; - BRepAlgo_EdgeConnector (); - %feature("compactdefaultargs") Add; - %feature("autodoc", " :param e: - :type e: TopoDS_Edge & - :rtype: None -") Add; - void Add (const TopoDS_Edge & e); - %feature("compactdefaultargs") Add; - %feature("autodoc", " :param LOEdge: - :type LOEdge: TopTools_ListOfShape & - :rtype: None -") Add; - void Add (TopTools_ListOfShape & LOEdge); - %feature("compactdefaultargs") AddStart; - %feature("autodoc", " :param e: - :type e: TopoDS_Shape & - :rtype: None -") AddStart; - void AddStart (const TopoDS_Shape & e); - %feature("compactdefaultargs") AddStart; - %feature("autodoc", " :param LOEdge: - :type LOEdge: TopTools_ListOfShape & - :rtype: None -") AddStart; - void AddStart (TopTools_ListOfShape & LOEdge); - %feature("compactdefaultargs") ClearStartElement; - %feature("autodoc", " :rtype: None -") ClearStartElement; - void ClearStartElement (); - %feature("compactdefaultargs") MakeBlock; - %feature("autodoc", " * returns a list of wire non standard - - :rtype: TopTools_ListOfShape -") MakeBlock; - TopTools_ListOfShape & MakeBlock (); - %feature("compactdefaultargs") Done; - %feature("autodoc", " :rtype: None -") Done; - void Done (); - %feature("compactdefaultargs") IsDone; - %feature("autodoc", " * NYI returns true if proceeded to MakeBlock() - - :rtype: bool -") IsDone; - Standard_Boolean IsDone (); - %feature("compactdefaultargs") IsWire; - %feature("autodoc", " * NYI returns true if W is a Wire standard. W must belong to the list returned by MakeBlock. - - :param W: - :type W: TopoDS_Shape & - :rtype: bool -") IsWire; - Standard_Boolean IsWire (const TopoDS_Shape & W); -}; - -%make_alias(BRepAlgo_EdgeConnector) + /****************** Current ******************/ + %feature("compactdefaultargs") Current; + %feature("autodoc", ":rtype: TopoDS_Face") Current; + TopoDS_Face Current (); -%extend BRepAlgo_EdgeConnector { - %pythoncode { - __repr__ = _dumps_object - } -}; -%nodefaultctor BRepAlgo_FaceRestrictor; -class BRepAlgo_FaceRestrictor { - public: - %feature("compactdefaultargs") BRepAlgo_FaceRestrictor; - %feature("autodoc", " :rtype: None -") BRepAlgo_FaceRestrictor; - BRepAlgo_FaceRestrictor (); + /****************** Init ******************/ %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 the surface of each new faces built. is used to update pcurves on edges if necessary. See Add(). :param F: :type F: TopoDS_Face & :param Proj: default value is Standard_False :type Proj: bool :param ControlOrientation: default value is Standard_False :type ControlOrientation: bool - :rtype: None -") Init; + :rtype: None") Init; void Init (const TopoDS_Face & F,const Standard_Boolean Proj = Standard_False,const Standard_Boolean ControlOrientation = Standard_False); - %feature("compactdefaultargs") Add; - %feature("autodoc", " * Add the wire to the set of wires. //! Warning: The Wires must be closed. //! The edges of can be modified if they have not pcurves on the surface of . In this case if is false the first pcurve of the edge is positionned on . if is True ,the Pcurve On is the projection of the curve 3d on . - - :param W: - :type W: TopoDS_Wire & - :rtype: None -") Add; - void Add (TopoDS_Wire & W); - %feature("compactdefaultargs") Clear; - %feature("autodoc", " * Removes all the Wires - - :rtype: None -") Clear; - void Clear (); - %feature("compactdefaultargs") Perform; - %feature("autodoc", " * Evaluate all the faces limited by the set of Wires. - :rtype: None -") Perform; - void Perform (); + /****************** IsDone ******************/ %feature("compactdefaultargs") IsDone; - %feature("autodoc", " :rtype: bool -") IsDone; + %feature("autodoc", ":rtype: bool") IsDone; Standard_Boolean IsDone (); + + /****************** More ******************/ %feature("compactdefaultargs") More; - %feature("autodoc", " :rtype: bool -") More; + %feature("autodoc", ":rtype: bool") More; Standard_Boolean More (); + + /****************** Next ******************/ %feature("compactdefaultargs") Next; - %feature("autodoc", " :rtype: None -") Next; + %feature("autodoc", ":rtype: None") Next; void Next (); - %feature("compactdefaultargs") Current; - %feature("autodoc", " :rtype: TopoDS_Face -") Current; - TopoDS_Face Current (); + + /****************** Perform ******************/ + %feature("compactdefaultargs") Perform; + %feature("autodoc", "* Evaluate all the faces limited by the set of Wires. + :rtype: None") Perform; + void Perform (); + }; @@ -1061,137 +416,147 @@ class BRepAlgo_FaceRestrictor { __repr__ = _dumps_object } }; + +/*********************** +* class BRepAlgo_Image * +***********************/ %nodefaultctor BRepAlgo_Image; class BRepAlgo_Image { public: - %feature("compactdefaultargs") BRepAlgo_Image; - %feature("autodoc", " :rtype: None -") BRepAlgo_Image; - BRepAlgo_Image (); - %feature("compactdefaultargs") SetRoot; - %feature("autodoc", " :param S: - :type S: TopoDS_Shape & - :rtype: None -") SetRoot; - void SetRoot (const TopoDS_Shape & S); - %feature("compactdefaultargs") Bind; - %feature("autodoc", " * Links as image of . - + /****************** Add ******************/ + %feature("compactdefaultargs") Add; + %feature("autodoc", "* Add to the image of . :param OldS: :type OldS: TopoDS_Shape & :param NewS: :type NewS: TopoDS_Shape & - :rtype: None -") Bind; - void Bind (const TopoDS_Shape & OldS,const TopoDS_Shape & NewS); - %feature("compactdefaultargs") Bind; - %feature("autodoc", " * Links as image of . + :rtype: None") Add; + void Add (const TopoDS_Shape & OldS,const TopoDS_Shape & NewS); + /****************** Add ******************/ + %feature("compactdefaultargs") Add; + %feature("autodoc", "* Add to the image of . :param OldS: :type OldS: TopoDS_Shape & :param NewS: :type NewS: TopTools_ListOfShape & - :rtype: None -") Bind; - void Bind (const TopoDS_Shape & OldS,const TopTools_ListOfShape & NewS); - %feature("compactdefaultargs") Add; - %feature("autodoc", " * Add to the image of . + :rtype: None") Add; + void Add (const TopoDS_Shape & OldS,const TopTools_ListOfShape & NewS); + /****************** BRepAlgo_Image ******************/ + %feature("compactdefaultargs") BRepAlgo_Image; + %feature("autodoc", ":rtype: None") BRepAlgo_Image; + BRepAlgo_Image (); + + /****************** Bind ******************/ + %feature("compactdefaultargs") Bind; + %feature("autodoc", "* Links as image of . :param OldS: :type OldS: TopoDS_Shape & :param NewS: :type NewS: TopoDS_Shape & - :rtype: None -") Add; - void Add (const TopoDS_Shape & OldS,const TopoDS_Shape & NewS); - %feature("compactdefaultargs") Add; - %feature("autodoc", " * Add to the image of . + :rtype: None") Bind; + void Bind (const TopoDS_Shape & OldS,const TopoDS_Shape & NewS); + /****************** Bind ******************/ + %feature("compactdefaultargs") Bind; + %feature("autodoc", "* Links as image of . :param OldS: :type OldS: TopoDS_Shape & :param NewS: :type NewS: TopTools_ListOfShape & - :rtype: None -") Add; - void Add (const TopoDS_Shape & OldS,const TopTools_ListOfShape & NewS); + :rtype: None") Bind; + void Bind (const TopoDS_Shape & OldS,const TopTools_ListOfShape & NewS); + + /****************** Clear ******************/ %feature("compactdefaultargs") Clear; - %feature("autodoc", " :rtype: None -") Clear; + %feature("autodoc", ":rtype: None") Clear; void Clear (); - %feature("compactdefaultargs") Remove; - %feature("autodoc", " * Remove to set of images. - :param S: - :type S: TopoDS_Shape & - :rtype: None -") Remove; - void Remove (const TopoDS_Shape & S); - %feature("compactdefaultargs") Roots; - %feature("autodoc", " :rtype: TopTools_ListOfShape -") Roots; - const TopTools_ListOfShape & Roots (); - %feature("compactdefaultargs") IsImage; - %feature("autodoc", " :param S: - :type S: TopoDS_Shape & - :rtype: bool -") IsImage; - Standard_Boolean IsImage (const TopoDS_Shape & S); - %feature("compactdefaultargs") ImageFrom; - %feature("autodoc", " * Returns the generator of + /****************** Compact ******************/ + %feature("compactdefaultargs") Compact; + %feature("autodoc", "* Keeps only the link between roots and lastimage. + :rtype: None") Compact; + void Compact (); + /****************** Filter ******************/ + %feature("compactdefaultargs") Filter; + %feature("autodoc", "* Deletes in the images the shape of type which are not in . Warning: Compact() must be call before. :param S: :type S: TopoDS_Shape & - :rtype: TopoDS_Shape -") ImageFrom; - const TopoDS_Shape ImageFrom (const TopoDS_Shape & S); - %feature("compactdefaultargs") Root; - %feature("autodoc", " * Returns the upper generator of + :param ShapeType: + :type ShapeType: TopAbs_ShapeEnum + :rtype: None") Filter; + void Filter (const TopoDS_Shape & S,const TopAbs_ShapeEnum ShapeType); - :param S: - :type S: TopoDS_Shape & - :rtype: TopoDS_Shape -") Root; - const TopoDS_Shape Root (const TopoDS_Shape & S); + /****************** HasImage ******************/ %feature("compactdefaultargs") HasImage; - %feature("autodoc", " :param S: + %feature("autodoc", ":param S: :type S: TopoDS_Shape & - :rtype: bool -") HasImage; + :rtype: bool") HasImage; Standard_Boolean HasImage (const TopoDS_Shape & S); - %feature("compactdefaultargs") Image; - %feature("autodoc", " * Returns the Image of . Returns in the list if HasImage(S) is false. + /****************** Image ******************/ + %feature("compactdefaultargs") Image; + %feature("autodoc", "* Returns the Image of . Returns in the list if HasImage(S) is false. :param S: :type S: TopoDS_Shape & - :rtype: TopTools_ListOfShape -") Image; + :rtype: TopTools_ListOfShape") Image; const TopTools_ListOfShape & Image (const TopoDS_Shape & S); - %feature("compactdefaultargs") LastImage; - %feature("autodoc", " * Stores in the images of images of...images of . contains only if HasImage(S) is false. + /****************** ImageFrom ******************/ + %feature("compactdefaultargs") ImageFrom; + %feature("autodoc", "* Returns the generator of + :param S: + :type S: TopoDS_Shape & + :rtype: TopoDS_Shape") ImageFrom; + const TopoDS_Shape ImageFrom (const TopoDS_Shape & S); + + /****************** IsImage ******************/ + %feature("compactdefaultargs") IsImage; + %feature("autodoc", ":param S: + :type S: TopoDS_Shape & + :rtype: bool") IsImage; + Standard_Boolean IsImage (const TopoDS_Shape & S); + + /****************** LastImage ******************/ + %feature("compactdefaultargs") LastImage; + %feature("autodoc", "* Stores in the images of images of...images of . contains only if HasImage(S) is false. :param S: :type S: TopoDS_Shape & :param L: :type L: TopTools_ListOfShape & - :rtype: None -") LastImage; + :rtype: None") LastImage; void LastImage (const TopoDS_Shape & S,TopTools_ListOfShape & L); - %feature("compactdefaultargs") Compact; - %feature("autodoc", " * Keeps only the link between roots and lastimage. - :rtype: None -") Compact; - void Compact (); - %feature("compactdefaultargs") Filter; - %feature("autodoc", " * Deletes in the images the shape of type which are not in . Warning: Compact() must be call before. + /****************** Remove ******************/ + %feature("compactdefaultargs") Remove; + %feature("autodoc", "* Remove to set of images. + :param S: + :type S: TopoDS_Shape & + :rtype: None") Remove; + void Remove (const TopoDS_Shape & S); + /****************** Root ******************/ + %feature("compactdefaultargs") Root; + %feature("autodoc", "* Returns the upper generator of :param S: :type S: TopoDS_Shape & - :param ShapeType: - :type ShapeType: TopAbs_ShapeEnum - :rtype: None -") Filter; - void Filter (const TopoDS_Shape & S,const TopAbs_ShapeEnum ShapeType); + :rtype: TopoDS_Shape") Root; + const TopoDS_Shape Root (const TopoDS_Shape & S); + + /****************** Roots ******************/ + %feature("compactdefaultargs") Roots; + %feature("autodoc", ":rtype: TopTools_ListOfShape") Roots; + const TopTools_ListOfShape & Roots (); + + /****************** SetRoot ******************/ + %feature("compactdefaultargs") SetRoot; + %feature("autodoc", ":param S: + :type S: TopoDS_Shape & + :rtype: None") SetRoot; + void SetRoot (const TopoDS_Shape & S); + }; @@ -1200,105 +565,111 @@ class BRepAlgo_Image { __repr__ = _dumps_object } }; + +/********************** +* class BRepAlgo_Loop * +**********************/ %nodefaultctor BRepAlgo_Loop; class BRepAlgo_Loop { public: - %feature("compactdefaultargs") BRepAlgo_Loop; - %feature("autodoc", " :rtype: None -") BRepAlgo_Loop; - BRepAlgo_Loop (); - %feature("compactdefaultargs") Init; - %feature("autodoc", " * Init with the set of edges must have pcurves on . - - :param F: - :type F: TopoDS_Face & - :rtype: None -") Init; - void Init (const TopoDS_Face & F); - %feature("compactdefaultargs") AddEdge; - %feature("autodoc", " * Add E with . will be copied and trim by vertices in . - - :param E: - :type E: TopoDS_Edge & - :param LV: - :type LV: TopTools_ListOfShape & - :rtype: None -") AddEdge; - void AddEdge (TopoDS_Edge & E,const TopTools_ListOfShape & LV); + /****************** AddConstEdge ******************/ %feature("compactdefaultargs") AddConstEdge; - %feature("autodoc", " * Add as const edge, E can be in the result. - + %feature("autodoc", "* Add as const edge, E can be in the result. :param E: :type E: TopoDS_Edge & - :rtype: None -") AddConstEdge; + :rtype: None") AddConstEdge; void AddConstEdge (const TopoDS_Edge & E); - %feature("compactdefaultargs") AddConstEdges; - %feature("autodoc", " * Add as a set of const edges. + /****************** AddConstEdges ******************/ + %feature("compactdefaultargs") AddConstEdges; + %feature("autodoc", "* Add as a set of const edges. :param LE: :type LE: TopTools_ListOfShape & - :rtype: None -") AddConstEdges; + :rtype: None") AddConstEdges; void AddConstEdges (const TopTools_ListOfShape & LE); - %feature("compactdefaultargs") Perform; - %feature("autodoc", " * Make loops. - :rtype: None -") Perform; - void Perform (); - %feature("compactdefaultargs") CutEdge; - %feature("autodoc", " * Cut the edge in several edges on the vertices. + /****************** AddEdge ******************/ + %feature("compactdefaultargs") AddEdge; + %feature("autodoc", "* Add E with . will be copied and trim by vertices in . + :param E: + :type E: TopoDS_Edge & + :param LV: + :type LV: TopTools_ListOfShape & + :rtype: None") AddEdge; + void AddEdge (TopoDS_Edge & E,const TopTools_ListOfShape & LV); + + /****************** BRepAlgo_Loop ******************/ + %feature("compactdefaultargs") BRepAlgo_Loop; + %feature("autodoc", ":rtype: None") BRepAlgo_Loop; + BRepAlgo_Loop (); + /****************** CutEdge ******************/ + %feature("compactdefaultargs") CutEdge; + %feature("autodoc", "* Cut the edge in several edges on the vertices. :param E: :type E: TopoDS_Edge & :param VonE: :type VonE: TopTools_ListOfShape & :param NE: :type NE: TopTools_ListOfShape & - :rtype: None -") CutEdge; + :rtype: None") CutEdge; void CutEdge (const TopoDS_Edge & E,const TopTools_ListOfShape & VonE,TopTools_ListOfShape & NE); - %feature("compactdefaultargs") NewWires; - %feature("autodoc", " * Returns the list of wires performed. can be an empty list. - :rtype: TopTools_ListOfShape -") NewWires; - const TopTools_ListOfShape & NewWires (); - %feature("compactdefaultargs") WiresToFaces; - %feature("autodoc", " * Build faces from the wires result. + /****************** GetVerticesForSubstitute ******************/ + %feature("compactdefaultargs") GetVerticesForSubstitute; + %feature("autodoc", "* Returns the datamap of vertices with their substitutes. + :param VerVerMap: + :type VerVerMap: TopTools_DataMapOfShapeShape & + :rtype: None") GetVerticesForSubstitute; + void GetVerticesForSubstitute (TopTools_DataMapOfShapeShape & VerVerMap); - :rtype: None -") WiresToFaces; - void WiresToFaces (); - %feature("compactdefaultargs") NewFaces; - %feature("autodoc", " * Returns the list of faces. Warning: The method as to be called before. can be an empty list. + /****************** Init ******************/ + %feature("compactdefaultargs") Init; + %feature("autodoc", "* Init with the set of edges must have pcurves on . + :param F: + :type F: TopoDS_Face & + :rtype: None") Init; + void Init (const TopoDS_Face & F); - :rtype: TopTools_ListOfShape -") NewFaces; - const TopTools_ListOfShape & NewFaces (); + /****************** NewEdges ******************/ %feature("compactdefaultargs") NewEdges; - %feature("autodoc", " * Returns the list of new edges built from an edge it can be an empty list. - + %feature("autodoc", "* Returns the list of new edges built from an edge it can be an empty list. :param E: :type E: TopoDS_Edge & - :rtype: TopTools_ListOfShape -") NewEdges; + :rtype: TopTools_ListOfShape") NewEdges; const TopTools_ListOfShape & NewEdges (const TopoDS_Edge & E); - %feature("compactdefaultargs") GetVerticesForSubstitute; - %feature("autodoc", " * Returns the datamap of vertices with their substitutes. - :param VerVerMap: - :type VerVerMap: TopTools_DataMapOfShapeShape & - :rtype: None -") GetVerticesForSubstitute; - void GetVerticesForSubstitute (TopTools_DataMapOfShapeShape & VerVerMap); + /****************** NewFaces ******************/ + %feature("compactdefaultargs") NewFaces; + %feature("autodoc", "* Returns the list of faces. Warning: The method as to be called before. can be an empty list. + :rtype: TopTools_ListOfShape") NewFaces; + const TopTools_ListOfShape & NewFaces (); + + /****************** NewWires ******************/ + %feature("compactdefaultargs") NewWires; + %feature("autodoc", "* Returns the list of wires performed. can be an empty list. + :rtype: TopTools_ListOfShape") NewWires; + const TopTools_ListOfShape & NewWires (); + + /****************** Perform ******************/ + %feature("compactdefaultargs") Perform; + %feature("autodoc", "* Make loops. + :rtype: None") Perform; + void Perform (); + + /****************** VerticesForSubstitute ******************/ %feature("compactdefaultargs") VerticesForSubstitute; - %feature("autodoc", " :param VerVerMap: + %feature("autodoc", ":param VerVerMap: :type VerVerMap: TopTools_DataMapOfShapeShape & - :rtype: None -") VerticesForSubstitute; + :rtype: None") VerticesForSubstitute; void VerticesForSubstitute (TopTools_DataMapOfShapeShape & VerVerMap); + + /****************** WiresToFaces ******************/ + %feature("compactdefaultargs") WiresToFaces; + %feature("autodoc", "* Build faces from the wires result. + :rtype: None") WiresToFaces; + void WiresToFaces (); + }; @@ -1307,323 +678,166 @@ class BRepAlgo_Loop { __repr__ = _dumps_object } }; + +/********************************** +* class BRepAlgo_NormalProjection * +**********************************/ %nodefaultctor BRepAlgo_NormalProjection; class BRepAlgo_NormalProjection { public: + /****************** Add ******************/ + %feature("compactdefaultargs") Add; + %feature("autodoc", "* Add an edge or a wire to the list of shape to project + :param ToProj: + :type ToProj: TopoDS_Shape & + :rtype: None") Add; + void Add (const TopoDS_Shape & ToProj); + + /****************** Ancestor ******************/ + %feature("compactdefaultargs") Ancestor; + %feature("autodoc", "* For a resulting edge, returns the corresponding initial edge. + :param E: + :type E: TopoDS_Edge & + :rtype: TopoDS_Shape") Ancestor; + const TopoDS_Shape Ancestor (const TopoDS_Edge & E); + + /****************** BRepAlgo_NormalProjection ******************/ %feature("compactdefaultargs") BRepAlgo_NormalProjection; - %feature("autodoc", " :rtype: None -") BRepAlgo_NormalProjection; + %feature("autodoc", ":rtype: None") BRepAlgo_NormalProjection; BRepAlgo_NormalProjection (); + + /****************** BRepAlgo_NormalProjection ******************/ %feature("compactdefaultargs") BRepAlgo_NormalProjection; - %feature("autodoc", " :param S: + %feature("autodoc", ":param S: :type S: TopoDS_Shape & - :rtype: None -") BRepAlgo_NormalProjection; + :rtype: None") BRepAlgo_NormalProjection; BRepAlgo_NormalProjection (const TopoDS_Shape & S); - %feature("compactdefaultargs") Init; - %feature("autodoc", " :param S: - :type S: TopoDS_Shape & - :rtype: None -") Init; - void Init (const TopoDS_Shape & S); - %feature("compactdefaultargs") Add; - %feature("autodoc", " * Add an edge or a wire to the list of shape to project - - :param ToProj: - :type ToProj: TopoDS_Shape & - :rtype: None -") Add; - void Add (const TopoDS_Shape & ToProj); - %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. - :param Tol3D: - :type Tol3D: float - :param Tol2D: - :type Tol2D: float - :param InternalContinuity: - :type InternalContinuity: GeomAbs_Shape - :param MaxDegree: - :type MaxDegree: int - :param MaxSeg: - :type MaxSeg: int - :rtype: None -") SetParams; - void SetParams (const Standard_Real Tol3D,const Standard_Real Tol2D,const GeomAbs_Shape InternalContinuity,const Standard_Integer MaxDegree,const Standard_Integer MaxSeg); - %feature("compactdefaultargs") SetDefaultParams; - %feature("autodoc", " * Set the parameters used for computation in their default values + /****************** Build ******************/ + %feature("compactdefaultargs") Build; + %feature("autodoc", "* Builds the result as a compound. + :rtype: None") Build; + void Build (); - :rtype: None -") SetDefaultParams; - void SetDefaultParams (); - %feature("compactdefaultargs") SetMaxDistance; - %feature("autodoc", " * Sets the maximum distance between target shape and shape to project. If this condition is not satisfied then corresponding part of solution is discarded. if MaxDist < 0 then this method does not affect the algorithm + /****************** BuildWire ******************/ + %feature("compactdefaultargs") BuildWire; + %feature("autodoc", "* build the result as a list of wire if possible in -- a first returns a wire only if there is only a wire. + :param Liste: + :type Liste: TopTools_ListOfShape & + :rtype: bool") BuildWire; + Standard_Boolean BuildWire (TopTools_ListOfShape & Liste); - :param MaxDist: - :type MaxDist: float - :rtype: None -") SetMaxDistance; - void SetMaxDistance (const Standard_Real MaxDist); + /****************** Compute3d ******************/ %feature("compactdefaultargs") Compute3d; - %feature("autodoc", " * if With3d = Standard_False the 3dcurve is not computed the initial 3dcurve is kept to build the resulting edges. - + %feature("autodoc", "* if With3d = Standard_False the 3dcurve is not computed the initial 3dcurve is kept to build the resulting edges. :param With3d: default value is Standard_True :type With3d: bool - :rtype: None -") Compute3d; + :rtype: None") Compute3d; void Compute3d (const Standard_Boolean With3d = Standard_True); - %feature("compactdefaultargs") SetLimit; - %feature("autodoc", " * Manage limitation of projected edges. - - :param FaceBoundaries: default value is Standard_True - :type FaceBoundaries: bool - :rtype: None -") SetLimit; - void SetLimit (const Standard_Boolean FaceBoundaries = Standard_True); - %feature("compactdefaultargs") Build; - %feature("autodoc", " * Builds the result as a compound. - :rtype: None -") Build; - void Build (); - %feature("compactdefaultargs") IsDone; - %feature("autodoc", " :rtype: bool -") IsDone; - Standard_Boolean IsDone (); - %feature("compactdefaultargs") Projection; - %feature("autodoc", " * returns the result - - :rtype: TopoDS_Shape -") Projection; - const TopoDS_Shape Projection (); - %feature("compactdefaultargs") Ancestor; - %feature("autodoc", " * For a resulting edge, returns the corresponding initial edge. - - :param E: - :type E: TopoDS_Edge & - :rtype: TopoDS_Shape -") Ancestor; - const TopoDS_Shape Ancestor (const TopoDS_Edge & E); + /****************** Couple ******************/ %feature("compactdefaultargs") Couple; - %feature("autodoc", " * For a projected edge, returns the corresponding initial face. - + %feature("autodoc", "* For a projected edge, returns the corresponding initial face. :param E: :type E: TopoDS_Edge & - :rtype: TopoDS_Shape -") Couple; + :rtype: TopoDS_Shape") Couple; const TopoDS_Shape Couple (const TopoDS_Edge & E); - %feature("compactdefaultargs") Generated; - %feature("autodoc", " * Returns the list of shapes generated from the shape . + /****************** Generated ******************/ + %feature("compactdefaultargs") Generated; + %feature("autodoc", "* Returns the list of shapes generated from the shape . :param S: :type S: TopoDS_Shape & - :rtype: TopTools_ListOfShape -") Generated; + :rtype: TopTools_ListOfShape") Generated; const TopTools_ListOfShape & Generated (const TopoDS_Shape & S); + + /****************** Init ******************/ + %feature("compactdefaultargs") Init; + %feature("autodoc", ":param S: + :type S: TopoDS_Shape & + :rtype: None") Init; + void Init (const TopoDS_Shape & S); + + /****************** IsDone ******************/ + %feature("compactdefaultargs") IsDone; + %feature("autodoc", ":rtype: bool") IsDone; + Standard_Boolean IsDone (); + + /****************** IsElementary ******************/ %feature("compactdefaultargs") IsElementary; - %feature("autodoc", " :param C: + %feature("autodoc", ":param C: :type C: Adaptor3d_Curve & - :rtype: bool -") IsElementary; + :rtype: bool") IsElementary; Standard_Boolean IsElementary (const Adaptor3d_Curve & C); - %feature("compactdefaultargs") BuildWire; - %feature("autodoc", " * build the result as a list of wire if possible in -- a first returns a wire only if there is only a wire. - :param Liste: - :type Liste: TopTools_ListOfShape & - :rtype: bool -") BuildWire; - Standard_Boolean BuildWire (TopTools_ListOfShape & Liste); -}; + /****************** Projection ******************/ + %feature("compactdefaultargs") Projection; + %feature("autodoc", "* returns the result + :rtype: TopoDS_Shape") Projection; + const TopoDS_Shape Projection (); + /****************** SetDefaultParams ******************/ + %feature("compactdefaultargs") SetDefaultParams; + %feature("autodoc", "* Set the parameters used for computation in their default values + :rtype: None") SetDefaultParams; + void SetDefaultParams (); -%extend BRepAlgo_NormalProjection { - %pythoncode { - __repr__ = _dumps_object - } -}; -%nodefaultctor BRepAlgo_SequenceNodeOfSequenceOfSequenceOfInteger; -class BRepAlgo_SequenceNodeOfSequenceOfSequenceOfInteger : public TCollection_SeqNode { - public: - %feature("compactdefaultargs") BRepAlgo_SequenceNodeOfSequenceOfSequenceOfInteger; - %feature("autodoc", " :param I: - :type I: TColStd_SequenceOfInteger & - :param n: - :type n: TCollection_SeqNodePtr & - :param p: - :type p: TCollection_SeqNodePtr & - :rtype: None -") BRepAlgo_SequenceNodeOfSequenceOfSequenceOfInteger; - BRepAlgo_SequenceNodeOfSequenceOfSequenceOfInteger (const TColStd_SequenceOfInteger & I,const TCollection_SeqNodePtr & n,const TCollection_SeqNodePtr & p); - %feature("compactdefaultargs") Value; - %feature("autodoc", " :rtype: TColStd_SequenceOfInteger -") Value; - TColStd_SequenceOfInteger & Value (); -}; + /****************** SetLimit ******************/ + %feature("compactdefaultargs") SetLimit; + %feature("autodoc", "* Manage limitation of projected edges. + :param FaceBoundaries: default value is Standard_True + :type FaceBoundaries: bool + :rtype: None") SetLimit; + void SetLimit (const Standard_Boolean FaceBoundaries = Standard_True); + /****************** SetMaxDistance ******************/ + %feature("compactdefaultargs") SetMaxDistance; + %feature("autodoc", "* Sets the maximum distance between target shape and shape to project. If this condition is not satisfied then corresponding part of solution is discarded. if MaxDist < 0 then this method does not affect the algorithm + :param MaxDist: + :type MaxDist: float + :rtype: None") SetMaxDistance; + void SetMaxDistance (const Standard_Real MaxDist); -%make_alias(BRepAlgo_SequenceNodeOfSequenceOfSequenceOfInteger) + /****************** SetParams ******************/ + %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. + :param Tol3D: + :type Tol3D: float + :param Tol2D: + :type Tol2D: float + :param InternalContinuity: + :type InternalContinuity: GeomAbs_Shape + :param MaxDegree: + :type MaxDegree: int + :param MaxSeg: + :type MaxSeg: int + :rtype: None") SetParams; + void SetParams (const Standard_Real Tol3D,const Standard_Real Tol2D,const GeomAbs_Shape InternalContinuity,const Standard_Integer MaxDegree,const Standard_Integer MaxSeg); -%extend BRepAlgo_SequenceNodeOfSequenceOfSequenceOfInteger { - %pythoncode { - __repr__ = _dumps_object - } -}; -%nodefaultctor BRepAlgo_SequenceOfSequenceOfInteger; -class BRepAlgo_SequenceOfSequenceOfInteger : public TCollection_BaseSequence { - public: - %feature("compactdefaultargs") BRepAlgo_SequenceOfSequenceOfInteger; - %feature("autodoc", " :rtype: None -") BRepAlgo_SequenceOfSequenceOfInteger; - BRepAlgo_SequenceOfSequenceOfInteger (); - %feature("compactdefaultargs") BRepAlgo_SequenceOfSequenceOfInteger; - %feature("autodoc", " :param Other: - :type Other: BRepAlgo_SequenceOfSequenceOfInteger & - :rtype: None -") BRepAlgo_SequenceOfSequenceOfInteger; - BRepAlgo_SequenceOfSequenceOfInteger (const BRepAlgo_SequenceOfSequenceOfInteger & Other); - %feature("compactdefaultargs") Clear; - %feature("autodoc", " :rtype: None -") Clear; - void Clear (); - %feature("compactdefaultargs") Assign; - %feature("autodoc", " :param Other: - :type Other: BRepAlgo_SequenceOfSequenceOfInteger & - :rtype: BRepAlgo_SequenceOfSequenceOfInteger -") Assign; - const BRepAlgo_SequenceOfSequenceOfInteger & Assign (const BRepAlgo_SequenceOfSequenceOfInteger & Other); - %feature("compactdefaultargs") operator =; - %feature("autodoc", " :param Other: - :type Other: BRepAlgo_SequenceOfSequenceOfInteger & - :rtype: BRepAlgo_SequenceOfSequenceOfInteger -") operator =; - const BRepAlgo_SequenceOfSequenceOfInteger & operator = (const BRepAlgo_SequenceOfSequenceOfInteger & Other); - %feature("compactdefaultargs") Append; - %feature("autodoc", " :param T: - :type T: TColStd_SequenceOfInteger & - :rtype: None -") Append; - void Append (const TColStd_SequenceOfInteger & T); - %feature("compactdefaultargs") Append; - %feature("autodoc", " :param S: - :type S: BRepAlgo_SequenceOfSequenceOfInteger & - :rtype: None -") Append; - void Append (BRepAlgo_SequenceOfSequenceOfInteger & S); - %feature("compactdefaultargs") Prepend; - %feature("autodoc", " :param T: - :type T: TColStd_SequenceOfInteger & - :rtype: None -") Prepend; - void Prepend (const TColStd_SequenceOfInteger & T); - %feature("compactdefaultargs") Prepend; - %feature("autodoc", " :param S: - :type S: BRepAlgo_SequenceOfSequenceOfInteger & - :rtype: None -") Prepend; - void Prepend (BRepAlgo_SequenceOfSequenceOfInteger & S); - %feature("compactdefaultargs") InsertBefore; - %feature("autodoc", " :param Index: - :type Index: int - :param T: - :type T: TColStd_SequenceOfInteger & - :rtype: None -") InsertBefore; - void InsertBefore (const Standard_Integer Index,const TColStd_SequenceOfInteger & T); - %feature("compactdefaultargs") InsertBefore; - %feature("autodoc", " :param Index: - :type Index: int - :param S: - :type S: BRepAlgo_SequenceOfSequenceOfInteger & - :rtype: None -") InsertBefore; - void InsertBefore (const Standard_Integer Index,BRepAlgo_SequenceOfSequenceOfInteger & S); - %feature("compactdefaultargs") InsertAfter; - %feature("autodoc", " :param Index: - :type Index: int - :param T: - :type T: TColStd_SequenceOfInteger & - :rtype: None -") InsertAfter; - void InsertAfter (const Standard_Integer Index,const TColStd_SequenceOfInteger & T); - %feature("compactdefaultargs") InsertAfter; - %feature("autodoc", " :param Index: - :type Index: int - :param S: - :type S: BRepAlgo_SequenceOfSequenceOfInteger & - :rtype: None -") InsertAfter; - void InsertAfter (const Standard_Integer Index,BRepAlgo_SequenceOfSequenceOfInteger & S); - %feature("compactdefaultargs") First; - %feature("autodoc", " :rtype: TColStd_SequenceOfInteger -") First; - const TColStd_SequenceOfInteger & First (); - %feature("compactdefaultargs") Last; - %feature("autodoc", " :rtype: TColStd_SequenceOfInteger -") Last; - const TColStd_SequenceOfInteger & Last (); - %feature("compactdefaultargs") Split; - %feature("autodoc", " :param Index: - :type Index: int - :param Sub: - :type Sub: BRepAlgo_SequenceOfSequenceOfInteger & - :rtype: None -") Split; - void Split (const Standard_Integer Index,BRepAlgo_SequenceOfSequenceOfInteger & Sub); - %feature("compactdefaultargs") Value; - %feature("autodoc", " :param Index: - :type Index: int - :rtype: TColStd_SequenceOfInteger -") Value; - const TColStd_SequenceOfInteger & Value (const Standard_Integer Index); - %feature("compactdefaultargs") SetValue; - %feature("autodoc", " :param Index: - :type Index: int - :param I: - :type I: TColStd_SequenceOfInteger & - :rtype: None -") SetValue; - void SetValue (const Standard_Integer Index,const TColStd_SequenceOfInteger & I); - %feature("compactdefaultargs") ChangeValue; - %feature("autodoc", " :param Index: - :type Index: int - :rtype: TColStd_SequenceOfInteger -") ChangeValue; - TColStd_SequenceOfInteger & ChangeValue (const Standard_Integer Index); - %feature("compactdefaultargs") Remove; - %feature("autodoc", " :param Index: - :type Index: int - :rtype: None -") Remove; - void Remove (const Standard_Integer Index); - %feature("compactdefaultargs") Remove; - %feature("autodoc", " :param FromIndex: - :type FromIndex: int - :param ToIndex: - :type ToIndex: int - :rtype: None -") Remove; - void Remove (const Standard_Integer FromIndex,const Standard_Integer ToIndex); }; -%extend BRepAlgo_SequenceOfSequenceOfInteger { +%extend BRepAlgo_NormalProjection { %pythoncode { __repr__ = _dumps_object } }; + +/********************** +* class BRepAlgo_Tool * +**********************/ class BRepAlgo_Tool { public: + /****************** Deboucle3D ******************/ %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 offseting) in this verion only the first point is implemented. :param S: :type S: TopoDS_Shape & :param Boundary: :type Boundary: TopTools_MapOfShape & - :rtype: TopoDS_Shape -") Deboucle3D; + :rtype: TopoDS_Shape") Deboucle3D; static TopoDS_Shape Deboucle3D (const TopoDS_Shape & S,const TopTools_MapOfShape & Boundary); + }; @@ -1632,19 +846,23 @@ class BRepAlgo_Tool { __repr__ = _dumps_object } }; + +/************************ +* class BRepAlgo_Common * +************************/ %nodefaultctor BRepAlgo_Common; class BRepAlgo_Common : public BRepAlgo_BooleanOperation { public: + /****************** BRepAlgo_Common ******************/ %feature("compactdefaultargs") BRepAlgo_Common; - %feature("autodoc", " * Constructs the common part of shapes S1 and S2. - + %feature("autodoc", "* Constructs the common part of shapes S1 and S2. :param S1: :type S1: TopoDS_Shape & :param S2: :type S2: TopoDS_Shape & - :rtype: None -") BRepAlgo_Common; + :rtype: None") BRepAlgo_Common; BRepAlgo_Common (const TopoDS_Shape & S1,const TopoDS_Shape & S2); + }; @@ -1653,19 +871,23 @@ class BRepAlgo_Common : public BRepAlgo_BooleanOperation { __repr__ = _dumps_object } }; + +/********************* +* class BRepAlgo_Cut * +*********************/ %nodefaultctor BRepAlgo_Cut; class BRepAlgo_Cut : public BRepAlgo_BooleanOperation { public: + /****************** BRepAlgo_Cut ******************/ %feature("compactdefaultargs") BRepAlgo_Cut; - %feature("autodoc", " * Cuts the shape S2 from the shape S1. - + %feature("autodoc", "* Cuts the shape S2 from the shape S1. :param S1: :type S1: TopoDS_Shape & :param S2: :type S2: TopoDS_Shape & - :rtype: None -") BRepAlgo_Cut; + :rtype: None") BRepAlgo_Cut; BRepAlgo_Cut (const TopoDS_Shape & S1,const TopoDS_Shape & S2); + }; @@ -1674,19 +896,23 @@ class BRepAlgo_Cut : public BRepAlgo_BooleanOperation { __repr__ = _dumps_object } }; + +/********************** +* class BRepAlgo_Fuse * +**********************/ %nodefaultctor BRepAlgo_Fuse; class BRepAlgo_Fuse : public BRepAlgo_BooleanOperation { public: + /****************** BRepAlgo_Fuse ******************/ %feature("compactdefaultargs") BRepAlgo_Fuse; - %feature("autodoc", " * Fuse S1 and S2. - + %feature("autodoc", "* Fuse S1 and S2. :param S1: :type S1: TopoDS_Shape & :param S2: :type S2: TopoDS_Shape & - :rtype: None -") BRepAlgo_Fuse; + :rtype: None") BRepAlgo_Fuse; BRepAlgo_Fuse (const TopoDS_Shape & S1,const TopoDS_Shape & S2); + }; @@ -1695,159 +921,167 @@ class BRepAlgo_Fuse : public BRepAlgo_BooleanOperation { __repr__ = _dumps_object } }; + +/************************* +* class BRepAlgo_Section * +*************************/ %nodefaultctor BRepAlgo_Section; class BRepAlgo_Section : public BRepAlgo_BooleanOperation { public: + /****************** Approximation ******************/ + %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. + :param B: + :type B: bool + :rtype: None") Approximation; + void Approximation (const Standard_Boolean B); + + /****************** BRepAlgo_Section ******************/ %feature("compactdefaultargs") BRepAlgo_Section; - %feature("autodoc", " :param Sh1: + %feature("autodoc", ":param Sh1: :type Sh1: TopoDS_Shape & :param Sh2: :type Sh2: TopoDS_Shape & :param PerformNow: default value is Standard_True :type PerformNow: bool - :rtype: None -") BRepAlgo_Section; + :rtype: None") BRepAlgo_Section; BRepAlgo_Section (const TopoDS_Shape & Sh1,const TopoDS_Shape & Sh2,const Standard_Boolean PerformNow = Standard_True); + + /****************** BRepAlgo_Section ******************/ %feature("compactdefaultargs") BRepAlgo_Section; - %feature("autodoc", " :param Sh: + %feature("autodoc", ":param Sh: :type Sh: TopoDS_Shape & :param Pl: :type Pl: gp_Pln :param PerformNow: default value is Standard_True :type PerformNow: bool - :rtype: None -") BRepAlgo_Section; + :rtype: None") BRepAlgo_Section; BRepAlgo_Section (const TopoDS_Shape & Sh,const gp_Pln & Pl,const Standard_Boolean PerformNow = Standard_True); + + /****************** BRepAlgo_Section ******************/ %feature("compactdefaultargs") BRepAlgo_Section; - %feature("autodoc", " :param Sh: + %feature("autodoc", ":param Sh: :type Sh: TopoDS_Shape & :param Sf: - :type Sf: Handle_Geom_Surface & + :type Sf: opencascade::handle & :param PerformNow: default value is Standard_True :type PerformNow: bool - :rtype: None -") BRepAlgo_Section; - BRepAlgo_Section (const TopoDS_Shape & Sh,const Handle_Geom_Surface & Sf,const Standard_Boolean PerformNow = Standard_True); + :rtype: None") BRepAlgo_Section; + BRepAlgo_Section (const TopoDS_Shape & Sh,const opencascade::handle & Sf,const Standard_Boolean PerformNow = Standard_True); + + /****************** BRepAlgo_Section ******************/ %feature("compactdefaultargs") BRepAlgo_Section; - %feature("autodoc", " :param Sf: - :type Sf: Handle_Geom_Surface & + %feature("autodoc", ":param Sf: + :type Sf: opencascade::handle & :param Sh: :type Sh: TopoDS_Shape & :param PerformNow: default value is Standard_True :type PerformNow: bool - :rtype: None -") BRepAlgo_Section; - BRepAlgo_Section (const Handle_Geom_Surface & Sf,const TopoDS_Shape & Sh,const Standard_Boolean PerformNow = Standard_True); - %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(); + :rtype: None") BRepAlgo_Section; + BRepAlgo_Section (const opencascade::handle & Sf,const TopoDS_Shape & Sh,const Standard_Boolean PerformNow = Standard_True); + /****************** BRepAlgo_Section ******************/ + %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(); :param Sf1: - :type Sf1: Handle_Geom_Surface & + :type Sf1: opencascade::handle & :param Sf2: - :type Sf2: Handle_Geom_Surface & + :type Sf2: opencascade::handle & :param PerformNow: default value is Standard_True :type PerformNow: bool - :rtype: None -") BRepAlgo_Section; - BRepAlgo_Section (const Handle_Geom_Surface & Sf1,const Handle_Geom_Surface & Sf2,const Standard_Boolean PerformNow = Standard_True); - %feature("compactdefaultargs") Init1; - %feature("autodoc", " * Initializes the first part - - :param S1: - :type S1: TopoDS_Shape & - :rtype: None -") Init1; - void Init1 (const TopoDS_Shape & S1); - %feature("compactdefaultargs") Init1; - %feature("autodoc", " * Initializes the first part - - :param Pl: - :type Pl: gp_Pln - :rtype: None -") Init1; - void Init1 (const gp_Pln & Pl); - %feature("compactdefaultargs") Init1; - %feature("autodoc", " * Initializes the first part - - :param Sf: - :type Sf: Handle_Geom_Surface & - :rtype: None -") Init1; - void Init1 (const Handle_Geom_Surface & Sf); - %feature("compactdefaultargs") Init2; - %feature("autodoc", " * initialize second part - - :param S2: - :type S2: TopoDS_Shape & - :rtype: None -") Init2; - void Init2 (const TopoDS_Shape & S2); - %feature("compactdefaultargs") Init2; - %feature("autodoc", " * Initializes the second part + :rtype: None") BRepAlgo_Section; + BRepAlgo_Section (const opencascade::handle & Sf1,const opencascade::handle & Sf2,const Standard_Boolean PerformNow = Standard_True); - :param Pl: - :type Pl: gp_Pln - :rtype: None -") Init2; - void Init2 (const gp_Pln & Pl); - %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. - - :param Sf: - :type Sf: Handle_Geom_Surface & - :rtype: None -") Init2; - void Init2 (const Handle_Geom_Surface & Sf); - %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. + /****************** Build ******************/ + %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. + :rtype: None") Build; + void Build (); - :param B: - :type B: bool - :rtype: None -") Approximation; - void Approximation (const Standard_Boolean B); + /****************** ComputePCurveOn1 ******************/ %feature("compactdefaultargs") ComputePCurveOn1; - %feature("autodoc", " * Indicates if the Pcurve must be (or not) performed on first part. - + %feature("autodoc", "* Indicates if the Pcurve must be (or not) performed on first part. :param B: :type B: bool - :rtype: None -") ComputePCurveOn1; + :rtype: None") ComputePCurveOn1; void ComputePCurveOn1 (const Standard_Boolean B); - %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. + /****************** ComputePCurveOn2 ******************/ + %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. :param B: :type B: bool - :rtype: None -") ComputePCurveOn2; + :rtype: None") ComputePCurveOn2; void ComputePCurveOn2 (const Standard_Boolean B); - %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. - :rtype: None -") Build; - void Build (); + /****************** HasAncestorFaceOn1 ******************/ %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. - + %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. :param E: :type E: TopoDS_Shape & :param F: :type F: TopoDS_Shape & - :rtype: bool -") HasAncestorFaceOn1; + :rtype: bool") HasAncestorFaceOn1; Standard_Boolean HasAncestorFaceOn1 (const TopoDS_Shape & E,TopoDS_Shape & F); - %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. + /****************** HasAncestorFaceOn2 ******************/ + %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. :param E: :type E: TopoDS_Shape & :param F: :type F: TopoDS_Shape & - :rtype: bool -") HasAncestorFaceOn2; + :rtype: bool") HasAncestorFaceOn2; Standard_Boolean HasAncestorFaceOn2 (const TopoDS_Shape & E,TopoDS_Shape & F); + + /****************** Init1 ******************/ + %feature("compactdefaultargs") Init1; + %feature("autodoc", "* Initializes the first part + :param S1: + :type S1: TopoDS_Shape & + :rtype: None") Init1; + void Init1 (const TopoDS_Shape & S1); + + /****************** Init1 ******************/ + %feature("compactdefaultargs") Init1; + %feature("autodoc", "* Initializes the first part + :param Pl: + :type Pl: gp_Pln + :rtype: None") Init1; + void Init1 (const gp_Pln & Pl); + + /****************** Init1 ******************/ + %feature("compactdefaultargs") Init1; + %feature("autodoc", "* Initializes the first part + :param Sf: + :type Sf: opencascade::handle & + :rtype: None") Init1; + void Init1 (const opencascade::handle & Sf); + + /****************** Init2 ******************/ + %feature("compactdefaultargs") Init2; + %feature("autodoc", "* initialize second part + :param S2: + :type S2: TopoDS_Shape & + :rtype: None") Init2; + void Init2 (const TopoDS_Shape & S2); + + /****************** Init2 ******************/ + %feature("compactdefaultargs") Init2; + %feature("autodoc", "* Initializes the second part + :param Pl: + :type Pl: gp_Pln + :rtype: None") Init2; + void Init2 (const gp_Pln & Pl); + + /****************** Init2 ******************/ + %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. + :param Sf: + :type Sf: opencascade::handle & + :rtype: None") Init2; + void Init2 (const opencascade::handle & Sf); + }; @@ -1856,3 +1090,7 @@ class BRepAlgo_Section : public BRepAlgo_BooleanOperation { __repr__ = _dumps_object } }; + +/* harray1 class */ +/* harray2 class */ +/* harray2 class */ diff --git a/src/SWIG_files/wrapper/BRepAlgoAPI.i b/src/SWIG_files/wrapper/BRepAlgoAPI.i index 71df5945e..fa55648c4 100644 --- a/src/SWIG_files/wrapper/BRepAlgoAPI.i +++ b/src/SWIG_files/wrapper/BRepAlgoAPI.i @@ -1,6 +1,5 @@ /* -Copyright 2008-2017 Thomas Paviot (tpaviot@gmail.com) - +Copyright 2008-2019 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -15,79 +14,13 @@ 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 BREPALGOAPIDOCSTRING -"The BRepAlgoAPI package provides a full range of -services to perform Boolean Operations on arguments (shapes -that are defined in the BRep data structures). The -implemented new algorithm is intended to replace the Old -Boolean Operations algorithm in the BRepAlgoAPI package. -The New algorithm is free of a large number of weak spots -and limitations characteristics of the Old algorithm. -It is more powerful and flexible. -It can process arguments the Old algorithm was not adapted for. -The new algorithm is based on a new approach to operations -with interfered shapes. The advantages of the new algorithm -include an ability to treat arguments that have shared -entities. It can properly process two solids with shared -faces (in terms of TopoDS_Shape::IsSame()), two -faces that have shared edges and so on. Now the New Boolean -Operation algorithm can treat a wide range of shapes while the -Old one fails on them. -A generalization of treatment of same-domain faces -was included into the New algorithm. Two faces that share -the same domain are processed according to the common rule -even if the underlying surfaces are of different types. This -allows to execute Boolean Operations properly for the same -domain faces. It also concerns solids and shells that have the -same domain faces. It is quite frequent when two faces share -the same domain. And the New algorithm successfully copes -with it in contrast to the Old one. -Generalization oftreatment of degenerated edges -gives a possibility to process them properly. Although there -are still some difficulties with processing faces in areas close -to degenerated edges. -Now the processing of arguments having internal sub-shapes gives -a correct result. Internal sub-shape means a sub-shape of a -shape with the orientation TopAbs_INTERNAL and is located -inside the shape boundaries. The New algorithm processes faces -with internal edges properly. The new API of the Boolean -Operations (in addition to the old API) allows to reuse the -already computed interference between arguments in different -types of Boolean Operations. It is possible to use once computed -interference in FUSE, CUT and COMMON operations on given -arguments. So there is no need to re-compute the interference -between the arguments. It allows to reduce time for more than one -operation on given arguments. -The shape type of a Boolean Operation result and types of the arguments: -- For arguments with the same shape type (e.g. SOLID / -SOLID) the type of the resulting shape will be a -COMPOUND, containing shapes of this type; -- For arguments with different shape types (e.g. -SHELL / SOLID) the type of the resulting shape will be a -COMPOUND, containing shapes of the type that is the same as -that of the low type of the argument. Example: For -SHELL/SOLID the result is a COMPOUND of SHELLs. -- For arguments with different shape types some of -Boolean Operations can not be done using the default -implementation, because of a non-manifold type of the -result. Example: the FUSE operation for SHELL and SOLID -can not be done, but the CUT operation can be done, where -SHELL is the object and SOLID is the tool. -It is possible to perform Boolean Operations on arguments -of the COMPOUND shape type. In this case each compound must not -be heterogeneous, i.e. it must contain equidimensional shapes -(EDGEs or/and WIREs, FACEs or/and SHELLs, SOLIDs). SOLIDs -inside the COMPOUND must not contact (intersect or touch) -each other. The same condition is true for SHELLs or FACEs, -WIREs or EDGEs. -It does not support Boolean Operations for COMPSOLID type of shape. -" +"BRepAlgoAPI module, see official documentation at +https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brepalgoapi.html" %enddef %module (package="OCC.Core", docstring=BREPALGOAPIDOCSTRING) BRepAlgoAPI -#pragma SWIG nowarn=504,325,503 %{ #ifdef WNT @@ -102,61 +35,173 @@ It does not support Boolean Operations for COMPSOLID type of shape. %include ../common/OccHandle.i -%include BRepAlgoAPI_headers.i +%{ +#include + +//Dependencies +#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 +%}; +%import Standard.i +%import NCollection.i +%import BOPAlgo.i +%import TopoDS.i +%import BRepBuilderAPI.i +%import TopTools.i +%import BRepTools.i +%import gp.i +%import Geom.i + +%include "BRepAlgoAPI_Algo.hxx"; +/* public enums */ +/* end public enums declaration */ + +/* handles */ +/* end handles declaration */ + +/* templates */ +/* end templates declaration */ /* typedefs */ /* end typedefs declaration */ -/* public enums */ -/* end public enums declaration */ +/************************** +* class BRepAlgoAPI_Check * +**************************/ +%nodefaultctor BRepAlgoAPI_Check; +class BRepAlgoAPI_Check : public BOPAlgo_Options { + public: + /****************** BRepAlgoAPI_Check ******************/ + %feature("compactdefaultargs") BRepAlgoAPI_Check; + %feature("autodoc", "* @name Constructors Empty constructor. + :rtype: None") BRepAlgoAPI_Check; + BRepAlgoAPI_Check (); + + /****************** BRepAlgoAPI_Check ******************/ + %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; + :param theS: + :type theS: TopoDS_Shape & + :param bTestSE: default value is Standard_True + :type bTestSE: bool + :param bTestSI: default value is Standard_True + :type bTestSI: bool + :rtype: None") BRepAlgoAPI_Check; + BRepAlgoAPI_Check (const TopoDS_Shape & theS,const Standard_Boolean bTestSE = Standard_True,const Standard_Boolean bTestSI = Standard_True); + + /****************** BRepAlgoAPI_Check ******************/ + %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; + :param theS1: + :type theS1: TopoDS_Shape & + :param theS2: + :type theS2: TopoDS_Shape & + :param theOp: default value is BOPAlgo_UNKNOWN + :type theOp: BOPAlgo_Operation + :param bTestSE: default value is Standard_True + :type bTestSE: bool + :param bTestSI: default value is Standard_True + :type bTestSI: bool + :rtype: 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); + + /****************** IsValid ******************/ + %feature("compactdefaultargs") IsValid; + %feature("autodoc", "* @name Getting the results. Shows whether shape(s) valid or not. + :rtype: bool") IsValid; + Standard_Boolean IsValid (); + + /****************** Perform ******************/ + %feature("compactdefaultargs") Perform; + %feature("autodoc", "* @name Performing the operation Performs the check. + :rtype: None") Perform; + void Perform (); + + /****************** Result ******************/ + %feature("compactdefaultargs") Result; + %feature("autodoc", "* Returns faulty shapes. + :rtype: BOPAlgo_ListOfCheckResult") Result; + const BOPAlgo_ListOfCheckResult & Result (); + + /****************** SetData ******************/ + %feature("compactdefaultargs") SetData; + %feature("autodoc", "* @name Initializing the algorithm Initializes the algorithm with 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 theS: + :type theS: TopoDS_Shape & + :param bTestSE: default value is Standard_True + :type bTestSE: bool + :param bTestSI: default value is Standard_True + :type bTestSI: bool + :rtype: None") SetData; + void SetData (const TopoDS_Shape & theS,const Standard_Boolean bTestSE = Standard_True,const Standard_Boolean bTestSI = Standard_True); + + /****************** SetData ******************/ + %feature("compactdefaultargs") SetData; + %feature("autodoc", "* Initializes the algorithm with 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 theS1: + :type theS1: TopoDS_Shape & + :param theS2: + :type theS2: TopoDS_Shape & + :param theOp: default value is BOPAlgo_UNKNOWN + :type theOp: BOPAlgo_Operation + :param bTestSE: default value is Standard_True + :type bTestSE: bool + :param bTestSI: default value is Standard_True + :type bTestSI: bool + :rtype: None") SetData; + void SetData (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); + +}; +%extend BRepAlgoAPI_Check { + %pythoncode { + __repr__ = _dumps_object + } +}; + +/************************* +* class BRepAlgoAPI_Algo * +*************************/ %nodefaultctor BRepAlgoAPI_Algo; %ignore BRepAlgoAPI_Algo::~BRepAlgoAPI_Algo(); -class BRepAlgoAPI_Algo : public BRepBuilderAPI_MakeShape { +class BRepAlgoAPI_Algo : public BRepBuilderAPI_MakeShape, protected BOPAlgo_Options { public: - %feature("compactdefaultargs") ErrorStatus; - %feature("autodoc", " * Returns error status of the algorithm ==0 - no errors occured !=0 - is in the event of various error conditions - - :rtype: int -") ErrorStatus; - Standard_Integer ErrorStatus (); - %feature("compactdefaultargs") WarningStatus; - %feature("autodoc", " * Returns warning status of the algorithm ==0 - no warning occured !=0 - is in the event of various warning conditions - - :rtype: int -") WarningStatus; - Standard_Integer WarningStatus (); - %feature("compactdefaultargs") Allocator; - %feature("autodoc", " :rtype: BOPCol_BaseAllocator -") Allocator; - const BOPCol_BaseAllocator & Allocator (); - %feature("compactdefaultargs") SetRunParallel; - %feature("autodoc", " * Set the flag of parallel processing if is true the parallel processing is switched on if is false the parallel processing is switched off - - :param theFlag: - :type theFlag: bool - :rtype: None -") SetRunParallel; - void SetRunParallel (const Standard_Boolean theFlag); - %feature("compactdefaultargs") RunParallel; - %feature("autodoc", " * Returns the flag of parallel processing - - :rtype: bool -") RunParallel; - Standard_Boolean RunParallel (); - %feature("compactdefaultargs") SetProgressIndicator; - %feature("autodoc", " * Set the Progress Indicator object. - - :param theObj: - :type theObj: Handle_Message_ProgressIndicator & - :rtype: None -") SetProgressIndicator; - void SetProgressIndicator (const Handle_Message_ProgressIndicator & theObj); + /****************** Shape ******************/ %feature("compactdefaultargs") Shape; - %feature("autodoc", " :rtype: TopoDS_Shape -") Shape; + %feature("autodoc", ":rtype: TopoDS_Shape") Shape; virtual const TopoDS_Shape Shape (); + }; @@ -165,99 +210,181 @@ class BRepAlgoAPI_Algo : public BRepBuilderAPI_MakeShape { __repr__ = _dumps_object } }; + +/******************************** +* class BRepAlgoAPI_BuilderAlgo * +********************************/ %nodefaultctor BRepAlgoAPI_BuilderAlgo; class BRepAlgoAPI_BuilderAlgo : public BRepAlgoAPI_Algo { public: - %feature("compactdefaultargs") BRepAlgoAPI_BuilderAlgo; - %feature("autodoc", " * Empty constructor + /****************** Arguments ******************/ + %feature("compactdefaultargs") Arguments; + %feature("autodoc", "* Gets the arguments + :rtype: TopTools_ListOfShape") Arguments; + const TopTools_ListOfShape & Arguments (); - :rtype: None -") BRepAlgoAPI_BuilderAlgo; - BRepAlgoAPI_BuilderAlgo (); + /****************** BRepAlgoAPI_BuilderAlgo ******************/ %feature("compactdefaultargs") BRepAlgoAPI_BuilderAlgo; - %feature("autodoc", " * Empty constructor + %feature("autodoc", "* @name Constructors Empty constructor + :rtype: None") BRepAlgoAPI_BuilderAlgo; + BRepAlgoAPI_BuilderAlgo (); + /****************** BRepAlgoAPI_BuilderAlgo ******************/ + %feature("compactdefaultargs") BRepAlgoAPI_BuilderAlgo; + %feature("autodoc", "* Constructor with prepared Filler object :param thePF: :type thePF: BOPAlgo_PaveFiller & - :rtype: None -") BRepAlgoAPI_BuilderAlgo; + :rtype: None") BRepAlgoAPI_BuilderAlgo; BRepAlgoAPI_BuilderAlgo (const BOPAlgo_PaveFiller & thePF); - %feature("compactdefaultargs") SetFuzzyValue; - %feature("autodoc", " * Sets the additional tolerance - - :param theFuzz: - :type theFuzz: float - :rtype: None -") SetFuzzyValue; - void SetFuzzyValue (const Standard_Real theFuzz); - %feature("compactdefaultargs") FuzzyValue; - %feature("autodoc", " * Returns the additional tolerance - - :rtype: float -") FuzzyValue; - Standard_Real FuzzyValue (); - %feature("compactdefaultargs") SetArguments; - %feature("autodoc", " * Sets the arguments - :param theLS: - :type theLS: TopTools_ListOfShape & - :rtype: None -") SetArguments; - void SetArguments (const TopTools_ListOfShape & theLS); - %feature("compactdefaultargs") Arguments; - %feature("autodoc", " * Gets the arguments - - :rtype: TopTools_ListOfShape -") Arguments; - const TopTools_ListOfShape & Arguments (); + /****************** Build ******************/ %feature("compactdefaultargs") Build; - %feature("autodoc", " * Performs the algorithm //! H I S T O R Y - - :rtype: void -") Build; + %feature("autodoc", "* @name Performing the operation Performs the algorithm + :rtype: void") Build; virtual void Build (); - %feature("compactdefaultargs") Modified; - %feature("autodoc", " * Returns the list of shapes modified from the shape . - :param aS: - :type aS: TopoDS_Shape & - :rtype: TopTools_ListOfShape -") Modified; - virtual const TopTools_ListOfShape & Modified (const TopoDS_Shape & aS); - %feature("compactdefaultargs") IsDeleted; - %feature("autodoc", " * Returns true if the shape S has been deleted. The result shape of the operation does not contain the shape S. + /****************** Builder ******************/ + %feature("compactdefaultargs") Builder; + %feature("autodoc", "* Returns the Building tool + :rtype: BOPAlgo_PBuilder") Builder; + const BOPAlgo_PBuilder & Builder (); + + /****************** CheckInverted ******************/ + %feature("compactdefaultargs") CheckInverted; + %feature("autodoc", "* Returns the flag defining whether the check for input solids on inverted status should be performed or not. + :rtype: bool") CheckInverted; + Standard_Boolean CheckInverted (); + + /****************** DSFiller ******************/ + %feature("compactdefaultargs") DSFiller; + %feature("autodoc", "* @name Getting tools performing the job Returns the Intersection tool + :rtype: BOPAlgo_PPaveFiller") DSFiller; + const BOPAlgo_PPaveFiller & DSFiller (); + + /****************** Generated ******************/ + %feature("compactdefaultargs") Generated; + %feature("autodoc", "* Returns the list of shapes generated from the shape . In frames of Boolean Operations algorithms only Edges and Faces could have Generated elements, as only they produce new elements during intersection: - Edges can generate new vertices; - Faces can generate new edges and vertices. + :param theS: + :type theS: TopoDS_Shape & + :rtype: TopTools_ListOfShape") Generated; + virtual const TopTools_ListOfShape & Generated (const TopoDS_Shape & theS); + + /****************** Glue ******************/ + %feature("compactdefaultargs") Glue; + %feature("autodoc", "* Returns the glue option of the algorithm + :rtype: BOPAlgo_GlueEnum") Glue; + BOPAlgo_GlueEnum Glue (); + + /****************** HasDeleted ******************/ + %feature("compactdefaultargs") HasDeleted; + %feature("autodoc", "* Returns true if any of the input shapes has been deleted during operation. Normally, General Fuse operation should not have Deleted elements, but all derived operation can have. + :rtype: bool") HasDeleted; + virtual Standard_Boolean HasDeleted (); + + /****************** HasGenerated ******************/ + %feature("compactdefaultargs") HasGenerated; + %feature("autodoc", "* Returns true if any of the input shapes has generated shapes during operation. + :rtype: bool") HasGenerated; + virtual Standard_Boolean HasGenerated (); + + /****************** HasHistory ******************/ + %feature("compactdefaultargs") HasHistory; + %feature("autodoc", "* Returns flag of history availability + :rtype: bool") HasHistory; + Standard_Boolean HasHistory (); + + /****************** HasModified ******************/ + %feature("compactdefaultargs") HasModified; + %feature("autodoc", "* Returns true if any of the input shapes has been modified during operation. + :rtype: bool") HasModified; + virtual Standard_Boolean HasModified (); + + /****************** History ******************/ + %feature("compactdefaultargs") History; + %feature("autodoc", "* History tool + :rtype: opencascade::handle") History; + opencascade::handle History (); + /****************** IsDeleted ******************/ + %feature("compactdefaultargs") IsDeleted; + %feature("autodoc", "* Checks if the shape has been completely removed from the result, i.e. the result does not contain the shape itself and any of its splits. Returns True if the shape has been deleted. :param aS: :type aS: TopoDS_Shape & - :rtype: bool -") IsDeleted; + :rtype: bool") IsDeleted; virtual Standard_Boolean IsDeleted (const TopoDS_Shape & aS); - %feature("compactdefaultargs") Generated; - %feature("autodoc", " * Returns the list of shapes generated from the shape . For use in BRepNaming. - :param S: - :type S: TopoDS_Shape & - :rtype: TopTools_ListOfShape -") Generated; - virtual const TopTools_ListOfShape & Generated (const TopoDS_Shape & S); - %feature("compactdefaultargs") HasModified; - %feature("autodoc", " * Returns true if there is at least one modified shape. For use in BRepNaming. + /****************** Modified ******************/ + %feature("compactdefaultargs") Modified; + %feature("autodoc", "* @name History support Returns the shapes modified from the shape . If any, the list will contain only those splits of the given shape, contained in the result. + :param theS: + :type theS: TopoDS_Shape & + :rtype: TopTools_ListOfShape") Modified; + virtual const TopTools_ListOfShape & Modified (const TopoDS_Shape & theS); - :rtype: bool -") HasModified; - virtual Standard_Boolean HasModified (); - %feature("compactdefaultargs") HasGenerated; - %feature("autodoc", " * Returns true if there is at least one generated shape. For use in BRepNaming. + /****************** NonDestructive ******************/ + %feature("compactdefaultargs") NonDestructive; + %feature("autodoc", "* Returns the flag that defines the mode of treatment. In non-destructive mode the argument shapes are not modified. Instead a copy of a sub-shape is created in the result if it is needed to be updated. + :rtype: bool") NonDestructive; + Standard_Boolean NonDestructive (); - :rtype: bool -") HasGenerated; - virtual Standard_Boolean HasGenerated (); - %feature("compactdefaultargs") HasDeleted; - %feature("autodoc", " * Returns true if there is at least one deleted shape. For use in BRepNaming. //! protected methods + /****************** SectionEdges ******************/ + %feature("compactdefaultargs") SectionEdges; + %feature("autodoc", "* @name Getting the section edges Returns a list of section edges. The edges represent the result of intersection between arguments of operation. + :rtype: TopTools_ListOfShape") SectionEdges; + const TopTools_ListOfShape & SectionEdges (); + + /****************** SetArguments ******************/ + %feature("compactdefaultargs") SetArguments; + %feature("autodoc", "* @name Setting/Getting data for the algorithm Sets the arguments + :param theLS: + :type theLS: TopTools_ListOfShape & + :rtype: None") SetArguments; + void SetArguments (const TopTools_ListOfShape & theLS); + + /****************** SetCheckInverted ******************/ + %feature("compactdefaultargs") SetCheckInverted; + %feature("autodoc", "* Enables/Disables the check of the input solids for inverted status + :param theCheck: + :type theCheck: bool + :rtype: None") SetCheckInverted; + void SetCheckInverted (const Standard_Boolean theCheck); + + /****************** SetGlue ******************/ + %feature("compactdefaultargs") SetGlue; + %feature("autodoc", "* Sets the glue option for the algorithm, which allows increasing performance of the intersection of the input shapes. + :param theGlue: + :type theGlue: BOPAlgo_GlueEnum + :rtype: None") SetGlue; + void SetGlue (const BOPAlgo_GlueEnum theGlue); + + /****************** SetNonDestructive ******************/ + %feature("compactdefaultargs") SetNonDestructive; + %feature("autodoc", "* @name Setting options Sets the flag that defines the mode of treatment. In non-destructive mode the argument shapes are not modified. Instead a copy of a sub-shape is created in the result if it is needed to be updated. + :param theFlag: + :type theFlag: bool + :rtype: None") SetNonDestructive; + void SetNonDestructive (const Standard_Boolean theFlag); + + /****************** SetToFillHistory ******************/ + %feature("compactdefaultargs") SetToFillHistory; + %feature("autodoc", "* @name Enabling/Disabling the history collection. Allows disabling the history collection + :param theHistFlag: + :type theHistFlag: bool + :rtype: None") SetToFillHistory; + void SetToFillHistory (const Standard_Boolean theHistFlag); + + /****************** SimplifyResult ******************/ + %feature("compactdefaultargs") SimplifyResult; + %feature("autodoc", "* @name Result simplification Simplification of the result shape is performed by the means of *ShapeUpgrade_UnifySameDomain* algorithm. The result of the operation will be overwritten with the simplified result. //! The simplification is performed without creation of the Internal shapes, i.e. shapes connections will never be broken. //! Simplification is performed on the whole result shape. Thus, if the input shapes contained connected tangent edges or faces unmodified during the operation they will also be unified. //! After simplification, the History of result simplification is merged into the main history of operation. So, it is taken into account when asking for Modified, Generated and Deleted shapes. //! Some options of the main operation are passed into the Unifier: - Fuzzy tolerance of the operation is given to the Unifier as the linear tolerance. - Non destructive mode here controls the safe input mode in Unifier. //! @param theUnifyEdges Controls the edges unification. True by default. @param theUnifyFaces Controls the faces unification. True by default. @param theAngularTol Angular criteria for tangency of edges and faces. Precision::Angular() by default. + :param theUnifyEdges: default value is Standard_True + :type theUnifyEdges: bool + :param theUnifyFaces: default value is Standard_True + :type theUnifyFaces: bool + :param theAngularTol: default value is Precision::Angular() + :type theAngularTol: float + :rtype: None") SimplifyResult; + void SimplifyResult (const Standard_Boolean theUnifyEdges = Standard_True,const Standard_Boolean theUnifyFaces = Standard_True,const Standard_Real theAngularTol = Precision::Angular()); - :rtype: bool -") HasDeleted; - virtual Standard_Boolean HasDeleted (); }; @@ -266,273 +393,298 @@ class BRepAlgoAPI_BuilderAlgo : public BRepAlgoAPI_Algo { __repr__ = _dumps_object } }; -%nodefaultctor BRepAlgoAPI_Check; -class BRepAlgoAPI_Check : public BRepAlgoAPI_Algo { + +/******************************** +* class BRepAlgoAPI_Defeaturing * +********************************/ +%nodefaultctor BRepAlgoAPI_Defeaturing; +class BRepAlgoAPI_Defeaturing : public BRepAlgoAPI_Algo { public: - %feature("compactdefaultargs") BRepAlgoAPI_Check; - %feature("autodoc", " * Empty constructor. + /****************** AddFaceToRemove ******************/ + %feature("compactdefaultargs") AddFaceToRemove; + %feature("autodoc", "* Adds the features to remove from the input shape. @param theFace [in] The shape to extract the faces for removal. + :param theFace: + :type theFace: TopoDS_Shape & + :rtype: None") AddFaceToRemove; + void AddFaceToRemove (const TopoDS_Shape & theFace); + + /****************** AddFacesToRemove ******************/ + %feature("compactdefaultargs") AddFacesToRemove; + %feature("autodoc", "* Adds the faces to remove from the input shape. @param theFaces [in] The list of shapes to extract the faces for removal. + :param theFaces: + :type theFaces: TopTools_ListOfShape & + :rtype: None") AddFacesToRemove; + void AddFacesToRemove (const TopTools_ListOfShape & theFaces); + + /****************** BRepAlgoAPI_Defeaturing ******************/ + %feature("compactdefaultargs") BRepAlgoAPI_Defeaturing; + %feature("autodoc", "* @name Constructors Empty constructor + :rtype: None") BRepAlgoAPI_Defeaturing; + BRepAlgoAPI_Defeaturing (); + + /****************** Build ******************/ + %feature("compactdefaultargs") Build; + %feature("autodoc", "* @name Performing the operation Performs the operation + :rtype: void") Build; + virtual void Build (); - :rtype: None -") BRepAlgoAPI_Check; - BRepAlgoAPI_Check (); - %feature("compactdefaultargs") BRepAlgoAPI_Check; - %feature("autodoc", " * Constructor for checking single shape. It calls methods Init(theS, TopoDS_Shape(), BOPAlgo_UNKNOWN, bTestSE, bTestSI) and Perform(). Params: theS - the shape that should be checked; bTestSE - flag that specifies whether check on small edges should be performed; by default it is set to True; bTestSI - flag that specifies whether check on self-interference should be performed; by default it is set to True; + /****************** FacesToRemove ******************/ + %feature("compactdefaultargs") FacesToRemove; + %feature("autodoc", "* Returns the list of faces which have been requested for removal from the input shape. + :rtype: TopTools_ListOfShape") FacesToRemove; + const TopTools_ListOfShape & FacesToRemove (); + /****************** Generated ******************/ + %feature("compactdefaultargs") Generated; + %feature("autodoc", "* Returns the list of shapes generated from the shape during the operation. :param theS: :type theS: TopoDS_Shape & - :param bTestSE: default value is Standard_True - :type bTestSE: bool - :param bTestSI: default value is Standard_True - :type bTestSI: bool - :rtype: None -") BRepAlgoAPI_Check; - BRepAlgoAPI_Check (const TopoDS_Shape & theS,const Standard_Boolean bTestSE = Standard_True,const Standard_Boolean bTestSI = Standard_True); - %feature("compactdefaultargs") BRepAlgoAPI_Check; - %feature("autodoc", " * Constructor for couple of shapes. It calls methods Init(theS1, theS2, theOp, bTestSE, bTestSI) and Perform(). Params: theS1, theS2 - the initial shapes. theOp - the type of Boolean Operation; if it is not defined (set to UNKNOWN) for each shape performed check as for single shape. bTestSE - flag that specifies whether check on small edges should be performed; by default it is set to True; bTestSI - flag that specifies whether check on self-interference should be performed; by default it is set to True; + :rtype: TopTools_ListOfShape") Generated; + virtual const TopTools_ListOfShape & Generated (const TopoDS_Shape & theS); - :param theS1: - :type theS1: TopoDS_Shape & - :param theS2: - :type theS2: TopoDS_Shape & - :param theOp: default value is BOPAlgo_UNKNOWN - :type theOp: BOPAlgo_Operation - :param bTestSE: default value is Standard_True - :type bTestSE: bool - :param bTestSI: default value is Standard_True - :type bTestSI: bool - :rtype: 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); - %feature("compactdefaultargs") SetData; - %feature("autodoc", " * Sets data for check by Init method. The method provides alternative way for checking single shape. + /****************** HasDeleted ******************/ + %feature("compactdefaultargs") HasDeleted; + %feature("autodoc", "* Returns true if any of the input shapes has been deleted during operation. + :rtype: bool") HasDeleted; + virtual Standard_Boolean HasDeleted (); - :param theS: - :type theS: TopoDS_Shape & - :param bTestSE: default value is Standard_True - :type bTestSE: bool - :param bTestSI: default value is Standard_True - :type bTestSI: bool - :rtype: None -") SetData; - void SetData (const TopoDS_Shape & theS,const Standard_Boolean bTestSE = Standard_True,const Standard_Boolean bTestSI = Standard_True); - %feature("compactdefaultargs") SetData; - %feature("autodoc", " * Sets data for check by Init method. The method provides alternative way for checking couple of shapes. + /****************** HasGenerated ******************/ + %feature("compactdefaultargs") HasGenerated; + %feature("autodoc", "* Returns true if any of the input shapes has generated shapes during operation. + :rtype: bool") HasGenerated; + virtual Standard_Boolean HasGenerated (); - :param theS1: - :type theS1: TopoDS_Shape & - :param theS2: - :type theS2: TopoDS_Shape & - :param theOp: default value is BOPAlgo_UNKNOWN - :type theOp: BOPAlgo_Operation - :param bTestSE: default value is Standard_True - :type bTestSE: bool - :param bTestSI: default value is Standard_True - :type bTestSI: bool - :rtype: None -") SetData; - void SetData (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); - %feature("compactdefaultargs") Perform; - %feature("autodoc", " * Performs the check. + /****************** HasHistory ******************/ + %feature("compactdefaultargs") HasHistory; + %feature("autodoc", "* Returns whether the history was requested or not. + :rtype: bool") HasHistory; + Standard_Boolean HasHistory (); - :rtype: None -") Perform; - void Perform (); - %feature("compactdefaultargs") IsValid; - %feature("autodoc", " * Shows whether shape(s) valid or not. + /****************** HasModified ******************/ + %feature("compactdefaultargs") HasModified; + %feature("autodoc", "* Returns true if any of the input shapes has been modified during operation. + :rtype: bool") HasModified; + virtual Standard_Boolean HasModified (); - :rtype: bool -") IsValid; - Standard_Boolean IsValid (); - %feature("compactdefaultargs") Result; - %feature("autodoc", " * Returns faulty shapes. + /****************** History ******************/ + %feature("compactdefaultargs") History; + %feature("autodoc", "* Returns the History of shapes modifications + :rtype: opencascade::handle") History; + opencascade::handle History (); + + /****************** InputShape ******************/ + %feature("compactdefaultargs") InputShape; + %feature("autodoc", "* Returns the input shape + :rtype: TopoDS_Shape") InputShape; + const TopoDS_Shape InputShape (); + + /****************** IsDeleted ******************/ + %feature("compactdefaultargs") IsDeleted; + %feature("autodoc", "* Returns true if the shape has been deleted during the operation. It means that the shape has no any trace in the result. Otherwise it returns false. + :param theS: + :type theS: TopoDS_Shape & + :rtype: bool") IsDeleted; + virtual Standard_Boolean IsDeleted (const TopoDS_Shape & theS); + + /****************** Modified ******************/ + %feature("compactdefaultargs") Modified; + %feature("autodoc", "* Returns the list of shapes modified from the shape during the operation. + :param theS: + :type theS: TopoDS_Shape & + :rtype: TopTools_ListOfShape") Modified; + virtual const TopTools_ListOfShape & Modified (const TopoDS_Shape & theS); + + /****************** SetShape ******************/ + %feature("compactdefaultargs") SetShape; + %feature("autodoc", "* @name Setting input data for the algorithm Sets the shape for processing. @param theShape [in] The shape to remove the features from. It should either be the SOLID, COMPSOLID or COMPOUND of Solids. + :param theShape: + :type theShape: TopoDS_Shape & + :rtype: None") SetShape; + void SetShape (const TopoDS_Shape & theShape); + + /****************** SetToFillHistory ******************/ + %feature("compactdefaultargs") SetToFillHistory; + %feature("autodoc", "* @name History Methods Defines whether to track the modification of the shapes or not. + :param theFlag: + :type theFlag: bool + :rtype: None") SetToFillHistory; + void SetToFillHistory (const Standard_Boolean theFlag); - :rtype: BOPAlgo_ListOfCheckResult -") Result; - const BOPAlgo_ListOfCheckResult & Result (); - %feature("compactdefaultargs") SetFuzzyValue; - %feature("autodoc", " * Sets the additional tolerance - - :param theFuzz: - :type theFuzz: float - :rtype: None -") SetFuzzyValue; - void SetFuzzyValue (const Standard_Real theFuzz); - %feature("compactdefaultargs") FuzzyValue; - %feature("autodoc", " * Returns the additional tolerance - - :rtype: float -") FuzzyValue; - Standard_Real FuzzyValue (); }; -%extend BRepAlgoAPI_Check { +%extend BRepAlgoAPI_Defeaturing { %pythoncode { __repr__ = _dumps_object } }; + +/************************************* +* class BRepAlgoAPI_BooleanOperation * +*************************************/ %nodefaultctor BRepAlgoAPI_BooleanOperation; class BRepAlgoAPI_BooleanOperation : public BRepAlgoAPI_BuilderAlgo { public: - %feature("compactdefaultargs") Shape1; - %feature("autodoc", " * Returns the first argument involved in this Boolean operation. Obsolete + /****************** BRepAlgoAPI_BooleanOperation ******************/ + %feature("compactdefaultargs") BRepAlgoAPI_BooleanOperation; + %feature("autodoc", "* @name Constructors Empty constructor + :rtype: None") BRepAlgoAPI_BooleanOperation; + BRepAlgoAPI_BooleanOperation (); + + /****************** BRepAlgoAPI_BooleanOperation ******************/ + %feature("compactdefaultargs") BRepAlgoAPI_BooleanOperation; + %feature("autodoc", "* Constructor with precomputed intersections of arguments. + :param thePF: + :type thePF: BOPAlgo_PaveFiller & + :rtype: None") BRepAlgoAPI_BooleanOperation; + BRepAlgoAPI_BooleanOperation (const BOPAlgo_PaveFiller & thePF); - :rtype: TopoDS_Shape -") Shape1; - const TopoDS_Shape Shape1 (); - %feature("compactdefaultargs") Shape2; - %feature("autodoc", " * Returns the second argument involved in this Boolean operation. Obsolete + /****************** Build ******************/ + %feature("compactdefaultargs") Build; + %feature("autodoc", "* @name Performing the operation Performs the Boolean operation. + :rtype: void") Build; + virtual void Build (); - :rtype: TopoDS_Shape -") Shape2; - const TopoDS_Shape Shape2 (); - %feature("compactdefaultargs") SetTools; - %feature("autodoc", " * Sets the tools + /****************** Operation ******************/ + %feature("compactdefaultargs") Operation; + %feature("autodoc", "* Returns the type of Boolean Operation + :rtype: BOPAlgo_Operation") Operation; + BOPAlgo_Operation Operation (); + + /****************** SetOperation ******************/ + %feature("compactdefaultargs") SetOperation; + %feature("autodoc", "* @name Setting/Getting the type of Boolean operation Sets the type of Boolean operation + :param theBOP: + :type theBOP: BOPAlgo_Operation + :rtype: None") SetOperation; + void SetOperation (const BOPAlgo_Operation theBOP); + /****************** SetTools ******************/ + %feature("compactdefaultargs") SetTools; + %feature("autodoc", "* Sets the Tool arguments :param theLS: :type theLS: TopTools_ListOfShape & - :rtype: None -") SetTools; + :rtype: None") SetTools; void SetTools (const TopTools_ListOfShape & theLS); - %feature("compactdefaultargs") Tools; - %feature("autodoc", " * Gets the tools - :rtype: TopTools_ListOfShape -") Tools; - const TopTools_ListOfShape & Tools (); - %feature("compactdefaultargs") SetOperation; - %feature("autodoc", " * Sets the type of Boolean operation + /****************** Shape1 ******************/ + %feature("compactdefaultargs") Shape1; + %feature("autodoc", "* @name Setting/getting arguments Returns the first argument involved in this Boolean operation. Obsolete + :rtype: TopoDS_Shape") Shape1; + const TopoDS_Shape Shape1 (); - :param anOp: - :type anOp: BOPAlgo_Operation - :rtype: None -") SetOperation; - void SetOperation (const BOPAlgo_Operation anOp); - %feature("compactdefaultargs") Operation; - %feature("autodoc", " * Returns the type of Boolean Operation + /****************** Shape2 ******************/ + %feature("compactdefaultargs") Shape2; + %feature("autodoc", "* Returns the second argument involved in this Boolean operation. Obsolete + :rtype: TopoDS_Shape") Shape2; + const TopoDS_Shape Shape2 (); - :rtype: BOPAlgo_Operation -") Operation; - BOPAlgo_Operation Operation (); - %feature("compactdefaultargs") Build; - %feature("autodoc", " * Performs the algorithm Filling interference Data Structure (if it is necessary) Building the result of the operation. + /****************** Tools ******************/ + %feature("compactdefaultargs") Tools; + %feature("autodoc", "* Returns the Tools arguments + :rtype: TopTools_ListOfShape") Tools; + const TopTools_ListOfShape & Tools (); - :rtype: void -") Build; - virtual void Build (); - %feature("compactdefaultargs") BuilderCanWork; - %feature("autodoc", " * Returns True if there was no errors occured obsolete - - :rtype: bool -") BuilderCanWork; - Standard_Boolean BuilderCanWork (); - %feature("compactdefaultargs") FuseEdges; - %feature("autodoc", " * Returns the flag of edge refining - - :rtype: bool -") FuseEdges; - Standard_Boolean FuseEdges (); - %feature("compactdefaultargs") RefineEdges; - %feature("autodoc", " * Fuse C1 edges - - :rtype: None -") RefineEdges; - void RefineEdges (); - %feature("compactdefaultargs") SectionEdges; - %feature("autodoc", " * Returns a list of section edges. The edges represent the result of intersection between arguments of Boolean Operation. They are computed during operation execution. +}; - :rtype: TopTools_ListOfShape -") SectionEdges; - const TopTools_ListOfShape & SectionEdges (); - %feature("compactdefaultargs") Modified; - %feature("autodoc", " * Returns the list of shapes modified from the shape . - :param aS: - :type aS: TopoDS_Shape & - :rtype: TopTools_ListOfShape -") Modified; - virtual const TopTools_ListOfShape & Modified (const TopoDS_Shape & aS); - %feature("compactdefaultargs") IsDeleted; - %feature("autodoc", " * Returns true if the shape S has been deleted. The result shape of the operation does not contain the shape S. +%extend BRepAlgoAPI_BooleanOperation { + %pythoncode { + __repr__ = _dumps_object + } +}; - :param aS: - :type aS: TopoDS_Shape & - :rtype: bool -") IsDeleted; - virtual Standard_Boolean IsDeleted (const TopoDS_Shape & aS); - %feature("compactdefaultargs") Generated; - %feature("autodoc", " * Returns the list of shapes generated from the shape . For use in BRepNaming. +/***************************** +* class BRepAlgoAPI_Splitter * +*****************************/ +%nodefaultctor BRepAlgoAPI_Splitter; +class BRepAlgoAPI_Splitter : public BRepAlgoAPI_BuilderAlgo { + public: + /****************** BRepAlgoAPI_Splitter ******************/ + %feature("compactdefaultargs") BRepAlgoAPI_Splitter; + %feature("autodoc", "* @name Constructors Empty constructor + :rtype: None") BRepAlgoAPI_Splitter; + BRepAlgoAPI_Splitter (); + + /****************** BRepAlgoAPI_Splitter ******************/ + %feature("compactdefaultargs") BRepAlgoAPI_Splitter; + %feature("autodoc", "* Constructor with already prepared intersection tool - PaveFiller + :param thePF: + :type thePF: BOPAlgo_PaveFiller & + :rtype: None") BRepAlgoAPI_Splitter; + BRepAlgoAPI_Splitter (const BOPAlgo_PaveFiller & thePF); - :param S: - :type S: TopoDS_Shape & - :rtype: TopTools_ListOfShape -") Generated; - virtual const TopTools_ListOfShape & Generated (const TopoDS_Shape & S); - %feature("compactdefaultargs") HasModified; - %feature("autodoc", " * Returns true if there is at least one modified shape. For use in BRepNaming. + /****************** Build ******************/ + %feature("compactdefaultargs") Build; + %feature("autodoc", "* @name Performing the operation Performs the Split operation. Performs the intersection of the argument shapes (both objects and tools) and splits objects by the tools. + :rtype: void") Build; + virtual void Build (); - :rtype: bool -") HasModified; - virtual Standard_Boolean HasModified (); - %feature("compactdefaultargs") HasGenerated; - %feature("autodoc", " * Returns true if there is at least one generated shape. For use in BRepNaming. + /****************** SetTools ******************/ + %feature("compactdefaultargs") SetTools; + %feature("autodoc", "* @name Setters/Getters for the Tools Sets the Tool arguments + :param theLS: + :type theLS: TopTools_ListOfShape & + :rtype: None") SetTools; + void SetTools (const TopTools_ListOfShape & theLS); - :rtype: bool -") HasGenerated; - virtual Standard_Boolean HasGenerated (); - %feature("compactdefaultargs") HasDeleted; - %feature("autodoc", " * Returns true if there is at least one deleted shape. For use in BRepNaming. + /****************** Tools ******************/ + %feature("compactdefaultargs") Tools; + %feature("autodoc", "* Returns the Tool arguments + :rtype: TopTools_ListOfShape") Tools; + const TopTools_ListOfShape & Tools (); - :rtype: bool -") HasDeleted; - virtual Standard_Boolean HasDeleted (); }; -%extend BRepAlgoAPI_BooleanOperation { +%extend BRepAlgoAPI_Splitter { %pythoncode { __repr__ = _dumps_object } }; + +/*************************** +* class BRepAlgoAPI_Common * +***************************/ %nodefaultctor BRepAlgoAPI_Common; class BRepAlgoAPI_Common : public BRepAlgoAPI_BooleanOperation { public: + /****************** BRepAlgoAPI_Common ******************/ %feature("compactdefaultargs") BRepAlgoAPI_Common; - %feature("autodoc", " * Empty constructor - - :rtype: None -") BRepAlgoAPI_Common; + %feature("autodoc", "* Empty constructor + :rtype: None") BRepAlgoAPI_Common; BRepAlgoAPI_Common (); - %feature("compactdefaultargs") BRepAlgoAPI_Common; - %feature("autodoc", " * Empty constructor - PaveFiller object that is carried out + /****************** BRepAlgoAPI_Common ******************/ + %feature("compactdefaultargs") BRepAlgoAPI_Common; + %feature("autodoc", "* Empty constructor - PaveFiller object that is carried out :param PF: :type PF: BOPAlgo_PaveFiller & - :rtype: None -") BRepAlgoAPI_Common; + :rtype: None") BRepAlgoAPI_Common; BRepAlgoAPI_Common (const BOPAlgo_PaveFiller & PF); - %feature("compactdefaultargs") BRepAlgoAPI_Common; - %feature("autodoc", " * Constructor with two shapes -argument -tool - the type of the operation Obsolete + /****************** BRepAlgoAPI_Common ******************/ + %feature("compactdefaultargs") BRepAlgoAPI_Common; + %feature("autodoc", "* Constructor with two shapes -argument -tool - the type of the operation Obsolete :param S1: :type S1: TopoDS_Shape & :param S2: :type S2: TopoDS_Shape & - :rtype: None -") BRepAlgoAPI_Common; + :rtype: None") BRepAlgoAPI_Common; BRepAlgoAPI_Common (const TopoDS_Shape & S1,const TopoDS_Shape & S2); - %feature("compactdefaultargs") BRepAlgoAPI_Common; - %feature("autodoc", " * Constructor with two shapes -argument -tool - the type of the operation - PaveFiller object that is carried out Obsolete + /****************** BRepAlgoAPI_Common ******************/ + %feature("compactdefaultargs") BRepAlgoAPI_Common; + %feature("autodoc", "* Constructor with two shapes -argument -tool - the type of the operation - PaveFiller object that is carried out Obsolete :param S1: :type S1: TopoDS_Shape & :param S2: :type S2: TopoDS_Shape & :param PF: :type PF: BOPAlgo_PaveFiller & - :rtype: None -") BRepAlgoAPI_Common; + :rtype: None") BRepAlgoAPI_Common; BRepAlgoAPI_Common (const TopoDS_Shape & S1,const TopoDS_Shape & S2,const BOPAlgo_PaveFiller & PF); + }; @@ -541,36 +693,40 @@ class BRepAlgoAPI_Common : public BRepAlgoAPI_BooleanOperation { __repr__ = _dumps_object } }; + +/************************ +* class BRepAlgoAPI_Cut * +************************/ %nodefaultctor BRepAlgoAPI_Cut; class BRepAlgoAPI_Cut : public BRepAlgoAPI_BooleanOperation { public: + /****************** BRepAlgoAPI_Cut ******************/ %feature("compactdefaultargs") BRepAlgoAPI_Cut; - %feature("autodoc", " * Empty constructor - - :rtype: None -") BRepAlgoAPI_Cut; + %feature("autodoc", "* Empty constructor + :rtype: None") BRepAlgoAPI_Cut; BRepAlgoAPI_Cut (); - %feature("compactdefaultargs") BRepAlgoAPI_Cut; - %feature("autodoc", " * Empty constructor - PaveFiller object that is carried out + /****************** BRepAlgoAPI_Cut ******************/ + %feature("compactdefaultargs") BRepAlgoAPI_Cut; + %feature("autodoc", "* Empty constructor - PaveFiller object that is carried out :param PF: :type PF: BOPAlgo_PaveFiller & - :rtype: None -") BRepAlgoAPI_Cut; + :rtype: None") BRepAlgoAPI_Cut; BRepAlgoAPI_Cut (const BOPAlgo_PaveFiller & PF); - %feature("compactdefaultargs") BRepAlgoAPI_Cut; - %feature("autodoc", " * Constructor with two shapes -argument -tool - the type of the operation Obsolete + /****************** BRepAlgoAPI_Cut ******************/ + %feature("compactdefaultargs") BRepAlgoAPI_Cut; + %feature("autodoc", "* Constructor with two shapes -argument -tool - the type of the operation Obsolete :param S1: :type S1: TopoDS_Shape & :param S2: :type S2: TopoDS_Shape & - :rtype: None -") BRepAlgoAPI_Cut; + :rtype: None") BRepAlgoAPI_Cut; BRepAlgoAPI_Cut (const TopoDS_Shape & S1,const TopoDS_Shape & S2); - %feature("compactdefaultargs") BRepAlgoAPI_Cut; - %feature("autodoc", " * Constructor with two shapes -argument -tool - the type of the operation - PaveFiller object that is carried out Obsolete + /****************** BRepAlgoAPI_Cut ******************/ + %feature("compactdefaultargs") BRepAlgoAPI_Cut; + %feature("autodoc", "* Constructor with two shapes -argument -tool - the type of the operation - PaveFiller object that is carried out Obsolete :param S1: :type S1: TopoDS_Shape & :param S2: @@ -579,9 +735,9 @@ class BRepAlgoAPI_Cut : public BRepAlgoAPI_BooleanOperation { :type aDSF: BOPAlgo_PaveFiller & :param bFWD: default value is Standard_True :type bFWD: bool - :rtype: None -") BRepAlgoAPI_Cut; + :rtype: None") BRepAlgoAPI_Cut; BRepAlgoAPI_Cut (const TopoDS_Shape & S1,const TopoDS_Shape & S2,const BOPAlgo_PaveFiller & aDSF,const Standard_Boolean bFWD = Standard_True); + }; @@ -590,45 +746,49 @@ class BRepAlgoAPI_Cut : public BRepAlgoAPI_BooleanOperation { __repr__ = _dumps_object } }; + +/************************* +* class BRepAlgoAPI_Fuse * +*************************/ %nodefaultctor BRepAlgoAPI_Fuse; class BRepAlgoAPI_Fuse : public BRepAlgoAPI_BooleanOperation { public: + /****************** BRepAlgoAPI_Fuse ******************/ %feature("compactdefaultargs") BRepAlgoAPI_Fuse; - %feature("autodoc", " * Empty constructor - - :rtype: None -") BRepAlgoAPI_Fuse; + %feature("autodoc", "* Empty constructor + :rtype: None") BRepAlgoAPI_Fuse; BRepAlgoAPI_Fuse (); - %feature("compactdefaultargs") BRepAlgoAPI_Fuse; - %feature("autodoc", " * Empty constructor - PaveFiller object that is carried out + /****************** BRepAlgoAPI_Fuse ******************/ + %feature("compactdefaultargs") BRepAlgoAPI_Fuse; + %feature("autodoc", "* Empty constructor - PaveFiller object that is carried out :param PF: :type PF: BOPAlgo_PaveFiller & - :rtype: None -") BRepAlgoAPI_Fuse; + :rtype: None") BRepAlgoAPI_Fuse; BRepAlgoAPI_Fuse (const BOPAlgo_PaveFiller & PF); - %feature("compactdefaultargs") BRepAlgoAPI_Fuse; - %feature("autodoc", " * Constructor with two shapes -argument -tool - the type of the operation Obsolete + /****************** BRepAlgoAPI_Fuse ******************/ + %feature("compactdefaultargs") BRepAlgoAPI_Fuse; + %feature("autodoc", "* Constructor with two shapes -argument -tool - the type of the operation Obsolete :param S1: :type S1: TopoDS_Shape & :param S2: :type S2: TopoDS_Shape & - :rtype: None -") BRepAlgoAPI_Fuse; + :rtype: None") BRepAlgoAPI_Fuse; BRepAlgoAPI_Fuse (const TopoDS_Shape & S1,const TopoDS_Shape & S2); - %feature("compactdefaultargs") BRepAlgoAPI_Fuse; - %feature("autodoc", " * Constructor with two shapes -argument -tool - the type of the operation - PaveFiller object that is carried out Obsolete + /****************** BRepAlgoAPI_Fuse ******************/ + %feature("compactdefaultargs") BRepAlgoAPI_Fuse; + %feature("autodoc", "* Constructor with two shapes -argument -tool - the type of the operation - PaveFiller object that is carried out Obsolete :param S1: :type S1: TopoDS_Shape & :param S2: :type S2: TopoDS_Shape & :param aDSF: :type aDSF: BOPAlgo_PaveFiller & - :rtype: None -") BRepAlgoAPI_Fuse; + :rtype: None") BRepAlgoAPI_Fuse; BRepAlgoAPI_Fuse (const TopoDS_Shape & S1,const TopoDS_Shape & S2,const BOPAlgo_PaveFiller & aDSF); + }; @@ -637,38 +797,49 @@ class BRepAlgoAPI_Fuse : public BRepAlgoAPI_BooleanOperation { __repr__ = _dumps_object } }; + +/**************************** +* class BRepAlgoAPI_Section * +****************************/ %nodefaultctor BRepAlgoAPI_Section; class BRepAlgoAPI_Section : public BRepAlgoAPI_BooleanOperation { public: - %feature("compactdefaultargs") BRepAlgoAPI_Section; - %feature("autodoc", " * Empty constructor + /****************** Approximation ******************/ + %feature("compactdefaultargs") Approximation; + %feature("autodoc", ":param B: + :type B: bool + :rtype: None") Approximation; + void Approximation (const Standard_Boolean B); - :rtype: None -") BRepAlgoAPI_Section; - BRepAlgoAPI_Section (); + /****************** BRepAlgoAPI_Section ******************/ %feature("compactdefaultargs") BRepAlgoAPI_Section; - %feature("autodoc", " * Empty constructor - PaveFiller object that is carried out + %feature("autodoc", "* Empty constructor + :rtype: None") BRepAlgoAPI_Section; + BRepAlgoAPI_Section (); + /****************** BRepAlgoAPI_Section ******************/ + %feature("compactdefaultargs") BRepAlgoAPI_Section; + %feature("autodoc", "* Empty constructor - PaveFiller object that is carried out :param PF: :type PF: BOPAlgo_PaveFiller & - :rtype: None -") BRepAlgoAPI_Section; + :rtype: None") BRepAlgoAPI_Section; BRepAlgoAPI_Section (const BOPAlgo_PaveFiller & PF); - %feature("compactdefaultargs") BRepAlgoAPI_Section; - %feature("autodoc", " * Constructor with two shapes -argument -tool - the flag: if =True - the algorithm is performed immediatly Obsolete + /****************** BRepAlgoAPI_Section ******************/ + %feature("compactdefaultargs") BRepAlgoAPI_Section; + %feature("autodoc", "* Constructor with two shapes -argument -tool - the flag: if =True - the algorithm is performed immediatly Obsolete :param S1: :type S1: TopoDS_Shape & :param S2: :type S2: TopoDS_Shape & :param PerformNow: default value is Standard_True :type PerformNow: bool - :rtype: None -") BRepAlgoAPI_Section; + :rtype: None") BRepAlgoAPI_Section; BRepAlgoAPI_Section (const TopoDS_Shape & S1,const TopoDS_Shape & S2,const Standard_Boolean PerformNow = Standard_True); - %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 + /****************** BRepAlgoAPI_Section ******************/ + %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 :param S1: :type S1: TopoDS_Shape & :param S2: @@ -677,153 +848,147 @@ class BRepAlgoAPI_Section : public BRepAlgoAPI_BooleanOperation { :type aDSF: BOPAlgo_PaveFiller & :param PerformNow: default value is Standard_True :type PerformNow: bool - :rtype: None -") BRepAlgoAPI_Section; + :rtype: None") BRepAlgoAPI_Section; BRepAlgoAPI_Section (const TopoDS_Shape & S1,const TopoDS_Shape & S2,const BOPAlgo_PaveFiller & aDSF,const Standard_Boolean PerformNow = Standard_True); - %feature("compactdefaultargs") BRepAlgoAPI_Section; - %feature("autodoc", " * Constructor with two shapes - argument - tool - the flag: if =True - the algorithm is performed immediatly Obsolete + /****************** BRepAlgoAPI_Section ******************/ + %feature("compactdefaultargs") BRepAlgoAPI_Section; + %feature("autodoc", "* Constructor with two shapes - argument - tool - the flag: if =True - the algorithm is performed immediatly Obsolete :param S1: :type S1: TopoDS_Shape & :param Pl: :type Pl: gp_Pln :param PerformNow: default value is Standard_True :type PerformNow: bool - :rtype: None -") BRepAlgoAPI_Section; + :rtype: None") BRepAlgoAPI_Section; BRepAlgoAPI_Section (const TopoDS_Shape & S1,const gp_Pln & Pl,const Standard_Boolean PerformNow = Standard_True); - %feature("compactdefaultargs") BRepAlgoAPI_Section; - %feature("autodoc", " * Constructor with two shapes - argument - tool - the flag: if =True - the algorithm is performed immediatly Obsolete + /****************** BRepAlgoAPI_Section ******************/ + %feature("compactdefaultargs") BRepAlgoAPI_Section; + %feature("autodoc", "* Constructor with two shapes - argument - tool - the flag: if =True - the algorithm is performed immediatly Obsolete :param S1: :type S1: TopoDS_Shape & :param Sf: - :type Sf: Handle_Geom_Surface & + :type Sf: opencascade::handle & :param PerformNow: default value is Standard_True :type PerformNow: bool - :rtype: None -") BRepAlgoAPI_Section; - BRepAlgoAPI_Section (const TopoDS_Shape & S1,const Handle_Geom_Surface & Sf,const Standard_Boolean PerformNow = Standard_True); - %feature("compactdefaultargs") BRepAlgoAPI_Section; - %feature("autodoc", " * Constructor with two shapes - argument - tool - the flag: if =True - the algorithm is performed immediatly Obsolete + :rtype: None") BRepAlgoAPI_Section; + BRepAlgoAPI_Section (const TopoDS_Shape & S1,const opencascade::handle & Sf,const Standard_Boolean PerformNow = Standard_True); + /****************** BRepAlgoAPI_Section ******************/ + %feature("compactdefaultargs") BRepAlgoAPI_Section; + %feature("autodoc", "* Constructor with two shapes - argument - tool - the flag: if =True - the algorithm is performed immediatly Obsolete :param Sf: - :type Sf: Handle_Geom_Surface & + :type Sf: opencascade::handle & :param S2: :type S2: TopoDS_Shape & :param PerformNow: default value is Standard_True :type PerformNow: bool - :rtype: None -") BRepAlgoAPI_Section; - BRepAlgoAPI_Section (const Handle_Geom_Surface & Sf,const TopoDS_Shape & S2,const Standard_Boolean PerformNow = Standard_True); - %feature("compactdefaultargs") BRepAlgoAPI_Section; - %feature("autodoc", " * Constructor with two shapes - argument - tool - the flag: if =True - the algorithm is performed immediatly Obsolete + :rtype: None") BRepAlgoAPI_Section; + BRepAlgoAPI_Section (const opencascade::handle & Sf,const TopoDS_Shape & S2,const Standard_Boolean PerformNow = Standard_True); + /****************** BRepAlgoAPI_Section ******************/ + %feature("compactdefaultargs") BRepAlgoAPI_Section; + %feature("autodoc", "* Constructor with two shapes - argument - tool - the flag: if =True - the algorithm is performed immediatly Obsolete :param Sf1: - :type Sf1: Handle_Geom_Surface & + :type Sf1: opencascade::handle & :param Sf2: - :type Sf2: Handle_Geom_Surface & + :type Sf2: opencascade::handle & :param PerformNow: default value is Standard_True :type PerformNow: bool - :rtype: None -") BRepAlgoAPI_Section; - BRepAlgoAPI_Section (const Handle_Geom_Surface & Sf1,const Handle_Geom_Surface & Sf2,const Standard_Boolean PerformNow = Standard_True); - %feature("compactdefaultargs") Init1; - %feature("autodoc", " * initialize the argument - argument Obsolete - - :param S1: - :type S1: TopoDS_Shape & - :rtype: None -") Init1; - void Init1 (const TopoDS_Shape & S1); - %feature("compactdefaultargs") Init1; - %feature("autodoc", " * initialize the argument - argument Obsolete - - :param Pl: - :type Pl: gp_Pln - :rtype: None -") Init1; - void Init1 (const gp_Pln & Pl); - %feature("compactdefaultargs") Init1; - %feature("autodoc", " * initialize the argument - argument Obsolete - - :param Sf: - :type Sf: Handle_Geom_Surface & - :rtype: None -") Init1; - void Init1 (const Handle_Geom_Surface & Sf); - %feature("compactdefaultargs") Init2; - %feature("autodoc", " * initialize the tool - tool Obsolete - - :param S2: - :type S2: TopoDS_Shape & - :rtype: None -") Init2; - void Init2 (const TopoDS_Shape & S2); - %feature("compactdefaultargs") Init2; - %feature("autodoc", " * initialize the tool - tool Obsolete + :rtype: None") BRepAlgoAPI_Section; + BRepAlgoAPI_Section (const opencascade::handle & Sf1,const opencascade::handle & Sf2,const Standard_Boolean PerformNow = Standard_True); - :param Pl: - :type Pl: gp_Pln - :rtype: None -") Init2; - void Init2 (const gp_Pln & Pl); - %feature("compactdefaultargs") Init2; - %feature("autodoc", " * initialize the tool - tool Obsolete + /****************** Build ******************/ + %feature("compactdefaultargs") Build; + %feature("autodoc", "* Performs the algorithm Filling interference Data Structure (if it is necessary) Building the result of the operation. + :rtype: void") Build; + virtual void Build (); - :param Sf: - :type Sf: Handle_Geom_Surface & - :rtype: None -") Init2; - void Init2 (const Handle_Geom_Surface & Sf); - %feature("compactdefaultargs") Approximation; - %feature("autodoc", " :param B: - :type B: bool - :rtype: None -") Approximation; - void Approximation (const Standard_Boolean B); + /****************** ComputePCurveOn1 ******************/ %feature("compactdefaultargs") ComputePCurveOn1; - %feature("autodoc", " * Indicates whether the P-Curve should be (or not) performed on the argument. By default, no parametric 2D curve (pcurve) is defined for the edges of the result. If ComputePCurve1 equals true, further computations performed to attach an P-Curve in the parametric space of the argument to the constructed edges. Obsolete - + %feature("autodoc", "* Indicates whether the P-Curve should be (or not) performed on the argument. By default, no parametric 2D curve (pcurve) is defined for the edges of the result. If ComputePCurve1 equals true, further computations performed to attach an P-Curve in the parametric space of the argument to the constructed edges. Obsolete :param B: :type B: bool - :rtype: None -") ComputePCurveOn1; + :rtype: None") ComputePCurveOn1; void ComputePCurveOn1 (const Standard_Boolean B); - %feature("compactdefaultargs") ComputePCurveOn2; - %feature("autodoc", " * Indicates whether the P-Curve should be (or not) performed on the tool. By default, no parametric 2D curve (pcurve) is defined for the edges of the result. If ComputePCurve1 equals true, further computations performed to attach an P-Curve in the parametric space of the tool to the constructed edges. Obsolete + /****************** ComputePCurveOn2 ******************/ + %feature("compactdefaultargs") ComputePCurveOn2; + %feature("autodoc", "* Indicates whether the P-Curve should be (or not) performed on the tool. By default, no parametric 2D curve (pcurve) is defined for the edges of the result. If ComputePCurve1 equals true, further computations performed to attach an P-Curve in the parametric space of the tool to the constructed edges. Obsolete :param B: :type B: bool - :rtype: None -") ComputePCurveOn2; + :rtype: None") ComputePCurveOn2; void ComputePCurveOn2 (const Standard_Boolean B); - %feature("compactdefaultargs") Build; - %feature("autodoc", " * Performs the algorithm Filling interference Data Structure (if it is necessary) Building the result of the operation. - :rtype: void -") Build; - virtual void Build (); + /****************** HasAncestorFaceOn1 ******************/ %feature("compactdefaultargs") HasAncestorFaceOn1; - %feature("autodoc", " * get the face of the first part giving section edge . Returns True on the 3 following conditions : 1/ is an edge returned by the Shape() metwod. 2/ First part of section performed is a shape. 3/ is built on a intersection curve (i.e is not the result of common edges) When False, F remains untouched. Obsolete - + %feature("autodoc", "* get the face of the first part giving section edge . Returns True on the 3 following conditions : 1/ is an edge returned by the Shape() metwod. 2/ First part of section performed is a shape. 3/ is built on a intersection curve (i.e is not the result of common edges) When False, F remains untouched. Obsolete :param E: :type E: TopoDS_Shape & :param F: :type F: TopoDS_Shape & - :rtype: bool -") HasAncestorFaceOn1; + :rtype: bool") HasAncestorFaceOn1; Standard_Boolean HasAncestorFaceOn1 (const TopoDS_Shape & E,TopoDS_Shape & F); - %feature("compactdefaultargs") HasAncestorFaceOn2; - %feature("autodoc", " * Identifies the ancestor faces of the 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 - 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 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. 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. Obsolete + /****************** HasAncestorFaceOn2 ******************/ + %feature("compactdefaultargs") HasAncestorFaceOn2; + %feature("autodoc", "* Identifies the ancestor faces of the 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 - 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 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. 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. Obsolete :param E: :type E: TopoDS_Shape & :param F: :type F: TopoDS_Shape & - :rtype: bool -") HasAncestorFaceOn2; + :rtype: bool") HasAncestorFaceOn2; Standard_Boolean HasAncestorFaceOn2 (const TopoDS_Shape & E,TopoDS_Shape & F); + + /****************** Init1 ******************/ + %feature("compactdefaultargs") Init1; + %feature("autodoc", "* initialize the argument - argument Obsolete + :param S1: + :type S1: TopoDS_Shape & + :rtype: None") Init1; + void Init1 (const TopoDS_Shape & S1); + + /****************** Init1 ******************/ + %feature("compactdefaultargs") Init1; + %feature("autodoc", "* initialize the argument - argument Obsolete + :param Pl: + :type Pl: gp_Pln + :rtype: None") Init1; + void Init1 (const gp_Pln & Pl); + + /****************** Init1 ******************/ + %feature("compactdefaultargs") Init1; + %feature("autodoc", "* initialize the argument - argument Obsolete + :param Sf: + :type Sf: opencascade::handle & + :rtype: None") Init1; + void Init1 (const opencascade::handle & Sf); + + /****************** Init2 ******************/ + %feature("compactdefaultargs") Init2; + %feature("autodoc", "* initialize the tool - tool Obsolete + :param S2: + :type S2: TopoDS_Shape & + :rtype: None") Init2; + void Init2 (const TopoDS_Shape & S2); + + /****************** Init2 ******************/ + %feature("compactdefaultargs") Init2; + %feature("autodoc", "* initialize the tool - tool Obsolete + :param Pl: + :type Pl: gp_Pln + :rtype: None") Init2; + void Init2 (const gp_Pln & Pl); + + /****************** Init2 ******************/ + %feature("compactdefaultargs") Init2; + %feature("autodoc", "* initialize the tool - tool Obsolete + :param Sf: + :type Sf: opencascade::handle & + :rtype: None") Init2; + void Init2 (const opencascade::handle & Sf); + }; @@ -832,3 +997,7 @@ class BRepAlgoAPI_Section : public BRepAlgoAPI_BooleanOperation { __repr__ = _dumps_object } }; + +/* harray1 class */ +/* harray2 class */ +/* harray2 class */ diff --git a/src/SWIG_files/wrapper/BRepAlgoAPI_headers.i b/src/SWIG_files/wrapper/BRepAlgoAPI_headers.i deleted file mode 100644 index 5681eec92..000000000 --- a/src/SWIG_files/wrapper/BRepAlgoAPI_headers.i +++ /dev/null @@ -1,1301 +0,0 @@ -/* -Copyright 2008-2017 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 . - -*/ -%{ -#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 -#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 -#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 -#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 -#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 -#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 -#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 -#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 -#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 -#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 -#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 -#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 -#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 -#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 -%}; -%import BRepBuilderAPI.i -%import Standard.i -%import BOPCol.i -%import Message.i -%import TopoDS.i -%import BOPAlgo.i -%import TopTools.i -%import gp.i -%import Geom.i diff --git a/src/SWIG_files/wrapper/BRepAlgo_headers.i b/src/SWIG_files/wrapper/BRepAlgo_headers.i deleted file mode 100644 index 9b8125c2b..000000000 --- a/src/SWIG_files/wrapper/BRepAlgo_headers.i +++ /dev/null @@ -1,1400 +0,0 @@ -/* -Copyright 2008-2017 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 . - -*/ -%{ -#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 -#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 -#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 -#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 -#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 -#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 -#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 -#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 -#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 -#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 -#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 -#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 -#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 -#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 -#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 -%}; -%import TopoDS.i -%import GeomAbs.i -%import Standard.i -%import TopTools.i -%import MMgt.i -%import BRepBuilderAPI.i -%import TopAbs.i -%import TopOpeBRepBuild.i -%import TopOpeBRepDS.i -%import TCollection.i -%import Adaptor3d.i -%import TColStd.i -%import gp.i -%import Geom.i diff --git a/src/SWIG_files/wrapper/BRepApprox.i b/src/SWIG_files/wrapper/BRepApprox.i index a0531c8e7..639c9ef72 100644 --- a/src/SWIG_files/wrapper/BRepApprox.i +++ b/src/SWIG_files/wrapper/BRepApprox.i @@ -1,6 +1,5 @@ /* -Copyright 2008-2017 Thomas Paviot (tpaviot@gmail.com) - +Copyright 2008-2019 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -15,18 +14,13 @@ 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 BREPAPPROXDOCSTRING -"This package provides services on intersection curves -dealt by topological operations on BRep objects. -Services are approximation services. - -" +"BRepApprox module, see official documentation at +https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brepapprox.html" %enddef %module (package="OCC.Core", docstring=BREPAPPROXDOCSTRING) BRepApprox -#pragma SWIG nowarn=504,325,503 %{ #ifdef WNT @@ -41,85 +35,124 @@ Services are approximation services. %include ../common/OccHandle.i -%include BRepApprox_headers.i - -/* typedefs */ -/* end typedefs declaration */ - +%{ +#include + +//Dependencies +#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 +%}; +%import Standard.i +%import NCollection.i +%import Approx.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 +%import gp.i +%import ApproxInt.i +%import TColgp.i /* public enums */ /* end public enums declaration */ +/* handles */ %wrap_handle(BRepApprox_ApproxLine) +/* end handles declaration */ +/* templates */ +/* end templates declaration */ + +/* typedefs */ +/* end typedefs declaration */ + +/************************** +* class BRepApprox_Approx * +**************************/ %nodefaultctor BRepApprox_Approx; class BRepApprox_Approx { public: + class Approx_Data {}; + /****************** BRepApprox_Approx ******************/ %feature("compactdefaultargs") BRepApprox_Approx; - %feature("autodoc", " :rtype: None -") BRepApprox_Approx; + %feature("autodoc", ":rtype: None") BRepApprox_Approx; BRepApprox_Approx (); + + /****************** IsDone ******************/ + %feature("compactdefaultargs") IsDone; + %feature("autodoc", ":rtype: bool") IsDone; + Standard_Boolean IsDone (); + + /****************** NbMultiCurves ******************/ + %feature("compactdefaultargs") NbMultiCurves; + %feature("autodoc", ":rtype: int") NbMultiCurves; + Standard_Integer NbMultiCurves (); + + /****************** SetParameters ******************/ %feature("compactdefaultargs") SetParameters; - %feature("autodoc", " :param Tol3d: - :type Tol3d: float - :param Tol2d: - :type Tol2d: float - :param DegMin: - :type DegMin: int - :param DegMax: - :type DegMax: int - :param NbIterMax: - :type NbIterMax: int - :param ApproxWithTangency: default value is Standard_True - :type ApproxWithTangency: bool - :param Parametrization: default value is Approx_ChordLength - :type Parametrization: Approx_ParametrizationType - :rtype: None -") SetParameters; - void SetParameters (const Standard_Real Tol3d,const Standard_Real Tol2d,const Standard_Integer DegMin,const Standard_Integer DegMax,const Standard_Integer NbIterMax,const Standard_Boolean ApproxWithTangency = Standard_True,const Approx_ParametrizationType Parametrization = Approx_ChordLength); - %feature("compactdefaultargs") SetParameters; - %feature("autodoc", " :param Tol3d: + %feature("autodoc", ":param Tol3d: :type Tol3d: float :param Tol2d: :type Tol2d: float - :param RelativeTol: - :type RelativeTol: bool :param DegMin: :type DegMin: int :param DegMax: :type DegMax: int :param NbIterMax: :type NbIterMax: int - :param NbPntMax: + :param NbPntMax: default value is 30 :type NbPntMax: int :param ApproxWithTangency: default value is Standard_True :type ApproxWithTangency: bool :param Parametrization: default value is Approx_ChordLength :type Parametrization: Approx_ParametrizationType - :rtype: None -") SetParameters; - void SetParameters (const Standard_Real Tol3d,const Standard_Real Tol2d,const Standard_Boolean RelativeTol,const Standard_Integer DegMin,const Standard_Integer DegMax,const Standard_Integer NbIterMax,const Standard_Integer NbPntMax,const Standard_Boolean ApproxWithTangency = Standard_True,const Approx_ParametrizationType Parametrization = Approx_ChordLength); - %feature("compactdefaultargs") TolReached3d; - %feature("autodoc", " :rtype: float -") TolReached3d; - Standard_Real TolReached3d (); + :rtype: None") SetParameters; + void SetParameters (const Standard_Real Tol3d,const Standard_Real Tol2d,const Standard_Integer DegMin,const Standard_Integer DegMax,const Standard_Integer NbIterMax,const Standard_Integer NbPntMax = 30,const Standard_Boolean ApproxWithTangency = Standard_True,const Approx_ParametrizationType Parametrization = Approx_ChordLength); + + /****************** TolReached2d ******************/ %feature("compactdefaultargs") TolReached2d; - %feature("autodoc", " :rtype: float -") TolReached2d; + %feature("autodoc", ":rtype: float") TolReached2d; Standard_Real TolReached2d (); - %feature("compactdefaultargs") IsDone; - %feature("autodoc", " :rtype: bool -") IsDone; - Standard_Boolean IsDone (); - %feature("compactdefaultargs") NbMultiCurves; - %feature("autodoc", " :rtype: int -") NbMultiCurves; - Standard_Integer NbMultiCurves (); + + /****************** TolReached3d ******************/ + %feature("compactdefaultargs") TolReached3d; + %feature("autodoc", ":rtype: float") TolReached3d; + Standard_Real TolReached3d (); + + /****************** Value ******************/ %feature("compactdefaultargs") Value; - %feature("autodoc", " :param Index: + %feature("autodoc", ":param Index: :type Index: int - :rtype: AppParCurves_MultiBSpCurve -") Value; + :rtype: AppParCurves_MultiBSpCurve") Value; const AppParCurves_MultiBSpCurve & Value (const Standard_Integer Index); + }; @@ -128,37 +161,46 @@ class BRepApprox_Approx { __repr__ = _dumps_object } }; + +/****************************** +* class BRepApprox_ApproxLine * +******************************/ %nodefaultctor BRepApprox_ApproxLine; -class BRepApprox_ApproxLine : public MMgt_TShared { +class BRepApprox_ApproxLine : public Standard_Transient { public: + /****************** BRepApprox_ApproxLine ******************/ %feature("compactdefaultargs") BRepApprox_ApproxLine; - %feature("autodoc", " :param CurveXYZ: - :type CurveXYZ: Handle_Geom_BSplineCurve & + %feature("autodoc", ":param CurveXYZ: + :type CurveXYZ: opencascade::handle & :param CurveUV1: - :type CurveUV1: Handle_Geom2d_BSplineCurve & + :type CurveUV1: opencascade::handle & :param CurveUV2: - :type CurveUV2: Handle_Geom2d_BSplineCurve & - :rtype: None -") BRepApprox_ApproxLine; - BRepApprox_ApproxLine (const Handle_Geom_BSplineCurve & CurveXYZ,const Handle_Geom2d_BSplineCurve & CurveUV1,const Handle_Geom2d_BSplineCurve & CurveUV2); + :type CurveUV2: opencascade::handle & + :rtype: None") BRepApprox_ApproxLine; + BRepApprox_ApproxLine (const opencascade::handle & CurveXYZ,const opencascade::handle & CurveUV1,const opencascade::handle & CurveUV2); + + /****************** BRepApprox_ApproxLine ******************/ %feature("compactdefaultargs") BRepApprox_ApproxLine; - %feature("autodoc", " :param lin: - :type lin: Handle_IntSurf_LineOn2S & - :param Tang: - :type Tang: bool - :rtype: None -") BRepApprox_ApproxLine; - BRepApprox_ApproxLine (const Handle_IntSurf_LineOn2S & lin,const Standard_Boolean Tang); + %feature("autodoc", "* theTang variable has been entered only for compatibility with the alias IntPatch_WLine. They are not used in this class. + :param lin: + :type lin: opencascade::handle & + :param theTang: default value is Standard_False + :type theTang: bool + :rtype: None") BRepApprox_ApproxLine; + BRepApprox_ApproxLine (const opencascade::handle & lin,const Standard_Boolean theTang = Standard_False); + + /****************** NbPnts ******************/ %feature("compactdefaultargs") NbPnts; - %feature("autodoc", " :rtype: int -") NbPnts; + %feature("autodoc", ":rtype: int") NbPnts; Standard_Integer NbPnts (); + + /****************** Point ******************/ %feature("compactdefaultargs") Point; - %feature("autodoc", " :param Index: + %feature("autodoc", ":param Index: :type Index: int - :rtype: IntSurf_PntOn2S -") Point; + :rtype: IntSurf_PntOn2S") Point; IntSurf_PntOn2S Point (const Standard_Integer Index); + }; @@ -169,11 +211,16 @@ class BRepApprox_ApproxLine : public MMgt_TShared { __repr__ = _dumps_object } }; + +/**************************************************************************** +* class BRepApprox_BSpGradient_BFGSOfMyBSplGradientOfTheComputeLineOfApprox * +****************************************************************************/ %nodefaultctor BRepApprox_BSpGradient_BFGSOfMyBSplGradientOfTheComputeLineOfApprox; class BRepApprox_BSpGradient_BFGSOfMyBSplGradientOfTheComputeLineOfApprox : public math_BFGS { public: + /****************** BRepApprox_BSpGradient_BFGSOfMyBSplGradientOfTheComputeLineOfApprox ******************/ %feature("compactdefaultargs") BRepApprox_BSpGradient_BFGSOfMyBSplGradientOfTheComputeLineOfApprox; - %feature("autodoc", " :param F: + %feature("autodoc", ":param F: :type F: math_MultipleVarFunctionWithGradient & :param StartingPoint: :type StartingPoint: math_Vector & @@ -185,15 +232,16 @@ class BRepApprox_BSpGradient_BFGSOfMyBSplGradientOfTheComputeLineOfApprox : publ :type Eps: float :param NbIterations: default value is 200 :type NbIterations: int - :rtype: None -") BRepApprox_BSpGradient_BFGSOfMyBSplGradientOfTheComputeLineOfApprox; + :rtype: None") BRepApprox_BSpGradient_BFGSOfMyBSplGradientOfTheComputeLineOfApprox; BRepApprox_BSpGradient_BFGSOfMyBSplGradientOfTheComputeLineOfApprox (math_MultipleVarFunctionWithGradient & F,const math_Vector & StartingPoint,const Standard_Real Tolerance3d,const Standard_Real Tolerance2d,const Standard_Real Eps,const Standard_Integer NbIterations = 200); + + /****************** IsSolutionReached ******************/ %feature("compactdefaultargs") IsSolutionReached; - %feature("autodoc", " :param F: + %feature("autodoc", ":param F: :type F: math_MultipleVarFunctionWithGradient & - :rtype: bool -") IsSolutionReached; + :rtype: bool") IsSolutionReached; virtual Standard_Boolean IsSolutionReached (math_MultipleVarFunctionWithGradient & F); + }; @@ -202,18 +250,24 @@ class BRepApprox_BSpGradient_BFGSOfMyBSplGradientOfTheComputeLineOfApprox : publ __repr__ = _dumps_object } }; + +/************************************************************************** +* class BRepApprox_BSpParFunctionOfMyBSplGradientOfTheComputeLineOfApprox * +**************************************************************************/ %nodefaultctor BRepApprox_BSpParFunctionOfMyBSplGradientOfTheComputeLineOfApprox; class BRepApprox_BSpParFunctionOfMyBSplGradientOfTheComputeLineOfApprox : public math_MultipleVarFunctionWithGradient { public: + /****************** BRepApprox_BSpParFunctionOfMyBSplGradientOfTheComputeLineOfApprox ******************/ %feature("compactdefaultargs") BRepApprox_BSpParFunctionOfMyBSplGradientOfTheComputeLineOfApprox; - %feature("autodoc", " :param SSP: + %feature("autodoc", "* initializes the fields of the function. The approximating curve has control points. + :param SSP: :type SSP: BRepApprox_TheMultiLineOfApprox & :param FirstPoint: :type FirstPoint: int :param LastPoint: :type LastPoint: int :param TheConstraints: - :type TheConstraints: Handle_AppParCurves_HArray1OfConstraintCouple & + :type TheConstraints: opencascade::handle & :param Parameters: :type Parameters: math_Vector & :param Knots: @@ -222,103 +276,131 @@ class BRepApprox_BSpParFunctionOfMyBSplGradientOfTheComputeLineOfApprox : public :type Mults: TColStd_Array1OfInteger & :param NbPol: :type NbPol: int - :rtype: None -") BRepApprox_BSpParFunctionOfMyBSplGradientOfTheComputeLineOfApprox; - BRepApprox_BSpParFunctionOfMyBSplGradientOfTheComputeLineOfApprox (const BRepApprox_TheMultiLineOfApprox & SSP,const Standard_Integer FirstPoint,const Standard_Integer LastPoint,const Handle_AppParCurves_HArray1OfConstraintCouple & TheConstraints,const math_Vector & Parameters,const TColStd_Array1OfReal & Knots,const TColStd_Array1OfInteger & Mults,const Standard_Integer NbPol); - %feature("compactdefaultargs") NbVariables; - %feature("autodoc", " :rtype: int -") NbVariables; - Standard_Integer NbVariables (); - %feature("compactdefaultargs") Value; - %feature("autodoc", " :param X: - :type X: math_Vector & - :param F: - :type F: float & - :rtype: bool -") Value; - Standard_Boolean Value (const math_Vector & X,Standard_Real &OutValue); - %feature("compactdefaultargs") Gradient; - %feature("autodoc", " :param X: - :type X: math_Vector & - :param G: - :type G: math_Vector & - :rtype: bool -") Gradient; - Standard_Boolean Gradient (const math_Vector & X,math_Vector & G); - %feature("compactdefaultargs") Values; - %feature("autodoc", " :param X: - :type X: math_Vector & - :param F: - :type F: float & - :param G: - :type G: math_Vector & - :rtype: bool -") Values; - Standard_Boolean Values (const math_Vector & X,Standard_Real &OutValue,math_Vector & G); - %feature("compactdefaultargs") NewParameters; - %feature("autodoc", " :rtype: math_Vector -") NewParameters; - const math_Vector & NewParameters (); + :rtype: None") BRepApprox_BSpParFunctionOfMyBSplGradientOfTheComputeLineOfApprox; + BRepApprox_BSpParFunctionOfMyBSplGradientOfTheComputeLineOfApprox (const BRepApprox_TheMultiLineOfApprox & SSP,const Standard_Integer FirstPoint,const Standard_Integer LastPoint,const opencascade::handle & TheConstraints,const math_Vector & Parameters,const TColStd_Array1OfReal & Knots,const TColStd_Array1OfInteger & Mults,const Standard_Integer NbPol); + + /****************** CurveValue ******************/ %feature("compactdefaultargs") CurveValue; - %feature("autodoc", " :rtype: AppParCurves_MultiBSpCurve -") CurveValue; + %feature("autodoc", "* returns the MultiBSpCurve approximating the set after computing the value F or Grad(F). + :rtype: AppParCurves_MultiBSpCurve") CurveValue; AppParCurves_MultiBSpCurve CurveValue (); + + /****************** DerivativeFunctionMatrix ******************/ + %feature("compactdefaultargs") DerivativeFunctionMatrix; + %feature("autodoc", "* returns the derivative function matrix used to approximate the multiline. + :rtype: math_Matrix") DerivativeFunctionMatrix; + const math_Matrix & DerivativeFunctionMatrix (); + + /****************** Error ******************/ %feature("compactdefaultargs") Error; - %feature("autodoc", " :param IPoint: + %feature("autodoc", "* returns the distance between the MultiPoint of range IPoint and the curve CurveIndex. + :param IPoint: :type IPoint: int :param CurveIndex: :type CurveIndex: int - :rtype: float -") Error; + :rtype: float") Error; Standard_Real Error (const Standard_Integer IPoint,const Standard_Integer CurveIndex); - %feature("compactdefaultargs") MaxError3d; - %feature("autodoc", " :rtype: float -") MaxError3d; - Standard_Real MaxError3d (); - %feature("compactdefaultargs") MaxError2d; - %feature("autodoc", " :rtype: float -") MaxError2d; - Standard_Real MaxError2d (); + + /****************** FirstConstraint ******************/ + %feature("compactdefaultargs") FirstConstraint; + %feature("autodoc", ":param TheConstraints: + :type TheConstraints: opencascade::handle & + :param FirstPoint: + :type FirstPoint: int + :rtype: AppParCurves_Constraint") FirstConstraint; + AppParCurves_Constraint FirstConstraint (const opencascade::handle & TheConstraints,const Standard_Integer FirstPoint); + + /****************** FunctionMatrix ******************/ %feature("compactdefaultargs") FunctionMatrix; - %feature("autodoc", " :rtype: math_Matrix -") FunctionMatrix; + %feature("autodoc", "* returns the function matrix used to approximate the multiline. + :rtype: math_Matrix") FunctionMatrix; const math_Matrix & FunctionMatrix (); - %feature("compactdefaultargs") DerivativeFunctionMatrix; - %feature("autodoc", " :rtype: math_Matrix -") DerivativeFunctionMatrix; - const math_Matrix & DerivativeFunctionMatrix (); + + /****************** Gradient ******************/ + %feature("compactdefaultargs") Gradient; + %feature("autodoc", "* returns the gradient G of the sum above for the parameters Xi. + :param X: + :type X: math_Vector & + :param G: + :type G: math_Vector & + :rtype: bool") Gradient; + Standard_Boolean Gradient (const math_Vector & X,math_Vector & G); + + /****************** Index ******************/ %feature("compactdefaultargs") Index; - %feature("autodoc", " :rtype: math_IntegerVector -") Index; + %feature("autodoc", "* Returns the indexes of the first non null values of A and DA. The values are non null from Index(ieme point) +1 to Index(ieme point) + degree +1. + :rtype: math_IntegerVector") Index; const math_IntegerVector & Index (); - %feature("compactdefaultargs") FirstConstraint; - %feature("autodoc", " :param TheConstraints: - :type TheConstraints: Handle_AppParCurves_HArray1OfConstraintCouple & - :param FirstPoint: - :type FirstPoint: int - :rtype: AppParCurves_Constraint -") FirstConstraint; - AppParCurves_Constraint FirstConstraint (const Handle_AppParCurves_HArray1OfConstraintCouple & TheConstraints,const Standard_Integer FirstPoint); + + /****************** LastConstraint ******************/ %feature("compactdefaultargs") LastConstraint; - %feature("autodoc", " :param TheConstraints: - :type TheConstraints: Handle_AppParCurves_HArray1OfConstraintCouple & + %feature("autodoc", ":param TheConstraints: + :type TheConstraints: opencascade::handle & :param LastPoint: :type LastPoint: int - :rtype: AppParCurves_Constraint -") LastConstraint; - AppParCurves_Constraint LastConstraint (const Handle_AppParCurves_HArray1OfConstraintCouple & TheConstraints,const Standard_Integer LastPoint); + :rtype: AppParCurves_Constraint") LastConstraint; + AppParCurves_Constraint LastConstraint (const opencascade::handle & TheConstraints,const Standard_Integer LastPoint); + + /****************** MaxError2d ******************/ + %feature("compactdefaultargs") MaxError2d; + %feature("autodoc", "* returns the maximum distance between the points and the MultiBSpCurve. + :rtype: float") MaxError2d; + Standard_Real MaxError2d (); + + /****************** MaxError3d ******************/ + %feature("compactdefaultargs") MaxError3d; + %feature("autodoc", "* returns the maximum distance between the points and the MultiBSpCurve. + :rtype: float") MaxError3d; + Standard_Real MaxError3d (); + + /****************** NbVariables ******************/ + %feature("compactdefaultargs") NbVariables; + %feature("autodoc", "* returns the number of variables of the function. It corresponds to the number of MultiPoints. + :rtype: int") NbVariables; + Standard_Integer NbVariables (); + + /****************** NewParameters ******************/ + %feature("compactdefaultargs") NewParameters; + %feature("autodoc", "* returns the new parameters of the MultiLine. + :rtype: math_Vector") NewParameters; + const math_Vector & NewParameters (); + + /****************** SetFirstLambda ******************/ %feature("compactdefaultargs") SetFirstLambda; - %feature("autodoc", " :param l1: + %feature("autodoc", ":param l1: :type l1: float - :rtype: None -") SetFirstLambda; + :rtype: None") SetFirstLambda; void SetFirstLambda (const Standard_Real l1); + + /****************** SetLastLambda ******************/ %feature("compactdefaultargs") SetLastLambda; - %feature("autodoc", " :param l2: + %feature("autodoc", ":param l2: :type l2: float - :rtype: None -") SetLastLambda; + :rtype: None") SetLastLambda; void SetLastLambda (const Standard_Real l2); + + /****************** Value ******************/ + %feature("compactdefaultargs") Value; + %feature("autodoc", "* this method computes the new approximation of the MultiLine SSP and calculates F = sum (||Pui - Bi*Pi||2) for each point of the MultiLine. + :param X: + :type X: math_Vector & + :param F: + :type F: float & + :rtype: bool") Value; + Standard_Boolean Value (const math_Vector & X,Standard_Real &OutValue); + + /****************** Values ******************/ + %feature("compactdefaultargs") Values; + %feature("autodoc", "* returns the value F=sum(||Pui - Bi*Pi||)2. returns the value G = grad(F) for the parameters Xi. + :param X: + :type X: math_Vector & + :param F: + :type F: float & + :param G: + :type G: math_Vector & + :rtype: bool") Values; + Standard_Boolean Values (const math_Vector & X,Standard_Real &OutValue,math_Vector & G); + }; @@ -327,11 +409,17 @@ class BRepApprox_BSpParFunctionOfMyBSplGradientOfTheComputeLineOfApprox : public __repr__ = _dumps_object } }; + +/***************************************************************************** +* class BRepApprox_BSpParLeastSquareOfMyBSplGradientOfTheComputeLineOfApprox * +*****************************************************************************/ %nodefaultctor BRepApprox_BSpParLeastSquareOfMyBSplGradientOfTheComputeLineOfApprox; class BRepApprox_BSpParLeastSquareOfMyBSplGradientOfTheComputeLineOfApprox { public: + /****************** BRepApprox_BSpParLeastSquareOfMyBSplGradientOfTheComputeLineOfApprox ******************/ %feature("compactdefaultargs") BRepApprox_BSpParLeastSquareOfMyBSplGradientOfTheComputeLineOfApprox; - %feature("autodoc", " :param SSP: + %feature("autodoc", "* given a MultiLine, this algorithm computes the least square resolution using the Householder-QR method. If the first and/or the last point is a constraint point, the value of the tangency or curvature is computed in the resolution. NbPol is the number of control points wanted for the approximating curves. The system to solve is the following: A X = B. Where A is the Bernstein matrix computed with the parameters, B the points coordinates and X the poles solutions. The matrix A is the same for each coordinate x, y and z and is also the same for each MultiLine point because they are approximated in parallel(so with the same parameter, only the vector B changes). + :param SSP: :type SSP: BRepApprox_TheMultiLineOfApprox & :param FirstPoint: :type FirstPoint: int @@ -345,11 +433,13 @@ class BRepApprox_BSpParLeastSquareOfMyBSplGradientOfTheComputeLineOfApprox { :type Parameters: math_Vector & :param NbPol: :type NbPol: int - :rtype: None -") BRepApprox_BSpParLeastSquareOfMyBSplGradientOfTheComputeLineOfApprox; + :rtype: None") BRepApprox_BSpParLeastSquareOfMyBSplGradientOfTheComputeLineOfApprox; BRepApprox_BSpParLeastSquareOfMyBSplGradientOfTheComputeLineOfApprox (const BRepApprox_TheMultiLineOfApprox & SSP,const Standard_Integer FirstPoint,const Standard_Integer LastPoint,const AppParCurves_Constraint FirstCons,const AppParCurves_Constraint LastCons,const math_Vector & Parameters,const Standard_Integer NbPol); + + /****************** BRepApprox_BSpParLeastSquareOfMyBSplGradientOfTheComputeLineOfApprox ******************/ %feature("compactdefaultargs") BRepApprox_BSpParLeastSquareOfMyBSplGradientOfTheComputeLineOfApprox; - %feature("autodoc", " :param SSP: + %feature("autodoc", "* Initializes the fields of the object. + :param SSP: :type SSP: BRepApprox_TheMultiLineOfApprox & :param FirstPoint: :type FirstPoint: int @@ -361,11 +451,13 @@ class BRepApprox_BSpParLeastSquareOfMyBSplGradientOfTheComputeLineOfApprox { :type LastCons: AppParCurves_Constraint :param NbPol: :type NbPol: int - :rtype: None -") BRepApprox_BSpParLeastSquareOfMyBSplGradientOfTheComputeLineOfApprox; + :rtype: None") BRepApprox_BSpParLeastSquareOfMyBSplGradientOfTheComputeLineOfApprox; BRepApprox_BSpParLeastSquareOfMyBSplGradientOfTheComputeLineOfApprox (const BRepApprox_TheMultiLineOfApprox & SSP,const Standard_Integer FirstPoint,const Standard_Integer LastPoint,const AppParCurves_Constraint FirstCons,const AppParCurves_Constraint LastCons,const Standard_Integer NbPol); + + /****************** BRepApprox_BSpParLeastSquareOfMyBSplGradientOfTheComputeLineOfApprox ******************/ %feature("compactdefaultargs") BRepApprox_BSpParLeastSquareOfMyBSplGradientOfTheComputeLineOfApprox; - %feature("autodoc", " :param SSP: + %feature("autodoc", "* given a MultiLine, this algorithm computes the least square resolution using the Householder-QR method. If the first and/or the last point is a constraint point, the value of the tangency or curvature is computed in the resolution. Deg is the degree wanted for the approximating curves. The system to solve is the following: A X = B. Where A is the BSpline functions matrix computed with , B the points coordinates and X the poles solutions. The matrix A is the same for each coordinate x, y and z and is also the same for each MultiLine point because they are approximated in parallel(so with the same parameter, only the vector B changes). + :param SSP: :type SSP: BRepApprox_TheMultiLineOfApprox & :param Knots: :type Knots: TColStd_Array1OfReal & @@ -383,11 +475,13 @@ class BRepApprox_BSpParLeastSquareOfMyBSplGradientOfTheComputeLineOfApprox { :type Parameters: math_Vector & :param NbPol: :type NbPol: int - :rtype: None -") BRepApprox_BSpParLeastSquareOfMyBSplGradientOfTheComputeLineOfApprox; + :rtype: None") BRepApprox_BSpParLeastSquareOfMyBSplGradientOfTheComputeLineOfApprox; BRepApprox_BSpParLeastSquareOfMyBSplGradientOfTheComputeLineOfApprox (const BRepApprox_TheMultiLineOfApprox & SSP,const TColStd_Array1OfReal & Knots,const TColStd_Array1OfInteger & Mults,const Standard_Integer FirstPoint,const Standard_Integer LastPoint,const AppParCurves_Constraint FirstCons,const AppParCurves_Constraint LastCons,const math_Vector & Parameters,const Standard_Integer NbPol); + + /****************** BRepApprox_BSpParLeastSquareOfMyBSplGradientOfTheComputeLineOfApprox ******************/ %feature("compactdefaultargs") BRepApprox_BSpParLeastSquareOfMyBSplGradientOfTheComputeLineOfApprox; - %feature("autodoc", " :param SSP: + %feature("autodoc", "* Initializes the fields of the object. + :param SSP: :type SSP: BRepApprox_TheMultiLineOfApprox & :param Knots: :type Knots: TColStd_Array1OfReal & @@ -403,27 +497,113 @@ class BRepApprox_BSpParLeastSquareOfMyBSplGradientOfTheComputeLineOfApprox { :type LastCons: AppParCurves_Constraint :param NbPol: :type NbPol: int - :rtype: None -") BRepApprox_BSpParLeastSquareOfMyBSplGradientOfTheComputeLineOfApprox; + :rtype: None") BRepApprox_BSpParLeastSquareOfMyBSplGradientOfTheComputeLineOfApprox; BRepApprox_BSpParLeastSquareOfMyBSplGradientOfTheComputeLineOfApprox (const BRepApprox_TheMultiLineOfApprox & SSP,const TColStd_Array1OfReal & Knots,const TColStd_Array1OfInteger & Mults,const Standard_Integer FirstPoint,const Standard_Integer LastPoint,const AppParCurves_Constraint FirstCons,const AppParCurves_Constraint LastCons,const Standard_Integer NbPol); + + /****************** BSplineValue ******************/ + %feature("compactdefaultargs") BSplineValue; + %feature("autodoc", "* returns the result of the approximation, i.e. all the Curves. An exception is raised if NotDone. + :rtype: AppParCurves_MultiBSpCurve") BSplineValue; + const AppParCurves_MultiBSpCurve & BSplineValue (); + + /****************** BezierValue ******************/ + %feature("compactdefaultargs") BezierValue; + %feature("autodoc", "* returns the result of the approximation, i.e. all the Curves. An exception is raised if NotDone. + :rtype: AppParCurves_MultiCurve") BezierValue; + AppParCurves_MultiCurve BezierValue (); + + /****************** DerivativeFunctionMatrix ******************/ + %feature("compactdefaultargs") DerivativeFunctionMatrix; + %feature("autodoc", "* returns the derivative function matrix used to approximate the set. + :rtype: math_Matrix") DerivativeFunctionMatrix; + const math_Matrix & DerivativeFunctionMatrix (); + + /****************** Distance ******************/ + %feature("compactdefaultargs") Distance; + %feature("autodoc", "* returns the distances between the points of the multiline and the approximation curves. + :rtype: math_Matrix") Distance; + const math_Matrix & Distance (); + + /****************** Error ******************/ + %feature("compactdefaultargs") Error; + %feature("autodoc", "* returns the maximum errors between the MultiLine and the approximation curves. F is the sum of the square distances. + :param F: + :type F: float & + :param MaxE3d: + :type MaxE3d: float & + :param MaxE2d: + :type MaxE2d: float & + :rtype: None") Error; + void Error (Standard_Real &OutValue,Standard_Real &OutValue,Standard_Real &OutValue); + + /****************** ErrorGradient ******************/ + %feature("compactdefaultargs") ErrorGradient; + %feature("autodoc", "* returns the maximum errors between the MultiLine and the approximation curves. F is the sum of the square distances. Grad is the derivative vector of the function F. + :param Grad: + :type Grad: math_Vector & + :param F: + :type F: float & + :param MaxE3d: + :type MaxE3d: float & + :param MaxE2d: + :type MaxE2d: float & + :rtype: None") ErrorGradient; + void ErrorGradient (math_Vector & Grad,Standard_Real &OutValue,Standard_Real &OutValue,Standard_Real &OutValue); + + /****************** FirstLambda ******************/ + %feature("compactdefaultargs") FirstLambda; + %feature("autodoc", "* returns the value (P2 - P1)/ V1 if the first point was a tangency point. + :rtype: float") FirstLambda; + Standard_Real FirstLambda (); + + /****************** FunctionMatrix ******************/ + %feature("compactdefaultargs") FunctionMatrix; + %feature("autodoc", "* returns the function matrix used to approximate the set. + :rtype: math_Matrix") FunctionMatrix; + const math_Matrix & FunctionMatrix (); + + /****************** IsDone ******************/ + %feature("compactdefaultargs") IsDone; + %feature("autodoc", "* returns True if all has been correctly done. + :rtype: bool") IsDone; + Standard_Boolean IsDone (); + + /****************** KIndex ******************/ + %feature("compactdefaultargs") KIndex; + %feature("autodoc", "* Returns the indexes of the first non null values of A and DA. The values are non null from Index(ieme point) +1 to Index(ieme point) + degree +1. + :rtype: math_IntegerVector") KIndex; + const math_IntegerVector & KIndex (); + + /****************** LastLambda ******************/ + %feature("compactdefaultargs") LastLambda; + %feature("autodoc", "* returns the value (PN - PN-1)/ VN if the last point was a tangency point. + :rtype: float") LastLambda; + Standard_Real LastLambda (); + + /****************** Perform ******************/ %feature("compactdefaultargs") Perform; - %feature("autodoc", " :param Parameters: + %feature("autodoc", "* Is used after having initialized the fields. The case 'CurvaturePoint' is not treated in this method. + :param Parameters: :type Parameters: math_Vector & - :rtype: None -") Perform; + :rtype: None") Perform; void Perform (const math_Vector & Parameters); + + /****************** Perform ******************/ %feature("compactdefaultargs") Perform; - %feature("autodoc", " :param Parameters: + %feature("autodoc", "* Is used after having initialized the fields. + :param Parameters: :type Parameters: math_Vector & :param l1: :type l1: float :param l2: :type l2: float - :rtype: None -") Perform; + :rtype: None") Perform; void Perform (const math_Vector & Parameters,const Standard_Real l1,const Standard_Real l2); + + /****************** Perform ******************/ %feature("compactdefaultargs") Perform; - %feature("autodoc", " :param Parameters: + %feature("autodoc", "* Is used after having initialized the fields. is the tangent vector at the first point. is the tangent vector at the last point. + :param Parameters: :type Parameters: math_Vector & :param V1t: :type V1t: math_Vector & @@ -433,11 +613,13 @@ class BRepApprox_BSpParLeastSquareOfMyBSplGradientOfTheComputeLineOfApprox { :type l1: float :param l2: :type l2: float - :rtype: None -") Perform; + :rtype: None") Perform; void Perform (const math_Vector & Parameters,const math_Vector & V1t,const math_Vector & V2t,const Standard_Real l1,const Standard_Real l2); + + /****************** Perform ******************/ %feature("compactdefaultargs") Perform; - %feature("autodoc", " :param Parameters: + %feature("autodoc", "* Is used after having initialized the fields. is the tangent vector at the first point. is the tangent vector at the last point. is the tangent vector at the first point. is the tangent vector at the last point. + :param Parameters: :type Parameters: math_Vector & :param V1t: :type V1t: math_Vector & @@ -451,75 +633,21 @@ class BRepApprox_BSpParLeastSquareOfMyBSplGradientOfTheComputeLineOfApprox { :type l1: float :param l2: :type l2: float - :rtype: None -") Perform; + :rtype: None") Perform; void Perform (const math_Vector & Parameters,const math_Vector & V1t,const math_Vector & V2t,const math_Vector & V1c,const math_Vector & V2c,const Standard_Real l1,const Standard_Real l2); - %feature("compactdefaultargs") IsDone; - %feature("autodoc", " :rtype: bool -") IsDone; - Standard_Boolean IsDone (); - %feature("compactdefaultargs") BezierValue; - %feature("autodoc", " :rtype: AppParCurves_MultiCurve -") BezierValue; - AppParCurves_MultiCurve BezierValue (); - %feature("compactdefaultargs") BSplineValue; - %feature("autodoc", " :rtype: AppParCurves_MultiBSpCurve -") BSplineValue; - const AppParCurves_MultiBSpCurve & BSplineValue (); - %feature("compactdefaultargs") FunctionMatrix; - %feature("autodoc", " :rtype: math_Matrix -") FunctionMatrix; - const math_Matrix & FunctionMatrix (); - %feature("compactdefaultargs") DerivativeFunctionMatrix; - %feature("autodoc", " :rtype: math_Matrix -") DerivativeFunctionMatrix; - const math_Matrix & DerivativeFunctionMatrix (); - %feature("compactdefaultargs") ErrorGradient; - %feature("autodoc", " :param Grad: - :type Grad: math_Vector & - :param F: - :type F: float & - :param MaxE3d: - :type MaxE3d: float & - :param MaxE2d: - :type MaxE2d: float & - :rtype: None -") ErrorGradient; - void ErrorGradient (math_Vector & Grad,Standard_Real &OutValue,Standard_Real &OutValue,Standard_Real &OutValue); - %feature("compactdefaultargs") Distance; - %feature("autodoc", " :rtype: math_Matrix -") Distance; - const math_Matrix & Distance (); - %feature("compactdefaultargs") Error; - %feature("autodoc", " :param F: - :type F: float & - :param MaxE3d: - :type MaxE3d: float & - :param MaxE2d: - :type MaxE2d: float & - :rtype: None -") Error; - void Error (Standard_Real &OutValue,Standard_Real &OutValue,Standard_Real &OutValue); - %feature("compactdefaultargs") FirstLambda; - %feature("autodoc", " :rtype: float -") FirstLambda; - Standard_Real FirstLambda (); - %feature("compactdefaultargs") LastLambda; - %feature("autodoc", " :rtype: float -") LastLambda; - Standard_Real LastLambda (); + + /****************** Points ******************/ %feature("compactdefaultargs") Points; - %feature("autodoc", " :rtype: math_Matrix -") Points; + %feature("autodoc", "* returns the matrix of points value. + :rtype: math_Matrix") Points; const math_Matrix & Points (); + + /****************** Poles ******************/ %feature("compactdefaultargs") Poles; - %feature("autodoc", " :rtype: math_Matrix -") Poles; + %feature("autodoc", "* returns the matrix of resulting control points value. + :rtype: math_Matrix") Poles; const math_Matrix & Poles (); - %feature("compactdefaultargs") KIndex; - %feature("autodoc", " :rtype: math_IntegerVector -") KIndex; - const math_IntegerVector & KIndex (); + }; @@ -528,11 +656,16 @@ class BRepApprox_BSpParLeastSquareOfMyBSplGradientOfTheComputeLineOfApprox { __repr__ = _dumps_object } }; + +/*************************************************************************** +* class BRepApprox_Gradient_BFGSOfMyGradientOfTheComputeLineBezierOfApprox * +***************************************************************************/ %nodefaultctor BRepApprox_Gradient_BFGSOfMyGradientOfTheComputeLineBezierOfApprox; class BRepApprox_Gradient_BFGSOfMyGradientOfTheComputeLineBezierOfApprox : public math_BFGS { public: + /****************** BRepApprox_Gradient_BFGSOfMyGradientOfTheComputeLineBezierOfApprox ******************/ %feature("compactdefaultargs") BRepApprox_Gradient_BFGSOfMyGradientOfTheComputeLineBezierOfApprox; - %feature("autodoc", " :param F: + %feature("autodoc", ":param F: :type F: math_MultipleVarFunctionWithGradient & :param StartingPoint: :type StartingPoint: math_Vector & @@ -544,15 +677,16 @@ class BRepApprox_Gradient_BFGSOfMyGradientOfTheComputeLineBezierOfApprox : publi :type Eps: float :param NbIterations: default value is 200 :type NbIterations: int - :rtype: None -") BRepApprox_Gradient_BFGSOfMyGradientOfTheComputeLineBezierOfApprox; + :rtype: None") BRepApprox_Gradient_BFGSOfMyGradientOfTheComputeLineBezierOfApprox; BRepApprox_Gradient_BFGSOfMyGradientOfTheComputeLineBezierOfApprox (math_MultipleVarFunctionWithGradient & F,const math_Vector & StartingPoint,const Standard_Real Tolerance3d,const Standard_Real Tolerance2d,const Standard_Real Eps,const Standard_Integer NbIterations = 200); + + /****************** IsSolutionReached ******************/ %feature("compactdefaultargs") IsSolutionReached; - %feature("autodoc", " :param F: + %feature("autodoc", ":param F: :type F: math_MultipleVarFunctionWithGradient & - :rtype: bool -") IsSolutionReached; + :rtype: bool") IsSolutionReached; virtual Standard_Boolean IsSolutionReached (math_MultipleVarFunctionWithGradient & F); + }; @@ -561,11 +695,16 @@ class BRepApprox_Gradient_BFGSOfMyGradientOfTheComputeLineBezierOfApprox : publi __repr__ = _dumps_object } }; + +/************************************************************************ +* class BRepApprox_Gradient_BFGSOfMyGradientbisOfTheComputeLineOfApprox * +************************************************************************/ %nodefaultctor BRepApprox_Gradient_BFGSOfMyGradientbisOfTheComputeLineOfApprox; class BRepApprox_Gradient_BFGSOfMyGradientbisOfTheComputeLineOfApprox : public math_BFGS { public: + /****************** BRepApprox_Gradient_BFGSOfMyGradientbisOfTheComputeLineOfApprox ******************/ %feature("compactdefaultargs") BRepApprox_Gradient_BFGSOfMyGradientbisOfTheComputeLineOfApprox; - %feature("autodoc", " :param F: + %feature("autodoc", ":param F: :type F: math_MultipleVarFunctionWithGradient & :param StartingPoint: :type StartingPoint: math_Vector & @@ -577,15 +716,16 @@ class BRepApprox_Gradient_BFGSOfMyGradientbisOfTheComputeLineOfApprox : public m :type Eps: float :param NbIterations: default value is 200 :type NbIterations: int - :rtype: None -") BRepApprox_Gradient_BFGSOfMyGradientbisOfTheComputeLineOfApprox; + :rtype: None") BRepApprox_Gradient_BFGSOfMyGradientbisOfTheComputeLineOfApprox; BRepApprox_Gradient_BFGSOfMyGradientbisOfTheComputeLineOfApprox (math_MultipleVarFunctionWithGradient & F,const math_Vector & StartingPoint,const Standard_Real Tolerance3d,const Standard_Real Tolerance2d,const Standard_Real Eps,const Standard_Integer NbIterations = 200); + + /****************** IsSolutionReached ******************/ %feature("compactdefaultargs") IsSolutionReached; - %feature("autodoc", " :param F: + %feature("autodoc", ":param F: :type F: math_MultipleVarFunctionWithGradient & - :rtype: bool -") IsSolutionReached; + :rtype: bool") IsSolutionReached; virtual Standard_Boolean IsSolutionReached (math_MultipleVarFunctionWithGradient & F); + }; @@ -594,18 +734,30 @@ class BRepApprox_Gradient_BFGSOfMyGradientbisOfTheComputeLineOfApprox : public m __repr__ = _dumps_object } }; + +/********************************************************** +* class BRepApprox_MyBSplGradientOfTheComputeLineOfApprox * +**********************************************************/ %nodefaultctor BRepApprox_MyBSplGradientOfTheComputeLineOfApprox; class BRepApprox_MyBSplGradientOfTheComputeLineOfApprox { public: + /****************** AverageError ******************/ + %feature("compactdefaultargs") AverageError; + %feature("autodoc", "* returns the average error between the old and the new approximation. + :rtype: float") AverageError; + Standard_Real AverageError (); + + /****************** BRepApprox_MyBSplGradientOfTheComputeLineOfApprox ******************/ %feature("compactdefaultargs") BRepApprox_MyBSplGradientOfTheComputeLineOfApprox; - %feature("autodoc", " :param SSP: + %feature("autodoc", "* Tries to minimize the sum (square(||Qui - Bi*Pi||)) where Pui describe the approximating BSpline curves'Poles and Qi the MultiLine points with a parameter ui. In this algorithm, the parameters ui are the unknowns. The tolerance required on this sum is given by Tol. The desired degree of the resulting curve is Deg. + :param SSP: :type SSP: BRepApprox_TheMultiLineOfApprox & :param FirstPoint: :type FirstPoint: int :param LastPoint: :type LastPoint: int :param TheConstraints: - :type TheConstraints: Handle_AppParCurves_HArray1OfConstraintCouple & + :type TheConstraints: opencascade::handle & :param Parameters: :type Parameters: math_Vector & :param Knots: @@ -620,18 +772,20 @@ class BRepApprox_MyBSplGradientOfTheComputeLineOfApprox { :type Tol2d: float :param NbIterations: default value is 1 :type NbIterations: int - :rtype: None -") BRepApprox_MyBSplGradientOfTheComputeLineOfApprox; - BRepApprox_MyBSplGradientOfTheComputeLineOfApprox (const BRepApprox_TheMultiLineOfApprox & SSP,const Standard_Integer FirstPoint,const Standard_Integer LastPoint,const Handle_AppParCurves_HArray1OfConstraintCouple & TheConstraints,math_Vector & Parameters,const TColStd_Array1OfReal & Knots,const TColStd_Array1OfInteger & Mults,const Standard_Integer Deg,const Standard_Real Tol3d,const Standard_Real Tol2d,const Standard_Integer NbIterations = 1); + :rtype: None") BRepApprox_MyBSplGradientOfTheComputeLineOfApprox; + BRepApprox_MyBSplGradientOfTheComputeLineOfApprox (const BRepApprox_TheMultiLineOfApprox & SSP,const Standard_Integer FirstPoint,const Standard_Integer LastPoint,const opencascade::handle & TheConstraints,math_Vector & Parameters,const TColStd_Array1OfReal & Knots,const TColStd_Array1OfInteger & Mults,const Standard_Integer Deg,const Standard_Real Tol3d,const Standard_Real Tol2d,const Standard_Integer NbIterations = 1); + + /****************** BRepApprox_MyBSplGradientOfTheComputeLineOfApprox ******************/ %feature("compactdefaultargs") BRepApprox_MyBSplGradientOfTheComputeLineOfApprox; - %feature("autodoc", " :param SSP: + %feature("autodoc", "* Tries to minimize the sum (square(||Qui - Bi*Pi||)) where Pui describe the approximating BSpline curves'Poles and Qi the MultiLine points with a parameter ui. In this algorithm, the parameters ui are the unknowns. The tolerance required on this sum is given by Tol. The desired degree of the resulting curve is Deg. + :param SSP: :type SSP: BRepApprox_TheMultiLineOfApprox & :param FirstPoint: :type FirstPoint: int :param LastPoint: :type LastPoint: int :param TheConstraints: - :type TheConstraints: Handle_AppParCurves_HArray1OfConstraintCouple & + :type TheConstraints: opencascade::handle & :param Parameters: :type Parameters: math_Vector & :param Knots: @@ -650,35 +804,41 @@ class BRepApprox_MyBSplGradientOfTheComputeLineOfApprox { :type lambda1: float :param lambda2: :type lambda2: float - :rtype: None -") BRepApprox_MyBSplGradientOfTheComputeLineOfApprox; - BRepApprox_MyBSplGradientOfTheComputeLineOfApprox (const BRepApprox_TheMultiLineOfApprox & SSP,const Standard_Integer FirstPoint,const Standard_Integer LastPoint,const Handle_AppParCurves_HArray1OfConstraintCouple & TheConstraints,math_Vector & Parameters,const TColStd_Array1OfReal & Knots,const TColStd_Array1OfInteger & Mults,const Standard_Integer Deg,const Standard_Real Tol3d,const Standard_Real Tol2d,const Standard_Integer NbIterations,const Standard_Real lambda1,const Standard_Real lambda2); - %feature("compactdefaultargs") IsDone; - %feature("autodoc", " :rtype: bool -") IsDone; - Standard_Boolean IsDone (); - %feature("compactdefaultargs") Value; - %feature("autodoc", " :rtype: AppParCurves_MultiBSpCurve -") Value; - AppParCurves_MultiBSpCurve Value (); + :rtype: None") BRepApprox_MyBSplGradientOfTheComputeLineOfApprox; + BRepApprox_MyBSplGradientOfTheComputeLineOfApprox (const BRepApprox_TheMultiLineOfApprox & SSP,const Standard_Integer FirstPoint,const Standard_Integer LastPoint,const opencascade::handle & TheConstraints,math_Vector & Parameters,const TColStd_Array1OfReal & Knots,const TColStd_Array1OfInteger & Mults,const Standard_Integer Deg,const Standard_Real Tol3d,const Standard_Real Tol2d,const Standard_Integer NbIterations,const Standard_Real lambda1,const Standard_Real lambda2); + + /****************** Error ******************/ %feature("compactdefaultargs") Error; - %feature("autodoc", " :param Index: + %feature("autodoc", "* returns the difference between the old and the new approximation. An exception is raised if NotDone. An exception is raised if Index<1 or Index>NbParameters. + :param Index: :type Index: int - :rtype: float -") Error; + :rtype: float") Error; Standard_Real Error (const Standard_Integer Index); - %feature("compactdefaultargs") MaxError3d; - %feature("autodoc", " :rtype: float -") MaxError3d; - Standard_Real MaxError3d (); + + /****************** IsDone ******************/ + %feature("compactdefaultargs") IsDone; + %feature("autodoc", "* returns True if all has been correctly done. + :rtype: bool") IsDone; + Standard_Boolean IsDone (); + + /****************** MaxError2d ******************/ %feature("compactdefaultargs") MaxError2d; - %feature("autodoc", " :rtype: float -") MaxError2d; + %feature("autodoc", "* returns the maximum difference between the old and the new approximation. + :rtype: float") MaxError2d; Standard_Real MaxError2d (); - %feature("compactdefaultargs") AverageError; - %feature("autodoc", " :rtype: float -") AverageError; - Standard_Real AverageError (); + + /****************** MaxError3d ******************/ + %feature("compactdefaultargs") MaxError3d; + %feature("autodoc", "* returns the maximum difference between the old and the new approximation. + :rtype: float") MaxError3d; + Standard_Real MaxError3d (); + + /****************** Value ******************/ + %feature("compactdefaultargs") Value; + %feature("autodoc", "* returns all the BSpline curves approximating the MultiLine SSP after minimization of the parameter. + :rtype: AppParCurves_MultiBSpCurve") Value; + AppParCurves_MultiBSpCurve Value (); + }; @@ -687,18 +847,30 @@ class BRepApprox_MyBSplGradientOfTheComputeLineOfApprox { __repr__ = _dumps_object } }; + +/************************************************************ +* class BRepApprox_MyGradientOfTheComputeLineBezierOfApprox * +************************************************************/ %nodefaultctor BRepApprox_MyGradientOfTheComputeLineBezierOfApprox; class BRepApprox_MyGradientOfTheComputeLineBezierOfApprox { public: + /****************** AverageError ******************/ + %feature("compactdefaultargs") AverageError; + %feature("autodoc", "* returns the average error between the old and the new approximation. + :rtype: float") AverageError; + Standard_Real AverageError (); + + /****************** BRepApprox_MyGradientOfTheComputeLineBezierOfApprox ******************/ %feature("compactdefaultargs") BRepApprox_MyGradientOfTheComputeLineBezierOfApprox; - %feature("autodoc", " :param SSP: + %feature("autodoc", "* Tries to minimize the sum (square(||Qui - Bi*Pi||)) where Pui describe the approximating Bezier curves'Poles and Qi the MultiLine points with a parameter ui. In this algorithm, the parameters ui are the unknowns. The tolerance required on this sum is given by Tol. The desired degree of the resulting curve is Deg. + :param SSP: :type SSP: BRepApprox_TheMultiLineOfApprox & :param FirstPoint: :type FirstPoint: int :param LastPoint: :type LastPoint: int :param TheConstraints: - :type TheConstraints: Handle_AppParCurves_HArray1OfConstraintCouple & + :type TheConstraints: opencascade::handle & :param Parameters: :type Parameters: math_Vector & :param Deg: @@ -709,35 +881,41 @@ class BRepApprox_MyGradientOfTheComputeLineBezierOfApprox { :type Tol2d: float :param NbIterations: default value is 200 :type NbIterations: int - :rtype: None -") BRepApprox_MyGradientOfTheComputeLineBezierOfApprox; - BRepApprox_MyGradientOfTheComputeLineBezierOfApprox (const BRepApprox_TheMultiLineOfApprox & SSP,const Standard_Integer FirstPoint,const Standard_Integer LastPoint,const Handle_AppParCurves_HArray1OfConstraintCouple & TheConstraints,math_Vector & Parameters,const Standard_Integer Deg,const Standard_Real Tol3d,const Standard_Real Tol2d,const Standard_Integer NbIterations = 200); - %feature("compactdefaultargs") IsDone; - %feature("autodoc", " :rtype: bool -") IsDone; - Standard_Boolean IsDone (); - %feature("compactdefaultargs") Value; - %feature("autodoc", " :rtype: AppParCurves_MultiCurve -") Value; - AppParCurves_MultiCurve Value (); + :rtype: None") BRepApprox_MyGradientOfTheComputeLineBezierOfApprox; + BRepApprox_MyGradientOfTheComputeLineBezierOfApprox (const BRepApprox_TheMultiLineOfApprox & SSP,const Standard_Integer FirstPoint,const Standard_Integer LastPoint,const opencascade::handle & TheConstraints,math_Vector & Parameters,const Standard_Integer Deg,const Standard_Real Tol3d,const Standard_Real Tol2d,const Standard_Integer NbIterations = 200); + + /****************** Error ******************/ %feature("compactdefaultargs") Error; - %feature("autodoc", " :param Index: + %feature("autodoc", "* returns the difference between the old and the new approximation. An exception is raised if NotDone. An exception is raised if Index<1 or Index>NbParameters. + :param Index: :type Index: int - :rtype: float -") Error; + :rtype: float") Error; Standard_Real Error (const Standard_Integer Index); - %feature("compactdefaultargs") MaxError3d; - %feature("autodoc", " :rtype: float -") MaxError3d; - Standard_Real MaxError3d (); + + /****************** IsDone ******************/ + %feature("compactdefaultargs") IsDone; + %feature("autodoc", "* returns True if all has been correctly done. + :rtype: bool") IsDone; + Standard_Boolean IsDone (); + + /****************** MaxError2d ******************/ %feature("compactdefaultargs") MaxError2d; - %feature("autodoc", " :rtype: float -") MaxError2d; + %feature("autodoc", "* returns the maximum difference between the old and the new approximation. + :rtype: float") MaxError2d; Standard_Real MaxError2d (); - %feature("compactdefaultargs") AverageError; - %feature("autodoc", " :rtype: float -") AverageError; - Standard_Real AverageError (); + + /****************** MaxError3d ******************/ + %feature("compactdefaultargs") MaxError3d; + %feature("autodoc", "* returns the maximum difference between the old and the new approximation. + :rtype: float") MaxError3d; + Standard_Real MaxError3d (); + + /****************** Value ******************/ + %feature("compactdefaultargs") Value; + %feature("autodoc", "* returns all the Bezier curves approximating the MultiLine SSP after minimization of the parameter. + :rtype: AppParCurves_MultiCurve") Value; + AppParCurves_MultiCurve Value (); + }; @@ -746,18 +924,30 @@ class BRepApprox_MyGradientOfTheComputeLineBezierOfApprox { __repr__ = _dumps_object } }; + +/********************************************************* +* class BRepApprox_MyGradientbisOfTheComputeLineOfApprox * +*********************************************************/ %nodefaultctor BRepApprox_MyGradientbisOfTheComputeLineOfApprox; class BRepApprox_MyGradientbisOfTheComputeLineOfApprox { public: + /****************** AverageError ******************/ + %feature("compactdefaultargs") AverageError; + %feature("autodoc", "* returns the average error between the old and the new approximation. + :rtype: float") AverageError; + Standard_Real AverageError (); + + /****************** BRepApprox_MyGradientbisOfTheComputeLineOfApprox ******************/ %feature("compactdefaultargs") BRepApprox_MyGradientbisOfTheComputeLineOfApprox; - %feature("autodoc", " :param SSP: + %feature("autodoc", "* Tries to minimize the sum (square(||Qui - Bi*Pi||)) where Pui describe the approximating Bezier curves'Poles and Qi the MultiLine points with a parameter ui. In this algorithm, the parameters ui are the unknowns. The tolerance required on this sum is given by Tol. The desired degree of the resulting curve is Deg. + :param SSP: :type SSP: BRepApprox_TheMultiLineOfApprox & :param FirstPoint: :type FirstPoint: int :param LastPoint: :type LastPoint: int :param TheConstraints: - :type TheConstraints: Handle_AppParCurves_HArray1OfConstraintCouple & + :type TheConstraints: opencascade::handle & :param Parameters: :type Parameters: math_Vector & :param Deg: @@ -768,35 +958,41 @@ class BRepApprox_MyGradientbisOfTheComputeLineOfApprox { :type Tol2d: float :param NbIterations: default value is 200 :type NbIterations: int - :rtype: None -") BRepApprox_MyGradientbisOfTheComputeLineOfApprox; - BRepApprox_MyGradientbisOfTheComputeLineOfApprox (const BRepApprox_TheMultiLineOfApprox & SSP,const Standard_Integer FirstPoint,const Standard_Integer LastPoint,const Handle_AppParCurves_HArray1OfConstraintCouple & TheConstraints,math_Vector & Parameters,const Standard_Integer Deg,const Standard_Real Tol3d,const Standard_Real Tol2d,const Standard_Integer NbIterations = 200); - %feature("compactdefaultargs") IsDone; - %feature("autodoc", " :rtype: bool -") IsDone; - Standard_Boolean IsDone (); - %feature("compactdefaultargs") Value; - %feature("autodoc", " :rtype: AppParCurves_MultiCurve -") Value; - AppParCurves_MultiCurve Value (); + :rtype: None") BRepApprox_MyGradientbisOfTheComputeLineOfApprox; + BRepApprox_MyGradientbisOfTheComputeLineOfApprox (const BRepApprox_TheMultiLineOfApprox & SSP,const Standard_Integer FirstPoint,const Standard_Integer LastPoint,const opencascade::handle & TheConstraints,math_Vector & Parameters,const Standard_Integer Deg,const Standard_Real Tol3d,const Standard_Real Tol2d,const Standard_Integer NbIterations = 200); + + /****************** Error ******************/ %feature("compactdefaultargs") Error; - %feature("autodoc", " :param Index: + %feature("autodoc", "* returns the difference between the old and the new approximation. An exception is raised if NotDone. An exception is raised if Index<1 or Index>NbParameters. + :param Index: :type Index: int - :rtype: float -") Error; + :rtype: float") Error; Standard_Real Error (const Standard_Integer Index); - %feature("compactdefaultargs") MaxError3d; - %feature("autodoc", " :rtype: float -") MaxError3d; - Standard_Real MaxError3d (); + + /****************** IsDone ******************/ + %feature("compactdefaultargs") IsDone; + %feature("autodoc", "* returns True if all has been correctly done. + :rtype: bool") IsDone; + Standard_Boolean IsDone (); + + /****************** MaxError2d ******************/ %feature("compactdefaultargs") MaxError2d; - %feature("autodoc", " :rtype: float -") MaxError2d; + %feature("autodoc", "* returns the maximum difference between the old and the new approximation. + :rtype: float") MaxError2d; Standard_Real MaxError2d (); - %feature("compactdefaultargs") AverageError; - %feature("autodoc", " :rtype: float -") AverageError; - Standard_Real AverageError (); + + /****************** MaxError3d ******************/ + %feature("compactdefaultargs") MaxError3d; + %feature("autodoc", "* returns the maximum difference between the old and the new approximation. + :rtype: float") MaxError3d; + Standard_Real MaxError3d (); + + /****************** Value ******************/ + %feature("compactdefaultargs") Value; + %feature("autodoc", "* returns all the Bezier curves approximating the MultiLine SSP after minimization of the parameter. + :rtype: AppParCurves_MultiCurve") Value; + AppParCurves_MultiCurve Value (); + }; @@ -805,95 +1001,121 @@ class BRepApprox_MyGradientbisOfTheComputeLineOfApprox { __repr__ = _dumps_object } }; + +/************************************************************************* +* class BRepApprox_ParFunctionOfMyGradientOfTheComputeLineBezierOfApprox * +*************************************************************************/ %nodefaultctor BRepApprox_ParFunctionOfMyGradientOfTheComputeLineBezierOfApprox; class BRepApprox_ParFunctionOfMyGradientOfTheComputeLineBezierOfApprox : public math_MultipleVarFunctionWithGradient { public: + /****************** BRepApprox_ParFunctionOfMyGradientOfTheComputeLineBezierOfApprox ******************/ %feature("compactdefaultargs") BRepApprox_ParFunctionOfMyGradientOfTheComputeLineBezierOfApprox; - %feature("autodoc", " :param SSP: + %feature("autodoc", "* initializes the fields of the function. The approximating curve has the desired degree Deg. + :param SSP: :type SSP: BRepApprox_TheMultiLineOfApprox & :param FirstPoint: :type FirstPoint: int :param LastPoint: :type LastPoint: int :param TheConstraints: - :type TheConstraints: Handle_AppParCurves_HArray1OfConstraintCouple & + :type TheConstraints: opencascade::handle & :param Parameters: :type Parameters: math_Vector & :param Deg: :type Deg: int - :rtype: None -") BRepApprox_ParFunctionOfMyGradientOfTheComputeLineBezierOfApprox; - BRepApprox_ParFunctionOfMyGradientOfTheComputeLineBezierOfApprox (const BRepApprox_TheMultiLineOfApprox & SSP,const Standard_Integer FirstPoint,const Standard_Integer LastPoint,const Handle_AppParCurves_HArray1OfConstraintCouple & TheConstraints,const math_Vector & Parameters,const Standard_Integer Deg); + :rtype: None") BRepApprox_ParFunctionOfMyGradientOfTheComputeLineBezierOfApprox; + BRepApprox_ParFunctionOfMyGradientOfTheComputeLineBezierOfApprox (const BRepApprox_TheMultiLineOfApprox & SSP,const Standard_Integer FirstPoint,const Standard_Integer LastPoint,const opencascade::handle & TheConstraints,const math_Vector & Parameters,const Standard_Integer Deg); + + /****************** CurveValue ******************/ + %feature("compactdefaultargs") CurveValue; + %feature("autodoc", "* returns the MultiCurve approximating the set after computing the value F or Grad(F). + :rtype: AppParCurves_MultiCurve") CurveValue; + const AppParCurves_MultiCurve & CurveValue (); + + /****************** Error ******************/ + %feature("compactdefaultargs") Error; + %feature("autodoc", "* returns the distance between the MultiPoint of range IPoint and the curve CurveIndex. + :param IPoint: + :type IPoint: int + :param CurveIndex: + :type CurveIndex: int + :rtype: float") Error; + Standard_Real Error (const Standard_Integer IPoint,const Standard_Integer CurveIndex); + + /****************** FirstConstraint ******************/ + %feature("compactdefaultargs") FirstConstraint; + %feature("autodoc", ":param TheConstraints: + :type TheConstraints: opencascade::handle & + :param FirstPoint: + :type FirstPoint: int + :rtype: AppParCurves_Constraint") FirstConstraint; + AppParCurves_Constraint FirstConstraint (const opencascade::handle & TheConstraints,const Standard_Integer FirstPoint); + + /****************** Gradient ******************/ + %feature("compactdefaultargs") Gradient; + %feature("autodoc", "* returns the gradient G of the sum above for the parameters Xi. + :param X: + :type X: math_Vector & + :param G: + :type G: math_Vector & + :rtype: bool") Gradient; + Standard_Boolean Gradient (const math_Vector & X,math_Vector & G); + + /****************** LastConstraint ******************/ + %feature("compactdefaultargs") LastConstraint; + %feature("autodoc", ":param TheConstraints: + :type TheConstraints: opencascade::handle & + :param LastPoint: + :type LastPoint: int + :rtype: AppParCurves_Constraint") LastConstraint; + AppParCurves_Constraint LastConstraint (const opencascade::handle & TheConstraints,const Standard_Integer LastPoint); + + /****************** MaxError2d ******************/ + %feature("compactdefaultargs") MaxError2d; + %feature("autodoc", "* returns the maximum distance between the points and the MultiCurve. + :rtype: float") MaxError2d; + Standard_Real MaxError2d (); + + /****************** MaxError3d ******************/ + %feature("compactdefaultargs") MaxError3d; + %feature("autodoc", "* returns the maximum distance between the points and the MultiCurve. + :rtype: float") MaxError3d; + Standard_Real MaxError3d (); + + /****************** NbVariables ******************/ %feature("compactdefaultargs") NbVariables; - %feature("autodoc", " :rtype: int -") NbVariables; + %feature("autodoc", "* returns the number of variables of the function. It corresponds to the number of MultiPoints. + :rtype: int") NbVariables; Standard_Integer NbVariables (); + + /****************** NewParameters ******************/ + %feature("compactdefaultargs") NewParameters; + %feature("autodoc", "* returns the new parameters of the MultiLine. + :rtype: math_Vector") NewParameters; + const math_Vector & NewParameters (); + + /****************** Value ******************/ %feature("compactdefaultargs") Value; - %feature("autodoc", " :param X: + %feature("autodoc", "* this method computes the new approximation of the MultiLine SSP and calculates F = sum (||Pui - Bi*Pi||2) for each point of the MultiLine. + :param X: :type X: math_Vector & :param F: :type F: float & - :rtype: bool -") Value; + :rtype: bool") Value; Standard_Boolean Value (const math_Vector & X,Standard_Real &OutValue); - %feature("compactdefaultargs") Gradient; - %feature("autodoc", " :param X: - :type X: math_Vector & - :param G: - :type G: math_Vector & - :rtype: bool -") Gradient; - Standard_Boolean Gradient (const math_Vector & X,math_Vector & G); + + /****************** Values ******************/ %feature("compactdefaultargs") Values; - %feature("autodoc", " :param X: + %feature("autodoc", "* returns the value F=sum(||Pui - Bi*Pi||)2. returns the value G = grad(F) for the parameters Xi. + :param X: :type X: math_Vector & :param F: :type F: float & :param G: :type G: math_Vector & - :rtype: bool -") Values; + :rtype: bool") Values; Standard_Boolean Values (const math_Vector & X,Standard_Real &OutValue,math_Vector & G); - %feature("compactdefaultargs") NewParameters; - %feature("autodoc", " :rtype: math_Vector -") NewParameters; - const math_Vector & NewParameters (); - %feature("compactdefaultargs") CurveValue; - %feature("autodoc", " :rtype: AppParCurves_MultiCurve -") CurveValue; - const AppParCurves_MultiCurve & CurveValue (); - %feature("compactdefaultargs") Error; - %feature("autodoc", " :param IPoint: - :type IPoint: int - :param CurveIndex: - :type CurveIndex: int - :rtype: float -") Error; - Standard_Real Error (const Standard_Integer IPoint,const Standard_Integer CurveIndex); - %feature("compactdefaultargs") MaxError3d; - %feature("autodoc", " :rtype: float -") MaxError3d; - Standard_Real MaxError3d (); - %feature("compactdefaultargs") MaxError2d; - %feature("autodoc", " :rtype: float -") MaxError2d; - Standard_Real MaxError2d (); - %feature("compactdefaultargs") FirstConstraint; - %feature("autodoc", " :param TheConstraints: - :type TheConstraints: Handle_AppParCurves_HArray1OfConstraintCouple & - :param FirstPoint: - :type FirstPoint: int - :rtype: AppParCurves_Constraint -") FirstConstraint; - AppParCurves_Constraint FirstConstraint (const Handle_AppParCurves_HArray1OfConstraintCouple & TheConstraints,const Standard_Integer FirstPoint); - %feature("compactdefaultargs") LastConstraint; - %feature("autodoc", " :param TheConstraints: - :type TheConstraints: Handle_AppParCurves_HArray1OfConstraintCouple & - :param LastPoint: - :type LastPoint: int - :rtype: AppParCurves_Constraint -") LastConstraint; - AppParCurves_Constraint LastConstraint (const Handle_AppParCurves_HArray1OfConstraintCouple & TheConstraints,const Standard_Integer LastPoint); + }; @@ -902,95 +1124,121 @@ class BRepApprox_ParFunctionOfMyGradientOfTheComputeLineBezierOfApprox : public __repr__ = _dumps_object } }; + +/********************************************************************** +* class BRepApprox_ParFunctionOfMyGradientbisOfTheComputeLineOfApprox * +**********************************************************************/ %nodefaultctor BRepApprox_ParFunctionOfMyGradientbisOfTheComputeLineOfApprox; class BRepApprox_ParFunctionOfMyGradientbisOfTheComputeLineOfApprox : public math_MultipleVarFunctionWithGradient { public: + /****************** BRepApprox_ParFunctionOfMyGradientbisOfTheComputeLineOfApprox ******************/ %feature("compactdefaultargs") BRepApprox_ParFunctionOfMyGradientbisOfTheComputeLineOfApprox; - %feature("autodoc", " :param SSP: + %feature("autodoc", "* initializes the fields of the function. The approximating curve has the desired degree Deg. + :param SSP: :type SSP: BRepApprox_TheMultiLineOfApprox & :param FirstPoint: :type FirstPoint: int :param LastPoint: :type LastPoint: int :param TheConstraints: - :type TheConstraints: Handle_AppParCurves_HArray1OfConstraintCouple & + :type TheConstraints: opencascade::handle & :param Parameters: :type Parameters: math_Vector & :param Deg: :type Deg: int - :rtype: None -") BRepApprox_ParFunctionOfMyGradientbisOfTheComputeLineOfApprox; - BRepApprox_ParFunctionOfMyGradientbisOfTheComputeLineOfApprox (const BRepApprox_TheMultiLineOfApprox & SSP,const Standard_Integer FirstPoint,const Standard_Integer LastPoint,const Handle_AppParCurves_HArray1OfConstraintCouple & TheConstraints,const math_Vector & Parameters,const Standard_Integer Deg); + :rtype: None") BRepApprox_ParFunctionOfMyGradientbisOfTheComputeLineOfApprox; + BRepApprox_ParFunctionOfMyGradientbisOfTheComputeLineOfApprox (const BRepApprox_TheMultiLineOfApprox & SSP,const Standard_Integer FirstPoint,const Standard_Integer LastPoint,const opencascade::handle & TheConstraints,const math_Vector & Parameters,const Standard_Integer Deg); + + /****************** CurveValue ******************/ + %feature("compactdefaultargs") CurveValue; + %feature("autodoc", "* returns the MultiCurve approximating the set after computing the value F or Grad(F). + :rtype: AppParCurves_MultiCurve") CurveValue; + const AppParCurves_MultiCurve & CurveValue (); + + /****************** Error ******************/ + %feature("compactdefaultargs") Error; + %feature("autodoc", "* returns the distance between the MultiPoint of range IPoint and the curve CurveIndex. + :param IPoint: + :type IPoint: int + :param CurveIndex: + :type CurveIndex: int + :rtype: float") Error; + Standard_Real Error (const Standard_Integer IPoint,const Standard_Integer CurveIndex); + + /****************** FirstConstraint ******************/ + %feature("compactdefaultargs") FirstConstraint; + %feature("autodoc", ":param TheConstraints: + :type TheConstraints: opencascade::handle & + :param FirstPoint: + :type FirstPoint: int + :rtype: AppParCurves_Constraint") FirstConstraint; + AppParCurves_Constraint FirstConstraint (const opencascade::handle & TheConstraints,const Standard_Integer FirstPoint); + + /****************** Gradient ******************/ + %feature("compactdefaultargs") Gradient; + %feature("autodoc", "* returns the gradient G of the sum above for the parameters Xi. + :param X: + :type X: math_Vector & + :param G: + :type G: math_Vector & + :rtype: bool") Gradient; + Standard_Boolean Gradient (const math_Vector & X,math_Vector & G); + + /****************** LastConstraint ******************/ + %feature("compactdefaultargs") LastConstraint; + %feature("autodoc", ":param TheConstraints: + :type TheConstraints: opencascade::handle & + :param LastPoint: + :type LastPoint: int + :rtype: AppParCurves_Constraint") LastConstraint; + AppParCurves_Constraint LastConstraint (const opencascade::handle & TheConstraints,const Standard_Integer LastPoint); + + /****************** MaxError2d ******************/ + %feature("compactdefaultargs") MaxError2d; + %feature("autodoc", "* returns the maximum distance between the points and the MultiCurve. + :rtype: float") MaxError2d; + Standard_Real MaxError2d (); + + /****************** MaxError3d ******************/ + %feature("compactdefaultargs") MaxError3d; + %feature("autodoc", "* returns the maximum distance between the points and the MultiCurve. + :rtype: float") MaxError3d; + Standard_Real MaxError3d (); + + /****************** NbVariables ******************/ %feature("compactdefaultargs") NbVariables; - %feature("autodoc", " :rtype: int -") NbVariables; + %feature("autodoc", "* returns the number of variables of the function. It corresponds to the number of MultiPoints. + :rtype: int") NbVariables; Standard_Integer NbVariables (); + + /****************** NewParameters ******************/ + %feature("compactdefaultargs") NewParameters; + %feature("autodoc", "* returns the new parameters of the MultiLine. + :rtype: math_Vector") NewParameters; + const math_Vector & NewParameters (); + + /****************** Value ******************/ %feature("compactdefaultargs") Value; - %feature("autodoc", " :param X: + %feature("autodoc", "* this method computes the new approximation of the MultiLine SSP and calculates F = sum (||Pui - Bi*Pi||2) for each point of the MultiLine. + :param X: :type X: math_Vector & :param F: :type F: float & - :rtype: bool -") Value; + :rtype: bool") Value; Standard_Boolean Value (const math_Vector & X,Standard_Real &OutValue); - %feature("compactdefaultargs") Gradient; - %feature("autodoc", " :param X: - :type X: math_Vector & - :param G: - :type G: math_Vector & - :rtype: bool -") Gradient; - Standard_Boolean Gradient (const math_Vector & X,math_Vector & G); + + /****************** Values ******************/ %feature("compactdefaultargs") Values; - %feature("autodoc", " :param X: + %feature("autodoc", "* returns the value F=sum(||Pui - Bi*Pi||)2. returns the value G = grad(F) for the parameters Xi. + :param X: :type X: math_Vector & :param F: :type F: float & :param G: :type G: math_Vector & - :rtype: bool -") Values; + :rtype: bool") Values; Standard_Boolean Values (const math_Vector & X,Standard_Real &OutValue,math_Vector & G); - %feature("compactdefaultargs") NewParameters; - %feature("autodoc", " :rtype: math_Vector -") NewParameters; - const math_Vector & NewParameters (); - %feature("compactdefaultargs") CurveValue; - %feature("autodoc", " :rtype: AppParCurves_MultiCurve -") CurveValue; - const AppParCurves_MultiCurve & CurveValue (); - %feature("compactdefaultargs") Error; - %feature("autodoc", " :param IPoint: - :type IPoint: int - :param CurveIndex: - :type CurveIndex: int - :rtype: float -") Error; - Standard_Real Error (const Standard_Integer IPoint,const Standard_Integer CurveIndex); - %feature("compactdefaultargs") MaxError3d; - %feature("autodoc", " :rtype: float -") MaxError3d; - Standard_Real MaxError3d (); - %feature("compactdefaultargs") MaxError2d; - %feature("autodoc", " :rtype: float -") MaxError2d; - Standard_Real MaxError2d (); - %feature("compactdefaultargs") FirstConstraint; - %feature("autodoc", " :param TheConstraints: - :type TheConstraints: Handle_AppParCurves_HArray1OfConstraintCouple & - :param FirstPoint: - :type FirstPoint: int - :rtype: AppParCurves_Constraint -") FirstConstraint; - AppParCurves_Constraint FirstConstraint (const Handle_AppParCurves_HArray1OfConstraintCouple & TheConstraints,const Standard_Integer FirstPoint); - %feature("compactdefaultargs") LastConstraint; - %feature("autodoc", " :param TheConstraints: - :type TheConstraints: Handle_AppParCurves_HArray1OfConstraintCouple & - :param LastPoint: - :type LastPoint: int - :rtype: AppParCurves_Constraint -") LastConstraint; - AppParCurves_Constraint LastConstraint (const Handle_AppParCurves_HArray1OfConstraintCouple & TheConstraints,const Standard_Integer LastPoint); + }; @@ -999,11 +1247,17 @@ class BRepApprox_ParFunctionOfMyGradientbisOfTheComputeLineOfApprox : public mat __repr__ = _dumps_object } }; + +/**************************************************************************** +* class BRepApprox_ParLeastSquareOfMyGradientOfTheComputeLineBezierOfApprox * +****************************************************************************/ %nodefaultctor BRepApprox_ParLeastSquareOfMyGradientOfTheComputeLineBezierOfApprox; class BRepApprox_ParLeastSquareOfMyGradientOfTheComputeLineBezierOfApprox { public: + /****************** BRepApprox_ParLeastSquareOfMyGradientOfTheComputeLineBezierOfApprox ******************/ %feature("compactdefaultargs") BRepApprox_ParLeastSquareOfMyGradientOfTheComputeLineBezierOfApprox; - %feature("autodoc", " :param SSP: + %feature("autodoc", "* given a MultiLine, this algorithm computes the least square resolution using the Householder-QR method. If the first and/or the last point is a constraint point, the value of the tangency or curvature is computed in the resolution. NbPol is the number of control points wanted for the approximating curves. The system to solve is the following: A X = B. Where A is the Bernstein matrix computed with the parameters, B the points coordinates and X the poles solutions. The matrix A is the same for each coordinate x, y and z and is also the same for each MultiLine point because they are approximated in parallel(so with the same parameter, only the vector B changes). + :param SSP: :type SSP: BRepApprox_TheMultiLineOfApprox & :param FirstPoint: :type FirstPoint: int @@ -1017,11 +1271,13 @@ class BRepApprox_ParLeastSquareOfMyGradientOfTheComputeLineBezierOfApprox { :type Parameters: math_Vector & :param NbPol: :type NbPol: int - :rtype: None -") BRepApprox_ParLeastSquareOfMyGradientOfTheComputeLineBezierOfApprox; + :rtype: None") BRepApprox_ParLeastSquareOfMyGradientOfTheComputeLineBezierOfApprox; BRepApprox_ParLeastSquareOfMyGradientOfTheComputeLineBezierOfApprox (const BRepApprox_TheMultiLineOfApprox & SSP,const Standard_Integer FirstPoint,const Standard_Integer LastPoint,const AppParCurves_Constraint FirstCons,const AppParCurves_Constraint LastCons,const math_Vector & Parameters,const Standard_Integer NbPol); + + /****************** BRepApprox_ParLeastSquareOfMyGradientOfTheComputeLineBezierOfApprox ******************/ %feature("compactdefaultargs") BRepApprox_ParLeastSquareOfMyGradientOfTheComputeLineBezierOfApprox; - %feature("autodoc", " :param SSP: + %feature("autodoc", "* Initializes the fields of the object. + :param SSP: :type SSP: BRepApprox_TheMultiLineOfApprox & :param FirstPoint: :type FirstPoint: int @@ -1033,11 +1289,13 @@ class BRepApprox_ParLeastSquareOfMyGradientOfTheComputeLineBezierOfApprox { :type LastCons: AppParCurves_Constraint :param NbPol: :type NbPol: int - :rtype: None -") BRepApprox_ParLeastSquareOfMyGradientOfTheComputeLineBezierOfApprox; + :rtype: None") BRepApprox_ParLeastSquareOfMyGradientOfTheComputeLineBezierOfApprox; BRepApprox_ParLeastSquareOfMyGradientOfTheComputeLineBezierOfApprox (const BRepApprox_TheMultiLineOfApprox & SSP,const Standard_Integer FirstPoint,const Standard_Integer LastPoint,const AppParCurves_Constraint FirstCons,const AppParCurves_Constraint LastCons,const Standard_Integer NbPol); + + /****************** BRepApprox_ParLeastSquareOfMyGradientOfTheComputeLineBezierOfApprox ******************/ %feature("compactdefaultargs") BRepApprox_ParLeastSquareOfMyGradientOfTheComputeLineBezierOfApprox; - %feature("autodoc", " :param SSP: + %feature("autodoc", "* given a MultiLine, this algorithm computes the least square resolution using the Householder-QR method. If the first and/or the last point is a constraint point, the value of the tangency or curvature is computed in the resolution. Deg is the degree wanted for the approximating curves. The system to solve is the following: A X = B. Where A is the BSpline functions matrix computed with , B the points coordinates and X the poles solutions. The matrix A is the same for each coordinate x, y and z and is also the same for each MultiLine point because they are approximated in parallel(so with the same parameter, only the vector B changes). + :param SSP: :type SSP: BRepApprox_TheMultiLineOfApprox & :param Knots: :type Knots: TColStd_Array1OfReal & @@ -1055,11 +1313,13 @@ class BRepApprox_ParLeastSquareOfMyGradientOfTheComputeLineBezierOfApprox { :type Parameters: math_Vector & :param NbPol: :type NbPol: int - :rtype: None -") BRepApprox_ParLeastSquareOfMyGradientOfTheComputeLineBezierOfApprox; + :rtype: None") BRepApprox_ParLeastSquareOfMyGradientOfTheComputeLineBezierOfApprox; BRepApprox_ParLeastSquareOfMyGradientOfTheComputeLineBezierOfApprox (const BRepApprox_TheMultiLineOfApprox & SSP,const TColStd_Array1OfReal & Knots,const TColStd_Array1OfInteger & Mults,const Standard_Integer FirstPoint,const Standard_Integer LastPoint,const AppParCurves_Constraint FirstCons,const AppParCurves_Constraint LastCons,const math_Vector & Parameters,const Standard_Integer NbPol); + + /****************** BRepApprox_ParLeastSquareOfMyGradientOfTheComputeLineBezierOfApprox ******************/ %feature("compactdefaultargs") BRepApprox_ParLeastSquareOfMyGradientOfTheComputeLineBezierOfApprox; - %feature("autodoc", " :param SSP: + %feature("autodoc", "* Initializes the fields of the object. + :param SSP: :type SSP: BRepApprox_TheMultiLineOfApprox & :param Knots: :type Knots: TColStd_Array1OfReal & @@ -1075,27 +1335,113 @@ class BRepApprox_ParLeastSquareOfMyGradientOfTheComputeLineBezierOfApprox { :type LastCons: AppParCurves_Constraint :param NbPol: :type NbPol: int - :rtype: None -") BRepApprox_ParLeastSquareOfMyGradientOfTheComputeLineBezierOfApprox; + :rtype: None") BRepApprox_ParLeastSquareOfMyGradientOfTheComputeLineBezierOfApprox; BRepApprox_ParLeastSquareOfMyGradientOfTheComputeLineBezierOfApprox (const BRepApprox_TheMultiLineOfApprox & SSP,const TColStd_Array1OfReal & Knots,const TColStd_Array1OfInteger & Mults,const Standard_Integer FirstPoint,const Standard_Integer LastPoint,const AppParCurves_Constraint FirstCons,const AppParCurves_Constraint LastCons,const Standard_Integer NbPol); + + /****************** BSplineValue ******************/ + %feature("compactdefaultargs") BSplineValue; + %feature("autodoc", "* returns the result of the approximation, i.e. all the Curves. An exception is raised if NotDone. + :rtype: AppParCurves_MultiBSpCurve") BSplineValue; + const AppParCurves_MultiBSpCurve & BSplineValue (); + + /****************** BezierValue ******************/ + %feature("compactdefaultargs") BezierValue; + %feature("autodoc", "* returns the result of the approximation, i.e. all the Curves. An exception is raised if NotDone. + :rtype: AppParCurves_MultiCurve") BezierValue; + AppParCurves_MultiCurve BezierValue (); + + /****************** DerivativeFunctionMatrix ******************/ + %feature("compactdefaultargs") DerivativeFunctionMatrix; + %feature("autodoc", "* returns the derivative function matrix used to approximate the set. + :rtype: math_Matrix") DerivativeFunctionMatrix; + const math_Matrix & DerivativeFunctionMatrix (); + + /****************** Distance ******************/ + %feature("compactdefaultargs") Distance; + %feature("autodoc", "* returns the distances between the points of the multiline and the approximation curves. + :rtype: math_Matrix") Distance; + const math_Matrix & Distance (); + + /****************** Error ******************/ + %feature("compactdefaultargs") Error; + %feature("autodoc", "* returns the maximum errors between the MultiLine and the approximation curves. F is the sum of the square distances. + :param F: + :type F: float & + :param MaxE3d: + :type MaxE3d: float & + :param MaxE2d: + :type MaxE2d: float & + :rtype: None") Error; + void Error (Standard_Real &OutValue,Standard_Real &OutValue,Standard_Real &OutValue); + + /****************** ErrorGradient ******************/ + %feature("compactdefaultargs") ErrorGradient; + %feature("autodoc", "* returns the maximum errors between the MultiLine and the approximation curves. F is the sum of the square distances. Grad is the derivative vector of the function F. + :param Grad: + :type Grad: math_Vector & + :param F: + :type F: float & + :param MaxE3d: + :type MaxE3d: float & + :param MaxE2d: + :type MaxE2d: float & + :rtype: None") ErrorGradient; + void ErrorGradient (math_Vector & Grad,Standard_Real &OutValue,Standard_Real &OutValue,Standard_Real &OutValue); + + /****************** FirstLambda ******************/ + %feature("compactdefaultargs") FirstLambda; + %feature("autodoc", "* returns the value (P2 - P1)/ V1 if the first point was a tangency point. + :rtype: float") FirstLambda; + Standard_Real FirstLambda (); + + /****************** FunctionMatrix ******************/ + %feature("compactdefaultargs") FunctionMatrix; + %feature("autodoc", "* returns the function matrix used to approximate the set. + :rtype: math_Matrix") FunctionMatrix; + const math_Matrix & FunctionMatrix (); + + /****************** IsDone ******************/ + %feature("compactdefaultargs") IsDone; + %feature("autodoc", "* returns True if all has been correctly done. + :rtype: bool") IsDone; + Standard_Boolean IsDone (); + + /****************** KIndex ******************/ + %feature("compactdefaultargs") KIndex; + %feature("autodoc", "* Returns the indexes of the first non null values of A and DA. The values are non null from Index(ieme point) +1 to Index(ieme point) + degree +1. + :rtype: math_IntegerVector") KIndex; + const math_IntegerVector & KIndex (); + + /****************** LastLambda ******************/ + %feature("compactdefaultargs") LastLambda; + %feature("autodoc", "* returns the value (PN - PN-1)/ VN if the last point was a tangency point. + :rtype: float") LastLambda; + Standard_Real LastLambda (); + + /****************** Perform ******************/ %feature("compactdefaultargs") Perform; - %feature("autodoc", " :param Parameters: + %feature("autodoc", "* Is used after having initialized the fields. The case 'CurvaturePoint' is not treated in this method. + :param Parameters: :type Parameters: math_Vector & - :rtype: None -") Perform; + :rtype: None") Perform; void Perform (const math_Vector & Parameters); + + /****************** Perform ******************/ %feature("compactdefaultargs") Perform; - %feature("autodoc", " :param Parameters: + %feature("autodoc", "* Is used after having initialized the fields. + :param Parameters: :type Parameters: math_Vector & :param l1: :type l1: float :param l2: :type l2: float - :rtype: None -") Perform; + :rtype: None") Perform; void Perform (const math_Vector & Parameters,const Standard_Real l1,const Standard_Real l2); + + /****************** Perform ******************/ %feature("compactdefaultargs") Perform; - %feature("autodoc", " :param Parameters: + %feature("autodoc", "* Is used after having initialized the fields. is the tangent vector at the first point. is the tangent vector at the last point. + :param Parameters: :type Parameters: math_Vector & :param V1t: :type V1t: math_Vector & @@ -1105,11 +1451,13 @@ class BRepApprox_ParLeastSquareOfMyGradientOfTheComputeLineBezierOfApprox { :type l1: float :param l2: :type l2: float - :rtype: None -") Perform; + :rtype: None") Perform; void Perform (const math_Vector & Parameters,const math_Vector & V1t,const math_Vector & V2t,const Standard_Real l1,const Standard_Real l2); + + /****************** Perform ******************/ %feature("compactdefaultargs") Perform; - %feature("autodoc", " :param Parameters: + %feature("autodoc", "* Is used after having initialized the fields. is the tangent vector at the first point. is the tangent vector at the last point. is the tangent vector at the first point. is the tangent vector at the last point. + :param Parameters: :type Parameters: math_Vector & :param V1t: :type V1t: math_Vector & @@ -1123,75 +1471,21 @@ class BRepApprox_ParLeastSquareOfMyGradientOfTheComputeLineBezierOfApprox { :type l1: float :param l2: :type l2: float - :rtype: None -") Perform; + :rtype: None") Perform; void Perform (const math_Vector & Parameters,const math_Vector & V1t,const math_Vector & V2t,const math_Vector & V1c,const math_Vector & V2c,const Standard_Real l1,const Standard_Real l2); - %feature("compactdefaultargs") IsDone; - %feature("autodoc", " :rtype: bool -") IsDone; - Standard_Boolean IsDone (); - %feature("compactdefaultargs") BezierValue; - %feature("autodoc", " :rtype: AppParCurves_MultiCurve -") BezierValue; - AppParCurves_MultiCurve BezierValue (); - %feature("compactdefaultargs") BSplineValue; - %feature("autodoc", " :rtype: AppParCurves_MultiBSpCurve -") BSplineValue; - const AppParCurves_MultiBSpCurve & BSplineValue (); - %feature("compactdefaultargs") FunctionMatrix; - %feature("autodoc", " :rtype: math_Matrix -") FunctionMatrix; - const math_Matrix & FunctionMatrix (); - %feature("compactdefaultargs") DerivativeFunctionMatrix; - %feature("autodoc", " :rtype: math_Matrix -") DerivativeFunctionMatrix; - const math_Matrix & DerivativeFunctionMatrix (); - %feature("compactdefaultargs") ErrorGradient; - %feature("autodoc", " :param Grad: - :type Grad: math_Vector & - :param F: - :type F: float & - :param MaxE3d: - :type MaxE3d: float & - :param MaxE2d: - :type MaxE2d: float & - :rtype: None -") ErrorGradient; - void ErrorGradient (math_Vector & Grad,Standard_Real &OutValue,Standard_Real &OutValue,Standard_Real &OutValue); - %feature("compactdefaultargs") Distance; - %feature("autodoc", " :rtype: math_Matrix -") Distance; - const math_Matrix & Distance (); - %feature("compactdefaultargs") Error; - %feature("autodoc", " :param F: - :type F: float & - :param MaxE3d: - :type MaxE3d: float & - :param MaxE2d: - :type MaxE2d: float & - :rtype: None -") Error; - void Error (Standard_Real &OutValue,Standard_Real &OutValue,Standard_Real &OutValue); - %feature("compactdefaultargs") FirstLambda; - %feature("autodoc", " :rtype: float -") FirstLambda; - Standard_Real FirstLambda (); - %feature("compactdefaultargs") LastLambda; - %feature("autodoc", " :rtype: float -") LastLambda; - Standard_Real LastLambda (); + + /****************** Points ******************/ %feature("compactdefaultargs") Points; - %feature("autodoc", " :rtype: math_Matrix -") Points; + %feature("autodoc", "* returns the matrix of points value. + :rtype: math_Matrix") Points; const math_Matrix & Points (); + + /****************** Poles ******************/ %feature("compactdefaultargs") Poles; - %feature("autodoc", " :rtype: math_Matrix -") Poles; + %feature("autodoc", "* returns the matrix of resulting control points value. + :rtype: math_Matrix") Poles; const math_Matrix & Poles (); - %feature("compactdefaultargs") KIndex; - %feature("autodoc", " :rtype: math_IntegerVector -") KIndex; - const math_IntegerVector & KIndex (); + }; @@ -1200,11 +1494,17 @@ class BRepApprox_ParLeastSquareOfMyGradientOfTheComputeLineBezierOfApprox { __repr__ = _dumps_object } }; + +/************************************************************************* +* class BRepApprox_ParLeastSquareOfMyGradientbisOfTheComputeLineOfApprox * +*************************************************************************/ %nodefaultctor BRepApprox_ParLeastSquareOfMyGradientbisOfTheComputeLineOfApprox; class BRepApprox_ParLeastSquareOfMyGradientbisOfTheComputeLineOfApprox { public: + /****************** BRepApprox_ParLeastSquareOfMyGradientbisOfTheComputeLineOfApprox ******************/ %feature("compactdefaultargs") BRepApprox_ParLeastSquareOfMyGradientbisOfTheComputeLineOfApprox; - %feature("autodoc", " :param SSP: + %feature("autodoc", "* given a MultiLine, this algorithm computes the least square resolution using the Householder-QR method. If the first and/or the last point is a constraint point, the value of the tangency or curvature is computed in the resolution. NbPol is the number of control points wanted for the approximating curves. The system to solve is the following: A X = B. Where A is the Bernstein matrix computed with the parameters, B the points coordinates and X the poles solutions. The matrix A is the same for each coordinate x, y and z and is also the same for each MultiLine point because they are approximated in parallel(so with the same parameter, only the vector B changes). + :param SSP: :type SSP: BRepApprox_TheMultiLineOfApprox & :param FirstPoint: :type FirstPoint: int @@ -1218,11 +1518,13 @@ class BRepApprox_ParLeastSquareOfMyGradientbisOfTheComputeLineOfApprox { :type Parameters: math_Vector & :param NbPol: :type NbPol: int - :rtype: None -") BRepApprox_ParLeastSquareOfMyGradientbisOfTheComputeLineOfApprox; + :rtype: None") BRepApprox_ParLeastSquareOfMyGradientbisOfTheComputeLineOfApprox; BRepApprox_ParLeastSquareOfMyGradientbisOfTheComputeLineOfApprox (const BRepApprox_TheMultiLineOfApprox & SSP,const Standard_Integer FirstPoint,const Standard_Integer LastPoint,const AppParCurves_Constraint FirstCons,const AppParCurves_Constraint LastCons,const math_Vector & Parameters,const Standard_Integer NbPol); + + /****************** BRepApprox_ParLeastSquareOfMyGradientbisOfTheComputeLineOfApprox ******************/ %feature("compactdefaultargs") BRepApprox_ParLeastSquareOfMyGradientbisOfTheComputeLineOfApprox; - %feature("autodoc", " :param SSP: + %feature("autodoc", "* Initializes the fields of the object. + :param SSP: :type SSP: BRepApprox_TheMultiLineOfApprox & :param FirstPoint: :type FirstPoint: int @@ -1234,11 +1536,13 @@ class BRepApprox_ParLeastSquareOfMyGradientbisOfTheComputeLineOfApprox { :type LastCons: AppParCurves_Constraint :param NbPol: :type NbPol: int - :rtype: None -") BRepApprox_ParLeastSquareOfMyGradientbisOfTheComputeLineOfApprox; + :rtype: None") BRepApprox_ParLeastSquareOfMyGradientbisOfTheComputeLineOfApprox; BRepApprox_ParLeastSquareOfMyGradientbisOfTheComputeLineOfApprox (const BRepApprox_TheMultiLineOfApprox & SSP,const Standard_Integer FirstPoint,const Standard_Integer LastPoint,const AppParCurves_Constraint FirstCons,const AppParCurves_Constraint LastCons,const Standard_Integer NbPol); + + /****************** BRepApprox_ParLeastSquareOfMyGradientbisOfTheComputeLineOfApprox ******************/ %feature("compactdefaultargs") BRepApprox_ParLeastSquareOfMyGradientbisOfTheComputeLineOfApprox; - %feature("autodoc", " :param SSP: + %feature("autodoc", "* given a MultiLine, this algorithm computes the least square resolution using the Householder-QR method. If the first and/or the last point is a constraint point, the value of the tangency or curvature is computed in the resolution. Deg is the degree wanted for the approximating curves. The system to solve is the following: A X = B. Where A is the BSpline functions matrix computed with , B the points coordinates and X the poles solutions. The matrix A is the same for each coordinate x, y and z and is also the same for each MultiLine point because they are approximated in parallel(so with the same parameter, only the vector B changes). + :param SSP: :type SSP: BRepApprox_TheMultiLineOfApprox & :param Knots: :type Knots: TColStd_Array1OfReal & @@ -1256,11 +1560,13 @@ class BRepApprox_ParLeastSquareOfMyGradientbisOfTheComputeLineOfApprox { :type Parameters: math_Vector & :param NbPol: :type NbPol: int - :rtype: None -") BRepApprox_ParLeastSquareOfMyGradientbisOfTheComputeLineOfApprox; + :rtype: None") BRepApprox_ParLeastSquareOfMyGradientbisOfTheComputeLineOfApprox; BRepApprox_ParLeastSquareOfMyGradientbisOfTheComputeLineOfApprox (const BRepApprox_TheMultiLineOfApprox & SSP,const TColStd_Array1OfReal & Knots,const TColStd_Array1OfInteger & Mults,const Standard_Integer FirstPoint,const Standard_Integer LastPoint,const AppParCurves_Constraint FirstCons,const AppParCurves_Constraint LastCons,const math_Vector & Parameters,const Standard_Integer NbPol); + + /****************** BRepApprox_ParLeastSquareOfMyGradientbisOfTheComputeLineOfApprox ******************/ %feature("compactdefaultargs") BRepApprox_ParLeastSquareOfMyGradientbisOfTheComputeLineOfApprox; - %feature("autodoc", " :param SSP: + %feature("autodoc", "* Initializes the fields of the object. + :param SSP: :type SSP: BRepApprox_TheMultiLineOfApprox & :param Knots: :type Knots: TColStd_Array1OfReal & @@ -1276,27 +1582,113 @@ class BRepApprox_ParLeastSquareOfMyGradientbisOfTheComputeLineOfApprox { :type LastCons: AppParCurves_Constraint :param NbPol: :type NbPol: int - :rtype: None -") BRepApprox_ParLeastSquareOfMyGradientbisOfTheComputeLineOfApprox; + :rtype: None") BRepApprox_ParLeastSquareOfMyGradientbisOfTheComputeLineOfApprox; BRepApprox_ParLeastSquareOfMyGradientbisOfTheComputeLineOfApprox (const BRepApprox_TheMultiLineOfApprox & SSP,const TColStd_Array1OfReal & Knots,const TColStd_Array1OfInteger & Mults,const Standard_Integer FirstPoint,const Standard_Integer LastPoint,const AppParCurves_Constraint FirstCons,const AppParCurves_Constraint LastCons,const Standard_Integer NbPol); + + /****************** BSplineValue ******************/ + %feature("compactdefaultargs") BSplineValue; + %feature("autodoc", "* returns the result of the approximation, i.e. all the Curves. An exception is raised if NotDone. + :rtype: AppParCurves_MultiBSpCurve") BSplineValue; + const AppParCurves_MultiBSpCurve & BSplineValue (); + + /****************** BezierValue ******************/ + %feature("compactdefaultargs") BezierValue; + %feature("autodoc", "* returns the result of the approximation, i.e. all the Curves. An exception is raised if NotDone. + :rtype: AppParCurves_MultiCurve") BezierValue; + AppParCurves_MultiCurve BezierValue (); + + /****************** DerivativeFunctionMatrix ******************/ + %feature("compactdefaultargs") DerivativeFunctionMatrix; + %feature("autodoc", "* returns the derivative function matrix used to approximate the set. + :rtype: math_Matrix") DerivativeFunctionMatrix; + const math_Matrix & DerivativeFunctionMatrix (); + + /****************** Distance ******************/ + %feature("compactdefaultargs") Distance; + %feature("autodoc", "* returns the distances between the points of the multiline and the approximation curves. + :rtype: math_Matrix") Distance; + const math_Matrix & Distance (); + + /****************** Error ******************/ + %feature("compactdefaultargs") Error; + %feature("autodoc", "* returns the maximum errors between the MultiLine and the approximation curves. F is the sum of the square distances. + :param F: + :type F: float & + :param MaxE3d: + :type MaxE3d: float & + :param MaxE2d: + :type MaxE2d: float & + :rtype: None") Error; + void Error (Standard_Real &OutValue,Standard_Real &OutValue,Standard_Real &OutValue); + + /****************** ErrorGradient ******************/ + %feature("compactdefaultargs") ErrorGradient; + %feature("autodoc", "* returns the maximum errors between the MultiLine and the approximation curves. F is the sum of the square distances. Grad is the derivative vector of the function F. + :param Grad: + :type Grad: math_Vector & + :param F: + :type F: float & + :param MaxE3d: + :type MaxE3d: float & + :param MaxE2d: + :type MaxE2d: float & + :rtype: None") ErrorGradient; + void ErrorGradient (math_Vector & Grad,Standard_Real &OutValue,Standard_Real &OutValue,Standard_Real &OutValue); + + /****************** FirstLambda ******************/ + %feature("compactdefaultargs") FirstLambda; + %feature("autodoc", "* returns the value (P2 - P1)/ V1 if the first point was a tangency point. + :rtype: float") FirstLambda; + Standard_Real FirstLambda (); + + /****************** FunctionMatrix ******************/ + %feature("compactdefaultargs") FunctionMatrix; + %feature("autodoc", "* returns the function matrix used to approximate the set. + :rtype: math_Matrix") FunctionMatrix; + const math_Matrix & FunctionMatrix (); + + /****************** IsDone ******************/ + %feature("compactdefaultargs") IsDone; + %feature("autodoc", "* returns True if all has been correctly done. + :rtype: bool") IsDone; + Standard_Boolean IsDone (); + + /****************** KIndex ******************/ + %feature("compactdefaultargs") KIndex; + %feature("autodoc", "* Returns the indexes of the first non null values of A and DA. The values are non null from Index(ieme point) +1 to Index(ieme point) + degree +1. + :rtype: math_IntegerVector") KIndex; + const math_IntegerVector & KIndex (); + + /****************** LastLambda ******************/ + %feature("compactdefaultargs") LastLambda; + %feature("autodoc", "* returns the value (PN - PN-1)/ VN if the last point was a tangency point. + :rtype: float") LastLambda; + Standard_Real LastLambda (); + + /****************** Perform ******************/ %feature("compactdefaultargs") Perform; - %feature("autodoc", " :param Parameters: + %feature("autodoc", "* Is used after having initialized the fields. The case 'CurvaturePoint' is not treated in this method. + :param Parameters: :type Parameters: math_Vector & - :rtype: None -") Perform; + :rtype: None") Perform; void Perform (const math_Vector & Parameters); + + /****************** Perform ******************/ %feature("compactdefaultargs") Perform; - %feature("autodoc", " :param Parameters: + %feature("autodoc", "* Is used after having initialized the fields. + :param Parameters: :type Parameters: math_Vector & :param l1: :type l1: float :param l2: :type l2: float - :rtype: None -") Perform; + :rtype: None") Perform; void Perform (const math_Vector & Parameters,const Standard_Real l1,const Standard_Real l2); + + /****************** Perform ******************/ %feature("compactdefaultargs") Perform; - %feature("autodoc", " :param Parameters: + %feature("autodoc", "* Is used after having initialized the fields. is the tangent vector at the first point. is the tangent vector at the last point. + :param Parameters: :type Parameters: math_Vector & :param V1t: :type V1t: math_Vector & @@ -1306,11 +1698,13 @@ class BRepApprox_ParLeastSquareOfMyGradientbisOfTheComputeLineOfApprox { :type l1: float :param l2: :type l2: float - :rtype: None -") Perform; + :rtype: None") Perform; void Perform (const math_Vector & Parameters,const math_Vector & V1t,const math_Vector & V2t,const Standard_Real l1,const Standard_Real l2); + + /****************** Perform ******************/ %feature("compactdefaultargs") Perform; - %feature("autodoc", " :param Parameters: + %feature("autodoc", "* Is used after having initialized the fields. is the tangent vector at the first point. is the tangent vector at the last point. is the tangent vector at the first point. is the tangent vector at the last point. + :param Parameters: :type Parameters: math_Vector & :param V1t: :type V1t: math_Vector & @@ -1324,75 +1718,21 @@ class BRepApprox_ParLeastSquareOfMyGradientbisOfTheComputeLineOfApprox { :type l1: float :param l2: :type l2: float - :rtype: None -") Perform; + :rtype: None") Perform; void Perform (const math_Vector & Parameters,const math_Vector & V1t,const math_Vector & V2t,const math_Vector & V1c,const math_Vector & V2c,const Standard_Real l1,const Standard_Real l2); - %feature("compactdefaultargs") IsDone; - %feature("autodoc", " :rtype: bool -") IsDone; - Standard_Boolean IsDone (); - %feature("compactdefaultargs") BezierValue; - %feature("autodoc", " :rtype: AppParCurves_MultiCurve -") BezierValue; - AppParCurves_MultiCurve BezierValue (); - %feature("compactdefaultargs") BSplineValue; - %feature("autodoc", " :rtype: AppParCurves_MultiBSpCurve -") BSplineValue; - const AppParCurves_MultiBSpCurve & BSplineValue (); - %feature("compactdefaultargs") FunctionMatrix; - %feature("autodoc", " :rtype: math_Matrix -") FunctionMatrix; - const math_Matrix & FunctionMatrix (); - %feature("compactdefaultargs") DerivativeFunctionMatrix; - %feature("autodoc", " :rtype: math_Matrix -") DerivativeFunctionMatrix; - const math_Matrix & DerivativeFunctionMatrix (); - %feature("compactdefaultargs") ErrorGradient; - %feature("autodoc", " :param Grad: - :type Grad: math_Vector & - :param F: - :type F: float & - :param MaxE3d: - :type MaxE3d: float & - :param MaxE2d: - :type MaxE2d: float & - :rtype: None -") ErrorGradient; - void ErrorGradient (math_Vector & Grad,Standard_Real &OutValue,Standard_Real &OutValue,Standard_Real &OutValue); - %feature("compactdefaultargs") Distance; - %feature("autodoc", " :rtype: math_Matrix -") Distance; - const math_Matrix & Distance (); - %feature("compactdefaultargs") Error; - %feature("autodoc", " :param F: - :type F: float & - :param MaxE3d: - :type MaxE3d: float & - :param MaxE2d: - :type MaxE2d: float & - :rtype: None -") Error; - void Error (Standard_Real &OutValue,Standard_Real &OutValue,Standard_Real &OutValue); - %feature("compactdefaultargs") FirstLambda; - %feature("autodoc", " :rtype: float -") FirstLambda; - Standard_Real FirstLambda (); - %feature("compactdefaultargs") LastLambda; - %feature("autodoc", " :rtype: float -") LastLambda; - Standard_Real LastLambda (); + + /****************** Points ******************/ %feature("compactdefaultargs") Points; - %feature("autodoc", " :rtype: math_Matrix -") Points; + %feature("autodoc", "* returns the matrix of points value. + :rtype: math_Matrix") Points; const math_Matrix & Points (); + + /****************** Poles ******************/ %feature("compactdefaultargs") Poles; - %feature("autodoc", " :rtype: math_Matrix -") Poles; + %feature("autodoc", "* returns the matrix of resulting control points value. + :rtype: math_Matrix") Poles; const math_Matrix & Poles (); - %feature("compactdefaultargs") KIndex; - %feature("autodoc", " :rtype: math_IntegerVector -") KIndex; - const math_IntegerVector & KIndex (); + }; @@ -1401,11 +1741,17 @@ class BRepApprox_ParLeastSquareOfMyGradientbisOfTheComputeLineOfApprox { __repr__ = _dumps_object } }; + +/*************************************************************************** +* class BRepApprox_ResConstraintOfMyGradientOfTheComputeLineBezierOfApprox * +***************************************************************************/ %nodefaultctor BRepApprox_ResConstraintOfMyGradientOfTheComputeLineBezierOfApprox; class BRepApprox_ResConstraintOfMyGradientOfTheComputeLineBezierOfApprox { public: + /****************** BRepApprox_ResConstraintOfMyGradientOfTheComputeLineBezierOfApprox ******************/ %feature("compactdefaultargs") BRepApprox_ResConstraintOfMyGradientOfTheComputeLineBezierOfApprox; - %feature("autodoc", " :param SSP: + %feature("autodoc", "* Given a MultiLine SSP with constraints points, this algorithm finds the best curve solution to approximate it. The poles from SCurv issued for example from the least squares are used as a guess solution for the uzawa algorithm. The tolerance used in the Uzawa algorithms is Tolerance. A is the Bernstein matrix associated to the MultiLine and DA is the derivative bernstein matrix.(They can come from an approximation with ParLeastSquare.) The MultiCurve is modified. New MultiPoles are given. + :param SSP: :type SSP: BRepApprox_TheMultiLineOfApprox & :param SCurv: :type SCurv: AppParCurves_MultiCurve & @@ -1414,30 +1760,20 @@ class BRepApprox_ResConstraintOfMyGradientOfTheComputeLineBezierOfApprox { :param LastPoint: :type LastPoint: int :param Constraints: - :type Constraints: Handle_AppParCurves_HArray1OfConstraintCouple & + :type Constraints: opencascade::handle & :param Bern: :type Bern: math_Matrix & :param DerivativeBern: :type DerivativeBern: math_Matrix & :param Tolerance: default value is 1.0e-10 :type Tolerance: float - :rtype: None -") BRepApprox_ResConstraintOfMyGradientOfTheComputeLineBezierOfApprox; - BRepApprox_ResConstraintOfMyGradientOfTheComputeLineBezierOfApprox (const BRepApprox_TheMultiLineOfApprox & SSP,AppParCurves_MultiCurve & SCurv,const Standard_Integer FirstPoint,const Standard_Integer LastPoint,const Handle_AppParCurves_HArray1OfConstraintCouple & Constraints,const math_Matrix & Bern,const math_Matrix & DerivativeBern,const Standard_Real Tolerance = 1.0e-10); - %feature("compactdefaultargs") IsDone; - %feature("autodoc", " :rtype: bool -") IsDone; - Standard_Boolean IsDone (); - %feature("compactdefaultargs") ConstraintMatrix; - %feature("autodoc", " :rtype: math_Matrix -") ConstraintMatrix; - const math_Matrix & ConstraintMatrix (); - %feature("compactdefaultargs") Duale; - %feature("autodoc", " :rtype: math_Vector -") Duale; - const math_Vector & Duale (); + :rtype: None") BRepApprox_ResConstraintOfMyGradientOfTheComputeLineBezierOfApprox; + BRepApprox_ResConstraintOfMyGradientOfTheComputeLineBezierOfApprox (const BRepApprox_TheMultiLineOfApprox & SSP,AppParCurves_MultiCurve & SCurv,const Standard_Integer FirstPoint,const Standard_Integer LastPoint,const opencascade::handle & Constraints,const math_Matrix & Bern,const math_Matrix & DerivativeBern,const Standard_Real Tolerance = 1.0e-10); + + /****************** ConstraintDerivative ******************/ %feature("compactdefaultargs") ConstraintDerivative; - %feature("autodoc", " :param SSP: + %feature("autodoc", "* Returns the derivative of the constraint matrix. + :param SSP: :type SSP: BRepApprox_TheMultiLineOfApprox & :param Parameters: :type Parameters: math_Vector & @@ -1445,13 +1781,32 @@ class BRepApprox_ResConstraintOfMyGradientOfTheComputeLineBezierOfApprox { :type Deg: int :param DA: :type DA: math_Matrix & - :rtype: math_Matrix -") ConstraintDerivative; + :rtype: math_Matrix") ConstraintDerivative; const math_Matrix & ConstraintDerivative (const BRepApprox_TheMultiLineOfApprox & SSP,const math_Vector & Parameters,const Standard_Integer Deg,const math_Matrix & DA); + + /****************** ConstraintMatrix ******************/ + %feature("compactdefaultargs") ConstraintMatrix; + %feature("autodoc", ":rtype: math_Matrix") ConstraintMatrix; + const math_Matrix & ConstraintMatrix (); + + /****************** Duale ******************/ + %feature("compactdefaultargs") Duale; + %feature("autodoc", "* returns the duale variables of the system. + :rtype: math_Vector") Duale; + const math_Vector & Duale (); + + /****************** InverseMatrix ******************/ %feature("compactdefaultargs") InverseMatrix; - %feature("autodoc", " :rtype: math_Matrix -") InverseMatrix; + %feature("autodoc", "* returns the Inverse of Cont*Transposed(Cont), where Cont is the constraint matrix for the algorithm. + :rtype: math_Matrix") InverseMatrix; const math_Matrix & InverseMatrix (); + + /****************** IsDone ******************/ + %feature("compactdefaultargs") IsDone; + %feature("autodoc", "* returns True if all has been correctly done. + :rtype: bool") IsDone; + Standard_Boolean IsDone (); + }; @@ -1460,11 +1815,17 @@ class BRepApprox_ResConstraintOfMyGradientOfTheComputeLineBezierOfApprox { __repr__ = _dumps_object } }; + +/************************************************************************ +* class BRepApprox_ResConstraintOfMyGradientbisOfTheComputeLineOfApprox * +************************************************************************/ %nodefaultctor BRepApprox_ResConstraintOfMyGradientbisOfTheComputeLineOfApprox; class BRepApprox_ResConstraintOfMyGradientbisOfTheComputeLineOfApprox { public: + /****************** BRepApprox_ResConstraintOfMyGradientbisOfTheComputeLineOfApprox ******************/ %feature("compactdefaultargs") BRepApprox_ResConstraintOfMyGradientbisOfTheComputeLineOfApprox; - %feature("autodoc", " :param SSP: + %feature("autodoc", "* Given a MultiLine SSP with constraints points, this algorithm finds the best curve solution to approximate it. The poles from SCurv issued for example from the least squares are used as a guess solution for the uzawa algorithm. The tolerance used in the Uzawa algorithms is Tolerance. A is the Bernstein matrix associated to the MultiLine and DA is the derivative bernstein matrix.(They can come from an approximation with ParLeastSquare.) The MultiCurve is modified. New MultiPoles are given. + :param SSP: :type SSP: BRepApprox_TheMultiLineOfApprox & :param SCurv: :type SCurv: AppParCurves_MultiCurve & @@ -1473,30 +1834,20 @@ class BRepApprox_ResConstraintOfMyGradientbisOfTheComputeLineOfApprox { :param LastPoint: :type LastPoint: int :param Constraints: - :type Constraints: Handle_AppParCurves_HArray1OfConstraintCouple & + :type Constraints: opencascade::handle & :param Bern: :type Bern: math_Matrix & :param DerivativeBern: :type DerivativeBern: math_Matrix & :param Tolerance: default value is 1.0e-10 :type Tolerance: float - :rtype: None -") BRepApprox_ResConstraintOfMyGradientbisOfTheComputeLineOfApprox; - BRepApprox_ResConstraintOfMyGradientbisOfTheComputeLineOfApprox (const BRepApprox_TheMultiLineOfApprox & SSP,AppParCurves_MultiCurve & SCurv,const Standard_Integer FirstPoint,const Standard_Integer LastPoint,const Handle_AppParCurves_HArray1OfConstraintCouple & Constraints,const math_Matrix & Bern,const math_Matrix & DerivativeBern,const Standard_Real Tolerance = 1.0e-10); - %feature("compactdefaultargs") IsDone; - %feature("autodoc", " :rtype: bool -") IsDone; - Standard_Boolean IsDone (); - %feature("compactdefaultargs") ConstraintMatrix; - %feature("autodoc", " :rtype: math_Matrix -") ConstraintMatrix; - const math_Matrix & ConstraintMatrix (); - %feature("compactdefaultargs") Duale; - %feature("autodoc", " :rtype: math_Vector -") Duale; - const math_Vector & Duale (); + :rtype: None") BRepApprox_ResConstraintOfMyGradientbisOfTheComputeLineOfApprox; + BRepApprox_ResConstraintOfMyGradientbisOfTheComputeLineOfApprox (const BRepApprox_TheMultiLineOfApprox & SSP,AppParCurves_MultiCurve & SCurv,const Standard_Integer FirstPoint,const Standard_Integer LastPoint,const opencascade::handle & Constraints,const math_Matrix & Bern,const math_Matrix & DerivativeBern,const Standard_Real Tolerance = 1.0e-10); + + /****************** ConstraintDerivative ******************/ %feature("compactdefaultargs") ConstraintDerivative; - %feature("autodoc", " :param SSP: + %feature("autodoc", "* Returns the derivative of the constraint matrix. + :param SSP: :type SSP: BRepApprox_TheMultiLineOfApprox & :param Parameters: :type Parameters: math_Vector & @@ -1504,13 +1855,32 @@ class BRepApprox_ResConstraintOfMyGradientbisOfTheComputeLineOfApprox { :type Deg: int :param DA: :type DA: math_Matrix & - :rtype: math_Matrix -") ConstraintDerivative; + :rtype: math_Matrix") ConstraintDerivative; const math_Matrix & ConstraintDerivative (const BRepApprox_TheMultiLineOfApprox & SSP,const math_Vector & Parameters,const Standard_Integer Deg,const math_Matrix & DA); + + /****************** ConstraintMatrix ******************/ + %feature("compactdefaultargs") ConstraintMatrix; + %feature("autodoc", ":rtype: math_Matrix") ConstraintMatrix; + const math_Matrix & ConstraintMatrix (); + + /****************** Duale ******************/ + %feature("compactdefaultargs") Duale; + %feature("autodoc", "* returns the duale variables of the system. + :rtype: math_Vector") Duale; + const math_Vector & Duale (); + + /****************** InverseMatrix ******************/ %feature("compactdefaultargs") InverseMatrix; - %feature("autodoc", " :rtype: math_Matrix -") InverseMatrix; + %feature("autodoc", "* returns the Inverse of Cont*Transposed(Cont), where Cont is the constraint matrix for the algorithm. + :rtype: math_Matrix") InverseMatrix; const math_Matrix & InverseMatrix (); + + /****************** IsDone ******************/ + %feature("compactdefaultargs") IsDone; + %feature("autodoc", "* returns True if all has been correctly done. + :rtype: bool") IsDone; + Standard_Boolean IsDone (); + }; @@ -1519,11 +1889,17 @@ class BRepApprox_ResConstraintOfMyGradientbisOfTheComputeLineOfApprox { __repr__ = _dumps_object } }; + +/************************************************ +* class BRepApprox_TheComputeLineBezierOfApprox * +************************************************/ %nodefaultctor BRepApprox_TheComputeLineBezierOfApprox; class BRepApprox_TheComputeLineBezierOfApprox { public: + /****************** BRepApprox_TheComputeLineBezierOfApprox ******************/ %feature("compactdefaultargs") BRepApprox_TheComputeLineBezierOfApprox; - %feature("autodoc", " :param Line: + %feature("autodoc", "* The MultiLine will be approximated until tolerances will be reached. The approximation will be done from degreemin to degreemax with a cutting if the corresponding boolean is True. If is True, the computation will be done with no iteration at all. + :param Line: :type Line: BRepApprox_TheMultiLineOfApprox & :param degreemin: default value is 4 :type degreemin: int @@ -1541,11 +1917,13 @@ class BRepApprox_TheComputeLineBezierOfApprox { :type parametrization: Approx_ParametrizationType :param Squares: default value is Standard_False :type Squares: bool - :rtype: None -") BRepApprox_TheComputeLineBezierOfApprox; + :rtype: None") BRepApprox_TheComputeLineBezierOfApprox; BRepApprox_TheComputeLineBezierOfApprox (const BRepApprox_TheMultiLineOfApprox & Line,const Standard_Integer degreemin = 4,const Standard_Integer degreemax = 8,const Standard_Real Tolerance3d = 1.0e-3,const Standard_Real Tolerance2d = 1.0e-6,const Standard_Integer NbIterations = 5,const Standard_Boolean cutting = Standard_True,const Approx_ParametrizationType parametrization = Approx_ChordLength,const Standard_Boolean Squares = Standard_False); + + /****************** BRepApprox_TheComputeLineBezierOfApprox ******************/ %feature("compactdefaultargs") BRepApprox_TheComputeLineBezierOfApprox; - %feature("autodoc", " :param Line: + %feature("autodoc", "* The MultiLine will be approximated until tolerances will be reached. The approximation will be done from degreemin to degreemax with a cutting if the corresponding boolean is True. If is True, the computation will be done with no iteration at all. + :param Line: :type Line: BRepApprox_TheMultiLineOfApprox & :param Parameters: :type Parameters: math_Vector & @@ -1563,11 +1941,13 @@ class BRepApprox_TheComputeLineBezierOfApprox { :type cutting: bool :param Squares: default value is Standard_False :type Squares: bool - :rtype: None -") BRepApprox_TheComputeLineBezierOfApprox; + :rtype: None") BRepApprox_TheComputeLineBezierOfApprox; BRepApprox_TheComputeLineBezierOfApprox (const BRepApprox_TheMultiLineOfApprox & Line,const math_Vector & Parameters,const Standard_Integer degreemin = 4,const Standard_Integer degreemax = 8,const Standard_Real Tolerance3d = 1.0e-03,const Standard_Real Tolerance2d = 1.0e-06,const Standard_Integer NbIterations = 5,const Standard_Boolean cutting = Standard_True,const Standard_Boolean Squares = Standard_False); + + /****************** BRepApprox_TheComputeLineBezierOfApprox ******************/ %feature("compactdefaultargs") BRepApprox_TheComputeLineBezierOfApprox; - %feature("autodoc", " :param Parameters: + %feature("autodoc", "* Initializes the fields of the algorithm. + :param Parameters: :type Parameters: math_Vector & :param degreemin: default value is 4 :type degreemin: int @@ -1583,11 +1963,13 @@ class BRepApprox_TheComputeLineBezierOfApprox { :type cutting: bool :param Squares: default value is Standard_False :type Squares: bool - :rtype: None -") BRepApprox_TheComputeLineBezierOfApprox; + :rtype: None") BRepApprox_TheComputeLineBezierOfApprox; BRepApprox_TheComputeLineBezierOfApprox (const math_Vector & Parameters,const Standard_Integer degreemin = 4,const Standard_Integer degreemax = 8,const Standard_Real Tolerance3d = 1.0e-03,const Standard_Real Tolerance2d = 1.0e-06,const Standard_Integer NbIterations = 5,const Standard_Boolean cutting = Standard_True,const Standard_Boolean Squares = Standard_False); + + /****************** BRepApprox_TheComputeLineBezierOfApprox ******************/ %feature("compactdefaultargs") BRepApprox_TheComputeLineBezierOfApprox; - %feature("autodoc", " :param degreemin: default value is 4 + %feature("autodoc", "* Initializes the fields of the algorithm. + :param degreemin: default value is 4 :type degreemin: int :param degreemax: default value is 8 :type degreemax: int @@ -1603,11 +1985,33 @@ class BRepApprox_TheComputeLineBezierOfApprox { :type parametrization: Approx_ParametrizationType :param Squares: default value is Standard_False :type Squares: bool - :rtype: None -") BRepApprox_TheComputeLineBezierOfApprox; + :rtype: None") BRepApprox_TheComputeLineBezierOfApprox; BRepApprox_TheComputeLineBezierOfApprox (const Standard_Integer degreemin = 4,const Standard_Integer degreemax = 8,const Standard_Real Tolerance3d = 1.0e-03,const Standard_Real Tolerance2d = 1.0e-06,const Standard_Integer NbIterations = 5,const Standard_Boolean cutting = Standard_True,const Approx_ParametrizationType parametrization = Approx_ChordLength,const Standard_Boolean Squares = Standard_False); + + /****************** ChangeValue ******************/ + %feature("compactdefaultargs") ChangeValue; + %feature("autodoc", "* returns the result of the approximation. + :param Index: default value is 1 + :type Index: int + :rtype: AppParCurves_MultiCurve") ChangeValue; + AppParCurves_MultiCurve & ChangeValue (const Standard_Integer Index = 1); + + /****************** Error ******************/ + %feature("compactdefaultargs") Error; + %feature("autodoc", "* returns the tolerances 2d and 3d of the MultiCurve. + :param Index: + :type Index: int + :param tol3d: + :type tol3d: float & + :param tol2d: + :type tol2d: float & + :rtype: None") Error; + void Error (const Standard_Integer Index,Standard_Real &OutValue,Standard_Real &OutValue); + + /****************** Init ******************/ %feature("compactdefaultargs") Init; - %feature("autodoc", " :param degreemin: default value is 4 + %feature("autodoc", "* Initializes the fields of the algorithm. + :param degreemin: default value is 4 :type degreemin: int :param degreemax: default value is 8 :type degreemax: int @@ -1623,89 +2027,93 @@ class BRepApprox_TheComputeLineBezierOfApprox { :type parametrization: Approx_ParametrizationType :param Squares: default value is Standard_False :type Squares: bool - :rtype: None -") Init; + :rtype: None") Init; void Init (const Standard_Integer degreemin = 4,const Standard_Integer degreemax = 8,const Standard_Real Tolerance3d = 1.0e-03,const Standard_Real Tolerance2d = 1.0e-06,const Standard_Integer NbIterations = 5,const Standard_Boolean cutting = Standard_True,const Approx_ParametrizationType parametrization = Approx_ChordLength,const Standard_Boolean Squares = Standard_False); + + /****************** IsAllApproximated ******************/ + %feature("compactdefaultargs") IsAllApproximated; + %feature("autodoc", "* returns False if at a moment of the approximation, the status NoApproximation has been sent by the user when more points were needed. + :rtype: bool") IsAllApproximated; + Standard_Boolean IsAllApproximated (); + + /****************** IsToleranceReached ******************/ + %feature("compactdefaultargs") IsToleranceReached; + %feature("autodoc", "* returns False if the status NoPointsAdded has been sent. + :rtype: bool") IsToleranceReached; + Standard_Boolean IsToleranceReached (); + + /****************** NbMultiCurves ******************/ + %feature("compactdefaultargs") NbMultiCurves; + %feature("autodoc", "* Returns the number of MultiCurve doing the approximation of the MultiLine. + :rtype: int") NbMultiCurves; + Standard_Integer NbMultiCurves (); + + /****************** Parameters ******************/ + %feature("compactdefaultargs") Parameters; + %feature("autodoc", "* returns the new parameters of the approximation corresponding to the points of the multicurve . + :param Index: default value is 1 + :type Index: int + :rtype: TColStd_Array1OfReal") Parameters; + const TColStd_Array1OfReal & Parameters (const Standard_Integer Index = 1); + + /****************** Parametrization ******************/ + %feature("compactdefaultargs") Parametrization; + %feature("autodoc", "* returns the type of parametrization + :rtype: Approx_ParametrizationType") Parametrization; + Approx_ParametrizationType Parametrization (); + + /****************** Perform ******************/ %feature("compactdefaultargs") Perform; - %feature("autodoc", " :param Line: + %feature("autodoc", "* runs the algorithm after having initialized the fields. + :param Line: :type Line: BRepApprox_TheMultiLineOfApprox & - :rtype: None -") Perform; + :rtype: None") Perform; void Perform (const BRepApprox_TheMultiLineOfApprox & Line); + + /****************** SetConstraints ******************/ + %feature("compactdefaultargs") SetConstraints; + %feature("autodoc", "* changes the first and the last constraint points. + :param firstC: + :type firstC: AppParCurves_Constraint + :param lastC: + :type lastC: AppParCurves_Constraint + :rtype: None") SetConstraints; + void SetConstraints (const AppParCurves_Constraint firstC,const AppParCurves_Constraint lastC); + + /****************** SetDegrees ******************/ %feature("compactdefaultargs") SetDegrees; - %feature("autodoc", " :param degreemin: + %feature("autodoc", "* changes the degrees of the approximation. + :param degreemin: :type degreemin: int :param degreemax: :type degreemax: int - :rtype: None -") SetDegrees; + :rtype: None") SetDegrees; void SetDegrees (const Standard_Integer degreemin,const Standard_Integer degreemax); + + /****************** SetTolerances ******************/ %feature("compactdefaultargs") SetTolerances; - %feature("autodoc", " :param Tolerance3d: + %feature("autodoc", "* Changes the tolerances of the approximation. + :param Tolerance3d: :type Tolerance3d: float :param Tolerance2d: :type Tolerance2d: float - :rtype: None -") SetTolerances; + :rtype: None") SetTolerances; void SetTolerances (const Standard_Real Tolerance3d,const Standard_Real Tolerance2d); - %feature("compactdefaultargs") SetConstraints; - %feature("autodoc", " :param firstC: - :type firstC: AppParCurves_Constraint - :param lastC: - :type lastC: AppParCurves_Constraint - :rtype: None -") SetConstraints; - void SetConstraints (const AppParCurves_Constraint firstC,const AppParCurves_Constraint lastC); - %feature("compactdefaultargs") IsAllApproximated; - %feature("autodoc", " :rtype: bool -") IsAllApproximated; - Standard_Boolean IsAllApproximated (); - %feature("compactdefaultargs") IsToleranceReached; - %feature("autodoc", " :rtype: bool -") IsToleranceReached; - Standard_Boolean IsToleranceReached (); - %feature("compactdefaultargs") Error; - %feature("autodoc", " :param Index: - :type Index: int - :param tol3d: - :type tol3d: float & - :param tol2d: - :type tol2d: float & - :rtype: None -") Error; - void Error (const Standard_Integer Index,Standard_Real &OutValue,Standard_Real &OutValue); - %feature("compactdefaultargs") NbMultiCurves; - %feature("autodoc", " :rtype: int -") NbMultiCurves; - Standard_Integer NbMultiCurves (); - %feature("compactdefaultargs") Value; - %feature("autodoc", " :param Index: default value is 1 - :type Index: int - :rtype: AppParCurves_MultiCurve -") Value; - const AppParCurves_MultiCurve & Value (const Standard_Integer Index = 1); - %feature("compactdefaultargs") ChangeValue; - %feature("autodoc", " :param Index: default value is 1 - :type Index: int - :rtype: AppParCurves_MultiCurve -") ChangeValue; - AppParCurves_MultiCurve & ChangeValue (const Standard_Integer Index = 1); + + /****************** SplineValue ******************/ %feature("compactdefaultargs") SplineValue; - %feature("autodoc", " :rtype: AppParCurves_MultiBSpCurve -") SplineValue; + %feature("autodoc", "* returns the result of the approximation. + :rtype: AppParCurves_MultiBSpCurve") SplineValue; const AppParCurves_MultiBSpCurve & SplineValue (); - %feature("compactdefaultargs") Parametrization; - %feature("autodoc", " :param partype: - :type partype: Approx_ParametrizationType & - :rtype: None -") Parametrization; - void Parametrization (Approx_ParametrizationType & partype); - %feature("compactdefaultargs") Parameters; - %feature("autodoc", " :param Index: default value is 1 + + /****************** Value ******************/ + %feature("compactdefaultargs") Value; + %feature("autodoc", "* returns the result of the approximation. + :param Index: default value is 1 :type Index: int - :rtype: TColStd_Array1OfReal -") Parameters; - const TColStd_Array1OfReal & Parameters (const Standard_Integer Index = 1); + :rtype: AppParCurves_MultiCurve") Value; + const AppParCurves_MultiCurve & Value (const Standard_Integer Index = 1); + }; @@ -1714,11 +2122,17 @@ class BRepApprox_TheComputeLineBezierOfApprox { __repr__ = _dumps_object } }; + +/****************************************** +* class BRepApprox_TheComputeLineOfApprox * +******************************************/ %nodefaultctor BRepApprox_TheComputeLineOfApprox; class BRepApprox_TheComputeLineOfApprox { public: + /****************** BRepApprox_TheComputeLineOfApprox ******************/ %feature("compactdefaultargs") BRepApprox_TheComputeLineOfApprox; - %feature("autodoc", " :param Line: + %feature("autodoc", "* The MultiLine will be approximated until tolerances will be reached. The approximation will be done from degreemin to degreemax with a cutting if the corresponding boolean is True. If is True, the computation will be done with no iteration at all. //! The multiplicities of the internal knots is set by default. + :param Line: :type Line: BRepApprox_TheMultiLineOfApprox & :param degreemin: default value is 4 :type degreemin: int @@ -1736,11 +2150,13 @@ class BRepApprox_TheComputeLineOfApprox { :type parametrization: Approx_ParametrizationType :param Squares: default value is Standard_False :type Squares: bool - :rtype: None -") BRepApprox_TheComputeLineOfApprox; + :rtype: None") BRepApprox_TheComputeLineOfApprox; BRepApprox_TheComputeLineOfApprox (const BRepApprox_TheMultiLineOfApprox & Line,const Standard_Integer degreemin = 4,const Standard_Integer degreemax = 8,const Standard_Real Tolerance3d = 1.0e-3,const Standard_Real Tolerance2d = 1.0e-6,const Standard_Integer NbIterations = 5,const Standard_Boolean cutting = Standard_True,const Approx_ParametrizationType parametrization = Approx_ChordLength,const Standard_Boolean Squares = Standard_False); + + /****************** BRepApprox_TheComputeLineOfApprox ******************/ %feature("compactdefaultargs") BRepApprox_TheComputeLineOfApprox; - %feature("autodoc", " :param Line: + %feature("autodoc", "* The MultiLine will be approximated until tolerances will be reached. The approximation will be done from degreemin to degreemax with a cutting if the corresponding boolean is True. If is True, the computation will be done with no iteration at all. + :param Line: :type Line: BRepApprox_TheMultiLineOfApprox & :param Parameters: :type Parameters: math_Vector & @@ -1758,11 +2174,13 @@ class BRepApprox_TheComputeLineOfApprox { :type cutting: bool :param Squares: default value is Standard_False :type Squares: bool - :rtype: None -") BRepApprox_TheComputeLineOfApprox; + :rtype: None") BRepApprox_TheComputeLineOfApprox; BRepApprox_TheComputeLineOfApprox (const BRepApprox_TheMultiLineOfApprox & Line,const math_Vector & Parameters,const Standard_Integer degreemin = 4,const Standard_Integer degreemax = 8,const Standard_Real Tolerance3d = 1.0e-03,const Standard_Real Tolerance2d = 1.0e-06,const Standard_Integer NbIterations = 5,const Standard_Boolean cutting = Standard_True,const Standard_Boolean Squares = Standard_False); + + /****************** BRepApprox_TheComputeLineOfApprox ******************/ %feature("compactdefaultargs") BRepApprox_TheComputeLineOfApprox; - %feature("autodoc", " :param Parameters: + %feature("autodoc", "* Initializes the fields of the algorithm. + :param Parameters: :type Parameters: math_Vector & :param degreemin: default value is 4 :type degreemin: int @@ -1778,11 +2196,13 @@ class BRepApprox_TheComputeLineOfApprox { :type cutting: bool :param Squares: default value is Standard_False :type Squares: bool - :rtype: None -") BRepApprox_TheComputeLineOfApprox; + :rtype: None") BRepApprox_TheComputeLineOfApprox; BRepApprox_TheComputeLineOfApprox (const math_Vector & Parameters,const Standard_Integer degreemin = 4,const Standard_Integer degreemax = 8,const Standard_Real Tolerance3d = 1.0e-03,const Standard_Real Tolerance2d = 1.0e-06,const Standard_Integer NbIterations = 5,const Standard_Boolean cutting = Standard_True,const Standard_Boolean Squares = Standard_False); + + /****************** BRepApprox_TheComputeLineOfApprox ******************/ %feature("compactdefaultargs") BRepApprox_TheComputeLineOfApprox; - %feature("autodoc", " :param degreemin: default value is 4 + %feature("autodoc", "* Initializes the fields of the algorithm. + :param degreemin: default value is 4 :type degreemin: int :param degreemax: default value is 8 :type degreemax: int @@ -1798,17 +2218,29 @@ class BRepApprox_TheComputeLineOfApprox { :type parametrization: Approx_ParametrizationType :param Squares: default value is Standard_False :type Squares: bool - :rtype: None -") BRepApprox_TheComputeLineOfApprox; + :rtype: None") BRepApprox_TheComputeLineOfApprox; BRepApprox_TheComputeLineOfApprox (const Standard_Integer degreemin = 4,const Standard_Integer degreemax = 8,const Standard_Real Tolerance3d = 1.0e-03,const Standard_Real Tolerance2d = 1.0e-06,const Standard_Integer NbIterations = 5,const Standard_Boolean cutting = Standard_True,const Approx_ParametrizationType parametrization = Approx_ChordLength,const Standard_Boolean Squares = Standard_False); - %feature("compactdefaultargs") Interpol; - %feature("autodoc", " :param Line: - :type Line: BRepApprox_TheMultiLineOfApprox & - :rtype: None -") Interpol; - void Interpol (const BRepApprox_TheMultiLineOfApprox & Line); + + /****************** ChangeValue ******************/ + %feature("compactdefaultargs") ChangeValue; + %feature("autodoc", "* returns the result of the approximation. + :rtype: AppParCurves_MultiBSpCurve") ChangeValue; + AppParCurves_MultiBSpCurve & ChangeValue (); + + /****************** Error ******************/ + %feature("compactdefaultargs") Error; + %feature("autodoc", "* returns the tolerances 2d and 3d of the MultiBSpCurve. + :param tol3d: + :type tol3d: float & + :param tol2d: + :type tol2d: float & + :rtype: None") Error; + void Error (Standard_Real &OutValue,Standard_Real &OutValue); + + /****************** Init ******************/ %feature("compactdefaultargs") Init; - %feature("autodoc", " :param degreemin: default value is 4 + %feature("autodoc", "* Initializes the fields of the algorithm. + :param degreemin: default value is 4 :type degreemin: int :param degreemax: default value is 8 :type degreemax: int @@ -1824,93 +2256,121 @@ class BRepApprox_TheComputeLineOfApprox { :type parametrization: Approx_ParametrizationType :param Squares: default value is Standard_False :type Squares: bool - :rtype: None -") Init; + :rtype: None") Init; void Init (const Standard_Integer degreemin = 4,const Standard_Integer degreemax = 8,const Standard_Real Tolerance3d = 1.0e-03,const Standard_Real Tolerance2d = 1.0e-06,const Standard_Integer NbIterations = 5,const Standard_Boolean cutting = Standard_True,const Approx_ParametrizationType parametrization = Approx_ChordLength,const Standard_Boolean Squares = Standard_False); + + /****************** Interpol ******************/ + %feature("compactdefaultargs") Interpol; + %feature("autodoc", "* Constructs an interpolation of the MultiLine The result will be a C2 curve of degree 3. + :param Line: + :type Line: BRepApprox_TheMultiLineOfApprox & + :rtype: None") Interpol; + void Interpol (const BRepApprox_TheMultiLineOfApprox & Line); + + /****************** IsAllApproximated ******************/ + %feature("compactdefaultargs") IsAllApproximated; + %feature("autodoc", "* returns False if at a moment of the approximation, the status NoApproximation has been sent by the user when more points were needed. + :rtype: bool") IsAllApproximated; + Standard_Boolean IsAllApproximated (); + + /****************** IsToleranceReached ******************/ + %feature("compactdefaultargs") IsToleranceReached; + %feature("autodoc", "* returns False if the status NoPointsAdded has been sent. + :rtype: bool") IsToleranceReached; + Standard_Boolean IsToleranceReached (); + + /****************** Parameters ******************/ + %feature("compactdefaultargs") Parameters; + %feature("autodoc", "* returns the new parameters of the approximation corresponding to the points of the MultiBSpCurve. + :rtype: TColStd_Array1OfReal") Parameters; + const TColStd_Array1OfReal & Parameters (); + + /****************** Perform ******************/ %feature("compactdefaultargs") Perform; - %feature("autodoc", " :param Line: + %feature("autodoc", "* runs the algorithm after having initialized the fields. + :param Line: :type Line: BRepApprox_TheMultiLineOfApprox & - :rtype: None -") Perform; + :rtype: None") Perform; void Perform (const BRepApprox_TheMultiLineOfApprox & Line); - %feature("compactdefaultargs") SetParameters; - %feature("autodoc", " :param ThePar: - :type ThePar: math_Vector & - :rtype: None -") SetParameters; - void SetParameters (const math_Vector & ThePar); + + /****************** SetConstraints ******************/ + %feature("compactdefaultargs") SetConstraints; + %feature("autodoc", "* changes the first and the last constraint points. + :param firstC: + :type firstC: AppParCurves_Constraint + :param lastC: + :type lastC: AppParCurves_Constraint + :rtype: None") SetConstraints; + void SetConstraints (const AppParCurves_Constraint firstC,const AppParCurves_Constraint lastC); + + /****************** SetContinuity ******************/ + %feature("compactdefaultargs") SetContinuity; + %feature("autodoc", "* sets the continuity of the spline. if C = 2, the spline will be C2. + :param C: + :type C: int + :rtype: None") SetContinuity; + void SetContinuity (const Standard_Integer C); + + /****************** SetDegrees ******************/ + %feature("compactdefaultargs") SetDegrees; + %feature("autodoc", "* changes the degrees of the approximation. + :param degreemin: + :type degreemin: int + :param degreemax: + :type degreemax: int + :rtype: None") SetDegrees; + void SetDegrees (const Standard_Integer degreemin,const Standard_Integer degreemax); + + /****************** SetKnots ******************/ %feature("compactdefaultargs") SetKnots; - %feature("autodoc", " :param Knots: + %feature("autodoc", "* The approximation will be done with the set of knots . The multiplicities will be set with the degree and the desired continuity. + :param Knots: :type Knots: TColStd_Array1OfReal & - :rtype: None -") SetKnots; + :rtype: None") SetKnots; void SetKnots (const TColStd_Array1OfReal & Knots); + + /****************** SetKnotsAndMultiplicities ******************/ %feature("compactdefaultargs") SetKnotsAndMultiplicities; - %feature("autodoc", " :param Knots: + %feature("autodoc", "* The approximation will be done with the set of knots and the multiplicities . + :param Knots: :type Knots: TColStd_Array1OfReal & :param Mults: :type Mults: TColStd_Array1OfInteger & - :rtype: None -") SetKnotsAndMultiplicities; + :rtype: None") SetKnotsAndMultiplicities; void SetKnotsAndMultiplicities (const TColStd_Array1OfReal & Knots,const TColStd_Array1OfInteger & Mults); - %feature("compactdefaultargs") SetDegrees; - %feature("autodoc", " :param degreemin: - :type degreemin: int - :param degreemax: - :type degreemax: int - :rtype: None -") SetDegrees; - void SetDegrees (const Standard_Integer degreemin,const Standard_Integer degreemax); + + /****************** SetParameters ******************/ + %feature("compactdefaultargs") SetParameters; + %feature("autodoc", "* The approximation will begin with the set of parameters . + :param ThePar: + :type ThePar: math_Vector & + :rtype: None") SetParameters; + void SetParameters (const math_Vector & ThePar); + + /****************** SetPeriodic ******************/ + %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. + :param thePeriodic: + :type thePeriodic: bool + :rtype: None") SetPeriodic; + void SetPeriodic (const Standard_Boolean thePeriodic); + + /****************** SetTolerances ******************/ %feature("compactdefaultargs") SetTolerances; - %feature("autodoc", " :param Tolerance3d: + %feature("autodoc", "* Changes the tolerances of the approximation. + :param Tolerance3d: :type Tolerance3d: float :param Tolerance2d: :type Tolerance2d: float - :rtype: None -") SetTolerances; + :rtype: None") SetTolerances; void SetTolerances (const Standard_Real Tolerance3d,const Standard_Real Tolerance2d); - %feature("compactdefaultargs") SetContinuity; - %feature("autodoc", " :param C: - :type C: int - :rtype: None -") SetContinuity; - void SetContinuity (const Standard_Integer C); - %feature("compactdefaultargs") SetConstraints; - %feature("autodoc", " :param firstC: - :type firstC: AppParCurves_Constraint - :param lastC: - :type lastC: AppParCurves_Constraint - :rtype: None -") SetConstraints; - void SetConstraints (const AppParCurves_Constraint firstC,const AppParCurves_Constraint lastC); - %feature("compactdefaultargs") IsAllApproximated; - %feature("autodoc", " :rtype: bool -") IsAllApproximated; - Standard_Boolean IsAllApproximated (); - %feature("compactdefaultargs") IsToleranceReached; - %feature("autodoc", " :rtype: bool -") IsToleranceReached; - Standard_Boolean IsToleranceReached (); - %feature("compactdefaultargs") Error; - %feature("autodoc", " :param tol3d: - :type tol3d: float & - :param tol2d: - :type tol2d: float & - :rtype: None -") Error; - void Error (Standard_Real &OutValue,Standard_Real &OutValue); + + /****************** Value ******************/ %feature("compactdefaultargs") Value; - %feature("autodoc", " :rtype: AppParCurves_MultiBSpCurve -") Value; + %feature("autodoc", "* returns the result of the approximation. + :rtype: AppParCurves_MultiBSpCurve") Value; const AppParCurves_MultiBSpCurve & Value (); - %feature("compactdefaultargs") ChangeValue; - %feature("autodoc", " :rtype: AppParCurves_MultiBSpCurve -") ChangeValue; - AppParCurves_MultiBSpCurve & ChangeValue (); - %feature("compactdefaultargs") Parameters; - %feature("autodoc", " :rtype: TColStd_Array1OfReal -") Parameters; - const TColStd_Array1OfReal & Parameters (); + }; @@ -1919,57 +2379,35 @@ class BRepApprox_TheComputeLineOfApprox { __repr__ = _dumps_object } }; + +/********************************************************************** +* class BRepApprox_TheFunctionOfTheInt2SOfThePrmPrmSvSurfacesOfApprox * +**********************************************************************/ %nodefaultctor BRepApprox_TheFunctionOfTheInt2SOfThePrmPrmSvSurfacesOfApprox; class BRepApprox_TheFunctionOfTheInt2SOfThePrmPrmSvSurfacesOfApprox : public math_FunctionSetWithDerivatives { public: + /****************** AuxillarSurface1 ******************/ + %feature("compactdefaultargs") AuxillarSurface1; + %feature("autodoc", ":rtype: BRepAdaptor_Surface") AuxillarSurface1; + const BRepAdaptor_Surface & AuxillarSurface1 (); + + /****************** AuxillarSurface2 ******************/ + %feature("compactdefaultargs") AuxillarSurface2; + %feature("autodoc", ":rtype: BRepAdaptor_Surface") AuxillarSurface2; + const BRepAdaptor_Surface & AuxillarSurface2 (); + + /****************** BRepApprox_TheFunctionOfTheInt2SOfThePrmPrmSvSurfacesOfApprox ******************/ %feature("compactdefaultargs") BRepApprox_TheFunctionOfTheInt2SOfThePrmPrmSvSurfacesOfApprox; - %feature("autodoc", " :rtype: None -") BRepApprox_TheFunctionOfTheInt2SOfThePrmPrmSvSurfacesOfApprox; - BRepApprox_TheFunctionOfTheInt2SOfThePrmPrmSvSurfacesOfApprox (); - %feature("compactdefaultargs") BRepApprox_TheFunctionOfTheInt2SOfThePrmPrmSvSurfacesOfApprox; - %feature("autodoc", " :param S1: + %feature("autodoc", ":param S1: :type S1: BRepAdaptor_Surface & :param S2: :type S2: BRepAdaptor_Surface & - :rtype: None -") BRepApprox_TheFunctionOfTheInt2SOfThePrmPrmSvSurfacesOfApprox; + :rtype: None") BRepApprox_TheFunctionOfTheInt2SOfThePrmPrmSvSurfacesOfApprox; BRepApprox_TheFunctionOfTheInt2SOfThePrmPrmSvSurfacesOfApprox (const BRepAdaptor_Surface & S1,const BRepAdaptor_Surface & S2); - %feature("compactdefaultargs") NbVariables; - %feature("autodoc", " :rtype: int -") NbVariables; - Standard_Integer NbVariables (); - %feature("compactdefaultargs") NbEquations; - %feature("autodoc", " :rtype: int -") NbEquations; - Standard_Integer NbEquations (); - %feature("compactdefaultargs") Value; - %feature("autodoc", " :param X: - :type X: math_Vector & - :param F: - :type F: math_Vector & - :rtype: bool -") Value; - Standard_Boolean Value (const math_Vector & X,math_Vector & F); - %feature("compactdefaultargs") Derivatives; - %feature("autodoc", " :param X: - :type X: math_Vector & - :param D: - :type D: math_Matrix & - :rtype: bool -") Derivatives; - Standard_Boolean Derivatives (const math_Vector & X,math_Matrix & D); - %feature("compactdefaultargs") Values; - %feature("autodoc", " :param X: - :type X: math_Vector & - :param F: - :type F: math_Vector & - :param D: - :type D: math_Matrix & - :rtype: bool -") Values; - Standard_Boolean Values (const math_Vector & X,math_Vector & F,math_Matrix & D); + + /****************** ComputeParameters ******************/ %feature("compactdefaultargs") ComputeParameters; - %feature("autodoc", " :param ChoixIso: + %feature("autodoc", ":param ChoixIso: :type ChoixIso: IntImp_ConstIsoparametric :param Param: :type Param: TColStd_Array1OfReal & @@ -1981,47 +2419,85 @@ class BRepApprox_TheFunctionOfTheInt2SOfThePrmPrmSvSurfacesOfApprox : public mat :type BornSup: math_Vector & :param Tolerance: :type Tolerance: math_Vector & - :rtype: None -") ComputeParameters; + :rtype: None") ComputeParameters; void ComputeParameters (const IntImp_ConstIsoparametric ChoixIso,const TColStd_Array1OfReal & Param,math_Vector & UVap,math_Vector & BornInf,math_Vector & BornSup,math_Vector & Tolerance); - %feature("compactdefaultargs") Root; - %feature("autodoc", " :rtype: float -") Root; - Standard_Real Root (); - %feature("compactdefaultargs") Point; - %feature("autodoc", " :rtype: gp_Pnt -") Point; - gp_Pnt Point (); + + /****************** Derivatives ******************/ + %feature("compactdefaultargs") Derivatives; + %feature("autodoc", ":param X: + :type X: math_Vector & + :param D: + :type D: math_Matrix & + :rtype: bool") Derivatives; + Standard_Boolean Derivatives (const math_Vector & X,math_Matrix & D); + + /****************** Direction ******************/ + %feature("compactdefaultargs") Direction; + %feature("autodoc", ":rtype: gp_Dir") Direction; + gp_Dir Direction (); + + /****************** DirectionOnS1 ******************/ + %feature("compactdefaultargs") DirectionOnS1; + %feature("autodoc", ":rtype: gp_Dir2d") DirectionOnS1; + gp_Dir2d DirectionOnS1 (); + + /****************** DirectionOnS2 ******************/ + %feature("compactdefaultargs") DirectionOnS2; + %feature("autodoc", ":rtype: gp_Dir2d") DirectionOnS2; + gp_Dir2d DirectionOnS2 (); + + /****************** IsTangent ******************/ %feature("compactdefaultargs") IsTangent; - %feature("autodoc", " :param UVap: + %feature("autodoc", ":param UVap: :type UVap: math_Vector & :param Param: :type Param: TColStd_Array1OfReal & :param BestChoix: :type BestChoix: IntImp_ConstIsoparametric & - :rtype: bool -") IsTangent; + :rtype: bool") IsTangent; Standard_Boolean IsTangent (const math_Vector & UVap,TColStd_Array1OfReal & Param,IntImp_ConstIsoparametric & BestChoix); - %feature("compactdefaultargs") Direction; - %feature("autodoc", " :rtype: gp_Dir -") Direction; - gp_Dir Direction (); - %feature("compactdefaultargs") DirectionOnS1; - %feature("autodoc", " :rtype: gp_Dir2d -") DirectionOnS1; - gp_Dir2d DirectionOnS1 (); - %feature("compactdefaultargs") DirectionOnS2; - %feature("autodoc", " :rtype: gp_Dir2d -") DirectionOnS2; - gp_Dir2d DirectionOnS2 (); - %feature("compactdefaultargs") AuxillarSurface1; - %feature("autodoc", " :rtype: BRepAdaptor_Surface -") AuxillarSurface1; - const BRepAdaptor_Surface & AuxillarSurface1 (); - %feature("compactdefaultargs") AuxillarSurface2; - %feature("autodoc", " :rtype: BRepAdaptor_Surface -") AuxillarSurface2; - const BRepAdaptor_Surface & AuxillarSurface2 (); + + /****************** NbEquations ******************/ + %feature("compactdefaultargs") NbEquations; + %feature("autodoc", ":rtype: int") NbEquations; + Standard_Integer NbEquations (); + + /****************** NbVariables ******************/ + %feature("compactdefaultargs") NbVariables; + %feature("autodoc", ":rtype: int") NbVariables; + Standard_Integer NbVariables (); + + /****************** Point ******************/ + %feature("compactdefaultargs") Point; + %feature("autodoc", ":rtype: gp_Pnt") Point; + gp_Pnt Point (); + + /****************** Root ******************/ + %feature("compactdefaultargs") Root; + %feature("autodoc", "* returns somme des fi*fi + :rtype: float") Root; + Standard_Real Root (); + + /****************** Value ******************/ + %feature("compactdefaultargs") Value; + %feature("autodoc", ":param X: + :type X: math_Vector & + :param F: + :type F: math_Vector & + :rtype: bool") Value; + Standard_Boolean Value (const math_Vector & X,math_Vector & F); + + /****************** Values ******************/ + %feature("compactdefaultargs") Values; + %feature("autodoc", ":param X: + :type X: math_Vector & + :param F: + :type F: math_Vector & + :param D: + :type D: math_Matrix & + :rtype: bool") Values; + Standard_Boolean Values (const math_Vector & X,math_Vector & F,math_Matrix & D); + }; @@ -2030,27 +2506,35 @@ class BRepApprox_TheFunctionOfTheInt2SOfThePrmPrmSvSurfacesOfApprox : public mat __repr__ = _dumps_object } }; + +/*********************************************** +* class BRepApprox_TheImpPrmSvSurfacesOfApprox * +***********************************************/ %nodefaultctor BRepApprox_TheImpPrmSvSurfacesOfApprox; class BRepApprox_TheImpPrmSvSurfacesOfApprox : public ApproxInt_SvSurfaces { public: + /****************** BRepApprox_TheImpPrmSvSurfacesOfApprox ******************/ %feature("compactdefaultargs") BRepApprox_TheImpPrmSvSurfacesOfApprox; - %feature("autodoc", " :param Surf1: + %feature("autodoc", ":param Surf1: :type Surf1: BRepAdaptor_Surface & :param Surf2: :type Surf2: IntSurf_Quadric & - :rtype: None -") BRepApprox_TheImpPrmSvSurfacesOfApprox; + :rtype: None") BRepApprox_TheImpPrmSvSurfacesOfApprox; BRepApprox_TheImpPrmSvSurfacesOfApprox (const BRepAdaptor_Surface & Surf1,const IntSurf_Quadric & Surf2); + + /****************** BRepApprox_TheImpPrmSvSurfacesOfApprox ******************/ %feature("compactdefaultargs") BRepApprox_TheImpPrmSvSurfacesOfApprox; - %feature("autodoc", " :param Surf1: + %feature("autodoc", ":param Surf1: :type Surf1: IntSurf_Quadric & :param Surf2: :type Surf2: BRepAdaptor_Surface & - :rtype: None -") BRepApprox_TheImpPrmSvSurfacesOfApprox; + :rtype: None") BRepApprox_TheImpPrmSvSurfacesOfApprox; BRepApprox_TheImpPrmSvSurfacesOfApprox (const IntSurf_Quadric & Surf1,const BRepAdaptor_Surface & Surf2); + + /****************** Compute ******************/ %feature("compactdefaultargs") Compute; - %feature("autodoc", " :param u1: + %feature("autodoc", "* returns True if Tg,Tguv1 Tguv2 can be computed. + :param u1: :type u1: float & :param v1: :type v1: float & @@ -2066,11 +2550,12 @@ class BRepApprox_TheImpPrmSvSurfacesOfApprox : public ApproxInt_SvSurfaces { :type Tguv1: gp_Vec2d :param Tguv2: :type Tguv2: gp_Vec2d - :rtype: bool -") Compute; + :rtype: bool") Compute; 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); + + /****************** Pnt ******************/ %feature("compactdefaultargs") Pnt; - %feature("autodoc", " :param u1: + %feature("autodoc", ":param u1: :type u1: float :param v1: :type v1: float @@ -2080,11 +2565,27 @@ class BRepApprox_TheImpPrmSvSurfacesOfApprox : public ApproxInt_SvSurfaces { :type v2: float :param P: :type P: gp_Pnt - :rtype: None -") Pnt; + :rtype: None") Pnt; void Pnt (const Standard_Real u1,const Standard_Real v1,const Standard_Real u2,const Standard_Real v2,gp_Pnt & P); + + /****************** SeekPoint ******************/ + %feature("compactdefaultargs") SeekPoint; + %feature("autodoc", ":param u1: + :type u1: float + :param v1: + :type v1: float + :param u2: + :type u2: float + :param v2: + :type v2: float + :param Point: + :type Point: IntSurf_PntOn2S & + :rtype: bool") SeekPoint; + Standard_Boolean SeekPoint (const Standard_Real u1,const Standard_Real v1,const Standard_Real u2,const Standard_Real v2,IntSurf_PntOn2S & Point); + + /****************** Tangency ******************/ %feature("compactdefaultargs") Tangency; - %feature("autodoc", " :param u1: + %feature("autodoc", ":param u1: :type u1: float :param v1: :type v1: float @@ -2094,11 +2595,12 @@ class BRepApprox_TheImpPrmSvSurfacesOfApprox : public ApproxInt_SvSurfaces { :type v2: float :param Tg: :type Tg: gp_Vec - :rtype: bool -") Tangency; + :rtype: bool") Tangency; Standard_Boolean Tangency (const Standard_Real u1,const Standard_Real v1,const Standard_Real u2,const Standard_Real v2,gp_Vec & Tg); + + /****************** TangencyOnSurf1 ******************/ %feature("compactdefaultargs") TangencyOnSurf1; - %feature("autodoc", " :param u1: + %feature("autodoc", ":param u1: :type u1: float :param v1: :type v1: float @@ -2108,11 +2610,12 @@ class BRepApprox_TheImpPrmSvSurfacesOfApprox : public ApproxInt_SvSurfaces { :type v2: float :param Tg: :type Tg: gp_Vec2d - :rtype: bool -") TangencyOnSurf1; + :rtype: bool") TangencyOnSurf1; Standard_Boolean TangencyOnSurf1 (const Standard_Real u1,const Standard_Real v1,const Standard_Real u2,const Standard_Real v2,gp_Vec2d & Tg); + + /****************** TangencyOnSurf2 ******************/ %feature("compactdefaultargs") TangencyOnSurf2; - %feature("autodoc", " :param u1: + %feature("autodoc", ":param u1: :type u1: float :param v1: :type v1: float @@ -2122,9 +2625,9 @@ class BRepApprox_TheImpPrmSvSurfacesOfApprox : public ApproxInt_SvSurfaces { :type v2: float :param Tg: :type Tg: gp_Vec2d - :rtype: bool -") TangencyOnSurf2; + :rtype: bool") TangencyOnSurf2; Standard_Boolean TangencyOnSurf2 (const Standard_Real u1,const Standard_Real v1,const Standard_Real u2,const Standard_Real v2,gp_Vec2d & Tg); + }; @@ -2133,15 +2636,17 @@ class BRepApprox_TheImpPrmSvSurfacesOfApprox : public ApproxInt_SvSurfaces { __repr__ = _dumps_object } }; + +/********************************************************* +* class BRepApprox_TheInt2SOfThePrmPrmSvSurfacesOfApprox * +*********************************************************/ %nodefaultctor BRepApprox_TheInt2SOfThePrmPrmSvSurfacesOfApprox; class BRepApprox_TheInt2SOfThePrmPrmSvSurfacesOfApprox { public: + /****************** BRepApprox_TheInt2SOfThePrmPrmSvSurfacesOfApprox ******************/ %feature("compactdefaultargs") BRepApprox_TheInt2SOfThePrmPrmSvSurfacesOfApprox; - %feature("autodoc", " :rtype: None -") BRepApprox_TheInt2SOfThePrmPrmSvSurfacesOfApprox; - BRepApprox_TheInt2SOfThePrmPrmSvSurfacesOfApprox (); - %feature("compactdefaultargs") BRepApprox_TheInt2SOfThePrmPrmSvSurfacesOfApprox; - %feature("autodoc", " :param Param: + %feature("autodoc", "* compute the solution point with the close point + :param Param: :type Param: TColStd_Array1OfReal & :param S1: :type S1: BRepAdaptor_Surface & @@ -2149,73 +2654,97 @@ class BRepApprox_TheInt2SOfThePrmPrmSvSurfacesOfApprox { :type S2: BRepAdaptor_Surface & :param TolTangency: :type TolTangency: float - :rtype: None -") BRepApprox_TheInt2SOfThePrmPrmSvSurfacesOfApprox; + :rtype: None") BRepApprox_TheInt2SOfThePrmPrmSvSurfacesOfApprox; BRepApprox_TheInt2SOfThePrmPrmSvSurfacesOfApprox (const TColStd_Array1OfReal & Param,const BRepAdaptor_Surface & S1,const BRepAdaptor_Surface & S2,const Standard_Real TolTangency); + + /****************** BRepApprox_TheInt2SOfThePrmPrmSvSurfacesOfApprox ******************/ %feature("compactdefaultargs") BRepApprox_TheInt2SOfThePrmPrmSvSurfacesOfApprox; - %feature("autodoc", " :param S1: + %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); } + :param S1: :type S1: BRepAdaptor_Surface & :param S2: :type S2: BRepAdaptor_Surface & :param TolTangency: :type TolTangency: float - :rtype: None -") BRepApprox_TheInt2SOfThePrmPrmSvSurfacesOfApprox; + :rtype: None") BRepApprox_TheInt2SOfThePrmPrmSvSurfacesOfApprox; BRepApprox_TheInt2SOfThePrmPrmSvSurfacesOfApprox (const BRepAdaptor_Surface & S1,const BRepAdaptor_Surface & S2,const Standard_Real TolTangency); + + /****************** ChangePoint ******************/ + %feature("compactdefaultargs") ChangePoint; + %feature("autodoc", "* return the intersection point which is enable for changing. + :rtype: IntSurf_PntOn2S") ChangePoint; + IntSurf_PntOn2S & ChangePoint (); + + /****************** Direction ******************/ + %feature("compactdefaultargs") Direction; + %feature("autodoc", "* Returns the tangent at the intersection line. + :rtype: gp_Dir") Direction; + const gp_Dir Direction (); + + /****************** DirectionOnS1 ******************/ + %feature("compactdefaultargs") DirectionOnS1; + %feature("autodoc", "* Returns the tangent at the intersection line in the parametric space of the first surface. + :rtype: gp_Dir2d") DirectionOnS1; + const gp_Dir2d DirectionOnS1 (); + + /****************** DirectionOnS2 ******************/ + %feature("compactdefaultargs") DirectionOnS2; + %feature("autodoc", "* Returns the tangent at the intersection line in the parametric space of the second surface. + :rtype: gp_Dir2d") DirectionOnS2; + const gp_Dir2d DirectionOnS2 (); + + /****************** Function ******************/ + %feature("compactdefaultargs") Function; + %feature("autodoc", "* return the math function which is used to compute the intersection + :rtype: BRepApprox_TheFunctionOfTheInt2SOfThePrmPrmSvSurfacesOfApprox") Function; + BRepApprox_TheFunctionOfTheInt2SOfThePrmPrmSvSurfacesOfApprox & Function (); + + /****************** IsDone ******************/ + %feature("compactdefaultargs") IsDone; + %feature("autodoc", "* Returns True if the creation completed without failure. + :rtype: bool") IsDone; + Standard_Boolean IsDone (); + + /****************** IsEmpty ******************/ + %feature("compactdefaultargs") IsEmpty; + %feature("autodoc", "* Returns True when there is no solution to the problem. + :rtype: bool") IsEmpty; + Standard_Boolean IsEmpty (); + + /****************** IsTangent ******************/ + %feature("compactdefaultargs") IsTangent; + %feature("autodoc", "* Returns True if the surfaces are tangent at the intersection point. + :rtype: bool") IsTangent; + Standard_Boolean IsTangent (); + + /****************** Perform ******************/ %feature("compactdefaultargs") Perform; - %feature("autodoc", " :param Param: + %feature("autodoc", "* returns the best constant isoparametric to find the next intersection's point +stores the solution point (the solution point is found with the close point to intersect the isoparametric with the other patch; the choice of the isoparametic is calculated) + :param Param: :type Param: TColStd_Array1OfReal & :param Rsnld: :type Rsnld: math_FunctionSetRoot & - :rtype: IntImp_ConstIsoparametric -") Perform; + :rtype: IntImp_ConstIsoparametric") Perform; IntImp_ConstIsoparametric Perform (const TColStd_Array1OfReal & Param,math_FunctionSetRoot & Rsnld); + + /****************** Perform ******************/ %feature("compactdefaultargs") Perform; - %feature("autodoc", " :param Param: + %feature("autodoc", "* returns the best constant isoparametric to find the next intersection's point +stores the solution point (the solution point is found with the close point to intersect the isoparametric with the other patch; the choice of the isoparametic is given by ChoixIso) + :param Param: :type Param: TColStd_Array1OfReal & :param Rsnld: :type Rsnld: math_FunctionSetRoot & :param ChoixIso: :type ChoixIso: IntImp_ConstIsoparametric - :rtype: IntImp_ConstIsoparametric -") Perform; + :rtype: IntImp_ConstIsoparametric") Perform; IntImp_ConstIsoparametric Perform (const TColStd_Array1OfReal & Param,math_FunctionSetRoot & Rsnld,const IntImp_ConstIsoparametric ChoixIso); - %feature("compactdefaultargs") IsDone; - %feature("autodoc", " :rtype: bool -") IsDone; - Standard_Boolean IsDone (); - %feature("compactdefaultargs") IsEmpty; - %feature("autodoc", " :rtype: bool -") IsEmpty; - Standard_Boolean IsEmpty (); + + /****************** Point ******************/ %feature("compactdefaultargs") Point; - %feature("autodoc", " :rtype: IntSurf_PntOn2S -") Point; + %feature("autodoc", "* Returns the intersection point. + :rtype: IntSurf_PntOn2S") Point; const IntSurf_PntOn2S & Point (); - %feature("compactdefaultargs") IsTangent; - %feature("autodoc", " :rtype: bool -") IsTangent; - Standard_Boolean IsTangent (); - %feature("compactdefaultargs") Direction; - %feature("autodoc", " :rtype: gp_Dir -") Direction; - const gp_Dir Direction (); - %feature("compactdefaultargs") DirectionOnS1; - %feature("autodoc", " :rtype: gp_Dir2d -") DirectionOnS1; - const gp_Dir2d DirectionOnS1 (); - %feature("compactdefaultargs") DirectionOnS2; - %feature("autodoc", " :rtype: gp_Dir2d -") DirectionOnS2; - const gp_Dir2d DirectionOnS2 (); - %feature("compactdefaultargs") Function; - %feature("autodoc", " :rtype: BRepApprox_TheFunctionOfTheInt2SOfThePrmPrmSvSurfacesOfApprox -") Function; - BRepApprox_TheFunctionOfTheInt2SOfThePrmPrmSvSurfacesOfApprox & Function (); - %feature("compactdefaultargs") ChangePoint; - %feature("autodoc", " :rtype: IntSurf_PntOn2S -") ChangePoint; - IntSurf_PntOn2S & ChangePoint (); + }; @@ -2224,273 +2753,365 @@ class BRepApprox_TheInt2SOfThePrmPrmSvSurfacesOfApprox { __repr__ = _dumps_object } }; + +/**************************************** +* class BRepApprox_TheMultiLineOfApprox * +****************************************/ %nodefaultctor BRepApprox_TheMultiLineOfApprox; class BRepApprox_TheMultiLineOfApprox { public: + /****************** BRepApprox_TheMultiLineOfApprox ******************/ %feature("compactdefaultargs") BRepApprox_TheMultiLineOfApprox; - %feature("autodoc", " :param line: - :type line: Handle_BRepApprox_ApproxLine & + %feature("autodoc", ":rtype: None") BRepApprox_TheMultiLineOfApprox; + BRepApprox_TheMultiLineOfApprox (); + + /****************** BRepApprox_TheMultiLineOfApprox ******************/ + %feature("compactdefaultargs") BRepApprox_TheMultiLineOfApprox; + %feature("autodoc", "* The class SvSurfaces is used when the approximation algorithm needs some extra points on the line . A New line is then created which shares the same surfaces and functions. SvSurfaces is a deferred class which allows several implementations of this algorithm with different surfaces (bi-parametric ones, or implicit and biparametric ones) + :param line: + :type line: opencascade::handle & :param PtrSvSurfaces: :type PtrSvSurfaces: Standard_Address :param NbP3d: :type NbP3d: int :param NbP2d: :type NbP2d: int + :param ApproxU1V1: + :type ApproxU1V1: bool + :param ApproxU2V2: + :type ApproxU2V2: bool :param xo: :type xo: float - :param ax: - :type ax: float :param yo: :type yo: float - :param ay: - :type ay: float :param zo: :type zo: float - :param az: - :type az: float :param u1o: :type u1o: float - :param a1u: - :type a1u: float :param v1o: :type v1o: float - :param a1v: - :type a1v: float :param u2o: :type u2o: float - :param a2u: - :type a2u: float :param v2o: :type v2o: float - :param a2v: - :type a2v: float :param P2DOnFirst: :type P2DOnFirst: bool :param IndMin: default value is 0 :type IndMin: int :param IndMax: default value is 0 :type IndMax: int - :rtype: None -") BRepApprox_TheMultiLineOfApprox; - BRepApprox_TheMultiLineOfApprox (const Handle_BRepApprox_ApproxLine & line,const Standard_Address PtrSvSurfaces,const Standard_Integer NbP3d,const Standard_Integer NbP2d,const Standard_Real xo,const Standard_Real ax,const Standard_Real yo,const Standard_Real ay,const Standard_Real zo,const Standard_Real az,const Standard_Real u1o,const Standard_Real a1u,const Standard_Real v1o,const Standard_Real a1v,const Standard_Real u2o,const Standard_Real a2u,const Standard_Real v2o,const Standard_Real a2v,const Standard_Boolean P2DOnFirst,const Standard_Integer IndMin = 0,const Standard_Integer IndMax = 0); + :rtype: None") BRepApprox_TheMultiLineOfApprox; + BRepApprox_TheMultiLineOfApprox (const opencascade::handle & line,const Standard_Address PtrSvSurfaces,const Standard_Integer NbP3d,const Standard_Integer NbP2d,const Standard_Boolean ApproxU1V1,const Standard_Boolean ApproxU2V2,const Standard_Real xo,const Standard_Real yo,const Standard_Real zo,const Standard_Real u1o,const Standard_Real v1o,const Standard_Real u2o,const Standard_Real v2o,const Standard_Boolean P2DOnFirst,const Standard_Integer IndMin = 0,const Standard_Integer IndMax = 0); + + /****************** BRepApprox_TheMultiLineOfApprox ******************/ %feature("compactdefaultargs") BRepApprox_TheMultiLineOfApprox; - %feature("autodoc", " :param line: - :type line: Handle_BRepApprox_ApproxLine & + %feature("autodoc", "* No Extra points will be added on the current line + :param line: + :type line: opencascade::handle & :param NbP3d: :type NbP3d: int :param NbP2d: :type NbP2d: int + :param ApproxU1V1: + :type ApproxU1V1: bool + :param ApproxU2V2: + :type ApproxU2V2: bool :param xo: :type xo: float - :param ax: - :type ax: float :param yo: :type yo: float - :param ay: - :type ay: float :param zo: :type zo: float - :param az: - :type az: float :param u1o: :type u1o: float - :param a1u: - :type a1u: float :param v1o: :type v1o: float - :param a1v: - :type a1v: float :param u2o: :type u2o: float - :param a2u: - :type a2u: float :param v2o: :type v2o: float - :param a2v: - :type a2v: float :param P2DOnFirst: :type P2DOnFirst: bool :param IndMin: default value is 0 :type IndMin: int :param IndMax: default value is 0 :type IndMax: int - :rtype: None -") BRepApprox_TheMultiLineOfApprox; - BRepApprox_TheMultiLineOfApprox (const Handle_BRepApprox_ApproxLine & line,const Standard_Integer NbP3d,const Standard_Integer NbP2d,const Standard_Real xo,const Standard_Real ax,const Standard_Real yo,const Standard_Real ay,const Standard_Real zo,const Standard_Real az,const Standard_Real u1o,const Standard_Real a1u,const Standard_Real v1o,const Standard_Real a1v,const Standard_Real u2o,const Standard_Real a2u,const Standard_Real v2o,const Standard_Real a2v,const Standard_Boolean P2DOnFirst,const Standard_Integer IndMin = 0,const Standard_Integer IndMax = 0); + :rtype: None") BRepApprox_TheMultiLineOfApprox; + BRepApprox_TheMultiLineOfApprox (const opencascade::handle & line,const Standard_Integer NbP3d,const Standard_Integer NbP2d,const Standard_Boolean ApproxU1V1,const Standard_Boolean ApproxU2V2,const Standard_Real xo,const Standard_Real yo,const Standard_Real zo,const Standard_Real u1o,const Standard_Real v1o,const Standard_Real u2o,const Standard_Real v2o,const Standard_Boolean P2DOnFirst,const Standard_Integer IndMin = 0,const Standard_Integer IndMax = 0); + + /****************** Dump ******************/ + %feature("compactdefaultargs") Dump; + %feature("autodoc", "* Dump of the current multi-line. + :rtype: None") Dump; + void Dump (); + + /****************** FirstPoint ******************/ %feature("compactdefaultargs") FirstPoint; - %feature("autodoc", " :rtype: int -") FirstPoint; + %feature("autodoc", ":rtype: int") FirstPoint; Standard_Integer FirstPoint (); + + /****************** LastPoint ******************/ %feature("compactdefaultargs") LastPoint; - %feature("autodoc", " :rtype: int -") LastPoint; + %feature("autodoc", ":rtype: int") LastPoint; Standard_Integer LastPoint (); + + /****************** MakeMLBetween ******************/ + %feature("compactdefaultargs") MakeMLBetween; + %feature("autodoc", "* Tries to make a sub-line between and points of this line by adding new points + :param Low: + :type Low: int + :param High: + :type High: int + :param NbPointsToInsert: + :type NbPointsToInsert: int + :rtype: BRepApprox_TheMultiLineOfApprox") MakeMLBetween; + BRepApprox_TheMultiLineOfApprox MakeMLBetween (const Standard_Integer Low,const Standard_Integer High,const Standard_Integer NbPointsToInsert); + + /****************** MakeMLOneMorePoint ******************/ + %feature("compactdefaultargs") MakeMLOneMorePoint; + %feature("autodoc", "* Tries to make a sub-line between and points of this line by adding one more point between (indbad-1)-th and indbad-th points + :param Low: + :type Low: int + :param High: + :type High: int + :param indbad: + :type indbad: int + :param OtherLine: + :type OtherLine: BRepApprox_TheMultiLineOfApprox & + :rtype: bool") MakeMLOneMorePoint; + Standard_Boolean MakeMLOneMorePoint (const Standard_Integer Low,const Standard_Integer High,const Standard_Integer indbad,BRepApprox_TheMultiLineOfApprox & OtherLine); + + /****************** NbP2d ******************/ %feature("compactdefaultargs") NbP2d; - %feature("autodoc", " :rtype: int -") NbP2d; + %feature("autodoc", "* Returns the number of 2d points of a TheLine. + :rtype: int") NbP2d; Standard_Integer NbP2d (); + + /****************** NbP3d ******************/ %feature("compactdefaultargs") NbP3d; - %feature("autodoc", " :rtype: int -") NbP3d; + %feature("autodoc", "* Returns the number of 3d points of a TheLine. + :rtype: int") NbP3d; Standard_Integer NbP3d (); - %feature("compactdefaultargs") WhatStatus; - %feature("autodoc", " :rtype: Approx_Status -") WhatStatus; - Approx_Status WhatStatus (); + + /****************** Tangency ******************/ + %feature("compactdefaultargs") Tangency; + %feature("autodoc", "* Returns the 3d tangency points of the multipoint only when 3d points exist. + :param MPointIndex: + :type MPointIndex: int + :param tabV: + :type tabV: TColgp_Array1OfVec + :rtype: bool") Tangency; + Standard_Boolean Tangency (const Standard_Integer MPointIndex,TColgp_Array1OfVec & tabV); + + /****************** Tangency ******************/ + %feature("compactdefaultargs") Tangency; + %feature("autodoc", "* Returns the 2d tangency points of the multipoint only when 2d points exist. + :param MPointIndex: + :type MPointIndex: int + :param tabV2d: + :type tabV2d: TColgp_Array1OfVec2d + :rtype: bool") Tangency; + Standard_Boolean Tangency (const Standard_Integer MPointIndex,TColgp_Array1OfVec2d & tabV2d); + + /****************** Tangency ******************/ + %feature("compactdefaultargs") Tangency; + %feature("autodoc", "* Returns the 3d and 2d points of the multipoint . + :param MPointIndex: + :type MPointIndex: int + :param tabV: + :type tabV: TColgp_Array1OfVec + :param tabV2d: + :type tabV2d: TColgp_Array1OfVec2d + :rtype: bool") Tangency; + Standard_Boolean Tangency (const Standard_Integer MPointIndex,TColgp_Array1OfVec & tabV,TColgp_Array1OfVec2d & tabV2d); + + /****************** Value ******************/ %feature("compactdefaultargs") Value; - %feature("autodoc", " :param MPointIndex: + %feature("autodoc", "* Returns the 3d points of the multipoint when only 3d points exist. + :param MPointIndex: :type MPointIndex: int :param tabPt: :type tabPt: TColgp_Array1OfPnt - :rtype: None -") Value; + :rtype: None") Value; void Value (const Standard_Integer MPointIndex,TColgp_Array1OfPnt & tabPt); + + /****************** Value ******************/ %feature("compactdefaultargs") Value; - %feature("autodoc", " :param MPointIndex: + %feature("autodoc", "* Returns the 2d points of the multipoint when only 2d points exist. + :param MPointIndex: :type MPointIndex: int :param tabPt2d: :type tabPt2d: TColgp_Array1OfPnt2d - :rtype: None -") Value; + :rtype: None") Value; void Value (const Standard_Integer MPointIndex,TColgp_Array1OfPnt2d & tabPt2d); + + /****************** Value ******************/ %feature("compactdefaultargs") Value; - %feature("autodoc", " :param MPointIndex: + %feature("autodoc", "* Returns the 3d and 2d points of the multipoint . + :param MPointIndex: :type MPointIndex: int :param tabPt: :type tabPt: TColgp_Array1OfPnt :param tabPt2d: :type tabPt2d: TColgp_Array1OfPnt2d - :rtype: None -") Value; + :rtype: None") Value; void Value (const Standard_Integer MPointIndex,TColgp_Array1OfPnt & tabPt,TColgp_Array1OfPnt2d & tabPt2d); - %feature("compactdefaultargs") Tangency; - %feature("autodoc", " :param MPointIndex: + + /****************** WhatStatus ******************/ + %feature("compactdefaultargs") WhatStatus; + %feature("autodoc", ":rtype: Approx_Status") WhatStatus; + Approx_Status WhatStatus (); + +}; + + +%extend BRepApprox_TheMultiLineOfApprox { + %pythoncode { + __repr__ = _dumps_object + } +}; + +/******************************************** +* class BRepApprox_TheMultiLineToolOfApprox * +********************************************/ +class BRepApprox_TheMultiLineToolOfApprox { + public: + /****************** Curvature ******************/ + %feature("compactdefaultargs") Curvature; + %feature("autodoc", "* returns the 3d curvature of the multipoint when only 3d points exist. + :param ML: + :type ML: BRepApprox_TheMultiLineOfApprox & + :param MPointIndex: :type MPointIndex: int :param tabV: :type tabV: TColgp_Array1OfVec - :rtype: bool -") Tangency; - Standard_Boolean Tangency (const Standard_Integer MPointIndex,TColgp_Array1OfVec & tabV); - %feature("compactdefaultargs") Tangency; - %feature("autodoc", " :param MPointIndex: + :rtype: bool") Curvature; + static Standard_Boolean Curvature (const BRepApprox_TheMultiLineOfApprox & ML,const Standard_Integer MPointIndex,TColgp_Array1OfVec & tabV); + + /****************** Curvature ******************/ + %feature("compactdefaultargs") Curvature; + %feature("autodoc", "* returns the 2d curvature points of the multipoint only when 2d points exist. + :param ML: + :type ML: BRepApprox_TheMultiLineOfApprox & + :param MPointIndex: :type MPointIndex: int :param tabV2d: :type tabV2d: TColgp_Array1OfVec2d - :rtype: bool -") Tangency; - Standard_Boolean Tangency (const Standard_Integer MPointIndex,TColgp_Array1OfVec2d & tabV2d); - %feature("compactdefaultargs") Tangency; - %feature("autodoc", " :param MPointIndex: + :rtype: bool") Curvature; + static Standard_Boolean Curvature (const BRepApprox_TheMultiLineOfApprox & ML,const Standard_Integer MPointIndex,TColgp_Array1OfVec2d & tabV2d); + + /****************** Curvature ******************/ + %feature("compactdefaultargs") Curvature; + %feature("autodoc", "* returns the 3d and 2d curvature of the multipoint . + :param ML: + :type ML: BRepApprox_TheMultiLineOfApprox & + :param MPointIndex: :type MPointIndex: int :param tabV: :type tabV: TColgp_Array1OfVec :param tabV2d: :type tabV2d: TColgp_Array1OfVec2d - :rtype: bool -") Tangency; - Standard_Boolean Tangency (const Standard_Integer MPointIndex,TColgp_Array1OfVec & tabV,TColgp_Array1OfVec2d & tabV2d); - %feature("compactdefaultargs") MakeMLBetween; - %feature("autodoc", " :param Low: - :type Low: int - :param High: - :type High: int - :param NbPointsToInsert: - :type NbPointsToInsert: int - :rtype: BRepApprox_TheMultiLineOfApprox -") MakeMLBetween; - BRepApprox_TheMultiLineOfApprox MakeMLBetween (const Standard_Integer Low,const Standard_Integer High,const Standard_Integer NbPointsToInsert); - %feature("compactdefaultargs") Dump; - %feature("autodoc", " :rtype: None -") Dump; - void Dump (); -}; + :rtype: bool") Curvature; + static Standard_Boolean Curvature (const BRepApprox_TheMultiLineOfApprox & ML,const Standard_Integer MPointIndex,TColgp_Array1OfVec & tabV,TColgp_Array1OfVec2d & tabV2d); + /****************** Dump ******************/ + %feature("compactdefaultargs") Dump; + %feature("autodoc", "* Dump of the current multi-line. + :param ML: + :type ML: BRepApprox_TheMultiLineOfApprox & + :rtype: None") Dump; + static void Dump (const BRepApprox_TheMultiLineOfApprox & ML); -%extend BRepApprox_TheMultiLineOfApprox { - %pythoncode { - __repr__ = _dumps_object - } -}; -class BRepApprox_TheMultiLineToolOfApprox { - public: + /****************** FirstPoint ******************/ %feature("compactdefaultargs") FirstPoint; - %feature("autodoc", " :param ML: + %feature("autodoc", "* Returns the number of multipoints of the TheMultiLine. + :param ML: :type ML: BRepApprox_TheMultiLineOfApprox & - :rtype: int -") FirstPoint; + :rtype: int") FirstPoint; static Standard_Integer FirstPoint (const BRepApprox_TheMultiLineOfApprox & ML); + + /****************** LastPoint ******************/ %feature("compactdefaultargs") LastPoint; - %feature("autodoc", " :param ML: + %feature("autodoc", "* Returns the number of multipoints of the TheMultiLine. + :param ML: :type ML: BRepApprox_TheMultiLineOfApprox & - :rtype: int -") LastPoint; + :rtype: int") LastPoint; static Standard_Integer LastPoint (const BRepApprox_TheMultiLineOfApprox & ML); + + /****************** MakeMLBetween ******************/ + %feature("compactdefaultargs") MakeMLBetween; + %feature("autodoc", "* Is called if WhatStatus returned 'PointsAdded'. + :param ML: + :type ML: BRepApprox_TheMultiLineOfApprox & + :param I1: + :type I1: int + :param I2: + :type I2: int + :param NbPMin: + :type NbPMin: int + :rtype: BRepApprox_TheMultiLineOfApprox") MakeMLBetween; + static BRepApprox_TheMultiLineOfApprox MakeMLBetween (const BRepApprox_TheMultiLineOfApprox & ML,const Standard_Integer I1,const Standard_Integer I2,const Standard_Integer NbPMin); + + /****************** MakeMLOneMorePoint ******************/ + %feature("compactdefaultargs") MakeMLOneMorePoint; + %feature("autodoc", "* Is called when the Bezier curve contains a loop + :param ML: + :type ML: BRepApprox_TheMultiLineOfApprox & + :param I1: + :type I1: int + :param I2: + :type I2: int + :param indbad: + :type indbad: int + :param OtherLine: + :type OtherLine: BRepApprox_TheMultiLineOfApprox & + :rtype: bool") MakeMLOneMorePoint; + static Standard_Boolean MakeMLOneMorePoint (const BRepApprox_TheMultiLineOfApprox & ML,const Standard_Integer I1,const Standard_Integer I2,const Standard_Integer indbad,BRepApprox_TheMultiLineOfApprox & OtherLine); + + /****************** NbP2d ******************/ %feature("compactdefaultargs") NbP2d; - %feature("autodoc", " :param ML: + %feature("autodoc", "* Returns the number of 2d points of a TheMultiLine. + :param ML: :type ML: BRepApprox_TheMultiLineOfApprox & - :rtype: int -") NbP2d; + :rtype: int") NbP2d; static Standard_Integer NbP2d (const BRepApprox_TheMultiLineOfApprox & ML); + + /****************** NbP3d ******************/ %feature("compactdefaultargs") NbP3d; - %feature("autodoc", " :param ML: + %feature("autodoc", "* Returns the number of 3d points of a TheMultiLine. + :param ML: :type ML: BRepApprox_TheMultiLineOfApprox & - :rtype: int -") NbP3d; + :rtype: int") NbP3d; static Standard_Integer NbP3d (const BRepApprox_TheMultiLineOfApprox & ML); - %feature("compactdefaultargs") Value; - %feature("autodoc", " :param ML: - :type ML: BRepApprox_TheMultiLineOfApprox & - :param MPointIndex: - :type MPointIndex: int - :param tabPt: - :type tabPt: TColgp_Array1OfPnt - :rtype: void -") Value; - static void Value (const BRepApprox_TheMultiLineOfApprox & ML,const Standard_Integer MPointIndex,TColgp_Array1OfPnt & tabPt); - %feature("compactdefaultargs") Value; - %feature("autodoc", " :param ML: - :type ML: BRepApprox_TheMultiLineOfApprox & - :param MPointIndex: - :type MPointIndex: int - :param tabPt2d: - :type tabPt2d: TColgp_Array1OfPnt2d - :rtype: void -") Value; - static void Value (const BRepApprox_TheMultiLineOfApprox & ML,const Standard_Integer MPointIndex,TColgp_Array1OfPnt2d & tabPt2d); - %feature("compactdefaultargs") Value; - %feature("autodoc", " :param ML: - :type ML: BRepApprox_TheMultiLineOfApprox & - :param MPointIndex: - :type MPointIndex: int - :param tabPt: - :type tabPt: TColgp_Array1OfPnt - :param tabPt2d: - :type tabPt2d: TColgp_Array1OfPnt2d - :rtype: void -") Value; - static void Value (const BRepApprox_TheMultiLineOfApprox & ML,const Standard_Integer MPointIndex,TColgp_Array1OfPnt & tabPt,TColgp_Array1OfPnt2d & tabPt2d); + + /****************** Tangency ******************/ %feature("compactdefaultargs") Tangency; - %feature("autodoc", " :param ML: + %feature("autodoc", "* returns the 3d points of the multipoint when only 3d points exist. + :param ML: :type ML: BRepApprox_TheMultiLineOfApprox & :param MPointIndex: :type MPointIndex: int :param tabV: :type tabV: TColgp_Array1OfVec - :rtype: bool -") Tangency; + :rtype: bool") Tangency; static Standard_Boolean Tangency (const BRepApprox_TheMultiLineOfApprox & ML,const Standard_Integer MPointIndex,TColgp_Array1OfVec & tabV); + + /****************** Tangency ******************/ %feature("compactdefaultargs") Tangency; - %feature("autodoc", " :param ML: + %feature("autodoc", "* returns the 2d tangency points of the multipoint only when 2d points exist. + :param ML: :type ML: BRepApprox_TheMultiLineOfApprox & :param MPointIndex: :type MPointIndex: int :param tabV2d: :type tabV2d: TColgp_Array1OfVec2d - :rtype: bool -") Tangency; + :rtype: bool") Tangency; static Standard_Boolean Tangency (const BRepApprox_TheMultiLineOfApprox & ML,const Standard_Integer MPointIndex,TColgp_Array1OfVec2d & tabV2d); + + /****************** Tangency ******************/ %feature("compactdefaultargs") Tangency; - %feature("autodoc", " :param ML: + %feature("autodoc", "* returns the 3d and 2d points of the multipoint . + :param ML: :type ML: BRepApprox_TheMultiLineOfApprox & :param MPointIndex: :type MPointIndex: int @@ -2498,69 +3119,58 @@ class BRepApprox_TheMultiLineToolOfApprox { :type tabV: TColgp_Array1OfVec :param tabV2d: :type tabV2d: TColgp_Array1OfVec2d - :rtype: bool -") Tangency; + :rtype: bool") Tangency; static Standard_Boolean Tangency (const BRepApprox_TheMultiLineOfApprox & ML,const Standard_Integer MPointIndex,TColgp_Array1OfVec & tabV,TColgp_Array1OfVec2d & tabV2d); - %feature("compactdefaultargs") Curvature; - %feature("autodoc", " :param ML: + + /****************** Value ******************/ + %feature("compactdefaultargs") Value; + %feature("autodoc", "* returns the 3d points of the multipoint when only 3d points exist. + :param ML: :type ML: BRepApprox_TheMultiLineOfApprox & :param MPointIndex: :type MPointIndex: int - :param tabV: - :type tabV: TColgp_Array1OfVec - :rtype: bool -") Curvature; - static Standard_Boolean Curvature (const BRepApprox_TheMultiLineOfApprox & ML,const Standard_Integer MPointIndex,TColgp_Array1OfVec & tabV); - %feature("compactdefaultargs") Curvature; - %feature("autodoc", " :param ML: + :param tabPt: + :type tabPt: TColgp_Array1OfPnt + :rtype: None") Value; + static void Value (const BRepApprox_TheMultiLineOfApprox & ML,const Standard_Integer MPointIndex,TColgp_Array1OfPnt & tabPt); + + /****************** Value ******************/ + %feature("compactdefaultargs") Value; + %feature("autodoc", "* returns the 2d points of the multipoint when only 2d points exist. + :param ML: :type ML: BRepApprox_TheMultiLineOfApprox & :param MPointIndex: :type MPointIndex: int - :param tabV2d: - :type tabV2d: TColgp_Array1OfVec2d - :rtype: bool -") Curvature; - static Standard_Boolean Curvature (const BRepApprox_TheMultiLineOfApprox & ML,const Standard_Integer MPointIndex,TColgp_Array1OfVec2d & tabV2d); - %feature("compactdefaultargs") Curvature; - %feature("autodoc", " :param ML: + :param tabPt2d: + :type tabPt2d: TColgp_Array1OfPnt2d + :rtype: None") Value; + static void Value (const BRepApprox_TheMultiLineOfApprox & ML,const Standard_Integer MPointIndex,TColgp_Array1OfPnt2d & tabPt2d); + + /****************** Value ******************/ + %feature("compactdefaultargs") Value; + %feature("autodoc", "* returns the 3d and 2d points of the multipoint . + :param ML: :type ML: BRepApprox_TheMultiLineOfApprox & :param MPointIndex: :type MPointIndex: int - :param tabV: - :type tabV: TColgp_Array1OfVec - :param tabV2d: - :type tabV2d: TColgp_Array1OfVec2d - :rtype: bool -") Curvature; - static Standard_Boolean Curvature (const BRepApprox_TheMultiLineOfApprox & ML,const Standard_Integer MPointIndex,TColgp_Array1OfVec & tabV,TColgp_Array1OfVec2d & tabV2d); - %feature("compactdefaultargs") MakeMLBetween; - %feature("autodoc", " :param ML: - :type ML: BRepApprox_TheMultiLineOfApprox & - :param I1: - :type I1: int - :param I2: - :type I2: int - :param NbPMin: - :type NbPMin: int - :rtype: BRepApprox_TheMultiLineOfApprox -") MakeMLBetween; - static BRepApprox_TheMultiLineOfApprox MakeMLBetween (const BRepApprox_TheMultiLineOfApprox & ML,const Standard_Integer I1,const Standard_Integer I2,const Standard_Integer NbPMin); + :param tabPt: + :type tabPt: TColgp_Array1OfPnt + :param tabPt2d: + :type tabPt2d: TColgp_Array1OfPnt2d + :rtype: None") Value; + static void Value (const BRepApprox_TheMultiLineOfApprox & ML,const Standard_Integer MPointIndex,TColgp_Array1OfPnt & tabPt,TColgp_Array1OfPnt2d & tabPt2d); + + /****************** WhatStatus ******************/ %feature("compactdefaultargs") WhatStatus; - %feature("autodoc", " :param ML: + %feature("autodoc", ":param ML: :type ML: BRepApprox_TheMultiLineOfApprox & :param I1: :type I1: int :param I2: :type I2: int - :rtype: Approx_Status -") WhatStatus; + :rtype: Approx_Status") WhatStatus; static Approx_Status WhatStatus (const BRepApprox_TheMultiLineOfApprox & ML,const Standard_Integer I1,const Standard_Integer I2); - %feature("compactdefaultargs") Dump; - %feature("autodoc", " :param ML: - :type ML: BRepApprox_TheMultiLineOfApprox & - :rtype: void -") Dump; - static void Dump (const BRepApprox_TheMultiLineOfApprox & ML); + }; @@ -2569,19 +3179,26 @@ class BRepApprox_TheMultiLineToolOfApprox { __repr__ = _dumps_object } }; + +/*********************************************** +* class BRepApprox_ThePrmPrmSvSurfacesOfApprox * +***********************************************/ %nodefaultctor BRepApprox_ThePrmPrmSvSurfacesOfApprox; class BRepApprox_ThePrmPrmSvSurfacesOfApprox : public ApproxInt_SvSurfaces { public: + /****************** BRepApprox_ThePrmPrmSvSurfacesOfApprox ******************/ %feature("compactdefaultargs") BRepApprox_ThePrmPrmSvSurfacesOfApprox; - %feature("autodoc", " :param Surf1: + %feature("autodoc", ":param Surf1: :type Surf1: BRepAdaptor_Surface & :param Surf2: :type Surf2: BRepAdaptor_Surface & - :rtype: None -") BRepApprox_ThePrmPrmSvSurfacesOfApprox; + :rtype: None") BRepApprox_ThePrmPrmSvSurfacesOfApprox; BRepApprox_ThePrmPrmSvSurfacesOfApprox (const BRepAdaptor_Surface & Surf1,const BRepAdaptor_Surface & Surf2); + + /****************** Compute ******************/ %feature("compactdefaultargs") Compute; - %feature("autodoc", " :param u1: + %feature("autodoc", "* returns True if Tg,Tguv1 Tguv2 can be computed. + :param u1: :type u1: float & :param v1: :type v1: float & @@ -2597,11 +3214,12 @@ class BRepApprox_ThePrmPrmSvSurfacesOfApprox : public ApproxInt_SvSurfaces { :type Tguv1: gp_Vec2d :param Tguv2: :type Tguv2: gp_Vec2d - :rtype: bool -") Compute; + :rtype: bool") Compute; 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); + + /****************** Pnt ******************/ %feature("compactdefaultargs") Pnt; - %feature("autodoc", " :param u1: + %feature("autodoc", ":param u1: :type u1: float :param v1: :type v1: float @@ -2611,11 +3229,27 @@ class BRepApprox_ThePrmPrmSvSurfacesOfApprox : public ApproxInt_SvSurfaces { :type v2: float :param P: :type P: gp_Pnt - :rtype: None -") Pnt; + :rtype: None") Pnt; void Pnt (const Standard_Real u1,const Standard_Real v1,const Standard_Real u2,const Standard_Real v2,gp_Pnt & P); + + /****************** SeekPoint ******************/ + %feature("compactdefaultargs") SeekPoint; + %feature("autodoc", ":param u1: + :type u1: float + :param v1: + :type v1: float + :param u2: + :type u2: float + :param v2: + :type v2: float + :param Point: + :type Point: IntSurf_PntOn2S & + :rtype: bool") SeekPoint; + Standard_Boolean SeekPoint (const Standard_Real u1,const Standard_Real v1,const Standard_Real u2,const Standard_Real v2,IntSurf_PntOn2S & Point); + + /****************** Tangency ******************/ %feature("compactdefaultargs") Tangency; - %feature("autodoc", " :param u1: + %feature("autodoc", ":param u1: :type u1: float :param v1: :type v1: float @@ -2625,11 +3259,12 @@ class BRepApprox_ThePrmPrmSvSurfacesOfApprox : public ApproxInt_SvSurfaces { :type v2: float :param Tg: :type Tg: gp_Vec - :rtype: bool -") Tangency; + :rtype: bool") Tangency; Standard_Boolean Tangency (const Standard_Real u1,const Standard_Real v1,const Standard_Real u2,const Standard_Real v2,gp_Vec & Tg); + + /****************** TangencyOnSurf1 ******************/ %feature("compactdefaultargs") TangencyOnSurf1; - %feature("autodoc", " :param u1: + %feature("autodoc", ":param u1: :type u1: float :param v1: :type v1: float @@ -2639,11 +3274,12 @@ class BRepApprox_ThePrmPrmSvSurfacesOfApprox : public ApproxInt_SvSurfaces { :type v2: float :param Tg: :type Tg: gp_Vec2d - :rtype: bool -") TangencyOnSurf1; + :rtype: bool") TangencyOnSurf1; Standard_Boolean TangencyOnSurf1 (const Standard_Real u1,const Standard_Real v1,const Standard_Real u2,const Standard_Real v2,gp_Vec2d & Tg); + + /****************** TangencyOnSurf2 ******************/ %feature("compactdefaultargs") TangencyOnSurf2; - %feature("autodoc", " :param u1: + %feature("autodoc", ":param u1: :type u1: float :param v1: :type v1: float @@ -2653,9 +3289,9 @@ class BRepApprox_ThePrmPrmSvSurfacesOfApprox : public ApproxInt_SvSurfaces { :type v2: float :param Tg: :type Tg: gp_Vec2d - :rtype: bool -") TangencyOnSurf2; + :rtype: bool") TangencyOnSurf2; Standard_Boolean TangencyOnSurf2 (const Standard_Real u1,const Standard_Real v1,const Standard_Real u2,const Standard_Real v2,gp_Vec2d & Tg); + }; @@ -2664,111 +3300,135 @@ class BRepApprox_ThePrmPrmSvSurfacesOfApprox : public ApproxInt_SvSurfaces { __repr__ = _dumps_object } }; + +/************************************************************** +* class BRepApprox_TheZerImpFuncOfTheImpPrmSvSurfacesOfApprox * +**************************************************************/ %nodefaultctor BRepApprox_TheZerImpFuncOfTheImpPrmSvSurfacesOfApprox; class BRepApprox_TheZerImpFuncOfTheImpPrmSvSurfacesOfApprox : public math_FunctionSetWithDerivatives { public: + /****************** BRepApprox_TheZerImpFuncOfTheImpPrmSvSurfacesOfApprox ******************/ %feature("compactdefaultargs") BRepApprox_TheZerImpFuncOfTheImpPrmSvSurfacesOfApprox; - %feature("autodoc", " :rtype: None -") BRepApprox_TheZerImpFuncOfTheImpPrmSvSurfacesOfApprox; + %feature("autodoc", ":rtype: None") BRepApprox_TheZerImpFuncOfTheImpPrmSvSurfacesOfApprox; BRepApprox_TheZerImpFuncOfTheImpPrmSvSurfacesOfApprox (); + + /****************** BRepApprox_TheZerImpFuncOfTheImpPrmSvSurfacesOfApprox ******************/ %feature("compactdefaultargs") BRepApprox_TheZerImpFuncOfTheImpPrmSvSurfacesOfApprox; - %feature("autodoc", " :param PS: + %feature("autodoc", ":param PS: :type PS: BRepAdaptor_Surface & :param IS: :type IS: IntSurf_Quadric & - :rtype: None -") BRepApprox_TheZerImpFuncOfTheImpPrmSvSurfacesOfApprox; + :rtype: None") BRepApprox_TheZerImpFuncOfTheImpPrmSvSurfacesOfApprox; BRepApprox_TheZerImpFuncOfTheImpPrmSvSurfacesOfApprox (const BRepAdaptor_Surface & PS,const IntSurf_Quadric & IS); + + /****************** BRepApprox_TheZerImpFuncOfTheImpPrmSvSurfacesOfApprox ******************/ %feature("compactdefaultargs") BRepApprox_TheZerImpFuncOfTheImpPrmSvSurfacesOfApprox; - %feature("autodoc", " :param IS: + %feature("autodoc", ":param IS: :type IS: IntSurf_Quadric & - :rtype: None -") BRepApprox_TheZerImpFuncOfTheImpPrmSvSurfacesOfApprox; + :rtype: None") BRepApprox_TheZerImpFuncOfTheImpPrmSvSurfacesOfApprox; BRepApprox_TheZerImpFuncOfTheImpPrmSvSurfacesOfApprox (const IntSurf_Quadric & IS); + + /****************** Derivatives ******************/ + %feature("compactdefaultargs") Derivatives; + %feature("autodoc", ":param X: + :type X: math_Vector & + :param D: + :type D: math_Matrix & + :rtype: bool") Derivatives; + Standard_Boolean Derivatives (const math_Vector & X,math_Matrix & D); + + /****************** Direction2d ******************/ + %feature("compactdefaultargs") Direction2d; + %feature("autodoc", ":rtype: gp_Dir2d") Direction2d; + const gp_Dir2d Direction2d (); + + /****************** Direction3d ******************/ + %feature("compactdefaultargs") Direction3d; + %feature("autodoc", ":rtype: gp_Vec") Direction3d; + const gp_Vec Direction3d (); + + /****************** ISurface ******************/ + %feature("compactdefaultargs") ISurface; + %feature("autodoc", ":rtype: IntSurf_Quadric") ISurface; + const IntSurf_Quadric & ISurface (); + + /****************** IsTangent ******************/ + %feature("compactdefaultargs") IsTangent; + %feature("autodoc", ":rtype: bool") IsTangent; + Standard_Boolean IsTangent (); + + /****************** NbEquations ******************/ + %feature("compactdefaultargs") NbEquations; + %feature("autodoc", ":rtype: int") NbEquations; + Standard_Integer NbEquations (); + + /****************** NbVariables ******************/ + %feature("compactdefaultargs") NbVariables; + %feature("autodoc", ":rtype: int") NbVariables; + Standard_Integer NbVariables (); + + /****************** PSurface ******************/ + %feature("compactdefaultargs") PSurface; + %feature("autodoc", ":rtype: BRepAdaptor_Surface") PSurface; + const BRepAdaptor_Surface & PSurface (); + + /****************** Point ******************/ + %feature("compactdefaultargs") Point; + %feature("autodoc", ":rtype: gp_Pnt") Point; + const gp_Pnt Point (); + + /****************** Root ******************/ + %feature("compactdefaultargs") Root; + %feature("autodoc", ":rtype: float") Root; + Standard_Real Root (); + + /****************** Set ******************/ %feature("compactdefaultargs") Set; - %feature("autodoc", " :param PS: + %feature("autodoc", ":param PS: :type PS: BRepAdaptor_Surface & - :rtype: None -") Set; + :rtype: None") Set; void Set (const BRepAdaptor_Surface & PS); - %feature("compactdefaultargs") SetImplicitSurface; - %feature("autodoc", " :param IS: - :type IS: IntSurf_Quadric & - :rtype: None -") SetImplicitSurface; - void SetImplicitSurface (const IntSurf_Quadric & IS); + + /****************** Set ******************/ %feature("compactdefaultargs") Set; - %feature("autodoc", " :param Tolerance: + %feature("autodoc", ":param Tolerance: :type Tolerance: float - :rtype: None -") Set; + :rtype: None") Set; void Set (const Standard_Real Tolerance); - %feature("compactdefaultargs") NbVariables; - %feature("autodoc", " :rtype: int -") NbVariables; - Standard_Integer NbVariables (); - %feature("compactdefaultargs") NbEquations; - %feature("autodoc", " :rtype: int -") NbEquations; - Standard_Integer NbEquations (); + + /****************** SetImplicitSurface ******************/ + %feature("compactdefaultargs") SetImplicitSurface; + %feature("autodoc", ":param IS: + :type IS: IntSurf_Quadric & + :rtype: None") SetImplicitSurface; + void SetImplicitSurface (const IntSurf_Quadric & IS); + + /****************** Tolerance ******************/ + %feature("compactdefaultargs") Tolerance; + %feature("autodoc", "* Returns the value Tol so that if Abs(Func.Root()). - -*/ -%{ -#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 -#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 -#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 -#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 -#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 -#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 -#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 -#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 -#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 -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -%}; -%import Standard.i -%import Approx.i -%import AppParCurves.i -%import MMgt.i -%import Geom.i -%import Geom2d.i -%import IntSurf.i -%import math.i -%import TColStd.i -%import BRepAdaptor.i -%import IntImp.i -%import gp.i -%import ApproxInt.i -%import TColgp.i diff --git a/src/SWIG_files/wrapper/BRepBlend.i b/src/SWIG_files/wrapper/BRepBlend.i index b537efb70..f275e310e 100644 --- a/src/SWIG_files/wrapper/BRepBlend.i +++ b/src/SWIG_files/wrapper/BRepBlend.i @@ -1,6 +1,5 @@ /* -Copyright 2008-2017 Thomas Paviot (tpaviot@gmail.com) - +Copyright 2008-2019 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -15,14 +14,13 @@ 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 BREPBLENDDOCSTRING -"" +"BRepBlend module, see official documentation at +https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brepblend.html" %enddef %module (package="OCC.Core", docstring=BREPBLENDDOCSTRING) BRepBlend -#pragma SWIG nowarn=504,325,503 %{ #ifdef WNT @@ -37,40 +35,117 @@ along with pythonOCC. If not, see . %include ../common/OccHandle.i -%include BRepBlend_headers.i - -/* typedefs */ -typedef BlendFunc_Chamfer BRepBlend_Chamfer; -typedef BlendFunc_CSConstRad BRepBlend_CSConstRad; -typedef BlendFunc_ChAsym BRepBlend_ChAsym; -typedef BlendFunc_ConstRad BRepBlend_ConstRad; -typedef BlendFunc_ChAsymInv BRepBlend_ChAsymInv; -typedef BlendFunc_Ruled BRepBlend_Ruled; -typedef BlendFunc_ChamfInv BRepBlend_ChamfInv; -typedef BlendFunc_RuledInv BRepBlend_RuledInv; -typedef BlendFunc_EvolRad BRepBlend_EvolRad; -typedef BlendFunc_CSCircular BRepBlend_CSCircular; -typedef BlendFunc_ConstRadInv BRepBlend_ConstRadInv; -typedef BlendFunc_EvolRadInv BRepBlend_EvolRadInv; -/* end typedefs declaration */ - +%{ +#include + +//Dependencies +#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 +%}; +%import Standard.i +%import NCollection.i +%import BlendFunc.i +%import Approx.i +%import gp.i +%import TColgp.i +%import TColStd.i +%import GeomAbs.i +%import Blend.i +%import math.i +%import AppBlend.i +%import Adaptor3d.i +%import Adaptor2d.i +%import IntSurf.i +%import Law.i +%import ChFiDS.i +%import TopAbs.i /* public enums */ /* end public enums declaration */ +/* handles */ %wrap_handle(BRepBlend_AppFuncRoot) %wrap_handle(BRepBlend_Line) -%wrap_handle(BRepBlend_SequenceNodeOfSequenceOfLine) -%wrap_handle(BRepBlend_SequenceNodeOfSequenceOfPointOnRst) %wrap_handle(BRepBlend_AppFunc) %wrap_handle(BRepBlend_AppFuncRst) %wrap_handle(BRepBlend_AppFuncRstRst) +/* end handles declaration */ + +/* templates */ +%template(BRepBlend_SequenceOfLine) NCollection_Sequence >; +%template(BRepBlend_SequenceOfPointOnRst) NCollection_Sequence ; +/* end templates declaration */ + +/* typedefs */ +typedef BlendFunc_ConstThroatWithPenetrationInv BRepBlend_ConstThroatWithPenetrationInv; +typedef BlendFunc_ConstRad BRepBlend_ConstRad; +typedef BlendFunc_ConstThroatWithPenetration BRepBlend_ConstThroatWithPenetration; +typedef BlendFunc_EvolRad BRepBlend_EvolRad; +typedef BlendFunc_Chamfer BRepBlend_Chamfer; +typedef BlendFunc_Ruled BRepBlend_Ruled; +typedef BlendFunc_ConstRadInv BRepBlend_ConstRadInv; +typedef BlendFunc_ChamfInv BRepBlend_ChamfInv; +typedef BlendFunc_RuledInv BRepBlend_RuledInv; +typedef BlendFunc_ChAsymInv BRepBlend_ChAsymInv; +typedef BlendFunc_EvolRadInv BRepBlend_EvolRadInv; +typedef NCollection_Sequence > BRepBlend_SequenceOfLine; +typedef BlendFunc_ChAsym BRepBlend_ChAsym; +typedef BlendFunc_CSCircular BRepBlend_CSCircular; +typedef BlendFunc_CSConstRad BRepBlend_CSConstRad; +typedef BlendFunc_ConstThroatInv BRepBlend_ConstThroatInv; +typedef NCollection_Sequence BRepBlend_SequenceOfPointOnRst; +typedef BlendFunc_ConstThroat BRepBlend_ConstThroat; +/* end typedefs declaration */ +/****************************** +* class BRepBlend_AppFuncRoot * +******************************/ %nodefaultctor BRepBlend_AppFuncRoot; class BRepBlend_AppFuncRoot : public Approx_SweepFunction { public: - %feature("compactdefaultargs") D0; - %feature("autodoc", " * compute the section for v = param + /****************** BarycentreOfSurf ******************/ + %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. + :rtype: gp_Pnt") BarycentreOfSurf; + virtual gp_Pnt BarycentreOfSurf (); + /****************** D0 ******************/ + %feature("compactdefaultargs") D0; + %feature("autodoc", "* compute the section for v = param :param Param: :type Param: float :param First: @@ -83,12 +158,12 @@ class BRepBlend_AppFuncRoot : public Approx_SweepFunction { :type Poles2d: TColgp_Array1OfPnt2d :param Weigths: :type Weigths: TColStd_Array1OfReal & - :rtype: bool -") D0; + :rtype: bool") D0; virtual Standard_Boolean D0 (const Standard_Real Param,const Standard_Real First,const Standard_Real Last,TColgp_Array1OfPnt & Poles,TColgp_Array1OfPnt2d & Poles2d,TColStd_Array1OfReal & Weigths); - %feature("compactdefaultargs") D1; - %feature("autodoc", " * compute the first derivative in v direction of the section for v = param + /****************** D1 ******************/ + %feature("compactdefaultargs") D1; + %feature("autodoc", "* compute the first derivative in v direction of the section for v = param :param Param: :type Param: float :param First: @@ -107,12 +182,12 @@ class BRepBlend_AppFuncRoot : public Approx_SweepFunction { :type Weigths: TColStd_Array1OfReal & :param DWeigths: :type DWeigths: TColStd_Array1OfReal & - :rtype: bool -") D1; + :rtype: bool") D1; virtual Standard_Boolean D1 (const Standard_Real Param,const Standard_Real First,const Standard_Real Last,TColgp_Array1OfPnt & Poles,TColgp_Array1OfVec & DPoles,TColgp_Array1OfPnt2d & Poles2d,TColgp_Array1OfVec2d & DPoles2d,TColStd_Array1OfReal & Weigths,TColStd_Array1OfReal & DWeigths); - %feature("compactdefaultargs") D2; - %feature("autodoc", " * compute the second derivative in v direction of the section for v = param + /****************** D2 ******************/ + %feature("compactdefaultargs") D2; + %feature("autodoc", "* compute the second derivative in v direction of the section for v = param :param Param: :type Param: float :param First: @@ -137,80 +212,99 @@ class BRepBlend_AppFuncRoot : public Approx_SweepFunction { :type DWeigths: TColStd_Array1OfReal & :param D2Weigths: :type D2Weigths: TColStd_Array1OfReal & - :rtype: bool -") D2; + :rtype: bool") D2; virtual Standard_Boolean D2 (const Standard_Real Param,const Standard_Real First,const Standard_Real Last,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); - %feature("compactdefaultargs") Nb2dCurves; - %feature("autodoc", " * get the number of 2d curves to approximate. - :rtype: int -") Nb2dCurves; - virtual Standard_Integer Nb2dCurves (); - %feature("compactdefaultargs") SectionShape; - %feature("autodoc", " * get the format of an section + /****************** GetMinimalWeight ******************/ + %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. + :param Weigths: + :type Weigths: TColStd_Array1OfReal & + :rtype: void") GetMinimalWeight; + virtual void GetMinimalWeight (TColStd_Array1OfReal & Weigths); - :param NbPoles: - :type NbPoles: int & - :param NbKnots: - :type NbKnots: int & - :param Degree: - :type Degree: int & - :rtype: void -") SectionShape; - virtual void SectionShape (Standard_Integer &OutValue,Standard_Integer &OutValue,Standard_Integer &OutValue); - %feature("compactdefaultargs") Knots; - %feature("autodoc", " * get the Knots of the section + /****************** GetTolerance ******************/ + %feature("compactdefaultargs") GetTolerance; + %feature("autodoc", "* Returns the tolerance to reach in approximation to respecte BoundTol error at the Boundary AngleTol tangent error at the Boundary (in radian) SurfTol error inside the surface. + :param BoundTol: + :type BoundTol: float + :param SurfTol: + :type SurfTol: float + :param AngleTol: + :type AngleTol: float + :param Tol3d: + :type Tol3d: TColStd_Array1OfReal & + :rtype: void") GetTolerance; + virtual void GetTolerance (const Standard_Real BoundTol,const Standard_Real SurfTol,const Standard_Real AngleTol,TColStd_Array1OfReal & Tol3d); + + /****************** Intervals ******************/ + %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() + :param T: + :type T: TColStd_Array1OfReal & + :param S: + :type S: GeomAbs_Shape + :rtype: void") Intervals; + virtual void Intervals (TColStd_Array1OfReal & T,const GeomAbs_Shape S); + + /****************** IsRational ******************/ + %feature("compactdefaultargs") IsRational; + %feature("autodoc", "* Returns if the section is rationnal or not + :rtype: bool") IsRational; + virtual Standard_Boolean IsRational (); + /****************** Knots ******************/ + %feature("compactdefaultargs") Knots; + %feature("autodoc", "* get the Knots of the section :param TKnots: :type TKnots: TColStd_Array1OfReal & - :rtype: void -") Knots; + :rtype: void") Knots; virtual void Knots (TColStd_Array1OfReal & TKnots); - %feature("compactdefaultargs") Mults; - %feature("autodoc", " * get the Multplicities of the section + /****************** MaximalSection ******************/ + %feature("compactdefaultargs") MaximalSection; + %feature("autodoc", "* Returns the length of the maximum section. This information is usefull to perform well conditionned rational approximation. + :rtype: float") MaximalSection; + virtual Standard_Real MaximalSection (); + + /****************** Mults ******************/ + %feature("compactdefaultargs") Mults; + %feature("autodoc", "* get the Multplicities of the section :param TMults: :type TMults: TColStd_Array1OfInteger & - :rtype: void -") Mults; + :rtype: void") Mults; virtual void Mults (TColStd_Array1OfInteger & TMults); - %feature("compactdefaultargs") IsRational; - %feature("autodoc", " * Returns if the section is rationnal or not - :rtype: bool -") IsRational; - virtual Standard_Boolean IsRational (); - %feature("compactdefaultargs") NbIntervals; - %feature("autodoc", " * Returns the number of intervals for continuity . May be one if Continuity(me) >= + /****************** Nb2dCurves ******************/ + %feature("compactdefaultargs") Nb2dCurves; + %feature("autodoc", "* get the number of 2d curves to approximate. + :rtype: int") Nb2dCurves; + virtual Standard_Integer Nb2dCurves (); + /****************** NbIntervals ******************/ + %feature("compactdefaultargs") NbIntervals; + %feature("autodoc", "* Returns the number of intervals for continuity . May be one if Continuity(me) >= :param S: :type S: GeomAbs_Shape - :rtype: int -") NbIntervals; + :rtype: int") NbIntervals; virtual Standard_Integer NbIntervals (const GeomAbs_Shape S); - %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() - :param T: - :type T: TColStd_Array1OfReal & - :param S: - :type S: GeomAbs_Shape - :rtype: void -") Intervals; - virtual void Intervals (TColStd_Array1OfReal & T,const GeomAbs_Shape S); - %feature("compactdefaultargs") SetInterval; - %feature("autodoc", " * Sets the bounds of the parametric interval on the fonction This determines the derivatives in these values if the function is not Cn. + /****************** Point ******************/ + %feature("compactdefaultargs") Point; + %feature("autodoc", ":param Func: + :type Func: Blend_AppFunction & + :param Param: + :type Param: float + :param Sol: + :type Sol: math_Vector & + :param Pnt: + :type Pnt: Blend_Point & + :rtype: void") Point; + virtual void Point (const Blend_AppFunction & Func,const Standard_Real Param,const math_Vector & Sol,Blend_Point & Pnt); - :param First: - :type First: float - :param Last: - :type Last: float - :rtype: void -") SetInterval; - virtual void SetInterval (const Standard_Real First,const Standard_Real Last); + /****************** Resolution ******************/ %feature("compactdefaultargs") Resolution; - %feature("autodoc", " * Returns the resolutions in the sub-space 2d -- This information is usfull to find an good tolerance in 2d approximation - + %feature("autodoc", "* Returns the resolutions in the sub-space 2d -- This information is usfull to find an good tolerance in 2d approximation :param Index: :type Index: int :param Tol: @@ -219,73 +313,50 @@ class BRepBlend_AppFuncRoot : public Approx_SweepFunction { :type TolU: float & :param TolV: :type TolV: float & - :rtype: void -") Resolution; + :rtype: void") Resolution; virtual void Resolution (const Standard_Integer Index,const Standard_Real Tol,Standard_Real &OutValue,Standard_Real &OutValue); - %feature("compactdefaultargs") GetTolerance; - %feature("autodoc", " * Returns the tolerance to reach in approximation to respecte BoundTol error at the Boundary AngleTol tangent error at the Boundary (in radian) SurfTol error inside the surface. - :param BoundTol: - :type BoundTol: float - :param SurfTol: - :type SurfTol: float - :param AngleTol: - :type AngleTol: float - :param Tol3d: - :type Tol3d: TColStd_Array1OfReal & - :rtype: void -") GetTolerance; - virtual void GetTolerance (const Standard_Real BoundTol,const Standard_Real SurfTol,const Standard_Real AngleTol,TColStd_Array1OfReal & Tol3d); - %feature("compactdefaultargs") SetTolerance; - %feature("autodoc", " * Is usfull, if (me) have to be run numerical algorithme to perform D0, D1 or D2 + /****************** SectionShape ******************/ + %feature("compactdefaultargs") SectionShape; + %feature("autodoc", "* get the format of an section + :param NbPoles: + :type NbPoles: int & + :param NbKnots: + :type NbKnots: int & + :param Degree: + :type Degree: int & + :rtype: void") SectionShape; + virtual void SectionShape (Standard_Integer &OutValue,Standard_Integer &OutValue,Standard_Integer &OutValue); + + /****************** SetInterval ******************/ + %feature("compactdefaultargs") SetInterval; + %feature("autodoc", "* Sets the bounds of the parametric interval on the fonction This determines the derivatives in these values if the function is not Cn. + :param First: + :type First: float + :param Last: + :type Last: float + :rtype: void") SetInterval; + virtual void SetInterval (const Standard_Real First,const Standard_Real Last); + /****************** SetTolerance ******************/ + %feature("compactdefaultargs") SetTolerance; + %feature("autodoc", "* Is usfull, if (me) have to be run numerical algorithme to perform D0, D1 or D2 :param Tol3d: :type Tol3d: float :param Tol2d: :type Tol2d: float - :rtype: void -") SetTolerance; + :rtype: void") SetTolerance; virtual void SetTolerance (const Standard_Real Tol3d,const Standard_Real Tol2d); - %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. - - :rtype: gp_Pnt -") BarycentreOfSurf; - virtual gp_Pnt BarycentreOfSurf (); - %feature("compactdefaultargs") MaximalSection; - %feature("autodoc", " * Returns the length of the maximum section. This information is usefull to perform well conditionned rational approximation. - - :rtype: float -") MaximalSection; - virtual Standard_Real MaximalSection (); - %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. - :param Weigths: - :type Weigths: TColStd_Array1OfReal & - :rtype: void -") GetMinimalWeight; - virtual void GetMinimalWeight (TColStd_Array1OfReal & Weigths); - %feature("compactdefaultargs") Point; - %feature("autodoc", " :param Func: - :type Func: Blend_AppFunction & - :param Param: - :type Param: float - :param Sol: - :type Sol: math_Vector & - :param Pnt: - :type Pnt: Blend_Point & - :rtype: void -") Point; - virtual void Point (const Blend_AppFunction & Func,const Standard_Real Param,const math_Vector & Sol,Blend_Point & Pnt); + /****************** Vec ******************/ %feature("compactdefaultargs") Vec; - %feature("autodoc", " :param Sol: + %feature("autodoc", ":param Sol: :type Sol: math_Vector & :param Pnt: :type Pnt: Blend_Point & - :rtype: void -") Vec; + :rtype: void") Vec; virtual void Vec (math_Vector & Sol,const Blend_Point & Pnt); + }; @@ -296,15 +367,21 @@ class BRepBlend_AppFuncRoot : public Approx_SweepFunction { __repr__ = _dumps_object } }; + +/************************** +* class BRepBlend_AppSurf * +**************************/ %nodefaultctor BRepBlend_AppSurf; class BRepBlend_AppSurf : public AppBlend_Approx { public: + /****************** BRepBlend_AppSurf ******************/ %feature("compactdefaultargs") BRepBlend_AppSurf; - %feature("autodoc", " :rtype: None -") BRepBlend_AppSurf; + %feature("autodoc", ":rtype: None") BRepBlend_AppSurf; BRepBlend_AppSurf (); + + /****************** BRepBlend_AppSurf ******************/ %feature("compactdefaultargs") BRepBlend_AppSurf; - %feature("autodoc", " :param Degmin: + %feature("autodoc", ":param Degmin: :type Degmin: int :param Degmax: :type Degmax: int @@ -316,11 +393,76 @@ class BRepBlend_AppSurf : public AppBlend_Approx { :type NbIt: int :param KnownParameters: default value is Standard_False :type KnownParameters: bool - :rtype: None -") BRepBlend_AppSurf; + :rtype: None") BRepBlend_AppSurf; BRepBlend_AppSurf (const Standard_Integer Degmin,const Standard_Integer Degmax,const Standard_Real Tol3d,const Standard_Real Tol2d,const Standard_Integer NbIt,const Standard_Boolean KnownParameters = Standard_False); + + /****************** Continuity ******************/ + %feature("compactdefaultargs") Continuity; + %feature("autodoc", "* returns the Continuity used in the approximation + :rtype: GeomAbs_Shape") Continuity; + GeomAbs_Shape Continuity (); + + /****************** CriteriumWeight ******************/ + %feature("compactdefaultargs") CriteriumWeight; + %feature("autodoc", "* returns the Weights (as percent) associed to the criterium used in the optimization. + :param W1: + :type W1: float & + :param W2: + :type W2: float & + :param W3: + :type W3: float & + :rtype: None") CriteriumWeight; + void CriteriumWeight (Standard_Real &OutValue,Standard_Real &OutValue,Standard_Real &OutValue); + + /****************** Curve2d ******************/ + %feature("compactdefaultargs") Curve2d; + %feature("autodoc", ":param Index: + :type Index: int + :param TPoles: + :type TPoles: TColgp_Array1OfPnt2d + :param TKnots: + :type TKnots: TColStd_Array1OfReal & + :param TMults: + :type TMults: TColStd_Array1OfInteger & + :rtype: None") Curve2d; + void Curve2d (const Standard_Integer Index,TColgp_Array1OfPnt2d & TPoles,TColStd_Array1OfReal & TKnots,TColStd_Array1OfInteger & TMults); + + /****************** Curve2dPoles ******************/ + %feature("compactdefaultargs") Curve2dPoles; + %feature("autodoc", ":param Index: + :type Index: int + :rtype: TColgp_Array1OfPnt2d") Curve2dPoles; + const TColgp_Array1OfPnt2d & Curve2dPoles (const Standard_Integer Index); + + /****************** Curves2dDegree ******************/ + %feature("compactdefaultargs") Curves2dDegree; + %feature("autodoc", ":rtype: int") Curves2dDegree; + Standard_Integer Curves2dDegree (); + + /****************** Curves2dKnots ******************/ + %feature("compactdefaultargs") Curves2dKnots; + %feature("autodoc", ":rtype: TColStd_Array1OfReal") Curves2dKnots; + const TColStd_Array1OfReal & Curves2dKnots (); + + /****************** Curves2dMults ******************/ + %feature("compactdefaultargs") Curves2dMults; + %feature("autodoc", ":rtype: TColStd_Array1OfInteger") Curves2dMults; + const TColStd_Array1OfInteger & Curves2dMults (); + + /****************** Curves2dShape ******************/ + %feature("compactdefaultargs") Curves2dShape; + %feature("autodoc", ":param Degree: + :type Degree: int & + :param NbPoles: + :type NbPoles: int & + :param NbKnots: + :type NbKnots: int & + :rtype: None") Curves2dShape; + void Curves2dShape (Standard_Integer &OutValue,Standard_Integer &OutValue,Standard_Integer &OutValue); + + /****************** Init ******************/ %feature("compactdefaultargs") Init; - %feature("autodoc", " :param Degmin: + %feature("autodoc", ":param Degmin: :type Degmin: int :param Degmax: :type Degmax: int @@ -332,101 +474,136 @@ class BRepBlend_AppSurf : public AppBlend_Approx { :type NbIt: int :param KnownParameters: default value is Standard_False :type KnownParameters: bool - :rtype: None -") Init; + :rtype: None") Init; void Init (const Standard_Integer Degmin,const Standard_Integer Degmax,const Standard_Real Tol3d,const Standard_Real Tol2d,const Standard_Integer NbIt,const Standard_Boolean KnownParameters = Standard_False); - %feature("compactdefaultargs") SetParType; - %feature("autodoc", " :param ParType: - :type ParType: Approx_ParametrizationType - :rtype: None -") SetParType; - void SetParType (const Approx_ParametrizationType ParType); - %feature("compactdefaultargs") SetContinuity; - %feature("autodoc", " :param C: - :type C: GeomAbs_Shape - :rtype: None -") SetContinuity; - void SetContinuity (const GeomAbs_Shape C); - %feature("compactdefaultargs") SetCriteriumWeight; - %feature("autodoc", " :param W1: - :type W1: float - :param W2: - :type W2: float - :param W3: - :type W3: float - :rtype: None -") SetCriteriumWeight; - void SetCriteriumWeight (const Standard_Real W1,const Standard_Real W2,const Standard_Real W3); + + /****************** IsDone ******************/ + %feature("compactdefaultargs") IsDone; + %feature("autodoc", ":rtype: bool") IsDone; + Standard_Boolean IsDone (); + + /****************** NbCurves2d ******************/ + %feature("compactdefaultargs") NbCurves2d; + %feature("autodoc", ":rtype: int") NbCurves2d; + Standard_Integer NbCurves2d (); + + /****************** ParType ******************/ %feature("compactdefaultargs") ParType; - %feature("autodoc", " :rtype: Approx_ParametrizationType -") ParType; + %feature("autodoc", "* returns the type of parametrization used in the approximation + :rtype: Approx_ParametrizationType") ParType; Approx_ParametrizationType ParType (); - %feature("compactdefaultargs") Continuity; - %feature("autodoc", " :rtype: GeomAbs_Shape -") Continuity; - GeomAbs_Shape Continuity (); - %feature("compactdefaultargs") CriteriumWeight; - %feature("autodoc", " :param W1: - :type W1: float & - :param W2: - :type W2: float & - :param W3: - :type W3: float & - :rtype: None -") CriteriumWeight; - void CriteriumWeight (Standard_Real &OutValue,Standard_Real &OutValue,Standard_Real &OutValue); + + /****************** Perform ******************/ %feature("compactdefaultargs") Perform; - %feature("autodoc", " :param Lin: - :type Lin: Handle_BRepBlend_Line & + %feature("autodoc", ":param Lin: + :type Lin: opencascade::handle & :param SecGen: :type SecGen: Blend_AppFunction & :param SpApprox: default value is Standard_False :type SpApprox: bool - :rtype: None -") Perform; - void Perform (const Handle_BRepBlend_Line & Lin,Blend_AppFunction & SecGen,const Standard_Boolean SpApprox = Standard_False); - %feature("compactdefaultargs") PerformSmoothing; - %feature("autodoc", " :param Lin: - :type Lin: Handle_BRepBlend_Line & - :param SecGen: - :type SecGen: Blend_AppFunction & - :rtype: None -") PerformSmoothing; - void PerformSmoothing (const Handle_BRepBlend_Line & Lin,Blend_AppFunction & SecGen); + :rtype: None") Perform; + void Perform (const opencascade::handle & Lin,Blend_AppFunction & SecGen,const Standard_Boolean SpApprox = Standard_False); + + /****************** Perform ******************/ %feature("compactdefaultargs") Perform; - %feature("autodoc", " :param Lin: - :type Lin: Handle_BRepBlend_Line & + %feature("autodoc", ":param Lin: + :type Lin: opencascade::handle & :param SecGen: :type SecGen: Blend_AppFunction & :param NbMaxP: :type NbMaxP: int - :rtype: None -") Perform; - void Perform (const Handle_BRepBlend_Line & Lin,Blend_AppFunction & SecGen,const Standard_Integer NbMaxP); - %feature("compactdefaultargs") IsDone; - %feature("autodoc", " :rtype: bool -") IsDone; - Standard_Boolean IsDone (); - %feature("compactdefaultargs") SurfShape; - %feature("autodoc", " :param UDegree: - :type UDegree: int & - :param VDegree: - :type VDegree: int & - :param NbUPoles: - :type NbUPoles: int & - :param NbVPoles: - :type NbVPoles: int & - :param NbUKnots: - :type NbUKnots: int & - :param NbVKnots: - :type NbVKnots: int & - :rtype: None -") SurfShape; - void SurfShape (Standard_Integer &OutValue,Standard_Integer &OutValue,Standard_Integer &OutValue,Standard_Integer &OutValue,Standard_Integer &OutValue,Standard_Integer &OutValue); - %feature("compactdefaultargs") Surface; - %feature("autodoc", " :param TPoles: - :type TPoles: TColgp_Array2OfPnt - :param TWeights: + :rtype: None") Perform; + void Perform (const opencascade::handle & Lin,Blend_AppFunction & SecGen,const Standard_Integer NbMaxP); + + /****************** PerformSmoothing ******************/ + %feature("compactdefaultargs") PerformSmoothing; + %feature("autodoc", ":param Lin: + :type Lin: opencascade::handle & + :param SecGen: + :type SecGen: Blend_AppFunction & + :rtype: None") PerformSmoothing; + void PerformSmoothing (const opencascade::handle & Lin,Blend_AppFunction & SecGen); + + /****************** SetContinuity ******************/ + %feature("compactdefaultargs") SetContinuity; + %feature("autodoc", "* Define the Continuity used in the approximation + :param C: + :type C: GeomAbs_Shape + :rtype: None") SetContinuity; + void SetContinuity (const GeomAbs_Shape C); + + /****************** SetCriteriumWeight ******************/ + %feature("compactdefaultargs") SetCriteriumWeight; + %feature("autodoc", "* define the Weights associed to the criterium used in the optimization. //! if Wi <= 0 + :param W1: + :type W1: float + :param W2: + :type W2: float + :param W3: + :type W3: float + :rtype: None") SetCriteriumWeight; + void SetCriteriumWeight (const Standard_Real W1,const Standard_Real W2,const Standard_Real W3); + + /****************** SetParType ******************/ + %feature("compactdefaultargs") SetParType; + %feature("autodoc", "* Define the type of parametrization used in the approximation + :param ParType: + :type ParType: Approx_ParametrizationType + :rtype: None") SetParType; + void SetParType (const Approx_ParametrizationType ParType); + + /****************** SurfPoles ******************/ + %feature("compactdefaultargs") SurfPoles; + %feature("autodoc", ":rtype: TColgp_Array2OfPnt") SurfPoles; + const TColgp_Array2OfPnt & SurfPoles (); + + /****************** SurfShape ******************/ + %feature("compactdefaultargs") SurfShape; + %feature("autodoc", ":param UDegree: + :type UDegree: int & + :param VDegree: + :type VDegree: int & + :param NbUPoles: + :type NbUPoles: int & + :param NbVPoles: + :type NbVPoles: int & + :param NbUKnots: + :type NbUKnots: int & + :param NbVKnots: + :type NbVKnots: int & + :rtype: None") SurfShape; + void SurfShape (Standard_Integer &OutValue,Standard_Integer &OutValue,Standard_Integer &OutValue,Standard_Integer &OutValue,Standard_Integer &OutValue,Standard_Integer &OutValue); + + /****************** SurfUKnots ******************/ + %feature("compactdefaultargs") SurfUKnots; + %feature("autodoc", ":rtype: TColStd_Array1OfReal") SurfUKnots; + const TColStd_Array1OfReal & SurfUKnots (); + + /****************** SurfUMults ******************/ + %feature("compactdefaultargs") SurfUMults; + %feature("autodoc", ":rtype: TColStd_Array1OfInteger") SurfUMults; + const TColStd_Array1OfInteger & SurfUMults (); + + /****************** SurfVKnots ******************/ + %feature("compactdefaultargs") SurfVKnots; + %feature("autodoc", ":rtype: TColStd_Array1OfReal") SurfVKnots; + const TColStd_Array1OfReal & SurfVKnots (); + + /****************** SurfVMults ******************/ + %feature("compactdefaultargs") SurfVMults; + %feature("autodoc", ":rtype: TColStd_Array1OfInteger") SurfVMults; + const TColStd_Array1OfInteger & SurfVMults (); + + /****************** SurfWeights ******************/ + %feature("compactdefaultargs") SurfWeights; + %feature("autodoc", ":rtype: TColStd_Array2OfReal") SurfWeights; + const TColStd_Array2OfReal & SurfWeights (); + + /****************** Surface ******************/ + %feature("compactdefaultargs") Surface; + %feature("autodoc", ":param TPoles: + :type TPoles: TColgp_Array2OfPnt + :param TWeights: :type TWeights: TColStd_Array2OfReal & :param TUKnots: :type TUKnots: TColStd_Array1OfReal & @@ -436,99 +613,35 @@ class BRepBlend_AppSurf : public AppBlend_Approx { :type TUMults: TColStd_Array1OfInteger & :param TVMults: :type TVMults: TColStd_Array1OfInteger & - :rtype: None -") Surface; + :rtype: None") Surface; void Surface (TColgp_Array2OfPnt & TPoles,TColStd_Array2OfReal & TWeights,TColStd_Array1OfReal & TUKnots,TColStd_Array1OfReal & TVKnots,TColStd_Array1OfInteger & TUMults,TColStd_Array1OfInteger & TVMults); - %feature("compactdefaultargs") UDegree; - %feature("autodoc", " :rtype: int -") UDegree; - Standard_Integer UDegree (); - %feature("compactdefaultargs") VDegree; - %feature("autodoc", " :rtype: int -") VDegree; - Standard_Integer VDegree (); - %feature("compactdefaultargs") SurfPoles; - %feature("autodoc", " :rtype: TColgp_Array2OfPnt -") SurfPoles; - const TColgp_Array2OfPnt & SurfPoles (); - %feature("compactdefaultargs") SurfWeights; - %feature("autodoc", " :rtype: TColStd_Array2OfReal -") SurfWeights; - const TColStd_Array2OfReal & SurfWeights (); - %feature("compactdefaultargs") SurfUKnots; - %feature("autodoc", " :rtype: TColStd_Array1OfReal -") SurfUKnots; - const TColStd_Array1OfReal & SurfUKnots (); - %feature("compactdefaultargs") SurfVKnots; - %feature("autodoc", " :rtype: TColStd_Array1OfReal -") SurfVKnots; - const TColStd_Array1OfReal & SurfVKnots (); - %feature("compactdefaultargs") SurfUMults; - %feature("autodoc", " :rtype: TColStd_Array1OfInteger -") SurfUMults; - const TColStd_Array1OfInteger & SurfUMults (); - %feature("compactdefaultargs") SurfVMults; - %feature("autodoc", " :rtype: TColStd_Array1OfInteger -") SurfVMults; - const TColStd_Array1OfInteger & SurfVMults (); - %feature("compactdefaultargs") NbCurves2d; - %feature("autodoc", " :rtype: int -") NbCurves2d; - Standard_Integer NbCurves2d (); - %feature("compactdefaultargs") Curves2dShape; - %feature("autodoc", " :param Degree: - :type Degree: int & - :param NbPoles: - :type NbPoles: int & - :param NbKnots: - :type NbKnots: int & - :rtype: None -") Curves2dShape; - void Curves2dShape (Standard_Integer &OutValue,Standard_Integer &OutValue,Standard_Integer &OutValue); - %feature("compactdefaultargs") Curve2d; - %feature("autodoc", " :param Index: - :type Index: int - :param TPoles: - :type TPoles: TColgp_Array1OfPnt2d - :param TKnots: - :type TKnots: TColStd_Array1OfReal & - :param TMults: - :type TMults: TColStd_Array1OfInteger & - :rtype: None -") Curve2d; - void Curve2d (const Standard_Integer Index,TColgp_Array1OfPnt2d & TPoles,TColStd_Array1OfReal & TKnots,TColStd_Array1OfInteger & TMults); - %feature("compactdefaultargs") Curves2dDegree; - %feature("autodoc", " :rtype: int -") Curves2dDegree; - Standard_Integer Curves2dDegree (); - %feature("compactdefaultargs") Curve2dPoles; - %feature("autodoc", " :param Index: + + /****************** TolCurveOnSurf ******************/ + %feature("compactdefaultargs") TolCurveOnSurf; + %feature("autodoc", ":param Index: :type Index: int - :rtype: TColgp_Array1OfPnt2d -") Curve2dPoles; - const TColgp_Array1OfPnt2d & Curve2dPoles (const Standard_Integer Index); - %feature("compactdefaultargs") Curves2dKnots; - %feature("autodoc", " :rtype: TColStd_Array1OfReal -") Curves2dKnots; - const TColStd_Array1OfReal & Curves2dKnots (); - %feature("compactdefaultargs") Curves2dMults; - %feature("autodoc", " :rtype: TColStd_Array1OfInteger -") Curves2dMults; - const TColStd_Array1OfInteger & Curves2dMults (); + :rtype: float") TolCurveOnSurf; + Standard_Real TolCurveOnSurf (const Standard_Integer Index); + + /****************** TolReached ******************/ %feature("compactdefaultargs") TolReached; - %feature("autodoc", " :param Tol3d: + %feature("autodoc", ":param Tol3d: :type Tol3d: float & :param Tol2d: :type Tol2d: float & - :rtype: None -") TolReached; + :rtype: None") TolReached; void TolReached (Standard_Real &OutValue,Standard_Real &OutValue); - %feature("compactdefaultargs") TolCurveOnSurf; - %feature("autodoc", " :param Index: - :type Index: int - :rtype: float -") TolCurveOnSurf; - Standard_Real TolCurveOnSurf (const Standard_Integer Index); + + /****************** UDegree ******************/ + %feature("compactdefaultargs") UDegree; + %feature("autodoc", ":rtype: int") UDegree; + Standard_Integer UDegree (); + + /****************** VDegree ******************/ + %feature("compactdefaultargs") VDegree; + %feature("autodoc", ":rtype: int") VDegree; + Standard_Integer VDegree (); + }; @@ -537,14 +650,18 @@ class BRepBlend_AppSurf : public AppBlend_Approx { __repr__ = _dumps_object } }; + +/***************************** +* class BRepBlend_AppSurface * +*****************************/ %nodefaultctor BRepBlend_AppSurface; class BRepBlend_AppSurface : public AppBlend_Approx { public: + /****************** BRepBlend_AppSurface ******************/ %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). 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. :param Funct: - :type Funct: Handle_Approx_SweepFunction & + :type Funct: opencascade::handle & :param First: :type First: float :param Last: @@ -561,15 +678,95 @@ class BRepBlend_AppSurface : public AppBlend_Approx { :type Degmax: int :param Segmax: default value is 50 :type Segmax: int - :rtype: None -") BRepBlend_AppSurface; - BRepBlend_AppSurface (Handle_Approx_SweepFunction & Funct,const Standard_Real First,const Standard_Real Last,const Standard_Real Tol3d,const Standard_Real Tol2d,const Standard_Real TolAngular,const GeomAbs_Shape Continuity = GeomAbs_C0,const Standard_Integer Degmax = 11,const Standard_Integer Segmax = 50); + :rtype: None") BRepBlend_AppSurface; + BRepBlend_AppSurface (const opencascade::handle & Funct,const Standard_Real First,const Standard_Real Last,const Standard_Real Tol3d,const Standard_Real Tol2d,const Standard_Real TolAngular,const GeomAbs_Shape Continuity = GeomAbs_C0,const Standard_Integer Degmax = 11,const Standard_Integer Segmax = 50); + + /****************** Curve2d ******************/ + %feature("compactdefaultargs") Curve2d; + %feature("autodoc", ":param Index: + :type Index: int + :param TPoles: + :type TPoles: TColgp_Array1OfPnt2d + :param TKnots: + :type TKnots: TColStd_Array1OfReal & + :param TMults: + :type TMults: TColStd_Array1OfInteger & + :rtype: None") Curve2d; + void Curve2d (const Standard_Integer Index,TColgp_Array1OfPnt2d & TPoles,TColStd_Array1OfReal & TKnots,TColStd_Array1OfInteger & TMults); + + /****************** Curve2dPoles ******************/ + %feature("compactdefaultargs") Curve2dPoles; + %feature("autodoc", ":param Index: + :type Index: int + :rtype: TColgp_Array1OfPnt2d") Curve2dPoles; + const TColgp_Array1OfPnt2d & Curve2dPoles (const Standard_Integer Index); + + /****************** Curves2dDegree ******************/ + %feature("compactdefaultargs") Curves2dDegree; + %feature("autodoc", ":rtype: int") Curves2dDegree; + Standard_Integer Curves2dDegree (); + + /****************** Curves2dKnots ******************/ + %feature("compactdefaultargs") Curves2dKnots; + %feature("autodoc", ":rtype: TColStd_Array1OfReal") Curves2dKnots; + const TColStd_Array1OfReal & Curves2dKnots (); + + /****************** Curves2dMults ******************/ + %feature("compactdefaultargs") Curves2dMults; + %feature("autodoc", ":rtype: TColStd_Array1OfInteger") Curves2dMults; + const TColStd_Array1OfInteger & Curves2dMults (); + + /****************** Curves2dShape ******************/ + %feature("compactdefaultargs") Curves2dShape; + %feature("autodoc", ":param Degree: + :type Degree: int & + :param NbPoles: + :type NbPoles: int & + :param NbKnots: + :type NbKnots: int & + :rtype: None") Curves2dShape; + void Curves2dShape (Standard_Integer &OutValue,Standard_Integer &OutValue,Standard_Integer &OutValue); + + + %feature("autodoc", "1"); + %extend{ + std::string DumpToString() { + std::stringstream s; + self->Dump(s); + return s.str();} + }; + /****************** IsDone ******************/ %feature("compactdefaultargs") IsDone; - %feature("autodoc", " :rtype: bool -") IsDone; + %feature("autodoc", ":rtype: bool") IsDone; Standard_Boolean IsDone (); + + /****************** Max2dError ******************/ + %feature("compactdefaultargs") Max2dError; + %feature("autodoc", "* returns the maximum error in the 2d curve approximation. + :param Index: + :type Index: int + :rtype: float") Max2dError; + Standard_Real Max2dError (const Standard_Integer Index); + + /****************** MaxErrorOnSurf ******************/ + %feature("compactdefaultargs") MaxErrorOnSurf; + %feature("autodoc", "* returns the maximum error in the suface approximation. + :rtype: float") MaxErrorOnSurf; + Standard_Real MaxErrorOnSurf (); + + /****************** NbCurves2d ******************/ + %feature("compactdefaultargs") NbCurves2d; + %feature("autodoc", ":rtype: int") NbCurves2d; + Standard_Integer NbCurves2d (); + + /****************** SurfPoles ******************/ + %feature("compactdefaultargs") SurfPoles; + %feature("autodoc", ":rtype: TColgp_Array2OfPnt") SurfPoles; + const TColgp_Array2OfPnt & SurfPoles (); + + /****************** SurfShape ******************/ %feature("compactdefaultargs") SurfShape; - %feature("autodoc", " :param UDegree: + %feature("autodoc", ":param UDegree: :type UDegree: int & :param VDegree: :type VDegree: int & @@ -581,11 +778,37 @@ class BRepBlend_AppSurface : public AppBlend_Approx { :type NbUKnots: int & :param NbVKnots: :type NbVKnots: int & - :rtype: None -") SurfShape; + :rtype: None") SurfShape; void SurfShape (Standard_Integer &OutValue,Standard_Integer &OutValue,Standard_Integer &OutValue,Standard_Integer &OutValue,Standard_Integer &OutValue,Standard_Integer &OutValue); + + /****************** SurfUKnots ******************/ + %feature("compactdefaultargs") SurfUKnots; + %feature("autodoc", ":rtype: TColStd_Array1OfReal") SurfUKnots; + const TColStd_Array1OfReal & SurfUKnots (); + + /****************** SurfUMults ******************/ + %feature("compactdefaultargs") SurfUMults; + %feature("autodoc", ":rtype: TColStd_Array1OfInteger") SurfUMults; + const TColStd_Array1OfInteger & SurfUMults (); + + /****************** SurfVKnots ******************/ + %feature("compactdefaultargs") SurfVKnots; + %feature("autodoc", ":rtype: TColStd_Array1OfReal") SurfVKnots; + const TColStd_Array1OfReal & SurfVKnots (); + + /****************** SurfVMults ******************/ + %feature("compactdefaultargs") SurfVMults; + %feature("autodoc", ":rtype: TColStd_Array1OfInteger") SurfVMults; + const TColStd_Array1OfInteger & SurfVMults (); + + /****************** SurfWeights ******************/ + %feature("compactdefaultargs") SurfWeights; + %feature("autodoc", ":rtype: TColStd_Array2OfReal") SurfWeights; + const TColStd_Array2OfReal & SurfWeights (); + + /****************** Surface ******************/ %feature("compactdefaultargs") Surface; - %feature("autodoc", " :param TPoles: + %feature("autodoc", ":param TPoles: :type TPoles: TColgp_Array2OfPnt :param TWeights: :type TWeights: TColStd_Array2OfReal & @@ -597,122 +820,27 @@ class BRepBlend_AppSurface : public AppBlend_Approx { :type TUMults: TColStd_Array1OfInteger & :param TVMults: :type TVMults: TColStd_Array1OfInteger & - :rtype: None -") Surface; + :rtype: None") Surface; void Surface (TColgp_Array2OfPnt & TPoles,TColStd_Array2OfReal & TWeights,TColStd_Array1OfReal & TUKnots,TColStd_Array1OfReal & TVKnots,TColStd_Array1OfInteger & TUMults,TColStd_Array1OfInteger & TVMults); - %feature("compactdefaultargs") UDegree; - %feature("autodoc", " :rtype: int -") UDegree; - Standard_Integer UDegree (); - %feature("compactdefaultargs") VDegree; - %feature("autodoc", " :rtype: int -") VDegree; - Standard_Integer VDegree (); - %feature("compactdefaultargs") SurfPoles; - %feature("autodoc", " :rtype: TColgp_Array2OfPnt -") SurfPoles; - const TColgp_Array2OfPnt & SurfPoles (); - %feature("compactdefaultargs") SurfWeights; - %feature("autodoc", " :rtype: TColStd_Array2OfReal -") SurfWeights; - const TColStd_Array2OfReal & SurfWeights (); - %feature("compactdefaultargs") SurfUKnots; - %feature("autodoc", " :rtype: TColStd_Array1OfReal -") SurfUKnots; - const TColStd_Array1OfReal & SurfUKnots (); - %feature("compactdefaultargs") SurfVKnots; - %feature("autodoc", " :rtype: TColStd_Array1OfReal -") SurfVKnots; - const TColStd_Array1OfReal & SurfVKnots (); - %feature("compactdefaultargs") SurfUMults; - %feature("autodoc", " :rtype: TColStd_Array1OfInteger -") SurfUMults; - const TColStd_Array1OfInteger & SurfUMults (); - %feature("compactdefaultargs") SurfVMults; - %feature("autodoc", " :rtype: TColStd_Array1OfInteger -") SurfVMults; - const TColStd_Array1OfInteger & SurfVMults (); - %feature("compactdefaultargs") MaxErrorOnSurf; - %feature("autodoc", " * returns the maximum error in the suface approximation. - - :rtype: float -") MaxErrorOnSurf; - Standard_Real MaxErrorOnSurf (); - %feature("compactdefaultargs") NbCurves2d; - %feature("autodoc", " :rtype: int -") NbCurves2d; - Standard_Integer NbCurves2d (); - %feature("compactdefaultargs") Curves2dShape; - %feature("autodoc", " :param Degree: - :type Degree: int & - :param NbPoles: - :type NbPoles: int & - :param NbKnots: - :type NbKnots: int & - :rtype: None -") Curves2dShape; - void Curves2dShape (Standard_Integer &OutValue,Standard_Integer &OutValue,Standard_Integer &OutValue); - %feature("compactdefaultargs") Curve2d; - %feature("autodoc", " :param Index: - :type Index: int - :param TPoles: - :type TPoles: TColgp_Array1OfPnt2d - :param TKnots: - :type TKnots: TColStd_Array1OfReal & - :param TMults: - :type TMults: TColStd_Array1OfInteger & - :rtype: None -") Curve2d; - void Curve2d (const Standard_Integer Index,TColgp_Array1OfPnt2d & TPoles,TColStd_Array1OfReal & TKnots,TColStd_Array1OfInteger & TMults); - %feature("compactdefaultargs") Curves2dDegree; - %feature("autodoc", " :rtype: int -") Curves2dDegree; - Standard_Integer Curves2dDegree (); - %feature("compactdefaultargs") Curve2dPoles; - %feature("autodoc", " :param Index: - :type Index: int - :rtype: TColgp_Array1OfPnt2d -") Curve2dPoles; - const TColgp_Array1OfPnt2d & Curve2dPoles (const Standard_Integer Index); - %feature("compactdefaultargs") Curves2dKnots; - %feature("autodoc", " :rtype: TColStd_Array1OfReal -") Curves2dKnots; - const TColStd_Array1OfReal & Curves2dKnots (); - %feature("compactdefaultargs") Curves2dMults; - %feature("autodoc", " :rtype: TColStd_Array1OfInteger -") Curves2dMults; - const TColStd_Array1OfInteger & Curves2dMults (); - %feature("compactdefaultargs") TolReached; - %feature("autodoc", " :param Tol3d: - :type Tol3d: float & - :param Tol2d: - :type Tol2d: float & - :rtype: None -") TolReached; - void TolReached (Standard_Real &OutValue,Standard_Real &OutValue); - %feature("compactdefaultargs") Max2dError; - %feature("autodoc", " * returns the maximum error in the 2d curve approximation. - :param Index: - :type Index: int - :rtype: float -") Max2dError; - Standard_Real Max2dError (const Standard_Integer Index); + /****************** TolCurveOnSurf ******************/ %feature("compactdefaultargs") TolCurveOnSurf; - %feature("autodoc", " :param Index: + %feature("autodoc", ":param Index: :type Index: int - :rtype: float -") TolCurveOnSurf; + :rtype: float") TolCurveOnSurf; Standard_Real TolCurveOnSurf (const Standard_Integer Index); - %feature("autodoc", "1"); - %extend{ - std::string DumpToString() { - std::stringstream s; - self->Dump(s); - return s.str();} - }; - }; + /****************** UDegree ******************/ + %feature("compactdefaultargs") UDegree; + %feature("autodoc", ":rtype: int") UDegree; + Standard_Integer UDegree (); + + /****************** VDegree ******************/ + %feature("compactdefaultargs") VDegree; + %feature("autodoc", ":rtype: int") VDegree; + Standard_Integer VDegree (); + +}; %extend BRepBlend_AppSurface { @@ -720,147 +848,46 @@ class BRepBlend_AppSurface : public AppBlend_Approx { __repr__ = _dumps_object } }; -class BRepBlend_BlendTool { - public: - %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, Dist is the distance between P and the curve.. If the method returns Standard_False, Param proj and Dist are not significant. - - :param P: - :type P: gp_Pnt2d - :param S: - :type S: Handle_Adaptor3d_HSurface & - :param C: - :type C: Handle_Adaptor2d_HCurve2d & - :param Paramproj: - :type Paramproj: float & - :param Dist: - :type Dist: float & - :rtype: bool -") Project; - static Standard_Boolean Project (const gp_Pnt2d & P,const Handle_Adaptor3d_HSurface & S,const Handle_Adaptor2d_HCurve2d & C,Standard_Real &OutValue,Standard_Real &OutValue); - %feature("compactdefaultargs") Inters; - %feature("autodoc", " :param P1: - :type P1: gp_Pnt2d - :param P2: - :type P2: gp_Pnt2d - :param S: - :type S: Handle_Adaptor3d_HSurface & - :param C: - :type C: Handle_Adaptor2d_HCurve2d & - :param Param: - :type Param: float & - :param Dist: - :type Dist: float & - :rtype: bool -") Inters; - static Standard_Boolean Inters (const gp_Pnt2d & P1,const gp_Pnt2d & P2,const Handle_Adaptor3d_HSurface & S,const Handle_Adaptor2d_HCurve2d & C,Standard_Real &OutValue,Standard_Real &OutValue); - %feature("compactdefaultargs") Parameter; - %feature("autodoc", " * Returns the parameter of the vertex V on the edge A. - - :param V: - :type V: Handle_Adaptor3d_HVertex & - :param A: - :type A: Handle_Adaptor2d_HCurve2d & - :rtype: float -") Parameter; - static Standard_Real Parameter (const Handle_Adaptor3d_HVertex & V,const Handle_Adaptor2d_HCurve2d & A); - %feature("compactdefaultargs") Tolerance; - %feature("autodoc", " * Returns the parametric tolerance on the arc A used to consider that the vertex and another point meet, i-e if Abs(Parameter(Vertex)-Parameter(OtherPnt))<= Tolerance, the points are 'merged'. - - :param V: - :type V: Handle_Adaptor3d_HVertex & - :param A: - :type A: Handle_Adaptor2d_HCurve2d & - :rtype: float -") Tolerance; - static Standard_Real Tolerance (const Handle_Adaptor3d_HVertex & V,const Handle_Adaptor2d_HCurve2d & A); - %feature("compactdefaultargs") SingularOnUMin; - %feature("autodoc", " :param S: - :type S: Handle_Adaptor3d_HSurface & - :rtype: bool -") SingularOnUMin; - static Standard_Boolean SingularOnUMin (const Handle_Adaptor3d_HSurface & S); - %feature("compactdefaultargs") SingularOnUMax; - %feature("autodoc", " :param S: - :type S: Handle_Adaptor3d_HSurface & - :rtype: bool -") SingularOnUMax; - static Standard_Boolean SingularOnUMax (const Handle_Adaptor3d_HSurface & S); - %feature("compactdefaultargs") SingularOnVMin; - %feature("autodoc", " :param S: - :type S: Handle_Adaptor3d_HSurface & - :rtype: bool -") SingularOnVMin; - static Standard_Boolean SingularOnVMin (const Handle_Adaptor3d_HSurface & S); - %feature("compactdefaultargs") SingularOnVMax; - %feature("autodoc", " :param S: - :type S: Handle_Adaptor3d_HSurface & - :rtype: bool -") SingularOnVMax; - static Standard_Boolean SingularOnVMax (const Handle_Adaptor3d_HSurface & S); - %feature("compactdefaultargs") NbSamplesU; - %feature("autodoc", " :param S: - :type S: Handle_Adaptor3d_HSurface & - :param u1: - :type u1: float - :param u2: - :type u2: float - :rtype: int -") NbSamplesU; - static Standard_Integer NbSamplesU (const Handle_Adaptor3d_HSurface & S,const Standard_Real u1,const Standard_Real u2); - %feature("compactdefaultargs") NbSamplesV; - %feature("autodoc", " :param S: - :type S: Handle_Adaptor3d_HSurface & - :param v1: - :type v1: float - :param v2: - :type v2: float - :rtype: int -") NbSamplesV; - static Standard_Integer NbSamplesV (const Handle_Adaptor3d_HSurface & S,const Standard_Real v1,const Standard_Real v2); - %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. - :param C: - :type C: Handle_Adaptor2d_HCurve2d & - :param Ufirst: - :type Ufirst: float & - :param Ulast: - :type Ulast: float & - :rtype: void -") Bounds; - static void Bounds (const Handle_Adaptor2d_HCurve2d & C,Standard_Real &OutValue,Standard_Real &OutValue); - %feature("compactdefaultargs") CurveOnSurf; - %feature("autodoc", " :param C: - :type C: Handle_Adaptor2d_HCurve2d & - :param S: - :type S: Handle_Adaptor3d_HSurface & - :rtype: Handle_Adaptor2d_HCurve2d -") CurveOnSurf; - static Handle_Adaptor2d_HCurve2d CurveOnSurf (const Handle_Adaptor2d_HCurve2d & C,const Handle_Adaptor3d_HSurface & S); -}; - - -%extend BRepBlend_BlendTool { - %pythoncode { - __repr__ = _dumps_object - } -}; +/**************************** +* class BRepBlend_CSWalking * +****************************/ %nodefaultctor BRepBlend_CSWalking; class BRepBlend_CSWalking { public: + /****************** BRepBlend_CSWalking ******************/ %feature("compactdefaultargs") BRepBlend_CSWalking; - %feature("autodoc", " :param Curv: - :type Curv: Handle_Adaptor3d_HCurve & + %feature("autodoc", ":param Curv: + :type Curv: opencascade::handle & :param Surf: - :type Surf: Handle_Adaptor3d_HSurface & + :type Surf: opencascade::handle & :param Domain: - :type Domain: Handle_Adaptor3d_TopolTool & - :rtype: None -") BRepBlend_CSWalking; - BRepBlend_CSWalking (const Handle_Adaptor3d_HCurve & Curv,const Handle_Adaptor3d_HSurface & Surf,const Handle_Adaptor3d_TopolTool & Domain); + :type Domain: opencascade::handle & + :rtype: None") BRepBlend_CSWalking; + BRepBlend_CSWalking (const opencascade::handle & Curv,const opencascade::handle & Surf,const opencascade::handle & Domain); + + /****************** Complete ******************/ + %feature("compactdefaultargs") Complete; + %feature("autodoc", ":param F: + :type F: Blend_CSFunction & + :param Pmin: + :type Pmin: float + :rtype: bool") Complete; + Standard_Boolean Complete (Blend_CSFunction & F,const Standard_Real Pmin); + + /****************** IsDone ******************/ + %feature("compactdefaultargs") IsDone; + %feature("autodoc", ":rtype: bool") IsDone; + Standard_Boolean IsDone (); + + /****************** Line ******************/ + %feature("compactdefaultargs") Line; + %feature("autodoc", ":rtype: opencascade::handle") Line; + const opencascade::handle & Line (); + + /****************** Perform ******************/ %feature("compactdefaultargs") Perform; - %feature("autodoc", " :param F: + %feature("autodoc", ":param F: :type F: Blend_CSFunction & :param Pdep: :type Pdep: float @@ -878,25 +905,9 @@ class BRepBlend_CSWalking { :type Fleche: float :param Appro: default value is Standard_False :type Appro: bool - :rtype: None -") Perform; + :rtype: None") Perform; void Perform (Blend_CSFunction & F,const Standard_Real Pdep,const Standard_Real Pmax,const Standard_Real MaxStep,const Standard_Real TolGuide,const math_Vector & Soldep,const Standard_Real Tolesp,const Standard_Real Fleche,const Standard_Boolean Appro = Standard_False); - %feature("compactdefaultargs") Complete; - %feature("autodoc", " :param F: - :type F: Blend_CSFunction & - :param Pmin: - :type Pmin: float - :rtype: bool -") Complete; - Standard_Boolean Complete (Blend_CSFunction & F,const Standard_Real Pmin); - %feature("compactdefaultargs") IsDone; - %feature("autodoc", " :rtype: bool -") IsDone; - Standard_Boolean IsDone (); - %feature("compactdefaultargs") Line; - %feature("autodoc", " :rtype: Handle_BRepBlend_Line -") Line; - Handle_BRepBlend_Line Line (); + }; @@ -905,99 +916,105 @@ class BRepBlend_CSWalking { __repr__ = _dumps_object } }; + +/********************************** +* class BRepBlend_CurvPointRadInv * +**********************************/ %nodefaultctor BRepBlend_CurvPointRadInv; class BRepBlend_CurvPointRadInv : public Blend_CurvPointFuncInv { public: + /****************** BRepBlend_CurvPointRadInv ******************/ %feature("compactdefaultargs") BRepBlend_CurvPointRadInv; - %feature("autodoc", " :param C1: - :type C1: Handle_Adaptor3d_HCurve & + %feature("autodoc", ":param C1: + :type C1: opencascade::handle & :param C2: - :type C2: Handle_Adaptor3d_HCurve & - :rtype: None -") BRepBlend_CurvPointRadInv; - BRepBlend_CurvPointRadInv (const Handle_Adaptor3d_HCurve & C1,const Handle_Adaptor3d_HCurve & C2); - %feature("compactdefaultargs") Set; - %feature("autodoc", " :param Choix: - :type Choix: int - :rtype: None -") Set; - void Set (const Standard_Integer Choix); - %feature("compactdefaultargs") NbEquations; - %feature("autodoc", " * returns 2. - - :rtype: int -") NbEquations; - Standard_Integer NbEquations (); - %feature("compactdefaultargs") Value; - %feature("autodoc", " * computes the values of the Functions for the variable . Returns True if the computation was done successfully, False otherwise. + :type C2: opencascade::handle & + :rtype: None") BRepBlend_CurvPointRadInv; + BRepBlend_CurvPointRadInv (const opencascade::handle & C1,const opencascade::handle & C2); - :param X: - :type X: math_Vector & - :param F: - :type F: math_Vector & - :rtype: bool -") Value; - Standard_Boolean Value (const math_Vector & X,math_Vector & F); + /****************** Derivatives ******************/ %feature("compactdefaultargs") Derivatives; - %feature("autodoc", " * returns the values of the derivatives for the variable . Returns True if the computation was done successfully, False otherwise. - + %feature("autodoc", "* returns the values of the derivatives for the variable . Returns True if the computation was done successfully, False otherwise. :param X: :type X: math_Vector & :param D: :type D: math_Matrix & - :rtype: bool -") Derivatives; + :rtype: bool") Derivatives; Standard_Boolean Derivatives (const math_Vector & X,math_Matrix & D); - %feature("compactdefaultargs") Values; - %feature("autodoc", " * returns the values of the functions and the derivatives for the variable . Returns True if the computation was done successfully, False otherwise. - :param X: - :type X: math_Vector & - :param F: - :type F: math_Vector & - :param D: - :type D: math_Matrix & - :rtype: bool -") Values; - Standard_Boolean Values (const math_Vector & X,math_Vector & F,math_Matrix & D); - %feature("compactdefaultargs") Set; - %feature("autodoc", " * Set the Point on which a solution has to be found. + /****************** GetBounds ******************/ + %feature("compactdefaultargs") GetBounds; + %feature("autodoc", "* Returns in the vector InfBound the lowest values allowed for each of the 3 variables. Returns in the vector SupBound the greatest values allowed for each of the 3 variables. + :param InfBound: + :type InfBound: math_Vector & + :param SupBound: + :type SupBound: math_Vector & + :rtype: None") GetBounds; + void GetBounds (math_Vector & InfBound,math_Vector & SupBound); - :param P: - :type P: gp_Pnt - :rtype: None -") Set; - void Set (const gp_Pnt & P); + /****************** GetTolerance ******************/ %feature("compactdefaultargs") GetTolerance; - %feature("autodoc", " * Returns in the vector Tolerance the parametric tolerance for each of the 3 variables; Tol is the tolerance used in 3d space. - + %feature("autodoc", "* Returns in the vector Tolerance the parametric tolerance for each of the 3 variables; Tol is the tolerance used in 3d space. :param Tolerance: :type Tolerance: math_Vector & :param Tol: :type Tol: float - :rtype: None -") GetTolerance; + :rtype: None") GetTolerance; void GetTolerance (math_Vector & Tolerance,const Standard_Real Tol); - %feature("compactdefaultargs") GetBounds; - %feature("autodoc", " * Returns in the vector InfBound the lowest values allowed for each of the 3 variables. Returns in the vector SupBound the greatest values allowed for each of the 3 variables. - :param InfBound: - :type InfBound: math_Vector & - :param SupBound: - :type SupBound: math_Vector & - :rtype: None -") GetBounds; - void GetBounds (math_Vector & InfBound,math_Vector & SupBound); + /****************** IsSolution ******************/ %feature("compactdefaultargs") IsSolution; - %feature("autodoc", " * Returns Standard_True if Sol is a zero of the function. Tol is the tolerance used in 3d space. - + %feature("autodoc", "* Returns Standard_True if Sol is a zero of the function. Tol is the tolerance used in 3d space. :param Sol: :type Sol: math_Vector & :param Tol: :type Tol: float - :rtype: bool -") IsSolution; + :rtype: bool") IsSolution; Standard_Boolean IsSolution (const math_Vector & Sol,const Standard_Real Tol); + + /****************** NbEquations ******************/ + %feature("compactdefaultargs") NbEquations; + %feature("autodoc", "* returns 2. + :rtype: int") NbEquations; + Standard_Integer NbEquations (); + + /****************** Set ******************/ + %feature("compactdefaultargs") Set; + %feature("autodoc", ":param Choix: + :type Choix: int + :rtype: None") Set; + void Set (const Standard_Integer Choix); + + /****************** Set ******************/ + %feature("compactdefaultargs") Set; + %feature("autodoc", "* Set the Point on which a solution has to be found. + :param P: + :type P: gp_Pnt + :rtype: None") Set; + void Set (const gp_Pnt & P); + + /****************** Value ******************/ + %feature("compactdefaultargs") Value; + %feature("autodoc", "* computes the values of the Functions for the variable . Returns True if the computation was done successfully, False otherwise. + :param X: + :type X: math_Vector & + :param F: + :type F: math_Vector & + :rtype: bool") Value; + Standard_Boolean Value (const math_Vector & X,math_Vector & F); + + /****************** Values ******************/ + %feature("compactdefaultargs") Values; + %feature("autodoc", "* returns the values of the functions and the derivatives for the variable . Returns True if the computation was done successfully, False otherwise. + :param X: + :type X: math_Vector & + :param F: + :type F: math_Vector & + :param D: + :type D: math_Matrix & + :rtype: bool") Values; + Standard_Boolean Values (const math_Vector & X,math_Vector & F,math_Matrix & D); + }; @@ -1006,16 +1023,35 @@ class BRepBlend_CurvPointRadInv : public Blend_CurvPointFuncInv { __repr__ = _dumps_object } }; + +/**************************** +* class BRepBlend_Extremity * +****************************/ %nodefaultctor BRepBlend_Extremity; class BRepBlend_Extremity { public: + /****************** AddArc ******************/ + %feature("compactdefaultargs") AddArc; + %feature("autodoc", "* Sets the values of a point which is on the arc A, at parameter Param. + :param A: + :type A: opencascade::handle & + :param Param: + :type Param: float + :param TLine: + :type TLine: IntSurf_Transition & + :param TArc: + :type TArc: IntSurf_Transition & + :rtype: None") AddArc; + void AddArc (const opencascade::handle & A,const Standard_Real Param,const IntSurf_Transition & TLine,const IntSurf_Transition & TArc); + + /****************** BRepBlend_Extremity ******************/ %feature("compactdefaultargs") BRepBlend_Extremity; - %feature("autodoc", " :rtype: None -") BRepBlend_Extremity; + %feature("autodoc", ":rtype: None") BRepBlend_Extremity; BRepBlend_Extremity (); - %feature("compactdefaultargs") BRepBlend_Extremity; - %feature("autodoc", " * Creates an extremity on a surface + /****************** BRepBlend_Extremity ******************/ + %feature("compactdefaultargs") BRepBlend_Extremity; + %feature("autodoc", "* Creates an extremity on a surface :param P: :type P: gp_Pnt :param U: @@ -1026,12 +1062,12 @@ class BRepBlend_Extremity { :type Param: float :param Tol: :type Tol: float - :rtype: None -") BRepBlend_Extremity; + :rtype: None") BRepBlend_Extremity; BRepBlend_Extremity (const gp_Pnt & P,const Standard_Real U,const Standard_Real V,const Standard_Real Param,const Standard_Real Tol); - %feature("compactdefaultargs") BRepBlend_Extremity; - %feature("autodoc", " * Creates an extremity on a surface. This extremity matches the vertex . + /****************** BRepBlend_Extremity ******************/ + %feature("compactdefaultargs") BRepBlend_Extremity; + %feature("autodoc", "* Creates an extremity on a surface. This extremity matches the vertex . :param P: :type P: gp_Pnt :param U: @@ -1043,13 +1079,13 @@ class BRepBlend_Extremity { :param Tol: :type Tol: float :param Vtx: - :type Vtx: Handle_Adaptor3d_HVertex & - :rtype: None -") BRepBlend_Extremity; - BRepBlend_Extremity (const gp_Pnt & P,const Standard_Real U,const Standard_Real V,const Standard_Real Param,const Standard_Real Tol,const Handle_Adaptor3d_HVertex & Vtx); - %feature("compactdefaultargs") BRepBlend_Extremity; - %feature("autodoc", " * Creates an extremity on a curve + :type Vtx: opencascade::handle & + :rtype: None") BRepBlend_Extremity; + BRepBlend_Extremity (const gp_Pnt & P,const Standard_Real U,const Standard_Real V,const Standard_Real Param,const Standard_Real Tol,const opencascade::handle & Vtx); + /****************** BRepBlend_Extremity ******************/ + %feature("compactdefaultargs") BRepBlend_Extremity; + %feature("autodoc", "* Creates an extremity on a curve :param P: :type P: gp_Pnt :param W: @@ -1058,12 +1094,65 @@ class BRepBlend_Extremity { :type Param: float :param Tol: :type Tol: float - :rtype: None -") BRepBlend_Extremity; + :rtype: None") BRepBlend_Extremity; BRepBlend_Extremity (const gp_Pnt & P,const Standard_Real W,const Standard_Real Param,const Standard_Real Tol); - %feature("compactdefaultargs") SetValue; - %feature("autodoc", " * Set the values for an extremity on a surface. + /****************** HasTangent ******************/ + %feature("compactdefaultargs") HasTangent; + %feature("autodoc", "* Returns True if the Tangent is stored. + :rtype: bool") HasTangent; + Standard_Boolean HasTangent (); + + /****************** IsVertex ******************/ + %feature("compactdefaultargs") IsVertex; + %feature("autodoc", "* Returns Standard_True when the point coincide with an existing vertex. + :rtype: bool") IsVertex; + Standard_Boolean IsVertex (); + + /****************** NbPointOnRst ******************/ + %feature("compactdefaultargs") NbPointOnRst; + %feature("autodoc", "* Returns the number of arc containing the extremity. If the method returns 0, the point is inside the surface. Otherwise, the extremity lies on at least 1 arc, and all the information (arc, parameter, transitions) are given by the point on restriction (PointOnRst) returned by the next method. + :rtype: int") NbPointOnRst; + Standard_Integer NbPointOnRst (); + + /****************** Parameter ******************/ + %feature("compactdefaultargs") Parameter; + %feature("autodoc", ":rtype: float") Parameter; + Standard_Real Parameter (); + + /****************** ParameterOnGuide ******************/ + %feature("compactdefaultargs") ParameterOnGuide; + %feature("autodoc", ":rtype: float") ParameterOnGuide; + Standard_Real ParameterOnGuide (); + + /****************** Parameters ******************/ + %feature("compactdefaultargs") Parameters; + %feature("autodoc", "* This method returns the parameters of the point on the concerned surface. + :param U: + :type U: float & + :param V: + :type V: float & + :rtype: None") Parameters; + void Parameters (Standard_Real &OutValue,Standard_Real &OutValue); + + /****************** PointOnRst ******************/ + %feature("compactdefaultargs") PointOnRst; + %feature("autodoc", ":param Index: + :type Index: int + :rtype: BRepBlend_PointOnRst") PointOnRst; + const BRepBlend_PointOnRst & PointOnRst (const Standard_Integer Index); + + /****************** SetTangent ******************/ + %feature("compactdefaultargs") SetTangent; + %feature("autodoc", "* Set the tangent vector for an extremity on a surface. + :param Tangent: + :type Tangent: gp_Vec + :rtype: None") SetTangent; + void SetTangent (const gp_Vec & Tangent); + + /****************** SetValue ******************/ + %feature("compactdefaultargs") SetValue; + %feature("autodoc", "* Set the values for an extremity on a surface. :param P: :type P: gp_Pnt :param U: @@ -1074,12 +1163,12 @@ class BRepBlend_Extremity { :type Param: float :param Tol: :type Tol: float - :rtype: None -") SetValue; + :rtype: None") SetValue; void SetValue (const gp_Pnt & P,const Standard_Real U,const Standard_Real V,const Standard_Real Param,const Standard_Real Tol); - %feature("compactdefaultargs") SetValue; - %feature("autodoc", " * Set the values for an extremity on a surface.This extremity matches the vertex . + /****************** SetValue ******************/ + %feature("compactdefaultargs") SetValue; + %feature("autodoc", "* Set the values for an extremity on a surface.This extremity matches the vertex . :param P: :type P: gp_Pnt :param U: @@ -1091,13 +1180,13 @@ class BRepBlend_Extremity { :param Tol: :type Tol: float :param Vtx: - :type Vtx: Handle_Adaptor3d_HVertex & - :rtype: None -") SetValue; - void SetValue (const gp_Pnt & P,const Standard_Real U,const Standard_Real V,const Standard_Real Param,const Standard_Real Tol,const Handle_Adaptor3d_HVertex & Vtx); - %feature("compactdefaultargs") SetValue; - %feature("autodoc", " * Set the values for an extremity on curve. + :type Vtx: opencascade::handle & + :rtype: None") SetValue; + void SetValue (const gp_Pnt & P,const Standard_Real U,const Standard_Real V,const Standard_Real Param,const Standard_Real Tol,const opencascade::handle & Vtx); + /****************** SetValue ******************/ + %feature("compactdefaultargs") SetValue; + %feature("autodoc", "* Set the values for an extremity on curve. :param P: :type P: gp_Pnt :param W: @@ -1106,105 +1195,41 @@ class BRepBlend_Extremity { :type Param: float :param Tol: :type Tol: float - :rtype: None -") SetValue; + :rtype: None") SetValue; void SetValue (const gp_Pnt & P,const Standard_Real W,const Standard_Real Param,const Standard_Real Tol); - %feature("compactdefaultargs") Value; - %feature("autodoc", " * This method returns the value of the point in 3d space. - - :rtype: gp_Pnt -") Value; - const gp_Pnt Value (); - %feature("compactdefaultargs") SetTangent; - %feature("autodoc", " * Set the tangent vector for an extremity on a surface. - :param Tangent: - :type Tangent: gp_Vec - :rtype: None -") SetTangent; - void SetTangent (const gp_Vec & Tangent); - %feature("compactdefaultargs") HasTangent; - %feature("autodoc", " * Returns True if the Tangent is stored. + /****************** SetVertex ******************/ + %feature("compactdefaultargs") SetVertex; + %feature("autodoc", "* Set the values for an extremity on a curve. + :param V: + :type V: opencascade::handle & + :rtype: None") SetVertex; + void SetVertex (const opencascade::handle & V); - :rtype: bool -") HasTangent; - Standard_Boolean HasTangent (); + /****************** Tangent ******************/ %feature("compactdefaultargs") Tangent; - %feature("autodoc", " * This method returns the value of tangent in 3d space. - - :rtype: gp_Vec -") Tangent; + %feature("autodoc", "* This method returns the value of tangent in 3d space. + :rtype: gp_Vec") Tangent; const gp_Vec Tangent (); - %feature("compactdefaultargs") Tolerance; - %feature("autodoc", " * This method returns the fuzziness on the point in 3d space. - :rtype: float -") Tolerance; + /****************** Tolerance ******************/ + %feature("compactdefaultargs") Tolerance; + %feature("autodoc", "* This method returns the fuzziness on the point in 3d space. + :rtype: float") Tolerance; Standard_Real Tolerance (); - %feature("compactdefaultargs") SetVertex; - %feature("autodoc", " * Set the values for an extremity on a curve. - - :param V: - :type V: Handle_Adaptor3d_HVertex & - :rtype: None -") SetVertex; - void SetVertex (const Handle_Adaptor3d_HVertex & V); - %feature("compactdefaultargs") AddArc; - %feature("autodoc", " * Sets the values of a point which is on the arc A, at parameter Param. - - :param A: - :type A: Handle_Adaptor2d_HCurve2d & - :param Param: - :type Param: float - :param TLine: - :type TLine: IntSurf_Transition & - :param TArc: - :type TArc: IntSurf_Transition & - :rtype: None -") AddArc; - void AddArc (const Handle_Adaptor2d_HCurve2d & A,const Standard_Real Param,const IntSurf_Transition & TLine,const IntSurf_Transition & TArc); - %feature("compactdefaultargs") Parameters; - %feature("autodoc", " * This method returns the parameters of the point on the concerned surface. - :param U: - :type U: float & - :param V: - :type V: float & - :rtype: None -") Parameters; - void Parameters (Standard_Real &OutValue,Standard_Real &OutValue); - %feature("compactdefaultargs") IsVertex; - %feature("autodoc", " * Returns Standard_True when the point coincide with an existing vertex. + /****************** Value ******************/ + %feature("compactdefaultargs") Value; + %feature("autodoc", "* This method returns the value of the point in 3d space. + :rtype: gp_Pnt") Value; + const gp_Pnt Value (); - :rtype: bool -") IsVertex; - Standard_Boolean IsVertex (); + /****************** Vertex ******************/ %feature("compactdefaultargs") Vertex; - %feature("autodoc", " * Returns the vertex when IsVertex returns Standard_True. + %feature("autodoc", "* Returns the vertex when IsVertex returns Standard_True. + :rtype: opencascade::handle") Vertex; + const opencascade::handle & Vertex (); - :rtype: Handle_Adaptor3d_HVertex -") Vertex; - Handle_Adaptor3d_HVertex Vertex (); - %feature("compactdefaultargs") NbPointOnRst; - %feature("autodoc", " * Returns the number of arc containing the extremity. If the method returns 0, the point is inside the surface. Otherwise, the extremity lies on at least 1 arc, and all the information (arc, parameter, transitions) are given by the point on restriction (PointOnRst) returned by the next method. - - :rtype: int -") NbPointOnRst; - Standard_Integer NbPointOnRst (); - %feature("compactdefaultargs") PointOnRst; - %feature("autodoc", " :param Index: - :type Index: int - :rtype: BRepBlend_PointOnRst -") PointOnRst; - const BRepBlend_PointOnRst & PointOnRst (const Standard_Integer Index); - %feature("compactdefaultargs") Parameter; - %feature("autodoc", " :rtype: float -") Parameter; - Standard_Real Parameter (); - %feature("compactdefaultargs") ParameterOnGuide; - %feature("autodoc", " :rtype: float -") ParameterOnGuide; - Standard_Real ParameterOnGuide (); }; @@ -1213,149 +1238,154 @@ class BRepBlend_Extremity { __repr__ = _dumps_object } }; + +/*********************** +* class BRepBlend_Line * +***********************/ %nodefaultctor BRepBlend_Line; -class BRepBlend_Line : public MMgt_TShared { +class BRepBlend_Line : public Standard_Transient { public: + /****************** Append ******************/ + %feature("compactdefaultargs") Append; + %feature("autodoc", "* Adds a point in the line. + :param P: + :type P: Blend_Point & + :rtype: None") Append; + void Append (const Blend_Point & P); + + /****************** BRepBlend_Line ******************/ %feature("compactdefaultargs") BRepBlend_Line; - %feature("autodoc", " :rtype: None -") BRepBlend_Line; + %feature("autodoc", ":rtype: None") BRepBlend_Line; BRepBlend_Line (); - %feature("compactdefaultargs") Clear; - %feature("autodoc", " * Clears the content of the line. - :rtype: None -") Clear; + /****************** Clear ******************/ + %feature("compactdefaultargs") Clear; + %feature("autodoc", "* Clears the content of the line. + :rtype: None") Clear; void Clear (); - %feature("compactdefaultargs") Append; - %feature("autodoc", " * Adds a point in the line. - :param P: - :type P: Blend_Point & - :rtype: None -") Append; - void Append (const Blend_Point & P); - %feature("compactdefaultargs") Prepend; - %feature("autodoc", " * Adds a point in the line at the first place. + /****************** EndPointOnFirst ******************/ + %feature("compactdefaultargs") EndPointOnFirst; + %feature("autodoc", "* Returns the end point on S1. + :rtype: BRepBlend_Extremity") EndPointOnFirst; + const BRepBlend_Extremity & EndPointOnFirst (); + + /****************** EndPointOnSecond ******************/ + %feature("compactdefaultargs") EndPointOnSecond; + %feature("autodoc", "* Returns the point on S2. + :rtype: BRepBlend_Extremity") EndPointOnSecond; + const BRepBlend_Extremity & EndPointOnSecond (); + /****************** InsertBefore ******************/ + %feature("compactdefaultargs") InsertBefore; + %feature("autodoc", "* Adds a point in the line at the first place. + :param Index: + :type Index: int :param P: :type P: Blend_Point & - :rtype: None -") Prepend; - void Prepend (const Blend_Point & P); - %feature("compactdefaultargs") InsertBefore; - %feature("autodoc", " * Adds a point in the line at the first place. + :rtype: None") InsertBefore; + void InsertBefore (const Standard_Integer Index,const Blend_Point & P); + + /****************** NbPoints ******************/ + %feature("compactdefaultargs") NbPoints; + %feature("autodoc", "* Returns the number of points in the line. + :rtype: int") NbPoints; + Standard_Integer NbPoints (); + /****************** Point ******************/ + %feature("compactdefaultargs") Point; + %feature("autodoc", "* Returns the point of range Index. :param Index: :type Index: int + :rtype: Blend_Point") Point; + const Blend_Point & Point (const Standard_Integer Index); + + /****************** Prepend ******************/ + %feature("compactdefaultargs") Prepend; + %feature("autodoc", "* Adds a point in the line at the first place. :param P: :type P: Blend_Point & - :rtype: None -") InsertBefore; - void InsertBefore (const Standard_Integer Index,const Blend_Point & P); - %feature("compactdefaultargs") Remove; - %feature("autodoc", " * Removes from all the items of positions between and . Raises an exception if the indices are out of bounds. + :rtype: None") Prepend; + void Prepend (const Blend_Point & P); + /****************** Remove ******************/ + %feature("compactdefaultargs") Remove; + %feature("autodoc", "* Removes from all the items of positions between and . Raises an exception if the indices are out of bounds. :param FromIndex: :type FromIndex: int :param ToIndex: :type ToIndex: int - :rtype: None -") Remove; + :rtype: None") Remove; void Remove (const Standard_Integer FromIndex,const Standard_Integer ToIndex); - %feature("compactdefaultargs") Set; - %feature("autodoc", " * Sets the value of the transition of the line on S1 and the line on S2. + /****************** Set ******************/ + %feature("compactdefaultargs") Set; + %feature("autodoc", "* Sets the value of the transition of the line on S1 and the line on S2. :param TranS1: :type TranS1: IntSurf_TypeTrans :param TranS2: :type TranS2: IntSurf_TypeTrans - :rtype: None -") Set; + :rtype: None") Set; void Set (const IntSurf_TypeTrans TranS1,const IntSurf_TypeTrans TranS2); - %feature("compactdefaultargs") Set; - %feature("autodoc", " * Sets the value of the transition of the line on a surface + /****************** Set ******************/ + %feature("compactdefaultargs") Set; + %feature("autodoc", "* Sets the value of the transition of the line on a surface :param Trans: :type Trans: IntSurf_TypeTrans - :rtype: None -") Set; + :rtype: None") Set; void Set (const IntSurf_TypeTrans Trans); - %feature("compactdefaultargs") SetStartPoints; - %feature("autodoc", " * Sets the values of the start points for the line. - :param StartPt1: - :type StartPt1: BRepBlend_Extremity & - :param StartPt2: - :type StartPt2: BRepBlend_Extremity & - :rtype: None -") SetStartPoints; - void SetStartPoints (const BRepBlend_Extremity & StartPt1,const BRepBlend_Extremity & StartPt2); + /****************** SetEndPoints ******************/ %feature("compactdefaultargs") SetEndPoints; - %feature("autodoc", " * Sets tne values of the end points for the line. - + %feature("autodoc", "* Sets tne values of the end points for the line. :param EndPt1: :type EndPt1: BRepBlend_Extremity & :param EndPt2: :type EndPt2: BRepBlend_Extremity & - :rtype: None -") SetEndPoints; + :rtype: None") SetEndPoints; void SetEndPoints (const BRepBlend_Extremity & EndPt1,const BRepBlend_Extremity & EndPt2); - %feature("compactdefaultargs") NbPoints; - %feature("autodoc", " * Returns the number of points in the line. - - :rtype: int -") NbPoints; - Standard_Integer NbPoints (); - %feature("compactdefaultargs") Point; - %feature("autodoc", " * Returns the point of range Index. - :param Index: - :type Index: int - :rtype: Blend_Point -") Point; - const Blend_Point & Point (const Standard_Integer Index); - %feature("compactdefaultargs") TransitionOnS1; - %feature("autodoc", " * Returns the type of the transition of the line defined on the first surface. The transition is 'constant' along the line. The transition is IN if the line is oriented in such a way that the system of vectors (N,DRac,T) is right-handed, where N is the normal to the first surface at a point P, DRac is a vector tangent to the blending patch, oriented towards the valid part of this patch, T is the tangent to the line on S1 at P. The transitioon is OUT when the system of vectors is left-handed. - - :rtype: IntSurf_TypeTrans -") TransitionOnS1; - IntSurf_TypeTrans TransitionOnS1 (); - %feature("compactdefaultargs") TransitionOnS2; - %feature("autodoc", " * Returns the type of the transition of the line defined on the second surface. The transition is 'constant' along the line. + /****************** SetStartPoints ******************/ + %feature("compactdefaultargs") SetStartPoints; + %feature("autodoc", "* Sets the values of the start points for the line. + :param StartPt1: + :type StartPt1: BRepBlend_Extremity & + :param StartPt2: + :type StartPt2: BRepBlend_Extremity & + :rtype: None") SetStartPoints; + void SetStartPoints (const BRepBlend_Extremity & StartPt1,const BRepBlend_Extremity & StartPt2); - :rtype: IntSurf_TypeTrans -") TransitionOnS2; - IntSurf_TypeTrans TransitionOnS2 (); + /****************** StartPointOnFirst ******************/ %feature("compactdefaultargs") StartPointOnFirst; - %feature("autodoc", " * Returns the start point on S1. - - :rtype: BRepBlend_Extremity -") StartPointOnFirst; + %feature("autodoc", "* Returns the start point on S1. + :rtype: BRepBlend_Extremity") StartPointOnFirst; const BRepBlend_Extremity & StartPointOnFirst (); - %feature("compactdefaultargs") StartPointOnSecond; - %feature("autodoc", " * Returns the start point on S2 - :rtype: BRepBlend_Extremity -") StartPointOnSecond; + /****************** StartPointOnSecond ******************/ + %feature("compactdefaultargs") StartPointOnSecond; + %feature("autodoc", "* Returns the start point on S2 + :rtype: BRepBlend_Extremity") StartPointOnSecond; const BRepBlend_Extremity & StartPointOnSecond (); - %feature("compactdefaultargs") EndPointOnFirst; - %feature("autodoc", " * Returns the end point on S1. - - :rtype: BRepBlend_Extremity -") EndPointOnFirst; - const BRepBlend_Extremity & EndPointOnFirst (); - %feature("compactdefaultargs") EndPointOnSecond; - %feature("autodoc", " * Returns the point on S2. - :rtype: BRepBlend_Extremity -") EndPointOnSecond; - const BRepBlend_Extremity & EndPointOnSecond (); + /****************** TransitionOnS ******************/ %feature("compactdefaultargs") TransitionOnS; - %feature("autodoc", " * Returns the type of the transition of the line defined on the surface. - - :rtype: IntSurf_TypeTrans -") TransitionOnS; + %feature("autodoc", "* Returns the type of the transition of the line defined on the surface. + :rtype: IntSurf_TypeTrans") TransitionOnS; IntSurf_TypeTrans TransitionOnS (); + + /****************** TransitionOnS1 ******************/ + %feature("compactdefaultargs") TransitionOnS1; + %feature("autodoc", "* Returns the type of the transition of the line defined on the first surface. The transition is 'constant' along the line. The transition is IN if the line is oriented in such a way that the system of vectors (N,DRac,T) is right-handed, where N is the normal to the first surface at a point P, DRac is a vector tangent to the blending patch, oriented towards the valid part of this patch, T is the tangent to the line on S1 at P. The transitioon is OUT when the system of vectors is left-handed. + :rtype: IntSurf_TypeTrans") TransitionOnS1; + IntSurf_TypeTrans TransitionOnS1 (); + + /****************** TransitionOnS2 ******************/ + %feature("compactdefaultargs") TransitionOnS2; + %feature("autodoc", "* Returns the type of the transition of the line defined on the second surface. The transition is 'constant' along the line. + :rtype: IntSurf_TypeTrans") TransitionOnS2; + IntSurf_TypeTrans TransitionOnS2 (); + }; @@ -1366,67 +1396,71 @@ class BRepBlend_Line : public MMgt_TShared { __repr__ = _dumps_object } }; + +/***************************** +* class BRepBlend_PointOnRst * +*****************************/ %nodefaultctor BRepBlend_PointOnRst; class BRepBlend_PointOnRst { public: - %feature("compactdefaultargs") BRepBlend_PointOnRst; - %feature("autodoc", " * Empty constructor. + /****************** Arc ******************/ + %feature("compactdefaultargs") Arc; + %feature("autodoc", "* Returns the arc of restriction containing the vertex. + :rtype: opencascade::handle") Arc; + const opencascade::handle & Arc (); - :rtype: None -") BRepBlend_PointOnRst; - BRepBlend_PointOnRst (); + /****************** BRepBlend_PointOnRst ******************/ %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. + %feature("autodoc", "* Empty constructor. + :rtype: None") BRepBlend_PointOnRst; + BRepBlend_PointOnRst (); + /****************** BRepBlend_PointOnRst ******************/ + %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. :param A: - :type A: Handle_Adaptor2d_HCurve2d & + :type A: opencascade::handle & :param Param: :type Param: float :param TLine: :type TLine: IntSurf_Transition & :param TArc: :type TArc: IntSurf_Transition & - :rtype: None -") BRepBlend_PointOnRst; - BRepBlend_PointOnRst (const Handle_Adaptor2d_HCurve2d & A,const Standard_Real Param,const IntSurf_Transition & TLine,const IntSurf_Transition & TArc); - %feature("compactdefaultargs") SetArc; - %feature("autodoc", " * Sets the values of a point which is on the arc A, at parameter Param. + :rtype: None") BRepBlend_PointOnRst; + BRepBlend_PointOnRst (const opencascade::handle & A,const Standard_Real Param,const IntSurf_Transition & TLine,const IntSurf_Transition & TArc); + + /****************** ParameterOnArc ******************/ + %feature("compactdefaultargs") ParameterOnArc; + %feature("autodoc", "* Returns the parameter of the point on the arc returned by the method Arc(). + :rtype: float") ParameterOnArc; + Standard_Real ParameterOnArc (); + /****************** SetArc ******************/ + %feature("compactdefaultargs") SetArc; + %feature("autodoc", "* Sets the values of a point which is on the arc A, at parameter Param. :param A: - :type A: Handle_Adaptor2d_HCurve2d & + :type A: opencascade::handle & :param Param: :type Param: float :param TLine: :type TLine: IntSurf_Transition & :param TArc: :type TArc: IntSurf_Transition & - :rtype: None -") SetArc; - void SetArc (const Handle_Adaptor2d_HCurve2d & A,const Standard_Real Param,const IntSurf_Transition & TLine,const IntSurf_Transition & TArc); - %feature("compactdefaultargs") Arc; - %feature("autodoc", " * Returns the arc of restriction containing the vertex. - - :rtype: Handle_Adaptor2d_HCurve2d -") Arc; - Handle_Adaptor2d_HCurve2d Arc (); - %feature("compactdefaultargs") TransitionOnLine; - %feature("autodoc", " * Returns the transition of the point on the line on surface. + :rtype: None") SetArc; + void SetArc (const opencascade::handle & A,const Standard_Real Param,const IntSurf_Transition & TLine,const IntSurf_Transition & TArc); - :rtype: IntSurf_Transition -") TransitionOnLine; - const IntSurf_Transition & TransitionOnLine (); + /****************** TransitionOnArc ******************/ %feature("compactdefaultargs") TransitionOnArc; - %feature("autodoc", " * Returns the transition of the point on the arc returned by Arc(). - - :rtype: IntSurf_Transition -") TransitionOnArc; + %feature("autodoc", "* Returns the transition of the point on the arc returned by Arc(). + :rtype: IntSurf_Transition") TransitionOnArc; const IntSurf_Transition & TransitionOnArc (); - %feature("compactdefaultargs") ParameterOnArc; - %feature("autodoc", " * Returns the parameter of the point on the arc returned by the method Arc(). - :rtype: float -") ParameterOnArc; - Standard_Real ParameterOnArc (); + /****************** TransitionOnLine ******************/ + %feature("compactdefaultargs") TransitionOnLine; + %feature("autodoc", "* Returns the transition of the point on the line on surface. + :rtype: IntSurf_Transition") TransitionOnLine; + const IntSurf_Transition & TransitionOnLine (); + }; @@ -1435,180 +1469,47 @@ class BRepBlend_PointOnRst { __repr__ = _dumps_object } }; + +/********************************* +* class BRepBlend_RstRstConstRad * +*********************************/ %nodefaultctor BRepBlend_RstRstConstRad; class BRepBlend_RstRstConstRad : public Blend_RstRstFunction { public: + /****************** BRepBlend_RstRstConstRad ******************/ %feature("compactdefaultargs") BRepBlend_RstRstConstRad; - %feature("autodoc", " :param Surf1: - :type Surf1: Handle_Adaptor3d_HSurface & + %feature("autodoc", ":param Surf1: + :type Surf1: opencascade::handle & :param Rst1: - :type Rst1: Handle_Adaptor2d_HCurve2d & + :type Rst1: opencascade::handle & :param Surf2: - :type Surf2: Handle_Adaptor3d_HSurface & + :type Surf2: opencascade::handle & :param Rst2: - :type Rst2: Handle_Adaptor2d_HCurve2d & + :type Rst2: opencascade::handle & :param CGuide: - :type CGuide: Handle_Adaptor3d_HCurve & - :rtype: None -") BRepBlend_RstRstConstRad; - BRepBlend_RstRstConstRad (const Handle_Adaptor3d_HSurface & Surf1,const Handle_Adaptor2d_HCurve2d & Rst1,const Handle_Adaptor3d_HSurface & Surf2,const Handle_Adaptor2d_HCurve2d & Rst2,const Handle_Adaptor3d_HCurve & CGuide); - %feature("compactdefaultargs") NbVariables; - %feature("autodoc", " * Returns 2. - - :rtype: int -") NbVariables; - Standard_Integer NbVariables (); - %feature("compactdefaultargs") NbEquations; - %feature("autodoc", " * Returns 2. - - :rtype: int -") NbEquations; - Standard_Integer NbEquations (); - %feature("compactdefaultargs") Value; - %feature("autodoc", " * computes the values of the Functions for the variable . Returns True if the computation was done successfully, False otherwise. - - :param X: - :type X: math_Vector & - :param F: - :type F: math_Vector & - :rtype: bool -") Value; - Standard_Boolean Value (const math_Vector & X,math_Vector & F); - %feature("compactdefaultargs") Derivatives; - %feature("autodoc", " * returns the values of the derivatives for the variable . Returns True if the computation was done successfully, False otherwise. - - :param X: - :type X: math_Vector & - :param D: - :type D: math_Matrix & - :rtype: bool -") Derivatives; - Standard_Boolean Derivatives (const math_Vector & X,math_Matrix & D); - %feature("compactdefaultargs") Values; - %feature("autodoc", " * returns the values of the functions and the derivatives for the variable . Returns True if the computation was done successfully, False otherwise. - - :param X: - :type X: math_Vector & - :param F: - :type F: math_Vector & - :param D: - :type D: math_Matrix & - :rtype: bool -") Values; - Standard_Boolean Values (const math_Vector & X,math_Vector & F,math_Matrix & D); - %feature("compactdefaultargs") Set; - %feature("autodoc", " :param SurfRef1: - :type SurfRef1: Handle_Adaptor3d_HSurface & - :param RstRef1: - :type RstRef1: Handle_Adaptor2d_HCurve2d & - :param SurfRef2: - :type SurfRef2: Handle_Adaptor3d_HSurface & - :param RstRef2: - :type RstRef2: Handle_Adaptor2d_HCurve2d & - :rtype: None -") Set; - void Set (const Handle_Adaptor3d_HSurface & SurfRef1,const Handle_Adaptor2d_HCurve2d & RstRef1,const Handle_Adaptor3d_HSurface & SurfRef2,const Handle_Adaptor2d_HCurve2d & RstRef2); - %feature("compactdefaultargs") Set; - %feature("autodoc", " :param Param: - :type Param: float - :rtype: None -") Set; - void Set (const Standard_Real Param); - %feature("compactdefaultargs") Set; - %feature("autodoc", " * Sets the bounds of the parametric interval on the guide line. This determines the derivatives in these values if the function is not Cn. - - :param First: - :type First: float - :param Last: - :type Last: float - :rtype: None -") Set; - void Set (const Standard_Real First,const Standard_Real Last); - %feature("compactdefaultargs") GetTolerance; - %feature("autodoc", " :param Tolerance: - :type Tolerance: math_Vector & - :param Tol: - :type Tol: float - :rtype: None -") GetTolerance; - void GetTolerance (math_Vector & Tolerance,const Standard_Real Tol); - %feature("compactdefaultargs") GetBounds; - %feature("autodoc", " :param InfBound: - :type InfBound: math_Vector & - :param SupBound: - :type SupBound: math_Vector & - :rtype: None -") GetBounds; - void GetBounds (math_Vector & InfBound,math_Vector & SupBound); - %feature("compactdefaultargs") IsSolution; - %feature("autodoc", " :param Sol: - :type Sol: math_Vector & - :param Tol: - :type Tol: float - :rtype: bool -") IsSolution; - Standard_Boolean IsSolution (const math_Vector & Sol,const Standard_Real Tol); - %feature("compactdefaultargs") GetMinimalDistance; - %feature("autodoc", " * Returns the minimal Distance beetween two extremitys of calculed sections. - - :rtype: float -") GetMinimalDistance; - virtual Standard_Real GetMinimalDistance (); - %feature("compactdefaultargs") PointOnRst1; - %feature("autodoc", " :rtype: gp_Pnt -") PointOnRst1; - const gp_Pnt PointOnRst1 (); - %feature("compactdefaultargs") PointOnRst2; - %feature("autodoc", " :rtype: gp_Pnt -") PointOnRst2; - const gp_Pnt PointOnRst2 (); - %feature("compactdefaultargs") Pnt2dOnRst1; - %feature("autodoc", " * Returns U,V coordinates of the point on the surface. - - :rtype: gp_Pnt2d -") Pnt2dOnRst1; - const gp_Pnt2d Pnt2dOnRst1 (); - %feature("compactdefaultargs") Pnt2dOnRst2; - %feature("autodoc", " * Returns U,V coordinates of the point on the curve on surface. - - :rtype: gp_Pnt2d -") Pnt2dOnRst2; - const gp_Pnt2d Pnt2dOnRst2 (); - %feature("compactdefaultargs") ParameterOnRst1; - %feature("autodoc", " * Returns parameter of the point on the curve. + :type CGuide: opencascade::handle & + :rtype: 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); - :rtype: float -") ParameterOnRst1; - Standard_Real ParameterOnRst1 (); - %feature("compactdefaultargs") ParameterOnRst2; - %feature("autodoc", " * Returns parameter of the point on the curve. + /****************** CenterCircleRst1Rst2 ******************/ + %feature("compactdefaultargs") CenterCircleRst1Rst2; + %feature("autodoc", "* Give the center of circle define by PtRst1, PtRst2 and radius ray. + :param PtRst1: + :type PtRst1: gp_Pnt + :param PtRst2: + :type PtRst2: gp_Pnt + :param np: + :type np: gp_Vec + :param Center: + :type Center: gp_Pnt + :param VdMed: + :type VdMed: gp_Vec + :rtype: bool") CenterCircleRst1Rst2; + Standard_Boolean CenterCircleRst1Rst2 (const gp_Pnt & PtRst1,const gp_Pnt & PtRst2,const gp_Vec & np,gp_Pnt & Center,gp_Vec & VdMed); - :rtype: float -") ParameterOnRst2; - Standard_Real ParameterOnRst2 (); - %feature("compactdefaultargs") IsTangencyPoint; - %feature("autodoc", " :rtype: bool -") IsTangencyPoint; - Standard_Boolean IsTangencyPoint (); - %feature("compactdefaultargs") TangentOnRst1; - %feature("autodoc", " :rtype: gp_Vec -") TangentOnRst1; - const gp_Vec TangentOnRst1 (); - %feature("compactdefaultargs") Tangent2dOnRst1; - %feature("autodoc", " :rtype: gp_Vec2d -") Tangent2dOnRst1; - const gp_Vec2d Tangent2dOnRst1 (); - %feature("compactdefaultargs") TangentOnRst2; - %feature("autodoc", " :rtype: gp_Vec -") TangentOnRst2; - const gp_Vec TangentOnRst2 (); - %feature("compactdefaultargs") Tangent2dOnRst2; - %feature("autodoc", " :rtype: gp_Vec2d -") Tangent2dOnRst2; - const gp_Vec2d Tangent2dOnRst2 (); + /****************** Decroch ******************/ %feature("compactdefaultargs") Decroch; - %feature("autodoc", " * Permet d ' implementer un critere de decrochage specifique a la fonction. - + %feature("autodoc", "* Permet d ' implementer un critere de decrochage specifique a la fonction. :param Sol: :type Sol: math_Vector & :param NRst1: @@ -1619,97 +1520,51 @@ class BRepBlend_RstRstConstRad : public Blend_RstRstFunction { :type NRst2: gp_Vec :param TgRst2: :type TgRst2: gp_Vec - :rtype: Blend_DecrochStatus -") Decroch; + :rtype: Blend_DecrochStatus") Decroch; Blend_DecrochStatus Decroch (const math_Vector & Sol,gp_Vec & NRst1,gp_Vec & TgRst1,gp_Vec & NRst2,gp_Vec & TgRst2); - %feature("compactdefaultargs") Set; - %feature("autodoc", " :param Radius: - :type Radius: float - :param Choix: - :type Choix: int - :rtype: None -") Set; - void Set (const Standard_Real Radius,const Standard_Integer Choix); - %feature("compactdefaultargs") Set; - %feature("autodoc", " * Sets the type of section generation for the approximations. - :param TypeSection: - :type TypeSection: BlendFunc_SectionShape - :rtype: None -") Set; - void Set (const BlendFunc_SectionShape TypeSection); - %feature("compactdefaultargs") CenterCircleRst1Rst2; - %feature("autodoc", " * Give the center of circle define by PtRst1, PtRst2 and radius ray. + /****************** Derivatives ******************/ + %feature("compactdefaultargs") Derivatives; + %feature("autodoc", "* returns the values of the derivatives for the variable . Returns True if the computation was done successfully, False otherwise. + :param X: + :type X: math_Vector & + :param D: + :type D: math_Matrix & + :rtype: bool") Derivatives; + Standard_Boolean Derivatives (const math_Vector & X,math_Matrix & D); - :param PtRst1: - :type PtRst1: gp_Pnt - :param PtRst2: - :type PtRst2: gp_Pnt - :param np: - :type np: gp_Vec - :param Center: - :type Center: gp_Pnt - :param VdMed: - :type VdMed: gp_Vec - :rtype: bool -") CenterCircleRst1Rst2; - Standard_Boolean CenterCircleRst1Rst2 (const gp_Pnt & PtRst1,const gp_Pnt & PtRst2,const gp_Vec & np,gp_Pnt & Center,gp_Vec & VdMed); - %feature("compactdefaultargs") Section; - %feature("autodoc", " :param Param: - :type Param: float - :param U: - :type U: float - :param V: - :type V: float - :param Pdeb: - :type Pdeb: float & - :param Pfin: - :type Pfin: float & - :param C: - :type C: gp_Circ - :rtype: None -") Section; - void Section (const Standard_Real Param,const Standard_Real U,const Standard_Real V,Standard_Real &OutValue,Standard_Real &OutValue,gp_Circ & C); - %feature("compactdefaultargs") IsRational; - %feature("autodoc", " * Returns if the section is rationnal + /****************** GetBounds ******************/ + %feature("compactdefaultargs") GetBounds; + %feature("autodoc", ":param InfBound: + :type InfBound: math_Vector & + :param SupBound: + :type SupBound: math_Vector & + :rtype: None") GetBounds; + void GetBounds (math_Vector & InfBound,math_Vector & SupBound); - :rtype: bool -") IsRational; - Standard_Boolean IsRational (); - %feature("compactdefaultargs") GetSectionSize; - %feature("autodoc", " * Returns the length of the maximum section + /****************** GetMinimalDistance ******************/ + %feature("compactdefaultargs") GetMinimalDistance; + %feature("autodoc", "* Returns the minimal Distance beetween two extremitys of calculed sections. + :rtype: float") GetMinimalDistance; + virtual Standard_Real GetMinimalDistance (); - :rtype: float -") GetSectionSize; - Standard_Real GetSectionSize (); + /****************** GetMinimalWeight ******************/ %feature("compactdefaultargs") GetMinimalWeight; - %feature("autodoc", " * Compute the minimal value of weight for each poles of all sections. - + %feature("autodoc", "* Compute the minimal value of weight for each poles of all sections. :param Weigths: :type Weigths: TColStd_Array1OfReal & - :rtype: None -") GetMinimalWeight; + :rtype: None") GetMinimalWeight; void GetMinimalWeight (TColStd_Array1OfReal & Weigths); - %feature("compactdefaultargs") NbIntervals; - %feature("autodoc", " * Returns the number of intervals for continuity . May be one if Continuity(me) >= - :param S: - :type S: GeomAbs_Shape - :rtype: int -") NbIntervals; - Standard_Integer NbIntervals (const GeomAbs_Shape S); - %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() + /****************** GetSectionSize ******************/ + %feature("compactdefaultargs") GetSectionSize; + %feature("autodoc", "* Returns the length of the maximum section + :rtype: float") GetSectionSize; + Standard_Real GetSectionSize (); - :param T: - :type T: TColStd_Array1OfReal & - :param S: - :type S: GeomAbs_Shape - :rtype: None -") Intervals; - void Intervals (TColStd_Array1OfReal & T,const GeomAbs_Shape S); + /****************** GetShape ******************/ %feature("compactdefaultargs") GetShape; - %feature("autodoc", " :param NbPoles: + %feature("autodoc", ":param NbPoles: :type NbPoles: int & :param NbKnots: :type NbKnots: int & @@ -1717,12 +1572,21 @@ class BRepBlend_RstRstConstRad : public Blend_RstRstFunction { :type Degree: int & :param NbPoles2d: :type NbPoles2d: int & - :rtype: None -") GetShape; + :rtype: None") GetShape; void GetShape (Standard_Integer &OutValue,Standard_Integer &OutValue,Standard_Integer &OutValue,Standard_Integer &OutValue); + + /****************** GetTolerance ******************/ %feature("compactdefaultargs") GetTolerance; - %feature("autodoc", " * Returns the tolerance to reach in approximation to respecte BoundTol error at the Boundary AngleTol tangent error at the Boundary SurfTol error inside the surface. + %feature("autodoc", ":param Tolerance: + :type Tolerance: math_Vector & + :param Tol: + :type Tol: float + :rtype: None") GetTolerance; + void GetTolerance (math_Vector & Tolerance,const Standard_Real Tol); + /****************** GetTolerance ******************/ + %feature("compactdefaultargs") GetTolerance; + %feature("autodoc", "* Returns the tolerance to reach in approximation to respecte BoundTol error at the Boundary AngleTol tangent error at the Boundary SurfTol error inside the surface. :param BoundTol: :type BoundTol: float :param SurfTol: @@ -1733,30 +1597,146 @@ class BRepBlend_RstRstConstRad : public Blend_RstRstFunction { :type Tol3d: math_Vector & :param Tol1D: :type Tol1D: math_Vector & - :rtype: None -") GetTolerance; + :rtype: None") GetTolerance; void GetTolerance (const Standard_Real BoundTol,const Standard_Real SurfTol,const Standard_Real AngleTol,math_Vector & Tol3d,math_Vector & Tol1D); + + /****************** Intervals ******************/ + %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() + :param T: + :type T: TColStd_Array1OfReal & + :param S: + :type S: GeomAbs_Shape + :rtype: None") Intervals; + void Intervals (TColStd_Array1OfReal & T,const GeomAbs_Shape S); + + /****************** IsRational ******************/ + %feature("compactdefaultargs") IsRational; + %feature("autodoc", "* Returns if the section is rationnal + :rtype: bool") IsRational; + Standard_Boolean IsRational (); + + /****************** IsSolution ******************/ + %feature("compactdefaultargs") IsSolution; + %feature("autodoc", ":param Sol: + :type Sol: math_Vector & + :param Tol: + :type Tol: float + :rtype: bool") IsSolution; + Standard_Boolean IsSolution (const math_Vector & Sol,const Standard_Real Tol); + + /****************** IsTangencyPoint ******************/ + %feature("compactdefaultargs") IsTangencyPoint; + %feature("autodoc", ":rtype: bool") IsTangencyPoint; + Standard_Boolean IsTangencyPoint (); + + /****************** Knots ******************/ %feature("compactdefaultargs") Knots; - %feature("autodoc", " :param TKnots: + %feature("autodoc", ":param TKnots: :type TKnots: TColStd_Array1OfReal & - :rtype: None -") Knots; + :rtype: None") Knots; void Knots (TColStd_Array1OfReal & TKnots); + + /****************** Mults ******************/ %feature("compactdefaultargs") Mults; - %feature("autodoc", " :param TMults: + %feature("autodoc", ":param TMults: :type TMults: TColStd_Array1OfInteger & - :rtype: None -") Mults; + :rtype: None") Mults; void Mults (TColStd_Array1OfInteger & TMults); - %feature("compactdefaultargs") Section; - %feature("autodoc", " * Used for the first and last section - :param P: - :type P: Blend_Point & - :param Poles: - :type Poles: TColgp_Array1OfPnt - :param DPoles: - :type DPoles: TColgp_Array1OfVec + /****************** NbEquations ******************/ + %feature("compactdefaultargs") NbEquations; + %feature("autodoc", "* Returns 2. + :rtype: int") NbEquations; + Standard_Integer NbEquations (); + + /****************** NbIntervals ******************/ + %feature("compactdefaultargs") NbIntervals; + %feature("autodoc", "* Returns the number of intervals for continuity . May be one if Continuity(me) >= + :param S: + :type S: GeomAbs_Shape + :rtype: int") NbIntervals; + Standard_Integer NbIntervals (const GeomAbs_Shape S); + + /****************** NbVariables ******************/ + %feature("compactdefaultargs") NbVariables; + %feature("autodoc", "* Returns 2. + :rtype: int") NbVariables; + Standard_Integer NbVariables (); + + /****************** ParameterOnRst1 ******************/ + %feature("compactdefaultargs") ParameterOnRst1; + %feature("autodoc", "* Returns parameter of the point on the curve. + :rtype: float") ParameterOnRst1; + Standard_Real ParameterOnRst1 (); + + /****************** ParameterOnRst2 ******************/ + %feature("compactdefaultargs") ParameterOnRst2; + %feature("autodoc", "* Returns parameter of the point on the curve. + :rtype: float") ParameterOnRst2; + Standard_Real ParameterOnRst2 (); + + /****************** Pnt2dOnRst1 ******************/ + %feature("compactdefaultargs") Pnt2dOnRst1; + %feature("autodoc", "* Returns U,V coordinates of the point on the surface. + :rtype: gp_Pnt2d") Pnt2dOnRst1; + const gp_Pnt2d Pnt2dOnRst1 (); + + /****************** Pnt2dOnRst2 ******************/ + %feature("compactdefaultargs") Pnt2dOnRst2; + %feature("autodoc", "* Returns U,V coordinates of the point on the curve on surface. + :rtype: gp_Pnt2d") Pnt2dOnRst2; + const gp_Pnt2d Pnt2dOnRst2 (); + + /****************** PointOnRst1 ******************/ + %feature("compactdefaultargs") PointOnRst1; + %feature("autodoc", ":rtype: gp_Pnt") PointOnRst1; + const gp_Pnt PointOnRst1 (); + + /****************** PointOnRst2 ******************/ + %feature("compactdefaultargs") PointOnRst2; + %feature("autodoc", ":rtype: gp_Pnt") PointOnRst2; + const gp_Pnt PointOnRst2 (); + + /****************** Resolution ******************/ + %feature("compactdefaultargs") Resolution; + %feature("autodoc", ":param IC2d: + :type IC2d: int + :param Tol: + :type Tol: float + :param TolU: + :type TolU: float & + :param TolV: + :type TolV: float & + :rtype: None") Resolution; + void Resolution (const Standard_Integer IC2d,const Standard_Real Tol,Standard_Real &OutValue,Standard_Real &OutValue); + + /****************** Section ******************/ + %feature("compactdefaultargs") Section; + %feature("autodoc", ":param Param: + :type Param: float + :param U: + :type U: float + :param V: + :type V: float + :param Pdeb: + :type Pdeb: float & + :param Pfin: + :type Pfin: float & + :param C: + :type C: gp_Circ + :rtype: None") Section; + void Section (const Standard_Real Param,const Standard_Real U,const Standard_Real V,Standard_Real &OutValue,Standard_Real &OutValue,gp_Circ & C); + + /****************** Section ******************/ + %feature("compactdefaultargs") Section; + %feature("autodoc", "* Used for the first and last section + :param P: + :type P: Blend_Point & + :param Poles: + :type Poles: TColgp_Array1OfPnt + :param DPoles: + :type DPoles: TColgp_Array1OfVec :param Poles2d: :type Poles2d: TColgp_Array1OfPnt2d :param DPoles2d: @@ -1765,11 +1745,12 @@ class BRepBlend_RstRstConstRad : public Blend_RstRstFunction { :type Weigths: TColStd_Array1OfReal & :param DWeigths: :type DWeigths: TColStd_Array1OfReal & - :rtype: bool -") Section; + :rtype: bool") Section; Standard_Boolean Section (const Blend_Point & P,TColgp_Array1OfPnt & Poles,TColgp_Array1OfVec & DPoles,TColgp_Array1OfPnt2d & Poles2d,TColgp_Array1OfVec2d & DPoles2d,TColStd_Array1OfReal & Weigths,TColStd_Array1OfReal & DWeigths); + + /****************** Section ******************/ %feature("compactdefaultargs") Section; - %feature("autodoc", " :param P: + %feature("autodoc", ":param P: :type P: Blend_Point & :param Poles: :type Poles: TColgp_Array1OfPnt @@ -1777,12 +1758,12 @@ class BRepBlend_RstRstConstRad : public Blend_RstRstFunction { :type Poles2d: TColgp_Array1OfPnt2d :param Weigths: :type Weigths: TColStd_Array1OfReal & - :rtype: None -") Section; + :rtype: None") Section; void Section (const Blend_Point & P,TColgp_Array1OfPnt & Poles,TColgp_Array1OfPnt2d & Poles2d,TColStd_Array1OfReal & Weigths); - %feature("compactdefaultargs") Section; - %feature("autodoc", " * Used for the first and last section The method returns Standard_True if the derivatives are computed, otherwise it returns Standard_False. + /****************** Section ******************/ + %feature("compactdefaultargs") Section; + %feature("autodoc", "* Used for the first and last section The method returns Standard_True if the derivatives are computed, otherwise it returns Standard_False. :param P: :type P: Blend_Point & :param Poles: @@ -1803,21 +1784,98 @@ class BRepBlend_RstRstConstRad : public Blend_RstRstFunction { :type DWeigths: TColStd_Array1OfReal & :param D2Weigths: :type D2Weigths: TColStd_Array1OfReal & - :rtype: bool -") Section; + :rtype: bool") Section; 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); - %feature("compactdefaultargs") Resolution; - %feature("autodoc", " :param IC2d: - :type IC2d: int - :param Tol: - :type Tol: float - :param TolU: - :type TolU: float & - :param TolV: - :type TolV: float & - :rtype: None -") Resolution; - void Resolution (const Standard_Integer IC2d,const Standard_Real Tol,Standard_Real &OutValue,Standard_Real &OutValue); + + /****************** Set ******************/ + %feature("compactdefaultargs") Set; + %feature("autodoc", ":param SurfRef1: + :type SurfRef1: opencascade::handle & + :param RstRef1: + :type RstRef1: opencascade::handle & + :param SurfRef2: + :type SurfRef2: opencascade::handle & + :param RstRef2: + :type RstRef2: opencascade::handle & + :rtype: None") Set; + void Set (const opencascade::handle & SurfRef1,const opencascade::handle & RstRef1,const opencascade::handle & SurfRef2,const opencascade::handle & RstRef2); + + /****************** Set ******************/ + %feature("compactdefaultargs") Set; + %feature("autodoc", ":param Param: + :type Param: float + :rtype: None") Set; + void Set (const Standard_Real Param); + + /****************** Set ******************/ + %feature("compactdefaultargs") Set; + %feature("autodoc", "* Sets the bounds of the parametric interval on the guide line. This determines the derivatives in these values if the function is not Cn. + :param First: + :type First: float + :param Last: + :type Last: float + :rtype: None") Set; + void Set (const Standard_Real First,const Standard_Real Last); + + /****************** Set ******************/ + %feature("compactdefaultargs") Set; + %feature("autodoc", ":param Radius: + :type Radius: float + :param Choix: + :type Choix: int + :rtype: None") Set; + void Set (const Standard_Real Radius,const Standard_Integer Choix); + + /****************** Set ******************/ + %feature("compactdefaultargs") Set; + %feature("autodoc", "* Sets the type of section generation for the approximations. + :param TypeSection: + :type TypeSection: BlendFunc_SectionShape + :rtype: None") Set; + void Set (const BlendFunc_SectionShape TypeSection); + + /****************** Tangent2dOnRst1 ******************/ + %feature("compactdefaultargs") Tangent2dOnRst1; + %feature("autodoc", ":rtype: gp_Vec2d") Tangent2dOnRst1; + const gp_Vec2d Tangent2dOnRst1 (); + + /****************** Tangent2dOnRst2 ******************/ + %feature("compactdefaultargs") Tangent2dOnRst2; + %feature("autodoc", ":rtype: gp_Vec2d") Tangent2dOnRst2; + const gp_Vec2d Tangent2dOnRst2 (); + + /****************** TangentOnRst1 ******************/ + %feature("compactdefaultargs") TangentOnRst1; + %feature("autodoc", ":rtype: gp_Vec") TangentOnRst1; + const gp_Vec TangentOnRst1 (); + + /****************** TangentOnRst2 ******************/ + %feature("compactdefaultargs") TangentOnRst2; + %feature("autodoc", ":rtype: gp_Vec") TangentOnRst2; + const gp_Vec TangentOnRst2 (); + + /****************** Value ******************/ + %feature("compactdefaultargs") Value; + %feature("autodoc", "* computes the values of the Functions for the variable . Returns True if the computation was done successfully, False otherwise. + :param X: + :type X: math_Vector & + :param F: + :type F: math_Vector & + :rtype: bool") Value; + Standard_Boolean Value (const math_Vector & X,math_Vector & F); + + /****************** Values ******************/ + %feature("compactdefaultargs") Values; + %feature("autodoc", "* returns the values of the functions and the derivatives for the variable . Returns True if the computation was done successfully, False otherwise. + :param X: + :type X: math_Vector & + :param F: + :type F: math_Vector & + :param D: + :type D: math_Matrix & + :rtype: bool") Values; + Standard_Boolean Values (const math_Vector & X,math_Vector & F,math_Matrix & D); + }; @@ -1826,227 +1884,253 @@ class BRepBlend_RstRstConstRad : public Blend_RstRstFunction { __repr__ = _dumps_object } }; + +/******************************** +* class BRepBlend_RstRstEvolRad * +********************************/ %nodefaultctor BRepBlend_RstRstEvolRad; class BRepBlend_RstRstEvolRad : public Blend_RstRstFunction { public: + /****************** BRepBlend_RstRstEvolRad ******************/ %feature("compactdefaultargs") BRepBlend_RstRstEvolRad; - %feature("autodoc", " :param Surf1: - :type Surf1: Handle_Adaptor3d_HSurface & + %feature("autodoc", ":param Surf1: + :type Surf1: opencascade::handle & :param Rst1: - :type Rst1: Handle_Adaptor2d_HCurve2d & + :type Rst1: opencascade::handle & :param Surf2: - :type Surf2: Handle_Adaptor3d_HSurface & + :type Surf2: opencascade::handle & :param Rst2: - :type Rst2: Handle_Adaptor2d_HCurve2d & + :type Rst2: opencascade::handle & :param CGuide: - :type CGuide: Handle_Adaptor3d_HCurve & + :type CGuide: opencascade::handle & :param Evol: - :type Evol: Handle_Law_Function & - :rtype: None -") BRepBlend_RstRstEvolRad; - BRepBlend_RstRstEvolRad (const Handle_Adaptor3d_HSurface & Surf1,const Handle_Adaptor2d_HCurve2d & Rst1,const Handle_Adaptor3d_HSurface & Surf2,const Handle_Adaptor2d_HCurve2d & Rst2,const Handle_Adaptor3d_HCurve & CGuide,const Handle_Law_Function & Evol); - %feature("compactdefaultargs") NbVariables; - %feature("autodoc", " * Returns 2. + :type Evol: opencascade::handle & + :rtype: 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); - :rtype: int -") NbVariables; - Standard_Integer NbVariables (); - %feature("compactdefaultargs") NbEquations; - %feature("autodoc", " * Returns 2. + /****************** CenterCircleRst1Rst2 ******************/ + %feature("compactdefaultargs") CenterCircleRst1Rst2; + %feature("autodoc", "* Gives the center of circle defined by PtRst1, PtRst2 and radius ray. + :param PtRst1: + :type PtRst1: gp_Pnt + :param PtRst2: + :type PtRst2: gp_Pnt + :param np: + :type np: gp_Vec + :param Center: + :type Center: gp_Pnt + :param VdMed: + :type VdMed: gp_Vec + :rtype: bool") CenterCircleRst1Rst2; + Standard_Boolean CenterCircleRst1Rst2 (const gp_Pnt & PtRst1,const gp_Pnt & PtRst2,const gp_Vec & np,gp_Pnt & Center,gp_Vec & VdMed); - :rtype: int -") NbEquations; - Standard_Integer NbEquations (); - %feature("compactdefaultargs") Value; - %feature("autodoc", " * computes the values of the Functions for the variable . Returns True if the computation was done successfully, False otherwise. + /****************** Decroch ******************/ + %feature("compactdefaultargs") Decroch; + %feature("autodoc", "* Enables implementation of a criterion of decrochage specific to the function. + :param Sol: + :type Sol: math_Vector & + :param NRst1: + :type NRst1: gp_Vec + :param TgRst1: + :type TgRst1: gp_Vec + :param NRst2: + :type NRst2: gp_Vec + :param TgRst2: + :type TgRst2: gp_Vec + :rtype: Blend_DecrochStatus") Decroch; + Blend_DecrochStatus Decroch (const math_Vector & Sol,gp_Vec & NRst1,gp_Vec & TgRst1,gp_Vec & NRst2,gp_Vec & TgRst2); - :param X: - :type X: math_Vector & - :param F: - :type F: math_Vector & - :rtype: bool -") Value; - Standard_Boolean Value (const math_Vector & X,math_Vector & F); + /****************** Derivatives ******************/ %feature("compactdefaultargs") Derivatives; - %feature("autodoc", " * returns the values of the derivatives for the variable . Returns True if the computation was done successfully, False otherwise. - + %feature("autodoc", "* returns the values of the derivatives for the variable . Returns True if the computation was done successfully, False otherwise. :param X: :type X: math_Vector & :param D: :type D: math_Matrix & - :rtype: bool -") Derivatives; + :rtype: bool") Derivatives; Standard_Boolean Derivatives (const math_Vector & X,math_Matrix & D); - %feature("compactdefaultargs") Values; - %feature("autodoc", " * returns the values of the functions and the derivatives for the variable . Returns True if the computation was done successfully, False otherwise. - :param X: - :type X: math_Vector & - :param F: - :type F: math_Vector & - :param D: - :type D: math_Matrix & - :rtype: bool -") Values; - Standard_Boolean Values (const math_Vector & X,math_Vector & F,math_Matrix & D); - %feature("compactdefaultargs") Set; - %feature("autodoc", " :param SurfRef1: - :type SurfRef1: Handle_Adaptor3d_HSurface & - :param RstRef1: - :type RstRef1: Handle_Adaptor2d_HCurve2d & - :param SurfRef2: - :type SurfRef2: Handle_Adaptor3d_HSurface & - :param RstRef2: - :type RstRef2: Handle_Adaptor2d_HCurve2d & - :rtype: None -") Set; - void Set (const Handle_Adaptor3d_HSurface & SurfRef1,const Handle_Adaptor2d_HCurve2d & RstRef1,const Handle_Adaptor3d_HSurface & SurfRef2,const Handle_Adaptor2d_HCurve2d & RstRef2); - %feature("compactdefaultargs") Set; - %feature("autodoc", " :param Param: - :type Param: float - :rtype: None -") Set; - void Set (const Standard_Real Param); - %feature("compactdefaultargs") Set; - %feature("autodoc", " * Sets the bounds of the parametric interval on the guide line. This determines the derivatives in these values if the function is not Cn. + /****************** GetBounds ******************/ + %feature("compactdefaultargs") GetBounds; + %feature("autodoc", ":param InfBound: + :type InfBound: math_Vector & + :param SupBound: + :type SupBound: math_Vector & + :rtype: None") GetBounds; + void GetBounds (math_Vector & InfBound,math_Vector & SupBound); - :param First: - :type First: float - :param Last: - :type Last: float - :rtype: None -") Set; - void Set (const Standard_Real First,const Standard_Real Last); + /****************** GetMinimalDistance ******************/ + %feature("compactdefaultargs") GetMinimalDistance; + %feature("autodoc", "* Returns the minimal Distance beetween two extremitys of calculed sections. + :rtype: float") GetMinimalDistance; + virtual Standard_Real GetMinimalDistance (); + + /****************** GetMinimalWeight ******************/ + %feature("compactdefaultargs") GetMinimalWeight; + %feature("autodoc", "* Compute the minimal value of weight for each poles of all sections. + :param Weigths: + :type Weigths: TColStd_Array1OfReal & + :rtype: None") GetMinimalWeight; + void GetMinimalWeight (TColStd_Array1OfReal & Weigths); + + /****************** GetSectionSize ******************/ + %feature("compactdefaultargs") GetSectionSize; + %feature("autodoc", "* Returns the length of the maximum section + :rtype: float") GetSectionSize; + Standard_Real GetSectionSize (); + + /****************** GetShape ******************/ + %feature("compactdefaultargs") GetShape; + %feature("autodoc", ":param NbPoles: + :type NbPoles: int & + :param NbKnots: + :type NbKnots: int & + :param Degree: + :type Degree: int & + :param NbPoles2d: + :type NbPoles2d: int & + :rtype: None") GetShape; + void GetShape (Standard_Integer &OutValue,Standard_Integer &OutValue,Standard_Integer &OutValue,Standard_Integer &OutValue); + + /****************** GetTolerance ******************/ %feature("compactdefaultargs") GetTolerance; - %feature("autodoc", " :param Tolerance: + %feature("autodoc", ":param Tolerance: :type Tolerance: math_Vector & :param Tol: :type Tol: float - :rtype: None -") GetTolerance; + :rtype: None") GetTolerance; void GetTolerance (math_Vector & Tolerance,const Standard_Real Tol); - %feature("compactdefaultargs") GetBounds; - %feature("autodoc", " :param InfBound: - :type InfBound: math_Vector & - :param SupBound: - :type SupBound: math_Vector & - :rtype: None -") GetBounds; - void GetBounds (math_Vector & InfBound,math_Vector & SupBound); + + /****************** GetTolerance ******************/ + %feature("compactdefaultargs") GetTolerance; + %feature("autodoc", "* Returns the tolerance to reach in approximation to respecte BoundTol error at the Boundary AngleTol tangent error at the Boundary SurfTol error inside the surface. + :param BoundTol: + :type BoundTol: float + :param SurfTol: + :type SurfTol: float + :param AngleTol: + :type AngleTol: float + :param Tol3d: + :type Tol3d: math_Vector & + :param Tol1D: + :type Tol1D: math_Vector & + :rtype: None") GetTolerance; + void GetTolerance (const Standard_Real BoundTol,const Standard_Real SurfTol,const Standard_Real AngleTol,math_Vector & Tol3d,math_Vector & Tol1D); + + /****************** Intervals ******************/ + %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() + :param T: + :type T: TColStd_Array1OfReal & + :param S: + :type S: GeomAbs_Shape + :rtype: None") Intervals; + void Intervals (TColStd_Array1OfReal & T,const GeomAbs_Shape S); + + /****************** IsRational ******************/ + %feature("compactdefaultargs") IsRational; + %feature("autodoc", "* Returns if the section is rationnal + :rtype: bool") IsRational; + Standard_Boolean IsRational (); + + /****************** IsSolution ******************/ %feature("compactdefaultargs") IsSolution; - %feature("autodoc", " :param Sol: + %feature("autodoc", ":param Sol: :type Sol: math_Vector & :param Tol: :type Tol: float - :rtype: bool -") IsSolution; + :rtype: bool") IsSolution; Standard_Boolean IsSolution (const math_Vector & Sol,const Standard_Real Tol); - %feature("compactdefaultargs") GetMinimalDistance; - %feature("autodoc", " * Returns the minimal Distance beetween two extremitys of calculed sections. - :rtype: float -") GetMinimalDistance; - virtual Standard_Real GetMinimalDistance (); - %feature("compactdefaultargs") PointOnRst1; - %feature("autodoc", " :rtype: gp_Pnt -") PointOnRst1; - const gp_Pnt PointOnRst1 (); - %feature("compactdefaultargs") PointOnRst2; - %feature("autodoc", " :rtype: gp_Pnt -") PointOnRst2; - const gp_Pnt PointOnRst2 (); - %feature("compactdefaultargs") Pnt2dOnRst1; - %feature("autodoc", " * Returns U,V coordinates of the point on the surface. + /****************** IsTangencyPoint ******************/ + %feature("compactdefaultargs") IsTangencyPoint; + %feature("autodoc", ":rtype: bool") IsTangencyPoint; + Standard_Boolean IsTangencyPoint (); - :rtype: gp_Pnt2d -") Pnt2dOnRst1; - const gp_Pnt2d Pnt2dOnRst1 (); - %feature("compactdefaultargs") Pnt2dOnRst2; - %feature("autodoc", " * Returns U,V coordinates of the point on the curve on surface. + /****************** Knots ******************/ + %feature("compactdefaultargs") Knots; + %feature("autodoc", ":param TKnots: + :type TKnots: TColStd_Array1OfReal & + :rtype: None") Knots; + void Knots (TColStd_Array1OfReal & TKnots); - :rtype: gp_Pnt2d -") Pnt2dOnRst2; - const gp_Pnt2d Pnt2dOnRst2 (); - %feature("compactdefaultargs") ParameterOnRst1; - %feature("autodoc", " * Returns parameter of the point on the curve. + /****************** Mults ******************/ + %feature("compactdefaultargs") Mults; + %feature("autodoc", ":param TMults: + :type TMults: TColStd_Array1OfInteger & + :rtype: None") Mults; + void Mults (TColStd_Array1OfInteger & TMults); + + /****************** NbEquations ******************/ + %feature("compactdefaultargs") NbEquations; + %feature("autodoc", "* Returns 2. + :rtype: int") NbEquations; + Standard_Integer NbEquations (); + + /****************** NbIntervals ******************/ + %feature("compactdefaultargs") NbIntervals; + %feature("autodoc", "* Returns the number of intervals for continuity . May be one if Continuity(me) >= + :param S: + :type S: GeomAbs_Shape + :rtype: int") NbIntervals; + Standard_Integer NbIntervals (const GeomAbs_Shape S); + + /****************** NbVariables ******************/ + %feature("compactdefaultargs") NbVariables; + %feature("autodoc", "* Returns 2. + :rtype: int") NbVariables; + Standard_Integer NbVariables (); - :rtype: float -") ParameterOnRst1; + /****************** ParameterOnRst1 ******************/ + %feature("compactdefaultargs") ParameterOnRst1; + %feature("autodoc", "* Returns parameter of the point on the curve. + :rtype: float") ParameterOnRst1; Standard_Real ParameterOnRst1 (); - %feature("compactdefaultargs") ParameterOnRst2; - %feature("autodoc", " * Returns parameter of the point on the curve. - :rtype: float -") ParameterOnRst2; + /****************** ParameterOnRst2 ******************/ + %feature("compactdefaultargs") ParameterOnRst2; + %feature("autodoc", "* Returns parameter of the point on the curve. + :rtype: float") ParameterOnRst2; Standard_Real ParameterOnRst2 (); - %feature("compactdefaultargs") IsTangencyPoint; - %feature("autodoc", " :rtype: bool -") IsTangencyPoint; - Standard_Boolean IsTangencyPoint (); - %feature("compactdefaultargs") TangentOnRst1; - %feature("autodoc", " :rtype: gp_Vec -") TangentOnRst1; - const gp_Vec TangentOnRst1 (); - %feature("compactdefaultargs") Tangent2dOnRst1; - %feature("autodoc", " :rtype: gp_Vec2d -") Tangent2dOnRst1; - const gp_Vec2d Tangent2dOnRst1 (); - %feature("compactdefaultargs") TangentOnRst2; - %feature("autodoc", " :rtype: gp_Vec -") TangentOnRst2; - const gp_Vec TangentOnRst2 (); - %feature("compactdefaultargs") Tangent2dOnRst2; - %feature("autodoc", " :rtype: gp_Vec2d -") Tangent2dOnRst2; - const gp_Vec2d Tangent2dOnRst2 (); - %feature("compactdefaultargs") Decroch; - %feature("autodoc", " * Enables implementation of a criterion of decrochage specific to the function. - :param Sol: - :type Sol: math_Vector & - :param NRst1: - :type NRst1: gp_Vec - :param TgRst1: - :type TgRst1: gp_Vec - :param NRst2: - :type NRst2: gp_Vec - :param TgRst2: - :type TgRst2: gp_Vec - :rtype: Blend_DecrochStatus -") Decroch; - Blend_DecrochStatus Decroch (const math_Vector & Sol,gp_Vec & NRst1,gp_Vec & TgRst1,gp_Vec & NRst2,gp_Vec & TgRst2); - %feature("compactdefaultargs") Set; - %feature("autodoc", " :param Choix: - :type Choix: int - :rtype: None -") Set; - void Set (const Standard_Integer Choix); - %feature("compactdefaultargs") Set; - %feature("autodoc", " * Sets the type of section generation for the approximations. + /****************** Pnt2dOnRst1 ******************/ + %feature("compactdefaultargs") Pnt2dOnRst1; + %feature("autodoc", "* Returns U,V coordinates of the point on the surface. + :rtype: gp_Pnt2d") Pnt2dOnRst1; + const gp_Pnt2d Pnt2dOnRst1 (); - :param TypeSection: - :type TypeSection: BlendFunc_SectionShape - :rtype: None -") Set; - void Set (const BlendFunc_SectionShape TypeSection); - %feature("compactdefaultargs") CenterCircleRst1Rst2; - %feature("autodoc", " * Gives the center of circle defined by PtRst1, PtRst2 and radius ray. + /****************** Pnt2dOnRst2 ******************/ + %feature("compactdefaultargs") Pnt2dOnRst2; + %feature("autodoc", "* Returns U,V coordinates of the point on the curve on surface. + :rtype: gp_Pnt2d") Pnt2dOnRst2; + const gp_Pnt2d Pnt2dOnRst2 (); - :param PtRst1: - :type PtRst1: gp_Pnt - :param PtRst2: - :type PtRst2: gp_Pnt - :param np: - :type np: gp_Vec - :param Center: - :type Center: gp_Pnt - :param VdMed: - :type VdMed: gp_Vec - :rtype: bool -") CenterCircleRst1Rst2; - Standard_Boolean CenterCircleRst1Rst2 (const gp_Pnt & PtRst1,const gp_Pnt & PtRst2,const gp_Vec & np,gp_Pnt & Center,gp_Vec & VdMed); + /****************** PointOnRst1 ******************/ + %feature("compactdefaultargs") PointOnRst1; + %feature("autodoc", ":rtype: gp_Pnt") PointOnRst1; + const gp_Pnt PointOnRst1 (); + + /****************** PointOnRst2 ******************/ + %feature("compactdefaultargs") PointOnRst2; + %feature("autodoc", ":rtype: gp_Pnt") PointOnRst2; + const gp_Pnt PointOnRst2 (); + + /****************** Resolution ******************/ + %feature("compactdefaultargs") Resolution; + %feature("autodoc", ":param IC2d: + :type IC2d: int + :param Tol: + :type Tol: float + :param TolU: + :type TolU: float & + :param TolV: + :type TolV: float & + :rtype: None") Resolution; + void Resolution (const Standard_Integer IC2d,const Standard_Real Tol,Standard_Real &OutValue,Standard_Real &OutValue); + + /****************** Section ******************/ %feature("compactdefaultargs") Section; - %feature("autodoc", " :param Param: + %feature("autodoc", ":param Param: :type Param: float :param U: :type U: float @@ -2058,90 +2142,12 @@ class BRepBlend_RstRstEvolRad : public Blend_RstRstFunction { :type Pfin: float & :param C: :type C: gp_Circ - :rtype: None -") Section; + :rtype: None") Section; void Section (const Standard_Real Param,const Standard_Real U,const Standard_Real V,Standard_Real &OutValue,Standard_Real &OutValue,gp_Circ & C); - %feature("compactdefaultargs") IsRational; - %feature("autodoc", " * Returns if the section is rationnal - - :rtype: bool -") IsRational; - Standard_Boolean IsRational (); - %feature("compactdefaultargs") GetSectionSize; - %feature("autodoc", " * Returns the length of the maximum section - - :rtype: float -") GetSectionSize; - Standard_Real GetSectionSize (); - %feature("compactdefaultargs") GetMinimalWeight; - %feature("autodoc", " * Compute the minimal value of weight for each poles of all sections. - - :param Weigths: - :type Weigths: TColStd_Array1OfReal & - :rtype: None -") GetMinimalWeight; - void GetMinimalWeight (TColStd_Array1OfReal & Weigths); - %feature("compactdefaultargs") NbIntervals; - %feature("autodoc", " * Returns the number of intervals for continuity . May be one if Continuity(me) >= - - :param S: - :type S: GeomAbs_Shape - :rtype: int -") NbIntervals; - Standard_Integer NbIntervals (const GeomAbs_Shape S); - %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() - - :param T: - :type T: TColStd_Array1OfReal & - :param S: - :type S: GeomAbs_Shape - :rtype: None -") Intervals; - void Intervals (TColStd_Array1OfReal & T,const GeomAbs_Shape S); - %feature("compactdefaultargs") GetShape; - %feature("autodoc", " :param NbPoles: - :type NbPoles: int & - :param NbKnots: - :type NbKnots: int & - :param Degree: - :type Degree: int & - :param NbPoles2d: - :type NbPoles2d: int & - :rtype: None -") GetShape; - void GetShape (Standard_Integer &OutValue,Standard_Integer &OutValue,Standard_Integer &OutValue,Standard_Integer &OutValue); - %feature("compactdefaultargs") GetTolerance; - %feature("autodoc", " * Returns the tolerance to reach in approximation to respecte BoundTol error at the Boundary AngleTol tangent error at the Boundary SurfTol error inside the surface. - :param BoundTol: - :type BoundTol: float - :param SurfTol: - :type SurfTol: float - :param AngleTol: - :type AngleTol: float - :param Tol3d: - :type Tol3d: math_Vector & - :param Tol1D: - :type Tol1D: math_Vector & - :rtype: None -") GetTolerance; - void GetTolerance (const Standard_Real BoundTol,const Standard_Real SurfTol,const Standard_Real AngleTol,math_Vector & Tol3d,math_Vector & Tol1D); - %feature("compactdefaultargs") Knots; - %feature("autodoc", " :param TKnots: - :type TKnots: TColStd_Array1OfReal & - :rtype: None -") Knots; - void Knots (TColStd_Array1OfReal & TKnots); - %feature("compactdefaultargs") Mults; - %feature("autodoc", " :param TMults: - :type TMults: TColStd_Array1OfInteger & - :rtype: None -") Mults; - void Mults (TColStd_Array1OfInteger & TMults); + /****************** Section ******************/ %feature("compactdefaultargs") Section; - %feature("autodoc", " * Used for the first and last section - + %feature("autodoc", "* Used for the first and last section :param P: :type P: Blend_Point & :param Poles: @@ -2156,11 +2162,12 @@ class BRepBlend_RstRstEvolRad : public Blend_RstRstFunction { :type Weigths: TColStd_Array1OfReal & :param DWeigths: :type DWeigths: TColStd_Array1OfReal & - :rtype: bool -") Section; + :rtype: bool") Section; Standard_Boolean Section (const Blend_Point & P,TColgp_Array1OfPnt & Poles,TColgp_Array1OfVec & DPoles,TColgp_Array1OfPnt2d & Poles2d,TColgp_Array1OfVec2d & DPoles2d,TColStd_Array1OfReal & Weigths,TColStd_Array1OfReal & DWeigths); + + /****************** Section ******************/ %feature("compactdefaultargs") Section; - %feature("autodoc", " :param P: + %feature("autodoc", ":param P: :type P: Blend_Point & :param Poles: :type Poles: TColgp_Array1OfPnt @@ -2168,12 +2175,12 @@ class BRepBlend_RstRstEvolRad : public Blend_RstRstFunction { :type Poles2d: TColgp_Array1OfPnt2d :param Weigths: :type Weigths: TColStd_Array1OfReal & - :rtype: None -") Section; + :rtype: None") Section; void Section (const Blend_Point & P,TColgp_Array1OfPnt & Poles,TColgp_Array1OfPnt2d & Poles2d,TColStd_Array1OfReal & Weigths); - %feature("compactdefaultargs") Section; - %feature("autodoc", " * Used for the first and last section The method returns Standard_True if the derivatives are computed, otherwise it returns Standard_False. + /****************** Section ******************/ + %feature("compactdefaultargs") Section; + %feature("autodoc", "* Used for the first and last section The method returns Standard_True if the derivatives are computed, otherwise it returns Standard_False. :param P: :type P: Blend_Point & :param Poles: @@ -2194,21 +2201,96 @@ class BRepBlend_RstRstEvolRad : public Blend_RstRstFunction { :type DWeigths: TColStd_Array1OfReal & :param D2Weigths: :type D2Weigths: TColStd_Array1OfReal & - :rtype: bool -") Section; + :rtype: bool") Section; 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); - %feature("compactdefaultargs") Resolution; - %feature("autodoc", " :param IC2d: - :type IC2d: int - :param Tol: - :type Tol: float - :param TolU: - :type TolU: float & - :param TolV: - :type TolV: float & - :rtype: None -") Resolution; - void Resolution (const Standard_Integer IC2d,const Standard_Real Tol,Standard_Real &OutValue,Standard_Real &OutValue); + + /****************** Set ******************/ + %feature("compactdefaultargs") Set; + %feature("autodoc", ":param SurfRef1: + :type SurfRef1: opencascade::handle & + :param RstRef1: + :type RstRef1: opencascade::handle & + :param SurfRef2: + :type SurfRef2: opencascade::handle & + :param RstRef2: + :type RstRef2: opencascade::handle & + :rtype: None") Set; + void Set (const opencascade::handle & SurfRef1,const opencascade::handle & RstRef1,const opencascade::handle & SurfRef2,const opencascade::handle & RstRef2); + + /****************** Set ******************/ + %feature("compactdefaultargs") Set; + %feature("autodoc", ":param Param: + :type Param: float + :rtype: None") Set; + void Set (const Standard_Real Param); + + /****************** Set ******************/ + %feature("compactdefaultargs") Set; + %feature("autodoc", "* Sets the bounds of the parametric interval on the guide line. This determines the derivatives in these values if the function is not Cn. + :param First: + :type First: float + :param Last: + :type Last: float + :rtype: None") Set; + void Set (const Standard_Real First,const Standard_Real Last); + + /****************** Set ******************/ + %feature("compactdefaultargs") Set; + %feature("autodoc", ":param Choix: + :type Choix: int + :rtype: None") Set; + void Set (const Standard_Integer Choix); + + /****************** Set ******************/ + %feature("compactdefaultargs") Set; + %feature("autodoc", "* Sets the type of section generation for the approximations. + :param TypeSection: + :type TypeSection: BlendFunc_SectionShape + :rtype: None") Set; + void Set (const BlendFunc_SectionShape TypeSection); + + /****************** Tangent2dOnRst1 ******************/ + %feature("compactdefaultargs") Tangent2dOnRst1; + %feature("autodoc", ":rtype: gp_Vec2d") Tangent2dOnRst1; + const gp_Vec2d Tangent2dOnRst1 (); + + /****************** Tangent2dOnRst2 ******************/ + %feature("compactdefaultargs") Tangent2dOnRst2; + %feature("autodoc", ":rtype: gp_Vec2d") Tangent2dOnRst2; + const gp_Vec2d Tangent2dOnRst2 (); + + /****************** TangentOnRst1 ******************/ + %feature("compactdefaultargs") TangentOnRst1; + %feature("autodoc", ":rtype: gp_Vec") TangentOnRst1; + const gp_Vec TangentOnRst1 (); + + /****************** TangentOnRst2 ******************/ + %feature("compactdefaultargs") TangentOnRst2; + %feature("autodoc", ":rtype: gp_Vec") TangentOnRst2; + const gp_Vec TangentOnRst2 (); + + /****************** Value ******************/ + %feature("compactdefaultargs") Value; + %feature("autodoc", "* computes the values of the Functions for the variable . Returns True if the computation was done successfully, False otherwise. + :param X: + :type X: math_Vector & + :param F: + :type F: math_Vector & + :rtype: bool") Value; + Standard_Boolean Value (const math_Vector & X,math_Vector & F); + + /****************** Values ******************/ + %feature("compactdefaultargs") Values; + %feature("autodoc", "* returns the values of the functions and the derivatives for the variable . Returns True if the computation was done successfully, False otherwise. + :param X: + :type X: math_Vector & + :param F: + :type F: math_Vector & + :param D: + :type D: math_Matrix & + :rtype: bool") Values; + Standard_Boolean Values (const math_Vector & X,math_Vector & F,math_Matrix & D); + }; @@ -2217,27 +2299,80 @@ class BRepBlend_RstRstEvolRad : public Blend_RstRstFunction { __repr__ = _dumps_object } }; + +/************************************ +* class BRepBlend_RstRstLineBuilder * +************************************/ %nodefaultctor BRepBlend_RstRstLineBuilder; class BRepBlend_RstRstLineBuilder { public: + /****************** BRepBlend_RstRstLineBuilder ******************/ %feature("compactdefaultargs") BRepBlend_RstRstLineBuilder; - %feature("autodoc", " :param Surf1: - :type Surf1: Handle_Adaptor3d_HSurface & + %feature("autodoc", ":param Surf1: + :type Surf1: opencascade::handle & :param Rst1: - :type Rst1: Handle_Adaptor2d_HCurve2d & + :type Rst1: opencascade::handle & :param Domain1: - :type Domain1: Handle_Adaptor3d_TopolTool & + :type Domain1: opencascade::handle & :param Surf2: - :type Surf2: Handle_Adaptor3d_HSurface & + :type Surf2: opencascade::handle & :param Rst2: - :type Rst2: Handle_Adaptor2d_HCurve2d & + :type Rst2: opencascade::handle & :param Domain2: - :type Domain2: Handle_Adaptor3d_TopolTool & - :rtype: None -") BRepBlend_RstRstLineBuilder; - BRepBlend_RstRstLineBuilder (const Handle_Adaptor3d_HSurface & Surf1,const Handle_Adaptor2d_HCurve2d & Rst1,const Handle_Adaptor3d_TopolTool & Domain1,const Handle_Adaptor3d_HSurface & Surf2,const Handle_Adaptor2d_HCurve2d & Rst2,const Handle_Adaptor3d_TopolTool & Domain2); + :type Domain2: opencascade::handle & + :rtype: 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); + + /****************** Complete ******************/ + %feature("compactdefaultargs") Complete; + %feature("autodoc", ":param Func: + :type Func: Blend_RstRstFunction & + :param Finv1: + :type Finv1: Blend_SurfCurvFuncInv & + :param FinvP1: + :type FinvP1: Blend_CurvPointFuncInv & + :param Finv2: + :type Finv2: Blend_SurfCurvFuncInv & + :param FinvP2: + :type FinvP2: Blend_CurvPointFuncInv & + :param Pmin: + :type Pmin: float + :rtype: bool") Complete; + Standard_Boolean Complete (Blend_RstRstFunction & Func,Blend_SurfCurvFuncInv & Finv1,Blend_CurvPointFuncInv & FinvP1,Blend_SurfCurvFuncInv & Finv2,Blend_CurvPointFuncInv & FinvP2,const Standard_Real Pmin); + + /****************** Decroch1End ******************/ + %feature("compactdefaultargs") Decroch1End; + %feature("autodoc", ":rtype: bool") Decroch1End; + Standard_Boolean Decroch1End (); + + /****************** Decroch1Start ******************/ + %feature("compactdefaultargs") Decroch1Start; + %feature("autodoc", ":rtype: bool") Decroch1Start; + Standard_Boolean Decroch1Start (); + + /****************** Decroch2End ******************/ + %feature("compactdefaultargs") Decroch2End; + %feature("autodoc", ":rtype: bool") Decroch2End; + Standard_Boolean Decroch2End (); + + /****************** Decroch2Start ******************/ + %feature("compactdefaultargs") Decroch2Start; + %feature("autodoc", ":rtype: bool") Decroch2Start; + Standard_Boolean Decroch2Start (); + + /****************** IsDone ******************/ + %feature("compactdefaultargs") IsDone; + %feature("autodoc", ":rtype: bool") IsDone; + Standard_Boolean IsDone (); + + /****************** Line ******************/ + %feature("compactdefaultargs") Line; + %feature("autodoc", ":rtype: opencascade::handle") Line; + const opencascade::handle & Line (); + + /****************** Perform ******************/ %feature("compactdefaultargs") Perform; - %feature("autodoc", " :param Func: + %feature("autodoc", ":param Func: :type Func: Blend_RstRstFunction & :param Finv1: :type Finv1: Blend_SurfCurvFuncInv & @@ -2263,11 +2398,12 @@ class BRepBlend_RstRstLineBuilder { :type Fleche: float :param Appro: default value is Standard_False :type Appro: bool - :rtype: None -") Perform; + :rtype: None") Perform; void Perform (Blend_RstRstFunction & Func,Blend_SurfCurvFuncInv & Finv1,Blend_CurvPointFuncInv & FinvP1,Blend_SurfCurvFuncInv & Finv2,Blend_CurvPointFuncInv & FinvP2,const Standard_Real Pdep,const Standard_Real Pmax,const Standard_Real MaxStep,const Standard_Real TolGuide,const math_Vector & Soldep,const Standard_Real Tolesp,const Standard_Real Fleche,const Standard_Boolean Appro = Standard_False); + + /****************** PerformFirstSection ******************/ %feature("compactdefaultargs") PerformFirstSection; - %feature("autodoc", " :param Func: + %feature("autodoc", ":param Func: :type Func: Blend_RstRstFunction & :param Finv1: :type Finv1: Blend_SurfCurvFuncInv & @@ -2299,49 +2435,9 @@ class BRepBlend_RstRstLineBuilder { :type Psol: float & :param ParSol: :type ParSol: math_Vector & - :rtype: bool -") PerformFirstSection; + :rtype: bool") PerformFirstSection; Standard_Boolean PerformFirstSection (Blend_RstRstFunction & Func,Blend_SurfCurvFuncInv & Finv1,Blend_CurvPointFuncInv & FinvP1,Blend_SurfCurvFuncInv & Finv2,Blend_CurvPointFuncInv & FinvP2,const Standard_Real Pdep,const Standard_Real Pmax,const math_Vector & Soldep,const Standard_Real Tolesp,const Standard_Real TolGuide,const Standard_Boolean RecRst1,const Standard_Boolean RecP1,const Standard_Boolean RecRst2,const Standard_Boolean RecP2,Standard_Real &OutValue,math_Vector & ParSol); - %feature("compactdefaultargs") Complete; - %feature("autodoc", " :param Func: - :type Func: Blend_RstRstFunction & - :param Finv1: - :type Finv1: Blend_SurfCurvFuncInv & - :param FinvP1: - :type FinvP1: Blend_CurvPointFuncInv & - :param Finv2: - :type Finv2: Blend_SurfCurvFuncInv & - :param FinvP2: - :type FinvP2: Blend_CurvPointFuncInv & - :param Pmin: - :type Pmin: float - :rtype: bool -") Complete; - Standard_Boolean Complete (Blend_RstRstFunction & Func,Blend_SurfCurvFuncInv & Finv1,Blend_CurvPointFuncInv & FinvP1,Blend_SurfCurvFuncInv & Finv2,Blend_CurvPointFuncInv & FinvP2,const Standard_Real Pmin); - %feature("compactdefaultargs") IsDone; - %feature("autodoc", " :rtype: bool -") IsDone; - Standard_Boolean IsDone (); - %feature("compactdefaultargs") Line; - %feature("autodoc", " :rtype: Handle_BRepBlend_Line -") Line; - Handle_BRepBlend_Line Line (); - %feature("compactdefaultargs") Decroch1Start; - %feature("autodoc", " :rtype: bool -") Decroch1Start; - Standard_Boolean Decroch1Start (); - %feature("compactdefaultargs") Decroch1End; - %feature("autodoc", " :rtype: bool -") Decroch1End; - Standard_Boolean Decroch1End (); - %feature("compactdefaultargs") Decroch2Start; - %feature("autodoc", " :rtype: bool -") Decroch2Start; - Standard_Boolean Decroch2Start (); - %feature("compactdefaultargs") Decroch2End; - %feature("autodoc", " :rtype: bool -") Decroch2End; - Standard_Boolean Decroch2End (); + }; @@ -2350,443 +2446,109 @@ class BRepBlend_RstRstLineBuilder { __repr__ = _dumps_object } }; -%nodefaultctor BRepBlend_SequenceNodeOfSequenceOfLine; -class BRepBlend_SequenceNodeOfSequenceOfLine : public TCollection_SeqNode { - public: - %feature("compactdefaultargs") BRepBlend_SequenceNodeOfSequenceOfLine; - %feature("autodoc", " :param I: - :type I: Handle_BRepBlend_Line & - :param n: - :type n: TCollection_SeqNodePtr & - :param p: - :type p: TCollection_SeqNodePtr & - :rtype: None -") BRepBlend_SequenceNodeOfSequenceOfLine; - BRepBlend_SequenceNodeOfSequenceOfLine (const Handle_BRepBlend_Line & I,const TCollection_SeqNodePtr & n,const TCollection_SeqNodePtr & p); - %feature("compactdefaultargs") Value; - %feature("autodoc", " :rtype: Handle_BRepBlend_Line -") Value; - Handle_BRepBlend_Line Value (); -}; - -%make_alias(BRepBlend_SequenceNodeOfSequenceOfLine) - -%extend BRepBlend_SequenceNodeOfSequenceOfLine { - %pythoncode { - __repr__ = _dumps_object - } -}; -%nodefaultctor BRepBlend_SequenceNodeOfSequenceOfPointOnRst; -class BRepBlend_SequenceNodeOfSequenceOfPointOnRst : public TCollection_SeqNode { +/************************************** +* class BRepBlend_SurfCurvConstRadInv * +**************************************/ +%nodefaultctor BRepBlend_SurfCurvConstRadInv; +class BRepBlend_SurfCurvConstRadInv : public Blend_SurfCurvFuncInv { public: - %feature("compactdefaultargs") BRepBlend_SequenceNodeOfSequenceOfPointOnRst; - %feature("autodoc", " :param I: - :type I: BRepBlend_PointOnRst & - :param n: - :type n: TCollection_SeqNodePtr & - :param p: - :type p: TCollection_SeqNodePtr & - :rtype: None -") BRepBlend_SequenceNodeOfSequenceOfPointOnRst; - BRepBlend_SequenceNodeOfSequenceOfPointOnRst (const BRepBlend_PointOnRst & I,const TCollection_SeqNodePtr & n,const TCollection_SeqNodePtr & p); - %feature("compactdefaultargs") Value; - %feature("autodoc", " :rtype: BRepBlend_PointOnRst -") Value; - BRepBlend_PointOnRst & Value (); -}; - + /****************** BRepBlend_SurfCurvConstRadInv ******************/ + %feature("compactdefaultargs") BRepBlend_SurfCurvConstRadInv; + %feature("autodoc", ":param S: + :type S: opencascade::handle & + :param C: + :type C: opencascade::handle & + :param Cg: + :type Cg: opencascade::handle & + :rtype: None") BRepBlend_SurfCurvConstRadInv; + BRepBlend_SurfCurvConstRadInv (const opencascade::handle & S,const opencascade::handle & C,const opencascade::handle & Cg); -%make_alias(BRepBlend_SequenceNodeOfSequenceOfPointOnRst) + /****************** Derivatives ******************/ + %feature("compactdefaultargs") Derivatives; + %feature("autodoc", "* returns the values of the derivatives for the variable . Returns True if the computation was done successfully, False otherwise. + :param X: + :type X: math_Vector & + :param D: + :type D: math_Matrix & + :rtype: bool") Derivatives; + Standard_Boolean Derivatives (const math_Vector & X,math_Matrix & D); -%extend BRepBlend_SequenceNodeOfSequenceOfPointOnRst { - %pythoncode { - __repr__ = _dumps_object - } -}; -%nodefaultctor BRepBlend_SequenceOfLine; -class BRepBlend_SequenceOfLine : public TCollection_BaseSequence { - public: - %feature("compactdefaultargs") BRepBlend_SequenceOfLine; - %feature("autodoc", " :rtype: None -") BRepBlend_SequenceOfLine; - BRepBlend_SequenceOfLine (); - %feature("compactdefaultargs") BRepBlend_SequenceOfLine; - %feature("autodoc", " :param Other: - :type Other: BRepBlend_SequenceOfLine & - :rtype: None -") BRepBlend_SequenceOfLine; - BRepBlend_SequenceOfLine (const BRepBlend_SequenceOfLine & Other); - %feature("compactdefaultargs") Clear; - %feature("autodoc", " :rtype: None -") Clear; - void Clear (); - %feature("compactdefaultargs") Assign; - %feature("autodoc", " :param Other: - :type Other: BRepBlend_SequenceOfLine & - :rtype: BRepBlend_SequenceOfLine -") Assign; - const BRepBlend_SequenceOfLine & Assign (const BRepBlend_SequenceOfLine & Other); - %feature("compactdefaultargs") operator =; - %feature("autodoc", " :param Other: - :type Other: BRepBlend_SequenceOfLine & - :rtype: BRepBlend_SequenceOfLine -") operator =; - const BRepBlend_SequenceOfLine & operator = (const BRepBlend_SequenceOfLine & Other); - %feature("compactdefaultargs") Append; - %feature("autodoc", " :param T: - :type T: Handle_BRepBlend_Line & - :rtype: None -") Append; - void Append (const Handle_BRepBlend_Line & T); - %feature("compactdefaultargs") Append; - %feature("autodoc", " :param S: - :type S: BRepBlend_SequenceOfLine & - :rtype: None -") Append; - void Append (BRepBlend_SequenceOfLine & S); - %feature("compactdefaultargs") Prepend; - %feature("autodoc", " :param T: - :type T: Handle_BRepBlend_Line & - :rtype: None -") Prepend; - void Prepend (const Handle_BRepBlend_Line & T); - %feature("compactdefaultargs") Prepend; - %feature("autodoc", " :param S: - :type S: BRepBlend_SequenceOfLine & - :rtype: None -") Prepend; - void Prepend (BRepBlend_SequenceOfLine & S); - %feature("compactdefaultargs") InsertBefore; - %feature("autodoc", " :param Index: - :type Index: int - :param T: - :type T: Handle_BRepBlend_Line & - :rtype: None -") InsertBefore; - void InsertBefore (const Standard_Integer Index,const Handle_BRepBlend_Line & T); - %feature("compactdefaultargs") InsertBefore; - %feature("autodoc", " :param Index: - :type Index: int - :param S: - :type S: BRepBlend_SequenceOfLine & - :rtype: None -") InsertBefore; - void InsertBefore (const Standard_Integer Index,BRepBlend_SequenceOfLine & S); - %feature("compactdefaultargs") InsertAfter; - %feature("autodoc", " :param Index: - :type Index: int - :param T: - :type T: Handle_BRepBlend_Line & - :rtype: None -") InsertAfter; - void InsertAfter (const Standard_Integer Index,const Handle_BRepBlend_Line & T); - %feature("compactdefaultargs") InsertAfter; - %feature("autodoc", " :param Index: - :type Index: int - :param S: - :type S: BRepBlend_SequenceOfLine & - :rtype: None -") InsertAfter; - void InsertAfter (const Standard_Integer Index,BRepBlend_SequenceOfLine & S); - %feature("compactdefaultargs") First; - %feature("autodoc", " :rtype: Handle_BRepBlend_Line -") First; - Handle_BRepBlend_Line First (); - %feature("compactdefaultargs") Last; - %feature("autodoc", " :rtype: Handle_BRepBlend_Line -") Last; - Handle_BRepBlend_Line Last (); - %feature("compactdefaultargs") Split; - %feature("autodoc", " :param Index: - :type Index: int - :param Sub: - :type Sub: BRepBlend_SequenceOfLine & - :rtype: None -") Split; - void Split (const Standard_Integer Index,BRepBlend_SequenceOfLine & Sub); - %feature("compactdefaultargs") Value; - %feature("autodoc", " :param Index: - :type Index: int - :rtype: Handle_BRepBlend_Line -") Value; - Handle_BRepBlend_Line Value (const Standard_Integer Index); - %feature("compactdefaultargs") SetValue; - %feature("autodoc", " :param Index: - :type Index: int - :param I: - :type I: Handle_BRepBlend_Line & - :rtype: None -") SetValue; - void SetValue (const Standard_Integer Index,const Handle_BRepBlend_Line & I); - %feature("compactdefaultargs") ChangeValue; - %feature("autodoc", " :param Index: - :type Index: int - :rtype: Handle_BRepBlend_Line -") ChangeValue; - Handle_BRepBlend_Line ChangeValue (const Standard_Integer Index); - %feature("compactdefaultargs") Remove; - %feature("autodoc", " :param Index: - :type Index: int - :rtype: None -") Remove; - void Remove (const Standard_Integer Index); - %feature("compactdefaultargs") Remove; - %feature("autodoc", " :param FromIndex: - :type FromIndex: int - :param ToIndex: - :type ToIndex: int - :rtype: None -") Remove; - void Remove (const Standard_Integer FromIndex,const Standard_Integer ToIndex); -}; + /****************** GetBounds ******************/ + %feature("compactdefaultargs") GetBounds; + %feature("autodoc", "* Returns in the vector InfBound the lowest values allowed for each of the 3 variables. Returns in the vector SupBound the greatest values allowed for each of the 3 variables. + :param InfBound: + :type InfBound: math_Vector & + :param SupBound: + :type SupBound: math_Vector & + :rtype: None") GetBounds; + void GetBounds (math_Vector & InfBound,math_Vector & SupBound); + /****************** GetTolerance ******************/ + %feature("compactdefaultargs") GetTolerance; + %feature("autodoc", "* Returns in the vector Tolerance the parametric tolerance for each of the 3 variables; Tol is the tolerance used in 3d space. + :param Tolerance: + :type Tolerance: math_Vector & + :param Tol: + :type Tol: float + :rtype: None") GetTolerance; + void GetTolerance (math_Vector & Tolerance,const Standard_Real Tol); -%extend BRepBlend_SequenceOfLine { - %pythoncode { - __repr__ = _dumps_object - } -}; -%nodefaultctor BRepBlend_SequenceOfPointOnRst; -class BRepBlend_SequenceOfPointOnRst : public TCollection_BaseSequence { - public: - %feature("compactdefaultargs") BRepBlend_SequenceOfPointOnRst; - %feature("autodoc", " :rtype: None -") BRepBlend_SequenceOfPointOnRst; - BRepBlend_SequenceOfPointOnRst (); - %feature("compactdefaultargs") BRepBlend_SequenceOfPointOnRst; - %feature("autodoc", " :param Other: - :type Other: BRepBlend_SequenceOfPointOnRst & - :rtype: None -") BRepBlend_SequenceOfPointOnRst; - BRepBlend_SequenceOfPointOnRst (const BRepBlend_SequenceOfPointOnRst & Other); - %feature("compactdefaultargs") Clear; - %feature("autodoc", " :rtype: None -") Clear; - void Clear (); - %feature("compactdefaultargs") Assign; - %feature("autodoc", " :param Other: - :type Other: BRepBlend_SequenceOfPointOnRst & - :rtype: BRepBlend_SequenceOfPointOnRst -") Assign; - const BRepBlend_SequenceOfPointOnRst & Assign (const BRepBlend_SequenceOfPointOnRst & Other); - %feature("compactdefaultargs") operator =; - %feature("autodoc", " :param Other: - :type Other: BRepBlend_SequenceOfPointOnRst & - :rtype: BRepBlend_SequenceOfPointOnRst -") operator =; - const BRepBlend_SequenceOfPointOnRst & operator = (const BRepBlend_SequenceOfPointOnRst & Other); - %feature("compactdefaultargs") Append; - %feature("autodoc", " :param T: - :type T: BRepBlend_PointOnRst & - :rtype: None -") Append; - void Append (const BRepBlend_PointOnRst & T); - %feature("compactdefaultargs") Append; - %feature("autodoc", " :param S: - :type S: BRepBlend_SequenceOfPointOnRst & - :rtype: None -") Append; - void Append (BRepBlend_SequenceOfPointOnRst & S); - %feature("compactdefaultargs") Prepend; - %feature("autodoc", " :param T: - :type T: BRepBlend_PointOnRst & - :rtype: None -") Prepend; - void Prepend (const BRepBlend_PointOnRst & T); - %feature("compactdefaultargs") Prepend; - %feature("autodoc", " :param S: - :type S: BRepBlend_SequenceOfPointOnRst & - :rtype: None -") Prepend; - void Prepend (BRepBlend_SequenceOfPointOnRst & S); - %feature("compactdefaultargs") InsertBefore; - %feature("autodoc", " :param Index: - :type Index: int - :param T: - :type T: BRepBlend_PointOnRst & - :rtype: None -") InsertBefore; - void InsertBefore (const Standard_Integer Index,const BRepBlend_PointOnRst & T); - %feature("compactdefaultargs") InsertBefore; - %feature("autodoc", " :param Index: - :type Index: int - :param S: - :type S: BRepBlend_SequenceOfPointOnRst & - :rtype: None -") InsertBefore; - void InsertBefore (const Standard_Integer Index,BRepBlend_SequenceOfPointOnRst & S); - %feature("compactdefaultargs") InsertAfter; - %feature("autodoc", " :param Index: - :type Index: int - :param T: - :type T: BRepBlend_PointOnRst & - :rtype: None -") InsertAfter; - void InsertAfter (const Standard_Integer Index,const BRepBlend_PointOnRst & T); - %feature("compactdefaultargs") InsertAfter; - %feature("autodoc", " :param Index: - :type Index: int - :param S: - :type S: BRepBlend_SequenceOfPointOnRst & - :rtype: None -") InsertAfter; - void InsertAfter (const Standard_Integer Index,BRepBlend_SequenceOfPointOnRst & S); - %feature("compactdefaultargs") First; - %feature("autodoc", " :rtype: BRepBlend_PointOnRst -") First; - const BRepBlend_PointOnRst & First (); - %feature("compactdefaultargs") Last; - %feature("autodoc", " :rtype: BRepBlend_PointOnRst -") Last; - const BRepBlend_PointOnRst & Last (); - %feature("compactdefaultargs") Split; - %feature("autodoc", " :param Index: - :type Index: int - :param Sub: - :type Sub: BRepBlend_SequenceOfPointOnRst & - :rtype: None -") Split; - void Split (const Standard_Integer Index,BRepBlend_SequenceOfPointOnRst & Sub); - %feature("compactdefaultargs") Value; - %feature("autodoc", " :param Index: - :type Index: int - :rtype: BRepBlend_PointOnRst -") Value; - const BRepBlend_PointOnRst & Value (const Standard_Integer Index); - %feature("compactdefaultargs") SetValue; - %feature("autodoc", " :param Index: - :type Index: int - :param I: - :type I: BRepBlend_PointOnRst & - :rtype: None -") SetValue; - void SetValue (const Standard_Integer Index,const BRepBlend_PointOnRst & I); - %feature("compactdefaultargs") ChangeValue; - %feature("autodoc", " :param Index: - :type Index: int - :rtype: BRepBlend_PointOnRst -") ChangeValue; - BRepBlend_PointOnRst & ChangeValue (const Standard_Integer Index); - %feature("compactdefaultargs") Remove; - %feature("autodoc", " :param Index: - :type Index: int - :rtype: None -") Remove; - void Remove (const Standard_Integer Index); - %feature("compactdefaultargs") Remove; - %feature("autodoc", " :param FromIndex: - :type FromIndex: int - :param ToIndex: - :type ToIndex: int - :rtype: None -") Remove; - void Remove (const Standard_Integer FromIndex,const Standard_Integer ToIndex); -}; + /****************** IsSolution ******************/ + %feature("compactdefaultargs") IsSolution; + %feature("autodoc", "* Returns Standard_True if Sol is a zero of the function. Tol is the tolerance used in 3d space. + :param Sol: + :type Sol: math_Vector & + :param Tol: + :type Tol: float + :rtype: bool") IsSolution; + Standard_Boolean IsSolution (const math_Vector & Sol,const Standard_Real Tol); + /****************** NbEquations ******************/ + %feature("compactdefaultargs") NbEquations; + %feature("autodoc", "* returns 3. + :rtype: int") NbEquations; + Standard_Integer NbEquations (); -%extend BRepBlend_SequenceOfPointOnRst { - %pythoncode { - __repr__ = _dumps_object - } -}; -%nodefaultctor BRepBlend_SurfCurvConstRadInv; -class BRepBlend_SurfCurvConstRadInv : public Blend_SurfCurvFuncInv { - public: - %feature("compactdefaultargs") BRepBlend_SurfCurvConstRadInv; - %feature("autodoc", " :param S: - :type S: Handle_Adaptor3d_HSurface & - :param C: - :type C: Handle_Adaptor3d_HCurve & - :param Cg: - :type Cg: Handle_Adaptor3d_HCurve & - :rtype: None -") BRepBlend_SurfCurvConstRadInv; - BRepBlend_SurfCurvConstRadInv (const Handle_Adaptor3d_HSurface & S,const Handle_Adaptor3d_HCurve & C,const Handle_Adaptor3d_HCurve & Cg); + /****************** Set ******************/ %feature("compactdefaultargs") Set; - %feature("autodoc", " :param R: + %feature("autodoc", ":param R: :type R: float :param Choix: :type Choix: int - :rtype: None -") Set; + :rtype: None") Set; void Set (const Standard_Real R,const Standard_Integer Choix); - %feature("compactdefaultargs") NbEquations; - %feature("autodoc", " * returns 3. - :rtype: int -") NbEquations; - Standard_Integer NbEquations (); - %feature("compactdefaultargs") Value; - %feature("autodoc", " * computes the values of the Functions for the variable . Returns True if the computation was done successfully, False otherwise. + /****************** Set ******************/ + %feature("compactdefaultargs") Set; + %feature("autodoc", "* Set the restriction on which a solution has to be found. + :param Rst: + :type Rst: opencascade::handle & + :rtype: None") Set; + void Set (const opencascade::handle & Rst); + /****************** Value ******************/ + %feature("compactdefaultargs") Value; + %feature("autodoc", "* computes the values of the Functions for the variable . Returns True if the computation was done successfully, False otherwise. :param X: :type X: math_Vector & :param F: :type F: math_Vector & - :rtype: bool -") Value; + :rtype: bool") Value; Standard_Boolean Value (const math_Vector & X,math_Vector & F); - %feature("compactdefaultargs") Derivatives; - %feature("autodoc", " * returns the values of the derivatives for the variable . Returns True if the computation was done successfully, False otherwise. - :param X: - :type X: math_Vector & - :param D: - :type D: math_Matrix & - :rtype: bool -") Derivatives; - Standard_Boolean Derivatives (const math_Vector & X,math_Matrix & D); + /****************** Values ******************/ %feature("compactdefaultargs") Values; - %feature("autodoc", " * returns the values of the functions and the derivatives for the variable . Returns True if the computation was done successfully, False otherwise. - + %feature("autodoc", "* returns the values of the functions and the derivatives for the variable . Returns True if the computation was done successfully, False otherwise. :param X: :type X: math_Vector & :param F: :type F: math_Vector & :param D: :type D: math_Matrix & - :rtype: bool -") Values; + :rtype: bool") Values; Standard_Boolean Values (const math_Vector & X,math_Vector & F,math_Matrix & D); - %feature("compactdefaultargs") Set; - %feature("autodoc", " * Set the restriction on which a solution has to be found. - - :param Rst: - :type Rst: Handle_Adaptor2d_HCurve2d & - :rtype: None -") Set; - void Set (const Handle_Adaptor2d_HCurve2d & Rst); - %feature("compactdefaultargs") GetTolerance; - %feature("autodoc", " * Returns in the vector Tolerance the parametric tolerance for each of the 3 variables; Tol is the tolerance used in 3d space. - - :param Tolerance: - :type Tolerance: math_Vector & - :param Tol: - :type Tol: float - :rtype: None -") GetTolerance; - void GetTolerance (math_Vector & Tolerance,const Standard_Real Tol); - %feature("compactdefaultargs") GetBounds; - %feature("autodoc", " * Returns in the vector InfBound the lowest values allowed for each of the 3 variables. Returns in the vector SupBound the greatest values allowed for each of the 3 variables. - - :param InfBound: - :type InfBound: math_Vector & - :param SupBound: - :type SupBound: math_Vector & - :rtype: None -") GetBounds; - void GetBounds (math_Vector & InfBound,math_Vector & SupBound); - %feature("compactdefaultargs") IsSolution; - %feature("autodoc", " * Returns Standard_True if Sol is a zero of the function. Tol is the tolerance used in 3d space. - :param Sol: - :type Sol: math_Vector & - :param Tol: - :type Tol: float - :rtype: bool -") IsSolution; - Standard_Boolean IsSolution (const math_Vector & Sol,const Standard_Real Tol); }; @@ -2795,562 +2557,409 @@ class BRepBlend_SurfCurvConstRadInv : public Blend_SurfCurvFuncInv { __repr__ = _dumps_object } }; + +/************************************* +* class BRepBlend_SurfCurvEvolRadInv * +*************************************/ %nodefaultctor BRepBlend_SurfCurvEvolRadInv; class BRepBlend_SurfCurvEvolRadInv : public Blend_SurfCurvFuncInv { public: + /****************** BRepBlend_SurfCurvEvolRadInv ******************/ %feature("compactdefaultargs") BRepBlend_SurfCurvEvolRadInv; - %feature("autodoc", " :param S: - :type S: Handle_Adaptor3d_HSurface & + %feature("autodoc", ":param S: + :type S: opencascade::handle & :param C: - :type C: Handle_Adaptor3d_HCurve & + :type C: opencascade::handle & :param Cg: - :type Cg: Handle_Adaptor3d_HCurve & + :type Cg: opencascade::handle & :param Evol: - :type Evol: Handle_Law_Function & - :rtype: None -") BRepBlend_SurfCurvEvolRadInv; - BRepBlend_SurfCurvEvolRadInv (const Handle_Adaptor3d_HSurface & S,const Handle_Adaptor3d_HCurve & C,const Handle_Adaptor3d_HCurve & Cg,const Handle_Law_Function & Evol); - %feature("compactdefaultargs") Set; - %feature("autodoc", " :param Choix: - :type Choix: int - :rtype: None -") Set; - void Set (const Standard_Integer Choix); - %feature("compactdefaultargs") NbEquations; - %feature("autodoc", " * returns 3. - - :rtype: int -") NbEquations; - Standard_Integer NbEquations (); - %feature("compactdefaultargs") Value; - %feature("autodoc", " * computes the values of the Functions for the variable . Returns True if the computation was done successfully, False otherwise. + :type Evol: opencascade::handle & + :rtype: None") BRepBlend_SurfCurvEvolRadInv; + BRepBlend_SurfCurvEvolRadInv (const opencascade::handle & S,const opencascade::handle & C,const opencascade::handle & Cg,const opencascade::handle & Evol); - :param X: - :type X: math_Vector & - :param F: - :type F: math_Vector & - :rtype: bool -") Value; - Standard_Boolean Value (const math_Vector & X,math_Vector & F); + /****************** Derivatives ******************/ %feature("compactdefaultargs") Derivatives; - %feature("autodoc", " * returns the values of the derivatives for the variable . Returns True if the computation was done successfully, False otherwise. - + %feature("autodoc", "* returns the values of the derivatives for the variable . Returns True if the computation was done successfully, False otherwise. :param X: :type X: math_Vector & :param D: :type D: math_Matrix & - :rtype: bool -") Derivatives; + :rtype: bool") Derivatives; Standard_Boolean Derivatives (const math_Vector & X,math_Matrix & D); - %feature("compactdefaultargs") Values; - %feature("autodoc", " * returns the values of the functions and the derivatives for the variable . Returns True if the computation was done successfully, False otherwise. - :param X: - :type X: math_Vector & - :param F: - :type F: math_Vector & - :param D: - :type D: math_Matrix & - :rtype: bool -") Values; - Standard_Boolean Values (const math_Vector & X,math_Vector & F,math_Matrix & D); - %feature("compactdefaultargs") Set; - %feature("autodoc", " * Set the restriction on which a solution has to be found. + /****************** GetBounds ******************/ + %feature("compactdefaultargs") GetBounds; + %feature("autodoc", "* Returns in the vector InfBound the lowest values allowed for each of the 3 variables. Returns in the vector SupBound the greatest values allowed for each of the 3 variables. + :param InfBound: + :type InfBound: math_Vector & + :param SupBound: + :type SupBound: math_Vector & + :rtype: None") GetBounds; + void GetBounds (math_Vector & InfBound,math_Vector & SupBound); - :param Rst: - :type Rst: Handle_Adaptor2d_HCurve2d & - :rtype: None -") Set; - void Set (const Handle_Adaptor2d_HCurve2d & Rst); + /****************** GetTolerance ******************/ %feature("compactdefaultargs") GetTolerance; - %feature("autodoc", " * Returns in the vector Tolerance the parametric tolerance for each of the 3 variables; Tol is the tolerance used in 3d space. - + %feature("autodoc", "* Returns in the vector Tolerance the parametric tolerance for each of the 3 variables; Tol is the tolerance used in 3d space. :param Tolerance: :type Tolerance: math_Vector & :param Tol: :type Tol: float - :rtype: None -") GetTolerance; + :rtype: None") GetTolerance; void GetTolerance (math_Vector & Tolerance,const Standard_Real Tol); - %feature("compactdefaultargs") GetBounds; - %feature("autodoc", " * Returns in the vector InfBound the lowest values allowed for each of the 3 variables. Returns in the vector SupBound the greatest values allowed for each of the 3 variables. - :param InfBound: - :type InfBound: math_Vector & - :param SupBound: - :type SupBound: math_Vector & - :rtype: None -") GetBounds; - void GetBounds (math_Vector & InfBound,math_Vector & SupBound); + /****************** IsSolution ******************/ %feature("compactdefaultargs") IsSolution; - %feature("autodoc", " * Returns Standard_True if Sol is a zero of the function. Tol is the tolerance used in 3d space. - + %feature("autodoc", "* Returns Standard_True if Sol is a zero of the function. Tol is the tolerance used in 3d space. :param Sol: :type Sol: math_Vector & :param Tol: :type Tol: float - :rtype: bool -") IsSolution; + :rtype: bool") IsSolution; Standard_Boolean IsSolution (const math_Vector & Sol,const Standard_Real Tol); -}; + /****************** NbEquations ******************/ + %feature("compactdefaultargs") NbEquations; + %feature("autodoc", "* returns 3. + :rtype: int") NbEquations; + Standard_Integer NbEquations (); -%extend BRepBlend_SurfCurvEvolRadInv { - %pythoncode { - __repr__ = _dumps_object - } -}; -%nodefaultctor BRepBlend_SurfPointConstRadInv; -class BRepBlend_SurfPointConstRadInv : public Blend_SurfPointFuncInv { - public: - %feature("compactdefaultargs") BRepBlend_SurfPointConstRadInv; - %feature("autodoc", " :param S: - :type S: Handle_Adaptor3d_HSurface & - :param C: - :type C: Handle_Adaptor3d_HCurve & - :rtype: None -") BRepBlend_SurfPointConstRadInv; - BRepBlend_SurfPointConstRadInv (const Handle_Adaptor3d_HSurface & S,const Handle_Adaptor3d_HCurve & C); + /****************** Set ******************/ %feature("compactdefaultargs") Set; - %feature("autodoc", " :param R: - :type R: float - :param Choix: + %feature("autodoc", ":param Choix: :type Choix: int - :rtype: None -") Set; - void Set (const Standard_Real R,const Standard_Integer Choix); - %feature("compactdefaultargs") NbEquations; - %feature("autodoc", " * returns 3. + :rtype: None") Set; + void Set (const Standard_Integer Choix); - :rtype: int -") NbEquations; - Standard_Integer NbEquations (); - %feature("compactdefaultargs") Value; - %feature("autodoc", " * computes the values of the Functions for the variable . Returns True if the computation was done successfully, False otherwise. + /****************** Set ******************/ + %feature("compactdefaultargs") Set; + %feature("autodoc", "* Set the restriction on which a solution has to be found. + :param Rst: + :type Rst: opencascade::handle & + :rtype: None") Set; + void Set (const opencascade::handle & Rst); + /****************** Value ******************/ + %feature("compactdefaultargs") Value; + %feature("autodoc", "* computes the values of the Functions for the variable . Returns True if the computation was done successfully, False otherwise. :param X: :type X: math_Vector & :param F: :type F: math_Vector & - :rtype: bool -") Value; + :rtype: bool") Value; Standard_Boolean Value (const math_Vector & X,math_Vector & F); - %feature("compactdefaultargs") Derivatives; - %feature("autodoc", " * returns the values of the derivatives for the variable . Returns True if the computation was done successfully, False otherwise. - :param X: - :type X: math_Vector & - :param D: - :type D: math_Matrix & - :rtype: bool -") Derivatives; - Standard_Boolean Derivatives (const math_Vector & X,math_Matrix & D); + /****************** Values ******************/ %feature("compactdefaultargs") Values; - %feature("autodoc", " * returns the values of the functions and the derivatives for the variable . Returns True if the computation was done successfully, False otherwise. - + %feature("autodoc", "* returns the values of the functions and the derivatives for the variable . Returns True if the computation was done successfully, False otherwise. :param X: :type X: math_Vector & :param F: :type F: math_Vector & :param D: :type D: math_Matrix & - :rtype: bool -") Values; + :rtype: bool") Values; Standard_Boolean Values (const math_Vector & X,math_Vector & F,math_Matrix & D); - %feature("compactdefaultargs") Set; - %feature("autodoc", " * Set the Point on which a solution has to be found. - - :param P: - :type P: gp_Pnt - :rtype: None -") Set; - void Set (const gp_Pnt & P); - %feature("compactdefaultargs") GetTolerance; - %feature("autodoc", " * Returns in the vector Tolerance the parametric tolerance for each of the 3 variables; Tol is the tolerance used in 3d space. - - :param Tolerance: - :type Tolerance: math_Vector & - :param Tol: - :type Tol: float - :rtype: None -") GetTolerance; - void GetTolerance (math_Vector & Tolerance,const Standard_Real Tol); - %feature("compactdefaultargs") GetBounds; - %feature("autodoc", " * Returns in the vector InfBound the lowest values allowed for each of the 3 variables. Returns in the vector SupBound the greatest values allowed for each of the 3 variables. - - :param InfBound: - :type InfBound: math_Vector & - :param SupBound: - :type SupBound: math_Vector & - :rtype: None -") GetBounds; - void GetBounds (math_Vector & InfBound,math_Vector & SupBound); - %feature("compactdefaultargs") IsSolution; - %feature("autodoc", " * Returns Standard_True if Sol is a zero of the function. Tol is the tolerance used in 3d space. - :param Sol: - :type Sol: math_Vector & - :param Tol: - :type Tol: float - :rtype: bool -") IsSolution; - Standard_Boolean IsSolution (const math_Vector & Sol,const Standard_Real Tol); }; -%extend BRepBlend_SurfPointConstRadInv { +%extend BRepBlend_SurfCurvEvolRadInv { %pythoncode { __repr__ = _dumps_object } }; -%nodefaultctor BRepBlend_SurfPointEvolRadInv; -class BRepBlend_SurfPointEvolRadInv : public Blend_SurfPointFuncInv { - public: - %feature("compactdefaultargs") BRepBlend_SurfPointEvolRadInv; - %feature("autodoc", " :param S: - :type S: Handle_Adaptor3d_HSurface & - :param C: - :type C: Handle_Adaptor3d_HCurve & - :param Evol: - :type Evol: Handle_Law_Function & - :rtype: None -") BRepBlend_SurfPointEvolRadInv; - BRepBlend_SurfPointEvolRadInv (const Handle_Adaptor3d_HSurface & S,const Handle_Adaptor3d_HCurve & C,const Handle_Law_Function & Evol); - %feature("compactdefaultargs") Set; - %feature("autodoc", " :param Choix: - :type Choix: int - :rtype: None -") Set; - void Set (const Standard_Integer Choix); - %feature("compactdefaultargs") NbEquations; - %feature("autodoc", " * returns 3. - :rtype: int -") NbEquations; - Standard_Integer NbEquations (); - %feature("compactdefaultargs") Value; - %feature("autodoc", " * computes the values of the Functions for the variable . Returns True if the computation was done successfully, False otherwise. +/*************************************** +* class BRepBlend_SurfPointConstRadInv * +***************************************/ +%nodefaultctor BRepBlend_SurfPointConstRadInv; +class BRepBlend_SurfPointConstRadInv : public Blend_SurfPointFuncInv { + public: + /****************** BRepBlend_SurfPointConstRadInv ******************/ + %feature("compactdefaultargs") BRepBlend_SurfPointConstRadInv; + %feature("autodoc", ":param S: + :type S: opencascade::handle & + :param C: + :type C: opencascade::handle & + :rtype: None") BRepBlend_SurfPointConstRadInv; + BRepBlend_SurfPointConstRadInv (const opencascade::handle & S,const opencascade::handle & C); - :param X: - :type X: math_Vector & - :param F: - :type F: math_Vector & - :rtype: bool -") Value; - Standard_Boolean Value (const math_Vector & X,math_Vector & F); + /****************** Derivatives ******************/ %feature("compactdefaultargs") Derivatives; - %feature("autodoc", " * returns the values of the derivatives for the variable . Returns True if the computation was done successfully, False otherwise. - + %feature("autodoc", "* returns the values of the derivatives for the variable . Returns True if the computation was done successfully, False otherwise. :param X: :type X: math_Vector & :param D: :type D: math_Matrix & - :rtype: bool -") Derivatives; + :rtype: bool") Derivatives; Standard_Boolean Derivatives (const math_Vector & X,math_Matrix & D); - %feature("compactdefaultargs") Values; - %feature("autodoc", " * returns the values of the functions and the derivatives for the variable . Returns True if the computation was done successfully, False otherwise. - :param X: - :type X: math_Vector & - :param F: - :type F: math_Vector & - :param D: - :type D: math_Matrix & - :rtype: bool -") Values; - Standard_Boolean Values (const math_Vector & X,math_Vector & F,math_Matrix & D); - %feature("compactdefaultargs") Set; - %feature("autodoc", " * Set the Point on which a solution has to be found. + /****************** GetBounds ******************/ + %feature("compactdefaultargs") GetBounds; + %feature("autodoc", "* Returns in the vector InfBound the lowest values allowed for each of the 3 variables. Returns in the vector SupBound the greatest values allowed for each of the 3 variables. + :param InfBound: + :type InfBound: math_Vector & + :param SupBound: + :type SupBound: math_Vector & + :rtype: None") GetBounds; + void GetBounds (math_Vector & InfBound,math_Vector & SupBound); - :param P: - :type P: gp_Pnt - :rtype: None -") Set; - void Set (const gp_Pnt & P); + /****************** GetTolerance ******************/ %feature("compactdefaultargs") GetTolerance; - %feature("autodoc", " * Returns in the vector Tolerance the parametric tolerance for each of the 3 variables; Tol is the tolerance used in 3d space. - + %feature("autodoc", "* Returns in the vector Tolerance the parametric tolerance for each of the 3 variables; Tol is the tolerance used in 3d space. :param Tolerance: :type Tolerance: math_Vector & :param Tol: :type Tol: float - :rtype: None -") GetTolerance; + :rtype: None") GetTolerance; void GetTolerance (math_Vector & Tolerance,const Standard_Real Tol); - %feature("compactdefaultargs") GetBounds; - %feature("autodoc", " * Returns in the vector InfBound the lowest values allowed for each of the 3 variables. Returns in the vector SupBound the greatest values allowed for each of the 3 variables. - :param InfBound: - :type InfBound: math_Vector & - :param SupBound: - :type SupBound: math_Vector & - :rtype: None -") GetBounds; - void GetBounds (math_Vector & InfBound,math_Vector & SupBound); + /****************** IsSolution ******************/ %feature("compactdefaultargs") IsSolution; - %feature("autodoc", " * Returns Standard_True if Sol is a zero of the function. Tol is the tolerance used in 3d space. - + %feature("autodoc", "* Returns Standard_True if Sol is a zero of the function. Tol is the tolerance used in 3d space. :param Sol: :type Sol: math_Vector & :param Tol: :type Tol: float - :rtype: bool -") IsSolution; + :rtype: bool") IsSolution; Standard_Boolean IsSolution (const math_Vector & Sol,const Standard_Real Tol); -}; + /****************** NbEquations ******************/ + %feature("compactdefaultargs") NbEquations; + %feature("autodoc", "* returns 3. + :rtype: int") NbEquations; + Standard_Integer NbEquations (); -%extend BRepBlend_SurfPointEvolRadInv { - %pythoncode { - __repr__ = _dumps_object - } -}; -%nodefaultctor BRepBlend_SurfRstConstRad; -class BRepBlend_SurfRstConstRad : public Blend_SurfRstFunction { - public: - %feature("compactdefaultargs") BRepBlend_SurfRstConstRad; - %feature("autodoc", " :param Surf: - :type Surf: Handle_Adaptor3d_HSurface & - :param SurfRst: - :type SurfRst: Handle_Adaptor3d_HSurface & - :param Rst: - :type Rst: Handle_Adaptor2d_HCurve2d & - :param CGuide: - :type CGuide: Handle_Adaptor3d_HCurve & - :rtype: None -") BRepBlend_SurfRstConstRad; - BRepBlend_SurfRstConstRad (const Handle_Adaptor3d_HSurface & Surf,const Handle_Adaptor3d_HSurface & SurfRst,const Handle_Adaptor2d_HCurve2d & Rst,const Handle_Adaptor3d_HCurve & CGuide); - %feature("compactdefaultargs") NbVariables; - %feature("autodoc", " * Returns 3. + /****************** Set ******************/ + %feature("compactdefaultargs") Set; + %feature("autodoc", ":param R: + :type R: float + :param Choix: + :type Choix: int + :rtype: None") Set; + void Set (const Standard_Real R,const Standard_Integer Choix); - :rtype: int -") NbVariables; - Standard_Integer NbVariables (); - %feature("compactdefaultargs") NbEquations; - %feature("autodoc", " * Returns 3. + /****************** Set ******************/ + %feature("compactdefaultargs") Set; + %feature("autodoc", "* Set the Point on which a solution has to be found. + :param P: + :type P: gp_Pnt + :rtype: None") Set; + void Set (const gp_Pnt & P); - :rtype: int -") NbEquations; - Standard_Integer NbEquations (); + /****************** Value ******************/ %feature("compactdefaultargs") Value; - %feature("autodoc", " * computes the values of the Functions for the variable . Returns True if the computation was done successfully, False otherwise. - + %feature("autodoc", "* computes the values of the Functions for the variable . Returns True if the computation was done successfully, False otherwise. :param X: :type X: math_Vector & :param F: :type F: math_Vector & - :rtype: bool -") Value; + :rtype: bool") Value; Standard_Boolean Value (const math_Vector & X,math_Vector & F); - %feature("compactdefaultargs") Derivatives; - %feature("autodoc", " * returns the values of the derivatives for the variable . Returns True if the computation was done successfully, False otherwise. + /****************** Values ******************/ + %feature("compactdefaultargs") Values; + %feature("autodoc", "* returns the values of the functions and the derivatives for the variable . Returns True if the computation was done successfully, False otherwise. :param X: :type X: math_Vector & + :param F: + :type F: math_Vector & :param D: :type D: math_Matrix & - :rtype: bool -") Derivatives; - Standard_Boolean Derivatives (const math_Vector & X,math_Matrix & D); - %feature("compactdefaultargs") Values; - %feature("autodoc", " * returns the values of the functions and the derivatives for the variable . Returns True if the computation was done successfully, False otherwise. + :rtype: bool") Values; + Standard_Boolean Values (const math_Vector & X,math_Vector & F,math_Matrix & D); + +}; + + +%extend BRepBlend_SurfPointConstRadInv { + %pythoncode { + __repr__ = _dumps_object + } +}; + +/************************************** +* class BRepBlend_SurfPointEvolRadInv * +**************************************/ +%nodefaultctor BRepBlend_SurfPointEvolRadInv; +class BRepBlend_SurfPointEvolRadInv : public Blend_SurfPointFuncInv { + public: + /****************** BRepBlend_SurfPointEvolRadInv ******************/ + %feature("compactdefaultargs") BRepBlend_SurfPointEvolRadInv; + %feature("autodoc", ":param S: + :type S: opencascade::handle & + :param C: + :type C: opencascade::handle & + :param Evol: + :type Evol: opencascade::handle & + :rtype: None") BRepBlend_SurfPointEvolRadInv; + BRepBlend_SurfPointEvolRadInv (const opencascade::handle & S,const opencascade::handle & C,const opencascade::handle & Evol); + /****************** Derivatives ******************/ + %feature("compactdefaultargs") Derivatives; + %feature("autodoc", "* returns the values of the derivatives for the variable . Returns True if the computation was done successfully, False otherwise. :param X: :type X: math_Vector & - :param F: - :type F: math_Vector & :param D: :type D: math_Matrix & - :rtype: bool -") Values; - Standard_Boolean Values (const math_Vector & X,math_Vector & F,math_Matrix & D); - %feature("compactdefaultargs") Set; - %feature("autodoc", " :param SurfRef: - :type SurfRef: Handle_Adaptor3d_HSurface & - :param RstRef: - :type RstRef: Handle_Adaptor2d_HCurve2d & - :rtype: None -") Set; - void Set (const Handle_Adaptor3d_HSurface & SurfRef,const Handle_Adaptor2d_HCurve2d & RstRef); - %feature("compactdefaultargs") Set; - %feature("autodoc", " :param Param: - :type Param: float - :rtype: None -") Set; - void Set (const Standard_Real Param); - %feature("compactdefaultargs") Set; - %feature("autodoc", " * Sets the bounds of the parametric interval on the guide line. This determines the derivatives in these values if the function is not Cn. + :rtype: bool") Derivatives; + Standard_Boolean Derivatives (const math_Vector & X,math_Matrix & D); - :param First: - :type First: float - :param Last: - :type Last: float - :rtype: None -") Set; - void Set (const Standard_Real First,const Standard_Real Last); - %feature("compactdefaultargs") GetTolerance; - %feature("autodoc", " :param Tolerance: - :type Tolerance: math_Vector & - :param Tol: - :type Tol: float - :rtype: None -") GetTolerance; - void GetTolerance (math_Vector & Tolerance,const Standard_Real Tol); + /****************** GetBounds ******************/ %feature("compactdefaultargs") GetBounds; - %feature("autodoc", " :param InfBound: + %feature("autodoc", "* Returns in the vector InfBound the lowest values allowed for each of the 3 variables. Returns in the vector SupBound the greatest values allowed for each of the 3 variables. + :param InfBound: :type InfBound: math_Vector & :param SupBound: :type SupBound: math_Vector & - :rtype: None -") GetBounds; + :rtype: None") GetBounds; void GetBounds (math_Vector & InfBound,math_Vector & SupBound); + + /****************** GetTolerance ******************/ + %feature("compactdefaultargs") GetTolerance; + %feature("autodoc", "* Returns in the vector Tolerance the parametric tolerance for each of the 3 variables; Tol is the tolerance used in 3d space. + :param Tolerance: + :type Tolerance: math_Vector & + :param Tol: + :type Tol: float + :rtype: None") GetTolerance; + void GetTolerance (math_Vector & Tolerance,const Standard_Real Tol); + + /****************** IsSolution ******************/ %feature("compactdefaultargs") IsSolution; - %feature("autodoc", " :param Sol: + %feature("autodoc", "* Returns Standard_True if Sol is a zero of the function. Tol is the tolerance used in 3d space. + :param Sol: :type Sol: math_Vector & :param Tol: :type Tol: float - :rtype: bool -") IsSolution; + :rtype: bool") IsSolution; Standard_Boolean IsSolution (const math_Vector & Sol,const Standard_Real Tol); - %feature("compactdefaultargs") GetMinimalDistance; - %feature("autodoc", " * Returns the minimal Distance beetween two extremitys of calculed sections. - :rtype: float -") GetMinimalDistance; - virtual Standard_Real GetMinimalDistance (); - %feature("compactdefaultargs") PointOnS; - %feature("autodoc", " :rtype: gp_Pnt -") PointOnS; - const gp_Pnt PointOnS (); - %feature("compactdefaultargs") PointOnRst; - %feature("autodoc", " :rtype: gp_Pnt -") PointOnRst; - const gp_Pnt PointOnRst (); - %feature("compactdefaultargs") Pnt2dOnS; - %feature("autodoc", " * Returns U,V coordinates of the point on the surface. + /****************** NbEquations ******************/ + %feature("compactdefaultargs") NbEquations; + %feature("autodoc", "* returns 3. + :rtype: int") NbEquations; + Standard_Integer NbEquations (); - :rtype: gp_Pnt2d -") Pnt2dOnS; - const gp_Pnt2d Pnt2dOnS (); - %feature("compactdefaultargs") Pnt2dOnRst; - %feature("autodoc", " * Returns U,V coordinates of the point on the curve on surface. + /****************** Set ******************/ + %feature("compactdefaultargs") Set; + %feature("autodoc", ":param Choix: + :type Choix: int + :rtype: None") Set; + void Set (const Standard_Integer Choix); - :rtype: gp_Pnt2d -") Pnt2dOnRst; - const gp_Pnt2d Pnt2dOnRst (); - %feature("compactdefaultargs") ParameterOnRst; - %feature("autodoc", " * Returns parameter of the point on the curve. + /****************** Set ******************/ + %feature("compactdefaultargs") Set; + %feature("autodoc", "* Set the Point on which a solution has to be found. + :param P: + :type P: gp_Pnt + :rtype: None") Set; + void Set (const gp_Pnt & P); - :rtype: float -") ParameterOnRst; - Standard_Real ParameterOnRst (); - %feature("compactdefaultargs") IsTangencyPoint; - %feature("autodoc", " :rtype: bool -") IsTangencyPoint; - Standard_Boolean IsTangencyPoint (); - %feature("compactdefaultargs") TangentOnS; - %feature("autodoc", " :rtype: gp_Vec -") TangentOnS; - const gp_Vec TangentOnS (); - %feature("compactdefaultargs") Tangent2dOnS; - %feature("autodoc", " :rtype: gp_Vec2d -") Tangent2dOnS; - const gp_Vec2d Tangent2dOnS (); - %feature("compactdefaultargs") TangentOnRst; - %feature("autodoc", " :rtype: gp_Vec -") TangentOnRst; - const gp_Vec TangentOnRst (); - %feature("compactdefaultargs") Tangent2dOnRst; - %feature("autodoc", " :rtype: gp_Vec2d -") Tangent2dOnRst; - const gp_Vec2d Tangent2dOnRst (); - %feature("compactdefaultargs") Decroch; - %feature("autodoc", " * Enables implementation of a criterion of decrochage specific to the function. Warning: Can be called without previous call of issolution but the values calculated can be senseless. + /****************** Value ******************/ + %feature("compactdefaultargs") Value; + %feature("autodoc", "* computes the values of the Functions for the variable . Returns True if the computation was done successfully, False otherwise. + :param X: + :type X: math_Vector & + :param F: + :type F: math_Vector & + :rtype: bool") Value; + Standard_Boolean Value (const math_Vector & X,math_Vector & F); + + /****************** Values ******************/ + %feature("compactdefaultargs") Values; + %feature("autodoc", "* returns the values of the functions and the derivatives for the variable . Returns True if the computation was done successfully, False otherwise. + :param X: + :type X: math_Vector & + :param F: + :type F: math_Vector & + :param D: + :type D: math_Matrix & + :rtype: bool") Values; + Standard_Boolean Values (const math_Vector & X,math_Vector & F,math_Matrix & D); + +}; + + +%extend BRepBlend_SurfPointEvolRadInv { + %pythoncode { + __repr__ = _dumps_object + } +}; + +/********************************** +* class BRepBlend_SurfRstConstRad * +**********************************/ +%nodefaultctor BRepBlend_SurfRstConstRad; +class BRepBlend_SurfRstConstRad : public Blend_SurfRstFunction { + public: + /****************** BRepBlend_SurfRstConstRad ******************/ + %feature("compactdefaultargs") BRepBlend_SurfRstConstRad; + %feature("autodoc", ":param Surf: + :type Surf: opencascade::handle & + :param SurfRst: + :type SurfRst: opencascade::handle & + :param Rst: + :type Rst: opencascade::handle & + :param CGuide: + :type CGuide: opencascade::handle & + :rtype: None") BRepBlend_SurfRstConstRad; + BRepBlend_SurfRstConstRad (const opencascade::handle & Surf,const opencascade::handle & SurfRst,const opencascade::handle & Rst,const opencascade::handle & CGuide); + /****************** Decroch ******************/ + %feature("compactdefaultargs") Decroch; + %feature("autodoc", "* Enables implementation of a criterion of decrochage specific to the function. Warning: Can be called without previous call of issolution but the values calculated can be senseless. :param Sol: :type Sol: math_Vector & :param NS: :type NS: gp_Vec :param TgS: :type TgS: gp_Vec - :rtype: bool -") Decroch; + :rtype: bool") Decroch; Standard_Boolean Decroch (const math_Vector & Sol,gp_Vec & NS,gp_Vec & TgS); - %feature("compactdefaultargs") Set; - %feature("autodoc", " :param Radius: - :type Radius: float - :param Choix: - :type Choix: int - :rtype: None -") Set; - void Set (const Standard_Real Radius,const Standard_Integer Choix); - %feature("compactdefaultargs") Set; - %feature("autodoc", " * Sets the type of section generation for the approximations. - :param TypeSection: - :type TypeSection: BlendFunc_SectionShape - :rtype: None -") Set; - void Set (const BlendFunc_SectionShape TypeSection); - %feature("compactdefaultargs") Section; - %feature("autodoc", " :param Param: - :type Param: float - :param U: - :type U: float - :param V: - :type V: float - :param W: - :type W: float - :param Pdeb: - :type Pdeb: float & - :param Pfin: - :type Pfin: float & - :param C: - :type C: gp_Circ - :rtype: None -") Section; - void Section (const Standard_Real Param,const Standard_Real U,const Standard_Real V,const Standard_Real W,Standard_Real &OutValue,Standard_Real &OutValue,gp_Circ & C); - %feature("compactdefaultargs") IsRational; - %feature("autodoc", " * Returns if the section is rationnal + /****************** Derivatives ******************/ + %feature("compactdefaultargs") Derivatives; + %feature("autodoc", "* returns the values of the derivatives for the variable . Returns True if the computation was done successfully, False otherwise. + :param X: + :type X: math_Vector & + :param D: + :type D: math_Matrix & + :rtype: bool") Derivatives; + Standard_Boolean Derivatives (const math_Vector & X,math_Matrix & D); - :rtype: bool -") IsRational; - Standard_Boolean IsRational (); - %feature("compactdefaultargs") GetSectionSize; - %feature("autodoc", " * Returns the length of the maximum section + /****************** GetBounds ******************/ + %feature("compactdefaultargs") GetBounds; + %feature("autodoc", ":param InfBound: + :type InfBound: math_Vector & + :param SupBound: + :type SupBound: math_Vector & + :rtype: None") GetBounds; + void GetBounds (math_Vector & InfBound,math_Vector & SupBound); - :rtype: float -") GetSectionSize; - Standard_Real GetSectionSize (); - %feature("compactdefaultargs") GetMinimalWeight; - %feature("autodoc", " * Compute the minimal value of weight for each poles of all sections. + /****************** GetMinimalDistance ******************/ + %feature("compactdefaultargs") GetMinimalDistance; + %feature("autodoc", "* Returns the minimal Distance beetween two extremitys of calculed sections. + :rtype: float") GetMinimalDistance; + virtual Standard_Real GetMinimalDistance (); + /****************** GetMinimalWeight ******************/ + %feature("compactdefaultargs") GetMinimalWeight; + %feature("autodoc", "* Compute the minimal value of weight for each poles of all sections. :param Weigths: :type Weigths: TColStd_Array1OfReal & - :rtype: None -") GetMinimalWeight; + :rtype: None") GetMinimalWeight; void GetMinimalWeight (TColStd_Array1OfReal & Weigths); - %feature("compactdefaultargs") NbIntervals; - %feature("autodoc", " * Returns the number of intervals for continuity . May be one if Continuity(me) >= - :param S: - :type S: GeomAbs_Shape - :rtype: int -") NbIntervals; - Standard_Integer NbIntervals (const GeomAbs_Shape S); - %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() + /****************** GetSectionSize ******************/ + %feature("compactdefaultargs") GetSectionSize; + %feature("autodoc", "* Returns the length of the maximum section + :rtype: float") GetSectionSize; + Standard_Real GetSectionSize (); - :param T: - :type T: TColStd_Array1OfReal & - :param S: - :type S: GeomAbs_Shape - :rtype: None -") Intervals; - void Intervals (TColStd_Array1OfReal & T,const GeomAbs_Shape S); + /****************** GetShape ******************/ %feature("compactdefaultargs") GetShape; - %feature("autodoc", " :param NbPoles: + %feature("autodoc", ":param NbPoles: :type NbPoles: int & :param NbKnots: :type NbKnots: int & @@ -3358,12 +2967,21 @@ class BRepBlend_SurfRstConstRad : public Blend_SurfRstFunction { :type Degree: int & :param NbPoles2d: :type NbPoles2d: int & - :rtype: None -") GetShape; + :rtype: None") GetShape; void GetShape (Standard_Integer &OutValue,Standard_Integer &OutValue,Standard_Integer &OutValue,Standard_Integer &OutValue); + + /****************** GetTolerance ******************/ %feature("compactdefaultargs") GetTolerance; - %feature("autodoc", " * Returns the tolerance to reach in approximation to respecte BoundTol error at the Boundary AngleTol tangent error at the Boundary SurfTol error inside the surface. + %feature("autodoc", ":param Tolerance: + :type Tolerance: math_Vector & + :param Tol: + :type Tol: float + :rtype: None") GetTolerance; + void GetTolerance (math_Vector & Tolerance,const Standard_Real Tol); + /****************** GetTolerance ******************/ + %feature("compactdefaultargs") GetTolerance; + %feature("autodoc", "* Returns the tolerance to reach in approximation to respecte BoundTol error at the Boundary AngleTol tangent error at the Boundary SurfTol error inside the surface. :param BoundTol: :type BoundTol: float :param SurfTol: @@ -3374,24 +2992,136 @@ class BRepBlend_SurfRstConstRad : public Blend_SurfRstFunction { :type Tol3d: math_Vector & :param Tol1D: :type Tol1D: math_Vector & - :rtype: None -") GetTolerance; + :rtype: None") GetTolerance; void GetTolerance (const Standard_Real BoundTol,const Standard_Real SurfTol,const Standard_Real AngleTol,math_Vector & Tol3d,math_Vector & Tol1D); - %feature("compactdefaultargs") Knots; - %feature("autodoc", " :param TKnots: - :type TKnots: TColStd_Array1OfReal & - :rtype: None -") Knots; + + /****************** Intervals ******************/ + %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() + :param T: + :type T: TColStd_Array1OfReal & + :param S: + :type S: GeomAbs_Shape + :rtype: None") Intervals; + void Intervals (TColStd_Array1OfReal & T,const GeomAbs_Shape S); + + /****************** IsRational ******************/ + %feature("compactdefaultargs") IsRational; + %feature("autodoc", "* Returns if the section is rationnal + :rtype: bool") IsRational; + Standard_Boolean IsRational (); + + /****************** IsSolution ******************/ + %feature("compactdefaultargs") IsSolution; + %feature("autodoc", ":param Sol: + :type Sol: math_Vector & + :param Tol: + :type Tol: float + :rtype: bool") IsSolution; + Standard_Boolean IsSolution (const math_Vector & Sol,const Standard_Real Tol); + + /****************** IsTangencyPoint ******************/ + %feature("compactdefaultargs") IsTangencyPoint; + %feature("autodoc", ":rtype: bool") IsTangencyPoint; + Standard_Boolean IsTangencyPoint (); + + /****************** Knots ******************/ + %feature("compactdefaultargs") Knots; + %feature("autodoc", ":param TKnots: + :type TKnots: TColStd_Array1OfReal & + :rtype: None") Knots; void Knots (TColStd_Array1OfReal & TKnots); + + /****************** Mults ******************/ %feature("compactdefaultargs") Mults; - %feature("autodoc", " :param TMults: + %feature("autodoc", ":param TMults: :type TMults: TColStd_Array1OfInteger & - :rtype: None -") Mults; + :rtype: None") Mults; void Mults (TColStd_Array1OfInteger & TMults); + + /****************** NbEquations ******************/ + %feature("compactdefaultargs") NbEquations; + %feature("autodoc", "* Returns 3. + :rtype: int") NbEquations; + Standard_Integer NbEquations (); + + /****************** NbIntervals ******************/ + %feature("compactdefaultargs") NbIntervals; + %feature("autodoc", "* Returns the number of intervals for continuity . May be one if Continuity(me) >= + :param S: + :type S: GeomAbs_Shape + :rtype: int") NbIntervals; + Standard_Integer NbIntervals (const GeomAbs_Shape S); + + /****************** NbVariables ******************/ + %feature("compactdefaultargs") NbVariables; + %feature("autodoc", "* Returns 3. + :rtype: int") NbVariables; + Standard_Integer NbVariables (); + + /****************** ParameterOnRst ******************/ + %feature("compactdefaultargs") ParameterOnRst; + %feature("autodoc", "* Returns parameter of the point on the curve. + :rtype: float") ParameterOnRst; + Standard_Real ParameterOnRst (); + + /****************** Pnt2dOnRst ******************/ + %feature("compactdefaultargs") Pnt2dOnRst; + %feature("autodoc", "* Returns U,V coordinates of the point on the curve on surface. + :rtype: gp_Pnt2d") Pnt2dOnRst; + const gp_Pnt2d Pnt2dOnRst (); + + /****************** Pnt2dOnS ******************/ + %feature("compactdefaultargs") Pnt2dOnS; + %feature("autodoc", "* Returns U,V coordinates of the point on the surface. + :rtype: gp_Pnt2d") Pnt2dOnS; + const gp_Pnt2d Pnt2dOnS (); + + /****************** PointOnRst ******************/ + %feature("compactdefaultargs") PointOnRst; + %feature("autodoc", ":rtype: gp_Pnt") PointOnRst; + const gp_Pnt PointOnRst (); + + /****************** PointOnS ******************/ + %feature("compactdefaultargs") PointOnS; + %feature("autodoc", ":rtype: gp_Pnt") PointOnS; + const gp_Pnt PointOnS (); + + /****************** Resolution ******************/ + %feature("compactdefaultargs") Resolution; + %feature("autodoc", ":param IC2d: + :type IC2d: int + :param Tol: + :type Tol: float + :param TolU: + :type TolU: float & + :param TolV: + :type TolV: float & + :rtype: None") Resolution; + void Resolution (const Standard_Integer IC2d,const Standard_Real Tol,Standard_Real &OutValue,Standard_Real &OutValue); + + /****************** Section ******************/ %feature("compactdefaultargs") Section; - %feature("autodoc", " * Used for the first and last section + %feature("autodoc", ":param Param: + :type Param: float + :param U: + :type U: float + :param V: + :type V: float + :param W: + :type W: float + :param Pdeb: + :type Pdeb: float & + :param Pfin: + :type Pfin: float & + :param C: + :type C: gp_Circ + :rtype: None") Section; + void Section (const Standard_Real Param,const Standard_Real U,const Standard_Real V,const Standard_Real W,Standard_Real &OutValue,Standard_Real &OutValue,gp_Circ & C); + /****************** Section ******************/ + %feature("compactdefaultargs") Section; + %feature("autodoc", "* Used for the first and last section :param P: :type P: Blend_Point & :param Poles: @@ -3406,12 +3136,12 @@ class BRepBlend_SurfRstConstRad : public Blend_SurfRstFunction { :type Weigths: TColStd_Array1OfReal & :param DWeigths: :type DWeigths: TColStd_Array1OfReal & - :rtype: bool -") Section; + :rtype: bool") Section; Standard_Boolean Section (const Blend_Point & P,TColgp_Array1OfPnt & Poles,TColgp_Array1OfVec & DPoles,TColgp_Array1OfPnt2d & Poles2d,TColgp_Array1OfVec2d & DPoles2d,TColStd_Array1OfReal & Weigths,TColStd_Array1OfReal & DWeigths); - %feature("compactdefaultargs") Section; - %feature("autodoc", " * Used for the first and last section The method returns Standard_True if the derivatives are computed, otherwise it returns Standard_False. + /****************** Section ******************/ + %feature("compactdefaultargs") Section; + %feature("autodoc", "* Used for the first and last section The method returns Standard_True if the derivatives are computed, otherwise it returns Standard_False. :param P: :type P: Blend_Point & :param Poles: @@ -3432,11 +3162,12 @@ class BRepBlend_SurfRstConstRad : public Blend_SurfRstFunction { :type DWeigths: TColStd_Array1OfReal & :param D2Weigths: :type D2Weigths: TColStd_Array1OfReal & - :rtype: bool -") Section; + :rtype: bool") Section; 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); + + /****************** Section ******************/ %feature("compactdefaultargs") Section; - %feature("autodoc", " :param P: + %feature("autodoc", ":param P: :type P: Blend_Point & :param Poles: :type Poles: TColgp_Array1OfPnt @@ -3444,274 +3175,178 @@ class BRepBlend_SurfRstConstRad : public Blend_SurfRstFunction { :type Poles2d: TColgp_Array1OfPnt2d :param Weigths: :type Weigths: TColStd_Array1OfReal & - :rtype: None -") Section; + :rtype: None") Section; void Section (const Blend_Point & P,TColgp_Array1OfPnt & Poles,TColgp_Array1OfPnt2d & Poles2d,TColStd_Array1OfReal & Weigths); - %feature("compactdefaultargs") Resolution; - %feature("autodoc", " :param IC2d: - :type IC2d: int - :param Tol: - :type Tol: float - :param TolU: - :type TolU: float & - :param TolV: - :type TolV: float & - :rtype: None -") Resolution; - void Resolution (const Standard_Integer IC2d,const Standard_Real Tol,Standard_Real &OutValue,Standard_Real &OutValue); -}; + /****************** Set ******************/ + %feature("compactdefaultargs") Set; + %feature("autodoc", ":param SurfRef: + :type SurfRef: opencascade::handle & + :param RstRef: + :type RstRef: opencascade::handle & + :rtype: None") Set; + void Set (const opencascade::handle & SurfRef,const opencascade::handle & RstRef); -%extend BRepBlend_SurfRstConstRad { - %pythoncode { - __repr__ = _dumps_object - } -}; -%nodefaultctor BRepBlend_SurfRstEvolRad; -class BRepBlend_SurfRstEvolRad : public Blend_SurfRstFunction { - public: - %feature("compactdefaultargs") BRepBlend_SurfRstEvolRad; - %feature("autodoc", " :param Surf: - :type Surf: Handle_Adaptor3d_HSurface & - :param SurfRst: - :type SurfRst: Handle_Adaptor3d_HSurface & - :param Rst: - :type Rst: Handle_Adaptor2d_HCurve2d & - :param CGuide: - :type CGuide: Handle_Adaptor3d_HCurve & - :param Evol: - :type Evol: Handle_Law_Function & - :rtype: None -") BRepBlend_SurfRstEvolRad; - BRepBlend_SurfRstEvolRad (const Handle_Adaptor3d_HSurface & Surf,const Handle_Adaptor3d_HSurface & SurfRst,const Handle_Adaptor2d_HCurve2d & Rst,const Handle_Adaptor3d_HCurve & CGuide,const Handle_Law_Function & Evol); - %feature("compactdefaultargs") NbVariables; - %feature("autodoc", " * Returns 3. + /****************** Set ******************/ + %feature("compactdefaultargs") Set; + %feature("autodoc", ":param Param: + :type Param: float + :rtype: None") Set; + void Set (const Standard_Real Param); - :rtype: int -") NbVariables; - Standard_Integer NbVariables (); - %feature("compactdefaultargs") NbEquations; - %feature("autodoc", " * Returns 3. + /****************** Set ******************/ + %feature("compactdefaultargs") Set; + %feature("autodoc", "* Sets the bounds of the parametric interval on the guide line. This determines the derivatives in these values if the function is not Cn. + :param First: + :type First: float + :param Last: + :type Last: float + :rtype: None") Set; + void Set (const Standard_Real First,const Standard_Real Last); - :rtype: int -") NbEquations; - Standard_Integer NbEquations (); - %feature("compactdefaultargs") Value; - %feature("autodoc", " * computes the values of the Functions for the variable . Returns True if the computation was done successfully, False otherwise. + /****************** Set ******************/ + %feature("compactdefaultargs") Set; + %feature("autodoc", ":param Radius: + :type Radius: float + :param Choix: + :type Choix: int + :rtype: None") Set; + void Set (const Standard_Real Radius,const Standard_Integer Choix); + + /****************** Set ******************/ + %feature("compactdefaultargs") Set; + %feature("autodoc", "* Sets the type of section generation for the approximations. + :param TypeSection: + :type TypeSection: BlendFunc_SectionShape + :rtype: None") Set; + void Set (const BlendFunc_SectionShape TypeSection); + + /****************** Tangent2dOnRst ******************/ + %feature("compactdefaultargs") Tangent2dOnRst; + %feature("autodoc", ":rtype: gp_Vec2d") Tangent2dOnRst; + const gp_Vec2d Tangent2dOnRst (); + /****************** Tangent2dOnS ******************/ + %feature("compactdefaultargs") Tangent2dOnS; + %feature("autodoc", ":rtype: gp_Vec2d") Tangent2dOnS; + const gp_Vec2d Tangent2dOnS (); + + /****************** TangentOnRst ******************/ + %feature("compactdefaultargs") TangentOnRst; + %feature("autodoc", ":rtype: gp_Vec") TangentOnRst; + const gp_Vec TangentOnRst (); + + /****************** TangentOnS ******************/ + %feature("compactdefaultargs") TangentOnS; + %feature("autodoc", ":rtype: gp_Vec") TangentOnS; + const gp_Vec TangentOnS (); + + /****************** Value ******************/ + %feature("compactdefaultargs") Value; + %feature("autodoc", "* computes the values of the Functions for the variable . Returns True if the computation was done successfully, False otherwise. :param X: :type X: math_Vector & :param F: :type F: math_Vector & - :rtype: bool -") Value; + :rtype: bool") Value; Standard_Boolean Value (const math_Vector & X,math_Vector & F); - %feature("compactdefaultargs") Derivatives; - %feature("autodoc", " * returns the values of the derivatives for the variable . Returns True if the computation was done successfully, False otherwise. - :param X: - :type X: math_Vector & - :param D: - :type D: math_Matrix & - :rtype: bool -") Derivatives; - Standard_Boolean Derivatives (const math_Vector & X,math_Matrix & D); + /****************** Values ******************/ %feature("compactdefaultargs") Values; - %feature("autodoc", " * returns the values of the functions and the derivatives for the variable . Returns True if the computation was done successfully, False otherwise. - + %feature("autodoc", "* returns the values of the functions and the derivatives for the variable . Returns True if the computation was done successfully, False otherwise. :param X: :type X: math_Vector & :param F: :type F: math_Vector & :param D: :type D: math_Matrix & - :rtype: bool -") Values; + :rtype: bool") Values; Standard_Boolean Values (const math_Vector & X,math_Vector & F,math_Matrix & D); - %feature("compactdefaultargs") Set; - %feature("autodoc", " :param SurfRef: - :type SurfRef: Handle_Adaptor3d_HSurface & - :param RstRef: - :type RstRef: Handle_Adaptor2d_HCurve2d & - :rtype: None -") Set; - void Set (const Handle_Adaptor3d_HSurface & SurfRef,const Handle_Adaptor2d_HCurve2d & RstRef); - %feature("compactdefaultargs") Set; - %feature("autodoc", " :param Param: - :type Param: float - :rtype: None -") Set; - void Set (const Standard_Real Param); - %feature("compactdefaultargs") Set; - %feature("autodoc", " * Sets the bounds of the parametric interval on the guide line. This determines the derivatives in these values if the function is not Cn. - :param First: - :type First: float - :param Last: - :type Last: float - :rtype: None -") Set; - void Set (const Standard_Real First,const Standard_Real Last); - %feature("compactdefaultargs") GetTolerance; - %feature("autodoc", " :param Tolerance: - :type Tolerance: math_Vector & - :param Tol: - :type Tol: float - :rtype: None -") GetTolerance; - void GetTolerance (math_Vector & Tolerance,const Standard_Real Tol); - %feature("compactdefaultargs") GetBounds; - %feature("autodoc", " :param InfBound: - :type InfBound: math_Vector & - :param SupBound: - :type SupBound: math_Vector & - :rtype: None -") GetBounds; - void GetBounds (math_Vector & InfBound,math_Vector & SupBound); - %feature("compactdefaultargs") IsSolution; - %feature("autodoc", " :param Sol: - :type Sol: math_Vector & - :param Tol: - :type Tol: float - :rtype: bool -") IsSolution; - Standard_Boolean IsSolution (const math_Vector & Sol,const Standard_Real Tol); - %feature("compactdefaultargs") GetMinimalDistance; - %feature("autodoc", " * Returns the minimal Distance beetween two extremitys of calculed sections. +}; - :rtype: float -") GetMinimalDistance; - virtual Standard_Real GetMinimalDistance (); - %feature("compactdefaultargs") PointOnS; - %feature("autodoc", " :rtype: gp_Pnt -") PointOnS; - const gp_Pnt PointOnS (); - %feature("compactdefaultargs") PointOnRst; - %feature("autodoc", " :rtype: gp_Pnt -") PointOnRst; - const gp_Pnt PointOnRst (); - %feature("compactdefaultargs") Pnt2dOnS; - %feature("autodoc", " * Returns U,V coordinates of the point on the surface. - :rtype: gp_Pnt2d -") Pnt2dOnS; - const gp_Pnt2d Pnt2dOnS (); - %feature("compactdefaultargs") Pnt2dOnRst; - %feature("autodoc", " * Returns U,V coordinates of the point on the curve on surface. +%extend BRepBlend_SurfRstConstRad { + %pythoncode { + __repr__ = _dumps_object + } +}; - :rtype: gp_Pnt2d -") Pnt2dOnRst; - const gp_Pnt2d Pnt2dOnRst (); - %feature("compactdefaultargs") ParameterOnRst; - %feature("autodoc", " * Returns parameter of the point on the curve. +/********************************* +* class BRepBlend_SurfRstEvolRad * +*********************************/ +%nodefaultctor BRepBlend_SurfRstEvolRad; +class BRepBlend_SurfRstEvolRad : public Blend_SurfRstFunction { + public: + /****************** BRepBlend_SurfRstEvolRad ******************/ + %feature("compactdefaultargs") BRepBlend_SurfRstEvolRad; + %feature("autodoc", ":param Surf: + :type Surf: opencascade::handle & + :param SurfRst: + :type SurfRst: opencascade::handle & + :param Rst: + :type Rst: opencascade::handle & + :param CGuide: + :type CGuide: opencascade::handle & + :param Evol: + :type Evol: opencascade::handle & + :rtype: 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); - :rtype: float -") ParameterOnRst; - Standard_Real ParameterOnRst (); - %feature("compactdefaultargs") IsTangencyPoint; - %feature("autodoc", " :rtype: bool -") IsTangencyPoint; - Standard_Boolean IsTangencyPoint (); - %feature("compactdefaultargs") TangentOnS; - %feature("autodoc", " :rtype: gp_Vec -") TangentOnS; - const gp_Vec TangentOnS (); - %feature("compactdefaultargs") Tangent2dOnS; - %feature("autodoc", " :rtype: gp_Vec2d -") Tangent2dOnS; - const gp_Vec2d Tangent2dOnS (); - %feature("compactdefaultargs") TangentOnRst; - %feature("autodoc", " :rtype: gp_Vec -") TangentOnRst; - const gp_Vec TangentOnRst (); - %feature("compactdefaultargs") Tangent2dOnRst; - %feature("autodoc", " :rtype: gp_Vec2d -") Tangent2dOnRst; - const gp_Vec2d Tangent2dOnRst (); + /****************** Decroch ******************/ %feature("compactdefaultargs") Decroch; - %feature("autodoc", " * Permet d ' implementer un critere de decrochage specifique a la fonction. - + %feature("autodoc", "* Permet d ' implementer un critere de decrochage specifique a la fonction. :param Sol: :type Sol: math_Vector & :param NS: :type NS: gp_Vec :param TgS: :type TgS: gp_Vec - :rtype: bool -") Decroch; + :rtype: bool") Decroch; Standard_Boolean Decroch (const math_Vector & Sol,gp_Vec & NS,gp_Vec & TgS); - %feature("compactdefaultargs") Set; - %feature("autodoc", " :param Choix: - :type Choix: int - :rtype: None -") Set; - void Set (const Standard_Integer Choix); - %feature("compactdefaultargs") Set; - %feature("autodoc", " * Sets the type of section generation for the approximations. - :param TypeSection: - :type TypeSection: BlendFunc_SectionShape - :rtype: None -") Set; - void Set (const BlendFunc_SectionShape TypeSection); - %feature("compactdefaultargs") Section; - %feature("autodoc", " :param Param: - :type Param: float - :param U: - :type U: float - :param V: - :type V: float - :param W: - :type W: float - :param Pdeb: - :type Pdeb: float & - :param Pfin: - :type Pfin: float & - :param C: - :type C: gp_Circ - :rtype: None -") Section; - void Section (const Standard_Real Param,const Standard_Real U,const Standard_Real V,const Standard_Real W,Standard_Real &OutValue,Standard_Real &OutValue,gp_Circ & C); - %feature("compactdefaultargs") IsRational; - %feature("autodoc", " * Returns if the section is rationnal + /****************** Derivatives ******************/ + %feature("compactdefaultargs") Derivatives; + %feature("autodoc", "* returns the values of the derivatives for the variable . Returns True if the computation was done successfully, False otherwise. + :param X: + :type X: math_Vector & + :param D: + :type D: math_Matrix & + :rtype: bool") Derivatives; + Standard_Boolean Derivatives (const math_Vector & X,math_Matrix & D); - :rtype: bool -") IsRational; - Standard_Boolean IsRational (); - %feature("compactdefaultargs") GetSectionSize; - %feature("autodoc", " * Returns the length of the maximum section + /****************** GetBounds ******************/ + %feature("compactdefaultargs") GetBounds; + %feature("autodoc", ":param InfBound: + :type InfBound: math_Vector & + :param SupBound: + :type SupBound: math_Vector & + :rtype: None") GetBounds; + void GetBounds (math_Vector & InfBound,math_Vector & SupBound); - :rtype: float -") GetSectionSize; - Standard_Real GetSectionSize (); - %feature("compactdefaultargs") GetMinimalWeight; - %feature("autodoc", " * Compute the minimal value of weight for each poles of all sections. + /****************** GetMinimalDistance ******************/ + %feature("compactdefaultargs") GetMinimalDistance; + %feature("autodoc", "* Returns the minimal Distance beetween two extremitys of calculed sections. + :rtype: float") GetMinimalDistance; + virtual Standard_Real GetMinimalDistance (); + /****************** GetMinimalWeight ******************/ + %feature("compactdefaultargs") GetMinimalWeight; + %feature("autodoc", "* Compute the minimal value of weight for each poles of all sections. :param Weigths: :type Weigths: TColStd_Array1OfReal & - :rtype: None -") GetMinimalWeight; + :rtype: None") GetMinimalWeight; void GetMinimalWeight (TColStd_Array1OfReal & Weigths); - %feature("compactdefaultargs") NbIntervals; - %feature("autodoc", " * Returns the number of intervals for continuity . May be one if Continuity(me) >= - :param S: - :type S: GeomAbs_Shape - :rtype: int -") NbIntervals; - Standard_Integer NbIntervals (const GeomAbs_Shape S); - %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() + /****************** GetSectionSize ******************/ + %feature("compactdefaultargs") GetSectionSize; + %feature("autodoc", "* Returns the length of the maximum section + :rtype: float") GetSectionSize; + Standard_Real GetSectionSize (); - :param T: - :type T: TColStd_Array1OfReal & - :param S: - :type S: GeomAbs_Shape - :rtype: None -") Intervals; - void Intervals (TColStd_Array1OfReal & T,const GeomAbs_Shape S); + /****************** GetShape ******************/ %feature("compactdefaultargs") GetShape; - %feature("autodoc", " :param NbPoles: + %feature("autodoc", ":param NbPoles: :type NbPoles: int & :param NbKnots: :type NbKnots: int & @@ -3719,12 +3354,21 @@ class BRepBlend_SurfRstEvolRad : public Blend_SurfRstFunction { :type Degree: int & :param NbPoles2d: :type NbPoles2d: int & - :rtype: None -") GetShape; + :rtype: None") GetShape; void GetShape (Standard_Integer &OutValue,Standard_Integer &OutValue,Standard_Integer &OutValue,Standard_Integer &OutValue); + + /****************** GetTolerance ******************/ %feature("compactdefaultargs") GetTolerance; - %feature("autodoc", " * Returns the tolerance to reach in approximation to respecte BoundTol error at the Boundary AngleTol tangent error at the Boundary SurfTol error inside the surface. + %feature("autodoc", ":param Tolerance: + :type Tolerance: math_Vector & + :param Tol: + :type Tol: float + :rtype: None") GetTolerance; + void GetTolerance (math_Vector & Tolerance,const Standard_Real Tol); + /****************** GetTolerance ******************/ + %feature("compactdefaultargs") GetTolerance; + %feature("autodoc", "* Returns the tolerance to reach in approximation to respecte BoundTol error at the Boundary AngleTol tangent error at the Boundary SurfTol error inside the surface. :param BoundTol: :type BoundTol: float :param SurfTol: @@ -3735,24 +3379,136 @@ class BRepBlend_SurfRstEvolRad : public Blend_SurfRstFunction { :type Tol3d: math_Vector & :param Tol1D: :type Tol1D: math_Vector & - :rtype: None -") GetTolerance; + :rtype: None") GetTolerance; void GetTolerance (const Standard_Real BoundTol,const Standard_Real SurfTol,const Standard_Real AngleTol,math_Vector & Tol3d,math_Vector & Tol1D); + + /****************** Intervals ******************/ + %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() + :param T: + :type T: TColStd_Array1OfReal & + :param S: + :type S: GeomAbs_Shape + :rtype: None") Intervals; + void Intervals (TColStd_Array1OfReal & T,const GeomAbs_Shape S); + + /****************** IsRational ******************/ + %feature("compactdefaultargs") IsRational; + %feature("autodoc", "* Returns if the section is rationnal + :rtype: bool") IsRational; + Standard_Boolean IsRational (); + + /****************** IsSolution ******************/ + %feature("compactdefaultargs") IsSolution; + %feature("autodoc", ":param Sol: + :type Sol: math_Vector & + :param Tol: + :type Tol: float + :rtype: bool") IsSolution; + Standard_Boolean IsSolution (const math_Vector & Sol,const Standard_Real Tol); + + /****************** IsTangencyPoint ******************/ + %feature("compactdefaultargs") IsTangencyPoint; + %feature("autodoc", ":rtype: bool") IsTangencyPoint; + Standard_Boolean IsTangencyPoint (); + + /****************** Knots ******************/ %feature("compactdefaultargs") Knots; - %feature("autodoc", " :param TKnots: + %feature("autodoc", ":param TKnots: :type TKnots: TColStd_Array1OfReal & - :rtype: None -") Knots; + :rtype: None") Knots; void Knots (TColStd_Array1OfReal & TKnots); + + /****************** Mults ******************/ %feature("compactdefaultargs") Mults; - %feature("autodoc", " :param TMults: + %feature("autodoc", ":param TMults: :type TMults: TColStd_Array1OfInteger & - :rtype: None -") Mults; + :rtype: None") Mults; void Mults (TColStd_Array1OfInteger & TMults); + + /****************** NbEquations ******************/ + %feature("compactdefaultargs") NbEquations; + %feature("autodoc", "* Returns 3. + :rtype: int") NbEquations; + Standard_Integer NbEquations (); + + /****************** NbIntervals ******************/ + %feature("compactdefaultargs") NbIntervals; + %feature("autodoc", "* Returns the number of intervals for continuity . May be one if Continuity(me) >= + :param S: + :type S: GeomAbs_Shape + :rtype: int") NbIntervals; + Standard_Integer NbIntervals (const GeomAbs_Shape S); + + /****************** NbVariables ******************/ + %feature("compactdefaultargs") NbVariables; + %feature("autodoc", "* Returns 3. + :rtype: int") NbVariables; + Standard_Integer NbVariables (); + + /****************** ParameterOnRst ******************/ + %feature("compactdefaultargs") ParameterOnRst; + %feature("autodoc", "* Returns parameter of the point on the curve. + :rtype: float") ParameterOnRst; + Standard_Real ParameterOnRst (); + + /****************** Pnt2dOnRst ******************/ + %feature("compactdefaultargs") Pnt2dOnRst; + %feature("autodoc", "* Returns U,V coordinates of the point on the curve on surface. + :rtype: gp_Pnt2d") Pnt2dOnRst; + const gp_Pnt2d Pnt2dOnRst (); + + /****************** Pnt2dOnS ******************/ + %feature("compactdefaultargs") Pnt2dOnS; + %feature("autodoc", "* Returns U,V coordinates of the point on the surface. + :rtype: gp_Pnt2d") Pnt2dOnS; + const gp_Pnt2d Pnt2dOnS (); + + /****************** PointOnRst ******************/ + %feature("compactdefaultargs") PointOnRst; + %feature("autodoc", ":rtype: gp_Pnt") PointOnRst; + const gp_Pnt PointOnRst (); + + /****************** PointOnS ******************/ + %feature("compactdefaultargs") PointOnS; + %feature("autodoc", ":rtype: gp_Pnt") PointOnS; + const gp_Pnt PointOnS (); + + /****************** Resolution ******************/ + %feature("compactdefaultargs") Resolution; + %feature("autodoc", ":param IC2d: + :type IC2d: int + :param Tol: + :type Tol: float + :param TolU: + :type TolU: float & + :param TolV: + :type TolV: float & + :rtype: None") Resolution; + void Resolution (const Standard_Integer IC2d,const Standard_Real Tol,Standard_Real &OutValue,Standard_Real &OutValue); + + /****************** Section ******************/ %feature("compactdefaultargs") Section; - %feature("autodoc", " * Used for the first and last section + %feature("autodoc", ":param Param: + :type Param: float + :param U: + :type U: float + :param V: + :type V: float + :param W: + :type W: float + :param Pdeb: + :type Pdeb: float & + :param Pfin: + :type Pfin: float & + :param C: + :type C: gp_Circ + :rtype: None") Section; + void Section (const Standard_Real Param,const Standard_Real U,const Standard_Real V,const Standard_Real W,Standard_Real &OutValue,Standard_Real &OutValue,gp_Circ & C); + /****************** Section ******************/ + %feature("compactdefaultargs") Section; + %feature("autodoc", "* Used for the first and last section :param P: :type P: Blend_Point & :param Poles: @@ -3767,12 +3523,12 @@ class BRepBlend_SurfRstEvolRad : public Blend_SurfRstFunction { :type Weigths: TColStd_Array1OfReal & :param DWeigths: :type DWeigths: TColStd_Array1OfReal & - :rtype: bool -") Section; + :rtype: bool") Section; Standard_Boolean Section (const Blend_Point & P,TColgp_Array1OfPnt & Poles,TColgp_Array1OfVec & DPoles,TColgp_Array1OfPnt2d & Poles2d,TColgp_Array1OfVec2d & DPoles2d,TColStd_Array1OfReal & Weigths,TColStd_Array1OfReal & DWeigths); - %feature("compactdefaultargs") Section; - %feature("autodoc", " * Used for the first and last section The method returns Standard_True if the derivatives are computed, otherwise it returns Standard_False. + /****************** Section ******************/ + %feature("compactdefaultargs") Section; + %feature("autodoc", "* Used for the first and last section The method returns Standard_True if the derivatives are computed, otherwise it returns Standard_False. :param P: :type P: Blend_Point & :param Poles: @@ -3793,11 +3549,12 @@ class BRepBlend_SurfRstEvolRad : public Blend_SurfRstFunction { :type DWeigths: TColStd_Array1OfReal & :param D2Weigths: :type D2Weigths: TColStd_Array1OfReal & - :rtype: bool -") Section; + :rtype: bool") Section; 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); + + /****************** Section ******************/ %feature("compactdefaultargs") Section; - %feature("autodoc", " :param P: + %feature("autodoc", ":param P: :type P: Blend_Point & :param Poles: :type Poles: TColgp_Array1OfPnt @@ -3805,21 +3562,92 @@ class BRepBlend_SurfRstEvolRad : public Blend_SurfRstFunction { :type Poles2d: TColgp_Array1OfPnt2d :param Weigths: :type Weigths: TColStd_Array1OfReal & - :rtype: None -") Section; + :rtype: None") Section; void Section (const Blend_Point & P,TColgp_Array1OfPnt & Poles,TColgp_Array1OfPnt2d & Poles2d,TColStd_Array1OfReal & Weigths); - %feature("compactdefaultargs") Resolution; - %feature("autodoc", " :param IC2d: - :type IC2d: int - :param Tol: - :type Tol: float - :param TolU: - :type TolU: float & - :param TolV: - :type TolV: float & - :rtype: None -") Resolution; - void Resolution (const Standard_Integer IC2d,const Standard_Real Tol,Standard_Real &OutValue,Standard_Real &OutValue); + + /****************** Set ******************/ + %feature("compactdefaultargs") Set; + %feature("autodoc", ":param SurfRef: + :type SurfRef: opencascade::handle & + :param RstRef: + :type RstRef: opencascade::handle & + :rtype: None") Set; + void Set (const opencascade::handle & SurfRef,const opencascade::handle & RstRef); + + /****************** Set ******************/ + %feature("compactdefaultargs") Set; + %feature("autodoc", ":param Param: + :type Param: float + :rtype: None") Set; + void Set (const Standard_Real Param); + + /****************** Set ******************/ + %feature("compactdefaultargs") Set; + %feature("autodoc", "* Sets the bounds of the parametric interval on the guide line. This determines the derivatives in these values if the function is not Cn. + :param First: + :type First: float + :param Last: + :type Last: float + :rtype: None") Set; + void Set (const Standard_Real First,const Standard_Real Last); + + /****************** Set ******************/ + %feature("compactdefaultargs") Set; + %feature("autodoc", ":param Choix: + :type Choix: int + :rtype: None") Set; + void Set (const Standard_Integer Choix); + + /****************** Set ******************/ + %feature("compactdefaultargs") Set; + %feature("autodoc", "* Sets the type of section generation for the approximations. + :param TypeSection: + :type TypeSection: BlendFunc_SectionShape + :rtype: None") Set; + void Set (const BlendFunc_SectionShape TypeSection); + + /****************** Tangent2dOnRst ******************/ + %feature("compactdefaultargs") Tangent2dOnRst; + %feature("autodoc", ":rtype: gp_Vec2d") Tangent2dOnRst; + const gp_Vec2d Tangent2dOnRst (); + + /****************** Tangent2dOnS ******************/ + %feature("compactdefaultargs") Tangent2dOnS; + %feature("autodoc", ":rtype: gp_Vec2d") Tangent2dOnS; + const gp_Vec2d Tangent2dOnS (); + + /****************** TangentOnRst ******************/ + %feature("compactdefaultargs") TangentOnRst; + %feature("autodoc", ":rtype: gp_Vec") TangentOnRst; + const gp_Vec TangentOnRst (); + + /****************** TangentOnS ******************/ + %feature("compactdefaultargs") TangentOnS; + %feature("autodoc", ":rtype: gp_Vec") TangentOnS; + const gp_Vec TangentOnS (); + + /****************** Value ******************/ + %feature("compactdefaultargs") Value; + %feature("autodoc", "* computes the values of the Functions for the variable . Returns True if the computation was done successfully, False otherwise. + :param X: + :type X: math_Vector & + :param F: + :type F: math_Vector & + :rtype: bool") Value; + Standard_Boolean Value (const math_Vector & X,math_Vector & F); + + /****************** Values ******************/ + %feature("compactdefaultargs") Values; + %feature("autodoc", "* returns the values of the functions and the derivatives for the variable . Returns True if the computation was done successfully, False otherwise. + :param X: + :type X: math_Vector & + :param F: + :type F: math_Vector & + :param D: + :type D: math_Matrix & + :rtype: bool") Values; + Standard_Boolean Values (const math_Vector & X,math_Vector & F,math_Matrix & D); + }; @@ -3828,25 +3656,81 @@ class BRepBlend_SurfRstEvolRad : public Blend_SurfRstFunction { __repr__ = _dumps_object } }; + +/************************************* +* class BRepBlend_SurfRstLineBuilder * +*************************************/ %nodefaultctor BRepBlend_SurfRstLineBuilder; class BRepBlend_SurfRstLineBuilder { public: + /****************** ArcToRecadre ******************/ + %feature("compactdefaultargs") ArcToRecadre; + %feature("autodoc", ":param Sol: + :type Sol: math_Vector & + :param PrevIndex: + :type PrevIndex: int + :param pt2d: + :type pt2d: gp_Pnt2d + :param lastpt2d: + :type lastpt2d: gp_Pnt2d + :param ponarc: + :type ponarc: float & + :rtype: int") ArcToRecadre; + Standard_Integer ArcToRecadre (const math_Vector & Sol,const Standard_Integer PrevIndex,gp_Pnt2d & pt2d,gp_Pnt2d & lastpt2d,Standard_Real &OutValue); + + /****************** BRepBlend_SurfRstLineBuilder ******************/ %feature("compactdefaultargs") BRepBlend_SurfRstLineBuilder; - %feature("autodoc", " :param Surf1: - :type Surf1: Handle_Adaptor3d_HSurface & + %feature("autodoc", ":param Surf1: + :type Surf1: opencascade::handle & :param Domain1: - :type Domain1: Handle_Adaptor3d_TopolTool & + :type Domain1: opencascade::handle & :param Surf2: - :type Surf2: Handle_Adaptor3d_HSurface & + :type Surf2: opencascade::handle & :param Rst: - :type Rst: Handle_Adaptor2d_HCurve2d & + :type Rst: opencascade::handle & :param Domain2: - :type Domain2: Handle_Adaptor3d_TopolTool & - :rtype: None -") BRepBlend_SurfRstLineBuilder; - BRepBlend_SurfRstLineBuilder (const Handle_Adaptor3d_HSurface & Surf1,const Handle_Adaptor3d_TopolTool & Domain1,const Handle_Adaptor3d_HSurface & Surf2,const Handle_Adaptor2d_HCurve2d & Rst,const Handle_Adaptor3d_TopolTool & Domain2); + :type Domain2: opencascade::handle & + :rtype: 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); + + /****************** Complete ******************/ + %feature("compactdefaultargs") Complete; + %feature("autodoc", ":param Func: + :type Func: Blend_SurfRstFunction & + :param Finv: + :type Finv: Blend_FuncInv & + :param FinvP: + :type FinvP: Blend_SurfPointFuncInv & + :param FinvC: + :type FinvC: Blend_SurfCurvFuncInv & + :param Pmin: + :type Pmin: float + :rtype: bool") Complete; + Standard_Boolean Complete (Blend_SurfRstFunction & Func,Blend_FuncInv & Finv,Blend_SurfPointFuncInv & FinvP,Blend_SurfCurvFuncInv & FinvC,const Standard_Real Pmin); + + /****************** DecrochEnd ******************/ + %feature("compactdefaultargs") DecrochEnd; + %feature("autodoc", ":rtype: bool") DecrochEnd; + Standard_Boolean DecrochEnd (); + + /****************** DecrochStart ******************/ + %feature("compactdefaultargs") DecrochStart; + %feature("autodoc", ":rtype: bool") DecrochStart; + Standard_Boolean DecrochStart (); + + /****************** IsDone ******************/ + %feature("compactdefaultargs") IsDone; + %feature("autodoc", ":rtype: bool") IsDone; + Standard_Boolean IsDone (); + + /****************** Line ******************/ + %feature("compactdefaultargs") Line; + %feature("autodoc", ":rtype: opencascade::handle") Line; + const opencascade::handle & Line (); + + /****************** Perform ******************/ %feature("compactdefaultargs") Perform; - %feature("autodoc", " :param Func: + %feature("autodoc", ":param Func: :type Func: Blend_SurfRstFunction & :param Finv: :type Finv: Blend_FuncInv & @@ -3870,11 +3754,12 @@ class BRepBlend_SurfRstLineBuilder { :type Fleche: float :param Appro: default value is Standard_False :type Appro: bool - :rtype: None -") Perform; + :rtype: None") Perform; void Perform (Blend_SurfRstFunction & Func,Blend_FuncInv & Finv,Blend_SurfPointFuncInv & FinvP,Blend_SurfCurvFuncInv & FinvC,const Standard_Real Pdep,const Standard_Real Pmax,const Standard_Real MaxStep,const Standard_Real TolGuide,const math_Vector & Soldep,const Standard_Real Tolesp,const Standard_Real Fleche,const Standard_Boolean Appro = Standard_False); + + /****************** PerformFirstSection ******************/ %feature("compactdefaultargs") PerformFirstSection; - %feature("autodoc", " :param Func: + %feature("autodoc", ":param Func: :type Func: Blend_SurfRstFunction & :param Finv: :type Finv: Blend_FuncInv & @@ -3902,53 +3787,9 @@ class BRepBlend_SurfRstLineBuilder { :type Psol: float & :param ParSol: :type ParSol: math_Vector & - :rtype: bool -") PerformFirstSection; + :rtype: bool") PerformFirstSection; Standard_Boolean PerformFirstSection (Blend_SurfRstFunction & Func,Blend_FuncInv & Finv,Blend_SurfPointFuncInv & FinvP,Blend_SurfCurvFuncInv & FinvC,const Standard_Real Pdep,const Standard_Real Pmax,const math_Vector & Soldep,const Standard_Real Tolesp,const Standard_Real TolGuide,const Standard_Boolean RecRst,const Standard_Boolean RecP,const Standard_Boolean RecS,Standard_Real &OutValue,math_Vector & ParSol); - %feature("compactdefaultargs") Complete; - %feature("autodoc", " :param Func: - :type Func: Blend_SurfRstFunction & - :param Finv: - :type Finv: Blend_FuncInv & - :param FinvP: - :type FinvP: Blend_SurfPointFuncInv & - :param FinvC: - :type FinvC: Blend_SurfCurvFuncInv & - :param Pmin: - :type Pmin: float - :rtype: bool -") Complete; - Standard_Boolean Complete (Blend_SurfRstFunction & Func,Blend_FuncInv & Finv,Blend_SurfPointFuncInv & FinvP,Blend_SurfCurvFuncInv & FinvC,const Standard_Real Pmin); - %feature("compactdefaultargs") ArcToRecadre; - %feature("autodoc", " :param Sol: - :type Sol: math_Vector & - :param PrevIndex: - :type PrevIndex: int - :param pt2d: - :type pt2d: gp_Pnt2d - :param lastpt2d: - :type lastpt2d: gp_Pnt2d - :param ponarc: - :type ponarc: float & - :rtype: int -") ArcToRecadre; - Standard_Integer ArcToRecadre (const math_Vector & Sol,const Standard_Integer PrevIndex,gp_Pnt2d & pt2d,gp_Pnt2d & lastpt2d,Standard_Real &OutValue); - %feature("compactdefaultargs") IsDone; - %feature("autodoc", " :rtype: bool -") IsDone; - Standard_Boolean IsDone (); - %feature("compactdefaultargs") Line; - %feature("autodoc", " :rtype: Handle_BRepBlend_Line -") Line; - Handle_BRepBlend_Line Line (); - %feature("compactdefaultargs") DecrochStart; - %feature("autodoc", " :rtype: bool -") DecrochStart; - Standard_Boolean DecrochStart (); - %feature("compactdefaultargs") DecrochEnd; - %feature("autodoc", " :rtype: bool -") DecrochEnd; - Standard_Boolean DecrochEnd (); + }; @@ -3957,39 +3798,112 @@ class BRepBlend_SurfRstLineBuilder { __repr__ = _dumps_object } }; + +/************************** +* class BRepBlend_Walking * +**************************/ %nodefaultctor BRepBlend_Walking; class BRepBlend_Walking { public: + /****************** AddSingularPoint ******************/ + %feature("compactdefaultargs") AddSingularPoint; + %feature("autodoc", "* To define singular points computed before walking. + :param P: + :type P: Blend_Point & + :rtype: None") AddSingularPoint; + void AddSingularPoint (const Blend_Point & P); + + /****************** BRepBlend_Walking ******************/ %feature("compactdefaultargs") BRepBlend_Walking; - %feature("autodoc", " :param Surf1: - :type Surf1: Handle_Adaptor3d_HSurface & + %feature("autodoc", ":param Surf1: + :type Surf1: opencascade::handle & :param Surf2: - :type Surf2: Handle_Adaptor3d_HSurface & + :type Surf2: opencascade::handle & :param Domain1: - :type Domain1: Handle_Adaptor3d_TopolTool & + :type Domain1: opencascade::handle & :param Domain2: - :type Domain2: Handle_Adaptor3d_TopolTool & + :type Domain2: opencascade::handle & :param HGuide: - :type HGuide: Handle_ChFiDS_HElSpine & - :rtype: None -") BRepBlend_Walking; - BRepBlend_Walking (const Handle_Adaptor3d_HSurface & Surf1,const Handle_Adaptor3d_HSurface & Surf2,const Handle_Adaptor3d_TopolTool & Domain1,const Handle_Adaptor3d_TopolTool & Domain2,const Handle_ChFiDS_HElSpine & HGuide); - %feature("compactdefaultargs") SetDomainsToRecadre; - %feature("autodoc", " :param RecDomain1: - :type RecDomain1: Handle_Adaptor3d_TopolTool & - :param RecDomain2: - :type RecDomain2: Handle_Adaptor3d_TopolTool & - :rtype: None -") SetDomainsToRecadre; - void SetDomainsToRecadre (const Handle_Adaptor3d_TopolTool & RecDomain1,const Handle_Adaptor3d_TopolTool & RecDomain2); - %feature("compactdefaultargs") AddSingularPoint; - %feature("autodoc", " :param P: - :type P: Blend_Point & - :rtype: None -") AddSingularPoint; - void AddSingularPoint (const Blend_Point & P); + :type HGuide: opencascade::handle & + :rtype: 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); + + /****************** Check ******************/ + %feature("compactdefaultargs") Check; + %feature("autodoc", ":param C: + :type C: bool + :rtype: None") Check; + void Check (const Standard_Boolean C); + + /****************** Check2d ******************/ + %feature("compactdefaultargs") Check2d; + %feature("autodoc", ":param C: + :type C: bool + :rtype: None") Check2d; + void Check2d (const Standard_Boolean C); + + /****************** ClassificationOnS1 ******************/ + %feature("compactdefaultargs") ClassificationOnS1; + %feature("autodoc", ":param C: + :type C: bool + :rtype: None") ClassificationOnS1; + void ClassificationOnS1 (const Standard_Boolean C); + + /****************** ClassificationOnS2 ******************/ + %feature("compactdefaultargs") ClassificationOnS2; + %feature("autodoc", ":param C: + :type C: bool + :rtype: None") ClassificationOnS2; + void ClassificationOnS2 (const Standard_Boolean C); + + /****************** Complete ******************/ + %feature("compactdefaultargs") Complete; + %feature("autodoc", ":param F: + :type F: Blend_Function & + :param FInv: + :type FInv: Blend_FuncInv & + :param Pmin: + :type Pmin: float + :rtype: bool") Complete; + Standard_Boolean Complete (Blend_Function & F,Blend_FuncInv & FInv,const Standard_Real Pmin); + + /****************** Continu ******************/ + %feature("compactdefaultargs") Continu; + %feature("autodoc", ":param F: + :type F: Blend_Function & + :param FInv: + :type FInv: Blend_FuncInv & + :param P: + :type P: float + :rtype: bool") Continu; + Standard_Boolean Continu (Blend_Function & F,Blend_FuncInv & FInv,const Standard_Real P); + + /****************** Continu ******************/ + %feature("compactdefaultargs") Continu; + %feature("autodoc", ":param F: + :type F: Blend_Function & + :param FInv: + :type FInv: Blend_FuncInv & + :param P: + :type P: float + :param OnS1: + :type OnS1: bool + :rtype: bool") Continu; + Standard_Boolean Continu (Blend_Function & F,Blend_FuncInv & FInv,const Standard_Real P,const Standard_Boolean OnS1); + + /****************** IsDone ******************/ + %feature("compactdefaultargs") IsDone; + %feature("autodoc", ":rtype: bool") IsDone; + Standard_Boolean IsDone (); + + /****************** Line ******************/ + %feature("compactdefaultargs") Line; + %feature("autodoc", ":rtype: opencascade::handle") Line; + const opencascade::handle & Line (); + + /****************** Perform ******************/ %feature("compactdefaultargs") Perform; - %feature("autodoc", " :param F: + %feature("autodoc", ":param F: :type F: Blend_Function & :param FInv: :type FInv: Blend_FuncInv & @@ -4009,11 +3923,12 @@ class BRepBlend_Walking { :type Fleche: float :param Appro: default value is Standard_False :type Appro: bool - :rtype: None -") Perform; + :rtype: None") Perform; void Perform (Blend_Function & F,Blend_FuncInv & FInv,const Standard_Real Pdep,const Standard_Real Pmax,const Standard_Real MaxStep,const Standard_Real TolGuide,const math_Vector & Soldep,const Standard_Real Tolesp,const Standard_Real Fleche,const Standard_Boolean Appro = Standard_False); + + /****************** PerformFirstSection ******************/ %feature("compactdefaultargs") PerformFirstSection; - %feature("autodoc", " :param F: + %feature("autodoc", ":param F: :type F: Blend_Function & :param Pdep: :type Pdep: float @@ -4027,11 +3942,12 @@ class BRepBlend_Walking { :type Pos1: TopAbs_State & :param Pos2: :type Pos2: TopAbs_State & - :rtype: bool -") PerformFirstSection; + :rtype: bool") PerformFirstSection; Standard_Boolean PerformFirstSection (Blend_Function & F,const Standard_Real Pdep,math_Vector & ParDep,const Standard_Real Tolesp,const Standard_Real TolGuide,TopAbs_State & Pos1,TopAbs_State & Pos2); + + /****************** PerformFirstSection ******************/ %feature("compactdefaultargs") PerformFirstSection; - %feature("autodoc", " :param F: + %feature("autodoc", ":param F: :type F: Blend_Function & :param FInv: :type FInv: Blend_FuncInv & @@ -4053,81 +3969,29 @@ class BRepBlend_Walking { :type Psol: float & :param ParSol: :type ParSol: math_Vector & - :rtype: bool -") PerformFirstSection; + :rtype: bool") PerformFirstSection; Standard_Boolean PerformFirstSection (Blend_Function & F,Blend_FuncInv & FInv,const Standard_Real Pdep,const Standard_Real Pmax,const math_Vector & ParDep,const Standard_Real Tolesp,const Standard_Real TolGuide,const Standard_Boolean RecOnS1,const Standard_Boolean RecOnS2,Standard_Real &OutValue,math_Vector & ParSol); - %feature("compactdefaultargs") Continu; - %feature("autodoc", " :param F: - :type F: Blend_Function & - :param FInv: - :type FInv: Blend_FuncInv & - :param P: - :type P: float - :rtype: bool -") Continu; - Standard_Boolean Continu (Blend_Function & F,Blend_FuncInv & FInv,const Standard_Real P); - %feature("compactdefaultargs") Continu; - %feature("autodoc", " :param F: - :type F: Blend_Function & - :param FInv: - :type FInv: Blend_FuncInv & - :param P: - :type P: float - :param OnS1: - :type OnS1: bool - :rtype: bool -") Continu; - Standard_Boolean Continu (Blend_Function & F,Blend_FuncInv & FInv,const Standard_Real P,const Standard_Boolean OnS1); - %feature("compactdefaultargs") Complete; - %feature("autodoc", " :param F: - :type F: Blend_Function & - :param FInv: - :type FInv: Blend_FuncInv & - :param Pmin: - :type Pmin: float - :rtype: bool -") Complete; - Standard_Boolean Complete (Blend_Function & F,Blend_FuncInv & FInv,const Standard_Real Pmin); - %feature("compactdefaultargs") ClassificationOnS1; - %feature("autodoc", " :param C: - :type C: bool - :rtype: None -") ClassificationOnS1; - void ClassificationOnS1 (const Standard_Boolean C); - %feature("compactdefaultargs") ClassificationOnS2; - %feature("autodoc", " :param C: - :type C: bool - :rtype: None -") ClassificationOnS2; - void ClassificationOnS2 (const Standard_Boolean C); - %feature("compactdefaultargs") Check2d; - %feature("autodoc", " :param C: - :type C: bool - :rtype: None -") Check2d; - void Check2d (const Standard_Boolean C); - %feature("compactdefaultargs") Check; - %feature("autodoc", " :param C: - :type C: bool - :rtype: None -") Check; - void Check (const Standard_Boolean C); + + /****************** SetDomainsToRecadre ******************/ + %feature("compactdefaultargs") SetDomainsToRecadre; + %feature("autodoc", "* To define different domains for control and clipping. + :param RecDomain1: + :type RecDomain1: opencascade::handle & + :param RecDomain2: + :type RecDomain2: opencascade::handle & + :rtype: None") SetDomainsToRecadre; + void SetDomainsToRecadre (const opencascade::handle & RecDomain1,const opencascade::handle & RecDomain2); + + /****************** TwistOnS1 ******************/ %feature("compactdefaultargs") TwistOnS1; - %feature("autodoc", " :rtype: bool -") TwistOnS1; + %feature("autodoc", ":rtype: bool") TwistOnS1; Standard_Boolean TwistOnS1 (); + + /****************** TwistOnS2 ******************/ %feature("compactdefaultargs") TwistOnS2; - %feature("autodoc", " :rtype: bool -") TwistOnS2; + %feature("autodoc", ":rtype: bool") TwistOnS2; Standard_Boolean TwistOnS2 (); - %feature("compactdefaultargs") IsDone; - %feature("autodoc", " :rtype: bool -") IsDone; - Standard_Boolean IsDone (); - %feature("compactdefaultargs") Line; - %feature("autodoc", " :rtype: Handle_BRepBlend_Line -") Line; - Handle_BRepBlend_Line Line (); + }; @@ -4136,23 +4000,29 @@ class BRepBlend_Walking { __repr__ = _dumps_object } }; + +/************************** +* class BRepBlend_AppFunc * +**************************/ %nodefaultctor BRepBlend_AppFunc; class BRepBlend_AppFunc : public BRepBlend_AppFuncRoot { public: + /****************** BRepBlend_AppFunc ******************/ %feature("compactdefaultargs") BRepBlend_AppFunc; - %feature("autodoc", " :param Line: - :type Line: Handle_BRepBlend_Line & + %feature("autodoc", ":param Line: + :type Line: opencascade::handle & :param Func: :type Func: Blend_Function & :param Tol3d: :type Tol3d: float :param Tol2d: :type Tol2d: float - :rtype: None -") BRepBlend_AppFunc; - BRepBlend_AppFunc (Handle_BRepBlend_Line & Line,Blend_Function & Func,const Standard_Real Tol3d,const Standard_Real Tol2d); + :rtype: None") BRepBlend_AppFunc; + BRepBlend_AppFunc (opencascade::handle & Line,Blend_Function & Func,const Standard_Real Tol3d,const Standard_Real Tol2d); + + /****************** Point ******************/ %feature("compactdefaultargs") Point; - %feature("autodoc", " :param Func: + %feature("autodoc", ":param Func: :type Func: Blend_AppFunction & :param Param: :type Param: float @@ -4160,17 +4030,18 @@ class BRepBlend_AppFunc : public BRepBlend_AppFuncRoot { :type Sol: math_Vector & :param Pnt: :type Pnt: Blend_Point & - :rtype: None -") Point; + :rtype: None") Point; void Point (const Blend_AppFunction & Func,const Standard_Real Param,const math_Vector & Sol,Blend_Point & Pnt); + + /****************** Vec ******************/ %feature("compactdefaultargs") Vec; - %feature("autodoc", " :param Sol: + %feature("autodoc", ":param Sol: :type Sol: math_Vector & :param Pnt: :type Pnt: Blend_Point & - :rtype: None -") Vec; + :rtype: None") Vec; void Vec (math_Vector & Sol,const Blend_Point & Pnt); + }; @@ -4181,23 +4052,29 @@ class BRepBlend_AppFunc : public BRepBlend_AppFuncRoot { __repr__ = _dumps_object } }; + +/***************************** +* class BRepBlend_AppFuncRst * +*****************************/ %nodefaultctor BRepBlend_AppFuncRst; class BRepBlend_AppFuncRst : public BRepBlend_AppFuncRoot { public: + /****************** BRepBlend_AppFuncRst ******************/ %feature("compactdefaultargs") BRepBlend_AppFuncRst; - %feature("autodoc", " :param Line: - :type Line: Handle_BRepBlend_Line & + %feature("autodoc", ":param Line: + :type Line: opencascade::handle & :param Func: :type Func: Blend_SurfRstFunction & :param Tol3d: :type Tol3d: float :param Tol2d: :type Tol2d: float - :rtype: None -") BRepBlend_AppFuncRst; - BRepBlend_AppFuncRst (Handle_BRepBlend_Line & Line,Blend_SurfRstFunction & Func,const Standard_Real Tol3d,const Standard_Real Tol2d); + :rtype: None") BRepBlend_AppFuncRst; + BRepBlend_AppFuncRst (opencascade::handle & Line,Blend_SurfRstFunction & Func,const Standard_Real Tol3d,const Standard_Real Tol2d); + + /****************** Point ******************/ %feature("compactdefaultargs") Point; - %feature("autodoc", " :param Func: + %feature("autodoc", ":param Func: :type Func: Blend_AppFunction & :param Param: :type Param: float @@ -4205,17 +4082,18 @@ class BRepBlend_AppFuncRst : public BRepBlend_AppFuncRoot { :type Sol: math_Vector & :param Pnt: :type Pnt: Blend_Point & - :rtype: None -") Point; + :rtype: None") Point; void Point (const Blend_AppFunction & Func,const Standard_Real Param,const math_Vector & Sol,Blend_Point & Pnt); + + /****************** Vec ******************/ %feature("compactdefaultargs") Vec; - %feature("autodoc", " :param Sol: + %feature("autodoc", ":param Sol: :type Sol: math_Vector & :param Pnt: :type Pnt: Blend_Point & - :rtype: None -") Vec; + :rtype: None") Vec; void Vec (math_Vector & Sol,const Blend_Point & Pnt); + }; @@ -4226,23 +4104,29 @@ class BRepBlend_AppFuncRst : public BRepBlend_AppFuncRoot { __repr__ = _dumps_object } }; + +/******************************** +* class BRepBlend_AppFuncRstRst * +********************************/ %nodefaultctor BRepBlend_AppFuncRstRst; class BRepBlend_AppFuncRstRst : public BRepBlend_AppFuncRoot { public: + /****************** BRepBlend_AppFuncRstRst ******************/ %feature("compactdefaultargs") BRepBlend_AppFuncRstRst; - %feature("autodoc", " :param Line: - :type Line: Handle_BRepBlend_Line & + %feature("autodoc", ":param Line: + :type Line: opencascade::handle & :param Func: :type Func: Blend_RstRstFunction & :param Tol3d: :type Tol3d: float :param Tol2d: :type Tol2d: float - :rtype: None -") BRepBlend_AppFuncRstRst; - BRepBlend_AppFuncRstRst (Handle_BRepBlend_Line & Line,Blend_RstRstFunction & Func,const Standard_Real Tol3d,const Standard_Real Tol2d); + :rtype: None") BRepBlend_AppFuncRstRst; + BRepBlend_AppFuncRstRst (opencascade::handle & Line,Blend_RstRstFunction & Func,const Standard_Real Tol3d,const Standard_Real Tol2d); + + /****************** Point ******************/ %feature("compactdefaultargs") Point; - %feature("autodoc", " :param Func: + %feature("autodoc", ":param Func: :type Func: Blend_AppFunction & :param Param: :type Param: float @@ -4250,17 +4134,18 @@ class BRepBlend_AppFuncRstRst : public BRepBlend_AppFuncRoot { :type Sol: math_Vector & :param Pnt: :type Pnt: Blend_Point & - :rtype: None -") Point; + :rtype: None") Point; void Point (const Blend_AppFunction & Func,const Standard_Real Param,const math_Vector & Sol,Blend_Point & Pnt); + + /****************** Vec ******************/ %feature("compactdefaultargs") Vec; - %feature("autodoc", " :param Sol: + %feature("autodoc", ":param Sol: :type Sol: math_Vector & :param Pnt: :type Pnt: Blend_Point & - :rtype: None -") Vec; + :rtype: None") Vec; void Vec (math_Vector & Sol,const Blend_Point & Pnt); + }; @@ -4271,3 +4156,7 @@ class BRepBlend_AppFuncRstRst : public BRepBlend_AppFuncRoot { __repr__ = _dumps_object } }; + +/* harray1 class */ +/* harray2 class */ +/* harray2 class */ diff --git a/src/SWIG_files/wrapper/BRepBlend_headers.i b/src/SWIG_files/wrapper/BRepBlend_headers.i deleted file mode 100644 index eeda10983..000000000 --- a/src/SWIG_files/wrapper/BRepBlend_headers.i +++ /dev/null @@ -1,1145 +0,0 @@ -/* -Copyright 2008-2017 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 . - -*/ -%{ -#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 -#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 -#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 -#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 -#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 -#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 -#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 -#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 -#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 -#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 -#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 -#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 -%}; -%import Approx.i -%import Standard.i -%import TColgp.i -%import TColStd.i -%import GeomAbs.i -%import gp.i -%import Blend.i -%import math.i -%import AppBlend.i -%import Adaptor3d.i -%import Adaptor2d.i -%import IntSurf.i -%import MMgt.i -%import BlendFunc.i -%import Law.i -%import TCollection.i -%import ChFiDS.i -%import TopAbs.i diff --git a/src/SWIG_files/wrapper/BRepBndLib.i b/src/SWIG_files/wrapper/BRepBndLib.i index 94d2490d0..72026dfd6 100644 --- a/src/SWIG_files/wrapper/BRepBndLib.i +++ b/src/SWIG_files/wrapper/BRepBndLib.i @@ -1,6 +1,5 @@ /* -Copyright 2008-2017 Thomas Paviot (tpaviot@gmail.com) - +Copyright 2008-2019 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -15,16 +14,13 @@ 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 BREPBNDLIBDOCSTRING -"This package provides the bounding boxes for curves -and surfaces from BRepAdaptor. -Functions to add a topological shape to a bounding box" +"BRepBndLib module, see official documentation at +https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brepbndlib.html" %enddef %module (package="OCC.Core", docstring=BREPBNDLIBDOCSTRING) BRepBndLib -#pragma SWIG nowarn=504,325,503 %{ #ifdef WNT @@ -39,40 +35,95 @@ Functions to add a topological shape to a bounding box" %include ../common/OccHandle.i -%include BRepBndLib_headers.i - -/* typedefs */ -/* end typedefs declaration */ - +%{ +#include + +//Dependencies +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +%}; +%import Standard.i +%import NCollection.i +%import TopoDS.i +%import Bnd.i /* public enums */ /* end public enums declaration */ +/* handles */ +/* end handles declaration */ + +/* templates */ +/* end templates declaration */ + +/* typedefs */ +/* end typedefs declaration */ +/******************* +* class BRepBndLib * +*******************/ %rename(brepbndlib) BRepBndLib; class BRepBndLib { public: + /****************** Add ******************/ %feature("compactdefaultargs") Add; - %feature("autodoc", " * Adds the shape S to the bounding box B. More precisely are successively added to B: - each face of S; the triangulation of the face is used if it exists, - then each edge of S which does not belong to a face, the polygon of the edge is used if it exists - and last each vertex of S which does not belong to an edge. After each elementary operation, the bounding box B is enlarged by the tolerance value of the relative sub-shape. When working with the triangulation of a face this value of enlargement is the sum of the triangulation deflection and the face tolerance. When working with the polygon of an edge this value of enlargement is the sum of the polygon deflection and the edge tolerance. Warning - This algorithm is time consuming if triangulation has not been inserted inside the data structure of the shape S. - The resulting bounding box may be somewhat larger than the object. - + %feature("autodoc", "* Adds the shape S to the bounding box B. More precisely are successively added to B: - each face of S; the triangulation of the face is used if it exists, - then each edge of S which does not belong to a face, the polygon of the edge is used if it exists - and last each vertex of S which does not belong to an edge. After each elementary operation, the bounding box B is enlarged by the tolerance value of the relative sub-shape. When working with the triangulation of a face this value of enlargement is the sum of the triangulation deflection and the face tolerance. When working with the polygon of an edge this value of enlargement is the sum of the polygon deflection and the edge tolerance. Warning - This algorithm is time consuming if triangulation has not been inserted inside the data structure of the shape S. - The resulting bounding box may be somewhat larger than the object. :param S: :type S: TopoDS_Shape & :param B: :type B: Bnd_Box & :param useTriangulation: default value is Standard_True :type useTriangulation: bool - :rtype: void -") Add; + :rtype: void") Add; static void Add (const TopoDS_Shape & S,Bnd_Box & B,const Standard_Boolean useTriangulation = Standard_True); - %feature("compactdefaultargs") AddClose; - %feature("autodoc", " * Adds the shape S to the bounding box B. This is a quick algorithm but only works if the shape S is composed of polygonal planar faces, as is the case if S is an approached polyhedral representation of an exact shape. Pay particular attention to this because this condition is not checked and, if it not respected, an error may occur in the algorithm for which the bounding box is built. Note that the resulting bounding box is not enlarged by the tolerance value of the sub-shapes as is the case with the Add function. So the added part of the resulting bounding box is closer to the shape S. + /****************** AddClose ******************/ + %feature("compactdefaultargs") AddClose; + %feature("autodoc", "* Adds the shape S to the bounding box B. This is a quick algorithm but only works if the shape S is composed of polygonal planar faces, as is the case if S is an approached polyhedral representation of an exact shape. Pay particular attention to this because this condition is not checked and, if it not respected, an error may occur in the algorithm for which the bounding box is built. Note that the resulting bounding box is not enlarged by the tolerance value of the sub-shapes as is the case with the Add function. So the added part of the resulting bounding box is closer to the shape S. :param S: :type S: TopoDS_Shape & :param B: :type B: Bnd_Box & - :rtype: void -") AddClose; + :rtype: void") AddClose; static void AddClose (const TopoDS_Shape & S,Bnd_Box & B); + + /****************** AddOBB ******************/ + %feature("compactdefaultargs") AddOBB; + %feature("autodoc", "* Computes the Oriented Bounding box for the shape . Two independent methods of computation are implemented: first method based on set of points (so, it demands the triangulated shape or shape with planar faces and linear edges). The second method is based on use of inertia axes and is called if use of the first method is impossible. If theIsTriangulationUsed == False then the triangulation will be ignored at all. If theIsShapeToleranceUsed == True then resulting box will be extended on the tolerance of the shape. theIsOptimal flag defines whether to look for the more tight OBB for the cost of performance or not. + :param theS: + :type theS: TopoDS_Shape & + :param theOBB: + :type theOBB: Bnd_OBB & + :param theIsTriangulationUsed: default value is Standard_True + :type theIsTriangulationUsed: bool + :param theIsOptimal: default value is Standard_False + :type theIsOptimal: bool + :param theIsShapeToleranceUsed: default value is Standard_True + :type theIsShapeToleranceUsed: bool + :rtype: void") AddOBB; + static void AddOBB (const TopoDS_Shape & theS,Bnd_OBB & theOBB,const Standard_Boolean theIsTriangulationUsed = Standard_True,const Standard_Boolean theIsOptimal = Standard_False,const Standard_Boolean theIsShapeToleranceUsed = Standard_True); + + /****************** AddOptimal ******************/ + %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(). + :param S: + :type S: TopoDS_Shape & + :param B: + :type B: Bnd_Box & + :param useTriangulation: default value is Standard_True + :type useTriangulation: bool + :param useShapeTolerance: default value is Standard_False + :type useShapeTolerance: bool + :rtype: void") AddOptimal; + static void AddOptimal (const TopoDS_Shape & S,Bnd_Box & B,const Standard_Boolean useTriangulation = Standard_True,const Standard_Boolean useShapeTolerance = Standard_False); + }; @@ -81,3 +132,7 @@ class BRepBndLib { __repr__ = _dumps_object } }; + +/* harray1 class */ +/* harray2 class */ +/* harray2 class */ diff --git a/src/SWIG_files/wrapper/BRepBndLib_headers.i b/src/SWIG_files/wrapper/BRepBndLib_headers.i deleted file mode 100644 index 9486d1ca0..000000000 --- a/src/SWIG_files/wrapper/BRepBndLib_headers.i +++ /dev/null @@ -1,401 +0,0 @@ -/* -Copyright 2008-2017 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 . - -*/ -%{ -#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 -#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 -#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 -#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 -#include -#include -#include -#include -#include -%}; -%import TopoDS.i -%import Bnd.i -%import Standard.i diff --git a/src/SWIG_files/wrapper/BRepBuilderAPI.i b/src/SWIG_files/wrapper/BRepBuilderAPI.i index 281917280..1c39331e5 100644 --- a/src/SWIG_files/wrapper/BRepBuilderAPI.i +++ b/src/SWIG_files/wrapper/BRepBuilderAPI.i @@ -1,6 +1,5 @@ /* -Copyright 2008-2017 Thomas Paviot (tpaviot@gmail.com) - +Copyright 2008-2019 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -15,76 +14,13 @@ 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 BREPBUILDERAPIDOCSTRING -"The BRepBuilderAPI package provides an Application -Programming Interface for the BRep topology data -structure. - -The API is a set of classes aiming to provide : - -* High level and simple calls for the most common -operations. - -* Keeping an access on the low-level -implementation of high-level calls. - -* Examples of programming of high-level operations -from low-level operations. - -* A complete coverage of modelling : - -- Creating vertices ,edges, faces, solids. - -- Sweeping operations. - -- Boolean operations. - -- Global properties computation. - - -The API provides classes to build objects: - -* The constructors of the classes provides the -different constructions methods. - -* The class keeps as fields the different tools -used to build the object. - -* The class provides a casting method to get -automatically the result with a function-like -call. - -For example to make a vertex from a point

-one can writes : - -V = BRepBuilderAPI_MakeVertex(P); - -or - -BRepBuilderAPI_MakeVertex MV(P); -V = MV.Vertex(); - - -For tolerances a default precision is used which -can be changed by the packahe method -BRepBuilderAPI::Precision. - -For error handling the BRepBuilderAPI commands raise only -the NotDone error. When Done is false on a command -the error description can be asked to the command. - -In theory the comands can be called with any -arguments, argument checking is performed by the -command. - - -" +"BRepBuilderAPI module, see official documentation at +https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brepbuilderapi.html" %enddef %module (package="OCC.Core", docstring=BREPBUILDERAPIDOCSTRING) BRepBuilderAPI -#pragma SWIG nowarn=504,325,503 %{ #ifdef WNT @@ -99,14 +35,41 @@ command. %include ../common/OccHandle.i -%include BRepBuilderAPI_headers.i - -/* typedefs */ -typedef NCollection_CellFilter BRepBuilderAPI_CellFilter; -typedef NCollection_Vector VectorOfPoint; -typedef NCollection_UBTree BRepBuilderAPI_BndBoxTree; -/* end typedefs declaration */ - +%{ +#include + +//Dependencies +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +%}; +%import Standard.i +%import NCollection.i +%import Geom.i +%import TopoDS.i +%import TopTools.i +%import BRepTools.i +%import Message.i +%import gp.i +%import TColStd.i +%import Bnd.i +%import Geom2d.i /* public enums */ enum BRepBuilderAPI_ShapeModification { BRepBuilderAPI_Preserved = 0, @@ -163,40 +126,55 @@ enum BRepBuilderAPI_ShellError { /* end public enums declaration */ +/* handles */ %wrap_handle(BRepBuilderAPI_FastSewing) %wrap_handle(BRepBuilderAPI_Sewing) +/* end handles declaration */ + +/* templates */ +%template(BRepBuilderAPI_BndBoxTree) NCollection_UBTree ; +/* end templates declaration */ +/* typedefs */ +typedef NCollection_Vector VectorOfPoint; +typedef NCollection_CellFilter BRepBuilderAPI_CellFilter; +typedef NCollection_UBTree BRepBuilderAPI_BndBoxTree; +/* end typedefs declaration */ + +/*********************** +* class BRepBuilderAPI * +***********************/ %rename(brepbuilderapi) BRepBuilderAPI; class BRepBuilderAPI { public: + /****************** Plane ******************/ %feature("compactdefaultargs") Plane; - %feature("autodoc", " * Sets the current plane. - + %feature("autodoc", "* Sets the current plane. :param P: - :type P: Handle_Geom_Plane & - :rtype: void -") Plane; - static void Plane (const Handle_Geom_Plane & P); + :type P: opencascade::handle & + :rtype: void") Plane; + static void Plane (const opencascade::handle & P); + + /****************** Plane ******************/ %feature("compactdefaultargs") Plane; - %feature("autodoc", " * Returns the current plane. + %feature("autodoc", "* Returns the current plane. + :rtype: opencascade::handle") Plane; + static const opencascade::handle & Plane (); - :rtype: Handle_Geom_Plane -") Plane; - Handle_Geom_Plane Plane (); + /****************** Precision ******************/ %feature("compactdefaultargs") Precision; - %feature("autodoc", " * Sets the default precision. The current Precision is returned. - + %feature("autodoc", "* Sets the default precision. The current Precision is returned. :param P: :type P: float - :rtype: void -") Precision; + :rtype: void") Precision; static void Precision (const Standard_Real P); - %feature("compactdefaultargs") Precision; - %feature("autodoc", " * Returns the default precision. - :rtype: float -") Precision; + /****************** Precision ******************/ + %feature("compactdefaultargs") Precision; + %feature("autodoc", "* Returns the default precision. + :rtype: float") Precision; static Standard_Real Precision (); + }; @@ -205,51 +183,62 @@ class BRepBuilderAPI { __repr__ = _dumps_object } }; + +/******************************* +* class BRepBuilderAPI_Collect * +*******************************/ %nodefaultctor BRepBuilderAPI_Collect; class BRepBuilderAPI_Collect { public: - %feature("compactdefaultargs") BRepBuilderAPI_Collect; - %feature("autodoc", " :rtype: None -") BRepBuilderAPI_Collect; - BRepBuilderAPI_Collect (); + /****************** Add ******************/ %feature("compactdefaultargs") Add; - %feature("autodoc", " :param SI: + %feature("autodoc", ":param SI: :type SI: TopoDS_Shape & :param MKS: :type MKS: BRepBuilderAPI_MakeShape & - :rtype: None -") Add; + :rtype: None") Add; void Add (const TopoDS_Shape & SI,BRepBuilderAPI_MakeShape & MKS); + + /****************** AddGenerated ******************/ %feature("compactdefaultargs") AddGenerated; - %feature("autodoc", " :param S: + %feature("autodoc", ":param S: :type S: TopoDS_Shape & :param Gen: :type Gen: TopoDS_Shape & - :rtype: None -") AddGenerated; + :rtype: None") AddGenerated; void AddGenerated (const TopoDS_Shape & S,const TopoDS_Shape & Gen); + + /****************** AddModif ******************/ %feature("compactdefaultargs") AddModif; - %feature("autodoc", " :param S: + %feature("autodoc", ":param S: :type S: TopoDS_Shape & :param Mod: :type Mod: TopoDS_Shape & - :rtype: None -") AddModif; + :rtype: None") AddModif; void AddModif (const TopoDS_Shape & S,const TopoDS_Shape & Mod); + + /****************** BRepBuilderAPI_Collect ******************/ + %feature("compactdefaultargs") BRepBuilderAPI_Collect; + %feature("autodoc", ":rtype: None") BRepBuilderAPI_Collect; + BRepBuilderAPI_Collect (); + + /****************** Filter ******************/ %feature("compactdefaultargs") Filter; - %feature("autodoc", " :param SF: + %feature("autodoc", ":param SF: :type SF: TopoDS_Shape & - :rtype: None -") Filter; + :rtype: None") Filter; void Filter (const TopoDS_Shape & SF); - %feature("compactdefaultargs") Modification; - %feature("autodoc", " :rtype: TopTools_DataMapOfShapeListOfShape -") Modification; - const TopTools_DataMapOfShapeListOfShape & Modification (); + + /****************** Generated ******************/ %feature("compactdefaultargs") Generated; - %feature("autodoc", " :rtype: TopTools_DataMapOfShapeListOfShape -") Generated; + %feature("autodoc", ":rtype: TopTools_DataMapOfShapeListOfShape") Generated; const TopTools_DataMapOfShapeListOfShape & Generated (); + + /****************** Modification ******************/ + %feature("compactdefaultargs") Modification; + %feature("autodoc", ":rtype: TopTools_DataMapOfShapeListOfShape") Modification; + const TopTools_DataMapOfShapeListOfShape & Modification (); + }; @@ -258,23 +247,24 @@ class BRepBuilderAPI_Collect { __repr__ = _dumps_object } }; + +/******************************* +* class BRepBuilderAPI_Command * +*******************************/ %nodefaultctor BRepBuilderAPI_Command; class BRepBuilderAPI_Command { public: - %feature("compactdefaultargs") Delete; - %feature("autodoc", " :rtype: void -") Delete; - virtual void Delete (); + /****************** Check ******************/ + %feature("compactdefaultargs") Check; + %feature("autodoc", "* Raises NotDone if done is false. + :rtype: None") Check; + void Check (); + + /****************** IsDone ******************/ %feature("compactdefaultargs") IsDone; - %feature("autodoc", " :rtype: bool -") IsDone; + %feature("autodoc", ":rtype: bool") IsDone; virtual Standard_Boolean IsDone (); - %feature("compactdefaultargs") Check; - %feature("autodoc", " * Raises NotDone if done is false. - :rtype: None -") Check; - void Check (); }; @@ -283,10 +273,18 @@ class BRepBuilderAPI_Command { __repr__ = _dumps_object } }; + +/********************************** +* class BRepBuilderAPI_FastSewing * +**********************************/ %nodefaultctor BRepBuilderAPI_FastSewing; class BRepBuilderAPI_FastSewing : public Standard_Transient { public: typedef unsigned int FS_VARStatuses; + class FS_Vertex {}; + class FS_Face {}; + class FS_Edge {}; + class NodeInspector {}; /* public enums */ enum FS_Statuses { FS_OK = 0, @@ -302,58 +300,58 @@ enum FS_Statuses { /* end public enums declaration */ - %feature("compactdefaultargs") BRepBuilderAPI_FastSewing; - %feature("autodoc", " * Creates an object with tolerance of connexity - - :param theTolerance: default value is 1.0e-06 - :type theTolerance: float - :rtype: None -") BRepBuilderAPI_FastSewing; - BRepBuilderAPI_FastSewing (const Standard_Real theTolerance = 1.0e-06); + /****************** Add ******************/ %feature("compactdefaultargs") Add; - %feature("autodoc", " * Adds faces of a shape - + %feature("autodoc", "* Adds faces of a shape :param theShape: :type theShape: TopoDS_Shape & - :rtype: bool -") Add; + :rtype: bool") Add; Standard_Boolean Add (const TopoDS_Shape & theShape); - %feature("compactdefaultargs") Add; - %feature("autodoc", " * Adds a surface + /****************** Add ******************/ + %feature("compactdefaultargs") Add; + %feature("autodoc", "* Adds a surface :param theSurface: - :type theSurface: Handle_Geom_Surface & - :rtype: bool -") Add; - Standard_Boolean Add (const Handle_Geom_Surface & theSurface); - %feature("compactdefaultargs") Perform; - %feature("autodoc", " * Compute resulted shape + :type theSurface: opencascade::handle & + :rtype: bool") Add; + Standard_Boolean Add (const opencascade::handle & theSurface); + + /****************** BRepBuilderAPI_FastSewing ******************/ + %feature("compactdefaultargs") BRepBuilderAPI_FastSewing; + %feature("autodoc", "* Creates an object with tolerance of connexity + :param theTolerance: default value is 1.0e-06 + :type theTolerance: float + :rtype: None") BRepBuilderAPI_FastSewing; + BRepBuilderAPI_FastSewing (const Standard_Real theTolerance = 1.0e-06); + + /****************** GetResult ******************/ + %feature("compactdefaultargs") GetResult; + %feature("autodoc", "* Returns resulted shape + :rtype: TopoDS_Shape") GetResult; + const TopoDS_Shape GetResult (); + /****************** GetTolerance ******************/ + %feature("compactdefaultargs") GetTolerance; + %feature("autodoc", "* Returns tolerance + :rtype: float") GetTolerance; + Standard_Real GetTolerance (); + + /****************** Perform ******************/ + %feature("compactdefaultargs") Perform; + %feature("autodoc", "* Compute resulted shape :param : :type : void - :rtype: None -") Perform; + :rtype: None") Perform; void Perform (void ); - %feature("compactdefaultargs") SetTolerance; - %feature("autodoc", " * Sets tolerance + /****************** SetTolerance ******************/ + %feature("compactdefaultargs") SetTolerance; + %feature("autodoc", "* Sets tolerance :param theToler: :type theToler: float - :rtype: None -") SetTolerance; + :rtype: None") SetTolerance; void SetTolerance (const Standard_Real theToler); - %feature("compactdefaultargs") GetTolerance; - %feature("autodoc", " * Returns tolerance - :rtype: float -") GetTolerance; - Standard_Real GetTolerance (); - %feature("compactdefaultargs") GetResult; - %feature("autodoc", " * Returns resulted shape - - :rtype: TopoDS_Shape -") GetResult; - const TopoDS_Shape GetResult (); }; @@ -364,47 +362,51 @@ enum FS_Statuses { __repr__ = _dumps_object } }; + +/********************************* +* class BRepBuilderAPI_FindPlane * +*********************************/ %nodefaultctor BRepBuilderAPI_FindPlane; class BRepBuilderAPI_FindPlane { public: + /****************** BRepBuilderAPI_FindPlane ******************/ %feature("compactdefaultargs") BRepBuilderAPI_FindPlane; - %feature("autodoc", " * Initializes an empty algorithm. The function Init is then used to define the shape. - - :rtype: None -") BRepBuilderAPI_FindPlane; + %feature("autodoc", "* Initializes an empty algorithm. The function Init is then used to define the shape. + :rtype: None") BRepBuilderAPI_FindPlane; BRepBuilderAPI_FindPlane (); - %feature("compactdefaultargs") BRepBuilderAPI_FindPlane; - %feature("autodoc", " * Constructs the plane containing the edges of the shape S. A plane is built only if all the edges are within a distance of less than or equal to tolerance from a planar surface. This tolerance value is equal to the larger of the following two values: - Tol, where the default value is negative, or - the largest of the tolerance values assigned to the individual edges of S. Use the function Found to verify that a plane is built. The resulting plane is then retrieved using the function Plane. + /****************** BRepBuilderAPI_FindPlane ******************/ + %feature("compactdefaultargs") BRepBuilderAPI_FindPlane; + %feature("autodoc", "* Constructs the plane containing the edges of the shape S. A plane is built only if all the edges are within a distance of less than or equal to tolerance from a planar surface. This tolerance value is equal to the larger of the following two values: - Tol, where the default value is negative, or - the largest of the tolerance values assigned to the individual edges of S. Use the function Found to verify that a plane is built. The resulting plane is then retrieved using the function Plane. :param S: :type S: TopoDS_Shape & :param Tol: default value is -1 :type Tol: float - :rtype: None -") BRepBuilderAPI_FindPlane; + :rtype: None") BRepBuilderAPI_FindPlane; BRepBuilderAPI_FindPlane (const TopoDS_Shape & S,const Standard_Real Tol = -1); - %feature("compactdefaultargs") Init; - %feature("autodoc", " * Constructs the plane containing the edges of the shape S. A plane is built only if all the edges are within a distance of less than or equal to tolerance from a planar surface. This tolerance value is equal to the larger of the following two values: - Tol, where the default value is negative, or - the largest of the tolerance values assigned to the individual edges of S. Use the function Found to verify that a plane is built. The resulting plane is then retrieved using the function Plane. + /****************** Found ******************/ + %feature("compactdefaultargs") Found; + %feature("autodoc", "* Returns true if a plane containing the edges of the shape is found and built. Use the function Plane to consult the result. + :rtype: bool") Found; + Standard_Boolean Found (); + + /****************** Init ******************/ + %feature("compactdefaultargs") Init; + %feature("autodoc", "* Constructs the plane containing the edges of the shape S. A plane is built only if all the edges are within a distance of less than or equal to tolerance from a planar surface. This tolerance value is equal to the larger of the following two values: - Tol, where the default value is negative, or - the largest of the tolerance values assigned to the individual edges of S. Use the function Found to verify that a plane is built. The resulting plane is then retrieved using the function Plane. :param S: :type S: TopoDS_Shape & :param Tol: default value is -1 :type Tol: float - :rtype: None -") Init; + :rtype: None") Init; void Init (const TopoDS_Shape & S,const Standard_Real Tol = -1); - %feature("compactdefaultargs") Found; - %feature("autodoc", " * Returns true if a plane containing the edges of the shape is found and built. Use the function Plane to consult the result. - :rtype: bool -") Found; - Standard_Boolean Found (); + /****************** Plane ******************/ %feature("compactdefaultargs") Plane; - %feature("autodoc", " * Returns the plane containing the edges of the shape. Warning Use the function Found to verify that the plane is built. If a plane is not found, Plane returns a null handle. + %feature("autodoc", "* Returns the plane containing the edges of the shape. Warning Use the function Found to verify that the plane is built. If a plane is not found, Plane returns a null handle. + :rtype: opencascade::handle") Plane; + opencascade::handle Plane (); - :rtype: Handle_Geom_Plane -") Plane; - Handle_Geom_Plane Plane (); }; @@ -413,12 +415,24 @@ class BRepBuilderAPI_FindPlane { __repr__ = _dumps_object } }; + +/****************************** +* class BRepBuilderAPI_Sewing * +******************************/ %nodefaultctor BRepBuilderAPI_Sewing; -class BRepBuilderAPI_Sewing : public MMgt_TShared { +class BRepBuilderAPI_Sewing : public Standard_Transient { public: - %feature("compactdefaultargs") BRepBuilderAPI_Sewing; - %feature("autodoc", " * Creates an object with tolerance of connexity option for sewing (if false only control) option for analysis of degenerated shapes option for cutting of free edges. option for non manifold processing + /****************** Add ******************/ + %feature("compactdefaultargs") Add; + %feature("autodoc", "* Defines the shapes to be sewed or controlled + :param shape: + :type shape: TopoDS_Shape & + :rtype: None") Add; + void Add (const TopoDS_Shape & shape); + /****************** BRepBuilderAPI_Sewing ******************/ + %feature("compactdefaultargs") BRepBuilderAPI_Sewing; + %feature("autodoc", "* Creates an object with tolerance of connexity option for sewing (if false only control) option for analysis of degenerated shapes option for cutting of free edges. option for non manifold processing :param tolerance: default value is 1.0e-06 :type tolerance: float :param option1: default value is Standard_True @@ -429,12 +443,76 @@ class BRepBuilderAPI_Sewing : public MMgt_TShared { :type option3: bool :param option4: default value is Standard_False :type option4: bool - :rtype: None -") BRepBuilderAPI_Sewing; + :rtype: None") BRepBuilderAPI_Sewing; BRepBuilderAPI_Sewing (const Standard_Real tolerance = 1.0e-06,const Standard_Boolean option1 = Standard_True,const Standard_Boolean option2 = Standard_True,const Standard_Boolean option3 = Standard_True,const Standard_Boolean option4 = Standard_False); - %feature("compactdefaultargs") Init; - %feature("autodoc", " * initialize the parameters if necessary + /****************** ContigousEdge ******************/ + %feature("compactdefaultargs") ContigousEdge; + %feature("autodoc", "* Gives each contigous edge + :param index: + :type index: int + :rtype: TopoDS_Edge") ContigousEdge; + const TopoDS_Edge ContigousEdge (const Standard_Integer index); + + /****************** ContigousEdgeCouple ******************/ + %feature("compactdefaultargs") ContigousEdgeCouple; + %feature("autodoc", "* Gives the sections (edge) belonging to a contigous edge + :param index: + :type index: int + :rtype: TopTools_ListOfShape") ContigousEdgeCouple; + const TopTools_ListOfShape & ContigousEdgeCouple (const Standard_Integer index); + + /****************** DegeneratedShape ******************/ + %feature("compactdefaultargs") DegeneratedShape; + %feature("autodoc", "* Gives each degenerated shape + :param index: + :type index: int + :rtype: TopoDS_Shape") DegeneratedShape; + const TopoDS_Shape DegeneratedShape (const Standard_Integer index); + + /****************** DeletedFace ******************/ + %feature("compactdefaultargs") DeletedFace; + %feature("autodoc", "* Gives each deleted face + :param index: + :type index: int + :rtype: TopoDS_Face") DeletedFace; + const TopoDS_Face DeletedFace (const Standard_Integer index); + + /****************** Dump ******************/ + %feature("compactdefaultargs") Dump; + %feature("autodoc", "* print the informations + :rtype: None") Dump; + void Dump (); + + /****************** FaceMode ******************/ + %feature("compactdefaultargs") FaceMode; + %feature("autodoc", "* Returns mode for sewing faces By default - true. + :rtype: bool") FaceMode; + Standard_Boolean FaceMode (); + + /****************** FloatingEdgesMode ******************/ + %feature("compactdefaultargs") FloatingEdgesMode; + %feature("autodoc", "* Returns mode for sewing floating edges By default - false. + :rtype: bool") FloatingEdgesMode; + Standard_Boolean FloatingEdgesMode (); + + /****************** FreeEdge ******************/ + %feature("compactdefaultargs") FreeEdge; + %feature("autodoc", "* Gives each free edge + :param index: + :type index: int + :rtype: TopoDS_Edge") FreeEdge; + const TopoDS_Edge FreeEdge (const Standard_Integer index); + + /****************** GetContext ******************/ + %feature("compactdefaultargs") GetContext; + %feature("autodoc", "* return context + :rtype: opencascade::handle") GetContext; + const opencascade::handle & GetContext (); + + /****************** Init ******************/ + %feature("compactdefaultargs") Init; + %feature("autodoc", "* initialize the parameters if necessary :param tolerance: default value is 1.0e-06 :type tolerance: float :param option1: default value is Standard_True @@ -445,315 +523,243 @@ class BRepBuilderAPI_Sewing : public MMgt_TShared { :type option3: bool :param option4: default value is Standard_False :type option4: bool - :rtype: None -") Init; + :rtype: None") Init; void Init (const Standard_Real tolerance = 1.0e-06,const Standard_Boolean option1 = Standard_True,const Standard_Boolean option2 = Standard_True,const Standard_Boolean option3 = Standard_True,const Standard_Boolean option4 = Standard_False); - %feature("compactdefaultargs") Load; - %feature("autodoc", " * Loades the context shape. + /****************** IsDegenerated ******************/ + %feature("compactdefaultargs") IsDegenerated; + %feature("autodoc", "* Indicates if a input shape is degenerated :param shape: :type shape: TopoDS_Shape & - :rtype: None -") Load; - void Load (const TopoDS_Shape & shape); - %feature("compactdefaultargs") Add; - %feature("autodoc", " * Defines the shapes to be sewed or controlled + :rtype: bool") IsDegenerated; + Standard_Boolean IsDegenerated (const TopoDS_Shape & shape); + /****************** IsModified ******************/ + %feature("compactdefaultargs") IsModified; + %feature("autodoc", "* Indicates if a input shape has been modified :param shape: :type shape: TopoDS_Shape & - :rtype: None -") Add; - void Add (const TopoDS_Shape & shape); - %feature("compactdefaultargs") Perform; - %feature("autodoc", " * Computing thePI - progress indicator of algorithm - - :param thePI: default value is 0 - :type thePI: Handle_Message_ProgressIndicator & - :rtype: None -") Perform; - void Perform (const Handle_Message_ProgressIndicator & thePI = 0); - %feature("compactdefaultargs") SewedShape; - %feature("autodoc", " * Gives the sewed shape a null shape if nothing constructed may be a face, a shell, a solid or a compound - - :rtype: TopoDS_Shape -") SewedShape; - const TopoDS_Shape SewedShape (); - %feature("compactdefaultargs") SetContext; - %feature("autodoc", " * set context - - :param theContext: - :type theContext: Handle_BRepTools_ReShape & - :rtype: None -") SetContext; - void SetContext (const Handle_BRepTools_ReShape & theContext); - %feature("compactdefaultargs") GetContext; - %feature("autodoc", " * return context - - :rtype: Handle_BRepTools_ReShape -") GetContext; - Handle_BRepTools_ReShape GetContext (); - %feature("compactdefaultargs") NbFreeEdges; - %feature("autodoc", " * Gives the number of free edges (edge shared by one face) - - :rtype: int -") NbFreeEdges; - Standard_Integer NbFreeEdges (); - %feature("compactdefaultargs") FreeEdge; - %feature("autodoc", " * Gives each free edge - - :param index: - :type index: int - :rtype: TopoDS_Edge -") FreeEdge; - const TopoDS_Edge FreeEdge (const Standard_Integer index); - %feature("compactdefaultargs") NbMultipleEdges; - %feature("autodoc", " * Gives the number of multiple edges (edge shared by more than two faces) - - :rtype: int -") NbMultipleEdges; - Standard_Integer NbMultipleEdges (); - %feature("compactdefaultargs") MultipleEdge; - %feature("autodoc", " * Gives each multiple edge - - :param index: - :type index: int - :rtype: TopoDS_Edge -") MultipleEdge; - const TopoDS_Edge MultipleEdge (const Standard_Integer index); - %feature("compactdefaultargs") NbContigousEdges; - %feature("autodoc", " * Gives the number of contigous edges (edge shared by two faces) - - :rtype: int -") NbContigousEdges; - Standard_Integer NbContigousEdges (); - %feature("compactdefaultargs") ContigousEdge; - %feature("autodoc", " * Gives each contigous edge + :rtype: bool") IsModified; + Standard_Boolean IsModified (const TopoDS_Shape & shape); - :param index: - :type index: int - :rtype: TopoDS_Edge -") ContigousEdge; - const TopoDS_Edge ContigousEdge (const Standard_Integer index); - %feature("compactdefaultargs") ContigousEdgeCouple; - %feature("autodoc", " * Gives the sections (edge) belonging to a contigous edge + /****************** IsModifiedSubShape ******************/ + %feature("compactdefaultargs") IsModifiedSubShape; + %feature("autodoc", "* Indicates if a input subshape has been modified + :param shape: + :type shape: TopoDS_Shape & + :rtype: bool") IsModifiedSubShape; + Standard_Boolean IsModifiedSubShape (const TopoDS_Shape & shape); - :param index: - :type index: int - :rtype: TopTools_ListOfShape -") ContigousEdgeCouple; - const TopTools_ListOfShape & ContigousEdgeCouple (const Standard_Integer index); + /****************** IsSectionBound ******************/ %feature("compactdefaultargs") IsSectionBound; - %feature("autodoc", " * Indicates if a section is bound (before use SectionToBoundary) - + %feature("autodoc", "* Indicates if a section is bound (before use SectionToBoundary) :param section: :type section: TopoDS_Edge & - :rtype: bool -") IsSectionBound; + :rtype: bool") IsSectionBound; Standard_Boolean IsSectionBound (const TopoDS_Edge & section); - %feature("compactdefaultargs") SectionToBoundary; - %feature("autodoc", " * Gives the original edge (free boundary) which becomes the the section. Remember that sections constitute common edges. This imformation is important for control because with original edge we can find the surface to which the section is attached. - :param section: - :type section: TopoDS_Edge & - :rtype: TopoDS_Edge -") SectionToBoundary; - const TopoDS_Edge SectionToBoundary (const TopoDS_Edge & section); - %feature("compactdefaultargs") NbDegeneratedShapes; - %feature("autodoc", " * Gives the number of degenerated shapes + /****************** Load ******************/ + %feature("compactdefaultargs") Load; + %feature("autodoc", "* Loades the context shape. + :param shape: + :type shape: TopoDS_Shape & + :rtype: None") Load; + void Load (const TopoDS_Shape & shape); - :rtype: int -") NbDegeneratedShapes; - Standard_Integer NbDegeneratedShapes (); - %feature("compactdefaultargs") DegeneratedShape; - %feature("autodoc", " * Gives each degenerated shape + /****************** LocalTolerancesMode ******************/ + %feature("compactdefaultargs") LocalTolerancesMode; + %feature("autodoc", "* Returns mode for accounting of local tolerances of edges and vertices during of merging. + :rtype: bool") LocalTolerancesMode; + Standard_Boolean LocalTolerancesMode (); - :param index: - :type index: int - :rtype: TopoDS_Shape -") DegeneratedShape; - const TopoDS_Shape DegeneratedShape (const Standard_Integer index); - %feature("compactdefaultargs") IsDegenerated; - %feature("autodoc", " * Indicates if a input shape is degenerated + /****************** MaxTolerance ******************/ + %feature("compactdefaultargs") MaxTolerance; + %feature("autodoc", "* Gives set max tolerance + :rtype: float") MaxTolerance; + Standard_Real MaxTolerance (); - :param shape: - :type shape: TopoDS_Shape & - :rtype: bool -") IsDegenerated; - Standard_Boolean IsDegenerated (const TopoDS_Shape & shape); - %feature("compactdefaultargs") IsModified; - %feature("autodoc", " * Indicates if a input shape has been modified + /****************** MinTolerance ******************/ + %feature("compactdefaultargs") MinTolerance; + %feature("autodoc", "* Gives set min tolerance. + :rtype: float") MinTolerance; + Standard_Real MinTolerance (); - :param shape: - :type shape: TopoDS_Shape & - :rtype: bool -") IsModified; - Standard_Boolean IsModified (const TopoDS_Shape & shape); + /****************** Modified ******************/ %feature("compactdefaultargs") Modified; - %feature("autodoc", " * Gives a modifieded shape - + %feature("autodoc", "* Gives a modifieded shape :param shape: :type shape: TopoDS_Shape & - :rtype: TopoDS_Shape -") Modified; + :rtype: TopoDS_Shape") Modified; const TopoDS_Shape Modified (const TopoDS_Shape & shape); - %feature("compactdefaultargs") IsModifiedSubShape; - %feature("autodoc", " * Indicates if a input subshape has been modified - :param shape: - :type shape: TopoDS_Shape & - :rtype: bool -") IsModifiedSubShape; - Standard_Boolean IsModifiedSubShape (const TopoDS_Shape & shape); + /****************** ModifiedSubShape ******************/ %feature("compactdefaultargs") ModifiedSubShape; - %feature("autodoc", " * Gives a modifieded subshape - + %feature("autodoc", "* Gives a modifieded subshape :param shape: :type shape: TopoDS_Shape & - :rtype: TopoDS_Shape -") ModifiedSubShape; + :rtype: TopoDS_Shape") ModifiedSubShape; TopoDS_Shape ModifiedSubShape (const TopoDS_Shape & shape); - %feature("compactdefaultargs") Dump; - %feature("autodoc", " * print the informations - - :rtype: None -") Dump; - void Dump (); - %feature("compactdefaultargs") NbDeletedFaces; - %feature("autodoc", " * Gives the number of deleted faces (faces smallest than tolerance) - - :rtype: int -") NbDeletedFaces; - Standard_Integer NbDeletedFaces (); - %feature("compactdefaultargs") DeletedFace; - %feature("autodoc", " * Gives each deleted face + /****************** MultipleEdge ******************/ + %feature("compactdefaultargs") MultipleEdge; + %feature("autodoc", "* Gives each multiple edge :param index: :type index: int - :rtype: TopoDS_Face -") DeletedFace; - const TopoDS_Face DeletedFace (const Standard_Integer index); - %feature("compactdefaultargs") WhichFace; - %feature("autodoc", " * Gives a modified shape + :rtype: TopoDS_Edge") MultipleEdge; + const TopoDS_Edge MultipleEdge (const Standard_Integer index); - :param theEdg: - :type theEdg: TopoDS_Edge & - :param index: default value is 1 - :type index: int - :rtype: TopoDS_Face -") WhichFace; - TopoDS_Face WhichFace (const TopoDS_Edge & theEdg,const Standard_Integer index = 1); - %feature("compactdefaultargs") SameParameterMode; - %feature("autodoc", " * Gets same parameter mode. + /****************** NbContigousEdges ******************/ + %feature("compactdefaultargs") NbContigousEdges; + %feature("autodoc", "* Gives the number of contigous edges (edge shared by two faces) + :rtype: int") NbContigousEdges; + Standard_Integer NbContigousEdges (); - :rtype: bool -") SameParameterMode; - Standard_Boolean SameParameterMode (); - %feature("compactdefaultargs") SetSameParameterMode; - %feature("autodoc", " * Sets same parameter mode. + /****************** NbDegeneratedShapes ******************/ + %feature("compactdefaultargs") NbDegeneratedShapes; + %feature("autodoc", "* Gives the number of degenerated shapes + :rtype: int") NbDegeneratedShapes; + Standard_Integer NbDegeneratedShapes (); - :param SameParameterMode: - :type SameParameterMode: bool - :rtype: None -") SetSameParameterMode; - void SetSameParameterMode (const Standard_Boolean SameParameterMode); - %feature("compactdefaultargs") Tolerance; - %feature("autodoc", " * Gives set tolerance. + /****************** NbDeletedFaces ******************/ + %feature("compactdefaultargs") NbDeletedFaces; + %feature("autodoc", "* Gives the number of deleted faces (faces smallest than tolerance) + :rtype: int") NbDeletedFaces; + Standard_Integer NbDeletedFaces (); - :rtype: float -") Tolerance; - Standard_Real Tolerance (); - %feature("compactdefaultargs") SetTolerance; - %feature("autodoc", " * Sets tolerance + /****************** NbFreeEdges ******************/ + %feature("compactdefaultargs") NbFreeEdges; + %feature("autodoc", "* Gives the number of free edges (edge shared by one face) + :rtype: int") NbFreeEdges; + Standard_Integer NbFreeEdges (); - :param theToler: - :type theToler: float - :rtype: None -") SetTolerance; - void SetTolerance (const Standard_Real theToler); - %feature("compactdefaultargs") MinTolerance; - %feature("autodoc", " * Gives set min tolerance. + /****************** NbMultipleEdges ******************/ + %feature("compactdefaultargs") NbMultipleEdges; + %feature("autodoc", "* Gives the number of multiple edges (edge shared by more than two faces) + :rtype: int") NbMultipleEdges; + Standard_Integer NbMultipleEdges (); - :rtype: float -") MinTolerance; - Standard_Real MinTolerance (); - %feature("compactdefaultargs") SetMinTolerance; - %feature("autodoc", " * Sets min tolerance + /****************** NonManifoldMode ******************/ + %feature("compactdefaultargs") NonManifoldMode; + %feature("autodoc", "* Gets mode for non-manifold sewing. //! INTERNAL FUCTIONS --- + :rtype: bool") NonManifoldMode; + Standard_Boolean NonManifoldMode (); - :param theMinToler: - :type theMinToler: float - :rtype: None -") SetMinTolerance; - void SetMinTolerance (const Standard_Real theMinToler); - %feature("compactdefaultargs") MaxTolerance; - %feature("autodoc", " * Gives set max tolerance + /****************** Perform ******************/ + %feature("compactdefaultargs") Perform; + %feature("autodoc", "* Computing thePI - progress indicator of algorithm + :param thePI: default value is 0 + :type thePI: opencascade::handle & + :rtype: None") Perform; + void Perform (const opencascade::handle & thePI = 0); - :rtype: float -") MaxTolerance; - Standard_Real MaxTolerance (); - %feature("compactdefaultargs") SetMaxTolerance; - %feature("autodoc", " * Sets max tolerance. + /****************** SameParameterMode ******************/ + %feature("compactdefaultargs") SameParameterMode; + %feature("autodoc", "* Gets same parameter mode. + :rtype: bool") SameParameterMode; + Standard_Boolean SameParameterMode (); - :param theMaxToler: - :type theMaxToler: float - :rtype: None -") SetMaxTolerance; - void SetMaxTolerance (const Standard_Real theMaxToler); - %feature("compactdefaultargs") FaceMode; - %feature("autodoc", " * Returns mode for sewing faces By default - true. + /****************** SectionToBoundary ******************/ + %feature("compactdefaultargs") SectionToBoundary; + %feature("autodoc", "* Gives the original edge (free boundary) which becomes the the section. Remember that sections constitute common edges. This imformation is important for control because with original edge we can find the surface to which the section is attached. + :param section: + :type section: TopoDS_Edge & + :rtype: TopoDS_Edge") SectionToBoundary; + const TopoDS_Edge SectionToBoundary (const TopoDS_Edge & section); - :rtype: bool -") FaceMode; - Standard_Boolean FaceMode (); - %feature("compactdefaultargs") SetFaceMode; - %feature("autodoc", " * Sets mode for sewing faces By default - true. + /****************** SetContext ******************/ + %feature("compactdefaultargs") SetContext; + %feature("autodoc", "* set context + :param theContext: + :type theContext: opencascade::handle & + :rtype: None") SetContext; + void SetContext (const opencascade::handle & theContext); + /****************** SetFaceMode ******************/ + %feature("compactdefaultargs") SetFaceMode; + %feature("autodoc", "* Sets mode for sewing faces By default - true. :param theFaceMode: :type theFaceMode: bool - :rtype: None -") SetFaceMode; + :rtype: None") SetFaceMode; void SetFaceMode (const Standard_Boolean theFaceMode); - %feature("compactdefaultargs") FloatingEdgesMode; - %feature("autodoc", " * Returns mode for sewing floating edges By default - false. - :rtype: bool -") FloatingEdgesMode; - Standard_Boolean FloatingEdgesMode (); + /****************** SetFloatingEdgesMode ******************/ %feature("compactdefaultargs") SetFloatingEdgesMode; - %feature("autodoc", " * Sets mode for sewing floating edges By default - false. Returns mode for cutting floating edges By default - false. Sets mode for cutting floating edges By default - false. - + %feature("autodoc", "* Sets mode for sewing floating edges By default - false. Returns mode for cutting floating edges By default - false. Sets mode for cutting floating edges By default - false. :param theFloatingEdgesMode: :type theFloatingEdgesMode: bool - :rtype: None -") SetFloatingEdgesMode; + :rtype: None") SetFloatingEdgesMode; void SetFloatingEdgesMode (const Standard_Boolean theFloatingEdgesMode); - %feature("compactdefaultargs") LocalTolerancesMode; - %feature("autodoc", " * Returns mode for accounting of local tolerances of edges and vertices during of merging. - :rtype: bool -") LocalTolerancesMode; - Standard_Boolean LocalTolerancesMode (); + /****************** SetLocalTolerancesMode ******************/ %feature("compactdefaultargs") SetLocalTolerancesMode; - %feature("autodoc", " * Sets mode for accounting of local tolerances of edges and vertices during of merging in this case WorkTolerance = myTolerance + tolEdge1+ tolEdg2; - + %feature("autodoc", "* Sets mode for accounting of local tolerances of edges and vertices during of merging in this case WorkTolerance = myTolerance + tolEdge1+ tolEdg2; :param theLocalTolerancesMode: :type theLocalTolerancesMode: bool - :rtype: None -") SetLocalTolerancesMode; + :rtype: None") SetLocalTolerancesMode; void SetLocalTolerancesMode (const Standard_Boolean theLocalTolerancesMode); - %feature("compactdefaultargs") SetNonManifoldMode; - %feature("autodoc", " * Sets mode for non-manifold sewing. + /****************** SetMaxTolerance ******************/ + %feature("compactdefaultargs") SetMaxTolerance; + %feature("autodoc", "* Sets max tolerance. + :param theMaxToler: + :type theMaxToler: float + :rtype: None") SetMaxTolerance; + void SetMaxTolerance (const Standard_Real theMaxToler); + + /****************** SetMinTolerance ******************/ + %feature("compactdefaultargs") SetMinTolerance; + %feature("autodoc", "* Sets min tolerance + :param theMinToler: + :type theMinToler: float + :rtype: None") SetMinTolerance; + void SetMinTolerance (const Standard_Real theMinToler); + + /****************** SetNonManifoldMode ******************/ + %feature("compactdefaultargs") SetNonManifoldMode; + %feature("autodoc", "* Sets mode for non-manifold sewing. :param theNonManifoldMode: :type theNonManifoldMode: bool - :rtype: None -") SetNonManifoldMode; + :rtype: None") SetNonManifoldMode; void SetNonManifoldMode (const Standard_Boolean theNonManifoldMode); - %feature("compactdefaultargs") NonManifoldMode; - %feature("autodoc", " * Gets mode for non-manifold sewing. //! INTERNAL FUCTIONS --- - :rtype: bool -") NonManifoldMode; - Standard_Boolean NonManifoldMode (); + /****************** SetSameParameterMode ******************/ + %feature("compactdefaultargs") SetSameParameterMode; + %feature("autodoc", "* Sets same parameter mode. + :param SameParameterMode: + :type SameParameterMode: bool + :rtype: None") SetSameParameterMode; + void SetSameParameterMode (const Standard_Boolean SameParameterMode); + + /****************** SetTolerance ******************/ + %feature("compactdefaultargs") SetTolerance; + %feature("autodoc", "* Sets tolerance + :param theToler: + :type theToler: float + :rtype: None") SetTolerance; + void SetTolerance (const Standard_Real theToler); + + /****************** SewedShape ******************/ + %feature("compactdefaultargs") SewedShape; + %feature("autodoc", "* Gives the sewed shape a null shape if nothing constructed may be a face, a shell, a solid or a compound + :rtype: TopoDS_Shape") SewedShape; + const TopoDS_Shape SewedShape (); + + /****************** Tolerance ******************/ + %feature("compactdefaultargs") Tolerance; + %feature("autodoc", "* Gives set tolerance. + :rtype: float") Tolerance; + Standard_Real Tolerance (); + + /****************** WhichFace ******************/ + %feature("compactdefaultargs") WhichFace; + %feature("autodoc", "* Gives a modified shape + :param theEdg: + :type theEdg: TopoDS_Edge & + :param index: default value is 1 + :type index: int + :rtype: TopoDS_Face") WhichFace; + TopoDS_Face WhichFace (const TopoDS_Edge & theEdg,const Standard_Integer index = 1); + }; @@ -764,54 +770,58 @@ class BRepBuilderAPI_Sewing : public MMgt_TShared { __repr__ = _dumps_object } }; + +/*************************************** +* class BRepBuilderAPI_VertexInspector * +***************************************/ %nodefaultctor BRepBuilderAPI_VertexInspector; class BRepBuilderAPI_VertexInspector : public NCollection_CellFilter_InspectorXYZ { public: typedef Standard_Integer Target; - %feature("compactdefaultargs") BRepBuilderAPI_VertexInspector; - %feature("autodoc", " * Constructor; remembers the tolerance + /****************** Add ******************/ + %feature("compactdefaultargs") Add; + %feature("autodoc", "* Keep the points used for comparison + :param thePnt: + :type thePnt: gp_XYZ + :rtype: None") Add; + void Add (const gp_XYZ & thePnt); + /****************** BRepBuilderAPI_VertexInspector ******************/ + %feature("compactdefaultargs") BRepBuilderAPI_VertexInspector; + %feature("autodoc", "* Constructor; remembers the tolerance :param theTol: :type theTol: float - :rtype: None -") BRepBuilderAPI_VertexInspector; + :rtype: None") BRepBuilderAPI_VertexInspector; BRepBuilderAPI_VertexInspector (const Standard_Real theTol); - %feature("compactdefaultargs") Add; - %feature("autodoc", " * Keep the points used for comparison - :param thePnt: - :type thePnt: gp_XYZ - :rtype: None -") Add; - void Add (const gp_XYZ & thePnt); + /****************** ClearResList ******************/ %feature("compactdefaultargs") ClearResList; - %feature("autodoc", " * Clear the list of adjacent points - - :rtype: None -") ClearResList; + %feature("autodoc", "* Clear the list of adjacent points + :rtype: None") ClearResList; void ClearResList (); - %feature("compactdefaultargs") SetCurrent; - %feature("autodoc", " * Set current point to search for coincidence - :param theCurPnt: - :type theCurPnt: gp_XYZ - :rtype: None -") SetCurrent; - void SetCurrent (const gp_XYZ & theCurPnt); - %feature("compactdefaultargs") ResInd; - %feature("autodoc", " * Get list of indexes of points adjacent with the current - - :rtype: TColStd_ListOfInteger -") ResInd; - const TColStd_ListOfInteger & ResInd (); + /****************** Inspect ******************/ %feature("compactdefaultargs") Inspect; - %feature("autodoc", " * Implementation of inspection method - + %feature("autodoc", "* Implementation of inspection method :param theTarget: :type theTarget: int - :rtype: NCollection_CellFilter_Action -") Inspect; + :rtype: NCollection_CellFilter_Action") Inspect; NCollection_CellFilter_Action Inspect (const Standard_Integer theTarget); + + /****************** ResInd ******************/ + %feature("compactdefaultargs") ResInd; + %feature("autodoc", "* Get list of indexes of points adjacent with the current + :rtype: TColStd_ListOfInteger") ResInd; + const TColStd_ListOfInteger & ResInd (); + + /****************** SetCurrent ******************/ + %feature("compactdefaultargs") SetCurrent; + %feature("autodoc", "* Set current point to search for coincidence + :param theCurPnt: + :type theCurPnt: gp_XYZ + :rtype: None") SetCurrent; + void SetCurrent (const gp_XYZ & theCurPnt); + }; @@ -820,51 +830,55 @@ typedef Standard_Integer Target; __repr__ = _dumps_object } }; + +/****************************************** +* class BRepBuilderAPI_BndBoxTreeSelector * +******************************************/ %nodefaultctor BRepBuilderAPI_BndBoxTreeSelector; class BRepBuilderAPI_BndBoxTreeSelector : public BRepBuilderAPI_BndBoxTree::Selector { public: - %feature("compactdefaultargs") BRepBuilderAPI_BndBoxTreeSelector; - %feature("autodoc", " * Constructor; calls the base class constructor + /****************** Accept ******************/ + %feature("compactdefaultargs") Accept; + %feature("autodoc", "* Implementation of acceptance method This method is called when the bounding box intersect with the current. It stores the object - the index of box in the list of accepted objects. returns True, because the object is accepted + :param theObj: + :type theObj: int & + :rtype: bool") Accept; + Standard_Boolean Accept (const Standard_Integer & theObj); - :rtype: None -") BRepBuilderAPI_BndBoxTreeSelector; + /****************** BRepBuilderAPI_BndBoxTreeSelector ******************/ + %feature("compactdefaultargs") BRepBuilderAPI_BndBoxTreeSelector; + %feature("autodoc", "* Constructor; calls the base class constructor + :rtype: None") BRepBuilderAPI_BndBoxTreeSelector; BRepBuilderAPI_BndBoxTreeSelector (); - %feature("compactdefaultargs") Reject; - %feature("autodoc", " * Implementation of rejection method returns True if the bounding box does not intersect with the current + /****************** ClearResList ******************/ + %feature("compactdefaultargs") ClearResList; + %feature("autodoc", "* Clear the list of intersecting boxes + :rtype: None") ClearResList; + void ClearResList (); + + /****************** Reject ******************/ + %feature("compactdefaultargs") Reject; + %feature("autodoc", "* Implementation of rejection method returns True if the bounding box does not intersect with the current :param theBox: :type theBox: Bnd_Box & - :rtype: bool -") Reject; + :rtype: bool") Reject; Standard_Boolean Reject (const Bnd_Box & theBox); - %feature("compactdefaultargs") Accept; - %feature("autodoc", " * Implementation of acceptance method This method is called when the bounding box intersect with the current. It stores the object - the index of box in the list of accepted objects. returns True, because the object is accepted - :param theObj: - :type theObj: int & - :rtype: bool -") Accept; - Standard_Boolean Accept (const Standard_Integer & theObj); - %feature("compactdefaultargs") ClearResList; - %feature("autodoc", " * Clear the list of intersecting boxes + /****************** ResInd ******************/ + %feature("compactdefaultargs") ResInd; + %feature("autodoc", "* Get list of indexes of boxes intersecting with the current box + :rtype: TColStd_ListOfInteger") ResInd; + const TColStd_ListOfInteger & ResInd (); - :rtype: None -") ClearResList; - void ClearResList (); + /****************** SetCurrent ******************/ %feature("compactdefaultargs") SetCurrent; - %feature("autodoc", " * Set current box to search for overlapping with him - + %feature("autodoc", "* Set current box to search for overlapping with him :param theBox: :type theBox: Bnd_Box & - :rtype: None -") SetCurrent; + :rtype: None") SetCurrent; void SetCurrent (const Bnd_Box & theBox); - %feature("compactdefaultargs") ResInd; - %feature("autodoc", " * Get list of indexes of boxes intersecting with the current box - :rtype: TColStd_ListOfInteger -") ResInd; - const TColStd_ListOfInteger & ResInd (); }; @@ -873,53 +887,54 @@ class BRepBuilderAPI_BndBoxTreeSelector : public BRepBuilderAPI_BndBoxTree::Sele __repr__ = _dumps_object } }; + +/********************************* +* class BRepBuilderAPI_MakeShape * +*********************************/ %nodefaultctor BRepBuilderAPI_MakeShape; class BRepBuilderAPI_MakeShape : public BRepBuilderAPI_Command { public: - %feature("compactdefaultargs") Delete; - %feature("autodoc", " :rtype: void -") Delete; - virtual void Delete (); + /****************** Build ******************/ %feature("compactdefaultargs") Build; - %feature("autodoc", " * This is called by Shape(). It does nothing but may be redefined. - - :rtype: void -") Build; + %feature("autodoc", "* This is called by Shape(). It does nothing but may be redefined. + :rtype: void") Build; virtual void Build (); - %feature("compactdefaultargs") Shape; - %feature("autodoc", " * Returns a shape built by the shape construction algorithm. Raises exception StdFail_NotDone if the shape was not built. - :rtype: TopoDS_Shape -") Shape; - virtual const TopoDS_Shape Shape (); - %feature("compactdefaultargs") operator TopoDS_Shape; - %feature("autodoc", " :rtype: -") operator TopoDS_Shape; - operator TopoDS_Shape (); + /****************** Generated ******************/ %feature("compactdefaultargs") Generated; - %feature("autodoc", " * Returns the list of shapes generated from the shape . - + %feature("autodoc", "* Returns the list of shapes generated from the shape . :param S: :type S: TopoDS_Shape & - :rtype: TopTools_ListOfShape -") Generated; + :rtype: TopTools_ListOfShape") Generated; virtual const TopTools_ListOfShape & Generated (const TopoDS_Shape & S); - %feature("compactdefaultargs") Modified; - %feature("autodoc", " * Returns the list of shapes modified from the shape . + /****************** IsDeleted ******************/ + %feature("compactdefaultargs") IsDeleted; + %feature("autodoc", "* Returns true if the shape S has been deleted. :param S: :type S: TopoDS_Shape & - :rtype: TopTools_ListOfShape -") Modified; - virtual const TopTools_ListOfShape & Modified (const TopoDS_Shape & S); - %feature("compactdefaultargs") IsDeleted; - %feature("autodoc", " * Returns true if the shape S has been deleted. + :rtype: bool") IsDeleted; + virtual Standard_Boolean IsDeleted (const TopoDS_Shape & S); + /****************** Modified ******************/ + %feature("compactdefaultargs") Modified; + %feature("autodoc", "* Returns the list of shapes modified from the shape . :param S: :type S: TopoDS_Shape & - :rtype: bool -") IsDeleted; - virtual Standard_Boolean IsDeleted (const TopoDS_Shape & S); + :rtype: TopTools_ListOfShape") Modified; + virtual const TopTools_ListOfShape & Modified (const TopoDS_Shape & S); + + /****************** Shape ******************/ + %feature("compactdefaultargs") Shape; + %feature("autodoc", "* Returns a shape built by the shape construction algorithm. Raises exception StdFail_NotDone if the shape was not built. + :rtype: TopoDS_Shape") Shape; + virtual const TopoDS_Shape Shape (); + + /****************** operator TopoDS_Shape ******************/ + %feature("compactdefaultargs") operator TopoDS_Shape; + %feature("autodoc", ":rtype:") operator TopoDS_Shape; + operator TopoDS_Shape (); + }; @@ -928,248 +943,280 @@ class BRepBuilderAPI_MakeShape : public BRepBuilderAPI_Command { __repr__ = _dumps_object } }; + +/******************************** +* class BRepBuilderAPI_MakeEdge * +********************************/ %nodefaultctor BRepBuilderAPI_MakeEdge; class BRepBuilderAPI_MakeEdge : public BRepBuilderAPI_MakeShape { public: + /****************** BRepBuilderAPI_MakeEdge ******************/ %feature("compactdefaultargs") BRepBuilderAPI_MakeEdge; - %feature("autodoc", " :rtype: None -") BRepBuilderAPI_MakeEdge; + %feature("autodoc", ":rtype: None") BRepBuilderAPI_MakeEdge; BRepBuilderAPI_MakeEdge (); + + /****************** BRepBuilderAPI_MakeEdge ******************/ %feature("compactdefaultargs") BRepBuilderAPI_MakeEdge; - %feature("autodoc", " :param V1: + %feature("autodoc", ":param V1: :type V1: TopoDS_Vertex & :param V2: :type V2: TopoDS_Vertex & - :rtype: None -") BRepBuilderAPI_MakeEdge; + :rtype: None") BRepBuilderAPI_MakeEdge; BRepBuilderAPI_MakeEdge (const TopoDS_Vertex & V1,const TopoDS_Vertex & V2); + + /****************** BRepBuilderAPI_MakeEdge ******************/ %feature("compactdefaultargs") BRepBuilderAPI_MakeEdge; - %feature("autodoc", " :param P1: + %feature("autodoc", ":param P1: :type P1: gp_Pnt :param P2: :type P2: gp_Pnt - :rtype: None -") BRepBuilderAPI_MakeEdge; + :rtype: None") BRepBuilderAPI_MakeEdge; BRepBuilderAPI_MakeEdge (const gp_Pnt & P1,const gp_Pnt & P2); + + /****************** BRepBuilderAPI_MakeEdge ******************/ %feature("compactdefaultargs") BRepBuilderAPI_MakeEdge; - %feature("autodoc", " :param L: + %feature("autodoc", ":param L: :type L: gp_Lin - :rtype: None -") BRepBuilderAPI_MakeEdge; + :rtype: None") BRepBuilderAPI_MakeEdge; BRepBuilderAPI_MakeEdge (const gp_Lin & L); + + /****************** BRepBuilderAPI_MakeEdge ******************/ %feature("compactdefaultargs") BRepBuilderAPI_MakeEdge; - %feature("autodoc", " :param L: + %feature("autodoc", ":param L: :type L: gp_Lin :param p1: :type p1: float :param p2: :type p2: float - :rtype: None -") BRepBuilderAPI_MakeEdge; + :rtype: None") BRepBuilderAPI_MakeEdge; BRepBuilderAPI_MakeEdge (const gp_Lin & L,const Standard_Real p1,const Standard_Real p2); + + /****************** BRepBuilderAPI_MakeEdge ******************/ %feature("compactdefaultargs") BRepBuilderAPI_MakeEdge; - %feature("autodoc", " :param L: + %feature("autodoc", ":param L: :type L: gp_Lin :param P1: :type P1: gp_Pnt :param P2: :type P2: gp_Pnt - :rtype: None -") BRepBuilderAPI_MakeEdge; + :rtype: None") BRepBuilderAPI_MakeEdge; BRepBuilderAPI_MakeEdge (const gp_Lin & L,const gp_Pnt & P1,const gp_Pnt & P2); + + /****************** BRepBuilderAPI_MakeEdge ******************/ %feature("compactdefaultargs") BRepBuilderAPI_MakeEdge; - %feature("autodoc", " :param L: + %feature("autodoc", ":param L: :type L: gp_Lin :param V1: :type V1: TopoDS_Vertex & :param V2: :type V2: TopoDS_Vertex & - :rtype: None -") BRepBuilderAPI_MakeEdge; + :rtype: None") BRepBuilderAPI_MakeEdge; BRepBuilderAPI_MakeEdge (const gp_Lin & L,const TopoDS_Vertex & V1,const TopoDS_Vertex & V2); + + /****************** BRepBuilderAPI_MakeEdge ******************/ %feature("compactdefaultargs") BRepBuilderAPI_MakeEdge; - %feature("autodoc", " :param L: + %feature("autodoc", ":param L: :type L: gp_Circ - :rtype: None -") BRepBuilderAPI_MakeEdge; + :rtype: None") BRepBuilderAPI_MakeEdge; BRepBuilderAPI_MakeEdge (const gp_Circ & L); + + /****************** BRepBuilderAPI_MakeEdge ******************/ %feature("compactdefaultargs") BRepBuilderAPI_MakeEdge; - %feature("autodoc", " :param L: + %feature("autodoc", ":param L: :type L: gp_Circ :param p1: :type p1: float :param p2: :type p2: float - :rtype: None -") BRepBuilderAPI_MakeEdge; + :rtype: None") BRepBuilderAPI_MakeEdge; BRepBuilderAPI_MakeEdge (const gp_Circ & L,const Standard_Real p1,const Standard_Real p2); + + /****************** BRepBuilderAPI_MakeEdge ******************/ %feature("compactdefaultargs") BRepBuilderAPI_MakeEdge; - %feature("autodoc", " :param L: + %feature("autodoc", ":param L: :type L: gp_Circ :param P1: :type P1: gp_Pnt :param P2: :type P2: gp_Pnt - :rtype: None -") BRepBuilderAPI_MakeEdge; + :rtype: None") BRepBuilderAPI_MakeEdge; BRepBuilderAPI_MakeEdge (const gp_Circ & L,const gp_Pnt & P1,const gp_Pnt & P2); + + /****************** BRepBuilderAPI_MakeEdge ******************/ %feature("compactdefaultargs") BRepBuilderAPI_MakeEdge; - %feature("autodoc", " :param L: + %feature("autodoc", ":param L: :type L: gp_Circ :param V1: :type V1: TopoDS_Vertex & :param V2: :type V2: TopoDS_Vertex & - :rtype: None -") BRepBuilderAPI_MakeEdge; + :rtype: None") BRepBuilderAPI_MakeEdge; BRepBuilderAPI_MakeEdge (const gp_Circ & L,const TopoDS_Vertex & V1,const TopoDS_Vertex & V2); + + /****************** BRepBuilderAPI_MakeEdge ******************/ %feature("compactdefaultargs") BRepBuilderAPI_MakeEdge; - %feature("autodoc", " :param L: + %feature("autodoc", ":param L: :type L: gp_Elips - :rtype: None -") BRepBuilderAPI_MakeEdge; + :rtype: None") BRepBuilderAPI_MakeEdge; BRepBuilderAPI_MakeEdge (const gp_Elips & L); + + /****************** BRepBuilderAPI_MakeEdge ******************/ %feature("compactdefaultargs") BRepBuilderAPI_MakeEdge; - %feature("autodoc", " :param L: + %feature("autodoc", ":param L: :type L: gp_Elips :param p1: :type p1: float :param p2: :type p2: float - :rtype: None -") BRepBuilderAPI_MakeEdge; + :rtype: None") BRepBuilderAPI_MakeEdge; BRepBuilderAPI_MakeEdge (const gp_Elips & L,const Standard_Real p1,const Standard_Real p2); + + /****************** BRepBuilderAPI_MakeEdge ******************/ %feature("compactdefaultargs") BRepBuilderAPI_MakeEdge; - %feature("autodoc", " :param L: + %feature("autodoc", ":param L: :type L: gp_Elips :param P1: :type P1: gp_Pnt :param P2: :type P2: gp_Pnt - :rtype: None -") BRepBuilderAPI_MakeEdge; + :rtype: None") BRepBuilderAPI_MakeEdge; BRepBuilderAPI_MakeEdge (const gp_Elips & L,const gp_Pnt & P1,const gp_Pnt & P2); + + /****************** BRepBuilderAPI_MakeEdge ******************/ %feature("compactdefaultargs") BRepBuilderAPI_MakeEdge; - %feature("autodoc", " :param L: + %feature("autodoc", ":param L: :type L: gp_Elips :param V1: :type V1: TopoDS_Vertex & :param V2: :type V2: TopoDS_Vertex & - :rtype: None -") BRepBuilderAPI_MakeEdge; + :rtype: None") BRepBuilderAPI_MakeEdge; BRepBuilderAPI_MakeEdge (const gp_Elips & L,const TopoDS_Vertex & V1,const TopoDS_Vertex & V2); + + /****************** BRepBuilderAPI_MakeEdge ******************/ %feature("compactdefaultargs") BRepBuilderAPI_MakeEdge; - %feature("autodoc", " :param L: + %feature("autodoc", ":param L: :type L: gp_Hypr - :rtype: None -") BRepBuilderAPI_MakeEdge; + :rtype: None") BRepBuilderAPI_MakeEdge; BRepBuilderAPI_MakeEdge (const gp_Hypr & L); + + /****************** BRepBuilderAPI_MakeEdge ******************/ %feature("compactdefaultargs") BRepBuilderAPI_MakeEdge; - %feature("autodoc", " :param L: + %feature("autodoc", ":param L: :type L: gp_Hypr :param p1: :type p1: float :param p2: :type p2: float - :rtype: None -") BRepBuilderAPI_MakeEdge; + :rtype: None") BRepBuilderAPI_MakeEdge; BRepBuilderAPI_MakeEdge (const gp_Hypr & L,const Standard_Real p1,const Standard_Real p2); + + /****************** BRepBuilderAPI_MakeEdge ******************/ %feature("compactdefaultargs") BRepBuilderAPI_MakeEdge; - %feature("autodoc", " :param L: + %feature("autodoc", ":param L: :type L: gp_Hypr :param P1: :type P1: gp_Pnt :param P2: :type P2: gp_Pnt - :rtype: None -") BRepBuilderAPI_MakeEdge; + :rtype: None") BRepBuilderAPI_MakeEdge; BRepBuilderAPI_MakeEdge (const gp_Hypr & L,const gp_Pnt & P1,const gp_Pnt & P2); + + /****************** BRepBuilderAPI_MakeEdge ******************/ %feature("compactdefaultargs") BRepBuilderAPI_MakeEdge; - %feature("autodoc", " :param L: + %feature("autodoc", ":param L: :type L: gp_Hypr :param V1: :type V1: TopoDS_Vertex & :param V2: :type V2: TopoDS_Vertex & - :rtype: None -") BRepBuilderAPI_MakeEdge; + :rtype: None") BRepBuilderAPI_MakeEdge; BRepBuilderAPI_MakeEdge (const gp_Hypr & L,const TopoDS_Vertex & V1,const TopoDS_Vertex & V2); + + /****************** BRepBuilderAPI_MakeEdge ******************/ %feature("compactdefaultargs") BRepBuilderAPI_MakeEdge; - %feature("autodoc", " :param L: + %feature("autodoc", ":param L: :type L: gp_Parab - :rtype: None -") BRepBuilderAPI_MakeEdge; + :rtype: None") BRepBuilderAPI_MakeEdge; BRepBuilderAPI_MakeEdge (const gp_Parab & L); + + /****************** BRepBuilderAPI_MakeEdge ******************/ %feature("compactdefaultargs") BRepBuilderAPI_MakeEdge; - %feature("autodoc", " :param L: + %feature("autodoc", ":param L: :type L: gp_Parab :param p1: :type p1: float :param p2: :type p2: float - :rtype: None -") BRepBuilderAPI_MakeEdge; + :rtype: None") BRepBuilderAPI_MakeEdge; BRepBuilderAPI_MakeEdge (const gp_Parab & L,const Standard_Real p1,const Standard_Real p2); + + /****************** BRepBuilderAPI_MakeEdge ******************/ %feature("compactdefaultargs") BRepBuilderAPI_MakeEdge; - %feature("autodoc", " :param L: + %feature("autodoc", ":param L: :type L: gp_Parab :param P1: :type P1: gp_Pnt :param P2: :type P2: gp_Pnt - :rtype: None -") BRepBuilderAPI_MakeEdge; + :rtype: None") BRepBuilderAPI_MakeEdge; BRepBuilderAPI_MakeEdge (const gp_Parab & L,const gp_Pnt & P1,const gp_Pnt & P2); + + /****************** BRepBuilderAPI_MakeEdge ******************/ %feature("compactdefaultargs") BRepBuilderAPI_MakeEdge; - %feature("autodoc", " :param L: + %feature("autodoc", ":param L: :type L: gp_Parab :param V1: :type V1: TopoDS_Vertex & :param V2: :type V2: TopoDS_Vertex & - :rtype: None -") BRepBuilderAPI_MakeEdge; + :rtype: None") BRepBuilderAPI_MakeEdge; BRepBuilderAPI_MakeEdge (const gp_Parab & L,const TopoDS_Vertex & V1,const TopoDS_Vertex & V2); + + /****************** BRepBuilderAPI_MakeEdge ******************/ %feature("compactdefaultargs") BRepBuilderAPI_MakeEdge; - %feature("autodoc", " :param L: - :type L: Handle_Geom_Curve & - :rtype: None -") BRepBuilderAPI_MakeEdge; - BRepBuilderAPI_MakeEdge (const Handle_Geom_Curve & L); + %feature("autodoc", ":param L: + :type L: opencascade::handle & + :rtype: None") BRepBuilderAPI_MakeEdge; + BRepBuilderAPI_MakeEdge (const opencascade::handle & L); + + /****************** BRepBuilderAPI_MakeEdge ******************/ %feature("compactdefaultargs") BRepBuilderAPI_MakeEdge; - %feature("autodoc", " :param L: - :type L: Handle_Geom_Curve & + %feature("autodoc", ":param L: + :type L: opencascade::handle & :param p1: :type p1: float :param p2: :type p2: float - :rtype: None -") BRepBuilderAPI_MakeEdge; - BRepBuilderAPI_MakeEdge (const Handle_Geom_Curve & L,const Standard_Real p1,const Standard_Real p2); + :rtype: None") BRepBuilderAPI_MakeEdge; + BRepBuilderAPI_MakeEdge (const opencascade::handle & L,const Standard_Real p1,const Standard_Real p2); + + /****************** BRepBuilderAPI_MakeEdge ******************/ %feature("compactdefaultargs") BRepBuilderAPI_MakeEdge; - %feature("autodoc", " :param L: - :type L: Handle_Geom_Curve & + %feature("autodoc", ":param L: + :type L: opencascade::handle & :param P1: :type P1: gp_Pnt :param P2: :type P2: gp_Pnt - :rtype: None -") BRepBuilderAPI_MakeEdge; - BRepBuilderAPI_MakeEdge (const Handle_Geom_Curve & L,const gp_Pnt & P1,const gp_Pnt & P2); + :rtype: None") BRepBuilderAPI_MakeEdge; + BRepBuilderAPI_MakeEdge (const opencascade::handle & L,const gp_Pnt & P1,const gp_Pnt & P2); + + /****************** BRepBuilderAPI_MakeEdge ******************/ %feature("compactdefaultargs") BRepBuilderAPI_MakeEdge; - %feature("autodoc", " :param L: - :type L: Handle_Geom_Curve & + %feature("autodoc", ":param L: + :type L: opencascade::handle & :param V1: :type V1: TopoDS_Vertex & :param V2: :type V2: TopoDS_Vertex & - :rtype: None -") BRepBuilderAPI_MakeEdge; - BRepBuilderAPI_MakeEdge (const Handle_Geom_Curve & L,const TopoDS_Vertex & V1,const TopoDS_Vertex & V2); + :rtype: None") BRepBuilderAPI_MakeEdge; + BRepBuilderAPI_MakeEdge (const opencascade::handle & L,const TopoDS_Vertex & V1,const TopoDS_Vertex & V2); + + /****************** BRepBuilderAPI_MakeEdge ******************/ %feature("compactdefaultargs") BRepBuilderAPI_MakeEdge; - %feature("autodoc", " :param L: - :type L: Handle_Geom_Curve & + %feature("autodoc", ":param L: + :type L: opencascade::handle & :param P1: :type P1: gp_Pnt :param P2: @@ -1178,12 +1225,13 @@ class BRepBuilderAPI_MakeEdge : public BRepBuilderAPI_MakeShape { :type p1: float :param p2: :type p2: float - :rtype: None -") BRepBuilderAPI_MakeEdge; - BRepBuilderAPI_MakeEdge (const Handle_Geom_Curve & L,const gp_Pnt & P1,const gp_Pnt & P2,const Standard_Real p1,const Standard_Real p2); + :rtype: None") BRepBuilderAPI_MakeEdge; + BRepBuilderAPI_MakeEdge (const opencascade::handle & L,const gp_Pnt & P1,const gp_Pnt & P2,const Standard_Real p1,const Standard_Real p2); + + /****************** BRepBuilderAPI_MakeEdge ******************/ %feature("compactdefaultargs") BRepBuilderAPI_MakeEdge; - %feature("autodoc", " :param L: - :type L: Handle_Geom_Curve & + %feature("autodoc", ":param L: + :type L: opencascade::handle & :param V1: :type V1: TopoDS_Vertex & :param V2: @@ -1192,58 +1240,63 @@ class BRepBuilderAPI_MakeEdge : public BRepBuilderAPI_MakeShape { :type p1: float :param p2: :type p2: float - :rtype: None -") BRepBuilderAPI_MakeEdge; - BRepBuilderAPI_MakeEdge (const Handle_Geom_Curve & L,const TopoDS_Vertex & V1,const TopoDS_Vertex & V2,const Standard_Real p1,const Standard_Real p2); + :rtype: None") BRepBuilderAPI_MakeEdge; + BRepBuilderAPI_MakeEdge (const opencascade::handle & L,const TopoDS_Vertex & V1,const TopoDS_Vertex & V2,const Standard_Real p1,const Standard_Real p2); + + /****************** BRepBuilderAPI_MakeEdge ******************/ %feature("compactdefaultargs") BRepBuilderAPI_MakeEdge; - %feature("autodoc", " :param L: - :type L: Handle_Geom2d_Curve & + %feature("autodoc", ":param L: + :type L: opencascade::handle & :param S: - :type S: Handle_Geom_Surface & - :rtype: None -") BRepBuilderAPI_MakeEdge; - BRepBuilderAPI_MakeEdge (const Handle_Geom2d_Curve & L,const Handle_Geom_Surface & S); + :type S: opencascade::handle & + :rtype: None") BRepBuilderAPI_MakeEdge; + BRepBuilderAPI_MakeEdge (const opencascade::handle & L,const opencascade::handle & S); + + /****************** BRepBuilderAPI_MakeEdge ******************/ %feature("compactdefaultargs") BRepBuilderAPI_MakeEdge; - %feature("autodoc", " :param L: - :type L: Handle_Geom2d_Curve & + %feature("autodoc", ":param L: + :type L: opencascade::handle & :param S: - :type S: Handle_Geom_Surface & + :type S: opencascade::handle & :param p1: :type p1: float :param p2: :type p2: float - :rtype: None -") BRepBuilderAPI_MakeEdge; - BRepBuilderAPI_MakeEdge (const Handle_Geom2d_Curve & L,const Handle_Geom_Surface & S,const Standard_Real p1,const Standard_Real p2); + :rtype: None") BRepBuilderAPI_MakeEdge; + BRepBuilderAPI_MakeEdge (const opencascade::handle & L,const opencascade::handle & S,const Standard_Real p1,const Standard_Real p2); + + /****************** BRepBuilderAPI_MakeEdge ******************/ %feature("compactdefaultargs") BRepBuilderAPI_MakeEdge; - %feature("autodoc", " :param L: - :type L: Handle_Geom2d_Curve & + %feature("autodoc", ":param L: + :type L: opencascade::handle & :param S: - :type S: Handle_Geom_Surface & + :type S: opencascade::handle & :param P1: :type P1: gp_Pnt :param P2: :type P2: gp_Pnt - :rtype: None -") BRepBuilderAPI_MakeEdge; - BRepBuilderAPI_MakeEdge (const Handle_Geom2d_Curve & L,const Handle_Geom_Surface & S,const gp_Pnt & P1,const gp_Pnt & P2); + :rtype: None") BRepBuilderAPI_MakeEdge; + BRepBuilderAPI_MakeEdge (const opencascade::handle & L,const opencascade::handle & S,const gp_Pnt & P1,const gp_Pnt & P2); + + /****************** BRepBuilderAPI_MakeEdge ******************/ %feature("compactdefaultargs") BRepBuilderAPI_MakeEdge; - %feature("autodoc", " :param L: - :type L: Handle_Geom2d_Curve & + %feature("autodoc", ":param L: + :type L: opencascade::handle & :param S: - :type S: Handle_Geom_Surface & + :type S: opencascade::handle & :param V1: :type V1: TopoDS_Vertex & :param V2: :type V2: TopoDS_Vertex & - :rtype: None -") BRepBuilderAPI_MakeEdge; - BRepBuilderAPI_MakeEdge (const Handle_Geom2d_Curve & L,const Handle_Geom_Surface & S,const TopoDS_Vertex & V1,const TopoDS_Vertex & V2); + :rtype: None") BRepBuilderAPI_MakeEdge; + BRepBuilderAPI_MakeEdge (const opencascade::handle & L,const opencascade::handle & S,const TopoDS_Vertex & V1,const TopoDS_Vertex & V2); + + /****************** BRepBuilderAPI_MakeEdge ******************/ %feature("compactdefaultargs") BRepBuilderAPI_MakeEdge; - %feature("autodoc", " :param L: - :type L: Handle_Geom2d_Curve & + %feature("autodoc", ":param L: + :type L: opencascade::handle & :param S: - :type S: Handle_Geom_Surface & + :type S: opencascade::handle & :param P1: :type P1: gp_Pnt :param P2: @@ -1252,16 +1305,16 @@ class BRepBuilderAPI_MakeEdge : public BRepBuilderAPI_MakeShape { :type p1: float :param p2: :type p2: float - :rtype: None -") BRepBuilderAPI_MakeEdge; - BRepBuilderAPI_MakeEdge (const Handle_Geom2d_Curve & L,const Handle_Geom_Surface & S,const gp_Pnt & P1,const gp_Pnt & P2,const Standard_Real p1,const Standard_Real p2); - %feature("compactdefaultargs") BRepBuilderAPI_MakeEdge; - %feature("autodoc", " * The general method to directly create an edge is to give - a 3D curve C as the support (geometric domain) of the edge, - two vertices V1 and V2 to limit the curve (definition of the restriction of the edge), and - two real values p1 and p2 which are the parameters for the vertices V1 and V2 on the curve. The curve may be defined as a 2d curve in the parametric space of a surface: a pcurve. The surface on which the edge is built is then kept at the level of the edge. The default tolerance will be associated with this edge. Rules applied to the arguments: For the curve: - The curve must not be a 'null handle'. - If the curve is a trimmed curve the basis curve is used. For the vertices: - Vertices may be null shapes. When V1 or V2 is null the edge is open in the corresponding direction and the parameter value p1 or p2 must be infinite (remember that Precision::Infinite() defines an infinite value). - The two vertices must be identical if they have the same 3D location. Identical vertices are used in particular when the curve is closed. For the parameters: - The parameters must be in the parametric range of the curve (or the basis curve if the curve is trimmed). If this condition is not satisfied the edge is not built, and the Error function will return BRepAPI_ParameterOutOfRange. - Parameter values must not be equal. If this condition is not satisfied (i.e. if | p1 - p2 | ) the edge is not built, and the Error function will return BRepAPI_LineThroughIdenticPoints. Parameter values are expected to be given in increasing order: C->FirstParameter() - If the parameter values are given in decreasing order the vertices are switched, i.e. the 'first vertex' is on the point of parameter p2 and the 'second vertex' is on the point of parameter p1. In such a case, to keep the original intent of the construction, the edge will be oriented 'reversed'. - On a periodic curve the parameter values p1 and p2 are adjusted by adding or subtracting the period to obtain p1 in the parametric range of the curve, and p2] such that [ p1 , where Period is the period of the curve. - A parameter value may be infinite. The edge is open in the corresponding direction. However the corresponding vertex must be a null shape. If this condition is not satisfied the edge is not built, and the Error function will return BRepAPI_PointWithInfiniteParameter. - The distance between the vertex and the point evaluated on the curve with the parameter, must be lower than the precision of the vertex. If this condition is not satisfied the edge is not built, and the Error function will return BRepAPI_DifferentsPointAndParameter. Other edge constructions - The parameter values can be omitted, they will be computed by projecting the vertices on the curve. Note that projection is the only way to evaluate the parameter values of the vertices on the curve: vertices must be given on the curve, i.e. the distance from a vertex to the curve must be less than or equal to the precision of the vertex. If this condition is not satisfied the edge is not built, and the Error function will return BRepAPI_PointProjectionFailed. - 3D points can be given in place of vertices. Vertices will be created from the points (with the default topological precision Precision::Confusion()). Note: - Giving vertices is useful when creating a connected edge. - If the parameter values correspond to the extremities of a closed curve, points must be identical, or at least coincident. If this condition is not satisfied the edge is not built, and the Error function will return BRepAPI_DifferentPointsOnClosedCurve. - The vertices or points can be omitted if the parameter values are given. The points will be computed from the parameters on the curve. The vertices or points and the parameter values can be omitted. The first and last parameters of the curve will then be used. //! Auxiliary methods + :rtype: None") BRepBuilderAPI_MakeEdge; + BRepBuilderAPI_MakeEdge (const opencascade::handle & L,const opencascade::handle & S,const gp_Pnt & P1,const gp_Pnt & P2,const Standard_Real p1,const Standard_Real p2); + /****************** BRepBuilderAPI_MakeEdge ******************/ + %feature("compactdefaultargs") BRepBuilderAPI_MakeEdge; + %feature("autodoc", "* The general method to directly create an edge is to give - a 3D curve C as the support (geometric domain) of the edge, - two vertices V1 and V2 to limit the curve (definition of the restriction of the edge), and - two real values p1 and p2 which are the parameters for the vertices V1 and V2 on the curve. The curve may be defined as a 2d curve in the parametric space of a surface: a pcurve. The surface on which the edge is built is then kept at the level of the edge. The default tolerance will be associated with this edge. Rules applied to the arguments: For the curve: - The curve must not be a 'null handle'. - If the curve is a trimmed curve the basis curve is used. For the vertices: - Vertices may be null shapes. When V1 or V2 is null the edge is open in the corresponding direction and the parameter value p1 or p2 must be infinite (remember that Precision::Infinite() defines an infinite value). - The two vertices must be identical if they have the same 3D location. Identical vertices are used in particular when the curve is closed. For the parameters: - The parameters must be in the parametric range of the curve (or the basis curve if the curve is trimmed). If this condition is not satisfied the edge is not built, and the Error function will return BRepAPI_ParameterOutOfRange. - Parameter values must not be equal. If this condition is not satisfied (i.e. if | p1 - p2 | ) the edge is not built, and the Error function will return BRepAPI_LineThroughIdenticPoints. Parameter values are expected to be given in increasing order: C->FirstParameter() - If the parameter values are given in decreasing order the vertices are switched, i.e. the 'first vertex' is on the point of parameter p2 and the 'second vertex' is on the point of parameter p1. In such a case, to keep the original intent of the construction, the edge will be oriented 'reversed'. - On a periodic curve the parameter values p1 and p2 are adjusted by adding or subtracting the period to obtain p1 in the parametric range of the curve, and p2] such that [ p1 , where Period is the period of the curve. - A parameter value may be infinite. The edge is open in the corresponding direction. However the corresponding vertex must be a null shape. If this condition is not satisfied the edge is not built, and the Error function will return BRepAPI_PointWithInfiniteParameter. - The distance between the vertex and the point evaluated on the curve with the parameter, must be lower than the precision of the vertex. If this condition is not satisfied the edge is not built, and the Error function will return BRepAPI_DifferentsPointAndParameter. Other edge constructions - The parameter values can be omitted, they will be computed by projecting the vertices on the curve. Note that projection is the only way to evaluate the parameter values of the vertices on the curve: vertices must be given on the curve, i.e. the distance from a vertex to the curve must be less than or equal to the precision of the vertex. If this condition is not satisfied the edge is not built, and the Error function will return BRepAPI_PointProjectionFailed. - 3D points can be given in place of vertices. Vertices will be created from the points (with the default topological precision Precision::Confusion()). Note: - Giving vertices is useful when creating a connected edge. - If the parameter values correspond to the extremities of a closed curve, points must be identical, or at least coincident. If this condition is not satisfied the edge is not built, and the Error function will return BRepAPI_DifferentPointsOnClosedCurve. - The vertices or points can be omitted if the parameter values are given. The points will be computed from the parameters on the curve. The vertices or points and the parameter values can be omitted. The first and last parameters of the curve will then be used. //! Auxiliary methods :param L: - :type L: Handle_Geom2d_Curve & + :type L: opencascade::handle & :param S: - :type S: Handle_Geom_Surface & + :type S: opencascade::handle & :param V1: :type V1: TopoDS_Vertex & :param V2: @@ -1270,48 +1323,65 @@ class BRepBuilderAPI_MakeEdge : public BRepBuilderAPI_MakeShape { :type p1: float :param p2: :type p2: float - :rtype: None -") BRepBuilderAPI_MakeEdge; - BRepBuilderAPI_MakeEdge (const Handle_Geom2d_Curve & L,const Handle_Geom_Surface & S,const TopoDS_Vertex & V1,const TopoDS_Vertex & V2,const Standard_Real p1,const Standard_Real p2); + :rtype: None") BRepBuilderAPI_MakeEdge; + BRepBuilderAPI_MakeEdge (const opencascade::handle & L,const opencascade::handle & S,const TopoDS_Vertex & V1,const TopoDS_Vertex & V2,const Standard_Real p1,const Standard_Real p2); + + /****************** Edge ******************/ + %feature("compactdefaultargs") Edge; + %feature("autodoc", "* Returns the constructed edge. Exceptions StdFail_NotDone if the edge is not built. + :rtype: TopoDS_Edge") Edge; + const TopoDS_Edge Edge (); + + /****************** Error ******************/ + %feature("compactdefaultargs") Error; + %feature("autodoc", "* Returns the construction status - BRepBuilderAPI_EdgeDone if the edge is built, or - another value of the BRepBuilderAPI_EdgeError enumeration indicating the reason of construction failure. + :rtype: BRepBuilderAPI_EdgeError") Error; + BRepBuilderAPI_EdgeError Error (); + + /****************** Init ******************/ %feature("compactdefaultargs") Init; - %feature("autodoc", " :param C: - :type C: Handle_Geom_Curve & - :rtype: None -") Init; - void Init (const Handle_Geom_Curve & C); + %feature("autodoc", ":param C: + :type C: opencascade::handle & + :rtype: None") Init; + void Init (const opencascade::handle & C); + + /****************** Init ******************/ %feature("compactdefaultargs") Init; - %feature("autodoc", " :param C: - :type C: Handle_Geom_Curve & + %feature("autodoc", ":param C: + :type C: opencascade::handle & :param p1: :type p1: float :param p2: :type p2: float - :rtype: None -") Init; - void Init (const Handle_Geom_Curve & C,const Standard_Real p1,const Standard_Real p2); + :rtype: None") Init; + void Init (const opencascade::handle & C,const Standard_Real p1,const Standard_Real p2); + + /****************** Init ******************/ %feature("compactdefaultargs") Init; - %feature("autodoc", " :param C: - :type C: Handle_Geom_Curve & + %feature("autodoc", ":param C: + :type C: opencascade::handle & :param P1: :type P1: gp_Pnt :param P2: :type P2: gp_Pnt - :rtype: None -") Init; - void Init (const Handle_Geom_Curve & C,const gp_Pnt & P1,const gp_Pnt & P2); + :rtype: None") Init; + void Init (const opencascade::handle & C,const gp_Pnt & P1,const gp_Pnt & P2); + + /****************** Init ******************/ %feature("compactdefaultargs") Init; - %feature("autodoc", " :param C: - :type C: Handle_Geom_Curve & + %feature("autodoc", ":param C: + :type C: opencascade::handle & :param V1: :type V1: TopoDS_Vertex & :param V2: :type V2: TopoDS_Vertex & - :rtype: None -") Init; - void Init (const Handle_Geom_Curve & C,const TopoDS_Vertex & V1,const TopoDS_Vertex & V2); + :rtype: None") Init; + void Init (const opencascade::handle & C,const TopoDS_Vertex & V1,const TopoDS_Vertex & V2); + + /****************** Init ******************/ %feature("compactdefaultargs") Init; - %feature("autodoc", " :param C: - :type C: Handle_Geom_Curve & + %feature("autodoc", ":param C: + :type C: opencascade::handle & :param P1: :type P1: gp_Pnt :param P2: @@ -1320,12 +1390,13 @@ class BRepBuilderAPI_MakeEdge : public BRepBuilderAPI_MakeShape { :type p1: float :param p2: :type p2: float - :rtype: None -") Init; - void Init (const Handle_Geom_Curve & C,const gp_Pnt & P1,const gp_Pnt & P2,const Standard_Real p1,const Standard_Real p2); + :rtype: None") Init; + void Init (const opencascade::handle & C,const gp_Pnt & P1,const gp_Pnt & P2,const Standard_Real p1,const Standard_Real p2); + + /****************** Init ******************/ %feature("compactdefaultargs") Init; - %feature("autodoc", " :param C: - :type C: Handle_Geom_Curve & + %feature("autodoc", ":param C: + :type C: opencascade::handle & :param V1: :type V1: TopoDS_Vertex & :param V2: @@ -1334,58 +1405,63 @@ class BRepBuilderAPI_MakeEdge : public BRepBuilderAPI_MakeShape { :type p1: float :param p2: :type p2: float - :rtype: None -") Init; - void Init (const Handle_Geom_Curve & C,const TopoDS_Vertex & V1,const TopoDS_Vertex & V2,const Standard_Real p1,const Standard_Real p2); + :rtype: None") Init; + void Init (const opencascade::handle & C,const TopoDS_Vertex & V1,const TopoDS_Vertex & V2,const Standard_Real p1,const Standard_Real p2); + + /****************** Init ******************/ %feature("compactdefaultargs") Init; - %feature("autodoc", " :param C: - :type C: Handle_Geom2d_Curve & + %feature("autodoc", ":param C: + :type C: opencascade::handle & :param S: - :type S: Handle_Geom_Surface & - :rtype: None -") Init; - void Init (const Handle_Geom2d_Curve & C,const Handle_Geom_Surface & S); + :type S: opencascade::handle & + :rtype: None") Init; + void Init (const opencascade::handle & C,const opencascade::handle & S); + + /****************** Init ******************/ %feature("compactdefaultargs") Init; - %feature("autodoc", " :param C: - :type C: Handle_Geom2d_Curve & + %feature("autodoc", ":param C: + :type C: opencascade::handle & :param S: - :type S: Handle_Geom_Surface & + :type S: opencascade::handle & :param p1: :type p1: float :param p2: :type p2: float - :rtype: None -") Init; - void Init (const Handle_Geom2d_Curve & C,const Handle_Geom_Surface & S,const Standard_Real p1,const Standard_Real p2); + :rtype: None") Init; + void Init (const opencascade::handle & C,const opencascade::handle & S,const Standard_Real p1,const Standard_Real p2); + + /****************** Init ******************/ %feature("compactdefaultargs") Init; - %feature("autodoc", " :param C: - :type C: Handle_Geom2d_Curve & + %feature("autodoc", ":param C: + :type C: opencascade::handle & :param S: - :type S: Handle_Geom_Surface & + :type S: opencascade::handle & :param P1: :type P1: gp_Pnt :param P2: :type P2: gp_Pnt - :rtype: None -") Init; - void Init (const Handle_Geom2d_Curve & C,const Handle_Geom_Surface & S,const gp_Pnt & P1,const gp_Pnt & P2); + :rtype: None") Init; + void Init (const opencascade::handle & C,const opencascade::handle & S,const gp_Pnt & P1,const gp_Pnt & P2); + + /****************** Init ******************/ %feature("compactdefaultargs") Init; - %feature("autodoc", " :param C: - :type C: Handle_Geom2d_Curve & + %feature("autodoc", ":param C: + :type C: opencascade::handle & :param S: - :type S: Handle_Geom_Surface & + :type S: opencascade::handle & :param V1: :type V1: TopoDS_Vertex & :param V2: :type V2: TopoDS_Vertex & - :rtype: None -") Init; - void Init (const Handle_Geom2d_Curve & C,const Handle_Geom_Surface & S,const TopoDS_Vertex & V1,const TopoDS_Vertex & V2); + :rtype: None") Init; + void Init (const opencascade::handle & C,const opencascade::handle & S,const TopoDS_Vertex & V1,const TopoDS_Vertex & V2); + + /****************** Init ******************/ %feature("compactdefaultargs") Init; - %feature("autodoc", " :param C: - :type C: Handle_Geom2d_Curve & + %feature("autodoc", ":param C: + :type C: opencascade::handle & :param S: - :type S: Handle_Geom_Surface & + :type S: opencascade::handle & :param P1: :type P1: gp_Pnt :param P2: @@ -1394,16 +1470,16 @@ class BRepBuilderAPI_MakeEdge : public BRepBuilderAPI_MakeShape { :type p1: float :param p2: :type p2: float - :rtype: None -") Init; - void Init (const Handle_Geom2d_Curve & C,const Handle_Geom_Surface & S,const gp_Pnt & P1,const gp_Pnt & P2,const Standard_Real p1,const Standard_Real p2); - %feature("compactdefaultargs") Init; - %feature("autodoc", " * Defines or redefines the arguments for the construction of an edge. This function is currently used after the empty constructor BRepAPI_MakeEdge(). + :rtype: None") Init; + void Init (const opencascade::handle & C,const opencascade::handle & S,const gp_Pnt & P1,const gp_Pnt & P2,const Standard_Real p1,const Standard_Real p2); + /****************** Init ******************/ + %feature("compactdefaultargs") Init; + %feature("autodoc", "* Defines or redefines the arguments for the construction of an edge. This function is currently used after the empty constructor BRepAPI_MakeEdge(). :param C: - :type C: Handle_Geom2d_Curve & + :type C: opencascade::handle & :param S: - :type S: Handle_Geom_Surface & + :type S: opencascade::handle & :param V1: :type V1: TopoDS_Vertex & :param V2: @@ -1412,43 +1488,32 @@ class BRepBuilderAPI_MakeEdge : public BRepBuilderAPI_MakeShape { :type p1: float :param p2: :type p2: float - :rtype: None -") Init; - void Init (const Handle_Geom2d_Curve & C,const Handle_Geom_Surface & S,const TopoDS_Vertex & V1,const TopoDS_Vertex & V2,const Standard_Real p1,const Standard_Real p2); - %feature("compactdefaultargs") IsDone; - %feature("autodoc", " * Returns true if the edge is built. + :rtype: None") Init; + void Init (const opencascade::handle & C,const opencascade::handle & S,const TopoDS_Vertex & V1,const TopoDS_Vertex & V2,const Standard_Real p1,const Standard_Real p2); - :rtype: bool -") IsDone; + /****************** IsDone ******************/ + %feature("compactdefaultargs") IsDone; + %feature("autodoc", "* Returns true if the edge is built. + :rtype: bool") IsDone; virtual Standard_Boolean IsDone (); - %feature("compactdefaultargs") Error; - %feature("autodoc", " * Returns the construction status - BRepBuilderAPI_EdgeDone if the edge is built, or - another value of the BRepBuilderAPI_EdgeError enumeration indicating the reason of construction failure. - - :rtype: BRepBuilderAPI_EdgeError -") Error; - BRepBuilderAPI_EdgeError Error (); - %feature("compactdefaultargs") Edge; - %feature("autodoc", " * Returns the constructed edge. Exceptions StdFail_NotDone if the edge is not built. - :rtype: TopoDS_Edge -") Edge; - const TopoDS_Edge Edge (); - %feature("compactdefaultargs") operator TopoDS_Edge; - %feature("autodoc", " :rtype: -") operator TopoDS_Edge; - operator TopoDS_Edge (); + /****************** Vertex1 ******************/ %feature("compactdefaultargs") Vertex1; - %feature("autodoc", " * Returns the first vertex of the edge. May be Null. - - :rtype: TopoDS_Vertex -") Vertex1; + %feature("autodoc", "* Returns the first vertex of the edge. May be Null. + :rtype: TopoDS_Vertex") Vertex1; const TopoDS_Vertex Vertex1 (); - %feature("compactdefaultargs") Vertex2; - %feature("autodoc", " * Returns the second vertex of the edge. May be Null. //! Warning The returned vertex in each function corresponds respectively to - the lowest, or - the highest parameter on the curve along which the edge is built. It does not correspond to the first or second vertex given at the time of the construction, if the edge is oriented reversed. Exceptions StdFail_NotDone if the edge is not built. - :rtype: TopoDS_Vertex -") Vertex2; + /****************** Vertex2 ******************/ + %feature("compactdefaultargs") Vertex2; + %feature("autodoc", "* Returns the second vertex of the edge. May be Null. //! Warning The returned vertex in each function corresponds respectively to - the lowest, or - the highest parameter on the curve along which the edge is built. It does not correspond to the first or second vertex given at the time of the construction, if the edge is oriented reversed. Exceptions StdFail_NotDone if the edge is not built. + :rtype: TopoDS_Vertex") Vertex2; const TopoDS_Vertex Vertex2 (); + + /****************** operator TopoDS_Edge ******************/ + %feature("compactdefaultargs") operator TopoDS_Edge; + %feature("autodoc", ":rtype:") operator TopoDS_Edge; + operator TopoDS_Edge (); + }; @@ -1457,244 +1522,275 @@ class BRepBuilderAPI_MakeEdge : public BRepBuilderAPI_MakeShape { __repr__ = _dumps_object } }; + +/********************************** +* class BRepBuilderAPI_MakeEdge2d * +**********************************/ %nodefaultctor BRepBuilderAPI_MakeEdge2d; class BRepBuilderAPI_MakeEdge2d : public BRepBuilderAPI_MakeShape { public: + /****************** BRepBuilderAPI_MakeEdge2d ******************/ %feature("compactdefaultargs") BRepBuilderAPI_MakeEdge2d; - %feature("autodoc", " :param V1: + %feature("autodoc", ":param V1: :type V1: TopoDS_Vertex & :param V2: :type V2: TopoDS_Vertex & - :rtype: None -") BRepBuilderAPI_MakeEdge2d; + :rtype: None") BRepBuilderAPI_MakeEdge2d; BRepBuilderAPI_MakeEdge2d (const TopoDS_Vertex & V1,const TopoDS_Vertex & V2); + + /****************** BRepBuilderAPI_MakeEdge2d ******************/ %feature("compactdefaultargs") BRepBuilderAPI_MakeEdge2d; - %feature("autodoc", " :param P1: + %feature("autodoc", ":param P1: :type P1: gp_Pnt2d :param P2: :type P2: gp_Pnt2d - :rtype: None -") BRepBuilderAPI_MakeEdge2d; + :rtype: None") BRepBuilderAPI_MakeEdge2d; BRepBuilderAPI_MakeEdge2d (const gp_Pnt2d & P1,const gp_Pnt2d & P2); + + /****************** BRepBuilderAPI_MakeEdge2d ******************/ %feature("compactdefaultargs") BRepBuilderAPI_MakeEdge2d; - %feature("autodoc", " :param L: + %feature("autodoc", ":param L: :type L: gp_Lin2d - :rtype: None -") BRepBuilderAPI_MakeEdge2d; + :rtype: None") BRepBuilderAPI_MakeEdge2d; BRepBuilderAPI_MakeEdge2d (const gp_Lin2d & L); + + /****************** BRepBuilderAPI_MakeEdge2d ******************/ %feature("compactdefaultargs") BRepBuilderAPI_MakeEdge2d; - %feature("autodoc", " :param L: + %feature("autodoc", ":param L: :type L: gp_Lin2d :param p1: :type p1: float :param p2: :type p2: float - :rtype: None -") BRepBuilderAPI_MakeEdge2d; + :rtype: None") BRepBuilderAPI_MakeEdge2d; BRepBuilderAPI_MakeEdge2d (const gp_Lin2d & L,const Standard_Real p1,const Standard_Real p2); + + /****************** BRepBuilderAPI_MakeEdge2d ******************/ %feature("compactdefaultargs") BRepBuilderAPI_MakeEdge2d; - %feature("autodoc", " :param L: + %feature("autodoc", ":param L: :type L: gp_Lin2d :param P1: :type P1: gp_Pnt2d :param P2: :type P2: gp_Pnt2d - :rtype: None -") BRepBuilderAPI_MakeEdge2d; + :rtype: None") BRepBuilderAPI_MakeEdge2d; BRepBuilderAPI_MakeEdge2d (const gp_Lin2d & L,const gp_Pnt2d & P1,const gp_Pnt2d & P2); + + /****************** BRepBuilderAPI_MakeEdge2d ******************/ %feature("compactdefaultargs") BRepBuilderAPI_MakeEdge2d; - %feature("autodoc", " :param L: + %feature("autodoc", ":param L: :type L: gp_Lin2d :param V1: :type V1: TopoDS_Vertex & :param V2: :type V2: TopoDS_Vertex & - :rtype: None -") BRepBuilderAPI_MakeEdge2d; + :rtype: None") BRepBuilderAPI_MakeEdge2d; BRepBuilderAPI_MakeEdge2d (const gp_Lin2d & L,const TopoDS_Vertex & V1,const TopoDS_Vertex & V2); + + /****************** BRepBuilderAPI_MakeEdge2d ******************/ %feature("compactdefaultargs") BRepBuilderAPI_MakeEdge2d; - %feature("autodoc", " :param L: + %feature("autodoc", ":param L: :type L: gp_Circ2d - :rtype: None -") BRepBuilderAPI_MakeEdge2d; + :rtype: None") BRepBuilderAPI_MakeEdge2d; BRepBuilderAPI_MakeEdge2d (const gp_Circ2d & L); + + /****************** BRepBuilderAPI_MakeEdge2d ******************/ %feature("compactdefaultargs") BRepBuilderAPI_MakeEdge2d; - %feature("autodoc", " :param L: + %feature("autodoc", ":param L: :type L: gp_Circ2d :param p1: :type p1: float :param p2: :type p2: float - :rtype: None -") BRepBuilderAPI_MakeEdge2d; + :rtype: None") BRepBuilderAPI_MakeEdge2d; BRepBuilderAPI_MakeEdge2d (const gp_Circ2d & L,const Standard_Real p1,const Standard_Real p2); + + /****************** BRepBuilderAPI_MakeEdge2d ******************/ %feature("compactdefaultargs") BRepBuilderAPI_MakeEdge2d; - %feature("autodoc", " :param L: + %feature("autodoc", ":param L: :type L: gp_Circ2d :param P1: :type P1: gp_Pnt2d :param P2: :type P2: gp_Pnt2d - :rtype: None -") BRepBuilderAPI_MakeEdge2d; + :rtype: None") BRepBuilderAPI_MakeEdge2d; BRepBuilderAPI_MakeEdge2d (const gp_Circ2d & L,const gp_Pnt2d & P1,const gp_Pnt2d & P2); + + /****************** BRepBuilderAPI_MakeEdge2d ******************/ %feature("compactdefaultargs") BRepBuilderAPI_MakeEdge2d; - %feature("autodoc", " :param L: + %feature("autodoc", ":param L: :type L: gp_Circ2d :param V1: :type V1: TopoDS_Vertex & :param V2: :type V2: TopoDS_Vertex & - :rtype: None -") BRepBuilderAPI_MakeEdge2d; + :rtype: None") BRepBuilderAPI_MakeEdge2d; BRepBuilderAPI_MakeEdge2d (const gp_Circ2d & L,const TopoDS_Vertex & V1,const TopoDS_Vertex & V2); + + /****************** BRepBuilderAPI_MakeEdge2d ******************/ %feature("compactdefaultargs") BRepBuilderAPI_MakeEdge2d; - %feature("autodoc", " :param L: + %feature("autodoc", ":param L: :type L: gp_Elips2d - :rtype: None -") BRepBuilderAPI_MakeEdge2d; + :rtype: None") BRepBuilderAPI_MakeEdge2d; BRepBuilderAPI_MakeEdge2d (const gp_Elips2d & L); + + /****************** BRepBuilderAPI_MakeEdge2d ******************/ %feature("compactdefaultargs") BRepBuilderAPI_MakeEdge2d; - %feature("autodoc", " :param L: + %feature("autodoc", ":param L: :type L: gp_Elips2d :param p1: :type p1: float :param p2: :type p2: float - :rtype: None -") BRepBuilderAPI_MakeEdge2d; + :rtype: None") BRepBuilderAPI_MakeEdge2d; BRepBuilderAPI_MakeEdge2d (const gp_Elips2d & L,const Standard_Real p1,const Standard_Real p2); + + /****************** BRepBuilderAPI_MakeEdge2d ******************/ %feature("compactdefaultargs") BRepBuilderAPI_MakeEdge2d; - %feature("autodoc", " :param L: + %feature("autodoc", ":param L: :type L: gp_Elips2d :param P1: :type P1: gp_Pnt2d :param P2: :type P2: gp_Pnt2d - :rtype: None -") BRepBuilderAPI_MakeEdge2d; + :rtype: None") BRepBuilderAPI_MakeEdge2d; BRepBuilderAPI_MakeEdge2d (const gp_Elips2d & L,const gp_Pnt2d & P1,const gp_Pnt2d & P2); + + /****************** BRepBuilderAPI_MakeEdge2d ******************/ %feature("compactdefaultargs") BRepBuilderAPI_MakeEdge2d; - %feature("autodoc", " :param L: + %feature("autodoc", ":param L: :type L: gp_Elips2d :param V1: :type V1: TopoDS_Vertex & :param V2: :type V2: TopoDS_Vertex & - :rtype: None -") BRepBuilderAPI_MakeEdge2d; + :rtype: None") BRepBuilderAPI_MakeEdge2d; BRepBuilderAPI_MakeEdge2d (const gp_Elips2d & L,const TopoDS_Vertex & V1,const TopoDS_Vertex & V2); + + /****************** BRepBuilderAPI_MakeEdge2d ******************/ %feature("compactdefaultargs") BRepBuilderAPI_MakeEdge2d; - %feature("autodoc", " :param L: + %feature("autodoc", ":param L: :type L: gp_Hypr2d - :rtype: None -") BRepBuilderAPI_MakeEdge2d; + :rtype: None") BRepBuilderAPI_MakeEdge2d; BRepBuilderAPI_MakeEdge2d (const gp_Hypr2d & L); + + /****************** BRepBuilderAPI_MakeEdge2d ******************/ %feature("compactdefaultargs") BRepBuilderAPI_MakeEdge2d; - %feature("autodoc", " :param L: + %feature("autodoc", ":param L: :type L: gp_Hypr2d :param p1: :type p1: float :param p2: :type p2: float - :rtype: None -") BRepBuilderAPI_MakeEdge2d; + :rtype: None") BRepBuilderAPI_MakeEdge2d; BRepBuilderAPI_MakeEdge2d (const gp_Hypr2d & L,const Standard_Real p1,const Standard_Real p2); + + /****************** BRepBuilderAPI_MakeEdge2d ******************/ %feature("compactdefaultargs") BRepBuilderAPI_MakeEdge2d; - %feature("autodoc", " :param L: + %feature("autodoc", ":param L: :type L: gp_Hypr2d :param P1: :type P1: gp_Pnt2d :param P2: :type P2: gp_Pnt2d - :rtype: None -") BRepBuilderAPI_MakeEdge2d; + :rtype: None") BRepBuilderAPI_MakeEdge2d; BRepBuilderAPI_MakeEdge2d (const gp_Hypr2d & L,const gp_Pnt2d & P1,const gp_Pnt2d & P2); + + /****************** BRepBuilderAPI_MakeEdge2d ******************/ %feature("compactdefaultargs") BRepBuilderAPI_MakeEdge2d; - %feature("autodoc", " :param L: + %feature("autodoc", ":param L: :type L: gp_Hypr2d :param V1: :type V1: TopoDS_Vertex & :param V2: :type V2: TopoDS_Vertex & - :rtype: None -") BRepBuilderAPI_MakeEdge2d; + :rtype: None") BRepBuilderAPI_MakeEdge2d; BRepBuilderAPI_MakeEdge2d (const gp_Hypr2d & L,const TopoDS_Vertex & V1,const TopoDS_Vertex & V2); + + /****************** BRepBuilderAPI_MakeEdge2d ******************/ %feature("compactdefaultargs") BRepBuilderAPI_MakeEdge2d; - %feature("autodoc", " :param L: + %feature("autodoc", ":param L: :type L: gp_Parab2d - :rtype: None -") BRepBuilderAPI_MakeEdge2d; + :rtype: None") BRepBuilderAPI_MakeEdge2d; BRepBuilderAPI_MakeEdge2d (const gp_Parab2d & L); + + /****************** BRepBuilderAPI_MakeEdge2d ******************/ %feature("compactdefaultargs") BRepBuilderAPI_MakeEdge2d; - %feature("autodoc", " :param L: + %feature("autodoc", ":param L: :type L: gp_Parab2d :param p1: :type p1: float :param p2: :type p2: float - :rtype: None -") BRepBuilderAPI_MakeEdge2d; + :rtype: None") BRepBuilderAPI_MakeEdge2d; BRepBuilderAPI_MakeEdge2d (const gp_Parab2d & L,const Standard_Real p1,const Standard_Real p2); + + /****************** BRepBuilderAPI_MakeEdge2d ******************/ %feature("compactdefaultargs") BRepBuilderAPI_MakeEdge2d; - %feature("autodoc", " :param L: + %feature("autodoc", ":param L: :type L: gp_Parab2d :param P1: :type P1: gp_Pnt2d :param P2: :type P2: gp_Pnt2d - :rtype: None -") BRepBuilderAPI_MakeEdge2d; + :rtype: None") BRepBuilderAPI_MakeEdge2d; BRepBuilderAPI_MakeEdge2d (const gp_Parab2d & L,const gp_Pnt2d & P1,const gp_Pnt2d & P2); + + /****************** BRepBuilderAPI_MakeEdge2d ******************/ %feature("compactdefaultargs") BRepBuilderAPI_MakeEdge2d; - %feature("autodoc", " :param L: + %feature("autodoc", ":param L: :type L: gp_Parab2d :param V1: :type V1: TopoDS_Vertex & :param V2: :type V2: TopoDS_Vertex & - :rtype: None -") BRepBuilderAPI_MakeEdge2d; + :rtype: None") BRepBuilderAPI_MakeEdge2d; BRepBuilderAPI_MakeEdge2d (const gp_Parab2d & L,const TopoDS_Vertex & V1,const TopoDS_Vertex & V2); + + /****************** BRepBuilderAPI_MakeEdge2d ******************/ %feature("compactdefaultargs") BRepBuilderAPI_MakeEdge2d; - %feature("autodoc", " :param L: - :type L: Handle_Geom2d_Curve & - :rtype: None -") BRepBuilderAPI_MakeEdge2d; - BRepBuilderAPI_MakeEdge2d (const Handle_Geom2d_Curve & L); + %feature("autodoc", ":param L: + :type L: opencascade::handle & + :rtype: None") BRepBuilderAPI_MakeEdge2d; + BRepBuilderAPI_MakeEdge2d (const opencascade::handle & L); + + /****************** BRepBuilderAPI_MakeEdge2d ******************/ %feature("compactdefaultargs") BRepBuilderAPI_MakeEdge2d; - %feature("autodoc", " :param L: - :type L: Handle_Geom2d_Curve & + %feature("autodoc", ":param L: + :type L: opencascade::handle & :param p1: :type p1: float :param p2: :type p2: float - :rtype: None -") BRepBuilderAPI_MakeEdge2d; - BRepBuilderAPI_MakeEdge2d (const Handle_Geom2d_Curve & L,const Standard_Real p1,const Standard_Real p2); + :rtype: None") BRepBuilderAPI_MakeEdge2d; + BRepBuilderAPI_MakeEdge2d (const opencascade::handle & L,const Standard_Real p1,const Standard_Real p2); + + /****************** BRepBuilderAPI_MakeEdge2d ******************/ %feature("compactdefaultargs") BRepBuilderAPI_MakeEdge2d; - %feature("autodoc", " :param L: - :type L: Handle_Geom2d_Curve & + %feature("autodoc", ":param L: + :type L: opencascade::handle & :param P1: :type P1: gp_Pnt2d :param P2: :type P2: gp_Pnt2d - :rtype: None -") BRepBuilderAPI_MakeEdge2d; - BRepBuilderAPI_MakeEdge2d (const Handle_Geom2d_Curve & L,const gp_Pnt2d & P1,const gp_Pnt2d & P2); + :rtype: None") BRepBuilderAPI_MakeEdge2d; + BRepBuilderAPI_MakeEdge2d (const opencascade::handle & L,const gp_Pnt2d & P1,const gp_Pnt2d & P2); + + /****************** BRepBuilderAPI_MakeEdge2d ******************/ %feature("compactdefaultargs") BRepBuilderAPI_MakeEdge2d; - %feature("autodoc", " :param L: - :type L: Handle_Geom2d_Curve & + %feature("autodoc", ":param L: + :type L: opencascade::handle & :param V1: :type V1: TopoDS_Vertex & :param V2: :type V2: TopoDS_Vertex & - :rtype: None -") BRepBuilderAPI_MakeEdge2d; - BRepBuilderAPI_MakeEdge2d (const Handle_Geom2d_Curve & L,const TopoDS_Vertex & V1,const TopoDS_Vertex & V2); + :rtype: None") BRepBuilderAPI_MakeEdge2d; + BRepBuilderAPI_MakeEdge2d (const opencascade::handle & L,const TopoDS_Vertex & V1,const TopoDS_Vertex & V2); + + /****************** BRepBuilderAPI_MakeEdge2d ******************/ %feature("compactdefaultargs") BRepBuilderAPI_MakeEdge2d; - %feature("autodoc", " :param L: - :type L: Handle_Geom2d_Curve & + %feature("autodoc", ":param L: + :type L: opencascade::handle & :param P1: :type P1: gp_Pnt2d :param P2: @@ -1703,12 +1799,13 @@ class BRepBuilderAPI_MakeEdge2d : public BRepBuilderAPI_MakeShape { :type p1: float :param p2: :type p2: float - :rtype: None -") BRepBuilderAPI_MakeEdge2d; - BRepBuilderAPI_MakeEdge2d (const Handle_Geom2d_Curve & L,const gp_Pnt2d & P1,const gp_Pnt2d & P2,const Standard_Real p1,const Standard_Real p2); + :rtype: None") BRepBuilderAPI_MakeEdge2d; + BRepBuilderAPI_MakeEdge2d (const opencascade::handle & L,const gp_Pnt2d & P1,const gp_Pnt2d & P2,const Standard_Real p1,const Standard_Real p2); + + /****************** BRepBuilderAPI_MakeEdge2d ******************/ %feature("compactdefaultargs") BRepBuilderAPI_MakeEdge2d; - %feature("autodoc", " :param L: - :type L: Handle_Geom2d_Curve & + %feature("autodoc", ":param L: + :type L: opencascade::handle & :param V1: :type V1: TopoDS_Vertex & :param V2: @@ -1717,48 +1814,64 @@ class BRepBuilderAPI_MakeEdge2d : public BRepBuilderAPI_MakeShape { :type p1: float :param p2: :type p2: float - :rtype: None -") BRepBuilderAPI_MakeEdge2d; - BRepBuilderAPI_MakeEdge2d (const Handle_Geom2d_Curve & L,const TopoDS_Vertex & V1,const TopoDS_Vertex & V2,const Standard_Real p1,const Standard_Real p2); + :rtype: None") BRepBuilderAPI_MakeEdge2d; + BRepBuilderAPI_MakeEdge2d (const opencascade::handle & L,const TopoDS_Vertex & V1,const TopoDS_Vertex & V2,const Standard_Real p1,const Standard_Real p2); + + /****************** Edge ******************/ + %feature("compactdefaultargs") Edge; + %feature("autodoc", ":rtype: TopoDS_Edge") Edge; + const TopoDS_Edge Edge (); + + /****************** Error ******************/ + %feature("compactdefaultargs") Error; + %feature("autodoc", "* Returns the error description when NotDone. + :rtype: BRepBuilderAPI_EdgeError") Error; + BRepBuilderAPI_EdgeError Error (); + + /****************** Init ******************/ %feature("compactdefaultargs") Init; - %feature("autodoc", " :param C: - :type C: Handle_Geom2d_Curve & - :rtype: None -") Init; - void Init (const Handle_Geom2d_Curve & C); + %feature("autodoc", ":param C: + :type C: opencascade::handle & + :rtype: None") Init; + void Init (const opencascade::handle & C); + + /****************** Init ******************/ %feature("compactdefaultargs") Init; - %feature("autodoc", " :param C: - :type C: Handle_Geom2d_Curve & + %feature("autodoc", ":param C: + :type C: opencascade::handle & :param p1: :type p1: float :param p2: :type p2: float - :rtype: None -") Init; - void Init (const Handle_Geom2d_Curve & C,const Standard_Real p1,const Standard_Real p2); + :rtype: None") Init; + void Init (const opencascade::handle & C,const Standard_Real p1,const Standard_Real p2); + + /****************** Init ******************/ %feature("compactdefaultargs") Init; - %feature("autodoc", " :param C: - :type C: Handle_Geom2d_Curve & + %feature("autodoc", ":param C: + :type C: opencascade::handle & :param P1: :type P1: gp_Pnt2d :param P2: :type P2: gp_Pnt2d - :rtype: None -") Init; - void Init (const Handle_Geom2d_Curve & C,const gp_Pnt2d & P1,const gp_Pnt2d & P2); + :rtype: None") Init; + void Init (const opencascade::handle & C,const gp_Pnt2d & P1,const gp_Pnt2d & P2); + + /****************** Init ******************/ %feature("compactdefaultargs") Init; - %feature("autodoc", " :param C: - :type C: Handle_Geom2d_Curve & + %feature("autodoc", ":param C: + :type C: opencascade::handle & :param V1: :type V1: TopoDS_Vertex & :param V2: :type V2: TopoDS_Vertex & - :rtype: None -") Init; - void Init (const Handle_Geom2d_Curve & C,const TopoDS_Vertex & V1,const TopoDS_Vertex & V2); + :rtype: None") Init; + void Init (const opencascade::handle & C,const TopoDS_Vertex & V1,const TopoDS_Vertex & V2); + + /****************** Init ******************/ %feature("compactdefaultargs") Init; - %feature("autodoc", " :param C: - :type C: Handle_Geom2d_Curve & + %feature("autodoc", ":param C: + :type C: opencascade::handle & :param P1: :type P1: gp_Pnt2d :param P2: @@ -1767,12 +1880,13 @@ class BRepBuilderAPI_MakeEdge2d : public BRepBuilderAPI_MakeShape { :type p1: float :param p2: :type p2: float - :rtype: None -") Init; - void Init (const Handle_Geom2d_Curve & C,const gp_Pnt2d & P1,const gp_Pnt2d & P2,const Standard_Real p1,const Standard_Real p2); + :rtype: None") Init; + void Init (const opencascade::handle & C,const gp_Pnt2d & P1,const gp_Pnt2d & P2,const Standard_Real p1,const Standard_Real p2); + + /****************** Init ******************/ %feature("compactdefaultargs") Init; - %feature("autodoc", " :param C: - :type C: Handle_Geom2d_Curve & + %feature("autodoc", ":param C: + :type C: opencascade::handle & :param V1: :type V1: TopoDS_Vertex & :param V2: @@ -1781,39 +1895,31 @@ class BRepBuilderAPI_MakeEdge2d : public BRepBuilderAPI_MakeShape { :type p1: float :param p2: :type p2: float - :rtype: None -") Init; - void Init (const Handle_Geom2d_Curve & C,const TopoDS_Vertex & V1,const TopoDS_Vertex & V2,const Standard_Real p1,const Standard_Real p2); + :rtype: None") Init; + void Init (const opencascade::handle & C,const TopoDS_Vertex & V1,const TopoDS_Vertex & V2,const Standard_Real p1,const Standard_Real p2); + + /****************** IsDone ******************/ %feature("compactdefaultargs") IsDone; - %feature("autodoc", " :rtype: bool -") IsDone; + %feature("autodoc", ":rtype: bool") IsDone; virtual Standard_Boolean IsDone (); - %feature("compactdefaultargs") Error; - %feature("autodoc", " * Returns the error description when NotDone. - :rtype: BRepBuilderAPI_EdgeError -") Error; - BRepBuilderAPI_EdgeError Error (); - %feature("compactdefaultargs") Edge; - %feature("autodoc", " :rtype: TopoDS_Edge -") Edge; - const TopoDS_Edge Edge (); - %feature("compactdefaultargs") operator TopoDS_Edge; - %feature("autodoc", " :rtype: -") operator TopoDS_Edge; - operator TopoDS_Edge (); + /****************** Vertex1 ******************/ %feature("compactdefaultargs") Vertex1; - %feature("autodoc", " * Returns the first vertex of the edge. May be Null. - - :rtype: TopoDS_Vertex -") Vertex1; + %feature("autodoc", "* Returns the first vertex of the edge. May be Null. + :rtype: TopoDS_Vertex") Vertex1; const TopoDS_Vertex Vertex1 (); - %feature("compactdefaultargs") Vertex2; - %feature("autodoc", " * Returns the second vertex of the edge. May be Null. - :rtype: TopoDS_Vertex -") Vertex2; + /****************** Vertex2 ******************/ + %feature("compactdefaultargs") Vertex2; + %feature("autodoc", "* Returns the second vertex of the edge. May be Null. + :rtype: TopoDS_Vertex") Vertex2; const TopoDS_Vertex Vertex2 (); + + /****************** operator TopoDS_Edge ******************/ + %feature("compactdefaultargs") operator TopoDS_Edge; + %feature("autodoc", ":rtype:") operator TopoDS_Edge; + operator TopoDS_Edge (); + }; @@ -1822,76 +1928,88 @@ class BRepBuilderAPI_MakeEdge2d : public BRepBuilderAPI_MakeShape { __repr__ = _dumps_object } }; + +/******************************** +* class BRepBuilderAPI_MakeFace * +********************************/ %nodefaultctor BRepBuilderAPI_MakeFace; class BRepBuilderAPI_MakeFace : public BRepBuilderAPI_MakeShape { public: - %feature("compactdefaultargs") BRepBuilderAPI_MakeFace; - %feature("autodoc", " * Not done. + /****************** Add ******************/ + %feature("compactdefaultargs") Add; + %feature("autodoc", "* Adds the wire W to the constructed face as a hole. Warning W must not cross the other bounds of the face, and all the bounds must define only one area on the surface. (Be careful, however, as this is not checked.) Example // a cylinder gp_Cylinder C = ..; // a wire TopoDS_Wire W = ...; BRepBuilderAPI_MakeFace MF(C); MF.Add(W); TopoDS_Face F = MF; + :param W: + :type W: TopoDS_Wire & + :rtype: None") Add; + void Add (const TopoDS_Wire & W); - :rtype: None -") BRepBuilderAPI_MakeFace; - BRepBuilderAPI_MakeFace (); + /****************** BRepBuilderAPI_MakeFace ******************/ %feature("compactdefaultargs") BRepBuilderAPI_MakeFace; - %feature("autodoc", " * Load a face. Usefull to add wires. + %feature("autodoc", "* Not done. + :rtype: None") BRepBuilderAPI_MakeFace; + BRepBuilderAPI_MakeFace (); + /****************** BRepBuilderAPI_MakeFace ******************/ + %feature("compactdefaultargs") BRepBuilderAPI_MakeFace; + %feature("autodoc", "* Load a face. Usefull to add wires. :param F: :type F: TopoDS_Face & - :rtype: None -") BRepBuilderAPI_MakeFace; + :rtype: None") BRepBuilderAPI_MakeFace; BRepBuilderAPI_MakeFace (const TopoDS_Face & F); - %feature("compactdefaultargs") BRepBuilderAPI_MakeFace; - %feature("autodoc", " * Make a face from a plane. + /****************** BRepBuilderAPI_MakeFace ******************/ + %feature("compactdefaultargs") BRepBuilderAPI_MakeFace; + %feature("autodoc", "* Make a face from a plane. :param P: :type P: gp_Pln - :rtype: None -") BRepBuilderAPI_MakeFace; + :rtype: None") BRepBuilderAPI_MakeFace; BRepBuilderAPI_MakeFace (const gp_Pln & P); - %feature("compactdefaultargs") BRepBuilderAPI_MakeFace; - %feature("autodoc", " * Make a face from a cylinder. + /****************** BRepBuilderAPI_MakeFace ******************/ + %feature("compactdefaultargs") BRepBuilderAPI_MakeFace; + %feature("autodoc", "* Make a face from a cylinder. :param C: :type C: gp_Cylinder - :rtype: None -") BRepBuilderAPI_MakeFace; + :rtype: None") BRepBuilderAPI_MakeFace; BRepBuilderAPI_MakeFace (const gp_Cylinder & C); - %feature("compactdefaultargs") BRepBuilderAPI_MakeFace; - %feature("autodoc", " * Make a face from a cone. + /****************** BRepBuilderAPI_MakeFace ******************/ + %feature("compactdefaultargs") BRepBuilderAPI_MakeFace; + %feature("autodoc", "* Make a face from a cone. :param C: :type C: gp_Cone - :rtype: None -") BRepBuilderAPI_MakeFace; + :rtype: None") BRepBuilderAPI_MakeFace; BRepBuilderAPI_MakeFace (const gp_Cone & C); - %feature("compactdefaultargs") BRepBuilderAPI_MakeFace; - %feature("autodoc", " * Make a face from a sphere. + /****************** BRepBuilderAPI_MakeFace ******************/ + %feature("compactdefaultargs") BRepBuilderAPI_MakeFace; + %feature("autodoc", "* Make a face from a sphere. :param S: :type S: gp_Sphere - :rtype: None -") BRepBuilderAPI_MakeFace; + :rtype: None") BRepBuilderAPI_MakeFace; BRepBuilderAPI_MakeFace (const gp_Sphere & S); - %feature("compactdefaultargs") BRepBuilderAPI_MakeFace; - %feature("autodoc", " * Make a face from a torus. + /****************** BRepBuilderAPI_MakeFace ******************/ + %feature("compactdefaultargs") BRepBuilderAPI_MakeFace; + %feature("autodoc", "* Make a face from a torus. :param C: :type C: gp_Torus - :rtype: None -") BRepBuilderAPI_MakeFace; + :rtype: None") BRepBuilderAPI_MakeFace; BRepBuilderAPI_MakeFace (const gp_Torus & C); - %feature("compactdefaultargs") BRepBuilderAPI_MakeFace; - %feature("autodoc", " * Make a face from a Surface. Accepts tolerance value (TolDegen) for resolution of degenerated edges. + /****************** BRepBuilderAPI_MakeFace ******************/ + %feature("compactdefaultargs") BRepBuilderAPI_MakeFace; + %feature("autodoc", "* Make a face from a Surface. Accepts tolerance value (TolDegen) for resolution of degenerated edges. :param S: - :type S: Handle_Geom_Surface & + :type S: opencascade::handle & :param TolDegen: :type TolDegen: float - :rtype: None -") BRepBuilderAPI_MakeFace; - BRepBuilderAPI_MakeFace (const Handle_Geom_Surface & S,const Standard_Real TolDegen); - %feature("compactdefaultargs") BRepBuilderAPI_MakeFace; - %feature("autodoc", " * Make a face from a plane. + :rtype: None") BRepBuilderAPI_MakeFace; + BRepBuilderAPI_MakeFace (const opencascade::handle & S,const Standard_Real TolDegen); + /****************** BRepBuilderAPI_MakeFace ******************/ + %feature("compactdefaultargs") BRepBuilderAPI_MakeFace; + %feature("autodoc", "* Make a face from a plane. :param P: :type P: gp_Pln :param UMin: @@ -1902,12 +2020,12 @@ class BRepBuilderAPI_MakeFace : public BRepBuilderAPI_MakeShape { :type VMin: float :param VMax: :type VMax: float - :rtype: None -") BRepBuilderAPI_MakeFace; + :rtype: None") BRepBuilderAPI_MakeFace; BRepBuilderAPI_MakeFace (const gp_Pln & P,const Standard_Real UMin,const Standard_Real UMax,const Standard_Real VMin,const Standard_Real VMax); - %feature("compactdefaultargs") BRepBuilderAPI_MakeFace; - %feature("autodoc", " * Make a face from a cylinder. + /****************** BRepBuilderAPI_MakeFace ******************/ + %feature("compactdefaultargs") BRepBuilderAPI_MakeFace; + %feature("autodoc", "* Make a face from a cylinder. :param C: :type C: gp_Cylinder :param UMin: @@ -1918,12 +2036,12 @@ class BRepBuilderAPI_MakeFace : public BRepBuilderAPI_MakeShape { :type VMin: float :param VMax: :type VMax: float - :rtype: None -") BRepBuilderAPI_MakeFace; + :rtype: None") BRepBuilderAPI_MakeFace; BRepBuilderAPI_MakeFace (const gp_Cylinder & C,const Standard_Real UMin,const Standard_Real UMax,const Standard_Real VMin,const Standard_Real VMax); - %feature("compactdefaultargs") BRepBuilderAPI_MakeFace; - %feature("autodoc", " * Make a face from a cone. + /****************** BRepBuilderAPI_MakeFace ******************/ + %feature("compactdefaultargs") BRepBuilderAPI_MakeFace; + %feature("autodoc", "* Make a face from a cone. :param C: :type C: gp_Cone :param UMin: @@ -1934,12 +2052,12 @@ class BRepBuilderAPI_MakeFace : public BRepBuilderAPI_MakeShape { :type VMin: float :param VMax: :type VMax: float - :rtype: None -") BRepBuilderAPI_MakeFace; + :rtype: None") BRepBuilderAPI_MakeFace; BRepBuilderAPI_MakeFace (const gp_Cone & C,const Standard_Real UMin,const Standard_Real UMax,const Standard_Real VMin,const Standard_Real VMax); - %feature("compactdefaultargs") BRepBuilderAPI_MakeFace; - %feature("autodoc", " * Make a face from a sphere. + /****************** BRepBuilderAPI_MakeFace ******************/ + %feature("compactdefaultargs") BRepBuilderAPI_MakeFace; + %feature("autodoc", "* Make a face from a sphere. :param S: :type S: gp_Sphere :param UMin: @@ -1950,12 +2068,12 @@ class BRepBuilderAPI_MakeFace : public BRepBuilderAPI_MakeShape { :type VMin: float :param VMax: :type VMax: float - :rtype: None -") BRepBuilderAPI_MakeFace; + :rtype: None") BRepBuilderAPI_MakeFace; BRepBuilderAPI_MakeFace (const gp_Sphere & S,const Standard_Real UMin,const Standard_Real UMax,const Standard_Real VMin,const Standard_Real VMax); - %feature("compactdefaultargs") BRepBuilderAPI_MakeFace; - %feature("autodoc", " * Make a face from a torus. + /****************** BRepBuilderAPI_MakeFace ******************/ + %feature("compactdefaultargs") BRepBuilderAPI_MakeFace; + %feature("autodoc", "* Make a face from a torus. :param C: :type C: gp_Torus :param UMin: @@ -1966,14 +2084,14 @@ class BRepBuilderAPI_MakeFace : public BRepBuilderAPI_MakeShape { :type VMin: float :param VMax: :type VMax: float - :rtype: None -") BRepBuilderAPI_MakeFace; + :rtype: None") BRepBuilderAPI_MakeFace; BRepBuilderAPI_MakeFace (const gp_Torus & C,const Standard_Real UMin,const Standard_Real UMax,const Standard_Real VMin,const Standard_Real VMax); - %feature("compactdefaultargs") BRepBuilderAPI_MakeFace; - %feature("autodoc", " * Make a face from a Surface. Accepts tolerance value (TolDegen) for resolution of degenerated edges. + /****************** BRepBuilderAPI_MakeFace ******************/ + %feature("compactdefaultargs") BRepBuilderAPI_MakeFace; + %feature("autodoc", "* Make a face from a Surface. Accepts tolerance value (TolDegen) for resolution of degenerated edges. :param S: - :type S: Handle_Geom_Surface & + :type S: opencascade::handle & :param UMin: :type UMin: float :param UMax: @@ -1984,126 +2102,138 @@ class BRepBuilderAPI_MakeFace : public BRepBuilderAPI_MakeShape { :type VMax: float :param TolDegen: :type TolDegen: float - :rtype: None -") BRepBuilderAPI_MakeFace; - BRepBuilderAPI_MakeFace (const Handle_Geom_Surface & S,const Standard_Real UMin,const Standard_Real UMax,const Standard_Real VMin,const Standard_Real VMax,const Standard_Real TolDegen); - %feature("compactdefaultargs") BRepBuilderAPI_MakeFace; - %feature("autodoc", " * Find a surface from the wire and make a face. 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. + :rtype: None") BRepBuilderAPI_MakeFace; + BRepBuilderAPI_MakeFace (const opencascade::handle & S,const Standard_Real UMin,const Standard_Real UMax,const Standard_Real VMin,const Standard_Real VMax,const Standard_Real TolDegen); + /****************** BRepBuilderAPI_MakeFace ******************/ + %feature("compactdefaultargs") BRepBuilderAPI_MakeFace; + %feature("autodoc", "* Find a surface from the wire and make a face. 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. :param W: :type W: TopoDS_Wire & :param OnlyPlane: default value is Standard_False :type OnlyPlane: bool - :rtype: None -") BRepBuilderAPI_MakeFace; + :rtype: None") BRepBuilderAPI_MakeFace; BRepBuilderAPI_MakeFace (const TopoDS_Wire & W,const Standard_Boolean OnlyPlane = Standard_False); - %feature("compactdefaultargs") BRepBuilderAPI_MakeFace; - %feature("autodoc", " * Make a face from a plane and a wire. + /****************** BRepBuilderAPI_MakeFace ******************/ + %feature("compactdefaultargs") BRepBuilderAPI_MakeFace; + %feature("autodoc", "* Make a face from a plane and a wire. :param P: :type P: gp_Pln :param W: :type W: TopoDS_Wire & :param Inside: default value is Standard_True :type Inside: bool - :rtype: None -") BRepBuilderAPI_MakeFace; + :rtype: None") BRepBuilderAPI_MakeFace; BRepBuilderAPI_MakeFace (const gp_Pln & P,const TopoDS_Wire & W,const Standard_Boolean Inside = Standard_True); - %feature("compactdefaultargs") BRepBuilderAPI_MakeFace; - %feature("autodoc", " * Make a face from a cylinder and a wire. + /****************** BRepBuilderAPI_MakeFace ******************/ + %feature("compactdefaultargs") BRepBuilderAPI_MakeFace; + %feature("autodoc", "* Make a face from a cylinder and a wire. :param C: :type C: gp_Cylinder :param W: :type W: TopoDS_Wire & :param Inside: default value is Standard_True :type Inside: bool - :rtype: None -") BRepBuilderAPI_MakeFace; + :rtype: None") BRepBuilderAPI_MakeFace; BRepBuilderAPI_MakeFace (const gp_Cylinder & C,const TopoDS_Wire & W,const Standard_Boolean Inside = Standard_True); - %feature("compactdefaultargs") BRepBuilderAPI_MakeFace; - %feature("autodoc", " * Make a face from a cone and a wire. + /****************** BRepBuilderAPI_MakeFace ******************/ + %feature("compactdefaultargs") BRepBuilderAPI_MakeFace; + %feature("autodoc", "* Make a face from a cone and a wire. :param C: :type C: gp_Cone :param W: :type W: TopoDS_Wire & :param Inside: default value is Standard_True :type Inside: bool - :rtype: None -") BRepBuilderAPI_MakeFace; + :rtype: None") BRepBuilderAPI_MakeFace; BRepBuilderAPI_MakeFace (const gp_Cone & C,const TopoDS_Wire & W,const Standard_Boolean Inside = Standard_True); - %feature("compactdefaultargs") BRepBuilderAPI_MakeFace; - %feature("autodoc", " * Make a face from a sphere and a wire. + /****************** BRepBuilderAPI_MakeFace ******************/ + %feature("compactdefaultargs") BRepBuilderAPI_MakeFace; + %feature("autodoc", "* Make a face from a sphere and a wire. :param S: :type S: gp_Sphere :param W: :type W: TopoDS_Wire & :param Inside: default value is Standard_True :type Inside: bool - :rtype: None -") BRepBuilderAPI_MakeFace; + :rtype: None") BRepBuilderAPI_MakeFace; BRepBuilderAPI_MakeFace (const gp_Sphere & S,const TopoDS_Wire & W,const Standard_Boolean Inside = Standard_True); - %feature("compactdefaultargs") BRepBuilderAPI_MakeFace; - %feature("autodoc", " * Make a face from a torus and a wire. + /****************** BRepBuilderAPI_MakeFace ******************/ + %feature("compactdefaultargs") BRepBuilderAPI_MakeFace; + %feature("autodoc", "* Make a face from a torus and a wire. :param C: :type C: gp_Torus :param W: :type W: TopoDS_Wire & :param Inside: default value is Standard_True :type Inside: bool - :rtype: None -") BRepBuilderAPI_MakeFace; + :rtype: None") BRepBuilderAPI_MakeFace; BRepBuilderAPI_MakeFace (const gp_Torus & C,const TopoDS_Wire & W,const Standard_Boolean Inside = Standard_True); - %feature("compactdefaultargs") BRepBuilderAPI_MakeFace; - %feature("autodoc", " * Make a face from a Surface and a wire. + /****************** BRepBuilderAPI_MakeFace ******************/ + %feature("compactdefaultargs") BRepBuilderAPI_MakeFace; + %feature("autodoc", "* Make a face from a Surface and a wire. :param S: - :type S: Handle_Geom_Surface & + :type S: opencascade::handle & :param W: :type W: TopoDS_Wire & :param Inside: default value is Standard_True :type Inside: bool - :rtype: None -") BRepBuilderAPI_MakeFace; - BRepBuilderAPI_MakeFace (const Handle_Geom_Surface & S,const TopoDS_Wire & W,const Standard_Boolean Inside = Standard_True); - %feature("compactdefaultargs") BRepBuilderAPI_MakeFace; - %feature("autodoc", " * Adds the wire in the face A general method to create a face is to give - a surface S as the support (the geometric domain) of the face, - and a wire W to bound it. The bounds of the face can also be defined by four parameter values umin, umax, vmin, vmax which determine isoparametric limitations on the parametric space of the surface. In this way, a patch is defined. The parameter values are optional. If they are omitted, the natural bounds of the surface are used. A wire is automatically built using the defined bounds. Up to four edges and four vertices are created with this wire (no edge is created when the corresponding parameter value is infinite). Wires can then be added using the function Add to define other restrictions on the face. These restrictions represent holes. More than one wire may be added by this way, provided that the wires do not cross each other and that they define only one area on the surface. (Be careful, however, as this is not checked). Forbidden addition of wires Note that in this schema, the third case is valid if edges of the wire W are declared internal to the face. As a result, these edges are no longer bounds of the face. A default tolerance (Precision::Confusion()) is given to the face, this tolerance may be increased during construction of the face using various algorithms. Rules applied to the arguments For the surface: - The surface must not be a 'null handle'. - If the surface is a trimmed surface, the basis surface is used. - For the wire: the wire is composed of connected edges, each edge having a parametric curve description in the parametric domain of the surface; in other words, as a pcurve. For the parameters: - The parameter values must be in the parametric range of the surface (or the basis surface, if the surface is trimmed). If this condition is not satisfied, the face is not built, and the Error function will return BRepBuilderAPI_ParametersOutOfRange. - The bounding parameters p1 and p2 are adjusted on a periodic surface in a given parametric direction by adding or subtracting the period to obtain p1 in the parametric range of the surface and such p2, that p2 - p1 <= Period, where Period is the period of the surface in this parametric direction. - A parameter value may be infinite. There will be no edge and no vertex in the corresponding direction. + :rtype: None") BRepBuilderAPI_MakeFace; + BRepBuilderAPI_MakeFace (const opencascade::handle & S,const TopoDS_Wire & W,const Standard_Boolean Inside = Standard_True); + /****************** BRepBuilderAPI_MakeFace ******************/ + %feature("compactdefaultargs") BRepBuilderAPI_MakeFace; + %feature("autodoc", "* Adds the wire in the face A general method to create a face is to give - a surface S as the support (the geometric domain) of the face, - and a wire W to bound it. The bounds of the face can also be defined by four parameter values umin, umax, vmin, vmax which determine isoparametric limitations on the parametric space of the surface. In this way, a patch is defined. The parameter values are optional. If they are omitted, the natural bounds of the surface are used. A wire is automatically built using the defined bounds. Up to four edges and four vertices are created with this wire (no edge is created when the corresponding parameter value is infinite). Wires can then be added using the function Add to define other restrictions on the face. These restrictions represent holes. More than one wire may be added by this way, provided that the wires do not cross each other and that they define only one area on the surface. (Be careful, however, as this is not checked). Forbidden addition of wires Note that in this schema, the third case is valid if edges of the wire W are declared internal to the face. As a result, these edges are no longer bounds of the face. A default tolerance (Precision::Confusion()) is given to the face, this tolerance may be increased during construction of the face using various algorithms. Rules applied to the arguments For the surface: - The surface must not be a 'null handle'. - If the surface is a trimmed surface, the basis surface is used. - For the wire: the wire is composed of connected edges, each edge having a parametric curve description in the parametric domain of the surface; in other words, as a pcurve. For the parameters: - The parameter values must be in the parametric range of the surface (or the basis surface, if the surface is trimmed). If this condition is not satisfied, the face is not built, and the Error function will return BRepBuilderAPI_ParametersOutOfRange. - The bounding parameters p1 and p2 are adjusted on a periodic surface in a given parametric direction by adding or subtracting the period to obtain p1 in the parametric range of the surface and such p2, that p2 - p1 <= Period, where Period is the period of the surface in this parametric direction. - A parameter value may be infinite. There will be no edge and no vertex in the corresponding direction. :param F: :type F: TopoDS_Face & :param W: :type W: TopoDS_Wire & - :rtype: None -") BRepBuilderAPI_MakeFace; + :rtype: None") BRepBuilderAPI_MakeFace; BRepBuilderAPI_MakeFace (const TopoDS_Face & F,const TopoDS_Wire & W); - %feature("compactdefaultargs") Init; - %feature("autodoc", " * Initializes (or reinitializes) the construction of a face by creating a new object which is a copy of the face F, in order to add wires to it, using the function Add. Note: this complete copy of the geometry is only required if you want to work on the geometries of the two faces independently. + /****************** Error ******************/ + %feature("compactdefaultargs") Error; + %feature("autodoc", "* Returns the construction status BRepBuilderAPI_FaceDone if the face is built, or - another value of the BRepBuilderAPI_FaceError enumeration indicating why the construction failed, in particular when the given parameters are outside the bounds of the surface. + :rtype: BRepBuilderAPI_FaceError") Error; + BRepBuilderAPI_FaceError Error (); + + /****************** Face ******************/ + %feature("compactdefaultargs") Face; + %feature("autodoc", "* Returns the constructed face. Exceptions StdFail_NotDone if no face is built. + :rtype: TopoDS_Face") Face; + const TopoDS_Face Face (); + + /****************** Init ******************/ + %feature("compactdefaultargs") Init; + %feature("autodoc", "* Initializes (or reinitializes) the construction of a face by creating a new object which is a copy of the face F, in order to add wires to it, using the function Add. Note: this complete copy of the geometry is only required if you want to work on the geometries of the two faces independently. :param F: :type F: TopoDS_Face & - :rtype: None -") Init; + :rtype: None") Init; void Init (const TopoDS_Face & F); - %feature("compactdefaultargs") Init; - %feature("autodoc", " * Initializes (or reinitializes) the construction of a face on the surface S. If Bound is true, a wire is automatically created from the natural bounds of the surface S and added to the face in order to bound it. If Bound is false, no wire is added. This option is used when real bounds are known. These will be added to the face after this initialization, using the function Add. TolDegen parameter is used for resolution of degenerated edges if calculation of natural bounds is turned on. + /****************** Init ******************/ + %feature("compactdefaultargs") Init; + %feature("autodoc", "* Initializes (or reinitializes) the construction of a face on the surface S. If Bound is true, a wire is automatically created from the natural bounds of the surface S and added to the face in order to bound it. If Bound is false, no wire is added. This option is used when real bounds are known. These will be added to the face after this initialization, using the function Add. TolDegen parameter is used for resolution of degenerated edges if calculation of natural bounds is turned on. :param S: - :type S: Handle_Geom_Surface & + :type S: opencascade::handle & :param Bound: :type Bound: bool :param TolDegen: :type TolDegen: float - :rtype: None -") Init; - void Init (const Handle_Geom_Surface & S,const Standard_Boolean Bound,const Standard_Real TolDegen); - %feature("compactdefaultargs") Init; - %feature("autodoc", " * Initializes (or reinitializes) the construction of a face on the surface S, limited in the u parametric direction by the two parameter values UMin and UMax and in the v parametric direction by the two parameter values VMin and VMax. Warning Error returns: - BRepBuilderAPI_ParametersOutOfRange when the parameters given are outside the bounds of the surface or the basis surface of a trimmed surface. TolDegen parameter is used for resolution of degenerated edges. + :rtype: None") Init; + void Init (const opencascade::handle & S,const Standard_Boolean Bound,const Standard_Real TolDegen); + /****************** Init ******************/ + %feature("compactdefaultargs") Init; + %feature("autodoc", "* Initializes (or reinitializes) the construction of a face on the surface S, limited in the u parametric direction by the two parameter values UMin and UMax and in the v parametric direction by the two parameter values VMin and VMax. Warning Error returns: - BRepBuilderAPI_ParametersOutOfRange when the parameters given are outside the bounds of the surface or the basis surface of a trimmed surface. TolDegen parameter is used for resolution of degenerated edges. :param S: - :type S: Handle_Geom_Surface & + :type S: opencascade::handle & :param UMin: :type UMin: float :param UMax: @@ -2114,39 +2244,20 @@ class BRepBuilderAPI_MakeFace : public BRepBuilderAPI_MakeShape { :type VMax: float :param TolDegen: :type TolDegen: float - :rtype: None -") Init; - void Init (const Handle_Geom_Surface & S,const Standard_Real UMin,const Standard_Real UMax,const Standard_Real VMin,const Standard_Real VMax,const Standard_Real TolDegen); - %feature("compactdefaultargs") Add; - %feature("autodoc", " * Adds the wire W to the constructed face as a hole. Warning W must not cross the other bounds of the face, and all the bounds must define only one area on the surface. (Be careful, however, as this is not checked.) Example // a cylinder gp_Cylinder C = ..; // a wire TopoDS_Wire W = ...; BRepBuilderAPI_MakeFace MF(C); MF.Add(W); TopoDS_Face F = MF; + :rtype: None") Init; + void Init (const opencascade::handle & S,const Standard_Real UMin,const Standard_Real UMax,const Standard_Real VMin,const Standard_Real VMax,const Standard_Real TolDegen); - :param W: - :type W: TopoDS_Wire & - :rtype: None -") Add; - void Add (const TopoDS_Wire & W); + /****************** IsDone ******************/ %feature("compactdefaultargs") IsDone; - %feature("autodoc", " * Returns true if this algorithm has a valid face. - - :rtype: bool -") IsDone; + %feature("autodoc", "* Returns true if this algorithm has a valid face. + :rtype: bool") IsDone; virtual Standard_Boolean IsDone (); - %feature("compactdefaultargs") Error; - %feature("autodoc", " * Returns the construction status BRepBuilderAPI_FaceDone if the face is built, or - another value of the BRepBuilderAPI_FaceError enumeration indicating why the construction failed, in particular when the given parameters are outside the bounds of the surface. - - :rtype: BRepBuilderAPI_FaceError -") Error; - BRepBuilderAPI_FaceError Error (); - %feature("compactdefaultargs") Face; - %feature("autodoc", " * Returns the constructed face. Exceptions StdFail_NotDone if no face is built. - :rtype: TopoDS_Face -") Face; - const TopoDS_Face Face (); + /****************** operator TopoDS_Face ******************/ %feature("compactdefaultargs") operator TopoDS_Face; - %feature("autodoc", " :rtype: -") operator TopoDS_Face; + %feature("autodoc", ":rtype:") operator TopoDS_Face; operator TopoDS_Face (); + }; @@ -2155,25 +2266,52 @@ class BRepBuilderAPI_MakeFace : public BRepBuilderAPI_MakeShape { __repr__ = _dumps_object } }; + +/*********************************** +* class BRepBuilderAPI_MakePolygon * +***********************************/ %nodefaultctor BRepBuilderAPI_MakePolygon; class BRepBuilderAPI_MakePolygon : public BRepBuilderAPI_MakeShape { public: - %feature("compactdefaultargs") BRepBuilderAPI_MakePolygon; - %feature("autodoc", " * Initializes an empty polygonal wire, to which points or vertices are added using the Add function. As soon as the polygonal wire under construction contains vertices, it can be consulted using the Wire function. + /****************** Add ******************/ + %feature("compactdefaultargs") Add; + %feature("autodoc", ":param P: + :type P: gp_Pnt + :rtype: None") Add; + void Add (const gp_Pnt & P); + + /****************** Add ******************/ + %feature("compactdefaultargs") Add; + %feature("autodoc", "* Adds the point P or the vertex V at the end of the polygonal wire under construction. A vertex is automatically created on the point P. Warning - When P or V is coincident to the previous vertex, no edge is built. The method Added can be used to test for this. Neither P nor V is checked to verify that it is coincident with another vertex than the last one, of the polygonal wire under construction. It is also possible to add vertices on a closed polygon (built for example by using a constructor which declares the polygon closed, or after the use of the Close function). Consequently, be careful using this function: you might create: - a polygonal wire with two consecutive coincident edges, or - a non manifold polygonal wire. - P or V is not checked to verify if it is coincident with another vertex but the last one, of the polygonal wire under construction. It is also possible to add vertices on a closed polygon (built for example by using a constructor which declares the polygon closed, or after the use of the Close function). Consequently, be careful when using this function: you might create: - a polygonal wire with two consecutive coincident edges, or - a non-manifold polygonal wire. + :param V: + :type V: TopoDS_Vertex & + :rtype: None") Add; + void Add (const TopoDS_Vertex & V); - :rtype: None -") BRepBuilderAPI_MakePolygon; + /****************** Added ******************/ + %feature("compactdefaultargs") Added; + %feature("autodoc", "* Returns true if the last vertex added to the constructed polygonal wire is not coincident with the previous one. + :rtype: bool") Added; + Standard_Boolean Added (); + + /****************** BRepBuilderAPI_MakePolygon ******************/ + %feature("compactdefaultargs") BRepBuilderAPI_MakePolygon; + %feature("autodoc", "* Initializes an empty polygonal wire, to which points or vertices are added using the Add function. As soon as the polygonal wire under construction contains vertices, it can be consulted using the Wire function. + :rtype: None") BRepBuilderAPI_MakePolygon; BRepBuilderAPI_MakePolygon (); + + /****************** BRepBuilderAPI_MakePolygon ******************/ %feature("compactdefaultargs") BRepBuilderAPI_MakePolygon; - %feature("autodoc", " :param P1: + %feature("autodoc", ":param P1: :type P1: gp_Pnt :param P2: :type P2: gp_Pnt - :rtype: None -") BRepBuilderAPI_MakePolygon; + :rtype: None") BRepBuilderAPI_MakePolygon; BRepBuilderAPI_MakePolygon (const gp_Pnt & P1,const gp_Pnt & P2); + + /****************** BRepBuilderAPI_MakePolygon ******************/ %feature("compactdefaultargs") BRepBuilderAPI_MakePolygon; - %feature("autodoc", " :param P1: + %feature("autodoc", ":param P1: :type P1: gp_Pnt :param P2: :type P2: gp_Pnt @@ -2181,12 +2319,12 @@ class BRepBuilderAPI_MakePolygon : public BRepBuilderAPI_MakeShape { :type P3: gp_Pnt :param Close: default value is Standard_False :type Close: bool - :rtype: None -") BRepBuilderAPI_MakePolygon; + :rtype: None") BRepBuilderAPI_MakePolygon; BRepBuilderAPI_MakePolygon (const gp_Pnt & P1,const gp_Pnt & P2,const gp_Pnt & P3,const Standard_Boolean Close = Standard_False); - %feature("compactdefaultargs") BRepBuilderAPI_MakePolygon; - %feature("autodoc", " * Constructs a polygonal wire from 2, 3 or 4 points. Vertices are automatically created on the given points. The polygonal wire is closed if Close is true; otherwise it is open. Further vertices can be added using the Add function. The polygonal wire under construction can be consulted at any time by using the Wire function. Example //an open polygon from four points TopoDS_Wire W = BRepBuilderAPI_MakePolygon(P1,P2,P3,P4); Warning: The process is equivalent to: - initializing an empty polygonal wire, - and adding the given points in sequence. Consequently, be careful when using this function: if the sequence of points p1 - p2 - p1 is found among the arguments of the constructor, you will create a polygonal wire with two consecutive coincident edges. + /****************** BRepBuilderAPI_MakePolygon ******************/ + %feature("compactdefaultargs") BRepBuilderAPI_MakePolygon; + %feature("autodoc", "* Constructs a polygonal wire from 2, 3 or 4 points. Vertices are automatically created on the given points. The polygonal wire is closed if Close is true; otherwise it is open. Further vertices can be added using the Add function. The polygonal wire under construction can be consulted at any time by using the Wire function. Example //an open polygon from four points TopoDS_Wire W = BRepBuilderAPI_MakePolygon(P1,P2,P3,P4); Warning: The process is equivalent to: - initializing an empty polygonal wire, - and adding the given points in sequence. Consequently, be careful when using this function: if the sequence of points p1 - p2 - p1 is found among the arguments of the constructor, you will create a polygonal wire with two consecutive coincident edges. :param P1: :type P1: gp_Pnt :param P2: @@ -2197,19 +2335,21 @@ class BRepBuilderAPI_MakePolygon : public BRepBuilderAPI_MakeShape { :type P4: gp_Pnt :param Close: default value is Standard_False :type Close: bool - :rtype: None -") BRepBuilderAPI_MakePolygon; + :rtype: None") BRepBuilderAPI_MakePolygon; BRepBuilderAPI_MakePolygon (const gp_Pnt & P1,const gp_Pnt & P2,const gp_Pnt & P3,const gp_Pnt & P4,const Standard_Boolean Close = Standard_False); + + /****************** BRepBuilderAPI_MakePolygon ******************/ %feature("compactdefaultargs") BRepBuilderAPI_MakePolygon; - %feature("autodoc", " :param V1: + %feature("autodoc", ":param V1: :type V1: TopoDS_Vertex & :param V2: :type V2: TopoDS_Vertex & - :rtype: None -") BRepBuilderAPI_MakePolygon; + :rtype: None") BRepBuilderAPI_MakePolygon; BRepBuilderAPI_MakePolygon (const TopoDS_Vertex & V1,const TopoDS_Vertex & V2); + + /****************** BRepBuilderAPI_MakePolygon ******************/ %feature("compactdefaultargs") BRepBuilderAPI_MakePolygon; - %feature("autodoc", " :param V1: + %feature("autodoc", ":param V1: :type V1: TopoDS_Vertex & :param V2: :type V2: TopoDS_Vertex & @@ -2217,12 +2357,12 @@ class BRepBuilderAPI_MakePolygon : public BRepBuilderAPI_MakeShape { :type V3: TopoDS_Vertex & :param Close: default value is Standard_False :type Close: bool - :rtype: None -") BRepBuilderAPI_MakePolygon; + :rtype: None") BRepBuilderAPI_MakePolygon; BRepBuilderAPI_MakePolygon (const TopoDS_Vertex & V1,const TopoDS_Vertex & V2,const TopoDS_Vertex & V3,const Standard_Boolean Close = Standard_False); - %feature("compactdefaultargs") BRepBuilderAPI_MakePolygon; - %feature("autodoc", " * Constructs a polygonal wire from 2, 3 or 4 vertices. The polygonal wire is closed if Close is true; otherwise it is open (default value). Further vertices can be added using the Add function. The polygonal wire under construction can be consulted at any time by using the Wire function. Example //a closed triangle from three vertices TopoDS_Wire W = BRepBuilderAPI_MakePolygon(V1,V2,V3,Standard_True); Warning The process is equivalent to: - initializing an empty polygonal wire, - then adding the given points in sequence. So be careful, as when using this function, you could create a polygonal wire with two consecutive coincident edges if the sequence of vertices v1 - v2 - v1 is found among the constructor's arguments. + /****************** BRepBuilderAPI_MakePolygon ******************/ + %feature("compactdefaultargs") BRepBuilderAPI_MakePolygon; + %feature("autodoc", "* Constructs a polygonal wire from 2, 3 or 4 vertices. The polygonal wire is closed if Close is true; otherwise it is open (default value). Further vertices can be added using the Add function. The polygonal wire under construction can be consulted at any time by using the Wire function. Example //a closed triangle from three vertices TopoDS_Wire W = BRepBuilderAPI_MakePolygon(V1,V2,V3,Standard_True); Warning The process is equivalent to: - initializing an empty polygonal wire, - then adding the given points in sequence. So be careful, as when using this function, you could create a polygonal wire with two consecutive coincident edges if the sequence of vertices v1 - v2 - v1 is found among the constructor's arguments. :param V1: :type V1: TopoDS_Vertex & :param V2: @@ -2233,71 +2373,54 @@ class BRepBuilderAPI_MakePolygon : public BRepBuilderAPI_MakeShape { :type V4: TopoDS_Vertex & :param Close: default value is Standard_False :type Close: bool - :rtype: None -") BRepBuilderAPI_MakePolygon; + :rtype: None") BRepBuilderAPI_MakePolygon; BRepBuilderAPI_MakePolygon (const TopoDS_Vertex & V1,const TopoDS_Vertex & V2,const TopoDS_Vertex & V3,const TopoDS_Vertex & V4,const Standard_Boolean Close = Standard_False); - %feature("compactdefaultargs") Add; - %feature("autodoc", " :param P: - :type P: gp_Pnt - :rtype: None -") Add; - void Add (const gp_Pnt & P); - %feature("compactdefaultargs") Add; - %feature("autodoc", " * Adds the point P or the vertex V at the end of the polygonal wire under construction. A vertex is automatically created on the point P. Warning - When P or V is coincident to the previous vertex, no edge is built. The method Added can be used to test for this. Neither P nor V is checked to verify that it is coincident with another vertex than the last one, of the polygonal wire under construction. It is also possible to add vertices on a closed polygon (built for example by using a constructor which declares the polygon closed, or after the use of the Close function). Consequently, be careful using this function: you might create: - a polygonal wire with two consecutive coincident edges, or - a non manifold polygonal wire. - P or V is not checked to verify if it is coincident with another vertex but the last one, of the polygonal wire under construction. It is also possible to add vertices on a closed polygon (built for example by using a constructor which declares the polygon closed, or after the use of the Close function). Consequently, be careful when using this function: you might create: - a polygonal wire with two consecutive coincident edges, or - a non-manifold polygonal wire. - - :param V: - :type V: TopoDS_Vertex & - :rtype: None -") Add; - void Add (const TopoDS_Vertex & V); - %feature("compactdefaultargs") Added; - %feature("autodoc", " * Returns true if the last vertex added to the constructed polygonal wire is not coincident with the previous one. - :rtype: bool -") Added; - Standard_Boolean Added (); + /****************** Close ******************/ %feature("compactdefaultargs") Close; - %feature("autodoc", " * Closes the polygonal wire under construction. Note - this is equivalent to adding the first vertex to the polygonal wire under construction. - - :rtype: None -") Close; + %feature("autodoc", "* Closes the polygonal wire under construction. Note - this is equivalent to adding the first vertex to the polygonal wire under construction. + :rtype: None") Close; void Close (); + + /****************** Edge ******************/ + %feature("compactdefaultargs") Edge; + %feature("autodoc", "* Returns the edge built between the last two points or vertices added to the constructed polygonal wire under construction. Warning If there is only one vertex in the polygonal wire, the result is a null edge. + :rtype: TopoDS_Edge") Edge; + const TopoDS_Edge Edge (); + + /****************** FirstVertex ******************/ %feature("compactdefaultargs") FirstVertex; - %feature("autodoc", " :rtype: TopoDS_Vertex -") FirstVertex; + %feature("autodoc", ":rtype: TopoDS_Vertex") FirstVertex; const TopoDS_Vertex FirstVertex (); - %feature("compactdefaultargs") LastVertex; - %feature("autodoc", " * Returns the first or the last vertex of the polygonal wire under construction. If the constructed polygonal wire is closed, the first and the last vertices are identical. - :rtype: TopoDS_Vertex -") LastVertex; - const TopoDS_Vertex LastVertex (); + /****************** IsDone ******************/ %feature("compactdefaultargs") IsDone; - %feature("autodoc", " * Returns true if this algorithm contains a valid polygonal wire (i.e. if there is at least one edge). IsDone returns false if fewer than two vertices have been chained together by this construction algorithm. - - :rtype: bool -") IsDone; + %feature("autodoc", "* Returns true if this algorithm contains a valid polygonal wire (i.e. if there is at least one edge). IsDone returns false if fewer than two vertices have been chained together by this construction algorithm. + :rtype: bool") IsDone; virtual Standard_Boolean IsDone (); - %feature("compactdefaultargs") Edge; - %feature("autodoc", " * Returns the edge built between the last two points or vertices added to the constructed polygonal wire under construction. Warning If there is only one vertex in the polygonal wire, the result is a null edge. - :rtype: TopoDS_Edge -") Edge; - const TopoDS_Edge Edge (); + /****************** LastVertex ******************/ + %feature("compactdefaultargs") LastVertex; + %feature("autodoc", "* Returns the first or the last vertex of the polygonal wire under construction. If the constructed polygonal wire is closed, the first and the last vertices are identical. + :rtype: TopoDS_Vertex") LastVertex; + const TopoDS_Vertex LastVertex (); + + /****************** Wire ******************/ + %feature("compactdefaultargs") Wire; + %feature("autodoc", "* Returns the constructed polygonal wire, or the already built part of the polygonal wire under construction. Exceptions StdFail_NotDone if the wire is not built, i.e. if fewer than two vertices have been chained together by this construction algorithm. + :rtype: TopoDS_Wire") Wire; + const TopoDS_Wire Wire (); + + /****************** operator TopoDS_Edge ******************/ %feature("compactdefaultargs") operator TopoDS_Edge; - %feature("autodoc", " :rtype: -") operator TopoDS_Edge; + %feature("autodoc", ":rtype:") operator TopoDS_Edge; operator TopoDS_Edge (); - %feature("compactdefaultargs") Wire; - %feature("autodoc", " * Returns the constructed polygonal wire, or the already built part of the polygonal wire under construction. Exceptions StdFail_NotDone if the wire is not built, i.e. if fewer than two vertices have been chained together by this construction algorithm. - :rtype: TopoDS_Wire -") Wire; - const TopoDS_Wire Wire (); + /****************** operator TopoDS_Wire ******************/ %feature("compactdefaultargs") operator TopoDS_Wire; - %feature("autodoc", " :rtype: -") operator TopoDS_Wire; + %feature("autodoc", ":rtype:") operator TopoDS_Wire; operator TopoDS_Wire (); + }; @@ -2306,30 +2429,34 @@ class BRepBuilderAPI_MakePolygon : public BRepBuilderAPI_MakeShape { __repr__ = _dumps_object } }; + +/********************************* +* class BRepBuilderAPI_MakeShell * +*********************************/ %nodefaultctor BRepBuilderAPI_MakeShell; class BRepBuilderAPI_MakeShell : public BRepBuilderAPI_MakeShape { public: + /****************** BRepBuilderAPI_MakeShell ******************/ %feature("compactdefaultargs") BRepBuilderAPI_MakeShell; - %feature("autodoc", " * Constructs an empty shell framework. The Init function is used to define the construction arguments. Warning The function Error will return BRepBuilderAPI_EmptyShell if it is called before the function Init. - - :rtype: None -") BRepBuilderAPI_MakeShell; + %feature("autodoc", "* Constructs an empty shell framework. The Init function is used to define the construction arguments. Warning The function Error will return BRepBuilderAPI_EmptyShell if it is called before the function Init. + :rtype: None") BRepBuilderAPI_MakeShell; BRepBuilderAPI_MakeShell (); - %feature("compactdefaultargs") BRepBuilderAPI_MakeShell; - %feature("autodoc", " * Constructs a shell from the surface S. + /****************** BRepBuilderAPI_MakeShell ******************/ + %feature("compactdefaultargs") BRepBuilderAPI_MakeShell; + %feature("autodoc", "* Constructs a shell from the surface S. :param S: - :type S: Handle_Geom_Surface & + :type S: opencascade::handle & :param Segment: default value is Standard_False :type Segment: bool - :rtype: None -") BRepBuilderAPI_MakeShell; - BRepBuilderAPI_MakeShell (const Handle_Geom_Surface & S,const Standard_Boolean Segment = Standard_False); - %feature("compactdefaultargs") BRepBuilderAPI_MakeShell; - %feature("autodoc", " * Constructs a shell from the surface S, limited in the u parametric direction by the two parameter values UMin and UMax, and limited in the v parametric direction by the two parameter values VMin and VMax. + :rtype: None") BRepBuilderAPI_MakeShell; + BRepBuilderAPI_MakeShell (const opencascade::handle & S,const Standard_Boolean Segment = Standard_False); + /****************** BRepBuilderAPI_MakeShell ******************/ + %feature("compactdefaultargs") BRepBuilderAPI_MakeShell; + %feature("autodoc", "* Constructs a shell from the surface S, limited in the u parametric direction by the two parameter values UMin and UMax, and limited in the v parametric direction by the two parameter values VMin and VMax. :param S: - :type S: Handle_Geom_Surface & + :type S: opencascade::handle & :param UMin: :type UMin: float :param UMax: @@ -2340,14 +2467,20 @@ class BRepBuilderAPI_MakeShell : public BRepBuilderAPI_MakeShape { :type VMax: float :param Segment: default value is Standard_False :type Segment: bool - :rtype: None -") BRepBuilderAPI_MakeShell; - BRepBuilderAPI_MakeShell (const Handle_Geom_Surface & S,const Standard_Real UMin,const Standard_Real UMax,const Standard_Real VMin,const Standard_Real VMax,const Standard_Boolean Segment = Standard_False); - %feature("compactdefaultargs") Init; - %feature("autodoc", " * Defines or redefines the arguments for the construction of a shell. The construction is initialized with the surface S, limited in the u parametric direction by the two parameter values UMin and UMax, and in the v parametric direction by the two parameter values VMin and VMax. Warning The function Error returns: - BRepBuilderAPI_ShellParametersOutOfRange when the given parameters are outside the bounds of the surface or the basis surface if S is trimmed + :rtype: None") BRepBuilderAPI_MakeShell; + BRepBuilderAPI_MakeShell (const opencascade::handle & S,const Standard_Real UMin,const Standard_Real UMax,const Standard_Real VMin,const Standard_Real VMax,const Standard_Boolean Segment = Standard_False); + /****************** Error ******************/ + %feature("compactdefaultargs") Error; + %feature("autodoc", "* Returns the construction status: - BRepBuilderAPI_ShellDone if the shell is built, or - another value of the BRepBuilderAPI_ShellError enumeration indicating why the construction failed. This is frequently BRepBuilderAPI_ShellParametersOutOfRange indicating that the given parameters are outside the bounds of the surface. + :rtype: BRepBuilderAPI_ShellError") Error; + BRepBuilderAPI_ShellError Error (); + + /****************** Init ******************/ + %feature("compactdefaultargs") Init; + %feature("autodoc", "* Defines or redefines the arguments for the construction of a shell. The construction is initialized with the surface S, limited in the u parametric direction by the two parameter values UMin and UMax, and in the v parametric direction by the two parameter values VMin and VMax. Warning The function Error returns: - BRepBuilderAPI_ShellParametersOutOfRange when the given parameters are outside the bounds of the surface or the basis surface if S is trimmed :param S: - :type S: Handle_Geom_Surface & + :type S: opencascade::handle & :param UMin: :type UMin: float :param UMax: @@ -2358,31 +2491,26 @@ class BRepBuilderAPI_MakeShell : public BRepBuilderAPI_MakeShape { :type VMax: float :param Segment: default value is Standard_False :type Segment: bool - :rtype: None -") Init; - void Init (const Handle_Geom_Surface & S,const Standard_Real UMin,const Standard_Real UMax,const Standard_Real VMin,const Standard_Real VMax,const Standard_Boolean Segment = Standard_False); - %feature("compactdefaultargs") IsDone; - %feature("autodoc", " * Returns true if the shell is built. + :rtype: None") Init; + void Init (const opencascade::handle & S,const Standard_Real UMin,const Standard_Real UMax,const Standard_Real VMin,const Standard_Real VMax,const Standard_Boolean Segment = Standard_False); - :rtype: bool -") IsDone; + /****************** IsDone ******************/ + %feature("compactdefaultargs") IsDone; + %feature("autodoc", "* Returns true if the shell is built. + :rtype: bool") IsDone; virtual Standard_Boolean IsDone (); - %feature("compactdefaultargs") Error; - %feature("autodoc", " * Returns the construction status: - BRepBuilderAPI_ShellDone if the shell is built, or - another value of the BRepBuilderAPI_ShellError enumeration indicating why the construction failed. This is frequently BRepBuilderAPI_ShellParametersOutOfRange indicating that the given parameters are outside the bounds of the surface. - :rtype: BRepBuilderAPI_ShellError -") Error; - BRepBuilderAPI_ShellError Error (); + /****************** Shell ******************/ %feature("compactdefaultargs") Shell; - %feature("autodoc", " * Returns the new Shell. - - :rtype: TopoDS_Shell -") Shell; + %feature("autodoc", "* Returns the new Shell. + :rtype: TopoDS_Shell") Shell; const TopoDS_Shell Shell (); + + /****************** operator TopoDS_Shell ******************/ %feature("compactdefaultargs") operator TopoDS_Shell; - %feature("autodoc", " :rtype: -") operator TopoDS_Shell; + %feature("autodoc", ":rtype:") operator TopoDS_Shell; operator TopoDS_Shell (); + }; @@ -2391,101 +2519,107 @@ class BRepBuilderAPI_MakeShell : public BRepBuilderAPI_MakeShape { __repr__ = _dumps_object } }; + +/********************************* +* class BRepBuilderAPI_MakeSolid * +*********************************/ %nodefaultctor BRepBuilderAPI_MakeSolid; class BRepBuilderAPI_MakeSolid : public BRepBuilderAPI_MakeShape { public: - %feature("compactdefaultargs") BRepBuilderAPI_MakeSolid; - %feature("autodoc", " * Initializes the construction of a solid. An empty solid is considered to cover the whole space. The Add function is used to define shells to bound it. + /****************** Add ******************/ + %feature("compactdefaultargs") Add; + %feature("autodoc", "* Adds the shell to the current solid. Warning No check is done to verify the conditions of coherence of the resulting solid. In particular, S must not intersect other shells of the solid under construction. Besides, after all shells have been added, one of these shells should constitute the outside skin of the solid. It may be closed (a finite solid) or open (an infinite solid). Other shells form hollows (cavities) in these previous ones. Each must bound a closed volume. + :param S: + :type S: TopoDS_Shell & + :rtype: None") Add; + void Add (const TopoDS_Shell & S); - :rtype: None -") BRepBuilderAPI_MakeSolid; - BRepBuilderAPI_MakeSolid (); + /****************** BRepBuilderAPI_MakeSolid ******************/ %feature("compactdefaultargs") BRepBuilderAPI_MakeSolid; - %feature("autodoc", " * Make a solid from a CompSolid. + %feature("autodoc", "* Initializes the construction of a solid. An empty solid is considered to cover the whole space. The Add function is used to define shells to bound it. + :rtype: None") BRepBuilderAPI_MakeSolid; + BRepBuilderAPI_MakeSolid (); + /****************** BRepBuilderAPI_MakeSolid ******************/ + %feature("compactdefaultargs") BRepBuilderAPI_MakeSolid; + %feature("autodoc", "* Make a solid from a CompSolid. :param S: :type S: TopoDS_CompSolid & - :rtype: None -") BRepBuilderAPI_MakeSolid; + :rtype: None") BRepBuilderAPI_MakeSolid; BRepBuilderAPI_MakeSolid (const TopoDS_CompSolid & S); - %feature("compactdefaultargs") BRepBuilderAPI_MakeSolid; - %feature("autodoc", " * Make a solid from a shell. + /****************** BRepBuilderAPI_MakeSolid ******************/ + %feature("compactdefaultargs") BRepBuilderAPI_MakeSolid; + %feature("autodoc", "* Make a solid from a shell. :param S: :type S: TopoDS_Shell & - :rtype: None -") BRepBuilderAPI_MakeSolid; + :rtype: None") BRepBuilderAPI_MakeSolid; BRepBuilderAPI_MakeSolid (const TopoDS_Shell & S); - %feature("compactdefaultargs") BRepBuilderAPI_MakeSolid; - %feature("autodoc", " * Make a solid from two shells. + /****************** BRepBuilderAPI_MakeSolid ******************/ + %feature("compactdefaultargs") BRepBuilderAPI_MakeSolid; + %feature("autodoc", "* Make a solid from two shells. :param S1: :type S1: TopoDS_Shell & :param S2: :type S2: TopoDS_Shell & - :rtype: None -") BRepBuilderAPI_MakeSolid; + :rtype: None") BRepBuilderAPI_MakeSolid; BRepBuilderAPI_MakeSolid (const TopoDS_Shell & S1,const TopoDS_Shell & S2); - %feature("compactdefaultargs") BRepBuilderAPI_MakeSolid; - %feature("autodoc", " * Make a solid from three shells. Constructs a solid - covering the whole space, or - from shell S, or - from two shells S1 and S2, or - from three shells S1, S2 and S3, or Warning No check is done to verify the conditions of coherence of the resulting solid. In particular, S1, S2 (and S3) must not intersect each other. Besides, after all shells have been added using the Add function, one of these shells should constitute the outside skin of the solid; it may be closed (a finite solid) or open (an infinite solid). Other shells form hollows (cavities) in these previous ones. Each must bound a closed volume. + /****************** BRepBuilderAPI_MakeSolid ******************/ + %feature("compactdefaultargs") BRepBuilderAPI_MakeSolid; + %feature("autodoc", "* Make a solid from three shells. Constructs a solid - covering the whole space, or - from shell S, or - from two shells S1 and S2, or - from three shells S1, S2 and S3, or Warning No check is done to verify the conditions of coherence of the resulting solid. In particular, S1, S2 (and S3) must not intersect each other. Besides, after all shells have been added using the Add function, one of these shells should constitute the outside skin of the solid; it may be closed (a finite solid) or open (an infinite solid). Other shells form hollows (cavities) in these previous ones. Each must bound a closed volume. :param S1: :type S1: TopoDS_Shell & :param S2: :type S2: TopoDS_Shell & :param S3: :type S3: TopoDS_Shell & - :rtype: None -") BRepBuilderAPI_MakeSolid; + :rtype: None") BRepBuilderAPI_MakeSolid; BRepBuilderAPI_MakeSolid (const TopoDS_Shell & S1,const TopoDS_Shell & S2,const TopoDS_Shell & S3); - %feature("compactdefaultargs") BRepBuilderAPI_MakeSolid; - %feature("autodoc", " * Make a solid from a solid. Usefull for adding later. + /****************** BRepBuilderAPI_MakeSolid ******************/ + %feature("compactdefaultargs") BRepBuilderAPI_MakeSolid; + %feature("autodoc", "* Make a solid from a solid. Usefull for adding later. :param So: :type So: TopoDS_Solid & - :rtype: None -") BRepBuilderAPI_MakeSolid; + :rtype: None") BRepBuilderAPI_MakeSolid; BRepBuilderAPI_MakeSolid (const TopoDS_Solid & So); - %feature("compactdefaultargs") BRepBuilderAPI_MakeSolid; - %feature("autodoc", " * Add a shell to a solid. //! Constructs a solid: - from the solid So, to which shells can be added, or - by adding the shell S to the solid So. Warning No check is done to verify the conditions of coherence of the resulting solid. In particular S must not intersect the solid S0. Besides, after all shells have been added using the Add function, one of these shells should constitute the outside skin of the solid. It may be closed (a finite solid) or open (an infinite solid). Other shells form hollows (cavities) in the previous ones. Each must bound a closed volume. + /****************** BRepBuilderAPI_MakeSolid ******************/ + %feature("compactdefaultargs") BRepBuilderAPI_MakeSolid; + %feature("autodoc", "* Add a shell to a solid. //! Constructs a solid: - from the solid So, to which shells can be added, or - by adding the shell S to the solid So. Warning No check is done to verify the conditions of coherence of the resulting solid. In particular S must not intersect the solid S0. Besides, after all shells have been added using the Add function, one of these shells should constitute the outside skin of the solid. It may be closed (a finite solid) or open (an infinite solid). Other shells form hollows (cavities) in the previous ones. Each must bound a closed volume. :param So: :type So: TopoDS_Solid & :param S: :type S: TopoDS_Shell & - :rtype: None -") BRepBuilderAPI_MakeSolid; + :rtype: None") BRepBuilderAPI_MakeSolid; BRepBuilderAPI_MakeSolid (const TopoDS_Solid & So,const TopoDS_Shell & S); - %feature("compactdefaultargs") Add; - %feature("autodoc", " * Adds the shell to the current solid. Warning No check is done to verify the conditions of coherence of the resulting solid. In particular, S must not intersect other shells of the solid under construction. Besides, after all shells have been added, one of these shells should constitute the outside skin of the solid. It may be closed (a finite solid) or open (an infinite solid). Other shells form hollows (cavities) in these previous ones. Each must bound a closed volume. - :param S: - :type S: TopoDS_Shell & - :rtype: None -") Add; - void Add (const TopoDS_Shell & S); - %feature("compactdefaultargs") IsDone; - %feature("autodoc", " * Returns true if the solid is built. For this class, a solid under construction is always valid. If no shell has been added, it could be a whole-space solid. However, no check was done to verify the conditions of coherence of the resulting solid. + /****************** IsDeleted ******************/ + %feature("compactdefaultargs") IsDeleted; + %feature("autodoc", ":param S: + :type S: TopoDS_Shape & + :rtype: bool") IsDeleted; + virtual Standard_Boolean IsDeleted (const TopoDS_Shape & S); - :rtype: bool -") IsDone; + /****************** IsDone ******************/ + %feature("compactdefaultargs") IsDone; + %feature("autodoc", "* Returns true if the solid is built. For this class, a solid under construction is always valid. If no shell has been added, it could be a whole-space solid. However, no check was done to verify the conditions of coherence of the resulting solid. + :rtype: bool") IsDone; virtual Standard_Boolean IsDone (); - %feature("compactdefaultargs") Solid; - %feature("autodoc", " * Returns the new Solid. - :rtype: TopoDS_Solid -") Solid; + /****************** Solid ******************/ + %feature("compactdefaultargs") Solid; + %feature("autodoc", "* Returns the new Solid. + :rtype: TopoDS_Solid") Solid; const TopoDS_Solid Solid (); + + /****************** operator TopoDS_Solid ******************/ %feature("compactdefaultargs") operator TopoDS_Solid; - %feature("autodoc", " :rtype: -") operator TopoDS_Solid; + %feature("autodoc", ":rtype:") operator TopoDS_Solid; operator TopoDS_Solid (); - %feature("compactdefaultargs") IsDeleted; - %feature("autodoc", " :param S: - :type S: TopoDS_Shape & - :rtype: bool -") IsDeleted; - virtual Standard_Boolean IsDeleted (const TopoDS_Shape & S); + }; @@ -2494,27 +2628,32 @@ class BRepBuilderAPI_MakeSolid : public BRepBuilderAPI_MakeShape { __repr__ = _dumps_object } }; + +/********************************** +* class BRepBuilderAPI_MakeVertex * +**********************************/ %nodefaultctor BRepBuilderAPI_MakeVertex; class BRepBuilderAPI_MakeVertex : public BRepBuilderAPI_MakeShape { public: + /****************** BRepBuilderAPI_MakeVertex ******************/ %feature("compactdefaultargs") BRepBuilderAPI_MakeVertex; - %feature("autodoc", " * Constructs a vertex from point P. Example create a vertex from a 3D point. gp_Pnt P(0,0,10); TopoDS_Vertex V = BRepBuilderAPI_MakeVertex(P); - + %feature("autodoc", "* Constructs a vertex from point P. Example create a vertex from a 3D point. gp_Pnt P(0,0,10); TopoDS_Vertex V = BRepBuilderAPI_MakeVertex(P); :param P: :type P: gp_Pnt - :rtype: None -") BRepBuilderAPI_MakeVertex; + :rtype: None") BRepBuilderAPI_MakeVertex; BRepBuilderAPI_MakeVertex (const gp_Pnt & P); - %feature("compactdefaultargs") Vertex; - %feature("autodoc", " * Returns the constructed vertex. - :rtype: TopoDS_Vertex -") Vertex; + /****************** Vertex ******************/ + %feature("compactdefaultargs") Vertex; + %feature("autodoc", "* Returns the constructed vertex. + :rtype: TopoDS_Vertex") Vertex; const TopoDS_Vertex Vertex (); + + /****************** operator TopoDS_Vertex ******************/ %feature("compactdefaultargs") operator TopoDS_Vertex; - %feature("autodoc", " :rtype: -") operator TopoDS_Vertex; + %feature("autodoc", ":rtype:") operator TopoDS_Vertex; operator TopoDS_Vertex (); + }; @@ -2523,48 +2662,76 @@ class BRepBuilderAPI_MakeVertex : public BRepBuilderAPI_MakeShape { __repr__ = _dumps_object } }; + +/******************************** +* class BRepBuilderAPI_MakeWire * +********************************/ %nodefaultctor BRepBuilderAPI_MakeWire; class BRepBuilderAPI_MakeWire : public BRepBuilderAPI_MakeShape { public: - %feature("compactdefaultargs") BRepBuilderAPI_MakeWire; - %feature("autodoc", " * Constructs an empty wire framework, to which edges are added using the Add function. As soon as the wire contains one edge, it can return with the use of the function Wire. Warning The function Error will return BRepBuilderAPI_EmptyWire if it is called before at least one edge is added to the wire under construction. + /****************** Add ******************/ + %feature("compactdefaultargs") Add; + %feature("autodoc", "* Adds the edge E to the wire under construction. E must be connectable to the wire under construction, and, unless it is the first edge of the wire, must satisfy the following condition: one of its vertices must be geometrically coincident with one of the vertices of the wire (provided that the highest tolerance factor is assigned to the two vertices). It could also be the same vertex. Warning If E is not connectable to the wire under construction it is not added. The function Error will return BRepBuilderAPI_DisconnectedWire, the function IsDone will return false and the function Wire will raise an error, until a new connectable edge is added. + :param E: + :type E: TopoDS_Edge & + :rtype: None") Add; + void Add (const TopoDS_Edge & E); - :rtype: None -") BRepBuilderAPI_MakeWire; - BRepBuilderAPI_MakeWire (); + /****************** Add ******************/ + %feature("compactdefaultargs") Add; + %feature("autodoc", "* Add the edges of to the current wire. + :param W: + :type W: TopoDS_Wire & + :rtype: None") Add; + void Add (const TopoDS_Wire & W); + + /****************** Add ******************/ + %feature("compactdefaultargs") Add; + %feature("autodoc", "* Adds the edges of to the current wire. The edges are not to be consecutive. But they are to be all connected geometrically or topologically. If some of them are not connected the Status give DisconnectedWire but the 'Maker' is Done() and you can get the partial result. (ie connected to the first edgeof the list ) + :param L: + :type L: TopTools_ListOfShape & + :rtype: None") Add; + void Add (const TopTools_ListOfShape & L); + + /****************** BRepBuilderAPI_MakeWire ******************/ %feature("compactdefaultargs") BRepBuilderAPI_MakeWire; - %feature("autodoc", " * Make a Wire from an edge. + %feature("autodoc", "* Constructs an empty wire framework, to which edges are added using the Add function. As soon as the wire contains one edge, it can return with the use of the function Wire. Warning The function Error will return BRepBuilderAPI_EmptyWire if it is called before at least one edge is added to the wire under construction. + :rtype: None") BRepBuilderAPI_MakeWire; + BRepBuilderAPI_MakeWire (); + /****************** BRepBuilderAPI_MakeWire ******************/ + %feature("compactdefaultargs") BRepBuilderAPI_MakeWire; + %feature("autodoc", "* Make a Wire from an edge. :param E: :type E: TopoDS_Edge & - :rtype: None -") BRepBuilderAPI_MakeWire; + :rtype: None") BRepBuilderAPI_MakeWire; BRepBuilderAPI_MakeWire (const TopoDS_Edge & E); - %feature("compactdefaultargs") BRepBuilderAPI_MakeWire; - %feature("autodoc", " * Make a Wire from two edges. + /****************** BRepBuilderAPI_MakeWire ******************/ + %feature("compactdefaultargs") BRepBuilderAPI_MakeWire; + %feature("autodoc", "* Make a Wire from two edges. :param E1: :type E1: TopoDS_Edge & :param E2: :type E2: TopoDS_Edge & - :rtype: None -") BRepBuilderAPI_MakeWire; + :rtype: None") BRepBuilderAPI_MakeWire; BRepBuilderAPI_MakeWire (const TopoDS_Edge & E1,const TopoDS_Edge & E2); - %feature("compactdefaultargs") BRepBuilderAPI_MakeWire; - %feature("autodoc", " * Make a Wire from three edges. + /****************** BRepBuilderAPI_MakeWire ******************/ + %feature("compactdefaultargs") BRepBuilderAPI_MakeWire; + %feature("autodoc", "* Make a Wire from three edges. :param E1: :type E1: TopoDS_Edge & :param E2: :type E2: TopoDS_Edge & :param E3: :type E3: TopoDS_Edge & - :rtype: None -") BRepBuilderAPI_MakeWire; + :rtype: None") BRepBuilderAPI_MakeWire; BRepBuilderAPI_MakeWire (const TopoDS_Edge & E1,const TopoDS_Edge & E2,const TopoDS_Edge & E3); - %feature("compactdefaultargs") BRepBuilderAPI_MakeWire; - %feature("autodoc", " * Make a Wire from four edges. Constructs a wire - from the TopoDS_Wire W composed of the edge E, or - from edge E, or - from two edges E1 and E2, or - from three edges E1, E2 and E3, or - from four edges E1, E2, E3 and E4. Further edges can be added using the function Add. Given edges are added in a sequence. Each of them must be connectable to the wire under construction, and so must satisfy the following condition (unless it is the first edge of the wire): one of its vertices must be geometrically coincident with one of the vertices of the wire (provided that the highest tolerance factor is assigned to the two vertices). It could also be the same vertex. Warning If an edge is not connectable to the wire under construction it is not added. The function Error will return BRepBuilderAPI_DisconnectedWire, the function IsDone will return false and the function Wire will raise an error, until a new connectable edge is added. + /****************** BRepBuilderAPI_MakeWire ******************/ + %feature("compactdefaultargs") BRepBuilderAPI_MakeWire; + %feature("autodoc", "* Make a Wire from four edges. Constructs a wire - from the TopoDS_Wire W composed of the edge E, or - from edge E, or - from two edges E1 and E2, or - from three edges E1, E2 and E3, or - from four edges E1, E2, E3 and E4. Further edges can be added using the function Add. Given edges are added in a sequence. Each of them must be connectable to the wire under construction, and so must satisfy the following condition (unless it is the first edge of the wire): one of its vertices must be geometrically coincident with one of the vertices of the wire (provided that the highest tolerance factor is assigned to the two vertices). It could also be the same vertex. Warning If an edge is not connectable to the wire under construction it is not added. The function Error will return BRepBuilderAPI_DisconnectedWire, the function IsDone will return false and the function Wire will raise an error, until a new connectable edge is added. :param E1: :type E1: TopoDS_Edge & :param E2: @@ -2573,85 +2740,62 @@ class BRepBuilderAPI_MakeWire : public BRepBuilderAPI_MakeShape { :type E3: TopoDS_Edge & :param E4: :type E4: TopoDS_Edge & - :rtype: None -") BRepBuilderAPI_MakeWire; + :rtype: None") BRepBuilderAPI_MakeWire; BRepBuilderAPI_MakeWire (const TopoDS_Edge & E1,const TopoDS_Edge & E2,const TopoDS_Edge & E3,const TopoDS_Edge & E4); - %feature("compactdefaultargs") BRepBuilderAPI_MakeWire; - %feature("autodoc", " * Make a Wire from a Wire. Usefull for adding later. + /****************** BRepBuilderAPI_MakeWire ******************/ + %feature("compactdefaultargs") BRepBuilderAPI_MakeWire; + %feature("autodoc", "* Make a Wire from a Wire. Usefull for adding later. :param W: :type W: TopoDS_Wire & - :rtype: None -") BRepBuilderAPI_MakeWire; + :rtype: None") BRepBuilderAPI_MakeWire; BRepBuilderAPI_MakeWire (const TopoDS_Wire & W); - %feature("compactdefaultargs") BRepBuilderAPI_MakeWire; - %feature("autodoc", " * Add an edge to a wire. + /****************** BRepBuilderAPI_MakeWire ******************/ + %feature("compactdefaultargs") BRepBuilderAPI_MakeWire; + %feature("autodoc", "* Add an edge to a wire. :param W: :type W: TopoDS_Wire & :param E: :type E: TopoDS_Edge & - :rtype: None -") BRepBuilderAPI_MakeWire; + :rtype: None") BRepBuilderAPI_MakeWire; BRepBuilderAPI_MakeWire (const TopoDS_Wire & W,const TopoDS_Edge & E); - %feature("compactdefaultargs") Add; - %feature("autodoc", " * Adds the edge E to the wire under construction. E must be connectable to the wire under construction, and, unless it is the first edge of the wire, must satisfy the following condition: one of its vertices must be geometrically coincident with one of the vertices of the wire (provided that the highest tolerance factor is assigned to the two vertices). It could also be the same vertex. Warning If E is not connectable to the wire under construction it is not added. The function Error will return BRepBuilderAPI_DisconnectedWire, the function IsDone will return false and the function Wire will raise an error, until a new connectable edge is added. - :param E: - :type E: TopoDS_Edge & - :rtype: None -") Add; - void Add (const TopoDS_Edge & E); - %feature("compactdefaultargs") Add; - %feature("autodoc", " * Add the edges of to the current wire. + /****************** Edge ******************/ + %feature("compactdefaultargs") Edge; + %feature("autodoc", "* Returns the last edge added to the wire under construction. Warning - This edge can be different from the original one (the argument of the function Add, for instance,) - A null edge is returned if there are no edges in the wire under construction, or if the last edge which you tried to add was not connectable.. + :rtype: TopoDS_Edge") Edge; + const TopoDS_Edge Edge (); - :param W: - :type W: TopoDS_Wire & - :rtype: None -") Add; - void Add (const TopoDS_Wire & W); - %feature("compactdefaultargs") Add; - %feature("autodoc", " * Adds the edges of to the current wire. The edges are not to be consecutive. But they are to be all connected geometrically or topologically. If some of them are not connected the Status give DisconnectedWire but the 'Maker' is Done() and you can get the partial result. (ie connected to the first edgeof the list ) + /****************** Error ******************/ + %feature("compactdefaultargs") Error; + %feature("autodoc", "* Returns the construction status - BRepBuilderAPI_WireDone if the wire is built, or - another value of the BRepBuilderAPI_WireError enumeration indicating why the construction failed. + :rtype: BRepBuilderAPI_WireError") Error; + BRepBuilderAPI_WireError Error (); - :param L: - :type L: TopTools_ListOfShape & - :rtype: None -") Add; - void Add (const TopTools_ListOfShape & L); + /****************** IsDone ******************/ %feature("compactdefaultargs") IsDone; - %feature("autodoc", " * Returns true if this algorithm contains a valid wire. IsDone returns false if: - there are no edges in the wire, or - the last edge which you tried to add was not connectable. - - :rtype: bool -") IsDone; + %feature("autodoc", "* Returns true if this algorithm contains a valid wire. IsDone returns false if: - there are no edges in the wire, or - the last edge which you tried to add was not connectable. + :rtype: bool") IsDone; virtual Standard_Boolean IsDone (); - %feature("compactdefaultargs") Error; - %feature("autodoc", " * Returns the construction status - BRepBuilderAPI_WireDone if the wire is built, or - another value of the BRepBuilderAPI_WireError enumeration indicating why the construction failed. - :rtype: BRepBuilderAPI_WireError -") Error; - BRepBuilderAPI_WireError Error (); - %feature("compactdefaultargs") Wire; - %feature("autodoc", " * Returns the constructed wire; or the part of the wire under construction already built. Exceptions StdFail_NotDone if a wire is not built. + /****************** Vertex ******************/ + %feature("compactdefaultargs") Vertex; + %feature("autodoc", "* Returns the last vertex of the last edge added to the wire under construction. Warning A null vertex is returned if there are no edges in the wire under construction, or if the last edge which you tried to add was not connectableR + :rtype: TopoDS_Vertex") Vertex; + const TopoDS_Vertex Vertex (); - :rtype: TopoDS_Wire -") Wire; + /****************** Wire ******************/ + %feature("compactdefaultargs") Wire; + %feature("autodoc", "* Returns the constructed wire; or the part of the wire under construction already built. Exceptions StdFail_NotDone if a wire is not built. + :rtype: TopoDS_Wire") Wire; const TopoDS_Wire Wire (); + + /****************** operator TopoDS_Wire ******************/ %feature("compactdefaultargs") operator TopoDS_Wire; - %feature("autodoc", " :rtype: -") operator TopoDS_Wire; + %feature("autodoc", ":rtype:") operator TopoDS_Wire; operator TopoDS_Wire (); - %feature("compactdefaultargs") Edge; - %feature("autodoc", " * Returns the last edge added to the wire under construction. Warning - This edge can be different from the original one (the argument of the function Add, for instance,) - A null edge is returned if there are no edges in the wire under construction, or if the last edge which you tried to add was not connectable.. - - :rtype: TopoDS_Edge -") Edge; - const TopoDS_Edge Edge (); - %feature("compactdefaultargs") Vertex; - %feature("autodoc", " * Returns the last vertex of the last edge added to the wire under construction. Warning A null vertex is returned if there are no edges in the wire under construction, or if the last edge which you tried to add was not connectableR - :rtype: TopoDS_Vertex -") Vertex; - const TopoDS_Vertex Vertex (); }; @@ -2660,25 +2804,29 @@ class BRepBuilderAPI_MakeWire : public BRepBuilderAPI_MakeShape { __repr__ = _dumps_object } }; + +/*********************************** +* class BRepBuilderAPI_ModifyShape * +***********************************/ %nodefaultctor BRepBuilderAPI_ModifyShape; class BRepBuilderAPI_ModifyShape : public BRepBuilderAPI_MakeShape { public: + /****************** Modified ******************/ %feature("compactdefaultargs") Modified; - %feature("autodoc", " * Returns the list of shapes modified from the shape . - + %feature("autodoc", "* Returns the list of shapes modified from the shape . :param S: :type S: TopoDS_Shape & - :rtype: TopTools_ListOfShape -") Modified; + :rtype: TopTools_ListOfShape") Modified; virtual const TopTools_ListOfShape & Modified (const TopoDS_Shape & S); - %feature("compactdefaultargs") ModifiedShape; - %feature("autodoc", " * Returns the modified shape corresponding to . S can correspond to the entire initial shape or to its subshape. Exceptions Standard_NoSuchObject if S is not the initial shape or a subshape of the initial shape to which the transformation has been applied. Raises NoSuchObject from Standard if S is not the initial shape or a sub-shape of the initial shape. + /****************** ModifiedShape ******************/ + %feature("compactdefaultargs") ModifiedShape; + %feature("autodoc", "* Returns the modified shape corresponding to . S can correspond to the entire initial shape or to its subshape. Exceptions Standard_NoSuchObject if S is not the initial shape or a subshape of the initial shape to which the transformation has been applied. Raises NoSuchObject from Standard if S is not the initial shape or a sub-shape of the initial shape. :param S: :type S: TopoDS_Shape & - :rtype: TopoDS_Shape -") ModifiedShape; + :rtype: TopoDS_Shape") ModifiedShape; virtual TopoDS_Shape ModifiedShape (const TopoDS_Shape & S); + }; @@ -2687,39 +2835,43 @@ class BRepBuilderAPI_ModifyShape : public BRepBuilderAPI_MakeShape { __repr__ = _dumps_object } }; + +/**************************** +* class BRepBuilderAPI_Copy * +****************************/ %nodefaultctor BRepBuilderAPI_Copy; class BRepBuilderAPI_Copy : public BRepBuilderAPI_ModifyShape { public: + /****************** BRepBuilderAPI_Copy ******************/ %feature("compactdefaultargs") BRepBuilderAPI_Copy; - %feature("autodoc", " * Constructs an empty copy framework. Use the function Perform to copy shapes. - - :rtype: None -") BRepBuilderAPI_Copy; + %feature("autodoc", "* Constructs an empty copy framework. Use the function Perform to copy shapes. + :rtype: None") BRepBuilderAPI_Copy; BRepBuilderAPI_Copy (); - %feature("compactdefaultargs") BRepBuilderAPI_Copy; - %feature("autodoc", " * Constructs a copy framework and copies the shape S. Use the function Shape to access the result. If copyMesh is True, triangulation contained in original shape will be copied along with geometry (by default, triangulation gets lost). If copyGeom is False, only topological objects will be copied, while geometry and triangulation will be shared with original shape. Note: the constructed framework can be reused to copy other shapes: just specify them with the function Perform. + /****************** BRepBuilderAPI_Copy ******************/ + %feature("compactdefaultargs") BRepBuilderAPI_Copy; + %feature("autodoc", "* Constructs a copy framework and copies the shape S. Use the function Shape to access the result. If copyMesh is True, triangulation contained in original shape will be copied along with geometry (by default, triangulation gets lost). If copyGeom is False, only topological objects will be copied, while geometry and triangulation will be shared with original shape. Note: the constructed framework can be reused to copy other shapes: just specify them with the function Perform. :param S: :type S: TopoDS_Shape & :param copyGeom: default value is Standard_True :type copyGeom: bool :param copyMesh: default value is Standard_False :type copyMesh: bool - :rtype: None -") BRepBuilderAPI_Copy; + :rtype: None") BRepBuilderAPI_Copy; BRepBuilderAPI_Copy (const TopoDS_Shape & S,const Standard_Boolean copyGeom = Standard_True,const Standard_Boolean copyMesh = Standard_False); - %feature("compactdefaultargs") Perform; - %feature("autodoc", " * Copies the shape S. Use the function Shape to access the result. If copyMesh is True, triangulation contained in original shape will be copied along with geometry (by default, triangulation gets lost). If copyGeom is False, only topological objects will be copied, while geometry and triangulation will be shared with original shape. + /****************** Perform ******************/ + %feature("compactdefaultargs") Perform; + %feature("autodoc", "* Copies the shape S. Use the function Shape to access the result. If copyMesh is True, triangulation contained in original shape will be copied along with geometry (by default, triangulation gets lost). If copyGeom is False, only topological objects will be copied, while geometry and triangulation will be shared with original shape. :param S: :type S: TopoDS_Shape & :param copyGeom: default value is Standard_True :type copyGeom: bool :param copyMesh: default value is Standard_False :type copyMesh: bool - :rtype: None -") Perform; + :rtype: None") Perform; void Perform (const TopoDS_Shape & S,const Standard_Boolean copyGeom = Standard_True,const Standard_Boolean copyMesh = Standard_False); + }; @@ -2728,55 +2880,59 @@ class BRepBuilderAPI_Copy : public BRepBuilderAPI_ModifyShape { __repr__ = _dumps_object } }; + +/********************************** +* class BRepBuilderAPI_GTransform * +**********************************/ %nodefaultctor BRepBuilderAPI_GTransform; class BRepBuilderAPI_GTransform : public BRepBuilderAPI_ModifyShape { public: + /****************** BRepBuilderAPI_GTransform ******************/ %feature("compactdefaultargs") BRepBuilderAPI_GTransform; - %feature("autodoc", " * Constructs a framework for applying the geometric transformation T to a shape. Use the function Perform to define the shape to transform. - + %feature("autodoc", "* Constructs a framework for applying the geometric transformation T to a shape. Use the function Perform to define the shape to transform. :param T: :type T: gp_GTrsf - :rtype: None -") BRepBuilderAPI_GTransform; + :rtype: None") BRepBuilderAPI_GTransform; BRepBuilderAPI_GTransform (const gp_GTrsf & T); - %feature("compactdefaultargs") BRepBuilderAPI_GTransform; - %feature("autodoc", " * Constructs a framework for applying the geometric transformation T to a shape, and applies it to the shape S. - If the transformation T is direct and isometric (i.e. if the determinant of the vectorial part of T is equal to 1.), and if Copy equals false (default value), the resulting shape is the same as the original but with a new location assigned to it. - In all other cases, the transformation is applied to a duplicate of S. Use the function Shape to access the result. Note: the constructed framework can be reused to apply the same geometric transformation to other shapes: just specify them with the function Perform. + /****************** BRepBuilderAPI_GTransform ******************/ + %feature("compactdefaultargs") BRepBuilderAPI_GTransform; + %feature("autodoc", "* Constructs a framework for applying the geometric transformation T to a shape, and applies it to the shape S. - If the transformation T is direct and isometric (i.e. if the determinant of the vectorial part of T is equal to 1.), and if Copy equals false (default value), the resulting shape is the same as the original but with a new location assigned to it. - In all other cases, the transformation is applied to a duplicate of S. Use the function Shape to access the result. Note: the constructed framework can be reused to apply the same geometric transformation to other shapes: just specify them with the function Perform. :param S: :type S: TopoDS_Shape & :param T: :type T: gp_GTrsf :param Copy: default value is Standard_False :type Copy: bool - :rtype: None -") BRepBuilderAPI_GTransform; + :rtype: None") BRepBuilderAPI_GTransform; BRepBuilderAPI_GTransform (const TopoDS_Shape & S,const gp_GTrsf & T,const Standard_Boolean Copy = Standard_False); - %feature("compactdefaultargs") Perform; - %feature("autodoc", " * Applies the geometric transformation defined at the time of construction of this framework to the shape S. - If the transformation T is direct and isometric (i.e. if the determinant of the vectorial part of T is equal to 1.), and if Copy equals false (default value), the resulting shape is the same as the original but with a new location assigned to it. - In all other cases, the transformation is applied to a duplicate of S. Use the function Shape to access the result. Note: this framework can be reused to apply the same geometric transformation to other shapes: just specify them by calling the function Perform again. - :param S: - :type S: TopoDS_Shape & - :param Copy: default value is Standard_False - :type Copy: bool - :rtype: None -") Perform; - void Perform (const TopoDS_Shape & S,const Standard_Boolean Copy = Standard_False); + /****************** Modified ******************/ %feature("compactdefaultargs") Modified; - %feature("autodoc", " * Returns the list of shapes modified from the shape . - + %feature("autodoc", "* Returns the list of shapes modified from the shape . :param S: :type S: TopoDS_Shape & - :rtype: TopTools_ListOfShape -") Modified; + :rtype: TopTools_ListOfShape") Modified; virtual const TopTools_ListOfShape & Modified (const TopoDS_Shape & S); - %feature("compactdefaultargs") ModifiedShape; - %feature("autodoc", " * Returns the modified shape corresponding to . + /****************** ModifiedShape ******************/ + %feature("compactdefaultargs") ModifiedShape; + %feature("autodoc", "* Returns the modified shape corresponding to . :param S: :type S: TopoDS_Shape & - :rtype: TopoDS_Shape -") ModifiedShape; + :rtype: TopoDS_Shape") ModifiedShape; virtual TopoDS_Shape ModifiedShape (const TopoDS_Shape & S); + + /****************** Perform ******************/ + %feature("compactdefaultargs") Perform; + %feature("autodoc", "* Applies the geometric transformation defined at the time of construction of this framework to the shape S. - If the transformation T is direct and isometric (i.e. if the determinant of the vectorial part of T is equal to 1.), and if Copy equals false (default value), the resulting shape is the same as the original but with a new location assigned to it. - In all other cases, the transformation is applied to a duplicate of S. Use the function Shape to access the result. Note: this framework can be reused to apply the same geometric transformation to other shapes: just specify them by calling the function Perform again. + :param S: + :type S: TopoDS_Shape & + :param Copy: default value is Standard_False + :type Copy: bool + :rtype: None") Perform; + void Perform (const TopoDS_Shape & S,const Standard_Boolean Copy = Standard_False); + }; @@ -2785,35 +2941,55 @@ class BRepBuilderAPI_GTransform : public BRepBuilderAPI_ModifyShape { __repr__ = _dumps_object } }; + +/************************************ +* class BRepBuilderAPI_NurbsConvert * +************************************/ %nodefaultctor BRepBuilderAPI_NurbsConvert; class BRepBuilderAPI_NurbsConvert : public BRepBuilderAPI_ModifyShape { public: + /****************** BRepBuilderAPI_NurbsConvert ******************/ %feature("compactdefaultargs") BRepBuilderAPI_NurbsConvert; - %feature("autodoc", " * Constructs a framework for converting the geometry of a shape into NURBS geometry. Use the function Perform to define the shape to convert. - - :rtype: None -") BRepBuilderAPI_NurbsConvert; + %feature("autodoc", "* Constructs a framework for converting the geometry of a shape into NURBS geometry. Use the function Perform to define the shape to convert. + :rtype: None") BRepBuilderAPI_NurbsConvert; BRepBuilderAPI_NurbsConvert (); - %feature("compactdefaultargs") BRepBuilderAPI_NurbsConvert; - %feature("autodoc", " * Builds a new shape by converting the geometry of the shape S into NURBS geometry. Specifically, all curves supporting edges of S are converted into BSpline curves, and all surfaces supporting its faces are converted into BSpline surfaces. Use the function Shape to access the new shape. Note: the constructed framework can be reused to convert other shapes. You specify these with the function Perform. + /****************** BRepBuilderAPI_NurbsConvert ******************/ + %feature("compactdefaultargs") BRepBuilderAPI_NurbsConvert; + %feature("autodoc", "* Builds a new shape by converting the geometry of the shape S into NURBS geometry. Specifically, all curves supporting edges of S are converted into BSpline curves, and all surfaces supporting its faces are converted into BSpline surfaces. Use the function Shape to access the new shape. Note: the constructed framework can be reused to convert other shapes. You specify these with the function Perform. :param S: :type S: TopoDS_Shape & :param Copy: default value is Standard_False :type Copy: bool - :rtype: None -") BRepBuilderAPI_NurbsConvert; + :rtype: None") BRepBuilderAPI_NurbsConvert; BRepBuilderAPI_NurbsConvert (const TopoDS_Shape & S,const Standard_Boolean Copy = Standard_False); - %feature("compactdefaultargs") Perform; - %feature("autodoc", " * Builds a new shape by converting the geometry of the shape S into NURBS geometry. Specifically, all curves supporting edges of S are converted into BSpline curves, and all surfaces supporting its faces are converted into BSpline surfaces. Use the function Shape to access the new shape. Note: this framework can be reused to convert other shapes: you specify them by calling the function Perform again. + /****************** Modified ******************/ + %feature("compactdefaultargs") Modified; + %feature("autodoc", "* Returns the list of shapes modified from the shape . + :param S: + :type S: TopoDS_Shape & + :rtype: TopTools_ListOfShape") Modified; + virtual const TopTools_ListOfShape & Modified (const TopoDS_Shape & S); + + /****************** ModifiedShape ******************/ + %feature("compactdefaultargs") ModifiedShape; + %feature("autodoc", "* Returns the modified shape corresponding to . S can correspond to the entire initial shape or to its subshape. Exceptions Standard_NoSuchObject if S is not the initial shape or a subshape of the initial shape to which the transformation has been applied. + :param S: + :type S: TopoDS_Shape & + :rtype: TopoDS_Shape") ModifiedShape; + virtual TopoDS_Shape ModifiedShape (const TopoDS_Shape & S); + + /****************** Perform ******************/ + %feature("compactdefaultargs") Perform; + %feature("autodoc", "* Builds a new shape by converting the geometry of the shape S into NURBS geometry. Specifically, all curves supporting edges of S are converted into BSpline curves, and all surfaces supporting its faces are converted into BSpline surfaces. Use the function Shape to access the new shape. Note: this framework can be reused to convert other shapes: you specify them by calling the function Perform again. :param S: :type S: TopoDS_Shape & :param Copy: default value is Standard_False :type Copy: bool - :rtype: None -") Perform; + :rtype: None") Perform; void Perform (const TopoDS_Shape & S,const Standard_Boolean Copy = Standard_False); + }; @@ -2822,55 +2998,59 @@ class BRepBuilderAPI_NurbsConvert : public BRepBuilderAPI_ModifyShape { __repr__ = _dumps_object } }; + +/********************************* +* class BRepBuilderAPI_Transform * +*********************************/ %nodefaultctor BRepBuilderAPI_Transform; class BRepBuilderAPI_Transform : public BRepBuilderAPI_ModifyShape { public: + /****************** BRepBuilderAPI_Transform ******************/ %feature("compactdefaultargs") BRepBuilderAPI_Transform; - %feature("autodoc", " * Constructs a framework for applying the geometric transformation T to a shape. Use the function Perform to define the shape to transform. - + %feature("autodoc", "* Constructs a framework for applying the geometric transformation T to a shape. Use the function Perform to define the shape to transform. :param T: :type T: gp_Trsf - :rtype: None -") BRepBuilderAPI_Transform; + :rtype: None") BRepBuilderAPI_Transform; BRepBuilderAPI_Transform (const gp_Trsf & T); - %feature("compactdefaultargs") BRepBuilderAPI_Transform; - %feature("autodoc", " * Creates a transformation from the gp_Trsf , and applies it to the shape . If the transformation is direct and isometric (determinant = 1) and = Standard_False, the resulting shape is on which a new location has been set. Otherwise, the transformation is applied on a duplication of . + /****************** BRepBuilderAPI_Transform ******************/ + %feature("compactdefaultargs") BRepBuilderAPI_Transform; + %feature("autodoc", "* Creates a transformation from the gp_Trsf , and applies it to the shape . If the transformation is direct and isometric (determinant = 1) and = Standard_False, the resulting shape is on which a new location has been set. Otherwise, the transformation is applied on a duplication of . :param S: :type S: TopoDS_Shape & :param T: :type T: gp_Trsf :param Copy: default value is Standard_False :type Copy: bool - :rtype: None -") BRepBuilderAPI_Transform; + :rtype: None") BRepBuilderAPI_Transform; BRepBuilderAPI_Transform (const TopoDS_Shape & S,const gp_Trsf & T,const Standard_Boolean Copy = Standard_False); - %feature("compactdefaultargs") Perform; - %feature("autodoc", " * pplies the geometric transformation defined at the time of construction of this framework to the shape S. - If the transformation T is direct and isometric, in other words, if the determinant of the vectorial part of T is equal to 1., and if Copy equals false (the default value), the resulting shape is the same as the original but with a new location assigned to it. - In all other cases, the transformation is applied to a duplicate of S. Use the function Shape to access the result. Note: this framework can be reused to apply the same geometric transformation to other shapes. You only need to specify them by calling the function Perform again. + /****************** Modified ******************/ + %feature("compactdefaultargs") Modified; + %feature("autodoc", "* Returns the list of shapes modified from the shape . :param S: :type S: TopoDS_Shape & - :param Copy: default value is Standard_False - :type Copy: bool - :rtype: None -") Perform; - void Perform (const TopoDS_Shape & S,const Standard_Boolean Copy = Standard_False); - %feature("compactdefaultargs") ModifiedShape; - %feature("autodoc", " * Returns the modified shape corresponding to . + :rtype: TopTools_ListOfShape") Modified; + virtual const TopTools_ListOfShape & Modified (const TopoDS_Shape & S); + /****************** ModifiedShape ******************/ + %feature("compactdefaultargs") ModifiedShape; + %feature("autodoc", "* Returns the modified shape corresponding to . :param S: :type S: TopoDS_Shape & - :rtype: TopoDS_Shape -") ModifiedShape; + :rtype: TopoDS_Shape") ModifiedShape; virtual TopoDS_Shape ModifiedShape (const TopoDS_Shape & S); - %feature("compactdefaultargs") Modified; - %feature("autodoc", " * Returns the list of shapes modified from the shape . + /****************** Perform ******************/ + %feature("compactdefaultargs") Perform; + %feature("autodoc", "* pplies the geometric transformation defined at the time of construction of this framework to the shape S. - If the transformation T is direct and isometric, in other words, if the determinant of the vectorial part of T is equal to 1., and if Copy equals false (the default value), the resulting shape is the same as the original but with a new location assigned to it. - In all other cases, the transformation is applied to a duplicate of S. Use the function Shape to access the result. Note: this framework can be reused to apply the same geometric transformation to other shapes. You only need to specify them by calling the function Perform again. :param S: :type S: TopoDS_Shape & - :rtype: TopTools_ListOfShape -") Modified; - virtual const TopTools_ListOfShape & Modified (const TopoDS_Shape & S); + :param Copy: default value is Standard_False + :type Copy: bool + :rtype: None") Perform; + void Perform (const TopoDS_Shape & S,const Standard_Boolean Copy = Standard_False); + }; @@ -2879,3 +3059,7 @@ class BRepBuilderAPI_Transform : public BRepBuilderAPI_ModifyShape { __repr__ = _dumps_object } }; + +/* harray1 class */ +/* harray2 class */ +/* harray2 class */ diff --git a/src/SWIG_files/wrapper/BRepBuilderAPI_headers.i b/src/SWIG_files/wrapper/BRepBuilderAPI_headers.i deleted file mode 100644 index 3b1292571..000000000 --- a/src/SWIG_files/wrapper/BRepBuilderAPI_headers.i +++ /dev/null @@ -1,862 +0,0 @@ -/* -Copyright 2008-2017 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 . - -*/ -%{ -#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 -#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 -#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 -#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 -#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 -#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 -#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 -#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 -#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 -%}; -%import Geom.i -%import Standard.i -%import TopoDS.i -%import TopTools.i -%import MMgt.i -%import Message.i -%import BRepTools.i -%import NCollection.i -%import gp.i -%import TColStd.i -%import Bnd.i -%import Geom2d.i diff --git a/src/SWIG_files/wrapper/BRepCheck.i b/src/SWIG_files/wrapper/BRepCheck.i index ff0fae53c..95a515c7e 100644 --- a/src/SWIG_files/wrapper/BRepCheck.i +++ b/src/SWIG_files/wrapper/BRepCheck.i @@ -1,6 +1,5 @@ /* -Copyright 2008-2017 Thomas Paviot (tpaviot@gmail.com) - +Copyright 2008-2019 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -15,16 +14,13 @@ 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 BREPCHECKDOCSTRING -"This package provides tools to check the validity -of the BRep. -" +"BRepCheck module, see official documentation at +https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brepcheck.html" %enddef %module (package="OCC.Core", docstring=BREPCHECKDOCSTRING) BRepCheck -#pragma SWIG nowarn=504,325,503 %{ #ifdef WNT @@ -39,11 +35,31 @@ of the BRep. %include ../common/OccHandle.i -%include BRepCheck_headers.i - -/* typedefs */ -/* end typedefs declaration */ - +%{ +#include + +//Dependencies +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +%}; +%import Standard.i +%import NCollection.i +%import Adaptor3d.i +%import TopoDS.i +%import TopTools.i /* public enums */ enum BRepCheck_Status { BRepCheck_NoError = 0, @@ -87,9 +103,7 @@ enum BRepCheck_Status { /* end public enums declaration */ -%wrap_handle(BRepCheck_DataMapNodeOfDataMapOfShapeListOfStatus) -%wrap_handle(BRepCheck_DataMapNodeOfDataMapOfShapeResult) -%wrap_handle(BRepCheck_ListNodeOfListOfStatus) +/* handles */ %wrap_handle(BRepCheck_Result) %wrap_handle(BRepCheck_Edge) %wrap_handle(BRepCheck_Face) @@ -97,28 +111,67 @@ enum BRepCheck_Status { %wrap_handle(BRepCheck_Solid) %wrap_handle(BRepCheck_Vertex) %wrap_handle(BRepCheck_Wire) +/* end handles declaration */ + +/* templates */ +%template(BRepCheck_ListOfStatus) NCollection_List ; +%template(BRepCheck_ListIteratorOfListOfStatus) NCollection_TListIterator; +%template(BRepCheck_DataMapOfShapeListOfStatus) NCollection_DataMap ; +%template(BRepCheck_DataMapOfShapeResult) NCollection_DataMap , TopTools_OrientedShapeMapHasher>; +/* end templates declaration */ + +/* typedefs */ +typedef NCollection_List BRepCheck_ListOfStatus; +typedef NCollection_List ::Iterator BRepCheck_ListIteratorOfListOfStatus; +typedef NCollection_DataMap BRepCheck_DataMapOfShapeListOfStatus; +typedef NCollection_DataMap ::Iterator BRepCheck_DataMapIteratorOfDataMapOfShapeListOfStatus; +typedef NCollection_DataMap , TopTools_OrientedShapeMapHasher> BRepCheck_DataMapOfShapeResult; +typedef NCollection_DataMap , TopTools_OrientedShapeMapHasher>::Iterator BRepCheck_DataMapIteratorOfDataMapOfShapeResult; +/* end typedefs declaration */ +/****************** +* class BRepCheck * +******************/ %rename(brepcheck) BRepCheck; class BRepCheck { public: + /****************** Add ******************/ %feature("compactdefaultargs") Add; - %feature("autodoc", " :param List: + %feature("autodoc", ":param List: :type List: BRepCheck_ListOfStatus & :param Stat: :type Stat: BRepCheck_Status - :rtype: void -") Add; + :rtype: void") Add; static void Add (BRepCheck_ListOfStatus & List,const BRepCheck_Status Stat); + + /****************** PrecCurve ******************/ + %feature("compactdefaultargs") PrecCurve; + %feature("autodoc", "* Returns the resolution on the 3d curve + :param aAC3D: + :type aAC3D: Adaptor3d_Curve & + :rtype: float") PrecCurve; + static Standard_Real PrecCurve (const Adaptor3d_Curve & aAC3D); + + /****************** PrecSurface ******************/ + %feature("compactdefaultargs") PrecSurface; + %feature("autodoc", "* Returns the resolution on the surface + :param aAHSurf: + :type aAHSurf: opencascade::handle & + :rtype: float") PrecSurface; + static Standard_Real PrecSurface (const opencascade::handle & aAHSurf); + + /****************** Print ******************/ %feature("compactdefaultargs") Print; - %feature("autodoc", " :param Stat: + %feature("autodoc", ":param Stat: :type Stat: BRepCheck_Status :param OS: :type OS: Standard_OStream & - :rtype: void -") Print; + :rtype: void") Print; static void Print (const BRepCheck_Status Stat,Standard_OStream & OS); + + /****************** SelfIntersection ******************/ %feature("compactdefaultargs") SelfIntersection; - %feature("autodoc", " :param W: + %feature("autodoc", ":param W: :type W: TopoDS_Wire & :param F: :type F: TopoDS_Face & @@ -126,9 +179,9 @@ class BRepCheck { :type E1: TopoDS_Edge & :param E2: :type E2: TopoDS_Edge & - :rtype: bool -") SelfIntersection; + :rtype: bool") SelfIntersection; static Standard_Boolean SelfIntersection (const TopoDS_Wire & W,const TopoDS_Face & F,TopoDS_Edge & E1,TopoDS_Edge & E2); + }; @@ -137,623 +190,148 @@ class BRepCheck { __repr__ = _dumps_object } }; + +/*************************** +* class BRepCheck_Analyzer * +***************************/ %nodefaultctor BRepCheck_Analyzer; class BRepCheck_Analyzer { public: + /****************** BRepCheck_Analyzer ******************/ %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 - + %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 :param S: :type S: TopoDS_Shape & :param GeomControls: default value is Standard_True :type GeomControls: bool - :rtype: None -") BRepCheck_Analyzer; + :rtype: None") BRepCheck_Analyzer; BRepCheck_Analyzer (const TopoDS_Shape & S,const Standard_Boolean GeomControls = Standard_True); - %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 + /****************** Init ******************/ + %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 :param S: :type S: TopoDS_Shape & :param GeomControls: default value is Standard_True :type GeomControls: bool - :rtype: None -") Init; + :rtype: None") Init; void Init (const TopoDS_Shape & S,const Standard_Boolean GeomControls = Standard_True); - %feature("compactdefaultargs") IsValid; - %feature("autodoc", " * is a subshape of the original shape. Returns if no default has been detected on and any of its subshape. + /****************** IsValid ******************/ + %feature("compactdefaultargs") IsValid; + %feature("autodoc", "* is a subshape of the original shape. Returns if no default has been detected on and any of its subshape. :param S: :type S: TopoDS_Shape & - :rtype: bool -") IsValid; + :rtype: bool") IsValid; Standard_Boolean IsValid (const TopoDS_Shape & S); - %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. - :rtype: bool -") IsValid; + /****************** IsValid ******************/ + %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. + :rtype: bool") IsValid; Standard_Boolean IsValid (); + + /****************** Result ******************/ %feature("compactdefaultargs") Result; - %feature("autodoc", " :param SubS: + %feature("autodoc", ":param SubS: :type SubS: TopoDS_Shape & - :rtype: Handle_BRepCheck_Result -") Result; - Handle_BRepCheck_Result Result (const TopoDS_Shape & SubS); -}; - - -%extend BRepCheck_Analyzer { - %pythoncode { - __repr__ = _dumps_object - } -}; -%nodefaultctor BRepCheck_DataMapIteratorOfDataMapOfShapeListOfStatus; -class BRepCheck_DataMapIteratorOfDataMapOfShapeListOfStatus : public TCollection_BasicMapIterator { - public: - %feature("compactdefaultargs") BRepCheck_DataMapIteratorOfDataMapOfShapeListOfStatus; - %feature("autodoc", " :rtype: None -") BRepCheck_DataMapIteratorOfDataMapOfShapeListOfStatus; - BRepCheck_DataMapIteratorOfDataMapOfShapeListOfStatus (); - %feature("compactdefaultargs") BRepCheck_DataMapIteratorOfDataMapOfShapeListOfStatus; - %feature("autodoc", " :param aMap: - :type aMap: BRepCheck_DataMapOfShapeListOfStatus & - :rtype: None -") BRepCheck_DataMapIteratorOfDataMapOfShapeListOfStatus; - BRepCheck_DataMapIteratorOfDataMapOfShapeListOfStatus (const BRepCheck_DataMapOfShapeListOfStatus & aMap); - %feature("compactdefaultargs") Initialize; - %feature("autodoc", " :param aMap: - :type aMap: BRepCheck_DataMapOfShapeListOfStatus & - :rtype: None -") Initialize; - void Initialize (const BRepCheck_DataMapOfShapeListOfStatus & aMap); - %feature("compactdefaultargs") Key; - %feature("autodoc", " :rtype: TopoDS_Shape -") Key; - const TopoDS_Shape Key (); - %feature("compactdefaultargs") Value; - %feature("autodoc", " :rtype: BRepCheck_ListOfStatus -") Value; - const BRepCheck_ListOfStatus & Value (); -}; + :rtype: opencascade::handle") Result; + const opencascade::handle & Result (const TopoDS_Shape & SubS); - -%extend BRepCheck_DataMapIteratorOfDataMapOfShapeListOfStatus { - %pythoncode { - __repr__ = _dumps_object - } -}; -%nodefaultctor BRepCheck_DataMapIteratorOfDataMapOfShapeResult; -class BRepCheck_DataMapIteratorOfDataMapOfShapeResult : public TCollection_BasicMapIterator { - public: - %feature("compactdefaultargs") BRepCheck_DataMapIteratorOfDataMapOfShapeResult; - %feature("autodoc", " :rtype: None -") BRepCheck_DataMapIteratorOfDataMapOfShapeResult; - BRepCheck_DataMapIteratorOfDataMapOfShapeResult (); - %feature("compactdefaultargs") BRepCheck_DataMapIteratorOfDataMapOfShapeResult; - %feature("autodoc", " :param aMap: - :type aMap: BRepCheck_DataMapOfShapeResult & - :rtype: None -") BRepCheck_DataMapIteratorOfDataMapOfShapeResult; - BRepCheck_DataMapIteratorOfDataMapOfShapeResult (const BRepCheck_DataMapOfShapeResult & aMap); - %feature("compactdefaultargs") Initialize; - %feature("autodoc", " :param aMap: - :type aMap: BRepCheck_DataMapOfShapeResult & - :rtype: None -") Initialize; - void Initialize (const BRepCheck_DataMapOfShapeResult & aMap); - %feature("compactdefaultargs") Key; - %feature("autodoc", " :rtype: TopoDS_Shape -") Key; - const TopoDS_Shape Key (); - %feature("compactdefaultargs") Value; - %feature("autodoc", " :rtype: Handle_BRepCheck_Result -") Value; - Handle_BRepCheck_Result Value (); }; -%extend BRepCheck_DataMapIteratorOfDataMapOfShapeResult { - %pythoncode { - __repr__ = _dumps_object - } -}; -%nodefaultctor BRepCheck_DataMapNodeOfDataMapOfShapeListOfStatus; -class BRepCheck_DataMapNodeOfDataMapOfShapeListOfStatus : public TCollection_MapNode { - public: - %feature("compactdefaultargs") BRepCheck_DataMapNodeOfDataMapOfShapeListOfStatus; - %feature("autodoc", " :param K: - :type K: TopoDS_Shape & - :param I: - :type I: BRepCheck_ListOfStatus & - :param n: - :type n: TCollection_MapNodePtr & - :rtype: None -") BRepCheck_DataMapNodeOfDataMapOfShapeListOfStatus; - BRepCheck_DataMapNodeOfDataMapOfShapeListOfStatus (const TopoDS_Shape & K,const BRepCheck_ListOfStatus & I,const TCollection_MapNodePtr & n); - %feature("compactdefaultargs") Key; - %feature("autodoc", " :rtype: TopoDS_Shape -") Key; - TopoDS_Shape Key (); - %feature("compactdefaultargs") Value; - %feature("autodoc", " :rtype: BRepCheck_ListOfStatus -") Value; - BRepCheck_ListOfStatus & Value (); -}; - - -%make_alias(BRepCheck_DataMapNodeOfDataMapOfShapeListOfStatus) - -%extend BRepCheck_DataMapNodeOfDataMapOfShapeListOfStatus { +%extend BRepCheck_Analyzer { %pythoncode { __repr__ = _dumps_object } }; -%nodefaultctor BRepCheck_DataMapNodeOfDataMapOfShapeResult; -class BRepCheck_DataMapNodeOfDataMapOfShapeResult : public TCollection_MapNode { - public: - %feature("compactdefaultargs") BRepCheck_DataMapNodeOfDataMapOfShapeResult; - %feature("autodoc", " :param K: - :type K: TopoDS_Shape & - :param I: - :type I: Handle_BRepCheck_Result & - :param n: - :type n: TCollection_MapNodePtr & - :rtype: None -") BRepCheck_DataMapNodeOfDataMapOfShapeResult; - BRepCheck_DataMapNodeOfDataMapOfShapeResult (const TopoDS_Shape & K,const Handle_BRepCheck_Result & I,const TCollection_MapNodePtr & n); - %feature("compactdefaultargs") Key; - %feature("autodoc", " :rtype: TopoDS_Shape -") Key; - TopoDS_Shape Key (); - %feature("compactdefaultargs") Value; - %feature("autodoc", " :rtype: Handle_BRepCheck_Result -") Value; - Handle_BRepCheck_Result Value (); -}; - - -%make_alias(BRepCheck_DataMapNodeOfDataMapOfShapeResult) -%extend BRepCheck_DataMapNodeOfDataMapOfShapeResult { - %pythoncode { - __repr__ = _dumps_object - } -}; -%nodefaultctor BRepCheck_DataMapOfShapeListOfStatus; -class BRepCheck_DataMapOfShapeListOfStatus : public TCollection_BasicMap { +/************************* +* class BRepCheck_Result * +*************************/ +%nodefaultctor BRepCheck_Result; +class BRepCheck_Result : public Standard_Transient { public: - %feature("compactdefaultargs") BRepCheck_DataMapOfShapeListOfStatus; - %feature("autodoc", " :param NbBuckets: default value is 1 - :type NbBuckets: int - :rtype: None -") BRepCheck_DataMapOfShapeListOfStatus; - BRepCheck_DataMapOfShapeListOfStatus (const Standard_Integer NbBuckets = 1); - %feature("compactdefaultargs") Assign; - %feature("autodoc", " :param Other: - :type Other: BRepCheck_DataMapOfShapeListOfStatus & - :rtype: BRepCheck_DataMapOfShapeListOfStatus -") Assign; - BRepCheck_DataMapOfShapeListOfStatus & Assign (const BRepCheck_DataMapOfShapeListOfStatus & Other); - %feature("compactdefaultargs") operator =; - %feature("autodoc", " :param Other: - :type Other: BRepCheck_DataMapOfShapeListOfStatus & - :rtype: BRepCheck_DataMapOfShapeListOfStatus -") operator =; - BRepCheck_DataMapOfShapeListOfStatus & operator = (const BRepCheck_DataMapOfShapeListOfStatus & Other); - %feature("compactdefaultargs") ReSize; - %feature("autodoc", " :param NbBuckets: - :type NbBuckets: int - :rtype: None -") ReSize; - void ReSize (const Standard_Integer NbBuckets); - %feature("compactdefaultargs") Clear; - %feature("autodoc", " :rtype: None -") Clear; - void Clear (); - %feature("compactdefaultargs") Bind; - %feature("autodoc", " :param K: - :type K: TopoDS_Shape & - :param I: - :type I: BRepCheck_ListOfStatus & - :rtype: bool -") Bind; - Standard_Boolean Bind (const TopoDS_Shape & K,const BRepCheck_ListOfStatus & I); - %feature("compactdefaultargs") IsBound; - %feature("autodoc", " :param K: - :type K: TopoDS_Shape & - :rtype: bool -") IsBound; - Standard_Boolean IsBound (const TopoDS_Shape & K); - %feature("compactdefaultargs") UnBind; - %feature("autodoc", " :param K: - :type K: TopoDS_Shape & - :rtype: bool -") UnBind; - Standard_Boolean UnBind (const TopoDS_Shape & K); - %feature("compactdefaultargs") Find; - %feature("autodoc", " :param K: - :type K: TopoDS_Shape & - :rtype: BRepCheck_ListOfStatus -") Find; - const BRepCheck_ListOfStatus & Find (const TopoDS_Shape & K); - %feature("compactdefaultargs") ChangeFind; - %feature("autodoc", " :param K: - :type K: TopoDS_Shape & - :rtype: BRepCheck_ListOfStatus -") ChangeFind; - BRepCheck_ListOfStatus & ChangeFind (const TopoDS_Shape & K); - %feature("compactdefaultargs") Find1; - %feature("autodoc", " :param K: - :type K: TopoDS_Shape & - :rtype: Standard_Address -") Find1; - Standard_Address Find1 (const TopoDS_Shape & K); - %feature("compactdefaultargs") ChangeFind1; - %feature("autodoc", " :param K: - :type K: TopoDS_Shape & - :rtype: Standard_Address -") ChangeFind1; - Standard_Address ChangeFind1 (const TopoDS_Shape & K); -}; - + /****************** Blind ******************/ + %feature("compactdefaultargs") Blind; + %feature("autodoc", ":rtype: void") Blind; + virtual void Blind (); -%extend BRepCheck_DataMapOfShapeListOfStatus { - %pythoncode { - __repr__ = _dumps_object - } -}; -%nodefaultctor BRepCheck_DataMapOfShapeResult; -class BRepCheck_DataMapOfShapeResult : public TCollection_BasicMap { - public: - %feature("compactdefaultargs") BRepCheck_DataMapOfShapeResult; - %feature("autodoc", " :param NbBuckets: default value is 1 - :type NbBuckets: int - :rtype: None -") BRepCheck_DataMapOfShapeResult; - BRepCheck_DataMapOfShapeResult (const Standard_Integer NbBuckets = 1); - %feature("compactdefaultargs") Assign; - %feature("autodoc", " :param Other: - :type Other: BRepCheck_DataMapOfShapeResult & - :rtype: BRepCheck_DataMapOfShapeResult -") Assign; - BRepCheck_DataMapOfShapeResult & Assign (const BRepCheck_DataMapOfShapeResult & Other); - %feature("compactdefaultargs") operator =; - %feature("autodoc", " :param Other: - :type Other: BRepCheck_DataMapOfShapeResult & - :rtype: BRepCheck_DataMapOfShapeResult -") operator =; - BRepCheck_DataMapOfShapeResult & operator = (const BRepCheck_DataMapOfShapeResult & Other); - %feature("compactdefaultargs") ReSize; - %feature("autodoc", " :param NbBuckets: - :type NbBuckets: int - :rtype: None -") ReSize; - void ReSize (const Standard_Integer NbBuckets); - %feature("compactdefaultargs") Clear; - %feature("autodoc", " :rtype: None -") Clear; - void Clear (); - %feature("compactdefaultargs") Bind; - %feature("autodoc", " :param K: - :type K: TopoDS_Shape & - :param I: - :type I: Handle_BRepCheck_Result & - :rtype: bool -") Bind; - Standard_Boolean Bind (const TopoDS_Shape & K,const Handle_BRepCheck_Result & I); - %feature("compactdefaultargs") IsBound; - %feature("autodoc", " :param K: - :type K: TopoDS_Shape & - :rtype: bool -") IsBound; - Standard_Boolean IsBound (const TopoDS_Shape & K); - %feature("compactdefaultargs") UnBind; - %feature("autodoc", " :param K: - :type K: TopoDS_Shape & - :rtype: bool -") UnBind; - Standard_Boolean UnBind (const TopoDS_Shape & K); - %feature("compactdefaultargs") Find; - %feature("autodoc", " :param K: - :type K: TopoDS_Shape & - :rtype: Handle_BRepCheck_Result -") Find; - Handle_BRepCheck_Result Find (const TopoDS_Shape & K); - %feature("compactdefaultargs") ChangeFind; - %feature("autodoc", " :param K: - :type K: TopoDS_Shape & - :rtype: Handle_BRepCheck_Result -") ChangeFind; - Handle_BRepCheck_Result ChangeFind (const TopoDS_Shape & K); - %feature("compactdefaultargs") Find1; - %feature("autodoc", " :param K: - :type K: TopoDS_Shape & - :rtype: Standard_Address -") Find1; - Standard_Address Find1 (const TopoDS_Shape & K); - %feature("compactdefaultargs") ChangeFind1; - %feature("autodoc", " :param K: - :type K: TopoDS_Shape & - :rtype: Standard_Address -") ChangeFind1; - Standard_Address ChangeFind1 (const TopoDS_Shape & K); -}; + /****************** ContextualShape ******************/ + %feature("compactdefaultargs") ContextualShape; + %feature("autodoc", ":rtype: TopoDS_Shape") ContextualShape; + const TopoDS_Shape ContextualShape (); + /****************** InContext ******************/ + %feature("compactdefaultargs") InContext; + %feature("autodoc", ":param ContextShape: + :type ContextShape: TopoDS_Shape & + :rtype: void") InContext; + virtual void InContext (const TopoDS_Shape & ContextShape); -%extend BRepCheck_DataMapOfShapeResult { - %pythoncode { - __repr__ = _dumps_object - } -}; -%nodefaultctor BRepCheck_ListIteratorOfListOfStatus; -class BRepCheck_ListIteratorOfListOfStatus { - public: - %feature("compactdefaultargs") BRepCheck_ListIteratorOfListOfStatus; - %feature("autodoc", " :rtype: None -") BRepCheck_ListIteratorOfListOfStatus; - BRepCheck_ListIteratorOfListOfStatus (); - %feature("compactdefaultargs") BRepCheck_ListIteratorOfListOfStatus; - %feature("autodoc", " :param L: - :type L: BRepCheck_ListOfStatus & - :rtype: None -") BRepCheck_ListIteratorOfListOfStatus; - BRepCheck_ListIteratorOfListOfStatus (const BRepCheck_ListOfStatus & L); - %feature("compactdefaultargs") Initialize; - %feature("autodoc", " :param L: - :type L: BRepCheck_ListOfStatus & - :rtype: None -") Initialize; - void Initialize (const BRepCheck_ListOfStatus & L); - %feature("compactdefaultargs") More; - %feature("autodoc", " :rtype: bool -") More; - Standard_Boolean More (); - %feature("compactdefaultargs") Next; - %feature("autodoc", " :rtype: None -") Next; - void Next (); - %feature("compactdefaultargs") Value; - %feature("autodoc", " :rtype: BRepCheck_Status -") Value; - BRepCheck_Status Value (); -}; + /****************** Init ******************/ + %feature("compactdefaultargs") Init; + %feature("autodoc", ":param S: + :type S: TopoDS_Shape & + :rtype: None") Init; + void Init (const TopoDS_Shape & S); + /****************** InitContextIterator ******************/ + %feature("compactdefaultargs") InitContextIterator; + %feature("autodoc", ":rtype: None") InitContextIterator; + void InitContextIterator (); -%extend BRepCheck_ListIteratorOfListOfStatus { - %pythoncode { - __repr__ = _dumps_object - } -}; -%nodefaultctor BRepCheck_ListNodeOfListOfStatus; -class BRepCheck_ListNodeOfListOfStatus : public TCollection_MapNode { - public: - %feature("compactdefaultargs") BRepCheck_ListNodeOfListOfStatus; - %feature("autodoc", " :param I: - :type I: BRepCheck_Status & - :param n: - :type n: TCollection_MapNodePtr & - :rtype: None -") BRepCheck_ListNodeOfListOfStatus; - BRepCheck_ListNodeOfListOfStatus (const BRepCheck_Status & I,const TCollection_MapNodePtr & n); - %feature("compactdefaultargs") Value; - %feature("autodoc", " :rtype: BRepCheck_Status -") Value; - BRepCheck_Status Value (); -}; + /****************** IsBlind ******************/ + %feature("compactdefaultargs") IsBlind; + %feature("autodoc", ":rtype: bool") IsBlind; + Standard_Boolean IsBlind (); + /****************** IsMinimum ******************/ + %feature("compactdefaultargs") IsMinimum; + %feature("autodoc", ":rtype: bool") IsMinimum; + Standard_Boolean IsMinimum (); -%make_alias(BRepCheck_ListNodeOfListOfStatus) + /****************** Minimum ******************/ + %feature("compactdefaultargs") Minimum; + %feature("autodoc", ":rtype: void") Minimum; + virtual void Minimum (); -%extend BRepCheck_ListNodeOfListOfStatus { - %pythoncode { - __repr__ = _dumps_object - } -}; -%nodefaultctor BRepCheck_ListOfStatus; -class BRepCheck_ListOfStatus { - public: - %feature("compactdefaultargs") BRepCheck_ListOfStatus; - %feature("autodoc", " :rtype: None -") BRepCheck_ListOfStatus; - BRepCheck_ListOfStatus (); - %feature("compactdefaultargs") BRepCheck_ListOfStatus; - %feature("autodoc", " :param Other: - :type Other: BRepCheck_ListOfStatus & - :rtype: None -") BRepCheck_ListOfStatus; - BRepCheck_ListOfStatus (const BRepCheck_ListOfStatus & Other); - %feature("compactdefaultargs") Assign; - %feature("autodoc", " :param Other: - :type Other: BRepCheck_ListOfStatus & - :rtype: None -") Assign; - void Assign (const BRepCheck_ListOfStatus & Other); - %feature("compactdefaultargs") operator =; - %feature("autodoc", " :param Other: - :type Other: BRepCheck_ListOfStatus & - :rtype: None -") operator =; - void operator = (const BRepCheck_ListOfStatus & Other); - %feature("compactdefaultargs") Extent; - %feature("autodoc", " :rtype: int -") Extent; - Standard_Integer Extent (); - %feature("compactdefaultargs") Clear; - %feature("autodoc", " :rtype: None -") Clear; - void Clear (); - %feature("compactdefaultargs") IsEmpty; - %feature("autodoc", " :rtype: bool -") IsEmpty; - Standard_Boolean IsEmpty (); - %feature("compactdefaultargs") Prepend; - %feature("autodoc", " :param I: - :type I: BRepCheck_Status & - :rtype: None -") Prepend; - void Prepend (const BRepCheck_Status & I); - %feature("compactdefaultargs") Prepend; - %feature("autodoc", " :param I: - :type I: BRepCheck_Status & - :param theIt: - :type theIt: BRepCheck_ListIteratorOfListOfStatus & - :rtype: None -") Prepend; - void Prepend (const BRepCheck_Status & I,BRepCheck_ListIteratorOfListOfStatus & theIt); - %feature("compactdefaultargs") Prepend; - %feature("autodoc", " :param Other: - :type Other: BRepCheck_ListOfStatus & - :rtype: None -") Prepend; - void Prepend (BRepCheck_ListOfStatus & Other); - %feature("compactdefaultargs") Append; - %feature("autodoc", " :param I: - :type I: BRepCheck_Status & - :rtype: None -") Append; - void Append (const BRepCheck_Status & I); - %feature("compactdefaultargs") Append; - %feature("autodoc", " :param I: - :type I: BRepCheck_Status & - :param theIt: - :type theIt: BRepCheck_ListIteratorOfListOfStatus & - :rtype: None -") Append; - void Append (const BRepCheck_Status & I,BRepCheck_ListIteratorOfListOfStatus & theIt); - %feature("compactdefaultargs") Append; - %feature("autodoc", " :param Other: - :type Other: BRepCheck_ListOfStatus & - :rtype: None -") Append; - void Append (BRepCheck_ListOfStatus & Other); - %feature("compactdefaultargs") First; - %feature("autodoc", " :rtype: BRepCheck_Status -") First; - BRepCheck_Status First (); - %feature("compactdefaultargs") Last; - %feature("autodoc", " :rtype: BRepCheck_Status -") Last; - BRepCheck_Status Last (); - %feature("compactdefaultargs") RemoveFirst; - %feature("autodoc", " :rtype: None -") RemoveFirst; - void RemoveFirst (); - %feature("compactdefaultargs") Remove; - %feature("autodoc", " :param It: - :type It: BRepCheck_ListIteratorOfListOfStatus & - :rtype: None -") Remove; - void Remove (BRepCheck_ListIteratorOfListOfStatus & It); - %feature("compactdefaultargs") InsertBefore; - %feature("autodoc", " :param I: - :type I: BRepCheck_Status & - :param It: - :type It: BRepCheck_ListIteratorOfListOfStatus & - :rtype: None -") InsertBefore; - void InsertBefore (const BRepCheck_Status & I,BRepCheck_ListIteratorOfListOfStatus & It); - %feature("compactdefaultargs") InsertBefore; - %feature("autodoc", " :param Other: - :type Other: BRepCheck_ListOfStatus & - :param It: - :type It: BRepCheck_ListIteratorOfListOfStatus & - :rtype: None -") InsertBefore; - void InsertBefore (BRepCheck_ListOfStatus & Other,BRepCheck_ListIteratorOfListOfStatus & It); - %feature("compactdefaultargs") InsertAfter; - %feature("autodoc", " :param I: - :type I: BRepCheck_Status & - :param It: - :type It: BRepCheck_ListIteratorOfListOfStatus & - :rtype: None -") InsertAfter; - void InsertAfter (const BRepCheck_Status & I,BRepCheck_ListIteratorOfListOfStatus & It); - %feature("compactdefaultargs") InsertAfter; - %feature("autodoc", " :param Other: - :type Other: BRepCheck_ListOfStatus & - :param It: - :type It: BRepCheck_ListIteratorOfListOfStatus & - :rtype: None -") InsertAfter; - void InsertAfter (BRepCheck_ListOfStatus & Other,BRepCheck_ListIteratorOfListOfStatus & It); -}; + /****************** MoreShapeInContext ******************/ + %feature("compactdefaultargs") MoreShapeInContext; + %feature("autodoc", ":rtype: bool") MoreShapeInContext; + Standard_Boolean MoreShapeInContext (); + /****************** NextShapeInContext ******************/ + %feature("compactdefaultargs") NextShapeInContext; + %feature("autodoc", ":rtype: None") NextShapeInContext; + void NextShapeInContext (); -%extend BRepCheck_ListOfStatus { - %pythoncode { - __repr__ = _dumps_object - } -}; -%nodefaultctor BRepCheck_Result; -class BRepCheck_Result : public MMgt_TShared { - public: - %feature("compactdefaultargs") Init; - %feature("autodoc", " :param S: - :type S: TopoDS_Shape & - :rtype: None -") Init; - void Init (const TopoDS_Shape & S); - %feature("compactdefaultargs") InContext; - %feature("autodoc", " :param ContextShape: - :type ContextShape: TopoDS_Shape & - :rtype: void -") InContext; - virtual void InContext (const TopoDS_Shape & ContextShape); - %feature("compactdefaultargs") Minimum; - %feature("autodoc", " :rtype: void -") Minimum; - virtual void Minimum (); - %feature("compactdefaultargs") Blind; - %feature("autodoc", " :rtype: void -") Blind; - virtual void Blind (); + /****************** SetFailStatus ******************/ %feature("compactdefaultargs") SetFailStatus; - %feature("autodoc", " :param S: + %feature("autodoc", ":param S: :type S: TopoDS_Shape & - :rtype: None -") SetFailStatus; + :rtype: None") SetFailStatus; void SetFailStatus (const TopoDS_Shape & S); + + /****************** Status ******************/ %feature("compactdefaultargs") Status; - %feature("autodoc", " :rtype: BRepCheck_ListOfStatus -") Status; + %feature("autodoc", ":rtype: BRepCheck_ListOfStatus") Status; const BRepCheck_ListOfStatus & Status (); - %feature("compactdefaultargs") IsMinimum; - %feature("autodoc", " :rtype: bool -") IsMinimum; - Standard_Boolean IsMinimum (); - %feature("compactdefaultargs") IsBlind; - %feature("autodoc", " :rtype: bool -") IsBlind; - Standard_Boolean IsBlind (); - %feature("compactdefaultargs") StatusOnShape; - %feature("autodoc", " * If not already done, performs the InContext control and returns the list of status. + /****************** StatusOnShape ******************/ + %feature("compactdefaultargs") StatusOnShape; + %feature("autodoc", "* If not already done, performs the InContext control and returns the list of status. :param S: :type S: TopoDS_Shape & - :rtype: BRepCheck_ListOfStatus -") StatusOnShape; + :rtype: BRepCheck_ListOfStatus") StatusOnShape; const BRepCheck_ListOfStatus & StatusOnShape (const TopoDS_Shape & S); - %feature("compactdefaultargs") InitContextIterator; - %feature("autodoc", " :rtype: None -") InitContextIterator; - void InitContextIterator (); - %feature("compactdefaultargs") MoreShapeInContext; - %feature("autodoc", " :rtype: bool -") MoreShapeInContext; - Standard_Boolean MoreShapeInContext (); - %feature("compactdefaultargs") ContextualShape; - %feature("autodoc", " :rtype: TopoDS_Shape -") ContextualShape; - const TopoDS_Shape ContextualShape (); + + /****************** StatusOnShape ******************/ %feature("compactdefaultargs") StatusOnShape; - %feature("autodoc", " :rtype: BRepCheck_ListOfStatus -") StatusOnShape; + %feature("autodoc", ":rtype: BRepCheck_ListOfStatus") StatusOnShape; const BRepCheck_ListOfStatus & StatusOnShape (); - %feature("compactdefaultargs") NextShapeInContext; - %feature("autodoc", " :rtype: None -") NextShapeInContext; - void NextShapeInContext (); + }; @@ -764,59 +342,70 @@ class BRepCheck_Result : public MMgt_TShared { __repr__ = _dumps_object } }; + +/*********************** +* class BRepCheck_Edge * +***********************/ %nodefaultctor BRepCheck_Edge; class BRepCheck_Edge : public BRepCheck_Result { public: + /****************** BRepCheck_Edge ******************/ %feature("compactdefaultargs") BRepCheck_Edge; - %feature("autodoc", " :param E: + %feature("autodoc", ":param E: :type E: TopoDS_Edge & - :rtype: None -") BRepCheck_Edge; + :rtype: None") BRepCheck_Edge; BRepCheck_Edge (const TopoDS_Edge & E); - %feature("compactdefaultargs") InContext; - %feature("autodoc", " :param ContextShape: - :type ContextShape: TopoDS_Shape & - :rtype: None -") InContext; - void InContext (const TopoDS_Shape & ContextShape); - %feature("compactdefaultargs") Minimum; - %feature("autodoc", " :rtype: None -") Minimum; - void Minimum (); + + /****************** Blind ******************/ %feature("compactdefaultargs") Blind; - %feature("autodoc", " :rtype: None -") Blind; + %feature("autodoc", ":rtype: None") Blind; void Blind (); + + /****************** CheckPolygonOnTriangulation ******************/ + %feature("compactdefaultargs") CheckPolygonOnTriangulation; + %feature("autodoc", "* Checks, if polygon on triangulation of heEdge is out of 3D-curve of this edge. + :param theEdge: + :type theEdge: TopoDS_Edge & + :rtype: BRepCheck_Status") CheckPolygonOnTriangulation; + BRepCheck_Status CheckPolygonOnTriangulation (const TopoDS_Edge & theEdge); + + /****************** GeometricControls ******************/ %feature("compactdefaultargs") GeometricControls; - %feature("autodoc", " :rtype: bool -") GeometricControls; + %feature("autodoc", ":rtype: bool") GeometricControls; Standard_Boolean GeometricControls (); + + /****************** GeometricControls ******************/ %feature("compactdefaultargs") GeometricControls; - %feature("autodoc", " :param B: + %feature("autodoc", ":param B: :type B: bool - :rtype: None -") GeometricControls; + :rtype: None") GeometricControls; void GeometricControls (const Standard_Boolean B); - %feature("compactdefaultargs") Tolerance; - %feature("autodoc", " :rtype: float -") Tolerance; - Standard_Real Tolerance (); - %feature("compactdefaultargs") SetStatus; - %feature("autodoc", " * Sets status of Edge; + /****************** InContext ******************/ + %feature("compactdefaultargs") InContext; + %feature("autodoc", ":param ContextShape: + :type ContextShape: TopoDS_Shape & + :rtype: None") InContext; + void InContext (const TopoDS_Shape & ContextShape); + + /****************** Minimum ******************/ + %feature("compactdefaultargs") Minimum; + %feature("autodoc", ":rtype: None") Minimum; + void Minimum (); + + /****************** SetStatus ******************/ + %feature("compactdefaultargs") SetStatus; + %feature("autodoc", "* Sets status of Edge; :param theStatus: :type theStatus: BRepCheck_Status - :rtype: None -") SetStatus; + :rtype: None") SetStatus; void SetStatus (const BRepCheck_Status theStatus); - %feature("compactdefaultargs") CheckPolygonOnTriangulation; - %feature("autodoc", " * Checks, if polygon on triangulation of heEdge is out of 3D-curve of this edge. - :param theEdge: - :type theEdge: TopoDS_Edge & - :rtype: BRepCheck_Status -") CheckPolygonOnTriangulation; - BRepCheck_Status CheckPolygonOnTriangulation (const TopoDS_Edge & theEdge); + /****************** Tolerance ******************/ + %feature("compactdefaultargs") Tolerance; + %feature("autodoc", ":rtype: float") Tolerance; + Standard_Real Tolerance (); + }; @@ -827,73 +416,88 @@ class BRepCheck_Edge : public BRepCheck_Result { __repr__ = _dumps_object } }; + +/*********************** +* class BRepCheck_Face * +***********************/ %nodefaultctor BRepCheck_Face; class BRepCheck_Face : public BRepCheck_Result { public: + /****************** BRepCheck_Face ******************/ %feature("compactdefaultargs") BRepCheck_Face; - %feature("autodoc", " :param F: + %feature("autodoc", ":param F: :type F: TopoDS_Face & - :rtype: None -") BRepCheck_Face; + :rtype: None") BRepCheck_Face; BRepCheck_Face (const TopoDS_Face & F); + + /****************** Blind ******************/ + %feature("compactdefaultargs") Blind; + %feature("autodoc", ":rtype: None") Blind; + void Blind (); + + /****************** ClassifyWires ******************/ + %feature("compactdefaultargs") ClassifyWires; + %feature("autodoc", ":param Update: default value is Standard_False + :type Update: bool + :rtype: BRepCheck_Status") ClassifyWires; + BRepCheck_Status ClassifyWires (const Standard_Boolean Update = Standard_False); + + /****************** GeometricControls ******************/ + %feature("compactdefaultargs") GeometricControls; + %feature("autodoc", ":rtype: bool") GeometricControls; + Standard_Boolean GeometricControls (); + + /****************** GeometricControls ******************/ + %feature("compactdefaultargs") GeometricControls; + %feature("autodoc", ":param B: + :type B: bool + :rtype: None") GeometricControls; + void GeometricControls (const Standard_Boolean B); + + /****************** InContext ******************/ %feature("compactdefaultargs") InContext; - %feature("autodoc", " :param ContextShape: + %feature("autodoc", ":param ContextShape: :type ContextShape: TopoDS_Shape & - :rtype: None -") InContext; + :rtype: None") InContext; void InContext (const TopoDS_Shape & ContextShape); - %feature("compactdefaultargs") Minimum; - %feature("autodoc", " :rtype: None -") Minimum; - void Minimum (); - %feature("compactdefaultargs") Blind; - %feature("autodoc", " :rtype: None -") Blind; - void Blind (); + + /****************** IntersectWires ******************/ %feature("compactdefaultargs") IntersectWires; - %feature("autodoc", " :param Update: default value is Standard_False + %feature("autodoc", ":param Update: default value is Standard_False :type Update: bool - :rtype: BRepCheck_Status -") IntersectWires; + :rtype: BRepCheck_Status") IntersectWires; BRepCheck_Status IntersectWires (const Standard_Boolean Update = Standard_False); - %feature("compactdefaultargs") ClassifyWires; - %feature("autodoc", " :param Update: default value is Standard_False - :type Update: bool - :rtype: BRepCheck_Status -") ClassifyWires; - BRepCheck_Status ClassifyWires (const Standard_Boolean Update = Standard_False); + + /****************** IsUnorientable ******************/ + %feature("compactdefaultargs") IsUnorientable; + %feature("autodoc", ":rtype: bool") IsUnorientable; + Standard_Boolean IsUnorientable (); + + /****************** Minimum ******************/ + %feature("compactdefaultargs") Minimum; + %feature("autodoc", ":rtype: None") Minimum; + void Minimum (); + + /****************** OrientationOfWires ******************/ %feature("compactdefaultargs") OrientationOfWires; - %feature("autodoc", " :param Update: default value is Standard_False + %feature("autodoc", ":param Update: default value is Standard_False :type Update: bool - :rtype: BRepCheck_Status -") OrientationOfWires; + :rtype: BRepCheck_Status") OrientationOfWires; BRepCheck_Status OrientationOfWires (const Standard_Boolean Update = Standard_False); - %feature("compactdefaultargs") SetUnorientable; - %feature("autodoc", " :rtype: None -") SetUnorientable; - void SetUnorientable (); - %feature("compactdefaultargs") SetStatus; - %feature("autodoc", " * Sets status of Face; + /****************** SetStatus ******************/ + %feature("compactdefaultargs") SetStatus; + %feature("autodoc", "* Sets status of Face; :param theStatus: :type theStatus: BRepCheck_Status - :rtype: None -") SetStatus; + :rtype: None") SetStatus; void SetStatus (const BRepCheck_Status theStatus); - %feature("compactdefaultargs") IsUnorientable; - %feature("autodoc", " :rtype: bool -") IsUnorientable; - Standard_Boolean IsUnorientable (); - %feature("compactdefaultargs") GeometricControls; - %feature("autodoc", " :rtype: bool -") GeometricControls; - Standard_Boolean GeometricControls (); - %feature("compactdefaultargs") GeometricControls; - %feature("autodoc", " :param B: - :type B: bool - :rtype: None -") GeometricControls; - void GeometricControls (const Standard_Boolean B); + + /****************** SetUnorientable ******************/ + %feature("compactdefaultargs") SetUnorientable; + %feature("autodoc", ":rtype: None") SetUnorientable; + void SetUnorientable (); + }; @@ -904,59 +508,70 @@ class BRepCheck_Face : public BRepCheck_Result { __repr__ = _dumps_object } }; + +/************************ +* class BRepCheck_Shell * +************************/ %nodefaultctor BRepCheck_Shell; class BRepCheck_Shell : public BRepCheck_Result { public: + /****************** BRepCheck_Shell ******************/ %feature("compactdefaultargs") BRepCheck_Shell; - %feature("autodoc", " :param S: + %feature("autodoc", ":param S: :type S: TopoDS_Shell & - :rtype: None -") BRepCheck_Shell; + :rtype: None") BRepCheck_Shell; BRepCheck_Shell (const TopoDS_Shell & S); - %feature("compactdefaultargs") InContext; - %feature("autodoc", " :param ContextShape: - :type ContextShape: TopoDS_Shape & - :rtype: None -") InContext; - void InContext (const TopoDS_Shape & ContextShape); - %feature("compactdefaultargs") Minimum; - %feature("autodoc", " :rtype: None -") Minimum; - void Minimum (); + + /****************** Blind ******************/ %feature("compactdefaultargs") Blind; - %feature("autodoc", " :rtype: None -") Blind; + %feature("autodoc", ":rtype: None") Blind; void Blind (); - %feature("compactdefaultargs") Closed; - %feature("autodoc", " * Checks if the oriented faces of the shell give a closed shell. If the wire is closed, returns BRepCheck_NoError.If is set to Standard_True, registers the status in the list. + /****************** Closed ******************/ + %feature("compactdefaultargs") Closed; + %feature("autodoc", "* Checks if the oriented faces of the shell give a closed shell. If the wire is closed, returns BRepCheck_NoError.If is set to Standard_True, registers the status in the list. :param Update: default value is Standard_False :type Update: bool - :rtype: BRepCheck_Status -") Closed; + :rtype: BRepCheck_Status") Closed; BRepCheck_Status Closed (const Standard_Boolean Update = Standard_False); - %feature("compactdefaultargs") Orientation; - %feature("autodoc", " * Checks if the oriented faces of the shell are correctly oriented. An internal call is made to the method Closed. If is set to Standard_True, registers the status in the list. - :param Update: default value is Standard_False - :type Update: bool - :rtype: BRepCheck_Status -") Orientation; - BRepCheck_Status Orientation (const Standard_Boolean Update = Standard_False); - %feature("compactdefaultargs") SetUnorientable; - %feature("autodoc", " :rtype: None -") SetUnorientable; - void SetUnorientable (); + /****************** InContext ******************/ + %feature("compactdefaultargs") InContext; + %feature("autodoc", ":param ContextShape: + :type ContextShape: TopoDS_Shape & + :rtype: None") InContext; + void InContext (const TopoDS_Shape & ContextShape); + + /****************** IsUnorientable ******************/ %feature("compactdefaultargs") IsUnorientable; - %feature("autodoc", " :rtype: bool -") IsUnorientable; + %feature("autodoc", ":rtype: bool") IsUnorientable; Standard_Boolean IsUnorientable (); + + /****************** Minimum ******************/ + %feature("compactdefaultargs") Minimum; + %feature("autodoc", ":rtype: None") Minimum; + void Minimum (); + + /****************** NbConnectedSet ******************/ %feature("compactdefaultargs") NbConnectedSet; - %feature("autodoc", " :param theSets: + %feature("autodoc", ":param theSets: :type theSets: TopTools_ListOfShape & - :rtype: int -") NbConnectedSet; + :rtype: int") NbConnectedSet; Standard_Integer NbConnectedSet (TopTools_ListOfShape & theSets); + + /****************** Orientation ******************/ + %feature("compactdefaultargs") Orientation; + %feature("autodoc", "* Checks if the oriented faces of the shell are correctly oriented. An internal call is made to the method Closed. If is set to Standard_True, registers the status in the list. + :param Update: default value is Standard_False + :type Update: bool + :rtype: BRepCheck_Status") Orientation; + BRepCheck_Status Orientation (const Standard_Boolean Update = Standard_False); + + /****************** SetUnorientable ******************/ + %feature("compactdefaultargs") SetUnorientable; + %feature("autodoc", ":rtype: None") SetUnorientable; + void SetUnorientable (); + }; @@ -967,37 +582,41 @@ class BRepCheck_Shell : public BRepCheck_Result { __repr__ = _dumps_object } }; + +/************************ +* class BRepCheck_Solid * +************************/ %nodefaultctor BRepCheck_Solid; class BRepCheck_Solid : public BRepCheck_Result { public: + /****************** BRepCheck_Solid ******************/ %feature("compactdefaultargs") BRepCheck_Solid; - %feature("autodoc", " * Constructor is the solid to check - + %feature("autodoc", "* Constructor is the solid to check :param theS: :type theS: TopoDS_Solid & - :rtype: None -") BRepCheck_Solid; + :rtype: None") BRepCheck_Solid; BRepCheck_Solid (const TopoDS_Solid & theS); - %feature("compactdefaultargs") InContext; - %feature("autodoc", " * Checks the solid in context of the shape + /****************** Blind ******************/ + %feature("compactdefaultargs") Blind; + %feature("autodoc", "* see the parent class for more details + :rtype: void") Blind; + virtual void Blind (); + + /****************** InContext ******************/ + %feature("compactdefaultargs") InContext; + %feature("autodoc", "* Checks the solid in context of the shape :param theContextShape: :type theContextShape: TopoDS_Shape & - :rtype: void -") InContext; + :rtype: void") InContext; virtual void InContext (const TopoDS_Shape & theContextShape); - %feature("compactdefaultargs") Minimum; - %feature("autodoc", " * Checks the solid per se. //! The scan area is: 1. Shells that overlaps each other Status: BRepCheck_InvalidImbricationOfShells //! 2. Detached parts of the solid (vertices, edges) that have non-internal orientation Status: BRepCheck_BadOrientationOfSubshape //! 3. For closed, non-internal shells: 3.1 Shells containing entities of the solid that are outside towards the shells Status: BRepCheck_SubshapeNotInShape //! 3.2 Shells that encloses other Shells (for non-holes) Status: BRepCheck_EnclosedRegion - :rtype: void -") Minimum; + /****************** Minimum ******************/ + %feature("compactdefaultargs") Minimum; + %feature("autodoc", "* Checks the solid per se. //! The scan area is: 1. Shells that overlaps each other Status: BRepCheck_InvalidImbricationOfShells //! 2. Detached parts of the solid (vertices, edges) that have non-internal orientation Status: BRepCheck_BadOrientationOfSubshape //! 3. For closed, non-internal shells: 3.1 Shells containing entities of the solid that are outside towards the shells Status: BRepCheck_SubshapeNotInShape //! 3.2 Shells that encloses other Shells (for non-holes) Status: BRepCheck_EnclosedRegion + :rtype: void") Minimum; virtual void Minimum (); - %feature("compactdefaultargs") Blind; - %feature("autodoc", " * see the parent class for more details - :rtype: void -") Blind; - virtual void Blind (); }; @@ -1008,33 +627,42 @@ class BRepCheck_Solid : public BRepCheck_Result { __repr__ = _dumps_object } }; + +/************************* +* class BRepCheck_Vertex * +*************************/ %nodefaultctor BRepCheck_Vertex; class BRepCheck_Vertex : public BRepCheck_Result { public: + /****************** BRepCheck_Vertex ******************/ %feature("compactdefaultargs") BRepCheck_Vertex; - %feature("autodoc", " :param V: + %feature("autodoc", ":param V: :type V: TopoDS_Vertex & - :rtype: None -") BRepCheck_Vertex; + :rtype: None") BRepCheck_Vertex; BRepCheck_Vertex (const TopoDS_Vertex & V); + + /****************** Blind ******************/ + %feature("compactdefaultargs") Blind; + %feature("autodoc", ":rtype: None") Blind; + void Blind (); + + /****************** InContext ******************/ %feature("compactdefaultargs") InContext; - %feature("autodoc", " :param ContextShape: + %feature("autodoc", ":param ContextShape: :type ContextShape: TopoDS_Shape & - :rtype: None -") InContext; + :rtype: None") InContext; void InContext (const TopoDS_Shape & ContextShape); + + /****************** Minimum ******************/ %feature("compactdefaultargs") Minimum; - %feature("autodoc", " :rtype: None -") Minimum; + %feature("autodoc", ":rtype: None") Minimum; void Minimum (); - %feature("compactdefaultargs") Blind; - %feature("autodoc", " :rtype: None -") Blind; - void Blind (); + + /****************** Tolerance ******************/ %feature("compactdefaultargs") Tolerance; - %feature("autodoc", " :rtype: float -") Tolerance; + %feature("autodoc", ":rtype: float") Tolerance; Standard_Real Tolerance (); + }; @@ -1045,66 +673,85 @@ class BRepCheck_Vertex : public BRepCheck_Result { __repr__ = _dumps_object } }; + +/*********************** +* class BRepCheck_Wire * +***********************/ %nodefaultctor BRepCheck_Wire; class BRepCheck_Wire : public BRepCheck_Result { public: + /****************** BRepCheck_Wire ******************/ %feature("compactdefaultargs") BRepCheck_Wire; - %feature("autodoc", " :param W: + %feature("autodoc", ":param W: :type W: TopoDS_Wire & - :rtype: None -") BRepCheck_Wire; + :rtype: None") BRepCheck_Wire; BRepCheck_Wire (const TopoDS_Wire & W); - %feature("compactdefaultargs") InContext; - %feature("autodoc", " * if is a face, consequently checks SelfIntersect(), Closed(), Orientation() and Closed2d until faulty is found - - :param ContextShape: - :type ContextShape: TopoDS_Shape & - :rtype: None -") InContext; - void InContext (const TopoDS_Shape & ContextShape); - %feature("compactdefaultargs") Minimum; - %feature("autodoc", " * checks that the wire is not empty and 'connex'. Called by constructor - :rtype: None -") Minimum; - void Minimum (); + /****************** Blind ******************/ %feature("compactdefaultargs") Blind; - %feature("autodoc", " * Does nothing - - :rtype: None -") Blind; + %feature("autodoc", "* Does nothing + :rtype: None") Blind; void Blind (); - %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 + /****************** Closed ******************/ + %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 :param Update: default value is Standard_False :type Update: bool - :rtype: BRepCheck_Status -") Closed; + :rtype: BRepCheck_Status") Closed; BRepCheck_Status Closed (const Standard_Boolean Update = Standard_False); - %feature("compactdefaultargs") Closed2d; - %feature("autodoc", " * Checks if edges of the wire give a wire closed in 2d space. Returns BRepCheck_NoError, or BRepCheck_NotClosed If is set to Standard_True, registers the status in the list. + /****************** Closed2d ******************/ + %feature("compactdefaultargs") Closed2d; + %feature("autodoc", "* Checks if edges of the wire give a wire closed in 2d space. Returns BRepCheck_NoError, or BRepCheck_NotClosed If is set to Standard_True, registers the status in the list. :param F: :type F: TopoDS_Face & :param Update: default value is Standard_False :type Update: bool - :rtype: BRepCheck_Status -") Closed2d; + :rtype: BRepCheck_Status") Closed2d; BRepCheck_Status Closed2d (const TopoDS_Face & F,const Standard_Boolean Update = Standard_False); - %feature("compactdefaultargs") Orientation; - %feature("autodoc", " * Checks if the oriented edges of the wire are correctly oriented. An internal call is made to the method Closed. If no face exists, call the method with a null face (TopoDS_face()). If is set to Standard_True, registers the status in the list. May return (and registers): BRepCheck_InvalidDegeneratedFlag, BRepCheck_BadOrientationOfSubshape, BRepCheck_NotClosed, BRepCheck_NoError + /****************** GeometricControls ******************/ + %feature("compactdefaultargs") GeometricControls; + %feature("autodoc", "* report SelfIntersect() check would be (is) done + :rtype: bool") GeometricControls; + Standard_Boolean GeometricControls (); + + /****************** GeometricControls ******************/ + %feature("compactdefaultargs") GeometricControls; + %feature("autodoc", "* set SelfIntersect() to be checked + :param B: + :type B: bool + :rtype: None") GeometricControls; + void GeometricControls (const Standard_Boolean B); + + /****************** InContext ******************/ + %feature("compactdefaultargs") InContext; + %feature("autodoc", "* if is a face, consequently checks SelfIntersect(), Closed(), Orientation() and Closed2d until faulty is found + :param ContextShape: + :type ContextShape: TopoDS_Shape & + :rtype: None") InContext; + void InContext (const TopoDS_Shape & ContextShape); + + /****************** Minimum ******************/ + %feature("compactdefaultargs") Minimum; + %feature("autodoc", "* checks that the wire is not empty and 'connex'. Called by constructor + :rtype: None") Minimum; + void Minimum (); + + /****************** Orientation ******************/ + %feature("compactdefaultargs") Orientation; + %feature("autodoc", "* Checks if the oriented edges of the wire are correctly oriented. An internal call is made to the method Closed. If no face exists, call the method with a null face (TopoDS_face()). If is set to Standard_True, registers the status in the list. May return (and registers): BRepCheck_InvalidDegeneratedFlag, BRepCheck_BadOrientationOfSubshape, BRepCheck_NotClosed, BRepCheck_NoError :param F: :type F: TopoDS_Face & :param Update: default value is Standard_False :type Update: bool - :rtype: BRepCheck_Status -") Orientation; + :rtype: BRepCheck_Status") Orientation; BRepCheck_Status Orientation (const TopoDS_Face & F,const Standard_Boolean Update = Standard_False); - %feature("compactdefaultargs") SelfIntersect; - %feature("autodoc", " * Checks if the wire intersect itself on the face . and are the first intersecting edges found. may be a null edge when a self-intersecting edge is found.If is set to Standard_True, registers the status in the list. May return (and register): BRepCheck_EmptyWire, BRepCheck_SelfIntersectingWire, BRepCheck_NoCurveOnSurface, BRepCheck_NoError + /****************** SelfIntersect ******************/ + %feature("compactdefaultargs") SelfIntersect; + %feature("autodoc", "* Checks if the wire intersect itself on the face . and are the first intersecting edges found. may be a null edge when a self-intersecting edge is found.If is set to Standard_True, registers the status in the list. May return (and register): BRepCheck_EmptyWire, BRepCheck_SelfIntersectingWire, BRepCheck_NoCurveOnSurface, BRepCheck_NoError :param F: :type F: TopoDS_Face & :param E1: @@ -1113,31 +760,17 @@ class BRepCheck_Wire : public BRepCheck_Result { :type E2: TopoDS_Edge & :param Update: default value is Standard_False :type Update: bool - :rtype: BRepCheck_Status -") SelfIntersect; + :rtype: BRepCheck_Status") SelfIntersect; BRepCheck_Status SelfIntersect (const TopoDS_Face & F,TopoDS_Edge & E1,TopoDS_Edge & E2,const Standard_Boolean Update = Standard_False); - %feature("compactdefaultargs") GeometricControls; - %feature("autodoc", " * report SelfIntersect() check would be (is) done - :rtype: bool -") GeometricControls; - Standard_Boolean GeometricControls (); - %feature("compactdefaultargs") GeometricControls; - %feature("autodoc", " * set SelfIntersect() to be checked - - :param B: - :type B: bool - :rtype: None -") GeometricControls; - void GeometricControls (const Standard_Boolean B); + /****************** SetStatus ******************/ %feature("compactdefaultargs") SetStatus; - %feature("autodoc", " * Sets status of Wire; - + %feature("autodoc", "* Sets status of Wire; :param theStatus: :type theStatus: BRepCheck_Status - :rtype: None -") SetStatus; + :rtype: None") SetStatus; void SetStatus (const BRepCheck_Status theStatus); + }; @@ -1148,3 +781,7 @@ class BRepCheck_Wire : public BRepCheck_Result { __repr__ = _dumps_object } }; + +/* harray1 class */ +/* harray2 class */ +/* harray2 class */ diff --git a/src/SWIG_files/wrapper/BRepCheck_headers.i b/src/SWIG_files/wrapper/BRepCheck_headers.i deleted file mode 100644 index 7f1d8bd9d..000000000 --- a/src/SWIG_files/wrapper/BRepCheck_headers.i +++ /dev/null @@ -1,509 +0,0 @@ -/* -Copyright 2008-2017 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 . - -*/ -%{ -#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 -#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 -#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 -#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 -#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 -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -%}; -%import Standard.i -%import TopoDS.i -%import TCollection.i -%import MMgt.i -%import TopTools.i diff --git a/src/SWIG_files/wrapper/BRepClass.i b/src/SWIG_files/wrapper/BRepClass.i index fa4b24861..b0a62dc7e 100644 --- a/src/SWIG_files/wrapper/BRepClass.i +++ b/src/SWIG_files/wrapper/BRepClass.i @@ -1,6 +1,5 @@ /* -Copyright 2008-2017 Thomas Paviot (tpaviot@gmail.com) - +Copyright 2008-2019 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -15,17 +14,13 @@ 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 BREPCLASSDOCSTRING -"The BRepClass packages provides classification -algorithms for the BRep topology. It instantiates -the algorithms from the package TopClass. -" +"BRepClass module, see official documentation at +https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brepclass.html" %enddef %module (package="OCC.Core", docstring=BREPCLASSDOCSTRING) BRepClass -#pragma SWIG nowarn=504,325,503 %{ #ifdef WNT @@ -40,46 +35,90 @@ the algorithms from the package TopClass. %include ../common/OccHandle.i -%include BRepClass_headers.i - -/* typedefs */ -/* end typedefs declaration */ - +%{ +#include + +//Dependencies +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +%}; +%import Standard.i +%import NCollection.i +%import TopoDS.i +%import TopAbs.i +%import gp.i +%import IntRes2d.i +%import Geom2dInt.i /* public enums */ /* end public enums declaration */ +/* handles */ +/* end handles declaration */ +/* templates */ +/* end templates declaration */ + +/* typedefs */ +/* end typedefs declaration */ + +/*********************** +* class BRepClass_Edge * +***********************/ %nodefaultctor BRepClass_Edge; class BRepClass_Edge { public: + /****************** BRepClass_Edge ******************/ %feature("compactdefaultargs") BRepClass_Edge; - %feature("autodoc", " :rtype: None -") BRepClass_Edge; + %feature("autodoc", ":rtype: None") BRepClass_Edge; BRepClass_Edge (); + + /****************** BRepClass_Edge ******************/ %feature("compactdefaultargs") BRepClass_Edge; - %feature("autodoc", " :param E: + %feature("autodoc", ":param E: :type E: TopoDS_Edge & :param F: :type F: TopoDS_Face & - :rtype: None -") BRepClass_Edge; + :rtype: None") BRepClass_Edge; BRepClass_Edge (const TopoDS_Edge & E,const TopoDS_Face & F); + + /****************** Edge ******************/ %feature("compactdefaultargs") Edge; - %feature("autodoc", " :rtype: TopoDS_Edge -") Edge; + %feature("autodoc", ":rtype: TopoDS_Edge") Edge; TopoDS_Edge Edge (); + + /****************** Edge ******************/ %feature("compactdefaultargs") Edge; - %feature("autodoc", " :rtype: TopoDS_Edge -") Edge; + %feature("autodoc", ":rtype: TopoDS_Edge") Edge; const TopoDS_Edge Edge (); + + /****************** Face ******************/ %feature("compactdefaultargs") Face; - %feature("autodoc", " :rtype: TopoDS_Face -") Face; + %feature("autodoc", ":rtype: TopoDS_Face") Face; TopoDS_Face Face (); + + /****************** Face ******************/ %feature("compactdefaultargs") Face; - %feature("autodoc", " :rtype: TopoDS_Face -") Face; + %feature("autodoc", ":rtype: TopoDS_Face") Face; const TopoDS_Face Face (); + }; @@ -88,51 +127,71 @@ class BRepClass_Edge { __repr__ = _dumps_object } }; + +/**************************************** +* class BRepClass_FClass2dOfFClassifier * +****************************************/ %nodefaultctor BRepClass_FClass2dOfFClassifier; class BRepClass_FClass2dOfFClassifier { public: + /****************** BRepClass_FClass2dOfFClassifier ******************/ %feature("compactdefaultargs") BRepClass_FClass2dOfFClassifier; - %feature("autodoc", " :rtype: None -") BRepClass_FClass2dOfFClassifier; + %feature("autodoc", "* Creates an undefined classifier. + :rtype: None") BRepClass_FClass2dOfFClassifier; BRepClass_FClass2dOfFClassifier (); - %feature("compactdefaultargs") Reset; - %feature("autodoc", " :param L: - :type L: gp_Lin2d - :param P: - :type P: float - :param Tol: - :type Tol: float - :rtype: None -") Reset; - void Reset (const gp_Lin2d & L,const Standard_Real P,const Standard_Real Tol); + + /****************** ClosestIntersection ******************/ + %feature("compactdefaultargs") ClosestIntersection; + %feature("autodoc", "* Returns 0 if the last compared edge had no relevant intersection. Else returns the index of this intersection in the last intersection algorithm. + :rtype: int") ClosestIntersection; + Standard_Integer ClosestIntersection (); + + /****************** Compare ******************/ %feature("compactdefaultargs") Compare; - %feature("autodoc", " :param E: + %feature("autodoc", "* Updates the classification process with the edge from the boundary. + :param E: :type E: BRepClass_Edge & :param Or: :type Or: TopAbs_Orientation - :rtype: None -") Compare; + :rtype: None") Compare; void Compare (const BRepClass_Edge & E,const TopAbs_Orientation Or); - %feature("compactdefaultargs") Parameter; - %feature("autodoc", " :rtype: float -") Parameter; - Standard_Real Parameter (); + + /****************** Intersector ******************/ %feature("compactdefaultargs") Intersector; - %feature("autodoc", " :rtype: BRepClass_Intersector -") Intersector; + %feature("autodoc", "* Returns the intersecting algorithm. + :rtype: BRepClass_Intersector") Intersector; BRepClass_Intersector & Intersector (); - %feature("compactdefaultargs") ClosestIntersection; - %feature("autodoc", " :rtype: int -") ClosestIntersection; - Standard_Integer ClosestIntersection (); - %feature("compactdefaultargs") State; - %feature("autodoc", " :rtype: TopAbs_State -") State; - TopAbs_State State (); + + /****************** IsHeadOrEnd ******************/ %feature("compactdefaultargs") IsHeadOrEnd; - %feature("autodoc", " :rtype: bool -") IsHeadOrEnd; + %feature("autodoc", "* Returns the Standard_True if the closest intersection point represents head or end of the edge. Returns Standard_False otherwise. + :rtype: bool") IsHeadOrEnd; Standard_Boolean IsHeadOrEnd (); + + /****************** Parameter ******************/ + %feature("compactdefaultargs") Parameter; + %feature("autodoc", "* Returns the current value of the parameter. + :rtype: float") Parameter; + Standard_Real Parameter (); + + /****************** Reset ******************/ + %feature("compactdefaultargs") Reset; + %feature("autodoc", "* Starts a classification process. The point to classify is the origin of the line .

is the original length of the segment on used to compute intersections. is the tolerance attached to the line segment in intersections. + :param L: + :type L: gp_Lin2d + :param P: + :type P: float + :param Tol: + :type Tol: float + :rtype: None") Reset; + void Reset (const gp_Lin2d & L,const Standard_Real P,const Standard_Real Tol); + + /****************** State ******************/ + %feature("compactdefaultargs") State; + %feature("autodoc", "* Returns the current state of the point. + :rtype: TopAbs_State") State; + TopAbs_State State (); + }; @@ -141,57 +200,79 @@ class BRepClass_FClass2dOfFClassifier { __repr__ = _dumps_object } }; + +/****************************** +* class BRepClass_FClassifier * +******************************/ %nodefaultctor BRepClass_FClassifier; class BRepClass_FClassifier { public: + /****************** BRepClass_FClassifier ******************/ %feature("compactdefaultargs") BRepClass_FClassifier; - %feature("autodoc", " :rtype: None -") BRepClass_FClassifier; + %feature("autodoc", "* Empty constructor, undefined algorithm. + :rtype: None") BRepClass_FClassifier; BRepClass_FClassifier (); + + /****************** BRepClass_FClassifier ******************/ %feature("compactdefaultargs") BRepClass_FClassifier; - %feature("autodoc", " :param F: + %feature("autodoc", "* Creates an algorithm to classify the Point P with Tolerance on the face described by . + :param F: :type F: BRepClass_FaceExplorer & :param P: :type P: gp_Pnt2d :param Tol: :type Tol: float - :rtype: None -") BRepClass_FClassifier; + :rtype: None") BRepClass_FClassifier; BRepClass_FClassifier (BRepClass_FaceExplorer & F,const gp_Pnt2d & P,const Standard_Real Tol); + + /****************** Edge ******************/ + %feature("compactdefaultargs") Edge; + %feature("autodoc", "* Returns the Edge used to determine the classification. When the State is ON this is the Edge containing the point. + :rtype: BRepClass_Edge") Edge; + const BRepClass_Edge & Edge (); + + /****************** EdgeParameter ******************/ + %feature("compactdefaultargs") EdgeParameter; + %feature("autodoc", "* Returns the parameter on Edge() used to determine the classification. + :rtype: float") EdgeParameter; + Standard_Real EdgeParameter (); + + /****************** NoWires ******************/ + %feature("compactdefaultargs") NoWires; + %feature("autodoc", "* Returns True if the face contains no wire. The state is IN. + :rtype: bool") NoWires; + Standard_Boolean NoWires (); + + /****************** Perform ******************/ %feature("compactdefaultargs") Perform; - %feature("autodoc", " :param F: + %feature("autodoc", "* Classify the Point P with Tolerance on the face described by . + :param F: :type F: BRepClass_FaceExplorer & :param P: :type P: gp_Pnt2d :param Tol: :type Tol: float - :rtype: None -") Perform; + :rtype: None") Perform; void Perform (BRepClass_FaceExplorer & F,const gp_Pnt2d & P,const Standard_Real Tol); - %feature("compactdefaultargs") State; - %feature("autodoc", " :rtype: TopAbs_State -") State; - TopAbs_State State (); - %feature("compactdefaultargs") Rejected; - %feature("autodoc", " :rtype: bool -") Rejected; - Standard_Boolean Rejected (); - %feature("compactdefaultargs") NoWires; - %feature("autodoc", " :rtype: bool -") NoWires; - Standard_Boolean NoWires (); - %feature("compactdefaultargs") Edge; - %feature("autodoc", " :rtype: BRepClass_Edge -") Edge; - const BRepClass_Edge & Edge (); - %feature("compactdefaultargs") EdgeParameter; - %feature("autodoc", " :rtype: float -") EdgeParameter; - Standard_Real EdgeParameter (); + + /****************** Position ******************/ %feature("compactdefaultargs") Position; - %feature("autodoc", " :rtype: IntRes2d_Position -") Position; + %feature("autodoc", "* Returns the position of the point on the edge returned by Edge. + :rtype: IntRes2d_Position") Position; IntRes2d_Position Position (); + + /****************** Rejected ******************/ + %feature("compactdefaultargs") Rejected; + %feature("autodoc", "* Returns True when the state was computed by a rejection. The state is OUT. + :rtype: bool") Rejected; + Standard_Boolean Rejected (); + + /****************** State ******************/ + %feature("compactdefaultargs") State; + %feature("autodoc", "* Returns the result of the classification. + :rtype: TopAbs_State") State; + TopAbs_State State (); + }; @@ -200,113 +281,126 @@ class BRepClass_FClassifier { __repr__ = _dumps_object } }; + +/******************************* +* class BRepClass_FaceExplorer * +*******************************/ %nodefaultctor BRepClass_FaceExplorer; class BRepClass_FaceExplorer { public: + /****************** BRepClass_FaceExplorer ******************/ %feature("compactdefaultargs") BRepClass_FaceExplorer; - %feature("autodoc", " :param F: + %feature("autodoc", ":param F: :type F: TopoDS_Face & - :rtype: None -") BRepClass_FaceExplorer; + :rtype: None") BRepClass_FaceExplorer; BRepClass_FaceExplorer (const TopoDS_Face & F); - %feature("compactdefaultargs") Reject; - %feature("autodoc", " * Should return True if the point is outside a bounding volume of the face. - :param P: - :type P: gp_Pnt2d - :rtype: bool -") Reject; - Standard_Boolean Reject (const gp_Pnt2d & P); - %feature("compactdefaultargs") Segment; - %feature("autodoc", " * Returns in , a segment having at least one intersection with the face boundary to compute intersections. + /****************** CheckPoint ******************/ + %feature("compactdefaultargs") CheckPoint; + %feature("autodoc", "* Checks the point and change its coords if it is located too far from the bounding box of the face. New Coordinates of the point will be on the line between the point and the center of the bounding box. Returns True if point was not changed. + :param thePoint: + :type thePoint: gp_Pnt2d + :rtype: bool") CheckPoint; + Standard_Boolean CheckPoint (gp_Pnt2d & thePoint); + + /****************** CurrentEdge ******************/ + %feature("compactdefaultargs") CurrentEdge; + %feature("autodoc", "* Current edge in current wire and its orientation. + :param E: + :type E: BRepClass_Edge & + :param Or: + :type Or: TopAbs_Orientation & + :rtype: None") CurrentEdge; + void CurrentEdge (BRepClass_Edge & E,TopAbs_Orientation & Or); + + /****************** InitEdges ******************/ + %feature("compactdefaultargs") InitEdges; + %feature("autodoc", "* Starts an exploration of the edges of the current wire. + :rtype: None") InitEdges; + void InitEdges (); + + /****************** InitWires ******************/ + %feature("compactdefaultargs") InitWires; + %feature("autodoc", "* Starts an exploration of the wires. + :rtype: None") InitWires; + void InitWires (); + + /****************** MoreEdges ******************/ + %feature("compactdefaultargs") MoreEdges; + %feature("autodoc", "* Returns True if there is a current edge. + :rtype: bool") MoreEdges; + Standard_Boolean MoreEdges (); + + /****************** MoreWires ******************/ + %feature("compactdefaultargs") MoreWires; + %feature("autodoc", "* Returns True if there is a current wire. + :rtype: bool") MoreWires; + Standard_Boolean MoreWires (); + + /****************** NextEdge ******************/ + %feature("compactdefaultargs") NextEdge; + %feature("autodoc", "* Sets the explorer to the next edge. + :rtype: None") NextEdge; + void NextEdge (); + + /****************** NextWire ******************/ + %feature("compactdefaultargs") NextWire; + %feature("autodoc", "* Sets the explorer to the next wire. + :rtype: None") NextWire; + void NextWire (); + /****************** OtherSegment ******************/ + %feature("compactdefaultargs") OtherSegment; + %feature("autodoc", "* Returns in , a segment having at least one intersection with the face boundary to compute intersections. Each call gives another segment. :param P: :type P: gp_Pnt2d :param L: :type L: gp_Lin2d :param Par: :type Par: float & - :rtype: bool -") Segment; - Standard_Boolean Segment (const gp_Pnt2d & P,gp_Lin2d & L,Standard_Real &OutValue); - %feature("compactdefaultargs") OtherSegment; - %feature("autodoc", " * Returns in , a segment having at least one intersection with the face boundary to compute intersections. Each call gives another segment. + :rtype: bool") OtherSegment; + Standard_Boolean OtherSegment (const gp_Pnt2d & P,gp_Lin2d & L,Standard_Real &OutValue); + /****************** Reject ******************/ + %feature("compactdefaultargs") Reject; + %feature("autodoc", "* Should return True if the point is outside a bounding volume of the face. :param P: :type P: gp_Pnt2d + :rtype: bool") Reject; + Standard_Boolean Reject (const gp_Pnt2d & P); + + /****************** RejectEdge ******************/ + %feature("compactdefaultargs") RejectEdge; + %feature("autodoc", "* Returns True if the edge bounding volume does not intersect the segment. :param L: :type L: gp_Lin2d :param Par: - :type Par: float & - :rtype: bool -") OtherSegment; - Standard_Boolean OtherSegment (const gp_Pnt2d & P,gp_Lin2d & L,Standard_Real &OutValue); - %feature("compactdefaultargs") InitWires; - %feature("autodoc", " * Starts an exploration of the wires. - - :rtype: None -") InitWires; - void InitWires (); - %feature("compactdefaultargs") MoreWires; - %feature("autodoc", " * Returns True if there is a current wire. - - :rtype: bool -") MoreWires; - Standard_Boolean MoreWires (); - %feature("compactdefaultargs") NextWire; - %feature("autodoc", " * Sets the explorer to the next wire. + :type Par: float + :rtype: bool") RejectEdge; + Standard_Boolean RejectEdge (const gp_Lin2d & L,const Standard_Real Par); - :rtype: None -") NextWire; - void NextWire (); + /****************** RejectWire ******************/ %feature("compactdefaultargs") RejectWire; - %feature("autodoc", " * Returns True if the wire bounding volume does not intersect the segment. - + %feature("autodoc", "* Returns True if the wire bounding volume does not intersect the segment. :param L: :type L: gp_Lin2d :param Par: :type Par: float - :rtype: bool -") RejectWire; + :rtype: bool") RejectWire; Standard_Boolean RejectWire (const gp_Lin2d & L,const Standard_Real Par); - %feature("compactdefaultargs") InitEdges; - %feature("autodoc", " * Starts an exploration of the edges of the current wire. - - :rtype: None -") InitEdges; - void InitEdges (); - %feature("compactdefaultargs") MoreEdges; - %feature("autodoc", " * Returns True if there is a current edge. - - :rtype: bool -") MoreEdges; - Standard_Boolean MoreEdges (); - %feature("compactdefaultargs") NextEdge; - %feature("autodoc", " * Sets the explorer to the next edge. - - :rtype: None -") NextEdge; - void NextEdge (); - %feature("compactdefaultargs") RejectEdge; - %feature("autodoc", " * Returns True if the edge bounding volume does not intersect the segment. + /****************** Segment ******************/ + %feature("compactdefaultargs") Segment; + %feature("autodoc", "* Returns in , a segment having at least one intersection with the face boundary to compute intersections. + :param P: + :type P: gp_Pnt2d :param L: :type L: gp_Lin2d :param Par: - :type Par: float - :rtype: bool -") RejectEdge; - Standard_Boolean RejectEdge (const gp_Lin2d & L,const Standard_Real Par); - %feature("compactdefaultargs") CurrentEdge; - %feature("autodoc", " * Current edge in current wire and its orientation. + :type Par: float & + :rtype: bool") Segment; + Standard_Boolean Segment (const gp_Pnt2d & P,gp_Lin2d & L,Standard_Real &OutValue); - :param E: - :type E: BRepClass_Edge & - :param Or: - :type Or: TopAbs_Orientation & - :rtype: None -") CurrentEdge; - void CurrentEdge (BRepClass_Edge & E,TopAbs_Orientation & Or); }; @@ -315,51 +409,71 @@ class BRepClass_FaceExplorer { __repr__ = _dumps_object } }; + +/**************************************** +* class BRepClass_FacePassiveClassifier * +****************************************/ %nodefaultctor BRepClass_FacePassiveClassifier; class BRepClass_FacePassiveClassifier { public: + /****************** BRepClass_FacePassiveClassifier ******************/ %feature("compactdefaultargs") BRepClass_FacePassiveClassifier; - %feature("autodoc", " :rtype: None -") BRepClass_FacePassiveClassifier; + %feature("autodoc", "* Creates an undefined classifier. + :rtype: None") BRepClass_FacePassiveClassifier; BRepClass_FacePassiveClassifier (); - %feature("compactdefaultargs") Reset; - %feature("autodoc", " :param L: - :type L: gp_Lin2d - :param P: - :type P: float - :param Tol: - :type Tol: float - :rtype: None -") Reset; - void Reset (const gp_Lin2d & L,const Standard_Real P,const Standard_Real Tol); + + /****************** ClosestIntersection ******************/ + %feature("compactdefaultargs") ClosestIntersection; + %feature("autodoc", "* Returns 0 if the last compared edge had no relevant intersection. Else returns the index of this intersection in the last intersection algorithm. + :rtype: int") ClosestIntersection; + Standard_Integer ClosestIntersection (); + + /****************** Compare ******************/ %feature("compactdefaultargs") Compare; - %feature("autodoc", " :param E: + %feature("autodoc", "* Updates the classification process with the edge from the boundary. + :param E: :type E: BRepClass_Edge & :param Or: :type Or: TopAbs_Orientation - :rtype: None -") Compare; + :rtype: None") Compare; void Compare (const BRepClass_Edge & E,const TopAbs_Orientation Or); - %feature("compactdefaultargs") Parameter; - %feature("autodoc", " :rtype: float -") Parameter; - Standard_Real Parameter (); + + /****************** Intersector ******************/ %feature("compactdefaultargs") Intersector; - %feature("autodoc", " :rtype: BRepClass_Intersector -") Intersector; + %feature("autodoc", "* Returns the intersecting algorithm. + :rtype: BRepClass_Intersector") Intersector; BRepClass_Intersector & Intersector (); - %feature("compactdefaultargs") ClosestIntersection; - %feature("autodoc", " :rtype: int -") ClosestIntersection; - Standard_Integer ClosestIntersection (); - %feature("compactdefaultargs") State; - %feature("autodoc", " :rtype: TopAbs_State -") State; - TopAbs_State State (); + + /****************** IsHeadOrEnd ******************/ %feature("compactdefaultargs") IsHeadOrEnd; - %feature("autodoc", " :rtype: bool -") IsHeadOrEnd; + %feature("autodoc", "* Returns the Standard_True if the closest intersection point represents head or end of the edge. Returns Standard_False otherwise. + :rtype: bool") IsHeadOrEnd; Standard_Boolean IsHeadOrEnd (); + + /****************** Parameter ******************/ + %feature("compactdefaultargs") Parameter; + %feature("autodoc", "* Returns the current value of the parameter. + :rtype: float") Parameter; + Standard_Real Parameter (); + + /****************** Reset ******************/ + %feature("compactdefaultargs") Reset; + %feature("autodoc", "* Starts a classification process. The point to classify is the origin of the line .

is the original length of the segment on used to compute intersections. is the tolerance attached to the line segment in intersections. + :param L: + :type L: gp_Lin2d + :param P: + :type P: float + :param Tol: + :type Tol: float + :rtype: None") Reset; + void Reset (const gp_Lin2d & L,const Standard_Real P,const Standard_Real Tol); + + /****************** State ******************/ + %feature("compactdefaultargs") State; + %feature("autodoc", "* Returns the current state of the point. + :rtype: TopAbs_State") State; + TopAbs_State State (); + }; @@ -368,30 +482,21 @@ class BRepClass_FacePassiveClassifier { __repr__ = _dumps_object } }; + +/****************************** +* class BRepClass_Intersector * +******************************/ %nodefaultctor BRepClass_Intersector; class BRepClass_Intersector : public Geom2dInt_IntConicCurveOfGInter { public: + /****************** BRepClass_Intersector ******************/ %feature("compactdefaultargs") BRepClass_Intersector; - %feature("autodoc", " :rtype: None -") BRepClass_Intersector; + %feature("autodoc", ":rtype: None") BRepClass_Intersector; BRepClass_Intersector (); - %feature("compactdefaultargs") Perform; - %feature("autodoc", " * Intersect the line segment and the edge. - :param L: - :type L: gp_Lin2d - :param P: - :type P: float - :param Tol: - :type Tol: float - :param E: - :type E: BRepClass_Edge & - :rtype: None -") Perform; - void Perform (const gp_Lin2d & L,const Standard_Real P,const Standard_Real Tol,const BRepClass_Edge & E); + /****************** LocalGeometry ******************/ %feature("compactdefaultargs") LocalGeometry; - %feature("autodoc", " * Returns in , and the tangent, normal and curvature of the edge at parameter value . - + %feature("autodoc", "* Returns in , and the tangent, normal and curvature of the edge at parameter value . :param E: :type E: BRepClass_Edge & :param U: @@ -402,91 +507,35 @@ class BRepClass_Intersector : public Geom2dInt_IntConicCurveOfGInter { :type N: gp_Dir2d :param C: :type C: float & - :rtype: None -") LocalGeometry; + :rtype: None") LocalGeometry; void LocalGeometry (const BRepClass_Edge & E,const Standard_Real U,gp_Dir2d & T,gp_Dir2d & N,Standard_Real &OutValue); -}; - - -%extend BRepClass_Intersector { - %pythoncode { - __repr__ = _dumps_object - } -}; -%nodefaultctor BRepClass_FaceClassifier; -class BRepClass_FaceClassifier : public BRepClass_FClassifier { - public: - %feature("compactdefaultargs") BRepClass_FaceClassifier; - %feature("autodoc", " * Empty constructor, undefined algorithm. - - :rtype: None -") BRepClass_FaceClassifier; - BRepClass_FaceClassifier (); - %feature("compactdefaultargs") BRepClass_FaceClassifier; - %feature("autodoc", " * Creates an algorithm to classify the Point P with Tolerance on the face described by . - - :param F: - :type F: BRepClass_FaceExplorer & - :param P: - :type P: gp_Pnt2d - :param Tol: - :type Tol: float - :rtype: None -") BRepClass_FaceClassifier; - BRepClass_FaceClassifier (BRepClass_FaceExplorer & F,const gp_Pnt2d & P,const Standard_Real Tol); - %feature("compactdefaultargs") BRepClass_FaceClassifier; - %feature("autodoc", " * Creates an algorithm to classify the Point P with Tolerance on the face . - :param F: - :type F: TopoDS_Face & - :param P: - :type P: gp_Pnt2d - :param Tol: - :type Tol: float - :rtype: None -") BRepClass_FaceClassifier; - BRepClass_FaceClassifier (const TopoDS_Face & F,const gp_Pnt2d & P,const Standard_Real Tol); + /****************** Perform ******************/ %feature("compactdefaultargs") Perform; - %feature("autodoc", " * Classify the Point P with Tolerance on the face described by . - - :param F: - :type F: TopoDS_Face & - :param P: - :type P: gp_Pnt2d - :param Tol: - :type Tol: float - :rtype: None -") Perform; - void Perform (const TopoDS_Face & F,const gp_Pnt2d & P,const Standard_Real Tol); - %feature("compactdefaultargs") BRepClass_FaceClassifier; - %feature("autodoc", " * Creates an algorithm to classify the Point P with Tolerance on the face . - - :param F: - :type F: TopoDS_Face & + %feature("autodoc", "* Intersect the line segment and the edge. + :param L: + :type L: gp_Lin2d :param P: - :type P: gp_Pnt + :type P: float :param Tol: :type Tol: float - :rtype: None -") BRepClass_FaceClassifier; - BRepClass_FaceClassifier (const TopoDS_Face & F,const gp_Pnt & P,const Standard_Real Tol); - %feature("compactdefaultargs") Perform; - %feature("autodoc", " * Classify the Point P with Tolerance on the face described by . + :param E: + :type E: BRepClass_Edge & + :rtype: None") Perform; + void Perform (const gp_Lin2d & L,const Standard_Real P,const Standard_Real Tol,const BRepClass_Edge & E); - :param F: - :type F: TopoDS_Face & - :param P: - :type P: gp_Pnt - :param Tol: - :type Tol: float - :rtype: None -") Perform; - void Perform (const TopoDS_Face & F,const gp_Pnt & P,const Standard_Real Tol); }; -%extend BRepClass_FaceClassifier { +%extend BRepClass_Intersector { %pythoncode { __repr__ = _dumps_object } }; + +/********************************* +* class BRepClass_FaceClassifier * +*********************************/ +/* harray1 class */ +/* harray2 class */ +/* harray2 class */ diff --git a/src/SWIG_files/wrapper/BRepClass3d.i b/src/SWIG_files/wrapper/BRepClass3d.i index 191df0619..1ba712515 100644 --- a/src/SWIG_files/wrapper/BRepClass3d.i +++ b/src/SWIG_files/wrapper/BRepClass3d.i @@ -1,6 +1,5 @@ /* -Copyright 2008-2017 Thomas Paviot (tpaviot@gmail.com) - +Copyright 2008-2019 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -15,14 +14,13 @@ 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 BREPCLASS3DDOCSTRING -"" +"BRepClass3d module, see official documentation at +https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brepclass3d.html" %enddef %module (package="OCC.Core", docstring=BREPCLASS3DDOCSTRING) BRepClass3d -#pragma SWIG nowarn=504,325,503 %{ #ifdef WNT @@ -37,113 +35,118 @@ along with pythonOCC. If not, see . %include ../common/OccHandle.i -%include BRepClass3d_headers.i - -/* typedefs */ -/* end typedefs declaration */ - +%{ +#include + +//Dependencies +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +%}; +%import Standard.i +%import NCollection.i +%import TopoDS.i +%import gp.i +%import TopAbs.i +%import IntCurveSurface.i +%import Bnd.i +%import TopTools.i +%import IntCurvesFace.i +%import BRepAdaptor.i /* public enums */ /* end public enums declaration */ -%wrap_handle(BRepClass3d_DataMapNodeOfMapOfInter) +/* handles */ +/* end handles declaration */ + +/* templates */ +%template(BRepClass3d_MapOfInter) NCollection_DataMap ; +%template(BRepClass3d_BndBoxTree) NCollection_UBTree ; +/* end templates declaration */ +/* typedefs */ +typedef NCollection_DataMap BRepClass3d_MapOfInter; +typedef NCollection_DataMap ::Iterator BRepClass3d_DataMapIteratorOfMapOfInter; +typedef NCollection_UBTree BRepClass3d_BndBoxTree; +/* end typedefs declaration */ + +/******************** +* class BRepClass3d * +********************/ %rename(brepclass3d) BRepClass3d; class BRepClass3d { public: + /****************** OuterShell ******************/ %feature("compactdefaultargs") OuterShell; - %feature("autodoc", " * Returns the outer most shell of . Returns a Null shell if has no outer shell. If has only one shell, then it will return, without checking orientation. - + %feature("autodoc", "* Returns the outer most shell of . Returns a Null shell if has no outer shell. If has only one shell, then it will return, without checking orientation. :param S: :type S: TopoDS_Solid & - :rtype: TopoDS_Shell -") OuterShell; + :rtype: TopoDS_Shell") OuterShell; static TopoDS_Shell OuterShell (const TopoDS_Solid & S); -}; - -%extend BRepClass3d { - %pythoncode { - __repr__ = _dumps_object - } -}; -%nodefaultctor BRepClass3d_DataMapIteratorOfMapOfInter; -class BRepClass3d_DataMapIteratorOfMapOfInter : public TCollection_BasicMapIterator { - public: - %feature("compactdefaultargs") BRepClass3d_DataMapIteratorOfMapOfInter; - %feature("autodoc", " :rtype: None -") BRepClass3d_DataMapIteratorOfMapOfInter; - BRepClass3d_DataMapIteratorOfMapOfInter (); - %feature("compactdefaultargs") BRepClass3d_DataMapIteratorOfMapOfInter; - %feature("autodoc", " :param aMap: - :type aMap: BRepClass3d_MapOfInter & - :rtype: None -") BRepClass3d_DataMapIteratorOfMapOfInter; - BRepClass3d_DataMapIteratorOfMapOfInter (const BRepClass3d_MapOfInter & aMap); - %feature("compactdefaultargs") Initialize; - %feature("autodoc", " :param aMap: - :type aMap: BRepClass3d_MapOfInter & - :rtype: None -") Initialize; - void Initialize (const BRepClass3d_MapOfInter & aMap); - %feature("compactdefaultargs") Key; - %feature("autodoc", " :rtype: TopoDS_Shape -") Key; - const TopoDS_Shape Key (); - %feature("compactdefaultargs") Value; - %feature("autodoc", " :rtype: Standard_Address -") Value; - const Standard_Address & Value (); }; -%extend BRepClass3d_DataMapIteratorOfMapOfInter { +%extend BRepClass3d { %pythoncode { __repr__ = _dumps_object } }; -%nodefaultctor BRepClass3d_DataMapNodeOfMapOfInter; -class BRepClass3d_DataMapNodeOfMapOfInter : public TCollection_MapNode { - public: - %feature("compactdefaultargs") BRepClass3d_DataMapNodeOfMapOfInter; - %feature("autodoc", " :param K: - :type K: TopoDS_Shape & - :param I: - :type I: Standard_Address & - :param n: - :type n: TCollection_MapNodePtr & - :rtype: None -") BRepClass3d_DataMapNodeOfMapOfInter; - BRepClass3d_DataMapNodeOfMapOfInter (const TopoDS_Shape & K,const Standard_Address & I,const TCollection_MapNodePtr & n); - %feature("compactdefaultargs") Key; - %feature("autodoc", " :rtype: TopoDS_Shape -") Key; - TopoDS_Shape Key (); - %feature("compactdefaultargs") Value; - %feature("autodoc", " :rtype: Standard_Address -") Value; - Standard_Address & Value (); -}; - -%make_alias(BRepClass3d_DataMapNodeOfMapOfInter) - -%extend BRepClass3d_DataMapNodeOfMapOfInter { - %pythoncode { - __repr__ = _dumps_object - } -}; +/********************************** +* class BRepClass3d_Intersector3d * +**********************************/ %nodefaultctor BRepClass3d_Intersector3d; class BRepClass3d_Intersector3d { public: + /****************** BRepClass3d_Intersector3d ******************/ %feature("compactdefaultargs") BRepClass3d_Intersector3d; - %feature("autodoc", " * Empty constructor. - - :rtype: None -") BRepClass3d_Intersector3d; + %feature("autodoc", "* Empty constructor. + :rtype: None") BRepClass3d_Intersector3d; BRepClass3d_Intersector3d (); - %feature("compactdefaultargs") Perform; - %feature("autodoc", " * Perform the intersection between the segment L(0) ... L(Prm) and the Shape . //! Only the point with the smallest parameter on the line is returned. //! 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). + /****************** Face ******************/ + %feature("compactdefaultargs") Face; + %feature("autodoc", "* Returns the significant face used to determine the intersection. + :rtype: TopoDS_Face") Face; + const TopoDS_Face Face (); + + /****************** HasAPoint ******************/ + %feature("compactdefaultargs") HasAPoint; + %feature("autodoc", "* True is returned if a point has been found. + :rtype: bool") HasAPoint; + Standard_Boolean HasAPoint (); + + /****************** IsDone ******************/ + %feature("compactdefaultargs") IsDone; + %feature("autodoc", "* True is returned when the intersection have been computed. + :rtype: bool") IsDone; + Standard_Boolean IsDone (); + + /****************** Perform ******************/ + %feature("compactdefaultargs") Perform; + %feature("autodoc", "* Perform the intersection between the segment L(0) ... L(Prm) and the Shape . //! Only the point with the smallest parameter on the line is returned. //! 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). :param L: :type L: gp_Lin :param Prm: @@ -152,63 +155,45 @@ class BRepClass3d_Intersector3d { :type Tol: float :param F: :type F: TopoDS_Face & - :rtype: None -") Perform; + :rtype: None") Perform; void Perform (const gp_Lin & L,const Standard_Real Prm,const Standard_Real Tol,const TopoDS_Face & F); - %feature("compactdefaultargs") IsDone; - %feature("autodoc", " * True is returned when the intersection have been computed. - :rtype: bool -") IsDone; - Standard_Boolean IsDone (); - %feature("compactdefaultargs") HasAPoint; - %feature("autodoc", " * True is returned if a point has been found. + /****************** Pnt ******************/ + %feature("compactdefaultargs") Pnt; + %feature("autodoc", "* Returns the geometric point of the intersection between the line and the surface. + :rtype: gp_Pnt") Pnt; + const gp_Pnt Pnt (); - :rtype: bool -") HasAPoint; - Standard_Boolean HasAPoint (); - %feature("compactdefaultargs") UParameter; - %feature("autodoc", " * Returns the U parameter of the intersection point on the surface. + /****************** State ******************/ + %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). + :rtype: TopAbs_State") State; + TopAbs_State State (); - :rtype: float -") UParameter; + /****************** Transition ******************/ + %feature("compactdefaultargs") Transition; + %feature("autodoc", "* Returns the transition of the line on the surface. + :rtype: IntCurveSurface_TransitionOnCurve") Transition; + IntCurveSurface_TransitionOnCurve Transition (); + + /****************** UParameter ******************/ + %feature("compactdefaultargs") UParameter; + %feature("autodoc", "* Returns the U parameter of the intersection point on the surface. + :rtype: float") UParameter; Standard_Real UParameter (); - %feature("compactdefaultargs") VParameter; - %feature("autodoc", " * Returns the V parameter of the intersection point on the surface. - :rtype: float -") VParameter; + /****************** VParameter ******************/ + %feature("compactdefaultargs") VParameter; + %feature("autodoc", "* Returns the V parameter of the intersection point on the surface. + :rtype: float") VParameter; Standard_Real VParameter (); - %feature("compactdefaultargs") WParameter; - %feature("autodoc", " * Returns the parameter of the intersection point on the line. - :rtype: float -") WParameter; + /****************** WParameter ******************/ + %feature("compactdefaultargs") WParameter; + %feature("autodoc", "* Returns the parameter of the intersection point on the line. + :rtype: float") WParameter; Standard_Real WParameter (); - %feature("compactdefaultargs") Pnt; - %feature("autodoc", " * Returns the geometric point of the intersection between the line and the surface. - - :rtype: gp_Pnt -") Pnt; - const gp_Pnt Pnt (); - %feature("compactdefaultargs") Transition; - %feature("autodoc", " * Returns the transition of the line on the surface. - - :rtype: IntCurveSurface_TransitionOnCurve -") Transition; - IntCurveSurface_TransitionOnCurve Transition (); - %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). - :rtype: TopAbs_State -") State; - TopAbs_State State (); - %feature("compactdefaultargs") Face; - %feature("autodoc", " * Returns the significant face used to determine the intersection. - - :rtype: TopoDS_Face -") Face; - const TopoDS_Face Face (); }; @@ -217,156 +202,77 @@ class BRepClass3d_Intersector3d { __repr__ = _dumps_object } }; -%nodefaultctor BRepClass3d_MapOfInter; -class BRepClass3d_MapOfInter : public TCollection_BasicMap { - public: - %feature("compactdefaultargs") BRepClass3d_MapOfInter; - %feature("autodoc", " :param NbBuckets: default value is 1 - :type NbBuckets: int - :rtype: None -") BRepClass3d_MapOfInter; - BRepClass3d_MapOfInter (const Standard_Integer NbBuckets = 1); - %feature("compactdefaultargs") Assign; - %feature("autodoc", " :param Other: - :type Other: BRepClass3d_MapOfInter & - :rtype: BRepClass3d_MapOfInter -") Assign; - BRepClass3d_MapOfInter & Assign (const BRepClass3d_MapOfInter & Other); - %feature("compactdefaultargs") operator =; - %feature("autodoc", " :param Other: - :type Other: BRepClass3d_MapOfInter & - :rtype: BRepClass3d_MapOfInter -") operator =; - BRepClass3d_MapOfInter & operator = (const BRepClass3d_MapOfInter & Other); - %feature("compactdefaultargs") ReSize; - %feature("autodoc", " :param NbBuckets: - :type NbBuckets: int - :rtype: None -") ReSize; - void ReSize (const Standard_Integer NbBuckets); - %feature("compactdefaultargs") Clear; - %feature("autodoc", " :rtype: None -") Clear; - void Clear (); - %feature("compactdefaultargs") Bind; - %feature("autodoc", " :param K: - :type K: TopoDS_Shape & - :param I: - :type I: Standard_Address & - :rtype: bool -") Bind; - Standard_Boolean Bind (const TopoDS_Shape & K,const Standard_Address & I); - %feature("compactdefaultargs") IsBound; - %feature("autodoc", " :param K: - :type K: TopoDS_Shape & - :rtype: bool -") IsBound; - Standard_Boolean IsBound (const TopoDS_Shape & K); - %feature("compactdefaultargs") UnBind; - %feature("autodoc", " :param K: - :type K: TopoDS_Shape & - :rtype: bool -") UnBind; - Standard_Boolean UnBind (const TopoDS_Shape & K); - %feature("compactdefaultargs") Find; - %feature("autodoc", " :param K: - :type K: TopoDS_Shape & - :rtype: Standard_Address -") Find; - const Standard_Address & Find (const TopoDS_Shape & K); - %feature("compactdefaultargs") ChangeFind; - %feature("autodoc", " :param K: - :type K: TopoDS_Shape & - :rtype: Standard_Address -") ChangeFind; - Standard_Address & ChangeFind (const TopoDS_Shape & K); - %feature("compactdefaultargs") Find1; - %feature("autodoc", " :param K: - :type K: TopoDS_Shape & - :rtype: Standard_Address -") Find1; - Standard_Address Find1 (const TopoDS_Shape & K); - %feature("compactdefaultargs") ChangeFind1; - %feature("autodoc", " :param K: - :type K: TopoDS_Shape & - :rtype: Standard_Address -") ChangeFind1; - Standard_Address ChangeFind1 (const TopoDS_Shape & K); -}; - -%extend BRepClass3d_MapOfInter { - %pythoncode { - __repr__ = _dumps_object - } -}; +/******************************** +* class BRepClass3d_SClassifier * +********************************/ %nodefaultctor BRepClass3d_SClassifier; class BRepClass3d_SClassifier { public: + /****************** BRepClass3d_SClassifier ******************/ %feature("compactdefaultargs") BRepClass3d_SClassifier; - %feature("autodoc", " * Empty constructor. - - :rtype: None -") BRepClass3d_SClassifier; + %feature("autodoc", "* Empty constructor. + :rtype: None") BRepClass3d_SClassifier; BRepClass3d_SClassifier (); - %feature("compactdefaultargs") BRepClass3d_SClassifier; - %feature("autodoc", " * Constructor to classify the point P with the tolerance Tol on the solid S. + /****************** BRepClass3d_SClassifier ******************/ + %feature("compactdefaultargs") BRepClass3d_SClassifier; + %feature("autodoc", "* Constructor to classify the point P with the tolerance Tol on the solid S. :param S: :type S: BRepClass3d_SolidExplorer & :param P: :type P: gp_Pnt :param Tol: :type Tol: float - :rtype: None -") BRepClass3d_SClassifier; + :rtype: None") BRepClass3d_SClassifier; BRepClass3d_SClassifier (BRepClass3d_SolidExplorer & S,const gp_Pnt & P,const Standard_Real Tol); - %feature("compactdefaultargs") Perform; - %feature("autodoc", " * Classify the point P with the tolerance Tol on the solid S. + /****************** Face ******************/ + %feature("compactdefaultargs") Face; + %feature("autodoc", "* Returns the face used to determine the classification. When the state is ON, this is the face containing the point. //! When Rejected() returns True, Face() has no signification. + :rtype: TopoDS_Face") Face; + TopoDS_Face Face (); + + /****************** IsOnAFace ******************/ + %feature("compactdefaultargs") IsOnAFace; + %feature("autodoc", "* Returns True when the point is a point of a face. + :rtype: bool") IsOnAFace; + Standard_Boolean IsOnAFace (); + + /****************** Perform ******************/ + %feature("compactdefaultargs") Perform; + %feature("autodoc", "* Classify the point P with the tolerance Tol on the solid S. :param S: :type S: BRepClass3d_SolidExplorer & :param P: :type P: gp_Pnt :param Tol: :type Tol: float - :rtype: None -") Perform; + :rtype: None") Perform; void Perform (BRepClass3d_SolidExplorer & S,const gp_Pnt & P,const Standard_Real Tol); - %feature("compactdefaultargs") PerformInfinitePoint; - %feature("autodoc", " * Classify an infinite point with the tolerance Tol on the solid S. + /****************** PerformInfinitePoint ******************/ + %feature("compactdefaultargs") PerformInfinitePoint; + %feature("autodoc", "* Classify an infinite point with the tolerance Tol on the solid S. :param S: :type S: BRepClass3d_SolidExplorer & :param Tol: :type Tol: float - :rtype: None -") PerformInfinitePoint; + :rtype: None") PerformInfinitePoint; void PerformInfinitePoint (BRepClass3d_SolidExplorer & S,const Standard_Real Tol); - %feature("compactdefaultargs") Rejected; - %feature("autodoc", " * Returns True if the classification has been computed by rejection. The State is then OUT. - :rtype: bool -") Rejected; + /****************** Rejected ******************/ + %feature("compactdefaultargs") Rejected; + %feature("autodoc", "* Returns True if the classification has been computed by rejection. The State is then OUT. + :rtype: bool") Rejected; Standard_Boolean Rejected (); - %feature("compactdefaultargs") State; - %feature("autodoc", " * Returns the result of the classification. - :rtype: TopAbs_State -") State; + /****************** State ******************/ + %feature("compactdefaultargs") State; + %feature("autodoc", "* Returns the result of the classification. + :rtype: TopAbs_State") State; TopAbs_State State (); - %feature("compactdefaultargs") IsOnAFace; - %feature("autodoc", " * Returns True when the point is a point of a face. - - :rtype: bool -") IsOnAFace; - Standard_Boolean IsOnAFace (); - %feature("compactdefaultargs") Face; - %feature("autodoc", " * Returns the face used to determine the classification. When the state is ON, this is the face containing the point. //! When Rejected() returns True, Face() has no signification. - :rtype: TopoDS_Face -") Face; - TopoDS_Face Face (); }; @@ -375,59 +281,75 @@ class BRepClass3d_SClassifier { __repr__ = _dumps_object } }; + +/********************************** +* class BRepClass3d_SolidExplorer * +**********************************/ %nodefaultctor BRepClass3d_SolidExplorer; class BRepClass3d_SolidExplorer { public: + /****************** BRepClass3d_SolidExplorer ******************/ %feature("compactdefaultargs") BRepClass3d_SolidExplorer; - %feature("autodoc", " :rtype: None -") BRepClass3d_SolidExplorer; + %feature("autodoc", ":rtype: None") BRepClass3d_SolidExplorer; BRepClass3d_SolidExplorer (); - %feature("compactdefaultargs") BRepClass3d_SolidExplorer; - %feature("autodoc", " * Raise if called. - :param Oth: - :type Oth: BRepClass3d_SolidExplorer & - :rtype: None -") BRepClass3d_SolidExplorer; - BRepClass3d_SolidExplorer (const BRepClass3d_SolidExplorer & Oth); + /****************** BRepClass3d_SolidExplorer ******************/ %feature("compactdefaultargs") BRepClass3d_SolidExplorer; - %feature("autodoc", " :param S: + %feature("autodoc", ":param S: :type S: TopoDS_Shape & - :rtype: None -") BRepClass3d_SolidExplorer; + :rtype: None") BRepClass3d_SolidExplorer; BRepClass3d_SolidExplorer (const TopoDS_Shape & S); - %feature("compactdefaultargs") Delete; - %feature("autodoc", " :rtype: void -") Delete; - virtual void Delete (); - %feature("compactdefaultargs") InitShape; - %feature("autodoc", " :param S: - :type S: TopoDS_Shape & - :rtype: None -") InitShape; - void InitShape (const TopoDS_Shape & S); - %feature("compactdefaultargs") Reject; - %feature("autodoc", " * Should return True if P outside of bounding vol. of the shape - :param P: + /****************** Box ******************/ + %feature("compactdefaultargs") Box; + %feature("autodoc", ":rtype: Bnd_Box") Box; + const Bnd_Box & Box (); + + /****************** CurrentFace ******************/ + %feature("compactdefaultargs") CurrentFace; + %feature("autodoc", "* Returns the current face. + :rtype: TopoDS_Face") CurrentFace; + TopoDS_Face CurrentFace (); + + /****************** CurrentShell ******************/ + %feature("compactdefaultargs") CurrentShell; + %feature("autodoc", "* Returns the current shell. + :rtype: TopoDS_Shell") CurrentShell; + TopoDS_Shell CurrentShell (); + + /****************** Destroy ******************/ + %feature("compactdefaultargs") Destroy; + %feature("autodoc", ":rtype: None") Destroy; + void Destroy (); + + /****************** DumpSegment ******************/ + %feature("compactdefaultargs") DumpSegment; + %feature("autodoc", ":param P: :type P: gp_Pnt - :rtype: bool -") Reject; - virtual Standard_Boolean Reject (const gp_Pnt & P); - %feature("compactdefaultargs") FindAPointInTheFace; - %feature("autodoc", " * compute a point P in the face F. Param is a Real in ]0,1[ and is used to initialise the algorithm. For different values , different points are returned. + :param L: + :type L: gp_Lin + :param Par: + :type Par: float + :param S: + :type S: TopAbs_State + :rtype: void") DumpSegment; + virtual void DumpSegment (const gp_Pnt & P,const gp_Lin & L,const Standard_Real Par,const TopAbs_State S); + /****************** FindAPointInTheFace ******************/ + %feature("compactdefaultargs") FindAPointInTheFace; + %feature("autodoc", "* compute a point P in the face F. Param is a Real in ]0,1[ and is used to initialise the algorithm. For different values , different points are returned. :param F: :type F: TopoDS_Face & :param P: :type P: gp_Pnt :param Param: :type Param: float & - :rtype: bool -") FindAPointInTheFace; + :rtype: bool") FindAPointInTheFace; static Standard_Boolean FindAPointInTheFace (const TopoDS_Face & F,gp_Pnt & P,Standard_Real &OutValue); + + /****************** FindAPointInTheFace ******************/ %feature("compactdefaultargs") FindAPointInTheFace; - %feature("autodoc", " :param F: + %feature("autodoc", ":param F: :type F: TopoDS_Face & :param P: :type P: gp_Pnt @@ -437,11 +359,12 @@ class BRepClass3d_SolidExplorer { :type v: float & :param Param: :type Param: float & - :rtype: bool -") FindAPointInTheFace; + :rtype: bool") FindAPointInTheFace; static Standard_Boolean FindAPointInTheFace (const TopoDS_Face & F,gp_Pnt & P,Standard_Real &OutValue,Standard_Real &OutValue,Standard_Real &OutValue); + + /****************** FindAPointInTheFace ******************/ %feature("compactdefaultargs") FindAPointInTheFace; - %feature("autodoc", " :param F: + %feature("autodoc", ":param F: :type F: TopoDS_Face & :param P: :type P: gp_Pnt @@ -455,11 +378,12 @@ class BRepClass3d_SolidExplorer { :type theVecD1U: gp_Vec :param theVecD1V: :type theVecD1V: gp_Vec - :rtype: bool -") FindAPointInTheFace; + :rtype: bool") FindAPointInTheFace; static Standard_Boolean FindAPointInTheFace (const TopoDS_Face & F,gp_Pnt & P,Standard_Real &OutValue,Standard_Real &OutValue,Standard_Real &OutValue,gp_Vec & theVecD1U,gp_Vec & theVecD1V); + + /****************** FindAPointInTheFace ******************/ %feature("compactdefaultargs") FindAPointInTheFace; - %feature("autodoc", " :param F: + %feature("autodoc", ":param F: :type F: TopoDS_Face & :param P: :type P: gp_Pnt @@ -467,29 +391,117 @@ class BRepClass3d_SolidExplorer { :type u: float & :param v: :type v: float & - :rtype: bool -") FindAPointInTheFace; + :rtype: bool") FindAPointInTheFace; static Standard_Boolean FindAPointInTheFace (const TopoDS_Face & F,gp_Pnt & P,Standard_Real &OutValue,Standard_Real &OutValue); + + /****************** FindAPointInTheFace ******************/ %feature("compactdefaultargs") FindAPointInTheFace; - %feature("autodoc", " :param F: + %feature("autodoc", ":param F: :type F: TopoDS_Face & :param P: :type P: gp_Pnt - :rtype: bool -") FindAPointInTheFace; + :rtype: bool") FindAPointInTheFace; static Standard_Boolean FindAPointInTheFace (const TopoDS_Face & F,gp_Pnt & P); + + /****************** FindAPointInTheFace ******************/ %feature("compactdefaultargs") FindAPointInTheFace; - %feature("autodoc", " :param F: + %feature("autodoc", ":param F: :type F: TopoDS_Face & :param u: :type u: float & :param v: :type v: float & - :rtype: bool -") FindAPointInTheFace; + :rtype: bool") FindAPointInTheFace; static Standard_Boolean FindAPointInTheFace (const TopoDS_Face & F,Standard_Real &OutValue,Standard_Real &OutValue); + + /****************** GetFaceSegmentIndex ******************/ + %feature("compactdefaultargs") GetFaceSegmentIndex; + %feature("autodoc", "* Returns the index of face for which last segment is calculated. + :rtype: int") GetFaceSegmentIndex; + Standard_Integer GetFaceSegmentIndex (); + + /****************** GetMapEV ******************/ + %feature("compactdefaultargs") GetMapEV; + %feature("autodoc", "* Return edge/vertices map for current shape. + :rtype: TopTools_IndexedMapOfShape") GetMapEV; + const TopTools_IndexedMapOfShape & GetMapEV (); + + /****************** GetShape ******************/ + %feature("compactdefaultargs") GetShape; + %feature("autodoc", ":rtype: TopoDS_Shape") GetShape; + const TopoDS_Shape GetShape (); + + /****************** GetTree ******************/ + %feature("compactdefaultargs") GetTree; + %feature("autodoc", "* Return UB-tree instance which is used for edge / vertex checks. + :rtype: BRepClass3d_BndBoxTree") GetTree; + const BRepClass3d_BndBoxTree & GetTree (); + + /****************** InitFace ******************/ + %feature("compactdefaultargs") InitFace; + %feature("autodoc", "* Starts an exploration of the faces of the current shell. + :rtype: None") InitFace; + void InitFace (); + + /****************** InitShape ******************/ + %feature("compactdefaultargs") InitShape; + %feature("autodoc", ":param S: + :type S: TopoDS_Shape & + :rtype: None") InitShape; + void InitShape (const TopoDS_Shape & S); + + /****************** InitShell ******************/ + %feature("compactdefaultargs") InitShell; + %feature("autodoc", "* Starts an exploration of the shells. + :rtype: None") InitShell; + void InitShell (); + + /****************** Intersector ******************/ + %feature("compactdefaultargs") Intersector; + %feature("autodoc", ":param F: + :type F: TopoDS_Face & + :rtype: IntCurvesFace_Intersector") Intersector; + IntCurvesFace_Intersector & Intersector (const TopoDS_Face & F); + + /****************** MoreFace ******************/ + %feature("compactdefaultargs") MoreFace; + %feature("autodoc", "* Returns True if current face in current shell. + :rtype: bool") MoreFace; + Standard_Boolean MoreFace (); + + /****************** MoreShell ******************/ + %feature("compactdefaultargs") MoreShell; + %feature("autodoc", "* Returns True if there is a current shell. + :rtype: bool") MoreShell; + Standard_Boolean MoreShell (); + + /****************** NextFace ******************/ + %feature("compactdefaultargs") NextFace; + %feature("autodoc", "* Sets the explorer to the next Face of the current shell. + :rtype: None") NextFace; + void NextFace (); + + /****************** NextShell ******************/ + %feature("compactdefaultargs") NextShell; + %feature("autodoc", "* Sets the explorer to the next shell. + :rtype: None") NextShell; + void NextShell (); + + /****************** OtherSegment ******************/ + %feature("compactdefaultargs") OtherSegment; + %feature("autodoc", "* Returns in , a segment having at least one intersection with the shape boundary to compute intersections. //! The First Call to this method returns a line which point to a point of the first face of the shape. The Second Call provide a line to the second face and so on. + :param P: + :type P: gp_Pnt + :param L: + :type L: gp_Lin + :param Par: + :type Par: float & + :rtype: int") OtherSegment; + Standard_Integer OtherSegment (const gp_Pnt & P,gp_Lin & L,Standard_Real &OutValue); + + /****************** PointInTheFace ******************/ %feature("compactdefaultargs") PointInTheFace; - %feature("autodoc", " :param F: + %feature("autodoc", ":param F: :type F: TopoDS_Face & :param P: :type P: gp_Pnt @@ -501,11 +513,12 @@ class BRepClass3d_SolidExplorer { :type Param: float & :param Index: :type Index: int & - :rtype: bool -") PointInTheFace; + :rtype: bool") PointInTheFace; Standard_Boolean PointInTheFace (const TopoDS_Face & F,gp_Pnt & P,Standard_Real &OutValue,Standard_Real &OutValue,Standard_Real &OutValue,Standard_Integer &OutValue); + + /****************** PointInTheFace ******************/ %feature("compactdefaultargs") PointInTheFace; - %feature("autodoc", " :param F: + %feature("autodoc", ":param F: :type F: TopoDS_Face & :param P: :type P: gp_Pnt @@ -518,7 +531,7 @@ class BRepClass3d_SolidExplorer { :param Index: :type Index: int & :param surf: - :type surf: Handle_BRepAdaptor_HSurface & + :type surf: opencascade::handle & :param u1: :type u1: float :param v1: @@ -527,12 +540,12 @@ class BRepClass3d_SolidExplorer { :type u2: float :param v2: :type v2: float - :rtype: bool -") PointInTheFace; - Standard_Boolean PointInTheFace (const TopoDS_Face & F,gp_Pnt & P,Standard_Real &OutValue,Standard_Real &OutValue,Standard_Real &OutValue,Standard_Integer &OutValue,const Handle_BRepAdaptor_HSurface & surf,const Standard_Real u1,const Standard_Real v1,const Standard_Real u2,const Standard_Real v2); - %feature("compactdefaultargs") PointInTheFace; - %feature("autodoc", " * gives point index to search from and returns point index of succeseful search + :rtype: bool") 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); + /****************** PointInTheFace ******************/ + %feature("compactdefaultargs") PointInTheFace; + %feature("autodoc", "* gives point index to search from and returns point index of succeseful search :param F: :type F: TopoDS_Face & :param P: @@ -546,7 +559,7 @@ class BRepClass3d_SolidExplorer { :param Index: :type Index: int & :param surf: - :type surf: Handle_BRepAdaptor_HSurface & + :type surf: opencascade::handle & :param u1: :type u1: float :param v1: @@ -559,129 +572,45 @@ class BRepClass3d_SolidExplorer { :type theVecD1U: gp_Vec :param theVecD1V: :type theVecD1V: gp_Vec - :rtype: bool -") PointInTheFace; - Standard_Boolean PointInTheFace (const TopoDS_Face & F,gp_Pnt & P,Standard_Real &OutValue,Standard_Real &OutValue,Standard_Real &OutValue,Standard_Integer &OutValue,const Handle_BRepAdaptor_HSurface & surf,const Standard_Real u1,const Standard_Real v1,const Standard_Real u2,const Standard_Real v2,gp_Vec & theVecD1U,gp_Vec & theVecD1V); - %feature("compactdefaultargs") InitShell; - %feature("autodoc", " * Starts an exploration of the shells. + :rtype: bool") 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); - :rtype: None -") InitShell; - void InitShell (); - %feature("compactdefaultargs") MoreShell; - %feature("autodoc", " * Returns True if there is a current shell. - - :rtype: bool -") MoreShell; - Standard_Boolean MoreShell (); - %feature("compactdefaultargs") NextShell; - %feature("autodoc", " * Sets the explorer to the next shell. - - :rtype: None -") NextShell; - void NextShell (); - %feature("compactdefaultargs") CurrentShell; - %feature("autodoc", " * Returns the current shell. - - :rtype: TopoDS_Shell -") CurrentShell; - TopoDS_Shell CurrentShell (); - %feature("compactdefaultargs") RejectShell; - %feature("autodoc", " * Returns True if the Shell is rejected. - - :param L: - :type L: gp_Lin - :rtype: bool -") RejectShell; - virtual Standard_Boolean RejectShell (const gp_Lin & L); - %feature("compactdefaultargs") InitFace; - %feature("autodoc", " * Starts an exploration of the faces of the current shell. - - :rtype: None -") InitFace; - void InitFace (); - %feature("compactdefaultargs") MoreFace; - %feature("autodoc", " * Returns True if current face in current shell. - - :rtype: bool -") MoreFace; - Standard_Boolean MoreFace (); - %feature("compactdefaultargs") NextFace; - %feature("autodoc", " * Sets the explorer to the next Face of the current shell. - - :rtype: None -") NextFace; - void NextFace (); - %feature("compactdefaultargs") CurrentFace; - %feature("autodoc", " * Returns the current face. + /****************** Reject ******************/ + %feature("compactdefaultargs") Reject; + %feature("autodoc", "* Should return True if P outside of bounding vol. of the shape + :param P: + :type P: gp_Pnt + :rtype: bool") Reject; + virtual Standard_Boolean Reject (const gp_Pnt & P); - :rtype: TopoDS_Face -") CurrentFace; - TopoDS_Face CurrentFace (); + /****************** RejectFace ******************/ %feature("compactdefaultargs") RejectFace; - %feature("autodoc", " * returns True if the face is rejected. - + %feature("autodoc", "* returns True if the face is rejected. :param L: :type L: gp_Lin - :rtype: bool -") RejectFace; + :rtype: bool") RejectFace; virtual Standard_Boolean RejectFace (const gp_Lin & L); - %feature("compactdefaultargs") Segment; - %feature("autodoc", " * Returns in , a segment having at least one intersection with the shape boundary to compute intersections. - :param P: - :type P: gp_Pnt + /****************** RejectShell ******************/ + %feature("compactdefaultargs") RejectShell; + %feature("autodoc", "* Returns True if the Shell is rejected. :param L: :type L: gp_Lin - :param Par: - :type Par: float & - :rtype: int -") Segment; - Standard_Integer Segment (const gp_Pnt & P,gp_Lin & L,Standard_Real &OutValue); - %feature("compactdefaultargs") OtherSegment; - %feature("autodoc", " * Returns in , a segment having at least one intersection with the shape boundary to compute intersections. //! The First Call to this method returns a line which point to a point of the first face of the shape. The Second Call provide a line to the second face and so on. + :rtype: bool") RejectShell; + virtual Standard_Boolean RejectShell (const gp_Lin & L); + /****************** Segment ******************/ + %feature("compactdefaultargs") Segment; + %feature("autodoc", "* Returns in , a segment having at least one intersection with the shape boundary to compute intersections. :param P: :type P: gp_Pnt :param L: :type L: gp_Lin :param Par: :type Par: float & - :rtype: int -") OtherSegment; - Standard_Integer OtherSegment (const gp_Pnt & P,gp_Lin & L,Standard_Real &OutValue); - %feature("compactdefaultargs") GetFaceSegmentIndex; - %feature("autodoc", " * Returns the index of face for which last segment is calculated. + :rtype: int") Segment; + Standard_Integer Segment (const gp_Pnt & P,gp_Lin & L,Standard_Real &OutValue); - :rtype: int -") GetFaceSegmentIndex; - Standard_Integer GetFaceSegmentIndex (); - %feature("compactdefaultargs") DumpSegment; - %feature("autodoc", " :param P: - :type P: gp_Pnt - :param L: - :type L: gp_Lin - :param Par: - :type Par: float - :param S: - :type S: TopAbs_State - :rtype: void -") DumpSegment; - virtual void DumpSegment (const gp_Pnt & P,const gp_Lin & L,const Standard_Real Par,const TopAbs_State S); - %feature("compactdefaultargs") Box; - %feature("autodoc", " :rtype: Bnd_Box -") Box; - const Bnd_Box & Box (); - %feature("compactdefaultargs") Intersector; - %feature("autodoc", " :param F: - :type F: TopoDS_Face & - :rtype: IntCurvesFace_Intersector -") Intersector; - IntCurvesFace_Intersector & Intersector (const TopoDS_Face & F); - %feature("compactdefaultargs") Destroy; - %feature("autodoc", " :rtype: None -") Destroy; - void Destroy (); }; @@ -690,47 +619,65 @@ class BRepClass3d_SolidExplorer { __repr__ = _dumps_object } }; + +/******************************************* +* class BRepClass3d_SolidPassiveClassifier * +*******************************************/ %nodefaultctor BRepClass3d_SolidPassiveClassifier; class BRepClass3d_SolidPassiveClassifier { public: + /****************** BRepClass3d_SolidPassiveClassifier ******************/ %feature("compactdefaultargs") BRepClass3d_SolidPassiveClassifier; - %feature("autodoc", " :rtype: None -") BRepClass3d_SolidPassiveClassifier; + %feature("autodoc", "* Creates an undefined classifier. + :rtype: None") BRepClass3d_SolidPassiveClassifier; BRepClass3d_SolidPassiveClassifier (); - %feature("compactdefaultargs") Reset; - %feature("autodoc", " :param L: - :type L: gp_Lin - :param P: - :type P: float - :param Tol: - :type Tol: float - :rtype: None -") Reset; - void Reset (const gp_Lin & L,const Standard_Real P,const Standard_Real Tol); + + /****************** Compare ******************/ %feature("compactdefaultargs") Compare; - %feature("autodoc", " :param F: + %feature("autodoc", "* Updates the classification process with the face from the boundary. + :param F: :type F: TopoDS_Face & :param Or: :type Or: TopAbs_Orientation - :rtype: None -") Compare; + :rtype: None") Compare; void Compare (const TopoDS_Face & F,const TopAbs_Orientation Or); - %feature("compactdefaultargs") Parameter; - %feature("autodoc", " :rtype: float -") Parameter; - Standard_Real Parameter (); + + /****************** HasIntersection ******************/ %feature("compactdefaultargs") HasIntersection; - %feature("autodoc", " :rtype: bool -") HasIntersection; + %feature("autodoc", "* Returns True if an intersection is computed. + :rtype: bool") HasIntersection; Standard_Boolean HasIntersection (); + + /****************** Intersector ******************/ %feature("compactdefaultargs") Intersector; - %feature("autodoc", " :rtype: BRepClass3d_Intersector3d -") Intersector; + %feature("autodoc", "* Returns the intersecting algorithm. + :rtype: BRepClass3d_Intersector3d") Intersector; BRepClass3d_Intersector3d & Intersector (); + + /****************** Parameter ******************/ + %feature("compactdefaultargs") Parameter; + %feature("autodoc", "* Returns the current value of the parameter. + :rtype: float") Parameter; + Standard_Real Parameter (); + + /****************** Reset ******************/ + %feature("compactdefaultargs") Reset; + %feature("autodoc", "* Starts a classification process. The point to classify is the origin of the line .

is the original length of the segment on used to compute intersections. is the tolerance attached to the intersections. + :param L: + :type L: gp_Lin + :param P: + :type P: float + :param Tol: + :type Tol: float + :rtype: None") Reset; + void Reset (const gp_Lin & L,const Standard_Real P,const Standard_Real Tol); + + /****************** State ******************/ %feature("compactdefaultargs") State; - %feature("autodoc", " :rtype: TopAbs_State -") State; + %feature("autodoc", "* Returns the current state of the point. + :rtype: TopAbs_State") State; TopAbs_State State (); + }; @@ -739,63 +686,75 @@ class BRepClass3d_SolidPassiveClassifier { __repr__ = _dumps_object } }; + +/******************************************* +* class BRepClass3d_BndBoxTreeSelectorLine * +*******************************************/ +/******************************************** +* class BRepClass3d_BndBoxTreeSelectorPoint * +********************************************/ +/************************************ +* class BRepClass3d_SolidClassifier * +************************************/ %nodefaultctor BRepClass3d_SolidClassifier; class BRepClass3d_SolidClassifier : public BRepClass3d_SClassifier { public: + /****************** BRepClass3d_SolidClassifier ******************/ %feature("compactdefaultargs") BRepClass3d_SolidClassifier; - %feature("autodoc", " * empty constructor - - :rtype: None -") BRepClass3d_SolidClassifier; + %feature("autodoc", "* empty constructor + :rtype: None") BRepClass3d_SolidClassifier; BRepClass3d_SolidClassifier (); - %feature("compactdefaultargs") Load; - %feature("autodoc", " :param S: - :type S: TopoDS_Shape & - :rtype: None -") Load; - void Load (const TopoDS_Shape & S); - %feature("compactdefaultargs") BRepClass3d_SolidClassifier; - %feature("autodoc", " * Constructor from a Shape. + /****************** BRepClass3d_SolidClassifier ******************/ + %feature("compactdefaultargs") BRepClass3d_SolidClassifier; + %feature("autodoc", "* Constructor from a Shape. :param S: :type S: TopoDS_Shape & - :rtype: None -") BRepClass3d_SolidClassifier; + :rtype: None") BRepClass3d_SolidClassifier; BRepClass3d_SolidClassifier (const TopoDS_Shape & S); - %feature("compactdefaultargs") BRepClass3d_SolidClassifier; - %feature("autodoc", " * Constructor to classify the point P with the tolerance Tol on the solid S. + /****************** BRepClass3d_SolidClassifier ******************/ + %feature("compactdefaultargs") BRepClass3d_SolidClassifier; + %feature("autodoc", "* Constructor to classify the point P with the tolerance Tol on the solid S. :param S: :type S: TopoDS_Shape & :param P: :type P: gp_Pnt :param Tol: :type Tol: float - :rtype: None -") BRepClass3d_SolidClassifier; + :rtype: None") BRepClass3d_SolidClassifier; BRepClass3d_SolidClassifier (const TopoDS_Shape & S,const gp_Pnt & P,const Standard_Real Tol); - %feature("compactdefaultargs") Perform; - %feature("autodoc", " * Classify the point P with the tolerance Tol on the solid S. + /****************** Destroy ******************/ + %feature("compactdefaultargs") Destroy; + %feature("autodoc", ":rtype: None") Destroy; + void Destroy (); + + /****************** Load ******************/ + %feature("compactdefaultargs") Load; + %feature("autodoc", ":param S: + :type S: TopoDS_Shape & + :rtype: None") Load; + void Load (const TopoDS_Shape & S); + + /****************** Perform ******************/ + %feature("compactdefaultargs") Perform; + %feature("autodoc", "* Classify the point P with the tolerance Tol on the solid S. :param P: :type P: gp_Pnt :param Tol: :type Tol: float - :rtype: None -") Perform; + :rtype: None") Perform; void Perform (const gp_Pnt & P,const Standard_Real Tol); - %feature("compactdefaultargs") PerformInfinitePoint; - %feature("autodoc", " * Classify an infinite point with the tolerance Tol on the solid S. Useful for compute the orientation of a solid. + /****************** PerformInfinitePoint ******************/ + %feature("compactdefaultargs") PerformInfinitePoint; + %feature("autodoc", "* Classify an infinite point with the tolerance Tol on the solid S. Useful for compute the orientation of a solid. :param Tol: :type Tol: float - :rtype: None -") PerformInfinitePoint; + :rtype: None") PerformInfinitePoint; void PerformInfinitePoint (const Standard_Real Tol); - %feature("compactdefaultargs") Destroy; - %feature("autodoc", " :rtype: None -") Destroy; - void Destroy (); + }; @@ -804,3 +763,7 @@ class BRepClass3d_SolidClassifier : public BRepClass3d_SClassifier { __repr__ = _dumps_object } }; + +/* harray1 class */ +/* harray2 class */ +/* harray2 class */ diff --git a/src/SWIG_files/wrapper/BRepClass3d_headers.i b/src/SWIG_files/wrapper/BRepClass3d_headers.i deleted file mode 100644 index f70bed8f1..000000000 --- a/src/SWIG_files/wrapper/BRepClass3d_headers.i +++ /dev/null @@ -1,634 +0,0 @@ -/* -Copyright 2008-2017 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 . - -*/ -%{ -#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 -#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 -#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 -#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 -#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 -#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 -#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 -%}; -%import TopoDS.i -%import TCollection.i -%import Standard.i -%import gp.i -%import IntCurveSurface.i -%import TopAbs.i -%import BRepAdaptor.i -%import Bnd.i -%import IntCurvesFace.i diff --git a/src/SWIG_files/wrapper/BRepClass_headers.i b/src/SWIG_files/wrapper/BRepClass_headers.i deleted file mode 100644 index e8a62fe74..000000000 --- a/src/SWIG_files/wrapper/BRepClass_headers.i +++ /dev/null @@ -1,682 +0,0 @@ -/* -Copyright 2008-2017 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 . - -*/ -%{ -#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 -#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 -#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 -#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 -#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 -#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 -#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 -#include -#include -#include -#include -%}; -%import TopoDS.i -%import gp.i -%import Standard.i -%import TopAbs.i -%import IntRes2d.i -%import Geom2dInt.i diff --git a/src/SWIG_files/wrapper/BRepExtrema.i b/src/SWIG_files/wrapper/BRepExtrema.i index d29c336dd..d781a3215 100644 --- a/src/SWIG_files/wrapper/BRepExtrema.i +++ b/src/SWIG_files/wrapper/BRepExtrema.i @@ -1,6 +1,5 @@ /* -Copyright 2008-2017 Thomas Paviot (tpaviot@gmail.com) - +Copyright 2008-2019 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -15,16 +14,13 @@ 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 BREPEXTREMADOCSTRING -"This package gives tools to compute extrema between -Shapes from BRep. -" +"BRepExtrema module, see official documentation at +https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brepextrema.html" %enddef %module (package="OCC.Core", docstring=BREPEXTREMADOCSTRING) BRepExtrema -#pragma SWIG nowarn=504,325,503 %{ #ifdef WNT @@ -39,14 +35,36 @@ Shapes from BRep. %include ../common/OccHandle.i -%include BRepExtrema_headers.i - -/* typedefs */ -typedef NCollection_Sequence BRepExtrema_SeqOfSolution; -typedef NCollection_DataMap BRepExtrema_MapOfIntegerPackedMapOfInteger; -typedef NCollection_Vector BRepExtrema_ShapeList; -/* end typedefs declaration */ - +%{ +#include + +//Dependencies +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +%}; +%import Standard.i +%import NCollection.i +%import TopoDS.i +%import Extrema.i +%import gp.i +%import Bnd.i +%import BVH.i /* public enums */ enum BRepExtrema_SupportType { BRepExtrema_IsVertex = 0, @@ -56,19 +74,37 @@ enum BRepExtrema_SupportType { /* end public enums declaration */ +/* handles */ +%wrap_handle(BRepExtrema_TriangleSet) +/* end handles declaration */ + +/* templates */ +%template(BRepExtrema_SeqOfSolution) NCollection_Sequence ; +%template(BRepExtrema_ShapeList) NCollection_Vector ; +%template(BRepExtrema_MapOfIntegerPackedMapOfInteger) NCollection_DataMap ; +/* end templates declaration */ + +/* typedefs */ +typedef NCollection_Sequence BRepExtrema_SeqOfSolution; +typedef NCollection_Vector BRepExtrema_ShapeList; +typedef NCollection_DataMap BRepExtrema_MapOfIntegerPackedMapOfInteger; +/* end typedefs declaration */ +/*********************************** +* class BRepExtrema_DistShapeShape * +***********************************/ %nodefaultctor BRepExtrema_DistShapeShape; class BRepExtrema_DistShapeShape { public: + /****************** BRepExtrema_DistShapeShape ******************/ %feature("compactdefaultargs") BRepExtrema_DistShapeShape; - %feature("autodoc", " * create empty tool - - :rtype: None -") BRepExtrema_DistShapeShape; + %feature("autodoc", "* create empty tool + :rtype: None") BRepExtrema_DistShapeShape; BRepExtrema_DistShapeShape (); - %feature("compactdefaultargs") BRepExtrema_DistShapeShape; - %feature("autodoc", " * computation of the minimum distance (value and pair of points) using default deflection Default value is Precision::Confusion(). + /****************** BRepExtrema_DistShapeShape ******************/ + %feature("compactdefaultargs") BRepExtrema_DistShapeShape; + %feature("autodoc", "* computation of the minimum distance (value and pair of points) using default deflection Default value is Precision::Confusion(). :param Shape1: :type Shape1: TopoDS_Shape & :param Shape2: @@ -77,12 +113,12 @@ class BRepExtrema_DistShapeShape { :type F: Extrema_ExtFlag :param A: default value is Extrema_ExtAlgo_Grad :type A: Extrema_ExtAlgo - :rtype: None -") BRepExtrema_DistShapeShape; + :rtype: 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); - %feature("compactdefaultargs") BRepExtrema_DistShapeShape; - %feature("autodoc", " * create tool and load both shapes into it + /****************** BRepExtrema_DistShapeShape ******************/ + %feature("compactdefaultargs") BRepExtrema_DistShapeShape; + %feature("autodoc", "* create tool and load both shapes into it :param Shape1: :type Shape1: TopoDS_Shape & :param Shape2: @@ -93,173 +129,176 @@ class BRepExtrema_DistShapeShape { :type F: Extrema_ExtFlag :param A: default value is Extrema_ExtAlgo_Grad :type A: Extrema_ExtAlgo - :rtype: None -") BRepExtrema_DistShapeShape; + :rtype: 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); - %feature("compactdefaultargs") SetDeflection; - %feature("autodoc", " :param theDeflection: - :type theDeflection: float - :rtype: None -") SetDeflection; - void SetDeflection (const Standard_Real theDeflection); - %feature("compactdefaultargs") LoadS1; - %feature("autodoc", " * load first shape into extrema + + %feature("autodoc", "1"); + %extend{ + std::string DumpToString() { + std::stringstream s; + self->Dump(s); + return s.str();} + }; + /****************** InnerSolution ******************/ + %feature("compactdefaultargs") InnerSolution; + %feature("autodoc", "* True if one of the shapes is a solid and the other shape is completely or partially inside the solid. + :rtype: bool") InnerSolution; + Standard_Boolean InnerSolution (); + + /****************** IsDone ******************/ + %feature("compactdefaultargs") IsDone; + %feature("autodoc", "* True if the minimum distance is found. + :rtype: bool") IsDone; + Standard_Boolean IsDone (); + + /****************** LoadS1 ******************/ + %feature("compactdefaultargs") LoadS1; + %feature("autodoc", "* load first shape into extrema :param Shape1: :type Shape1: TopoDS_Shape & - :rtype: None -") LoadS1; + :rtype: None") LoadS1; void LoadS1 (const TopoDS_Shape & Shape1); - %feature("compactdefaultargs") LoadS2; - %feature("autodoc", " * load second shape into extrema + /****************** LoadS2 ******************/ + %feature("compactdefaultargs") LoadS2; + %feature("autodoc", "* load second shape into extrema :param Shape1: :type Shape1: TopoDS_Shape & - :rtype: None -") LoadS2; + :rtype: None") LoadS2; void LoadS2 (const TopoDS_Shape & Shape1); - %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. - :rtype: bool -") Perform; - Standard_Boolean Perform (); - %feature("compactdefaultargs") IsDone; - %feature("autodoc", " * True if the minimum distance is found. - - :rtype: bool -") IsDone; - Standard_Boolean IsDone (); + /****************** NbSolution ******************/ %feature("compactdefaultargs") NbSolution; - %feature("autodoc", " * Returns the number of solutions satisfying the minimum distance. - - :rtype: int -") NbSolution; + %feature("autodoc", "* Returns the number of solutions satisfying the minimum distance. + :rtype: int") NbSolution; Standard_Integer NbSolution (); - %feature("compactdefaultargs") Value; - %feature("autodoc", " * Returns the value of the minimum distance. - - :rtype: float -") Value; - Standard_Real Value (); - %feature("compactdefaultargs") InnerSolution; - %feature("autodoc", " * True if one of the shapes is a solid and the other shape is completely or partially inside the solid. - - :rtype: bool -") InnerSolution; - Standard_Boolean InnerSolution (); - %feature("compactdefaultargs") PointOnShape1; - %feature("autodoc", " * Returns the Point corresponding to the th solution on the first Shape - - :param N: - :type N: int - :rtype: gp_Pnt -") PointOnShape1; - const gp_Pnt PointOnShape1 (const Standard_Integer N); - %feature("compactdefaultargs") PointOnShape2; - %feature("autodoc", " * Returns the Point corresponding to the th solution on the second Shape - - :param N: - :type N: int - :rtype: gp_Pnt -") PointOnShape2; - const gp_Pnt PointOnShape2 (const Standard_Integer N); - %feature("compactdefaultargs") SupportTypeShape1; - %feature("autodoc", " * gives the type of the support where the Nth solution on the first shape is situated: IsVertex => the Nth solution on the first shape is a Vertex IsOnEdge => the Nth soluion on the first shape is on a Edge IsInFace => the Nth solution on the first shape is inside a face the corresponding support is obtained by the method SupportOnShape1 - - :param N: - :type N: int - :rtype: BRepExtrema_SupportType -") SupportTypeShape1; - BRepExtrema_SupportType SupportTypeShape1 (const Standard_Integer N); - %feature("compactdefaultargs") SupportTypeShape2; - %feature("autodoc", " * gives the type of the support where the Nth solution on the second shape is situated: IsVertex => the Nth solution on the second shape is a Vertex IsOnEdge => the Nth soluion on the secondt shape is on a Edge IsInFace => the Nth solution on the second shape is inside a face the corresponding support is obtained by the method SupportOnShape2 - - :param N: - :type N: int - :rtype: BRepExtrema_SupportType -") SupportTypeShape2; - BRepExtrema_SupportType SupportTypeShape2 (const Standard_Integer N); - %feature("compactdefaultargs") SupportOnShape1; - %feature("autodoc", " * gives the support where the Nth solution on the first shape is situated. This support can be a Vertex, an Edge or a Face. - - :param N: - :type N: int - :rtype: TopoDS_Shape -") SupportOnShape1; - TopoDS_Shape SupportOnShape1 (const Standard_Integer N); - %feature("compactdefaultargs") SupportOnShape2; - %feature("autodoc", " * gives the support where the Nth solution on the second shape is situated. This support can be a Vertex, an Edge or a Face. - :param N: - :type N: int - :rtype: TopoDS_Shape -") SupportOnShape2; - TopoDS_Shape SupportOnShape2 (const Standard_Integer N); + /****************** ParOnEdgeS1 ******************/ %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 Egde of the first shape :param N: :type N: int :param t: :type t: float & - :rtype: None -") ParOnEdgeS1; + :rtype: None") ParOnEdgeS1; void ParOnEdgeS1 (const Standard_Integer N,Standard_Real &OutValue); - %feature("compactdefaultargs") ParOnEdgeS2; - %feature("autodoc", " * gives the corresponding parameter t if the Nth solution is situated on an Egde of the first shape + /****************** ParOnEdgeS2 ******************/ + %feature("compactdefaultargs") ParOnEdgeS2; + %feature("autodoc", "* gives the corresponding parameter t if the Nth solution is situated on an Egde of the first shape :param N: :type N: int :param t: :type t: float & - :rtype: None -") ParOnEdgeS2; + :rtype: None") ParOnEdgeS2; void ParOnEdgeS2 (const Standard_Integer N,Standard_Real &OutValue); - %feature("compactdefaultargs") ParOnFaceS1; - %feature("autodoc", " * gives the corresponding parameters (U,V) if the Nth solution is situated on an face of the first shape + /****************** ParOnFaceS1 ******************/ + %feature("compactdefaultargs") ParOnFaceS1; + %feature("autodoc", "* gives the corresponding parameters (U,V) if the Nth solution is situated on an face of the first shape :param N: :type N: int :param u: :type u: float & :param v: :type v: float & - :rtype: None -") ParOnFaceS1; + :rtype: None") ParOnFaceS1; void ParOnFaceS1 (const Standard_Integer N,Standard_Real &OutValue,Standard_Real &OutValue); - %feature("compactdefaultargs") ParOnFaceS2; - %feature("autodoc", " * gives the corresponding parameters (U,V) if the Nth solution is situated on an Face of the second shape + /****************** ParOnFaceS2 ******************/ + %feature("compactdefaultargs") ParOnFaceS2; + %feature("autodoc", "* gives the corresponding parameters (U,V) if the Nth solution is situated on an Face of the second shape :param N: :type N: int :param u: :type u: float & :param v: :type v: float & - :rtype: None -") ParOnFaceS2; + :rtype: None") ParOnFaceS2; void ParOnFaceS2 (const Standard_Integer N,Standard_Real &OutValue,Standard_Real &OutValue); - %feature("autodoc", "1"); - %extend{ - std::string DumpToString() { - std::stringstream s; - self->Dump(s); - return s.str();} - }; - %feature("compactdefaultargs") SetFlag; - %feature("autodoc", " :param F: - :type F: Extrema_ExtFlag - :rtype: None -") SetFlag; - void SetFlag (const Extrema_ExtFlag F); + /****************** Perform ******************/ + %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. + :rtype: bool") Perform; + Standard_Boolean Perform (); + + /****************** PointOnShape1 ******************/ + %feature("compactdefaultargs") PointOnShape1; + %feature("autodoc", "* Returns the Point corresponding to the th solution on the first Shape + :param N: + :type N: int + :rtype: gp_Pnt") PointOnShape1; + const gp_Pnt PointOnShape1 (const Standard_Integer N); + + /****************** PointOnShape2 ******************/ + %feature("compactdefaultargs") PointOnShape2; + %feature("autodoc", "* Returns the Point corresponding to the th solution on the second Shape + :param N: + :type N: int + :rtype: gp_Pnt") PointOnShape2; + const gp_Pnt PointOnShape2 (const Standard_Integer N); + + /****************** SetAlgo ******************/ %feature("compactdefaultargs") SetAlgo; - %feature("autodoc", " :param A: + %feature("autodoc", ":param A: :type A: Extrema_ExtAlgo - :rtype: None -") SetAlgo; + :rtype: None") SetAlgo; void SetAlgo (const Extrema_ExtAlgo A); + + /****************** SetDeflection ******************/ + %feature("compactdefaultargs") SetDeflection; + %feature("autodoc", ":param theDeflection: + :type theDeflection: float + :rtype: None") SetDeflection; + void SetDeflection (const Standard_Real theDeflection); + + /****************** SetFlag ******************/ + %feature("compactdefaultargs") SetFlag; + %feature("autodoc", ":param F: + :type F: Extrema_ExtFlag + :rtype: None") SetFlag; + void SetFlag (const Extrema_ExtFlag F); + + /****************** SupportOnShape1 ******************/ + %feature("compactdefaultargs") SupportOnShape1; + %feature("autodoc", "* gives the support where the Nth solution on the first shape is situated. This support can be a Vertex, an Edge or a Face. + :param N: + :type N: int + :rtype: TopoDS_Shape") SupportOnShape1; + TopoDS_Shape SupportOnShape1 (const Standard_Integer N); + + /****************** SupportOnShape2 ******************/ + %feature("compactdefaultargs") SupportOnShape2; + %feature("autodoc", "* gives the support where the Nth solution on the second shape is situated. This support can be a Vertex, an Edge or a Face. + :param N: + :type N: int + :rtype: TopoDS_Shape") SupportOnShape2; + TopoDS_Shape SupportOnShape2 (const Standard_Integer N); + + /****************** SupportTypeShape1 ******************/ + %feature("compactdefaultargs") SupportTypeShape1; + %feature("autodoc", "* gives the type of the support where the Nth solution on the first shape is situated: IsVertex => the Nth solution on the first shape is a Vertex IsOnEdge => the Nth soluion on the first shape is on a Edge IsInFace => the Nth solution on the first shape is inside a face the corresponding support is obtained by the method SupportOnShape1 + :param N: + :type N: int + :rtype: BRepExtrema_SupportType") SupportTypeShape1; + BRepExtrema_SupportType SupportTypeShape1 (const Standard_Integer N); + + /****************** SupportTypeShape2 ******************/ + %feature("compactdefaultargs") SupportTypeShape2; + %feature("autodoc", "* gives the type of the support where the Nth solution on the second shape is situated: IsVertex => the Nth solution on the second shape is a Vertex IsOnEdge => the Nth soluion on the secondt shape is on a Edge IsInFace => the Nth solution on the second shape is inside a face the corresponding support is obtained by the method SupportOnShape2 + :param N: + :type N: int + :rtype: BRepExtrema_SupportType") SupportTypeShape2; + BRepExtrema_SupportType SupportTypeShape2 (const Standard_Integer N); + + /****************** Value ******************/ + %feature("compactdefaultargs") Value; + %feature("autodoc", "* Returns the value of the minimum distance. + :rtype: float") Value; + Standard_Real Value (); + }; @@ -268,12 +307,16 @@ class BRepExtrema_DistShapeShape { __repr__ = _dumps_object } }; + +/******************************* +* class BRepExtrema_DistanceSS * +*******************************/ %nodefaultctor BRepExtrema_DistanceSS; class BRepExtrema_DistanceSS { public: + /****************** BRepExtrema_DistanceSS ******************/ %feature("compactdefaultargs") BRepExtrema_DistanceSS; - %feature("autodoc", " * computes the distance between two Shapes ( face edge vertex). - + %feature("autodoc", "* computes the distance between two Shapes ( face edge vertex). :param S1: :type S1: TopoDS_Shape & :param S2: @@ -288,12 +331,12 @@ class BRepExtrema_DistanceSS { :type F: Extrema_ExtFlag :param A: default value is Extrema_ExtAlgo_Grad :type A: Extrema_ExtAlgo - :rtype: None -") BRepExtrema_DistanceSS; + :rtype: None") BRepExtrema_DistanceSS; BRepExtrema_DistanceSS (const TopoDS_Shape & S1,const TopoDS_Shape & S2,const Bnd_Box & B1,const Bnd_Box & B2,const Standard_Real DstRef,const Extrema_ExtFlag F = Extrema_ExtFlag_MINMAX,const Extrema_ExtAlgo A = Extrema_ExtAlgo_Grad); - %feature("compactdefaultargs") BRepExtrema_DistanceSS; - %feature("autodoc", " * computes the distance between two Shapes ( face edge vertex). Parameter theDeflection is used to specify a maximum deviation of extreme distances from the minimum one. Default value is Precision::Confusion(). + /****************** BRepExtrema_DistanceSS ******************/ + %feature("compactdefaultargs") BRepExtrema_DistanceSS; + %feature("autodoc", "* computes the distance between two Shapes ( face edge vertex). Parameter theDeflection is used to specify a maximum deviation of extreme distances from the minimum one. Default value is Precision::Confusion(). :param S1: :type S1: TopoDS_Shape & :param S2: @@ -310,49 +353,49 @@ class BRepExtrema_DistanceSS { :type F: Extrema_ExtFlag :param A: default value is Extrema_ExtAlgo_Grad :type A: Extrema_ExtAlgo - :rtype: None -") BRepExtrema_DistanceSS; + :rtype: None") BRepExtrema_DistanceSS; BRepExtrema_DistanceSS (const TopoDS_Shape & S1,const TopoDS_Shape & S2,const Bnd_Box & B1,const Bnd_Box & B2,const Standard_Real DstRef,const Standard_Real aDeflection,const Extrema_ExtFlag F = Extrema_ExtFlag_MINMAX,const Extrema_ExtAlgo A = Extrema_ExtAlgo_Grad); - %feature("compactdefaultargs") IsDone; - %feature("autodoc", " * True if the distance has been computed - :rtype: bool -") IsDone; - Standard_Boolean IsDone (); + /****************** DistValue ******************/ %feature("compactdefaultargs") DistValue; - %feature("autodoc", " * returns the distance value - - :rtype: float -") DistValue; + %feature("autodoc", "* returns the distance value + :rtype: float") DistValue; Standard_Real DistValue (); - %feature("compactdefaultargs") Seq1Value; - %feature("autodoc", " * returns the list of solutions on the first shape - :rtype: BRepExtrema_SeqOfSolution -") Seq1Value; + /****************** IsDone ******************/ + %feature("compactdefaultargs") IsDone; + %feature("autodoc", "* True if the distance has been computed + :rtype: bool") IsDone; + Standard_Boolean IsDone (); + + /****************** Seq1Value ******************/ + %feature("compactdefaultargs") Seq1Value; + %feature("autodoc", "* returns the list of solutions on the first shape + :rtype: BRepExtrema_SeqOfSolution") Seq1Value; const BRepExtrema_SeqOfSolution & Seq1Value (); - %feature("compactdefaultargs") Seq2Value; - %feature("autodoc", " * returns the list of solutions on the second shape - :rtype: BRepExtrema_SeqOfSolution -") Seq2Value; + /****************** Seq2Value ******************/ + %feature("compactdefaultargs") Seq2Value; + %feature("autodoc", "* returns the list of solutions on the second shape + :rtype: BRepExtrema_SeqOfSolution") Seq2Value; const BRepExtrema_SeqOfSolution & Seq2Value (); - %feature("compactdefaultargs") SetFlag; - %feature("autodoc", " * sets the flag controlling minimum and maximum search - :param F: - :type F: Extrema_ExtFlag - :rtype: None -") SetFlag; - void SetFlag (const Extrema_ExtFlag F); + /****************** SetAlgo ******************/ %feature("compactdefaultargs") SetAlgo; - %feature("autodoc", " * sets the flag controlling ... - + %feature("autodoc", "* sets the flag controlling ... :param A: :type A: Extrema_ExtAlgo - :rtype: None -") SetAlgo; + :rtype: None") SetAlgo; void SetAlgo (const Extrema_ExtAlgo A); + + /****************** SetFlag ******************/ + %feature("compactdefaultargs") SetFlag; + %feature("autodoc", "* sets the flag controlling minimum and maximum search + :param F: + :type F: Extrema_ExtFlag + :rtype: None") SetFlag; + void SetFlag (const Extrema_ExtFlag F); + }; @@ -361,6 +404,10 @@ class BRepExtrema_DistanceSS { __repr__ = _dumps_object } }; + +/********************************** +* class BRepExtrema_ElementFilter * +**********************************/ %nodefaultctor BRepExtrema_ElementFilter; class BRepExtrema_ElementFilter { public: @@ -373,16 +420,16 @@ enum FilterResult { /* end public enums declaration */ + /****************** PreCheckElements ******************/ %feature("compactdefaultargs") PreCheckElements; - %feature("autodoc", " * Checks if two mesh elements should be tested for overlapping/intersection (used for detection correct/incorrect cases of shared edges and vertices). - + %feature("autodoc", "* Checks if two mesh elements should be tested for overlapping/intersection (used for detection correct/incorrect cases of shared edges and vertices). :param Standard_Integer: :type Standard_Integer: :param Standard_Integer: :type Standard_Integer: - :rtype: FilterResult -") PreCheckElements; + :rtype: FilterResult") PreCheckElements; FilterResult PreCheckElements (const Standard_Integer,const Standard_Integer); + }; @@ -391,98 +438,104 @@ enum FilterResult { __repr__ = _dumps_object } }; + +/************************** +* class BRepExtrema_ExtCC * +**************************/ %nodefaultctor BRepExtrema_ExtCC; class BRepExtrema_ExtCC { public: + /****************** BRepExtrema_ExtCC ******************/ %feature("compactdefaultargs") BRepExtrema_ExtCC; - %feature("autodoc", " :rtype: None -") BRepExtrema_ExtCC; + %feature("autodoc", ":rtype: None") BRepExtrema_ExtCC; BRepExtrema_ExtCC (); - %feature("compactdefaultargs") BRepExtrema_ExtCC; - %feature("autodoc", " * It calculates all the distances. + /****************** BRepExtrema_ExtCC ******************/ + %feature("compactdefaultargs") BRepExtrema_ExtCC; + %feature("autodoc", "* It calculates all the distances. :param E1: :type E1: TopoDS_Edge & :param E2: :type E2: TopoDS_Edge & - :rtype: None -") BRepExtrema_ExtCC; + :rtype: None") BRepExtrema_ExtCC; BRepExtrema_ExtCC (const TopoDS_Edge & E1,const TopoDS_Edge & E2); + + /****************** Initialize ******************/ %feature("compactdefaultargs") Initialize; - %feature("autodoc", " :param E2: + %feature("autodoc", ":param E2: :type E2: TopoDS_Edge & - :rtype: None -") Initialize; + :rtype: None") Initialize; void Initialize (const TopoDS_Edge & E2); - %feature("compactdefaultargs") Perform; - %feature("autodoc", " * An exception is raised if the fields have not been initialized. - :param E1: - :type E1: TopoDS_Edge & - :rtype: None -") Perform; - void Perform (const TopoDS_Edge & E1); + /****************** IsDone ******************/ %feature("compactdefaultargs") IsDone; - %feature("autodoc", " * True if the distances are found. - - :rtype: bool -") IsDone; + %feature("autodoc", "* True if the distances are found. + :rtype: bool") IsDone; Standard_Boolean IsDone (); - %feature("compactdefaultargs") NbExt; - %feature("autodoc", " * Returns the number of extremum distances. - :rtype: int -") NbExt; - Standard_Integer NbExt (); + /****************** IsParallel ******************/ %feature("compactdefaultargs") IsParallel; - %feature("autodoc", " * Returns True if E1 and E2 are parallel. - - :rtype: bool -") IsParallel; + %feature("autodoc", "* Returns True if E1 and E2 are parallel. + :rtype: bool") IsParallel; Standard_Boolean IsParallel (); - %feature("compactdefaultargs") SquareDistance; - %feature("autodoc", " * Returns the value of the th extremum square distance. + /****************** NbExt ******************/ + %feature("compactdefaultargs") NbExt; + %feature("autodoc", "* Returns the number of extremum distances. + :rtype: int") NbExt; + Standard_Integer NbExt (); + + /****************** ParameterOnE1 ******************/ + %feature("compactdefaultargs") ParameterOnE1; + %feature("autodoc", "* Returns the parameter on the first edge of the th extremum distance. :param N: :type N: int - :rtype: float -") SquareDistance; - Standard_Real SquareDistance (const Standard_Integer N); - %feature("compactdefaultargs") ParameterOnE1; - %feature("autodoc", " * Returns the parameter on the first edge of the th extremum distance. + :rtype: float") ParameterOnE1; + Standard_Real ParameterOnE1 (const Standard_Integer N); + /****************** ParameterOnE2 ******************/ + %feature("compactdefaultargs") ParameterOnE2; + %feature("autodoc", "* Returns the parameter on the second edge of the th extremum distance. :param N: :type N: int - :rtype: float -") ParameterOnE1; - Standard_Real ParameterOnE1 (const Standard_Integer N); - %feature("compactdefaultargs") PointOnE1; - %feature("autodoc", " * Returns the Point of the th extremum distance on the edge E1. + :rtype: float") ParameterOnE2; + Standard_Real ParameterOnE2 (const Standard_Integer N); + + /****************** Perform ******************/ + %feature("compactdefaultargs") Perform; + %feature("autodoc", "* An exception is raised if the fields have not been initialized. + :param E1: + :type E1: TopoDS_Edge & + :rtype: None") Perform; + void Perform (const TopoDS_Edge & E1); + /****************** PointOnE1 ******************/ + %feature("compactdefaultargs") PointOnE1; + %feature("autodoc", "* Returns the Point of the th extremum distance on the edge E1. :param N: :type N: int - :rtype: gp_Pnt -") PointOnE1; + :rtype: gp_Pnt") PointOnE1; gp_Pnt PointOnE1 (const Standard_Integer N); - %feature("compactdefaultargs") ParameterOnE2; - %feature("autodoc", " * Returns the parameter on the second edge of the th extremum distance. + /****************** PointOnE2 ******************/ + %feature("compactdefaultargs") PointOnE2; + %feature("autodoc", "* Returns the Point of the th extremum distance on the edge E2. :param N: :type N: int - :rtype: float -") ParameterOnE2; - Standard_Real ParameterOnE2 (const Standard_Integer N); - %feature("compactdefaultargs") PointOnE2; - %feature("autodoc", " * Returns the Point of the th extremum distance on the edge E2. + :rtype: gp_Pnt") PointOnE2; + gp_Pnt PointOnE2 (const Standard_Integer N); + /****************** SquareDistance ******************/ + %feature("compactdefaultargs") SquareDistance; + %feature("autodoc", "* Returns the value of the th extremum square distance. :param N: :type N: int - :rtype: gp_Pnt -") PointOnE2; - gp_Pnt PointOnE2 (const Standard_Integer N); - %feature("compactdefaultargs") TrimmedSquareDistances; - %feature("autodoc", " * if the edges is a trimmed curve, dist11 is a square distance between the point on E1 of parameter FirstParameter and the point of parameter FirstParameter on E2. + :rtype: float") SquareDistance; + Standard_Real SquareDistance (const Standard_Integer N); + /****************** TrimmedSquareDistances ******************/ + %feature("compactdefaultargs") TrimmedSquareDistances; + %feature("autodoc", "* if the edges is a trimmed curve, dist11 is a square distance between the point on E1 of parameter FirstParameter and the point of parameter FirstParameter on E2. :param dist11: :type dist11: float & :param distP12: @@ -499,9 +552,9 @@ class BRepExtrema_ExtCC { :type P21: gp_Pnt :param P22: :type P22: gp_Pnt - :rtype: None -") TrimmedSquareDistances; + :rtype: None") TrimmedSquareDistances; void TrimmedSquareDistances (Standard_Real &OutValue,Standard_Real &OutValue,Standard_Real &OutValue,Standard_Real &OutValue,gp_Pnt & P11,gp_Pnt & P12,gp_Pnt & P21,gp_Pnt & P22); + }; @@ -510,104 +563,110 @@ class BRepExtrema_ExtCC { __repr__ = _dumps_object } }; + +/************************** +* class BRepExtrema_ExtCF * +**************************/ %nodefaultctor BRepExtrema_ExtCF; class BRepExtrema_ExtCF { public: + /****************** BRepExtrema_ExtCF ******************/ %feature("compactdefaultargs") BRepExtrema_ExtCF; - %feature("autodoc", " :rtype: None -") BRepExtrema_ExtCF; + %feature("autodoc", ":rtype: None") BRepExtrema_ExtCF; BRepExtrema_ExtCF (); - %feature("compactdefaultargs") BRepExtrema_ExtCF; - %feature("autodoc", " * It calculates all the distances. + /****************** BRepExtrema_ExtCF ******************/ + %feature("compactdefaultargs") BRepExtrema_ExtCF; + %feature("autodoc", "* It calculates all the distances. :param E: :type E: TopoDS_Edge & :param F: :type F: TopoDS_Face & - :rtype: None -") BRepExtrema_ExtCF; + :rtype: None") BRepExtrema_ExtCF; BRepExtrema_ExtCF (const TopoDS_Edge & E,const TopoDS_Face & F); + + /****************** Initialize ******************/ %feature("compactdefaultargs") Initialize; - %feature("autodoc", " :param E: + %feature("autodoc", ":param E: :type E: TopoDS_Edge & :param F: :type F: TopoDS_Face & - :rtype: None -") Initialize; + :rtype: None") Initialize; void Initialize (const TopoDS_Edge & E,const TopoDS_Face & F); - %feature("compactdefaultargs") Perform; - %feature("autodoc", " * An exception is raised if the fields have not been initialized. Be careful: this method uses the Face only for classify not for the fields. - :param E: - :type E: TopoDS_Edge & - :param F: - :type F: TopoDS_Face & - :rtype: None -") Perform; - void Perform (const TopoDS_Edge & E,const TopoDS_Face & F); + /****************** IsDone ******************/ %feature("compactdefaultargs") IsDone; - %feature("autodoc", " * True if the distances are found. - - :rtype: bool -") IsDone; + %feature("autodoc", "* True if the distances are found. + :rtype: bool") IsDone; Standard_Boolean IsDone (); - %feature("compactdefaultargs") NbExt; - %feature("autodoc", " * Returns the number of extremum distances. - - :rtype: int -") NbExt; - Standard_Integer NbExt (); - %feature("compactdefaultargs") SquareDistance; - %feature("autodoc", " * Returns the value of the th extremum square distance. - :param N: - :type N: int - :rtype: float -") SquareDistance; - Standard_Real SquareDistance (const Standard_Integer N); + /****************** IsParallel ******************/ %feature("compactdefaultargs") IsParallel; - %feature("autodoc", " * Returns True if the curve is on a parallel surface. - - :rtype: bool -") IsParallel; + %feature("autodoc", "* Returns True if the curve is on a parallel surface. + :rtype: bool") IsParallel; Standard_Boolean IsParallel (); - %feature("compactdefaultargs") ParameterOnEdge; - %feature("autodoc", " * Returns the parameters on the Edge of the th extremum distance. + /****************** NbExt ******************/ + %feature("compactdefaultargs") NbExt; + %feature("autodoc", "* Returns the number of extremum distances. + :rtype: int") NbExt; + Standard_Integer NbExt (); + + /****************** ParameterOnEdge ******************/ + %feature("compactdefaultargs") ParameterOnEdge; + %feature("autodoc", "* Returns the parameters on the Edge of the th extremum distance. :param N: :type N: int - :rtype: float -") ParameterOnEdge; + :rtype: float") ParameterOnEdge; Standard_Real ParameterOnEdge (const Standard_Integer N); - %feature("compactdefaultargs") ParameterOnFace; - %feature("autodoc", " * Returns the parameters on the Face of the th extremum distance. + /****************** ParameterOnFace ******************/ + %feature("compactdefaultargs") ParameterOnFace; + %feature("autodoc", "* Returns the parameters on the Face of the th extremum distance. :param N: :type N: int :param U: :type U: float & :param V: :type V: float & - :rtype: None -") ParameterOnFace; + :rtype: None") ParameterOnFace; void ParameterOnFace (const Standard_Integer N,Standard_Real &OutValue,Standard_Real &OutValue); - %feature("compactdefaultargs") PointOnEdge; - %feature("autodoc", " * Returns the Point of the th extremum distance. + /****************** Perform ******************/ + %feature("compactdefaultargs") Perform; + %feature("autodoc", "* An exception is raised if the fields have not been initialized. Be careful: this method uses the Face only for classify not for the fields. + :param E: + :type E: TopoDS_Edge & + :param F: + :type F: TopoDS_Face & + :rtype: None") Perform; + void Perform (const TopoDS_Edge & E,const TopoDS_Face & F); + + /****************** PointOnEdge ******************/ + %feature("compactdefaultargs") PointOnEdge; + %feature("autodoc", "* Returns the Point of the th extremum distance. :param N: :type N: int - :rtype: gp_Pnt -") PointOnEdge; + :rtype: gp_Pnt") PointOnEdge; gp_Pnt PointOnEdge (const Standard_Integer N); - %feature("compactdefaultargs") PointOnFace; - %feature("autodoc", " * Returns the Point of the th extremum distance. + /****************** PointOnFace ******************/ + %feature("compactdefaultargs") PointOnFace; + %feature("autodoc", "* Returns the Point of the th extremum distance. :param N: :type N: int - :rtype: gp_Pnt -") PointOnFace; + :rtype: gp_Pnt") PointOnFace; gp_Pnt PointOnFace (const Standard_Integer N); -}; + + /****************** SquareDistance ******************/ + %feature("compactdefaultargs") SquareDistance; + %feature("autodoc", "* Returns the value of the th extremum square distance. + :param N: + :type N: int + :rtype: float") SquareDistance; + Standard_Real SquareDistance (const Standard_Integer N); + +}; %extend BRepExtrema_ExtCF { @@ -615,105 +674,111 @@ class BRepExtrema_ExtCF { __repr__ = _dumps_object } }; + +/************************** +* class BRepExtrema_ExtFF * +**************************/ %nodefaultctor BRepExtrema_ExtFF; class BRepExtrema_ExtFF { public: + /****************** BRepExtrema_ExtFF ******************/ %feature("compactdefaultargs") BRepExtrema_ExtFF; - %feature("autodoc", " :rtype: None -") BRepExtrema_ExtFF; + %feature("autodoc", ":rtype: None") BRepExtrema_ExtFF; BRepExtrema_ExtFF (); - %feature("compactdefaultargs") BRepExtrema_ExtFF; - %feature("autodoc", " * It calculates all the distances. + /****************** BRepExtrema_ExtFF ******************/ + %feature("compactdefaultargs") BRepExtrema_ExtFF; + %feature("autodoc", "* It calculates all the distances. :param F1: :type F1: TopoDS_Face & :param F2: :type F2: TopoDS_Face & - :rtype: None -") BRepExtrema_ExtFF; + :rtype: None") BRepExtrema_ExtFF; BRepExtrema_ExtFF (const TopoDS_Face & F1,const TopoDS_Face & F2); + + /****************** Initialize ******************/ %feature("compactdefaultargs") Initialize; - %feature("autodoc", " :param F2: + %feature("autodoc", ":param F2: :type F2: TopoDS_Face & - :rtype: None -") Initialize; + :rtype: None") Initialize; void Initialize (const TopoDS_Face & F2); - %feature("compactdefaultargs") Perform; - %feature("autodoc", " * An exception is raised if the fields have not been initialized. Be careful: this method uses the Face F2 only for classify, not for the fields. - :param F1: - :type F1: TopoDS_Face & - :param F2: - :type F2: TopoDS_Face & - :rtype: None -") Perform; - void Perform (const TopoDS_Face & F1,const TopoDS_Face & F2); + /****************** IsDone ******************/ %feature("compactdefaultargs") IsDone; - %feature("autodoc", " * True if the distances are found. - - :rtype: bool -") IsDone; + %feature("autodoc", "* True if the distances are found. + :rtype: bool") IsDone; Standard_Boolean IsDone (); - %feature("compactdefaultargs") IsParallel; - %feature("autodoc", " * Returns True if the surfaces are parallel. - :rtype: bool -") IsParallel; + /****************** IsParallel ******************/ + %feature("compactdefaultargs") IsParallel; + %feature("autodoc", "* Returns True if the surfaces are parallel. + :rtype: bool") IsParallel; Standard_Boolean IsParallel (); - %feature("compactdefaultargs") NbExt; - %feature("autodoc", " * Returns the number of extremum distances. - :rtype: int -") NbExt; + /****************** NbExt ******************/ + %feature("compactdefaultargs") NbExt; + %feature("autodoc", "* Returns the number of extremum distances. + :rtype: int") NbExt; Standard_Integer NbExt (); - %feature("compactdefaultargs") SquareDistance; - %feature("autodoc", " * Returns the value of the th extremum square distance. - :param N: - :type N: int - :rtype: float -") SquareDistance; - Standard_Real SquareDistance (const Standard_Integer N); + /****************** ParameterOnFace1 ******************/ %feature("compactdefaultargs") ParameterOnFace1; - %feature("autodoc", " * Returns the parameters on the Face F1 of the th extremum distance. - + %feature("autodoc", "* Returns the parameters on the Face F1 of the th extremum distance. :param N: :type N: int :param U: :type U: float & :param V: :type V: float & - :rtype: None -") ParameterOnFace1; + :rtype: None") ParameterOnFace1; void ParameterOnFace1 (const Standard_Integer N,Standard_Real &OutValue,Standard_Real &OutValue); - %feature("compactdefaultargs") ParameterOnFace2; - %feature("autodoc", " * Returns the parameters on the Face F2 of the th extremum distance. + /****************** ParameterOnFace2 ******************/ + %feature("compactdefaultargs") ParameterOnFace2; + %feature("autodoc", "* Returns the parameters on the Face F2 of the th extremum distance. :param N: :type N: int :param U: :type U: float & :param V: :type V: float & - :rtype: None -") ParameterOnFace2; + :rtype: None") ParameterOnFace2; void ParameterOnFace2 (const Standard_Integer N,Standard_Real &OutValue,Standard_Real &OutValue); - %feature("compactdefaultargs") PointOnFace1; - %feature("autodoc", " * Returns the Point of the th extremum distance. + /****************** Perform ******************/ + %feature("compactdefaultargs") Perform; + %feature("autodoc", "* An exception is raised if the fields have not been initialized. Be careful: this method uses the Face F2 only for classify, not for the fields. + :param F1: + :type F1: TopoDS_Face & + :param F2: + :type F2: TopoDS_Face & + :rtype: None") Perform; + void Perform (const TopoDS_Face & F1,const TopoDS_Face & F2); + + /****************** PointOnFace1 ******************/ + %feature("compactdefaultargs") PointOnFace1; + %feature("autodoc", "* Returns the Point of the th extremum distance. :param N: :type N: int - :rtype: gp_Pnt -") PointOnFace1; + :rtype: gp_Pnt") PointOnFace1; gp_Pnt PointOnFace1 (const Standard_Integer N); - %feature("compactdefaultargs") PointOnFace2; - %feature("autodoc", " * Returns the Point of the th extremum distance. + /****************** PointOnFace2 ******************/ + %feature("compactdefaultargs") PointOnFace2; + %feature("autodoc", "* Returns the Point of the th extremum distance. :param N: :type N: int - :rtype: gp_Pnt -") PointOnFace2; + :rtype: gp_Pnt") PointOnFace2; gp_Pnt PointOnFace2 (const Standard_Integer N); + + /****************** SquareDistance ******************/ + %feature("compactdefaultargs") SquareDistance; + %feature("autodoc", "* Returns the value of the th extremum square distance. + :param N: + :type N: int + :rtype: float") SquareDistance; + Standard_Real SquareDistance (const Standard_Integer N); + }; @@ -722,84 +787,90 @@ class BRepExtrema_ExtFF { __repr__ = _dumps_object } }; + +/************************** +* class BRepExtrema_ExtPC * +**************************/ %nodefaultctor BRepExtrema_ExtPC; class BRepExtrema_ExtPC { public: + /****************** BRepExtrema_ExtPC ******************/ %feature("compactdefaultargs") BRepExtrema_ExtPC; - %feature("autodoc", " :rtype: None -") BRepExtrema_ExtPC; + %feature("autodoc", ":rtype: None") BRepExtrema_ExtPC; BRepExtrema_ExtPC (); - %feature("compactdefaultargs") BRepExtrema_ExtPC; - %feature("autodoc", " * It calculates all the distances. + /****************** BRepExtrema_ExtPC ******************/ + %feature("compactdefaultargs") BRepExtrema_ExtPC; + %feature("autodoc", "* It calculates all the distances. :param V: :type V: TopoDS_Vertex & :param E: :type E: TopoDS_Edge & - :rtype: None -") BRepExtrema_ExtPC; + :rtype: None") BRepExtrema_ExtPC; BRepExtrema_ExtPC (const TopoDS_Vertex & V,const TopoDS_Edge & E); + + /****************** Initialize ******************/ %feature("compactdefaultargs") Initialize; - %feature("autodoc", " :param E: + %feature("autodoc", ":param E: :type E: TopoDS_Edge & - :rtype: None -") Initialize; + :rtype: None") Initialize; void Initialize (const TopoDS_Edge & E); - %feature("compactdefaultargs") Perform; - %feature("autodoc", " * An exception is raised if the fields have not been initialized. - :param V: - :type V: TopoDS_Vertex & - :rtype: None -") Perform; - void Perform (const TopoDS_Vertex & V); + /****************** IsDone ******************/ %feature("compactdefaultargs") IsDone; - %feature("autodoc", " * True if the distances are found. - - :rtype: bool -") IsDone; + %feature("autodoc", "* True if the distances are found. + :rtype: bool") IsDone; Standard_Boolean IsDone (); - %feature("compactdefaultargs") NbExt; - %feature("autodoc", " * Returns the number of extremum distances. - :rtype: int -") NbExt; - Standard_Integer NbExt (); + /****************** IsMin ******************/ %feature("compactdefaultargs") IsMin; - %feature("autodoc", " * Returns True if the th extremum distance is a minimum. - + %feature("autodoc", "* Returns True if the th extremum distance is a minimum. :param N: :type N: int - :rtype: bool -") IsMin; + :rtype: bool") IsMin; Standard_Boolean IsMin (const Standard_Integer N); - %feature("compactdefaultargs") SquareDistance; - %feature("autodoc", " * Returns the value of the th extremum square distance. - :param N: - :type N: int - :rtype: float -") SquareDistance; - Standard_Real SquareDistance (const Standard_Integer N); - %feature("compactdefaultargs") Parameter; - %feature("autodoc", " * Returns the parameter on the edge of the th extremum distance. + /****************** NbExt ******************/ + %feature("compactdefaultargs") NbExt; + %feature("autodoc", "* Returns the number of extremum distances. + :rtype: int") NbExt; + Standard_Integer NbExt (); + /****************** Parameter ******************/ + %feature("compactdefaultargs") Parameter; + %feature("autodoc", "* Returns the parameter on the edge of the th extremum distance. :param N: :type N: int - :rtype: float -") Parameter; + :rtype: float") Parameter; Standard_Real Parameter (const Standard_Integer N); - %feature("compactdefaultargs") Point; - %feature("autodoc", " * Returns the Point of the th extremum distance. + /****************** Perform ******************/ + %feature("compactdefaultargs") Perform; + %feature("autodoc", "* An exception is raised if the fields have not been initialized. + :param V: + :type V: TopoDS_Vertex & + :rtype: None") Perform; + void Perform (const TopoDS_Vertex & V); + + /****************** Point ******************/ + %feature("compactdefaultargs") Point; + %feature("autodoc", "* Returns the Point of the th extremum distance. :param N: :type N: int - :rtype: gp_Pnt -") Point; + :rtype: gp_Pnt") Point; gp_Pnt Point (const Standard_Integer N); - %feature("compactdefaultargs") TrimmedSquareDistances; - %feature("autodoc", " * if the curve is a trimmed curve, dist1 is a square distance between

and the point of parameter FirstParameter and dist2 is a square distance between

and the point of parameter LastParameter . + /****************** SquareDistance ******************/ + %feature("compactdefaultargs") SquareDistance; + %feature("autodoc", "* Returns the value of the th extremum square distance. + :param N: + :type N: int + :rtype: float") SquareDistance; + Standard_Real SquareDistance (const Standard_Integer N); + + /****************** TrimmedSquareDistances ******************/ + %feature("compactdefaultargs") TrimmedSquareDistances; + %feature("autodoc", "* if the curve is a trimmed curve, dist1 is a square distance between

and the point of parameter FirstParameter and dist2 is a square distance between

and the point of parameter LastParameter . :param dist1: :type dist1: float & :param dist2: @@ -808,9 +879,9 @@ class BRepExtrema_ExtPC { :type pnt1: gp_Pnt :param pnt2: :type pnt2: gp_Pnt - :rtype: None -") TrimmedSquareDistances; + :rtype: None") TrimmedSquareDistances; void TrimmedSquareDistances (Standard_Real &OutValue,Standard_Real &OutValue,gp_Pnt & pnt1,gp_Pnt & pnt2); + }; @@ -819,16 +890,21 @@ class BRepExtrema_ExtPC { __repr__ = _dumps_object } }; + +/************************** +* class BRepExtrema_ExtPF * +**************************/ %nodefaultctor BRepExtrema_ExtPF; class BRepExtrema_ExtPF { public: + /****************** BRepExtrema_ExtPF ******************/ %feature("compactdefaultargs") BRepExtrema_ExtPF; - %feature("autodoc", " :rtype: None -") BRepExtrema_ExtPF; + %feature("autodoc", ":rtype: None") BRepExtrema_ExtPF; BRepExtrema_ExtPF (); - %feature("compactdefaultargs") BRepExtrema_ExtPF; - %feature("autodoc", " * It calculates all the distances. + /****************** BRepExtrema_ExtPF ******************/ + %feature("compactdefaultargs") BRepExtrema_ExtPF; + %feature("autodoc", "* It calculates all the distances. :param TheVertex: :type TheVertex: TopoDS_Vertex & :param TheFace: @@ -837,81 +913,84 @@ class BRepExtrema_ExtPF { :type TheFlag: Extrema_ExtFlag :param TheAlgo: default value is Extrema_ExtAlgo_Grad :type TheAlgo: Extrema_ExtAlgo - :rtype: None -") BRepExtrema_ExtPF; + :rtype: None") BRepExtrema_ExtPF; BRepExtrema_ExtPF (const TopoDS_Vertex & TheVertex,const TopoDS_Face & TheFace,const Extrema_ExtFlag TheFlag = Extrema_ExtFlag_MINMAX,const Extrema_ExtAlgo TheAlgo = Extrema_ExtAlgo_Grad); + + /****************** Initialize ******************/ %feature("compactdefaultargs") Initialize; - %feature("autodoc", " :param TheFace: + %feature("autodoc", ":param TheFace: :type TheFace: TopoDS_Face & :param TheFlag: default value is Extrema_ExtFlag_MINMAX :type TheFlag: Extrema_ExtFlag :param TheAlgo: default value is Extrema_ExtAlgo_Grad :type TheAlgo: Extrema_ExtAlgo - :rtype: None -") Initialize; + :rtype: None") Initialize; void Initialize (const TopoDS_Face & TheFace,const Extrema_ExtFlag TheFlag = Extrema_ExtFlag_MINMAX,const Extrema_ExtAlgo TheAlgo = Extrema_ExtAlgo_Grad); - %feature("compactdefaultargs") Perform; - %feature("autodoc", " * An exception is raised if the fields have not been initialized. Be careful: this method uses the Face only for classify not for the fields. - :param TheVertex: - :type TheVertex: TopoDS_Vertex & - :param TheFace: - :type TheFace: TopoDS_Face & - :rtype: None -") Perform; - void Perform (const TopoDS_Vertex & TheVertex,const TopoDS_Face & TheFace); + /****************** IsDone ******************/ %feature("compactdefaultargs") IsDone; - %feature("autodoc", " * True if the distances are found. - - :rtype: bool -") IsDone; + %feature("autodoc", "* True if the distances are found. + :rtype: bool") IsDone; Standard_Boolean IsDone (); - %feature("compactdefaultargs") NbExt; - %feature("autodoc", " * Returns the number of extremum distances. - :rtype: int -") NbExt; + /****************** NbExt ******************/ + %feature("compactdefaultargs") NbExt; + %feature("autodoc", "* Returns the number of extremum distances. + :rtype: int") NbExt; Standard_Integer NbExt (); - %feature("compactdefaultargs") SquareDistance; - %feature("autodoc", " * Returns the value of the th extremum square distance. - :param N: - :type N: int - :rtype: float -") SquareDistance; - Standard_Real SquareDistance (const Standard_Integer N); + /****************** Parameter ******************/ %feature("compactdefaultargs") Parameter; - %feature("autodoc", " * Returns the parameters on the Face of the th extremum distance. - + %feature("autodoc", "* Returns the parameters on the Face of the th extremum distance. :param N: :type N: int :param U: :type U: float & :param V: :type V: float & - :rtype: None -") Parameter; + :rtype: None") Parameter; void Parameter (const Standard_Integer N,Standard_Real &OutValue,Standard_Real &OutValue); - %feature("compactdefaultargs") Point; - %feature("autodoc", " * Returns the Point of the th extremum distance. + /****************** Perform ******************/ + %feature("compactdefaultargs") Perform; + %feature("autodoc", "* An exception is raised if the fields have not been initialized. Be careful: this method uses the Face only for classify not for the fields. + :param TheVertex: + :type TheVertex: TopoDS_Vertex & + :param TheFace: + :type TheFace: TopoDS_Face & + :rtype: None") Perform; + void Perform (const TopoDS_Vertex & TheVertex,const TopoDS_Face & TheFace); + + /****************** Point ******************/ + %feature("compactdefaultargs") Point; + %feature("autodoc", "* Returns the Point of the th extremum distance. :param N: :type N: int - :rtype: gp_Pnt -") Point; + :rtype: gp_Pnt") Point; gp_Pnt Point (const Standard_Integer N); - %feature("compactdefaultargs") SetFlag; - %feature("autodoc", " :param F: - :type F: Extrema_ExtFlag - :rtype: None -") SetFlag; - void SetFlag (const Extrema_ExtFlag F); + + /****************** SetAlgo ******************/ %feature("compactdefaultargs") SetAlgo; - %feature("autodoc", " :param A: + %feature("autodoc", ":param A: :type A: Extrema_ExtAlgo - :rtype: None -") SetAlgo; + :rtype: None") SetAlgo; void SetAlgo (const Extrema_ExtAlgo A); + + /****************** SetFlag ******************/ + %feature("compactdefaultargs") SetFlag; + %feature("autodoc", ":param F: + :type F: Extrema_ExtFlag + :rtype: None") SetFlag; + void SetFlag (const Extrema_ExtFlag F); + + /****************** SquareDistance ******************/ + %feature("compactdefaultargs") SquareDistance; + %feature("autodoc", "* Returns the value of the th extremum square distance. + :param N: + :type N: int + :rtype: float") SquareDistance; + Standard_Real SquareDistance (const Standard_Integer N); + }; @@ -920,12 +999,16 @@ class BRepExtrema_ExtPF { __repr__ = _dumps_object } }; + +/************************* +* class BRepExtrema_Poly * +*************************/ %nodefaultctor BRepExtrema_Poly; class BRepExtrema_Poly { public: + /****************** Distance ******************/ %feature("compactdefaultargs") Distance; - %feature("autodoc", " * returns Standard_True if OK. - + %feature("autodoc", "* returns Standard_True if OK. :param S1: :type S1: TopoDS_Shape & :param S2: @@ -936,9 +1019,9 @@ class BRepExtrema_Poly { :type P2: gp_Pnt :param dist: :type dist: float & - :rtype: bool -") Distance; + :rtype: bool") Distance; static Standard_Boolean Distance (const TopoDS_Shape & S1,const TopoDS_Shape & S2,gp_Pnt & P1,gp_Pnt & P2,Standard_Real &OutValue); + }; @@ -947,111 +1030,115 @@ class BRepExtrema_Poly { __repr__ = _dumps_object } }; + +/*********************************** +* class BRepExtrema_ShapeProximity * +***********************************/ %nodefaultctor BRepExtrema_ShapeProximity; class BRepExtrema_ShapeProximity { public: + /****************** BRepExtrema_ShapeProximity ******************/ %feature("compactdefaultargs") BRepExtrema_ShapeProximity; - %feature("autodoc", " * Creates empty proximity tool. - + %feature("autodoc", "* Creates empty proximity tool. :param theTolerance: default value is 0.0 :type theTolerance: float - :rtype: None -") BRepExtrema_ShapeProximity; + :rtype: None") BRepExtrema_ShapeProximity; BRepExtrema_ShapeProximity (const Standard_Real theTolerance = 0.0); - %feature("compactdefaultargs") BRepExtrema_ShapeProximity; - %feature("autodoc", " * Creates proximity tool for the given two shapes. + /****************** BRepExtrema_ShapeProximity ******************/ + %feature("compactdefaultargs") BRepExtrema_ShapeProximity; + %feature("autodoc", "* Creates proximity tool for the given two shapes. :param theShape1: :type theShape1: TopoDS_Shape & :param theShape2: :type theShape2: TopoDS_Shape & :param theTolerance: default value is 0.0 :type theTolerance: float - :rtype: None -") BRepExtrema_ShapeProximity; + :rtype: None") BRepExtrema_ShapeProximity; BRepExtrema_ShapeProximity (const TopoDS_Shape & theShape1,const TopoDS_Shape & theShape2,const Standard_Real theTolerance = 0.0); - %feature("compactdefaultargs") Tolerance; - %feature("autodoc", " * Returns tolerance value for overlap test (distance between shapes). - :rtype: float -") Tolerance; - Standard_Real Tolerance (); - %feature("compactdefaultargs") SetTolerance; - %feature("autodoc", " * Sets tolerance value for overlap test (distance between shapes). + /****************** ElementSet1 ******************/ + %feature("compactdefaultargs") ElementSet1; + %feature("autodoc", "* Returns set of all the face triangles of the 1st shape. + :rtype: opencascade::handle") ElementSet1; + const opencascade::handle & ElementSet1 (); - :param theTolerance: - :type theTolerance: float - :rtype: None -") SetTolerance; - void SetTolerance (const Standard_Real theTolerance); - %feature("compactdefaultargs") LoadShape1; - %feature("autodoc", " * Loads 1st shape into proximity tool. + /****************** ElementSet2 ******************/ + %feature("compactdefaultargs") ElementSet2; + %feature("autodoc", "* Returns set of all the face triangles of the 2nd shape. + :rtype: opencascade::handle") ElementSet2; + const opencascade::handle & ElementSet2 (); + /****************** GetSubShape1 ******************/ + %feature("compactdefaultargs") GetSubShape1; + %feature("autodoc", "* Returns sub-shape from 1st shape with the given index (started from 0). + :param theID: + :type theID: int + :rtype: TopoDS_Face") GetSubShape1; + const TopoDS_Face GetSubShape1 (const Standard_Integer theID); + + /****************** GetSubShape2 ******************/ + %feature("compactdefaultargs") GetSubShape2; + %feature("autodoc", "* Returns sub-shape from 1st shape with the given index (started from 0). + :param theID: + :type theID: int + :rtype: TopoDS_Face") GetSubShape2; + const TopoDS_Face GetSubShape2 (const Standard_Integer theID); + + /****************** IsDone ******************/ + %feature("compactdefaultargs") IsDone; + %feature("autodoc", "* True if the search is completed. + :rtype: bool") IsDone; + Standard_Boolean IsDone (); + + /****************** LoadShape1 ******************/ + %feature("compactdefaultargs") LoadShape1; + %feature("autodoc", "* Loads 1st shape into proximity tool. :param theShape1: :type theShape1: TopoDS_Shape & - :rtype: bool -") LoadShape1; + :rtype: bool") LoadShape1; Standard_Boolean LoadShape1 (const TopoDS_Shape & theShape1); - %feature("compactdefaultargs") LoadShape2; - %feature("autodoc", " * Loads 2nd shape into proximity tool. + /****************** LoadShape2 ******************/ + %feature("compactdefaultargs") LoadShape2; + %feature("autodoc", "* Loads 2nd shape into proximity tool. :param theShape2: :type theShape2: TopoDS_Shape & - :rtype: bool -") LoadShape2; + :rtype: bool") LoadShape2; Standard_Boolean LoadShape2 (const TopoDS_Shape & theShape2); - %feature("compactdefaultargs") Perform; - %feature("autodoc", " * Performs search of overlapped faces. - :rtype: None -") Perform; - void Perform (); - %feature("compactdefaultargs") IsDone; - %feature("autodoc", " * True if the search is completed. - - :rtype: bool -") IsDone; - Standard_Boolean IsDone (); + /****************** OverlapSubShapes1 ******************/ %feature("compactdefaultargs") OverlapSubShapes1; - %feature("autodoc", " * Returns set of IDs of overlapped faces of 1st shape (started from 0). - - :rtype: BRepExtrema_MapOfIntegerPackedMapOfInteger -") OverlapSubShapes1; + %feature("autodoc", "* Returns set of IDs of overlapped faces of 1st shape (started from 0). + :rtype: BRepExtrema_MapOfIntegerPackedMapOfInteger") OverlapSubShapes1; const BRepExtrema_MapOfIntegerPackedMapOfInteger & OverlapSubShapes1 (); - %feature("compactdefaultargs") OverlapSubShapes2; - %feature("autodoc", " * Returns set of IDs of overlapped faces of 2nd shape (started from 0). - :rtype: BRepExtrema_MapOfIntegerPackedMapOfInteger -") OverlapSubShapes2; + /****************** OverlapSubShapes2 ******************/ + %feature("compactdefaultargs") OverlapSubShapes2; + %feature("autodoc", "* Returns set of IDs of overlapped faces of 2nd shape (started from 0). + :rtype: BRepExtrema_MapOfIntegerPackedMapOfInteger") OverlapSubShapes2; const BRepExtrema_MapOfIntegerPackedMapOfInteger & OverlapSubShapes2 (); - %feature("compactdefaultargs") GetSubShape1; - %feature("autodoc", " * Returns sub-shape from 1st shape with the given index (started from 0). - :param theID: - :type theID: int - :rtype: TopoDS_Face -") GetSubShape1; - const TopoDS_Face GetSubShape1 (const Standard_Integer theID); - %feature("compactdefaultargs") GetSubShape2; - %feature("autodoc", " * Returns sub-shape from 1st shape with the given index (started from 0). + /****************** Perform ******************/ + %feature("compactdefaultargs") Perform; + %feature("autodoc", "* Performs search of overlapped faces. + :rtype: None") Perform; + void Perform (); - :param theID: - :type theID: int - :rtype: TopoDS_Face -") GetSubShape2; - const TopoDS_Face GetSubShape2 (const Standard_Integer theID); - %feature("compactdefaultargs") ElementSet1; - %feature("autodoc", " * Returns set of all the face triangles of the 1st shape. + /****************** SetTolerance ******************/ + %feature("compactdefaultargs") SetTolerance; + %feature("autodoc", "* Sets tolerance value for overlap test (distance between shapes). + :param theTolerance: + :type theTolerance: float + :rtype: None") SetTolerance; + void SetTolerance (const Standard_Real theTolerance); - :rtype: Handle_BRepExtrema_TriangleSet -") ElementSet1; - Handle_BRepExtrema_TriangleSet ElementSet1 (); - %feature("compactdefaultargs") ElementSet2; - %feature("autodoc", " * Returns set of all the face triangles of the 2nd shape. + /****************** Tolerance ******************/ + %feature("compactdefaultargs") Tolerance; + %feature("autodoc", "* Returns tolerance value for overlap test (distance between shapes). + :rtype: float") Tolerance; + Standard_Real Tolerance (); - :rtype: Handle_BRepExtrema_TriangleSet -") ElementSet2; - Handle_BRepExtrema_TriangleSet ElementSet2 (); }; @@ -1060,18 +1147,22 @@ class BRepExtrema_ShapeProximity { __repr__ = _dumps_object } }; + +/********************************* +* class BRepExtrema_SolutionElem * +*********************************/ %nodefaultctor BRepExtrema_SolutionElem; class BRepExtrema_SolutionElem { public: + /****************** BRepExtrema_SolutionElem ******************/ %feature("compactdefaultargs") BRepExtrema_SolutionElem; - %feature("autodoc", " * Empty constructor - - :rtype: None -") BRepExtrema_SolutionElem; + %feature("autodoc", "* Empty constructor + :rtype: None") BRepExtrema_SolutionElem; BRepExtrema_SolutionElem (); - %feature("compactdefaultargs") BRepExtrema_SolutionElem; - %feature("autodoc", " * This constructor is used when the solution of a distance is a Vertex. The different initialized fields are: @param theDist the distance @param thePoint the solution point @param theSolType the type of solution @param theVertex and the Vertex + /****************** BRepExtrema_SolutionElem ******************/ + %feature("compactdefaultargs") BRepExtrema_SolutionElem; + %feature("autodoc", "* This constructor is used when the solution of a distance is a Vertex. The different initialized fields are: @param theDist the distance @param thePoint the solution point @param theSolType the type of solution @param theVertex and the Vertex :param theDist: :type theDist: float :param thePoint: @@ -1080,12 +1171,12 @@ class BRepExtrema_SolutionElem { :type theSolType: BRepExtrema_SupportType :param theVertex: :type theVertex: TopoDS_Vertex & - :rtype: None -") BRepExtrema_SolutionElem; + :rtype: None") BRepExtrema_SolutionElem; BRepExtrema_SolutionElem (const Standard_Real theDist,const gp_Pnt & thePoint,const BRepExtrema_SupportType theSolType,const TopoDS_Vertex & theVertex); - %feature("compactdefaultargs") BRepExtrema_SolutionElem; - %feature("autodoc", " * This constructor is used when the solution of distance is on an Edge. The different initialized fields are: @param theDist the distance @param thePoint the solution point @param theSolType the type of solution @param theEdge the Edge @param theParam the parameter to locate the solution + /****************** BRepExtrema_SolutionElem ******************/ + %feature("compactdefaultargs") BRepExtrema_SolutionElem; + %feature("autodoc", "* This constructor is used when the solution of distance is on an Edge. The different initialized fields are: @param theDist the distance @param thePoint the solution point @param theSolType the type of solution @param theEdge the Edge @param theParam the parameter to locate the solution :param theDist: :type theDist: float :param thePoint: @@ -1096,12 +1187,12 @@ class BRepExtrema_SolutionElem { :type theEdge: TopoDS_Edge & :param theParam: :type theParam: float - :rtype: None -") BRepExtrema_SolutionElem; + :rtype: None") BRepExtrema_SolutionElem; BRepExtrema_SolutionElem (const Standard_Real theDist,const gp_Pnt & thePoint,const BRepExtrema_SupportType theSolType,const TopoDS_Edge & theEdge,const Standard_Real theParam); - %feature("compactdefaultargs") BRepExtrema_SolutionElem; - %feature("autodoc", " * This constructor is used when the solution of distance is in a Face. The different initialized fields are: @param theDist the distance @param thePoint the solution point @param theSolType the type of solution @param theFace the Face @param theU U parameter to locate the solution @param theV V parameter to locate the solution + /****************** BRepExtrema_SolutionElem ******************/ + %feature("compactdefaultargs") BRepExtrema_SolutionElem; + %feature("autodoc", "* This constructor is used when the solution of distance is in a Face. The different initialized fields are: @param theDist the distance @param thePoint the solution point @param theSolType the type of solution @param theFace the Face @param theU U parameter to locate the solution @param theV V parameter to locate the solution :param theDist: :type theDist: float :param thePoint: @@ -1114,63 +1205,63 @@ class BRepExtrema_SolutionElem { :type theU: float :param theV: :type theV: float - :rtype: None -") BRepExtrema_SolutionElem; + :rtype: None") BRepExtrema_SolutionElem; BRepExtrema_SolutionElem (const Standard_Real theDist,const gp_Pnt & thePoint,const BRepExtrema_SupportType theSolType,const TopoDS_Face & theFace,const Standard_Real theU,const Standard_Real theV); - %feature("compactdefaultargs") Dist; - %feature("autodoc", " * Returns the value of the minimum distance. - :rtype: float -") Dist; + /****************** Dist ******************/ + %feature("compactdefaultargs") Dist; + %feature("autodoc", "* Returns the value of the minimum distance. + :rtype: float") Dist; Standard_Real Dist (); - %feature("compactdefaultargs") Point; - %feature("autodoc", " * Returns the solution point. - - :rtype: gp_Pnt -") Point; - const gp_Pnt Point (); - %feature("compactdefaultargs") SupportKind; - %feature("autodoc", " * Returns the Support type: IsVertex => The solution is a vertex. IsOnEdge => The solution belongs to an Edge. IsInFace => The solution is inside a Face. - - :rtype: BRepExtrema_SupportType -") SupportKind; - BRepExtrema_SupportType SupportKind (); - %feature("compactdefaultargs") Vertex; - %feature("autodoc", " * Returns the vertex if the solution is a Vertex. - :rtype: TopoDS_Vertex -") Vertex; - const TopoDS_Vertex Vertex (); + /****************** Edge ******************/ %feature("compactdefaultargs") Edge; - %feature("autodoc", " * Returns the vertex if the solution is an Edge. - - :rtype: TopoDS_Edge -") Edge; + %feature("autodoc", "* Returns the vertex if the solution is an Edge. + :rtype: TopoDS_Edge") Edge; const TopoDS_Edge Edge (); - %feature("compactdefaultargs") Face; - %feature("autodoc", " * Returns the vertex if the solution is an Face. - :rtype: TopoDS_Face -") Face; - const TopoDS_Face Face (); + /****************** EdgeParameter ******************/ %feature("compactdefaultargs") EdgeParameter; - %feature("autodoc", " * Returns the parameter value if the solution is on Edge. - + %feature("autodoc", "* Returns the parameter value if the solution is on Edge. :param theParam: :type theParam: float & - :rtype: None -") EdgeParameter; + :rtype: None") EdgeParameter; void EdgeParameter (Standard_Real &OutValue); - %feature("compactdefaultargs") FaceParameter; - %feature("autodoc", " * Returns the parameters U and V if the solution is in a Face. + /****************** Face ******************/ + %feature("compactdefaultargs") Face; + %feature("autodoc", "* Returns the vertex if the solution is an Face. + :rtype: TopoDS_Face") Face; + const TopoDS_Face Face (); + + /****************** FaceParameter ******************/ + %feature("compactdefaultargs") FaceParameter; + %feature("autodoc", "* Returns the parameters U and V if the solution is in a Face. :param theU: :type theU: float & :param theV: :type theV: float & - :rtype: None -") FaceParameter; + :rtype: None") FaceParameter; void FaceParameter (Standard_Real &OutValue,Standard_Real &OutValue); + + /****************** Point ******************/ + %feature("compactdefaultargs") Point; + %feature("autodoc", "* Returns the solution point. + :rtype: gp_Pnt") Point; + const gp_Pnt Point (); + + /****************** SupportKind ******************/ + %feature("compactdefaultargs") SupportKind; + %feature("autodoc", "* Returns the Support type: IsVertex => The solution is a vertex. IsOnEdge => The solution belongs to an Edge. IsInFace => The solution is inside a Face. + :rtype: BRepExtrema_SupportType") SupportKind; + BRepExtrema_SupportType SupportKind (); + + /****************** Vertex ******************/ + %feature("compactdefaultargs") Vertex; + %feature("autodoc", "* Returns the vertex if the solution is a Vertex. + :rtype: TopoDS_Vertex") Vertex; + const TopoDS_Vertex Vertex (); + }; @@ -1179,81 +1270,189 @@ class BRepExtrema_SolutionElem { __repr__ = _dumps_object } }; + +/******************************** +* class BRepExtrema_TriangleSet * +********************************/ +%nodefaultctor BRepExtrema_TriangleSet; +class BRepExtrema_TriangleSet : public BVH_PrimitiveSet3d { + public: + /****************** BRepExtrema_TriangleSet ******************/ + %feature("compactdefaultargs") BRepExtrema_TriangleSet; + %feature("autodoc", "* Creates empty triangle set. + :rtype: None") BRepExtrema_TriangleSet; + BRepExtrema_TriangleSet (); + + /****************** BRepExtrema_TriangleSet ******************/ + %feature("compactdefaultargs") BRepExtrema_TriangleSet; + %feature("autodoc", "* Creates triangle set from the given face. + :param theFaces: + :type theFaces: BRepExtrema_ShapeList & + :rtype: None") BRepExtrema_TriangleSet; + BRepExtrema_TriangleSet (const BRepExtrema_ShapeList & theFaces); + + /****************** Box ******************/ + %feature("compactdefaultargs") Box; + %feature("autodoc", "* Returns AABB of the given triangle. + :param theIndex: + :type theIndex: int + :rtype: BVH_Box") Box; + BVH_Box Box (const Standard_Integer theIndex); + + /****************** Center ******************/ + %feature("compactdefaultargs") Center; + %feature("autodoc", "* Returns centroid position along specified axis. + :param theIndex: + :type theIndex: int + :param theAxis: + :type theAxis: int + :rtype: float") Center; + Standard_Real Center (const Standard_Integer theIndex,const Standard_Integer theAxis); + + /****************** Clear ******************/ + %feature("compactdefaultargs") Clear; + %feature("autodoc", "* Clears triangle set data. + :rtype: None") Clear; + void Clear (); + + /****************** GetFaceID ******************/ + %feature("compactdefaultargs") GetFaceID; + %feature("autodoc", "* Returns face ID of the given triangle. + :param theIndex: + :type theIndex: int + :rtype: int") GetFaceID; + Standard_Integer GetFaceID (const Standard_Integer theIndex); + + /****************** GetVertices ******************/ + %feature("compactdefaultargs") GetVertices; + %feature("autodoc", "* Returns vertices of the given triangle. + :param theIndex: + :type theIndex: int + :param theVertex1: + :type theVertex1: BVH_Vec3d & + :param theVertex2: + :type theVertex2: BVH_Vec3d & + :param theVertex3: + :type theVertex3: BVH_Vec3d & + :rtype: None") GetVertices; + void GetVertices (const Standard_Integer theIndex,BVH_Vec3d & theVertex1,BVH_Vec3d & theVertex2,BVH_Vec3d & theVertex3); + + /****************** Init ******************/ + %feature("compactdefaultargs") Init; + %feature("autodoc", "* Initializes triangle set. + :param theFaces: + :type theFaces: BRepExtrema_ShapeList & + :rtype: bool") Init; + Standard_Boolean Init (const BRepExtrema_ShapeList & theFaces); + + /****************** Size ******************/ + %feature("compactdefaultargs") Size; + %feature("autodoc", "* @name methods implementing BVH set interface Returns total number of triangles. + :rtype: int") Size; + Standard_Integer Size (); + + /****************** Swap ******************/ + %feature("compactdefaultargs") Swap; + %feature("autodoc", "* Swaps indices of two specified triangles. + :param theIndex1: + :type theIndex1: int + :param theIndex2: + :type theIndex2: int + :rtype: None") Swap; + void Swap (const Standard_Integer theIndex1,const Standard_Integer theIndex2); + +}; + + +%make_alias(BRepExtrema_TriangleSet) + +%extend BRepExtrema_TriangleSet { + %pythoncode { + __repr__ = _dumps_object + } +}; + +/******************************** +* class BRepExtrema_OverlapTool * +********************************/ +/************************************* +* class BRepExtrema_SelfIntersection * +*************************************/ %nodefaultctor BRepExtrema_SelfIntersection; class BRepExtrema_SelfIntersection : public BRepExtrema_ElementFilter { public: + /****************** BRepExtrema_SelfIntersection ******************/ %feature("compactdefaultargs") BRepExtrema_SelfIntersection; - %feature("autodoc", " * Creates unitialized self-intersection tool. - + %feature("autodoc", "* Creates unitialized self-intersection tool. :param theTolerance: default value is 0.0 :type theTolerance: float - :rtype: None -") BRepExtrema_SelfIntersection; + :rtype: None") BRepExtrema_SelfIntersection; BRepExtrema_SelfIntersection (const Standard_Real theTolerance = 0.0); - %feature("compactdefaultargs") BRepExtrema_SelfIntersection; - %feature("autodoc", " * Creates self-intersection tool for the given shape. + /****************** BRepExtrema_SelfIntersection ******************/ + %feature("compactdefaultargs") BRepExtrema_SelfIntersection; + %feature("autodoc", "* Creates self-intersection tool for the given shape. :param theShape: :type theShape: TopoDS_Shape & :param theTolerance: default value is 0.0 :type theTolerance: float - :rtype: None -") BRepExtrema_SelfIntersection; + :rtype: None") BRepExtrema_SelfIntersection; BRepExtrema_SelfIntersection (const TopoDS_Shape & theShape,const Standard_Real theTolerance = 0.0); - %feature("compactdefaultargs") Tolerance; - %feature("autodoc", " * Returns tolerance value used for self-intersection test. - :rtype: float -") Tolerance; - Standard_Real Tolerance (); - %feature("compactdefaultargs") SetTolerance; - %feature("autodoc", " * Sets tolerance value used for self-intersection test. + /****************** ElementSet ******************/ + %feature("compactdefaultargs") ElementSet; + %feature("autodoc", "* Returns set of all the face triangles of the shape. + :rtype: opencascade::handle") ElementSet; + const opencascade::handle & ElementSet (); - :param theTolerance: - :type theTolerance: float - :rtype: None -") SetTolerance; - void SetTolerance (const Standard_Real theTolerance); - %feature("compactdefaultargs") LoadShape; - %feature("autodoc", " * Loads shape for detection of self-intersections. + /****************** GetSubShape ******************/ + %feature("compactdefaultargs") GetSubShape; + %feature("autodoc", "* Returns sub-shape from the shape for the given index (started from 0). + :param theID: + :type theID: int + :rtype: TopoDS_Face") GetSubShape; + const TopoDS_Face GetSubShape (const Standard_Integer theID); + /****************** IsDone ******************/ + %feature("compactdefaultargs") IsDone; + %feature("autodoc", "* True if the detection is completed. + :rtype: bool") IsDone; + Standard_Boolean IsDone (); + + /****************** LoadShape ******************/ + %feature("compactdefaultargs") LoadShape; + %feature("autodoc", "* Loads shape for detection of self-intersections. :param theShape: :type theShape: TopoDS_Shape & - :rtype: bool -") LoadShape; + :rtype: bool") LoadShape; Standard_Boolean LoadShape (const TopoDS_Shape & theShape); - %feature("compactdefaultargs") Perform; - %feature("autodoc", " * Performs detection of self-intersections. - - :rtype: None -") Perform; - void Perform (); - %feature("compactdefaultargs") IsDone; - %feature("autodoc", " * True if the detection is completed. - :rtype: bool -") IsDone; - Standard_Boolean IsDone (); + /****************** OverlapElements ******************/ %feature("compactdefaultargs") OverlapElements; - %feature("autodoc", " * Returns set of IDs of overlapped sub-shapes (started from 0). - - :rtype: BRepExtrema_MapOfIntegerPackedMapOfInteger -") OverlapElements; + %feature("autodoc", "* Returns set of IDs of overlapped sub-shapes (started from 0). + :rtype: BRepExtrema_MapOfIntegerPackedMapOfInteger") OverlapElements; const BRepExtrema_MapOfIntegerPackedMapOfInteger & OverlapElements (); - %feature("compactdefaultargs") GetSubShape; - %feature("autodoc", " * Returns sub-shape from the shape for the given index (started from 0). - :param theID: - :type theID: int - :rtype: TopoDS_Face -") GetSubShape; - const TopoDS_Face GetSubShape (const Standard_Integer theID); - %feature("compactdefaultargs") ElementSet; - %feature("autodoc", " * Returns set of all the face triangles of the shape. + /****************** Perform ******************/ + %feature("compactdefaultargs") Perform; + %feature("autodoc", "* Performs detection of self-intersections. + :rtype: None") Perform; + void Perform (); + + /****************** SetTolerance ******************/ + %feature("compactdefaultargs") SetTolerance; + %feature("autodoc", "* Sets tolerance value used for self-intersection test. + :param theTolerance: + :type theTolerance: float + :rtype: None") SetTolerance; + void SetTolerance (const Standard_Real theTolerance); + + /****************** Tolerance ******************/ + %feature("compactdefaultargs") Tolerance; + %feature("autodoc", "* Returns tolerance value used for self-intersection test. + :rtype: float") Tolerance; + Standard_Real Tolerance (); - :rtype: Handle_BRepExtrema_TriangleSet -") ElementSet; - Handle_BRepExtrema_TriangleSet ElementSet (); }; @@ -1262,3 +1461,7 @@ class BRepExtrema_SelfIntersection : public BRepExtrema_ElementFilter { __repr__ = _dumps_object } }; + +/* harray1 class */ +/* harray2 class */ +/* harray2 class */ diff --git a/src/SWIG_files/wrapper/BRepExtrema_headers.i b/src/SWIG_files/wrapper/BRepExtrema_headers.i deleted file mode 100644 index 56a951682..000000000 --- a/src/SWIG_files/wrapper/BRepExtrema_headers.i +++ /dev/null @@ -1,649 +0,0 @@ -/* -Copyright 2008-2017 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 . - -*/ -%{ -#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 -#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 -#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 -#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 -#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 -#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 -#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 -%}; -%import TopoDS.i -%import Extrema.i -%import Standard.i -%import gp.i -%import Bnd.i diff --git a/src/SWIG_files/wrapper/BRepFeat.i b/src/SWIG_files/wrapper/BRepFeat.i index e0a921f13..60f102f4d 100644 --- a/src/SWIG_files/wrapper/BRepFeat.i +++ b/src/SWIG_files/wrapper/BRepFeat.i @@ -1,6 +1,5 @@ /* -Copyright 2008-2017 Thomas Paviot (tpaviot@gmail.com) - +Copyright 2008-2019 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -15,57 +14,13 @@ 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 BREPFEATDOCSTRING -"BRepFeat is necessary for the -creation and manipulation of both form and mechanical features in a -Boundary Representation framework. Form features can be depressions or -protrusions and include the following types: -- Cylinder -- Draft Prism -- Prism -- Revolved feature -- Pipe -Depending on whether you wish to make a depression or a protrusion, -you can choose your operation type between the following: -- removing matter (a Boolean cut: Fuse setting 0) -- adding matter (Boolean fusion: Fuse setting 1) -The semantics of form feature creation is based on the -construction of shapes: -- for a certain length in a certain direction -- up to a limiting face -- from a limiting face at a height -- above and/or below a plane -The shape defining the construction of a feature can be either a -supporting edge or a concerned area of a face. -In case of supporting edge, this contour can be attached to a face -of the basis shape by binding. When the contour is bound to this face, -the information that the contour will slide on the face becomes -available to the relevant class methods. In case of the concerned -area of a face, you could, for example, cut it out and move it at -a different height, which will define the limiting face of a -protrusion or depression. Topological definition with local -operations of this sort makes calculations simpler and faster -than a global operation. The latter would entail a second phase of -removing unwanted matter to get the same result. -Mechanical features include ribs - protrusions - and grooves (or -slots) - depressions along planar (linear) surfaces or revolution surfaces. -The semantics of mechanical features is based on giving -thickness to a contour. This thickness can either be unilateral -- on one side of the contour - or bilateral - on both sides. As in -the semantics of form features, the thickness is defined by -construction of shapes in specific contexts. -However, in case of mechanical features, development contexts -differ. Here they include extrusion: -- to a limiting face of the basis shape -- to or from a limiting plane -- to a height. -" +"BRepFeat module, see official documentation at +https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brepfeat.html" %enddef %module (package="OCC.Core", docstring=BREPFEATDOCSTRING) BRepFeat -#pragma SWIG nowarn=504,325,503 %{ #ifdef WNT @@ -80,11 +35,59 @@ differ. Here they include extrusion: %include ../common/OccHandle.i -%include BRepFeat_headers.i - -/* typedefs */ -/* end typedefs declaration */ - +%{ +#include + +//Dependencies +#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 +%}; +%import Standard.i +%import NCollection.i +%import TopoDS.i +%import gp.i +%import Geom.i +%import TColgp.i +%import TopAbs.i +%import BOPAlgo.i +%import TopTools.i +%import BRepBuilderAPI.i +%import TColGeom.i +%import LocOpe.i /* public enums */ enum BRepFeat_Status { BRepFeat_NoError = 0, @@ -133,41 +136,64 @@ enum BRepFeat_PerfSelection { /* end public enums declaration */ +/* handles */ +/* end handles declaration */ + +/* templates */ +/* end templates declaration */ + +/* typedefs */ +/* end typedefs declaration */ +/***************** +* class BRepFeat * +*****************/ %rename(brepfeat) BRepFeat; class BRepFeat { public: - %feature("compactdefaultargs") SampleEdges; - %feature("autodoc", " :param S: - :type S: TopoDS_Shape & - :param Pt: - :type Pt: TColgp_SequenceOfPnt - :rtype: void -") SampleEdges; - static void SampleEdges (const TopoDS_Shape & S,TColgp_SequenceOfPnt & Pt); + /****************** Barycenter ******************/ %feature("compactdefaultargs") Barycenter; - %feature("autodoc", " :param S: + %feature("autodoc", ":param S: :type S: TopoDS_Shape & :param Pt: :type Pt: gp_Pnt - :rtype: void -") Barycenter; + :rtype: void") Barycenter; static void Barycenter (const TopoDS_Shape & S,gp_Pnt & Pt); + + /****************** FaceUntil ******************/ + %feature("compactdefaultargs") FaceUntil; + %feature("autodoc", ":param S: + :type S: TopoDS_Shape & + :param F: + :type F: TopoDS_Face & + :rtype: void") FaceUntil; + static void FaceUntil (const TopoDS_Shape & S,TopoDS_Face & F); + + /****************** IsInside ******************/ + %feature("compactdefaultargs") IsInside; + %feature("autodoc", ":param F1: + :type F1: TopoDS_Face & + :param F2: + :type F2: TopoDS_Face & + :rtype: bool") IsInside; + static Standard_Boolean IsInside (const TopoDS_Face & F1,const TopoDS_Face & F2); + + /****************** ParametricBarycenter ******************/ %feature("compactdefaultargs") ParametricBarycenter; - %feature("autodoc", " :param S: + %feature("autodoc", ":param S: :type S: TopoDS_Shape & :param C: - :type C: Handle_Geom_Curve & - :rtype: float -") ParametricBarycenter; - static Standard_Real ParametricBarycenter (const TopoDS_Shape & S,const Handle_Geom_Curve & C); - %feature("compactdefaultargs") ParametricMinMax; - %feature("autodoc", " * Ori = True taking account the orientation + :type C: opencascade::handle & + :rtype: float") ParametricBarycenter; + static Standard_Real ParametricBarycenter (const TopoDS_Shape & S,const opencascade::handle & C); + /****************** ParametricMinMax ******************/ + %feature("compactdefaultargs") ParametricMinMax; + %feature("autodoc", "* Ori = True taking account the orientation :param S: :type S: TopoDS_Shape & :param C: - :type C: Handle_Geom_Curve & + :type C: opencascade::handle & :param prmin: :type prmin: float & :param prmax: @@ -180,45 +206,39 @@ class BRepFeat { :type flag: bool :param Ori: default value is Standard_False :type Ori: bool - :rtype: void -") ParametricMinMax; - static void ParametricMinMax (const TopoDS_Shape & S,const Handle_Geom_Curve & C,Standard_Real &OutValue,Standard_Real &OutValue,Standard_Real &OutValue,Standard_Real &OutValue,Standard_Boolean &OutValue,const Standard_Boolean Ori = Standard_False); - %feature("compactdefaultargs") IsInside; - %feature("autodoc", " :param F1: - :type F1: TopoDS_Face & - :param F2: - :type F2: TopoDS_Face & - :rtype: bool -") IsInside; - static Standard_Boolean IsInside (const TopoDS_Face & F1,const TopoDS_Face & F2); - %feature("compactdefaultargs") FaceUntil; - %feature("autodoc", " :param S: + :rtype: void") ParametricMinMax; + static void ParametricMinMax (const TopoDS_Shape & S,const opencascade::handle & C,Standard_Real &OutValue,Standard_Real &OutValue,Standard_Real &OutValue,Standard_Real &OutValue,Standard_Boolean &OutValue,const Standard_Boolean Ori = Standard_False); + + /****************** Print ******************/ + %feature("compactdefaultargs") Print; + %feature("autodoc", "* Prints the Error description of the State as a String on the Stream and returns . + :param SE: + :type SE: BRepFeat_StatusError + :param S: + :type S: Standard_OStream & + :rtype: Standard_OStream") Print; + static Standard_OStream & Print (const BRepFeat_StatusError SE,Standard_OStream & S); + + /****************** SampleEdges ******************/ + %feature("compactdefaultargs") SampleEdges; + %feature("autodoc", ":param S: :type S: TopoDS_Shape & - :param F: - :type F: TopoDS_Face & - :rtype: void -") FaceUntil; - static void FaceUntil (const TopoDS_Shape & S,TopoDS_Face & F); + :param Pt: + :type Pt: TColgp_SequenceOfPnt + :rtype: void") SampleEdges; + static void SampleEdges (const TopoDS_Shape & S,TColgp_SequenceOfPnt & Pt); + + /****************** Tool ******************/ %feature("compactdefaultargs") Tool; - %feature("autodoc", " :param SRef: + %feature("autodoc", ":param SRef: :type SRef: TopoDS_Shape & :param Fac: :type Fac: TopoDS_Face & :param Orf: :type Orf: TopAbs_Orientation - :rtype: TopoDS_Solid -") Tool; + :rtype: TopoDS_Solid") Tool; static TopoDS_Solid Tool (const TopoDS_Shape & SRef,const TopoDS_Face & Fac,const TopAbs_Orientation Orf); - %feature("compactdefaultargs") Print; - %feature("autodoc", " * Prints the Error description of the State as a String on the Stream and returns . - :param SE: - :type SE: BRepFeat_StatusError - :param S: - :type S: Standard_OStream & - :rtype: Standard_OStream -") Print; - static Standard_OStream & Print (const BRepFeat_StatusError SE,Standard_OStream & S); }; @@ -227,127 +247,132 @@ class BRepFeat { __repr__ = _dumps_object } }; + +/************************* +* class BRepFeat_Builder * +*************************/ %nodefaultctor BRepFeat_Builder; class BRepFeat_Builder : public BOPAlgo_BOP { public: + /****************** BRepFeat_Builder ******************/ %feature("compactdefaultargs") BRepFeat_Builder; - %feature("autodoc", " :rtype: None -") BRepFeat_Builder; + %feature("autodoc", ":rtype: None") BRepFeat_Builder; BRepFeat_Builder (); - %feature("compactdefaultargs") Clear; - %feature("autodoc", " * Clears internal fields and arguments. - :rtype: void -") Clear; + /****************** CheckSolidImages ******************/ + %feature("compactdefaultargs") CheckSolidImages; + %feature("autodoc", "* Collects the images of the object, that contains in the images of the tool. + :rtype: None") CheckSolidImages; + void CheckSolidImages (); + + /****************** Clear ******************/ + %feature("compactdefaultargs") Clear; + %feature("autodoc", "* Clears internal fields and arguments. + :rtype: void") Clear; virtual void Clear (); - %feature("compactdefaultargs") Init; - %feature("autodoc", " * Initialyzes the object of local boolean operation. + /****************** FillRemoved ******************/ + %feature("compactdefaultargs") FillRemoved; + %feature("autodoc", "* Collects the removed parts of the tool into myRemoved map. + :rtype: None") FillRemoved; + void FillRemoved (); + + /****************** FillRemoved ******************/ + %feature("compactdefaultargs") FillRemoved; + %feature("autodoc", "* Adds the shape S and its sub-shapes into myRemoved map. + :param theS: + :type theS: TopoDS_Shape & + :param theM: + :type theM: TopTools_MapOfShape & + :rtype: None") FillRemoved; + void FillRemoved (const TopoDS_Shape & theS,TopTools_MapOfShape & theM); + + /****************** Init ******************/ + %feature("compactdefaultargs") Init; + %feature("autodoc", "* Initialyzes the object of local boolean operation. :param theShape: :type theShape: TopoDS_Shape & - :rtype: None -") Init; + :rtype: None") Init; void Init (const TopoDS_Shape & theShape); - %feature("compactdefaultargs") Init; - %feature("autodoc", " * Initialyzes the arguments of local boolean operation. + /****************** Init ******************/ + %feature("compactdefaultargs") Init; + %feature("autodoc", "* Initialyzes the arguments of local boolean operation. :param theShape: :type theShape: TopoDS_Shape & :param theTool: :type theTool: TopoDS_Shape & - :rtype: None -") Init; + :rtype: None") Init; void Init (const TopoDS_Shape & theShape,const TopoDS_Shape & theTool); - %feature("compactdefaultargs") SetOperation; - %feature("autodoc", " * Sets the operation of local boolean operation. If theFuse = 0 than the operation is CUT, otherwise FUSE. - - :param theFuse: - :type theFuse: int - :rtype: None -") SetOperation; - void SetOperation (const Standard_Integer theFuse); - %feature("compactdefaultargs") SetOperation; - %feature("autodoc", " * Sets the operation of local boolean operation. If theFlag = True it means that no selection of parts of the tool is needed, t.e. no second part. In that case if theFuse = 0 than operation is COMMON, otherwise CUT21. If theFlag = False SetOperation(theFuse) function is called. - :param theFuse: - :type theFuse: int - :param theFlag: - :type theFlag: bool - :rtype: None -") SetOperation; - void SetOperation (const Standard_Integer theFuse,const Standard_Boolean theFlag); - %feature("compactdefaultargs") PartsOfTool; - %feature("autodoc", " * Collects parts of the tool. + /****************** KeepPart ******************/ + %feature("compactdefaultargs") KeepPart; + %feature("autodoc", "* Adds shape theS and all its sub-shapes into myShapes map. + :param theS: + :type theS: TopoDS_Shape & + :rtype: None") KeepPart; + void KeepPart (const TopoDS_Shape & theS); - :param theLT: - :type theLT: TopTools_ListOfShape & - :rtype: None -") PartsOfTool; - void PartsOfTool (TopTools_ListOfShape & theLT); + /****************** KeepParts ******************/ %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", "* Initialyzes parts of the tool for second step of algorithm. Collects shapes and all sub-shapes into myShapes map. :param theIm: :type theIm: TopTools_ListOfShape & - :rtype: None -") KeepParts; + :rtype: None") KeepParts; void KeepParts (const TopTools_ListOfShape & theIm); - %feature("compactdefaultargs") KeepPart; - %feature("autodoc", " * Adds shape theS and all its sub-shapes into myShapes map. - :param theS: - :type theS: TopoDS_Shape & - :rtype: None -") KeepPart; - void KeepPart (const TopoDS_Shape & theS); - %feature("compactdefaultargs") PerformResult; - %feature("autodoc", " * Main function to build the result of the local operation required. + /****************** PartsOfTool ******************/ + %feature("compactdefaultargs") PartsOfTool; + %feature("autodoc", "* Collects parts of the tool. + :param theLT: + :type theLT: TopTools_ListOfShape & + :rtype: None") PartsOfTool; + void PartsOfTool (TopTools_ListOfShape & theLT); - :rtype: None -") PerformResult; + /****************** PerformResult ******************/ + %feature("compactdefaultargs") PerformResult; + %feature("autodoc", "* Main function to build the result of the local operation required. + :rtype: None") PerformResult; void PerformResult (); - %feature("compactdefaultargs") RebuildFaces; - %feature("autodoc", " * Rebuilds faces in accordance with the kept parts of the tool. - :rtype: None -") RebuildFaces; - void RebuildFaces (); + /****************** RebuildEdge ******************/ %feature("compactdefaultargs") RebuildEdge; - %feature("autodoc", " * Rebuilds edges in accordance with the kept parts of the tool. - + %feature("autodoc", "* Rebuilds edges in accordance with the kept parts of the tool. :param theE: :type theE: TopoDS_Shape & :param theF: :type theF: TopoDS_Face & :param theME: - :type theME: BOPCol_MapOfShape & + :type theME: TopTools_MapOfShape & :param aLEIm: - :type aLEIm: BOPCol_ListOfShape & - :rtype: None -") RebuildEdge; - void RebuildEdge (const TopoDS_Shape & theE,const TopoDS_Face & theF,const BOPCol_MapOfShape & theME,BOPCol_ListOfShape & aLEIm); - %feature("compactdefaultargs") CheckSolidImages; - %feature("autodoc", " * Collects the images of the object, that contains in the images of the tool. + :type aLEIm: TopTools_ListOfShape & + :rtype: None") RebuildEdge; + void RebuildEdge (const TopoDS_Shape & theE,const TopoDS_Face & theF,const TopTools_MapOfShape & theME,TopTools_ListOfShape & aLEIm); - :rtype: None -") CheckSolidImages; - void CheckSolidImages (); - %feature("compactdefaultargs") FillRemoved; - %feature("autodoc", " * Collects the removed parts of the tool into myRemoved map. + /****************** RebuildFaces ******************/ + %feature("compactdefaultargs") RebuildFaces; + %feature("autodoc", "* Rebuilds faces in accordance with the kept parts of the tool. + :rtype: None") RebuildFaces; + void RebuildFaces (); - :rtype: None -") FillRemoved; - void FillRemoved (); - %feature("compactdefaultargs") FillRemoved; - %feature("autodoc", " * Adds the shape S and its sub-shapes into myRemoved map. + /****************** SetOperation ******************/ + %feature("compactdefaultargs") SetOperation; + %feature("autodoc", "* Sets the operation of local boolean operation. If theFuse = 0 than the operation is CUT, otherwise FUSE. + :param theFuse: + :type theFuse: int + :rtype: None") SetOperation; + void SetOperation (const Standard_Integer theFuse); + + /****************** SetOperation ******************/ + %feature("compactdefaultargs") SetOperation; + %feature("autodoc", "* Sets the operation of local boolean operation. If theFlag = True it means that no selection of parts of the tool is needed, t.e. no second part. In that case if theFuse = 0 than operation is COMMON, otherwise CUT21. If theFlag = False SetOperation(theFuse) function is called. + :param theFuse: + :type theFuse: int + :param theFlag: + :type theFlag: bool + :rtype: None") SetOperation; + void SetOperation (const Standard_Integer theFuse,const Standard_Boolean theFlag); - :param theS: - :type theS: TopoDS_Shape & - :param theM: - :type theM: BOPCol_MapOfShape & - :rtype: None -") FillRemoved; - void FillRemoved (const TopoDS_Shape & theS,BOPCol_MapOfShape & theM); }; @@ -356,111 +381,119 @@ class BRepFeat_Builder : public BOPAlgo_BOP { __repr__ = _dumps_object } }; + +/********************** +* class BRepFeat_Form * +**********************/ %nodefaultctor BRepFeat_Form; class BRepFeat_Form : public BRepBuilderAPI_MakeShape { public: - %feature("compactdefaultargs") Modified; - %feature("autodoc", " * returns the list of generated Faces. + /****************** BarycCurve ******************/ + %feature("compactdefaultargs") BarycCurve; + %feature("autodoc", ":rtype: opencascade::handle") BarycCurve; + virtual opencascade::handle BarycCurve (); - :param F: - :type F: TopoDS_Shape & - :rtype: TopTools_ListOfShape -") Modified; - virtual const TopTools_ListOfShape & Modified (const TopoDS_Shape & F); - %feature("compactdefaultargs") Generated; - %feature("autodoc", " * returns a list of the created faces from the shape . + /****************** BasisShapeValid ******************/ + %feature("compactdefaultargs") BasisShapeValid; + %feature("autodoc", "* Initializes the topological construction if the basis shape is present. + :rtype: None") BasisShapeValid; + void BasisShapeValid (); + + /****************** CurrentStatusError ******************/ + %feature("compactdefaultargs") CurrentStatusError; + %feature("autodoc", ":rtype: BRepFeat_StatusError") CurrentStatusError; + BRepFeat_StatusError CurrentStatusError (); + + /****************** Curves ******************/ + %feature("compactdefaultargs") Curves; + %feature("autodoc", ":param S: + :type S: TColGeom_SequenceOfCurve & + :rtype: void") Curves; + virtual void Curves (TColGeom_SequenceOfCurve & S); + /****************** FirstShape ******************/ + %feature("compactdefaultargs") FirstShape; + %feature("autodoc", "* Returns the list of shapes created at the bottom of the created form. It may be an empty list. + :rtype: TopTools_ListOfShape") FirstShape; + const TopTools_ListOfShape & FirstShape (); + + /****************** Generated ******************/ + %feature("compactdefaultargs") Generated; + %feature("autodoc", "* returns a list of the created faces from the shape . :param S: :type S: TopoDS_Shape & - :rtype: TopTools_ListOfShape -") Generated; + :rtype: TopTools_ListOfShape") Generated; virtual const TopTools_ListOfShape & Generated (const TopoDS_Shape & S); + + /****************** GeneratedShapeValid ******************/ + %feature("compactdefaultargs") GeneratedShapeValid; + %feature("autodoc", "* Initializes the topological construction if the generated shape S is present. + :rtype: None") GeneratedShapeValid; + void GeneratedShapeValid (); + + /****************** GluedFacesValid ******************/ + %feature("compactdefaultargs") GluedFacesValid; + %feature("autodoc", "* Initializes the topological construction if the glued face is present. + :rtype: None") GluedFacesValid; + void GluedFacesValid (); + + /****************** IsDeleted ******************/ %feature("compactdefaultargs") IsDeleted; - %feature("autodoc", " :param S: + %feature("autodoc", ":param S: :type S: TopoDS_Shape & - :rtype: bool -") IsDeleted; + :rtype: bool") IsDeleted; virtual Standard_Boolean IsDeleted (const TopoDS_Shape & S); - %feature("compactdefaultargs") FirstShape; - %feature("autodoc", " * Returns the list of shapes created at the bottom of the created form. It may be an empty list. - :rtype: TopTools_ListOfShape -") FirstShape; - const TopTools_ListOfShape & FirstShape (); + /****************** LastShape ******************/ %feature("compactdefaultargs") LastShape; - %feature("autodoc", " * Returns the list of shapes created at the top of the created form. It may be an empty list. - - :rtype: TopTools_ListOfShape -") LastShape; + %feature("autodoc", "* Returns the list of shapes created at the top of the created form. It may be an empty list. + :rtype: TopTools_ListOfShape") LastShape; const TopTools_ListOfShape & LastShape (); - %feature("compactdefaultargs") NewEdges; - %feature("autodoc", " * Returns a list of the limiting and glueing edges generated by the feature. These edges did not originally exist in the basis shape. The list provides the information necessary for subsequent addition of fillets. It may be an empty list. - :rtype: TopTools_ListOfShape -") NewEdges; - const TopTools_ListOfShape & NewEdges (); - %feature("compactdefaultargs") TgtEdges; - %feature("autodoc", " * Returns a list of the tangent edges among the limiting and glueing edges generated by the feature. These edges did not originally exist in the basis shape and are tangent to the face against which the feature is built. The list provides the information necessary for subsequent addition of fillets. It may be an empty list. If an edge is tangent, no fillet is possible, and the edge must subsequently be removed if you want to add a fillet. + /****************** Modified ******************/ + %feature("compactdefaultargs") Modified; + %feature("autodoc", "* returns the list of generated Faces. + :param F: + :type F: TopoDS_Shape & + :rtype: TopTools_ListOfShape") Modified; + virtual const TopTools_ListOfShape & Modified (const TopoDS_Shape & F); - :rtype: TopTools_ListOfShape -") TgtEdges; - const TopTools_ListOfShape & TgtEdges (); - %feature("compactdefaultargs") BasisShapeValid; - %feature("autodoc", " * Initializes the topological construction if the basis shape is present. + /****************** NewEdges ******************/ + %feature("compactdefaultargs") NewEdges; + %feature("autodoc", "* Returns a list of the limiting and glueing edges generated by the feature. These edges did not originally exist in the basis shape. The list provides the information necessary for subsequent addition of fillets. It may be an empty list. + :rtype: TopTools_ListOfShape") NewEdges; + const TopTools_ListOfShape & NewEdges (); - :rtype: None -") BasisShapeValid; - void BasisShapeValid (); - %feature("compactdefaultargs") GeneratedShapeValid; - %feature("autodoc", " * Initializes the topological construction if the generated shape S is present. + /****************** PerfSelectionValid ******************/ + %feature("compactdefaultargs") PerfSelectionValid; + %feature("autodoc", "* Initializes the topological construction if the selected face is present. + :rtype: None") PerfSelectionValid; + void PerfSelectionValid (); - :rtype: None -") GeneratedShapeValid; - void GeneratedShapeValid (); + /****************** ShapeFromValid ******************/ %feature("compactdefaultargs") ShapeFromValid; - %feature("autodoc", " * Initializes the topological construction if the shape is present from the specified integer on. - - :rtype: None -") ShapeFromValid; + %feature("autodoc", "* Initializes the topological construction if the shape is present from the specified integer on. + :rtype: None") ShapeFromValid; void ShapeFromValid (); - %feature("compactdefaultargs") ShapeUntilValid; - %feature("autodoc", " * Initializes the topological construction if the shape is present until the specified integer. - :rtype: None -") ShapeUntilValid; + /****************** ShapeUntilValid ******************/ + %feature("compactdefaultargs") ShapeUntilValid; + %feature("autodoc", "* Initializes the topological construction if the shape is present until the specified integer. + :rtype: None") ShapeUntilValid; void ShapeUntilValid (); - %feature("compactdefaultargs") GluedFacesValid; - %feature("autodoc", " * Initializes the topological construction if the glued face is present. - :rtype: None -") GluedFacesValid; - void GluedFacesValid (); + /****************** SketchFaceValid ******************/ %feature("compactdefaultargs") SketchFaceValid; - %feature("autodoc", " * Initializes the topological construction if the sketch face is present. If the sketch face is inside the basis shape, local operations such as glueing can be performed. - - :rtype: None -") SketchFaceValid; + %feature("autodoc", "* Initializes the topological construction if the sketch face is present. If the sketch face is inside the basis shape, local operations such as glueing can be performed. + :rtype: None") SketchFaceValid; void SketchFaceValid (); - %feature("compactdefaultargs") PerfSelectionValid; - %feature("autodoc", " * Initializes the topological construction if the selected face is present. - :rtype: None -") PerfSelectionValid; - void PerfSelectionValid (); - %feature("compactdefaultargs") Curves; - %feature("autodoc", " :param S: - :type S: TColGeom_SequenceOfCurve & - :rtype: void -") Curves; - virtual void Curves (TColGeom_SequenceOfCurve & S); - %feature("compactdefaultargs") BarycCurve; - %feature("autodoc", " :rtype: Handle_Geom_Curve -") BarycCurve; - virtual Handle_Geom_Curve BarycCurve (); - %feature("compactdefaultargs") CurrentStatusError; - %feature("autodoc", " :rtype: BRepFeat_StatusError -") CurrentStatusError; - BRepFeat_StatusError CurrentStatusError (); + /****************** TgtEdges ******************/ + %feature("compactdefaultargs") TgtEdges; + %feature("autodoc", "* Returns a list of the tangent edges among the limiting and glueing edges generated by the feature. These edges did not originally exist in the basis shape and are tangent to the face against which the feature is built. The list provides the information necessary for subsequent addition of fillets. It may be an empty list. If an edge is tangent, no fillet is possible, and the edge must subsequently be removed if you want to add a fillet. + :rtype: TopTools_ListOfShape") TgtEdges; + const TopTools_ListOfShape & TgtEdges (); + }; @@ -469,95 +502,99 @@ class BRepFeat_Form : public BRepBuilderAPI_MakeShape { __repr__ = _dumps_object } }; + +/*********************** +* class BRepFeat_Gluer * +***********************/ %nodefaultctor BRepFeat_Gluer; class BRepFeat_Gluer : public BRepBuilderAPI_MakeShape { public: + /****************** BRepFeat_Gluer ******************/ %feature("compactdefaultargs") BRepFeat_Gluer; - %feature("autodoc", " * Initializes an empty constructor - - :rtype: None -") BRepFeat_Gluer; + %feature("autodoc", "* Initializes an empty constructor + :rtype: None") BRepFeat_Gluer; BRepFeat_Gluer (); - %feature("compactdefaultargs") BRepFeat_Gluer; - %feature("autodoc", " * Initializes the shapes to be glued, the new shape Snew and the basis shape Sbase. + /****************** BRepFeat_Gluer ******************/ + %feature("compactdefaultargs") BRepFeat_Gluer; + %feature("autodoc", "* Initializes the shapes to be glued, the new shape Snew and the basis shape Sbase. :param Snew: :type Snew: TopoDS_Shape & :param Sbase: :type Sbase: TopoDS_Shape & - :rtype: None -") BRepFeat_Gluer; + :rtype: None") BRepFeat_Gluer; BRepFeat_Gluer (const TopoDS_Shape & Snew,const TopoDS_Shape & Sbase); - %feature("compactdefaultargs") Init; - %feature("autodoc", " * Initializes the new shape Snew and the basis shape Sbase for the local glueing operation. - :param Snew: - :type Snew: TopoDS_Shape & - :param Sbase: - :type Sbase: TopoDS_Shape & - :rtype: None -") Init; - void Init (const TopoDS_Shape & Snew,const TopoDS_Shape & Sbase); - %feature("compactdefaultargs") Bind; - %feature("autodoc", " * Defines a contact between Fnew on the new shape Snew and Fbase on the basis shape Sbase. Informs other methods that Fnew in the new shape Snew is connected to the face Fbase in the basis shape Sbase. The contact faces of the glued shape must not have parts outside the contact faces of the basis shape. This indicates that glueing is possible. + /****************** BasisShape ******************/ + %feature("compactdefaultargs") BasisShape; + %feature("autodoc", "* Returns the basis shape of the compound shape. + :rtype: TopoDS_Shape") BasisShape; + const TopoDS_Shape BasisShape (); + /****************** Bind ******************/ + %feature("compactdefaultargs") Bind; + %feature("autodoc", "* Defines a contact between Fnew on the new shape Snew and Fbase on the basis shape Sbase. Informs other methods that Fnew in the new shape Snew is connected to the face Fbase in the basis shape Sbase. The contact faces of the glued shape must not have parts outside the contact faces of the basis shape. This indicates that glueing is possible. :param Fnew: :type Fnew: TopoDS_Face & :param Fbase: :type Fbase: TopoDS_Face & - :rtype: None -") Bind; + :rtype: None") Bind; void Bind (const TopoDS_Face & Fnew,const TopoDS_Face & Fbase); - %feature("compactdefaultargs") Bind; - %feature("autodoc", " * nforms other methods that the edge Enew in the new shape is the same as the edge Ebase in the basis shape and is therefore attached to the basis shape. This indicates that glueing is possible. + /****************** Bind ******************/ + %feature("compactdefaultargs") Bind; + %feature("autodoc", "* nforms other methods that the edge Enew in the new shape is the same as the edge Ebase in the basis shape and is therefore attached to the basis shape. This indicates that glueing is possible. :param Enew: :type Enew: TopoDS_Edge & :param Ebase: :type Ebase: TopoDS_Edge & - :rtype: None -") Bind; + :rtype: None") Bind; void Bind (const TopoDS_Edge & Enew,const TopoDS_Edge & Ebase); - %feature("compactdefaultargs") OpeType; - %feature("autodoc", " * Determine which operation type to use glueing or sliding. - :rtype: LocOpe_Operation -") OpeType; - LocOpe_Operation OpeType (); - %feature("compactdefaultargs") BasisShape; - %feature("autodoc", " * Returns the basis shape of the compound shape. + /****************** Build ******************/ + %feature("compactdefaultargs") Build; + %feature("autodoc", "* This is called by Shape(). It does nothing but may be redefined. + :rtype: void") Build; + virtual void Build (); - :rtype: TopoDS_Shape -") BasisShape; - const TopoDS_Shape BasisShape (); + /****************** GluedShape ******************/ %feature("compactdefaultargs") GluedShape; - %feature("autodoc", " * Returns the resulting compound shape. - - :rtype: TopoDS_Shape -") GluedShape; + %feature("autodoc", "* Returns the resulting compound shape. + :rtype: TopoDS_Shape") GluedShape; const TopoDS_Shape GluedShape (); - %feature("compactdefaultargs") Build; - %feature("autodoc", " * This is called by Shape(). It does nothing but may be redefined. - :rtype: void -") Build; - virtual void Build (); - %feature("compactdefaultargs") IsDeleted; - %feature("autodoc", " * returns the status of the Face after the shape creation. + /****************** Init ******************/ + %feature("compactdefaultargs") Init; + %feature("autodoc", "* Initializes the new shape Snew and the basis shape Sbase for the local glueing operation. + :param Snew: + :type Snew: TopoDS_Shape & + :param Sbase: + :type Sbase: TopoDS_Shape & + :rtype: None") Init; + void Init (const TopoDS_Shape & Snew,const TopoDS_Shape & Sbase); + /****************** IsDeleted ******************/ + %feature("compactdefaultargs") IsDeleted; + %feature("autodoc", "* returns the status of the Face after the shape creation. :param F: :type F: TopoDS_Shape & - :rtype: bool -") IsDeleted; + :rtype: bool") IsDeleted; virtual Standard_Boolean IsDeleted (const TopoDS_Shape & F); - %feature("compactdefaultargs") Modified; - %feature("autodoc", " * returns the list of generated Faces. + /****************** Modified ******************/ + %feature("compactdefaultargs") Modified; + %feature("autodoc", "* returns the list of generated Faces. :param F: :type F: TopoDS_Shape & - :rtype: TopTools_ListOfShape -") Modified; + :rtype: TopTools_ListOfShape") Modified; virtual const TopTools_ListOfShape & Modified (const TopoDS_Shape & F); + + /****************** OpeType ******************/ + %feature("compactdefaultargs") OpeType; + %feature("autodoc", "* Determine which operation type to use glueing or sliding. + :rtype: LocOpe_Operation") OpeType; + LocOpe_Operation OpeType (); + }; @@ -566,89 +603,96 @@ class BRepFeat_Gluer : public BRepBuilderAPI_MakeShape { __repr__ = _dumps_object } }; + +/************************* +* class BRepFeat_RibSlot * +*************************/ %nodefaultctor BRepFeat_RibSlot; class BRepFeat_RibSlot : public BRepBuilderAPI_MakeShape { public: - %feature("compactdefaultargs") IsDeleted; - %feature("autodoc", " * Returns true if F a TopoDS_Shape of type edge or face has been deleted. + /****************** ChoiceOfFaces ******************/ + %feature("compactdefaultargs") ChoiceOfFaces; + %feature("autodoc", ":param faces: + :type faces: TopTools_ListOfShape & + :param cc: + :type cc: opencascade::handle & + :param par: + :type par: float + :param bnd: + :type bnd: float + :param Pln: + :type Pln: opencascade::handle & + :rtype: TopoDS_Face") ChoiceOfFaces; + static TopoDS_Face ChoiceOfFaces (TopTools_ListOfShape & faces,const opencascade::handle & cc,const Standard_Real par,const Standard_Real bnd,const opencascade::handle & Pln); - :param F: - :type F: TopoDS_Shape & - :rtype: bool -") IsDeleted; - virtual Standard_Boolean IsDeleted (const TopoDS_Shape & F); - %feature("compactdefaultargs") Modified; - %feature("autodoc", " * Returns the list of generated Faces F. This list may be empty. + /****************** CurrentStatusError ******************/ + %feature("compactdefaultargs") CurrentStatusError; + %feature("autodoc", ":rtype: BRepFeat_StatusError") CurrentStatusError; + BRepFeat_StatusError CurrentStatusError (); - :param F: - :type F: TopoDS_Shape & - :rtype: TopTools_ListOfShape -") Modified; - virtual const TopTools_ListOfShape & Modified (const TopoDS_Shape & F); - %feature("compactdefaultargs") Generated; - %feature("autodoc", " * Returns a list TopTools_ListOfShape of the faces S created in the shape. + /****************** FacesForDraft ******************/ + %feature("compactdefaultargs") FacesForDraft; + %feature("autodoc", "* Returns a list of the limiting and glueing faces generated by the feature. These faces did not originally exist in the basis shape. The list provides the information necessary for subsequent addition of a draft to a face. It may be an empty list. If a face has tangent edges, no draft is possible, and the tangent edges must subsequently be removed if you want to add a draft to the face. + :rtype: TopTools_ListOfShape") FacesForDraft; + const TopTools_ListOfShape & FacesForDraft (); + /****************** FirstShape ******************/ + %feature("compactdefaultargs") FirstShape; + %feature("autodoc", "* Returns the list of shapes created at the bottom of the created form. It may be an empty list. + :rtype: TopTools_ListOfShape") FirstShape; + const TopTools_ListOfShape & FirstShape (); + + /****************** Generated ******************/ + %feature("compactdefaultargs") Generated; + %feature("autodoc", "* Returns a list TopTools_ListOfShape of the faces S created in the shape. :param S: :type S: TopoDS_Shape & - :rtype: TopTools_ListOfShape -") Generated; + :rtype: TopTools_ListOfShape") Generated; virtual const TopTools_ListOfShape & Generated (const TopoDS_Shape & S); - %feature("compactdefaultargs") FirstShape; - %feature("autodoc", " * Returns the list of shapes created at the bottom of the created form. It may be an empty list. - :rtype: TopTools_ListOfShape -") FirstShape; - const TopTools_ListOfShape & FirstShape (); - %feature("compactdefaultargs") LastShape; - %feature("autodoc", " * Returns the list of shapes created at the top of the created form. It may be an empty list. + /****************** IntPar ******************/ + %feature("compactdefaultargs") IntPar; + %feature("autodoc", ":param C: + :type C: opencascade::handle & + :param P: + :type P: gp_Pnt + :rtype: float") IntPar; + static Standard_Real IntPar (const opencascade::handle & C,const gp_Pnt & P); - :rtype: TopTools_ListOfShape -") LastShape; + /****************** IsDeleted ******************/ + %feature("compactdefaultargs") IsDeleted; + %feature("autodoc", "* Returns true if F a TopoDS_Shape of type edge or face has been deleted. + :param F: + :type F: TopoDS_Shape & + :rtype: bool") IsDeleted; + virtual Standard_Boolean IsDeleted (const TopoDS_Shape & F); + + /****************** LastShape ******************/ + %feature("compactdefaultargs") LastShape; + %feature("autodoc", "* Returns the list of shapes created at the top of the created form. It may be an empty list. + :rtype: TopTools_ListOfShape") LastShape; const TopTools_ListOfShape & LastShape (); - %feature("compactdefaultargs") FacesForDraft; - %feature("autodoc", " * Returns a list of the limiting and glueing faces generated by the feature. These faces did not originally exist in the basis shape. The list provides the information necessary for subsequent addition of a draft to a face. It may be an empty list. If a face has tangent edges, no draft is possible, and the tangent edges must subsequently be removed if you want to add a draft to the face. - :rtype: TopTools_ListOfShape -") FacesForDraft; - const TopTools_ListOfShape & FacesForDraft (); - %feature("compactdefaultargs") NewEdges; - %feature("autodoc", " * Returns a list of the limiting and glueing edges generated by the feature. These edges did not originally exist in the basis shape. The list provides the information necessary for subsequent addition of fillets. It may be an empty list. + /****************** Modified ******************/ + %feature("compactdefaultargs") Modified; + %feature("autodoc", "* Returns the list of generated Faces F. This list may be empty. + :param F: + :type F: TopoDS_Shape & + :rtype: TopTools_ListOfShape") Modified; + virtual const TopTools_ListOfShape & Modified (const TopoDS_Shape & F); - :rtype: TopTools_ListOfShape -") NewEdges; + /****************** NewEdges ******************/ + %feature("compactdefaultargs") NewEdges; + %feature("autodoc", "* Returns a list of the limiting and glueing edges generated by the feature. These edges did not originally exist in the basis shape. The list provides the information necessary for subsequent addition of fillets. It may be an empty list. + :rtype: TopTools_ListOfShape") NewEdges; const TopTools_ListOfShape & NewEdges (); - %feature("compactdefaultargs") TgtEdges; - %feature("autodoc", " * Returns a list of the tangent edges among the limiting and glueing edges generated by the feature. These edges did not originally exist in the basis shape and are tangent to the face against which the feature is built. The list provides the information necessary for subsequent addition of fillets. It may be an empty list. If an edge is tangent, no fillet is possible, and the edge must subsequently be removed if you want to add a fillet. - :rtype: TopTools_ListOfShape -") TgtEdges; + /****************** TgtEdges ******************/ + %feature("compactdefaultargs") TgtEdges; + %feature("autodoc", "* Returns a list of the tangent edges among the limiting and glueing edges generated by the feature. These edges did not originally exist in the basis shape and are tangent to the face against which the feature is built. The list provides the information necessary for subsequent addition of fillets. It may be an empty list. If an edge is tangent, no fillet is possible, and the edge must subsequently be removed if you want to add a fillet. + :rtype: TopTools_ListOfShape") TgtEdges; const TopTools_ListOfShape & TgtEdges (); - %feature("compactdefaultargs") IntPar; - %feature("autodoc", " :param C: - :type C: Handle_Geom_Curve & - :param P: - :type P: gp_Pnt - :rtype: float -") IntPar; - static Standard_Real IntPar (const Handle_Geom_Curve & C,const gp_Pnt & P); - %feature("compactdefaultargs") ChoiceOfFaces; - %feature("autodoc", " :param faces: - :type faces: TopTools_ListOfShape & - :param cc: - :type cc: Handle_Geom_Curve & - :param par: - :type par: float - :param bnd: - :type bnd: float - :param Pln: - :type Pln: Handle_Geom_Plane & - :rtype: TopoDS_Face -") ChoiceOfFaces; - static TopoDS_Face ChoiceOfFaces (TopTools_ListOfShape & faces,const Handle_Geom_Curve & cc,const Standard_Real par,const Standard_Real bnd,const Handle_Geom_Plane & Pln); - %feature("compactdefaultargs") CurrentStatusError; - %feature("autodoc", " :rtype: BRepFeat_StatusError -") CurrentStatusError; - BRepFeat_StatusError CurrentStatusError (); + }; @@ -657,113 +701,125 @@ class BRepFeat_RibSlot : public BRepBuilderAPI_MakeShape { __repr__ = _dumps_object } }; + +/**************************** +* class BRepFeat_SplitShape * +****************************/ %nodefaultctor BRepFeat_SplitShape; class BRepFeat_SplitShape : public BRepBuilderAPI_MakeShape { public: - %feature("compactdefaultargs") BRepFeat_SplitShape; - %feature("autodoc", " * Empty constructor - - :rtype: None -") BRepFeat_SplitShape; - BRepFeat_SplitShape (); - %feature("compactdefaultargs") BRepFeat_SplitShape; - %feature("autodoc", " * Creates the process with the shape . - - :param S: - :type S: TopoDS_Shape & - :rtype: None -") BRepFeat_SplitShape; - BRepFeat_SplitShape (const TopoDS_Shape & S); - %feature("compactdefaultargs") Init; - %feature("autodoc", " * Initializes the process on the shape . - - :param S: - :type S: TopoDS_Shape & - :rtype: None -") Init; - void Init (const TopoDS_Shape & S); - %feature("compactdefaultargs") SetCheckInterior; - %feature("autodoc", " * Set the flag of check internal intersections default value is True (to check) - - :param ToCheckInterior: - :type ToCheckInterior: bool - :rtype: None -") SetCheckInterior; - void SetCheckInterior (const Standard_Boolean ToCheckInterior); + /****************** Add ******************/ %feature("compactdefaultargs") Add; - %feature("autodoc", " * Adds the wire on the face . Raises NoSuchObject if does not belong to the original shape. + %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 + :param theEdges: + :type theEdges: TopTools_SequenceOfShape & + :rtype: bool") Add; + Standard_Boolean Add (const TopTools_SequenceOfShape & theEdges); + /****************** Add ******************/ + %feature("compactdefaultargs") Add; + %feature("autodoc", "* Adds the wire on the face . Raises NoSuchObject if does not belong to the original shape. :param W: :type W: TopoDS_Wire & :param F: :type F: TopoDS_Face & - :rtype: None -") Add; + :rtype: None") Add; void Add (const TopoDS_Wire & W,const TopoDS_Face & F); - %feature("compactdefaultargs") Add; - %feature("autodoc", " * Adds the edge on the face . + /****************** Add ******************/ + %feature("compactdefaultargs") Add; + %feature("autodoc", "* Adds the edge on the face . :param E: :type E: TopoDS_Edge & :param F: :type F: TopoDS_Face & - :rtype: None -") Add; + :rtype: None") Add; void Add (const TopoDS_Edge & E,const TopoDS_Face & F); - %feature("compactdefaultargs") Add; - %feature("autodoc", " * Adds the compound on the face . The compound must consist of edges lying on the face . If edges are geometrically connected, they must be connected topologically, i.e. they must share common vertices. //! Raises NoSuchObject if does not belong to the original shape. + /****************** Add ******************/ + %feature("compactdefaultargs") Add; + %feature("autodoc", "* Adds the compound on the face . The compound must consist of edges lying on the face . If edges are geometrically connected, they must be connected topologically, i.e. they must share common vertices. //! Raises NoSuchObject if does not belong to the original shape. :param Comp: :type Comp: TopoDS_Compound & :param F: :type F: TopoDS_Face & - :rtype: None -") Add; + :rtype: None") Add; void Add (const TopoDS_Compound & Comp,const TopoDS_Face & F); - %feature("compactdefaultargs") Add; - %feature("autodoc", " * Adds the edge on the existing edge . + /****************** Add ******************/ + %feature("compactdefaultargs") Add; + %feature("autodoc", "* Adds the edge on the existing edge . :param E: :type E: TopoDS_Edge & :param EOn: :type EOn: TopoDS_Edge & - :rtype: None -") Add; + :rtype: None") Add; void Add (const TopoDS_Edge & E,const TopoDS_Edge & EOn); - %feature("compactdefaultargs") DirectLeft; - %feature("autodoc", " * Returns the faces which are the left of the projected wires. - :rtype: TopTools_ListOfShape -") DirectLeft; - const TopTools_ListOfShape & DirectLeft (); - %feature("compactdefaultargs") Left; - %feature("autodoc", " * Returns the faces of the 'left' part on the shape. (It is build from DirectLeft, with the faces connected to this set, and so on...). Raises NotDone if IsDone returns . + /****************** BRepFeat_SplitShape ******************/ + %feature("compactdefaultargs") BRepFeat_SplitShape; + %feature("autodoc", "* Empty constructor + :rtype: None") BRepFeat_SplitShape; + BRepFeat_SplitShape (); - :rtype: TopTools_ListOfShape -") Left; - const TopTools_ListOfShape & Left (); - %feature("compactdefaultargs") Build; - %feature("autodoc", " * Builds the cut and the resulting faces and edges as well. + /****************** BRepFeat_SplitShape ******************/ + %feature("compactdefaultargs") BRepFeat_SplitShape; + %feature("autodoc", "* Creates the process with the shape . + :param S: + :type S: TopoDS_Shape & + :rtype: None") BRepFeat_SplitShape; + BRepFeat_SplitShape (const TopoDS_Shape & S); - :rtype: None -") Build; + /****************** Build ******************/ + %feature("compactdefaultargs") Build; + %feature("autodoc", "* Builds the cut and the resulting faces and edges as well. + :rtype: None") Build; void Build (); - %feature("compactdefaultargs") IsDeleted; - %feature("autodoc", " * Returns true if the shape has been deleted. + /****************** DirectLeft ******************/ + %feature("compactdefaultargs") DirectLeft; + %feature("autodoc", "* Returns the faces which are the left of the projected wires. + :rtype: TopTools_ListOfShape") DirectLeft; + const TopTools_ListOfShape & DirectLeft (); + + /****************** Init ******************/ + %feature("compactdefaultargs") Init; + %feature("autodoc", "* Initializes the process on the shape . + :param S: + :type S: TopoDS_Shape & + :rtype: None") Init; + void Init (const TopoDS_Shape & S); + + /****************** IsDeleted ******************/ + %feature("compactdefaultargs") IsDeleted; + %feature("autodoc", "* Returns true if the shape has been deleted. :param S: :type S: TopoDS_Shape & - :rtype: bool -") IsDeleted; + :rtype: bool") IsDeleted; virtual Standard_Boolean IsDeleted (const TopoDS_Shape & S); - %feature("compactdefaultargs") Modified; - %feature("autodoc", " * Returns the list of generated Faces. + /****************** Left ******************/ + %feature("compactdefaultargs") Left; + %feature("autodoc", "* Returns the faces of the 'left' part on the shape. (It is build from DirectLeft, with the faces connected to this set, and so on...). Raises NotDone if IsDone returns . + :rtype: TopTools_ListOfShape") Left; + const TopTools_ListOfShape & Left (); + + /****************** Modified ******************/ + %feature("compactdefaultargs") Modified; + %feature("autodoc", "* Returns the list of generated Faces. :param F: :type F: TopoDS_Shape & - :rtype: TopTools_ListOfShape -") Modified; + :rtype: TopTools_ListOfShape") Modified; const TopTools_ListOfShape & Modified (const TopoDS_Shape & F); + + /****************** SetCheckInterior ******************/ + %feature("compactdefaultargs") SetCheckInterior; + %feature("autodoc", "* Set the flag of check internal intersections default value is True (to check) + :param ToCheckInterior: + :type ToCheckInterior: bool + :rtype: None") SetCheckInterior; + void SetCheckInterior (const Standard_Boolean ToCheckInterior); + }; @@ -772,44 +828,54 @@ class BRepFeat_SplitShape : public BRepBuilderAPI_MakeShape { __repr__ = _dumps_object } }; + +/************************************* +* class BRepFeat_MakeCylindricalHole * +*************************************/ %nodefaultctor BRepFeat_MakeCylindricalHole; class BRepFeat_MakeCylindricalHole : public BRepFeat_Builder { public: + /****************** BRepFeat_MakeCylindricalHole ******************/ %feature("compactdefaultargs") BRepFeat_MakeCylindricalHole; - %feature("autodoc", " * Empty constructor. - - :rtype: None -") BRepFeat_MakeCylindricalHole; + %feature("autodoc", "* Empty constructor. + :rtype: None") BRepFeat_MakeCylindricalHole; BRepFeat_MakeCylindricalHole (); - %feature("compactdefaultargs") Init; - %feature("autodoc", " * Sets the axis of the hole(s). + /****************** Build ******************/ + %feature("compactdefaultargs") Build; + %feature("autodoc", "* Builds the resulting shape (redefined from MakeShape). Invalidates the given parts of tools if any, and performs the result of the local operation. + :rtype: None") Build; + void Build (); + + /****************** Init ******************/ + %feature("compactdefaultargs") Init; + %feature("autodoc", "* Sets the axis of the hole(s). :param Axis: :type Axis: gp_Ax1 - :rtype: None -") Init; + :rtype: None") Init; void Init (const gp_Ax1 & Axis); - %feature("compactdefaultargs") Init; - %feature("autodoc", " * Sets the shape and axis on which hole(s) will be performed. + /****************** Init ******************/ + %feature("compactdefaultargs") Init; + %feature("autodoc", "* Sets the shape and axis on which hole(s) will be performed. :param S: :type S: TopoDS_Shape & :param Axis: :type Axis: gp_Ax1 - :rtype: None -") Init; + :rtype: None") Init; void Init (const TopoDS_Shape & S,const gp_Ax1 & Axis); - %feature("compactdefaultargs") Perform; - %feature("autodoc", " * Performs every holes of radius . This command has the same effect as a cut operation with an infinite cylinder defined by the given axis and . + /****************** Perform ******************/ + %feature("compactdefaultargs") Perform; + %feature("autodoc", "* Performs every holes of radius . This command has the same effect as a cut operation with an infinite cylinder defined by the given axis and . :param Radius: :type Radius: float - :rtype: None -") Perform; + :rtype: None") Perform; void Perform (const Standard_Real Radius); - %feature("compactdefaultargs") Perform; - %feature("autodoc", " * Performs evry hole of radius located between PFrom and PTo on the given axis. If is set to Standard_False no control are done on the resulting shape after the operation is performed. + /****************** Perform ******************/ + %feature("compactdefaultargs") Perform; + %feature("autodoc", "* Performs evry hole of radius located between PFrom and PTo on the given axis. If is set to Standard_False no control are done on the resulting shape after the operation is performed. :param Radius: :type Radius: float :param PFrom: @@ -818,53 +884,47 @@ class BRepFeat_MakeCylindricalHole : public BRepFeat_Builder { :type PTo: float :param WithControl: default value is Standard_True :type WithControl: bool - :rtype: None -") Perform; + :rtype: None") Perform; void Perform (const Standard_Real Radius,const Standard_Real PFrom,const Standard_Real PTo,const Standard_Boolean WithControl = Standard_True); - %feature("compactdefaultargs") PerformThruNext; - %feature("autodoc", " * Performs the first hole of radius , in the direction of the defined axis. First hole signify first encountered after the origin of the axis. If is set to Standard_False no control are done on the resulting shape after the operation is performed. + /****************** PerformBlind ******************/ + %feature("compactdefaultargs") PerformBlind; + %feature("autodoc", "* Performs a blind hole of radius and length . The length is measured from the origin of the given axis. If is set to Standard_False no control are done after the operation is performed. :param Radius: :type Radius: float + :param Length: + :type Length: float :param WithControl: default value is Standard_True :type WithControl: bool - :rtype: None -") PerformThruNext; - void PerformThruNext (const Standard_Real Radius,const Standard_Boolean WithControl = Standard_True); - %feature("compactdefaultargs") PerformUntilEnd; - %feature("autodoc", " * Performs evry holes of radius located after the origin of the given axis. If is set to Standard_False no control are done on the resulting shape after the operation is performed. + :rtype: None") PerformBlind; + void PerformBlind (const Standard_Real Radius,const Standard_Real Length,const Standard_Boolean WithControl = Standard_True); + /****************** PerformThruNext ******************/ + %feature("compactdefaultargs") PerformThruNext; + %feature("autodoc", "* Performs the first hole of radius , in the direction of the defined axis. First hole signify first encountered after the origin of the axis. If is set to Standard_False no control are done on the resulting shape after the operation is performed. :param Radius: :type Radius: float :param WithControl: default value is Standard_True :type WithControl: bool - :rtype: None -") PerformUntilEnd; - void PerformUntilEnd (const Standard_Real Radius,const Standard_Boolean WithControl = Standard_True); - %feature("compactdefaultargs") PerformBlind; - %feature("autodoc", " * Performs a blind hole of radius and length . The length is measured from the origin of the given axis. If is set to Standard_False no control are done after the operation is performed. + :rtype: None") PerformThruNext; + void PerformThruNext (const Standard_Real Radius,const Standard_Boolean WithControl = Standard_True); + /****************** PerformUntilEnd ******************/ + %feature("compactdefaultargs") PerformUntilEnd; + %feature("autodoc", "* Performs evry holes of radius located after the origin of the given axis. If is set to Standard_False no control are done on the resulting shape after the operation is performed. :param Radius: :type Radius: float - :param Length: - :type Length: float :param WithControl: default value is Standard_True :type WithControl: bool - :rtype: None -") PerformBlind; - void PerformBlind (const Standard_Real Radius,const Standard_Real Length,const Standard_Boolean WithControl = Standard_True); - %feature("compactdefaultargs") Status; - %feature("autodoc", " * Returns the status after a hole is performed. + :rtype: None") PerformUntilEnd; + void PerformUntilEnd (const Standard_Real Radius,const Standard_Boolean WithControl = Standard_True); - :rtype: BRepFeat_Status -") Status; + /****************** Status ******************/ + %feature("compactdefaultargs") Status; + %feature("autodoc", "* Returns the status after a hole is performed. + :rtype: BRepFeat_Status") Status; BRepFeat_Status Status (); - %feature("compactdefaultargs") Build; - %feature("autodoc", " * Builds the resulting shape (redefined from MakeShape). Invalidates the given parts of tools if any, and performs the result of the local operation. - :rtype: None -") Build; - void Build (); }; @@ -873,12 +933,26 @@ class BRepFeat_MakeCylindricalHole : public BRepFeat_Builder { __repr__ = _dumps_object } }; + +/**************************** +* class BRepFeat_MakeDPrism * +****************************/ %nodefaultctor BRepFeat_MakeDPrism; class BRepFeat_MakeDPrism : public BRepFeat_Form { public: - %feature("compactdefaultargs") BRepFeat_MakeDPrism; - %feature("autodoc", " * A face Pbase is selected in the shape Sbase to serve as the basis for the draft prism. The draft will be defined by the angle Angle and Fuse offers a choice between: - removing matter with a Boolean cut using the setting 0 - adding matter with Boolean fusion using the setting 1. The sketch face Skface serves to determine the type of operation. If it is inside the basis shape, a local operation such as glueing can be performed. Initializes the draft prism class + /****************** Add ******************/ + %feature("compactdefaultargs") Add; + %feature("autodoc", "* Indicates that the edge will slide on the face . Raises ConstructionError if the face does not belong to the basis shape, or the edge to the prismed shape. + :param E: + :type E: TopoDS_Edge & + :param OnFace: + :type OnFace: TopoDS_Face & + :rtype: None") Add; + void Add (const TopoDS_Edge & E,const TopoDS_Face & OnFace); + /****************** BRepFeat_MakeDPrism ******************/ + %feature("compactdefaultargs") BRepFeat_MakeDPrism; + %feature("autodoc", "* A face Pbase is selected in the shape Sbase to serve as the basis for the draft prism. The draft will be defined by the angle Angle and Fuse offers a choice between: - removing matter with a Boolean cut using the setting 0 - adding matter with Boolean fusion using the setting 1. The sketch face Skface serves to determine the type of operation. If it is inside the basis shape, a local operation such as glueing can be performed. Initializes the draft prism class :param Sbase: :type Sbase: TopoDS_Shape & :param Pbase: @@ -891,16 +965,37 @@ class BRepFeat_MakeDPrism : public BRepFeat_Form { :type Fuse: int :param Modify: :type Modify: bool - :rtype: None -") BRepFeat_MakeDPrism; + :rtype: None") BRepFeat_MakeDPrism; BRepFeat_MakeDPrism (const TopoDS_Shape & Sbase,const TopoDS_Face & Pbase,const TopoDS_Face & Skface,const Standard_Real Angle,const Standard_Integer Fuse,const Standard_Boolean Modify); + + /****************** BRepFeat_MakeDPrism ******************/ %feature("compactdefaultargs") BRepFeat_MakeDPrism; - %feature("autodoc", " :rtype: None -") BRepFeat_MakeDPrism; + %feature("autodoc", ":rtype: None") BRepFeat_MakeDPrism; BRepFeat_MakeDPrism (); - %feature("compactdefaultargs") Init; - %feature("autodoc", " * Initializes this algorithm for building draft prisms along surfaces. A face Pbase is selected in the basis shape Sbase to serve as the basis from the draft prism. The draft will be defined by the angle Angle and Fuse offers a choice between: - removing matter with a Boolean cut using the setting 0 - adding matter with Boolean fusion using the setting 1. The sketch face Skface serves to determine the type of operation. If it is inside the basis shape, a local operation such as glueing can be performed. + /****************** BarycCurve ******************/ + %feature("compactdefaultargs") BarycCurve; + %feature("autodoc", ":rtype: opencascade::handle") BarycCurve; + opencascade::handle BarycCurve (); + + /****************** BossEdges ******************/ + %feature("compactdefaultargs") BossEdges; + %feature("autodoc", "* Determination of TopEdges and LatEdges. sig = 1 -> TopEdges = FirstShape of the DPrism sig = 2 -> TOpEdges = LastShape of the DPrism + :param sig: + :type sig: int + :rtype: None") BossEdges; + void BossEdges (const Standard_Integer sig); + + /****************** Curves ******************/ + %feature("compactdefaultargs") Curves; + %feature("autodoc", ":param S: + :type S: TColGeom_SequenceOfCurve & + :rtype: None") Curves; + void Curves (TColGeom_SequenceOfCurve & S); + + /****************** Init ******************/ + %feature("compactdefaultargs") Init; + %feature("autodoc", "* Initializes this algorithm for building draft prisms along surfaces. A face Pbase is selected in the basis shape Sbase to serve as the basis from the draft prism. The draft will be defined by the angle Angle and Fuse offers a choice between: - removing matter with a Boolean cut using the setting 0 - adding matter with Boolean fusion using the setting 1. The sketch face Skface serves to determine the type of operation. If it is inside the basis shape, a local operation such as glueing can be performed. :param Sbase: :type Sbase: TopoDS_Shape & :param Pbase: @@ -913,101 +1008,75 @@ class BRepFeat_MakeDPrism : public BRepFeat_Form { :type Fuse: int :param Modify: :type Modify: bool - :rtype: None -") Init; + :rtype: None") Init; void Init (const TopoDS_Shape & Sbase,const TopoDS_Face & Pbase,const TopoDS_Face & Skface,const Standard_Real Angle,const Standard_Integer Fuse,const Standard_Boolean Modify); - %feature("compactdefaultargs") Add; - %feature("autodoc", " * Indicates that the edge will slide on the face . Raises ConstructionError if the face does not belong to the basis shape, or the edge to the prismed shape. - :param E: - :type E: TopoDS_Edge & - :param OnFace: - :type OnFace: TopoDS_Face & - :rtype: None -") Add; - void Add (const TopoDS_Edge & E,const TopoDS_Face & OnFace); + /****************** LatEdges ******************/ + %feature("compactdefaultargs") LatEdges; + %feature("autodoc", "* Returns the list of TopoDS Edges of the bottom of the boss. + :rtype: TopTools_ListOfShape") LatEdges; + const TopTools_ListOfShape & LatEdges (); + + /****************** Perform ******************/ %feature("compactdefaultargs") Perform; - %feature("autodoc", " :param Height: + %feature("autodoc", ":param Height: :type Height: float - :rtype: None -") Perform; + :rtype: None") Perform; void Perform (const Standard_Real Height); + + /****************** Perform ******************/ %feature("compactdefaultargs") Perform; - %feature("autodoc", " :param Until: + %feature("autodoc", ":param Until: :type Until: TopoDS_Shape & - :rtype: None -") Perform; + :rtype: None") Perform; void Perform (const TopoDS_Shape & Until); - %feature("compactdefaultargs") Perform; - %feature("autodoc", " * Assigns one of the following semantics - to a height Height - to a face Until - from a face From to a height Until. Reconstructs the feature topologically according to the semantic option chosen. + /****************** Perform ******************/ + %feature("compactdefaultargs") Perform; + %feature("autodoc", "* Assigns one of the following semantics - to a height Height - to a face Until - from a face From to a height Until. Reconstructs the feature topologically according to the semantic option chosen. :param From: :type From: TopoDS_Shape & :param Until: :type Until: TopoDS_Shape & - :rtype: None -") Perform; + :rtype: None") Perform; void Perform (const TopoDS_Shape & From,const TopoDS_Shape & Until); - %feature("compactdefaultargs") PerformUntilEnd; - %feature("autodoc", " * Realizes a semi-infinite prism, limited by the position of the prism base. - :rtype: None -") PerformUntilEnd; - void PerformUntilEnd (); + /****************** PerformFromEnd ******************/ %feature("compactdefaultargs") PerformFromEnd; - %feature("autodoc", " * Realizes a semi-infinite prism, limited by the face Funtil. - + %feature("autodoc", "* Realizes a semi-infinite prism, limited by the face Funtil. :param FUntil: :type FUntil: TopoDS_Shape & - :rtype: None -") PerformFromEnd; + :rtype: None") PerformFromEnd; void PerformFromEnd (const TopoDS_Shape & FUntil); - %feature("compactdefaultargs") PerformThruAll; - %feature("autodoc", " * Builds an infinite prism. The infinite descendants will not be kept in the result. - :rtype: None -") PerformThruAll; + /****************** PerformThruAll ******************/ + %feature("compactdefaultargs") PerformThruAll; + %feature("autodoc", "* Builds an infinite prism. The infinite descendants will not be kept in the result. + :rtype: None") PerformThruAll; void PerformThruAll (); - %feature("compactdefaultargs") PerformUntilHeight; - %feature("autodoc", " * Assigns both a limiting shape, Until from TopoDS_Shape, and a height, Height at which to stop generation of the prism feature. + /****************** PerformUntilEnd ******************/ + %feature("compactdefaultargs") PerformUntilEnd; + %feature("autodoc", "* Realizes a semi-infinite prism, limited by the position of the prism base. + :rtype: None") PerformUntilEnd; + void PerformUntilEnd (); + + /****************** PerformUntilHeight ******************/ + %feature("compactdefaultargs") PerformUntilHeight; + %feature("autodoc", "* Assigns both a limiting shape, Until from TopoDS_Shape, and a height, Height at which to stop generation of the prism feature. :param Until: :type Until: TopoDS_Shape & :param Height: :type Height: float - :rtype: None -") PerformUntilHeight; + :rtype: None") PerformUntilHeight; void PerformUntilHeight (const TopoDS_Shape & Until,const Standard_Real Height); - %feature("compactdefaultargs") Curves; - %feature("autodoc", " :param S: - :type S: TColGeom_SequenceOfCurve & - :rtype: None -") Curves; - void Curves (TColGeom_SequenceOfCurve & S); - %feature("compactdefaultargs") BarycCurve; - %feature("autodoc", " :rtype: Handle_Geom_Curve -") BarycCurve; - Handle_Geom_Curve BarycCurve (); - %feature("compactdefaultargs") BossEdges; - %feature("autodoc", " * Determination of TopEdges and LatEdges. sig = 1 -> TopEdges = FirstShape of the DPrism sig = 2 -> TOpEdges = LastShape of the DPrism - :param sig: - :type sig: int - :rtype: None -") BossEdges; - void BossEdges (const Standard_Integer sig); + /****************** TopEdges ******************/ %feature("compactdefaultargs") TopEdges; - %feature("autodoc", " * Returns the list of TopoDS Edges of the top of the boss. - - :rtype: TopTools_ListOfShape -") TopEdges; + %feature("autodoc", "* Returns the list of TopoDS Edges of the top of the boss. + :rtype: TopTools_ListOfShape") TopEdges; const TopTools_ListOfShape & TopEdges (); - %feature("compactdefaultargs") LatEdges; - %feature("autodoc", " * Returns the list of TopoDS Edges of the bottom of the boss. - :rtype: TopTools_ListOfShape -") LatEdges; - const TopTools_ListOfShape & LatEdges (); }; @@ -1016,24 +1085,38 @@ class BRepFeat_MakeDPrism : public BRepFeat_Form { __repr__ = _dumps_object } }; + +/******************************** +* class BRepFeat_MakeLinearForm * +********************************/ %nodefaultctor BRepFeat_MakeLinearForm; class BRepFeat_MakeLinearForm : public BRepFeat_RibSlot { public: - %feature("compactdefaultargs") BRepFeat_MakeLinearForm; - %feature("autodoc", " * initializes the linear form class + /****************** Add ******************/ + %feature("compactdefaultargs") Add; + %feature("autodoc", "* Indicates that the edge will slide on the face . Raises ConstructionError if the face does not belong to the basis shape, or the edge to the prismed shape. + :param E: + :type E: TopoDS_Edge & + :param OnFace: + :type OnFace: TopoDS_Face & + :rtype: None") Add; + void Add (const TopoDS_Edge & E,const TopoDS_Face & OnFace); - :rtype: None -") BRepFeat_MakeLinearForm; - BRepFeat_MakeLinearForm (); + /****************** BRepFeat_MakeLinearForm ******************/ %feature("compactdefaultargs") BRepFeat_MakeLinearForm; - %feature("autodoc", " * contour W, a shape Sbase and a plane P are initialized to serve as the basic elements in the construction of the rib or groove. Direction and Direction1 give The vectors for defining the direction(s) in which thickness will be built up. Fuse offers a choice between: - removing matter with a Boolean cut using the setting 0 in case of the groove - adding matter with Boolean fusion using the setting 1 in case of the rib. + %feature("autodoc", "* initializes the linear form class + :rtype: None") BRepFeat_MakeLinearForm; + BRepFeat_MakeLinearForm (); + /****************** BRepFeat_MakeLinearForm ******************/ + %feature("compactdefaultargs") BRepFeat_MakeLinearForm; + %feature("autodoc", "* contour W, a shape Sbase and a plane P are initialized to serve as the basic elements in the construction of the rib or groove. Direction and Direction1 give The vectors for defining the direction(s) in which thickness will be built up. Fuse offers a choice between: - removing matter with a Boolean cut using the setting 0 in case of the groove - adding matter with Boolean fusion using the setting 1 in case of the rib. :param Sbase: :type Sbase: TopoDS_Shape & :param W: :type W: TopoDS_Wire & :param P: - :type P: Handle_Geom_Plane & + :type P: opencascade::handle & :param Direction: :type Direction: gp_Vec :param Direction1: @@ -1042,18 +1125,18 @@ class BRepFeat_MakeLinearForm : public BRepFeat_RibSlot { :type Fuse: int :param Modify: :type Modify: bool - :rtype: None -") BRepFeat_MakeLinearForm; - BRepFeat_MakeLinearForm (const TopoDS_Shape & Sbase,const TopoDS_Wire & W,const Handle_Geom_Plane & P,const gp_Vec & Direction,const gp_Vec & Direction1,const Standard_Integer Fuse,const Standard_Boolean Modify); - %feature("compactdefaultargs") Init; - %feature("autodoc", " * Initializes this construction algorithm. A contour W, a shape Sbase and a plane P are initialized to serve as the basic elements in the construction of the rib or groove. The vectors for defining the direction(s) in which thickness will be built up are given by Direction and Direction1. Fuse offers a choice between: - removing matter with a Boolean cut using the setting 0 in case of the groove - adding matter with Boolean fusion using the setting 1 in case of the rib. + :rtype: None") BRepFeat_MakeLinearForm; + BRepFeat_MakeLinearForm (const TopoDS_Shape & Sbase,const TopoDS_Wire & W,const opencascade::handle & P,const gp_Vec & Direction,const gp_Vec & Direction1,const Standard_Integer Fuse,const Standard_Boolean Modify); + /****************** Init ******************/ + %feature("compactdefaultargs") Init; + %feature("autodoc", "* Initializes this construction algorithm. A contour W, a shape Sbase and a plane P are initialized to serve as the basic elements in the construction of the rib or groove. The vectors for defining the direction(s) in which thickness will be built up are given by Direction and Direction1. Fuse offers a choice between: - removing matter with a Boolean cut using the setting 0 in case of the groove - adding matter with Boolean fusion using the setting 1 in case of the rib. :param Sbase: :type Sbase: TopoDS_Shape & :param W: :type W: TopoDS_Wire & :param P: - :type P: Handle_Geom_Plane & + :type P: opencascade::handle & :param Direction: :type Direction: gp_Vec :param Direction1: @@ -1062,27 +1145,18 @@ class BRepFeat_MakeLinearForm : public BRepFeat_RibSlot { :type Fuse: int :param Modify: :type Modify: bool - :rtype: None -") Init; - void Init (const TopoDS_Shape & Sbase,const TopoDS_Wire & W,const Handle_Geom_Plane & P,const gp_Vec & Direction,const gp_Vec & Direction1,const Standard_Integer Fuse,const Standard_Boolean Modify); - %feature("compactdefaultargs") Add; - %feature("autodoc", " * Indicates that the edge will slide on the face . Raises ConstructionError if the face does not belong to the basis shape, or the edge to the prismed shape. + :rtype: None") Init; + void Init (const TopoDS_Shape & Sbase,const TopoDS_Wire & W,const opencascade::handle & P,const gp_Vec & Direction,const gp_Vec & Direction1,const Standard_Integer Fuse,const Standard_Boolean Modify); - :param E: - :type E: TopoDS_Edge & - :param OnFace: - :type OnFace: TopoDS_Face & - :rtype: None -") Add; - void Add (const TopoDS_Edge & E,const TopoDS_Face & OnFace); + /****************** Perform ******************/ %feature("compactdefaultargs") Perform; - %feature("autodoc", " * Performs a prism from the wire to the plane along the basis shape Sbase. Reconstructs the feature topologically. - - :rtype: None -") Perform; + %feature("autodoc", "* Performs a prism from the wire to the plane along the basis shape Sbase. Reconstructs the feature topologically. + :rtype: None") Perform; void Perform (); + + /****************** Propagate ******************/ %feature("compactdefaultargs") Propagate; - %feature("autodoc", " :param L: + %feature("autodoc", ":param L: :type L: TopTools_ListOfShape & :param F: :type F: TopoDS_Face & @@ -1092,9 +1166,9 @@ class BRepFeat_MakeLinearForm : public BRepFeat_RibSlot { :type LPoint: gp_Pnt :param falseside: :type falseside: bool - :rtype: bool -") Propagate; + :rtype: bool") Propagate; Standard_Boolean Propagate (TopTools_ListOfShape & L,const TopoDS_Face & F,const gp_Pnt & FPoint,const gp_Pnt & LPoint,Standard_Boolean &OutValue); + }; @@ -1103,18 +1177,32 @@ class BRepFeat_MakeLinearForm : public BRepFeat_RibSlot { __repr__ = _dumps_object } }; + +/************************** +* class BRepFeat_MakePipe * +**************************/ %nodefaultctor BRepFeat_MakePipe; class BRepFeat_MakePipe : public BRepFeat_Form { public: - %feature("compactdefaultargs") BRepFeat_MakePipe; - %feature("autodoc", " * initializes the pipe class. + /****************** Add ******************/ + %feature("compactdefaultargs") Add; + %feature("autodoc", "* Indicates that the edge will slide on the face . Raises ConstructionError if the face does not belong to the basis shape, or the edge to the prismed shape. + :param E: + :type E: TopoDS_Edge & + :param OnFace: + :type OnFace: TopoDS_Face & + :rtype: None") Add; + void Add (const TopoDS_Edge & E,const TopoDS_Face & OnFace); - :rtype: None -") BRepFeat_MakePipe; - BRepFeat_MakePipe (); + /****************** BRepFeat_MakePipe ******************/ %feature("compactdefaultargs") BRepFeat_MakePipe; - %feature("autodoc", " * A face Pbase is selected in the shape Sbase to serve as the basis for the pipe. It will be defined by the wire Spine. Fuse offers a choice between: - removing matter with a Boolean cut using the setting 0 - adding matter with Boolean fusion using the setting 1. The sketch face Skface serves to determine the type of operation. If it is inside the basis shape, a local operation such as glueing can be performed. + %feature("autodoc", "* initializes the pipe class. + :rtype: None") BRepFeat_MakePipe; + BRepFeat_MakePipe (); + /****************** BRepFeat_MakePipe ******************/ + %feature("compactdefaultargs") BRepFeat_MakePipe; + %feature("autodoc", "* A face Pbase is selected in the shape Sbase to serve as the basis for the pipe. It will be defined by the wire Spine. Fuse offers a choice between: - removing matter with a Boolean cut using the setting 0 - adding matter with Boolean fusion using the setting 1. The sketch face Skface serves to determine the type of operation. If it is inside the basis shape, a local operation such as glueing can be performed. :param Sbase: :type Sbase: TopoDS_Shape & :param Pbase: @@ -1127,12 +1215,24 @@ class BRepFeat_MakePipe : public BRepFeat_Form { :type Fuse: int :param Modify: :type Modify: bool - :rtype: None -") BRepFeat_MakePipe; + :rtype: None") BRepFeat_MakePipe; BRepFeat_MakePipe (const TopoDS_Shape & Sbase,const TopoDS_Shape & Pbase,const TopoDS_Face & Skface,const TopoDS_Wire & Spine,const Standard_Integer Fuse,const Standard_Boolean Modify); - %feature("compactdefaultargs") Init; - %feature("autodoc", " * Initializes this algorithm for adding pipes to shapes. A face Pbase is selected in the shape Sbase to serve as the basis for the pipe. It will be defined by the wire Spine. Fuse offers a choice between: - removing matter with a Boolean cut using the setting 0 - adding matter with Boolean fusion using the setting 1. The sketch face Skface serves to determine the type of operation. If it is inside the basis shape, a local operation such as glueing can be performed. + /****************** BarycCurve ******************/ + %feature("compactdefaultargs") BarycCurve; + %feature("autodoc", ":rtype: opencascade::handle") BarycCurve; + opencascade::handle BarycCurve (); + + /****************** Curves ******************/ + %feature("compactdefaultargs") Curves; + %feature("autodoc", ":param S: + :type S: TColGeom_SequenceOfCurve & + :rtype: None") Curves; + void Curves (TColGeom_SequenceOfCurve & S); + + /****************** Init ******************/ + %feature("compactdefaultargs") Init; + %feature("autodoc", "* Initializes this algorithm for adding pipes to shapes. A face Pbase is selected in the shape Sbase to serve as the basis for the pipe. It will be defined by the wire Spine. Fuse offers a choice between: - removing matter with a Boolean cut using the setting 0 - adding matter with Boolean fusion using the setting 1. The sketch face Skface serves to determine the type of operation. If it is inside the basis shape, a local operation such as glueing can be performed. :param Sbase: :type Sbase: TopoDS_Shape & :param Pbase: @@ -1145,49 +1245,31 @@ class BRepFeat_MakePipe : public BRepFeat_Form { :type Fuse: int :param Modify: :type Modify: bool - :rtype: None -") Init; + :rtype: None") Init; void Init (const TopoDS_Shape & Sbase,const TopoDS_Shape & Pbase,const TopoDS_Face & Skface,const TopoDS_Wire & Spine,const Standard_Integer Fuse,const Standard_Boolean Modify); - %feature("compactdefaultargs") Add; - %feature("autodoc", " * Indicates that the edge will slide on the face . Raises ConstructionError if the face does not belong to the basis shape, or the edge to the prismed shape. - :param E: - :type E: TopoDS_Edge & - :param OnFace: - :type OnFace: TopoDS_Face & - :rtype: None -") Add; - void Add (const TopoDS_Edge & E,const TopoDS_Face & OnFace); + /****************** Perform ******************/ %feature("compactdefaultargs") Perform; - %feature("autodoc", " :rtype: None -") Perform; + %feature("autodoc", ":rtype: None") Perform; void Perform (); + + /****************** Perform ******************/ %feature("compactdefaultargs") Perform; - %feature("autodoc", " :param Until: + %feature("autodoc", ":param Until: :type Until: TopoDS_Shape & - :rtype: None -") Perform; + :rtype: None") Perform; void Perform (const TopoDS_Shape & Until); - %feature("compactdefaultargs") Perform; - %feature("autodoc", " * Assigns one of the following semantics - to a face Until - from a face From to a height Until. Reconstructs the feature topologically according to the semantic option chosen. + /****************** Perform ******************/ + %feature("compactdefaultargs") Perform; + %feature("autodoc", "* Assigns one of the following semantics - to a face Until - from a face From to a height Until. Reconstructs the feature topologically according to the semantic option chosen. :param From: :type From: TopoDS_Shape & :param Until: :type Until: TopoDS_Shape & - :rtype: None -") Perform; + :rtype: None") Perform; void Perform (const TopoDS_Shape & From,const TopoDS_Shape & Until); - %feature("compactdefaultargs") Curves; - %feature("autodoc", " :param S: - :type S: TColGeom_SequenceOfCurve & - :rtype: None -") Curves; - void Curves (TColGeom_SequenceOfCurve & S); - %feature("compactdefaultargs") BarycCurve; - %feature("autodoc", " :rtype: Handle_Geom_Curve -") BarycCurve; - Handle_Geom_Curve BarycCurve (); + }; @@ -1196,18 +1278,32 @@ class BRepFeat_MakePipe : public BRepFeat_Form { __repr__ = _dumps_object } }; + +/*************************** +* class BRepFeat_MakePrism * +***************************/ %nodefaultctor BRepFeat_MakePrism; class BRepFeat_MakePrism : public BRepFeat_Form { public: - %feature("compactdefaultargs") BRepFeat_MakePrism; - %feature("autodoc", " * Builds a prism by projecting a wire along the face of a shape. Initializes the prism class. + /****************** Add ******************/ + %feature("compactdefaultargs") Add; + %feature("autodoc", "* Indicates that the edge will slide on the face . Raises ConstructionError if the face does not belong to the basis shape, or the edge to the prismed shape. + :param E: + :type E: TopoDS_Edge & + :param OnFace: + :type OnFace: TopoDS_Face & + :rtype: None") Add; + void Add (const TopoDS_Edge & E,const TopoDS_Face & OnFace); - :rtype: None -") BRepFeat_MakePrism; - BRepFeat_MakePrism (); + /****************** BRepFeat_MakePrism ******************/ %feature("compactdefaultargs") BRepFeat_MakePrism; - %feature("autodoc", " * Builds a prism by projecting a wire along the face of a shape. a face Pbase is selected in the shape Sbase to serve as the basis for the prism. The orientation of the prism will be defined by the vector Direction. Fuse offers a choice between: - removing matter with a Boolean cut using the setting 0 - adding matter with Boolean fusion using the setting 1. The sketch face Skface serves to determine the type of operation. If it is inside the basis shape, a local operation such as glueing can be performed. Exceptions Standard_ConstructionError if the face does not belong to the basis or the prism shape. + %feature("autodoc", "* Builds a prism by projecting a wire along the face of a shape. Initializes the prism class. + :rtype: None") BRepFeat_MakePrism; + BRepFeat_MakePrism (); + /****************** BRepFeat_MakePrism ******************/ + %feature("compactdefaultargs") BRepFeat_MakePrism; + %feature("autodoc", "* Builds a prism by projecting a wire along the face of a shape. a face Pbase is selected in the shape Sbase to serve as the basis for the prism. The orientation of the prism will be defined by the vector Direction. Fuse offers a choice between: - removing matter with a Boolean cut using the setting 0 - adding matter with Boolean fusion using the setting 1. The sketch face Skface serves to determine the type of operation. If it is inside the basis shape, a local operation such as glueing can be performed. Exceptions Standard_ConstructionError if the face does not belong to the basis or the prism shape. :param Sbase: :type Sbase: TopoDS_Shape & :param Pbase: @@ -1220,12 +1316,26 @@ class BRepFeat_MakePrism : public BRepFeat_Form { :type Fuse: int :param Modify: :type Modify: bool - :rtype: None -") BRepFeat_MakePrism; + :rtype: None") BRepFeat_MakePrism; BRepFeat_MakePrism (const TopoDS_Shape & Sbase,const TopoDS_Shape & Pbase,const TopoDS_Face & Skface,const gp_Dir & Direction,const Standard_Integer Fuse,const Standard_Boolean Modify); - %feature("compactdefaultargs") Init; - %feature("autodoc", " * Initializes this algorithm for building prisms along surfaces. A face Pbase is selected in the shape Sbase to serve as the basis for the prism. The orientation of the prism will be defined by the vector Direction. Fuse offers a choice between: - removing matter with a Boolean cut using the setting 0 - adding matter with Boolean fusion using the setting 1. The sketch face Skface serves to determine the type of operation. If it is inside the basis shape, a local operation such as glueing can be performed. + /****************** BarycCurve ******************/ + %feature("compactdefaultargs") BarycCurve; + %feature("autodoc", "* Generates a curve along the center of mass of the primitive. + :rtype: opencascade::handle") BarycCurve; + opencascade::handle BarycCurve (); + + /****************** Curves ******************/ + %feature("compactdefaultargs") Curves; + %feature("autodoc", "* Returns the list of curves S parallel to the axis of the prism. + :param S: + :type S: TColGeom_SequenceOfCurve & + :rtype: None") Curves; + void Curves (TColGeom_SequenceOfCurve & S); + + /****************** Init ******************/ + %feature("compactdefaultargs") Init; + %feature("autodoc", "* Initializes this algorithm for building prisms along surfaces. A face Pbase is selected in the shape Sbase to serve as the basis for the prism. The orientation of the prism will be defined by the vector Direction. Fuse offers a choice between: - removing matter with a Boolean cut using the setting 0 - adding matter with Boolean fusion using the setting 1. The sketch face Skface serves to determine the type of operation. If it is inside the basis shape, a local operation such as glueing can be performed. :param Sbase: :type Sbase: TopoDS_Shape & :param Pbase: @@ -1238,85 +1348,63 @@ class BRepFeat_MakePrism : public BRepFeat_Form { :type Fuse: int :param Modify: :type Modify: bool - :rtype: None -") Init; + :rtype: None") Init; void Init (const TopoDS_Shape & Sbase,const TopoDS_Shape & Pbase,const TopoDS_Face & Skface,const gp_Dir & Direction,const Standard_Integer Fuse,const Standard_Boolean Modify); - %feature("compactdefaultargs") Add; - %feature("autodoc", " * Indicates that the edge will slide on the face . Raises ConstructionError if the face does not belong to the basis shape, or the edge to the prismed shape. - :param E: - :type E: TopoDS_Edge & - :param OnFace: - :type OnFace: TopoDS_Face & - :rtype: None -") Add; - void Add (const TopoDS_Edge & E,const TopoDS_Face & OnFace); + /****************** Perform ******************/ %feature("compactdefaultargs") Perform; - %feature("autodoc", " :param Length: + %feature("autodoc", ":param Length: :type Length: float - :rtype: None -") Perform; + :rtype: None") Perform; void Perform (const Standard_Real Length); + + /****************** Perform ******************/ %feature("compactdefaultargs") Perform; - %feature("autodoc", " :param Until: + %feature("autodoc", ":param Until: :type Until: TopoDS_Shape & - :rtype: None -") Perform; + :rtype: None") Perform; void Perform (const TopoDS_Shape & Until); - %feature("compactdefaultargs") Perform; - %feature("autodoc", " * Assigns one of the following semantics - to a height Length - to a face Until - from a face From to a height Until. Reconstructs the feature topologically according to the semantic option chosen. + /****************** Perform ******************/ + %feature("compactdefaultargs") Perform; + %feature("autodoc", "* Assigns one of the following semantics - to a height Length - to a face Until - from a face From to a height Until. Reconstructs the feature topologically according to the semantic option chosen. :param From: :type From: TopoDS_Shape & :param Until: :type Until: TopoDS_Shape & - :rtype: None -") Perform; + :rtype: None") Perform; void Perform (const TopoDS_Shape & From,const TopoDS_Shape & Until); - %feature("compactdefaultargs") PerformUntilEnd; - %feature("autodoc", " * Realizes a semi-infinite prism, limited by the position of the prism base. All other faces extend infinitely. - :rtype: None -") PerformUntilEnd; - void PerformUntilEnd (); + /****************** PerformFromEnd ******************/ %feature("compactdefaultargs") PerformFromEnd; - %feature("autodoc", " * Realizes a semi-infinite prism, limited by the face Funtil. - + %feature("autodoc", "* Realizes a semi-infinite prism, limited by the face Funtil. :param FUntil: :type FUntil: TopoDS_Shape & - :rtype: None -") PerformFromEnd; + :rtype: None") PerformFromEnd; void PerformFromEnd (const TopoDS_Shape & FUntil); - %feature("compactdefaultargs") PerformThruAll; - %feature("autodoc", " * Builds an infinite prism. The infinite descendants will not be kept in the result. - :rtype: None -") PerformThruAll; + /****************** PerformThruAll ******************/ + %feature("compactdefaultargs") PerformThruAll; + %feature("autodoc", "* Builds an infinite prism. The infinite descendants will not be kept in the result. + :rtype: None") PerformThruAll; void PerformThruAll (); - %feature("compactdefaultargs") PerformUntilHeight; - %feature("autodoc", " * Assigns both a limiting shape, Until from TopoDS_Shape, and a height, Length at which to stop generation of the prism feature. + /****************** PerformUntilEnd ******************/ + %feature("compactdefaultargs") PerformUntilEnd; + %feature("autodoc", "* Realizes a semi-infinite prism, limited by the position of the prism base. All other faces extend infinitely. + :rtype: None") PerformUntilEnd; + void PerformUntilEnd (); + + /****************** PerformUntilHeight ******************/ + %feature("compactdefaultargs") PerformUntilHeight; + %feature("autodoc", "* Assigns both a limiting shape, Until from TopoDS_Shape, and a height, Length at which to stop generation of the prism feature. :param Until: :type Until: TopoDS_Shape & :param Length: :type Length: float - :rtype: None -") PerformUntilHeight; + :rtype: None") PerformUntilHeight; void PerformUntilHeight (const TopoDS_Shape & Until,const Standard_Real Length); - %feature("compactdefaultargs") Curves; - %feature("autodoc", " * Returns the list of curves S parallel to the axis of the prism. - :param S: - :type S: TColGeom_SequenceOfCurve & - :rtype: None -") Curves; - void Curves (TColGeom_SequenceOfCurve & S); - %feature("compactdefaultargs") BarycCurve; - %feature("autodoc", " * Generates a curve along the center of mass of the primitive. - - :rtype: Handle_Geom_Curve -") BarycCurve; - Handle_Geom_Curve BarycCurve (); }; @@ -1325,18 +1413,32 @@ class BRepFeat_MakePrism : public BRepFeat_Form { __repr__ = _dumps_object } }; + +/*************************** +* class BRepFeat_MakeRevol * +***************************/ %nodefaultctor BRepFeat_MakeRevol; class BRepFeat_MakeRevol : public BRepFeat_Form { public: - %feature("compactdefaultargs") BRepFeat_MakeRevol; - %feature("autodoc", " * initializes the revolved shell class. + /****************** Add ******************/ + %feature("compactdefaultargs") Add; + %feature("autodoc", "* Indicates that the edge will slide on the face . Raises ConstructionError if the face does not belong to the basis shape, or the edge to the prismed shape. + :param E: + :type E: TopoDS_Edge & + :param OnFace: + :type OnFace: TopoDS_Face & + :rtype: None") Add; + void Add (const TopoDS_Edge & E,const TopoDS_Face & OnFace); - :rtype: None -") BRepFeat_MakeRevol; - BRepFeat_MakeRevol (); + /****************** BRepFeat_MakeRevol ******************/ %feature("compactdefaultargs") BRepFeat_MakeRevol; - %feature("autodoc", " * a face Pbase is selected in the shape Sbase to serve as the basis for the revolved shell. The revolution will be defined by the axis Axis and Fuse offers a choice between: - removing matter with a Boolean cut using the setting 0 - adding matter with Boolean fusion using the setting 1. The sketch face Skface serves to determine the type of operation. If it is inside the basis shape, a local operation such as glueing can be performed. + %feature("autodoc", "* initializes the revolved shell class. + :rtype: None") BRepFeat_MakeRevol; + BRepFeat_MakeRevol (); + /****************** BRepFeat_MakeRevol ******************/ + %feature("compactdefaultargs") BRepFeat_MakeRevol; + %feature("autodoc", "* a face Pbase is selected in the shape Sbase to serve as the basis for the revolved shell. The revolution will be defined by the axis Axis and Fuse offers a choice between: - removing matter with a Boolean cut using the setting 0 - adding matter with Boolean fusion using the setting 1. The sketch face Skface serves to determine the type of operation. If it is inside the basis shape, a local operation such as glueing can be performed. :param Sbase: :type Sbase: TopoDS_Shape & :param Pbase: @@ -1349,11 +1451,24 @@ class BRepFeat_MakeRevol : public BRepFeat_Form { :type Fuse: int :param Modify: :type Modify: bool - :rtype: None -") BRepFeat_MakeRevol; + :rtype: None") BRepFeat_MakeRevol; BRepFeat_MakeRevol (const TopoDS_Shape & Sbase,const TopoDS_Shape & Pbase,const TopoDS_Face & Skface,const gp_Ax1 & Axis,const Standard_Integer Fuse,const Standard_Boolean Modify); + + /****************** BarycCurve ******************/ + %feature("compactdefaultargs") BarycCurve; + %feature("autodoc", ":rtype: opencascade::handle") BarycCurve; + opencascade::handle BarycCurve (); + + /****************** Curves ******************/ + %feature("compactdefaultargs") Curves; + %feature("autodoc", ":param S: + :type S: TColGeom_SequenceOfCurve & + :rtype: None") Curves; + void Curves (TColGeom_SequenceOfCurve & S); + + /****************** Init ******************/ %feature("compactdefaultargs") Init; - %feature("autodoc", " :param Sbase: + %feature("autodoc", ":param Sbase: :type Sbase: TopoDS_Shape & :param Pbase: :type Pbase: TopoDS_Shape & @@ -1365,67 +1480,49 @@ class BRepFeat_MakeRevol : public BRepFeat_Form { :type Fuse: int :param Modify: :type Modify: bool - :rtype: None -") Init; + :rtype: None") Init; void Init (const TopoDS_Shape & Sbase,const TopoDS_Shape & Pbase,const TopoDS_Face & Skface,const gp_Ax1 & Axis,const Standard_Integer Fuse,const Standard_Boolean Modify); - %feature("compactdefaultargs") Add; - %feature("autodoc", " * Indicates that the edge will slide on the face . Raises ConstructionError if the face does not belong to the basis shape, or the edge to the prismed shape. - :param E: - :type E: TopoDS_Edge & - :param OnFace: - :type OnFace: TopoDS_Face & - :rtype: None -") Add; - void Add (const TopoDS_Edge & E,const TopoDS_Face & OnFace); + /****************** Perform ******************/ %feature("compactdefaultargs") Perform; - %feature("autodoc", " :param Angle: + %feature("autodoc", ":param Angle: :type Angle: float - :rtype: None -") Perform; + :rtype: None") Perform; void Perform (const Standard_Real Angle); + + /****************** Perform ******************/ %feature("compactdefaultargs") Perform; - %feature("autodoc", " :param Until: + %feature("autodoc", ":param Until: :type Until: TopoDS_Shape & - :rtype: None -") Perform; + :rtype: None") Perform; void Perform (const TopoDS_Shape & Until); - %feature("compactdefaultargs") Perform; - %feature("autodoc", " * Reconstructs the feature topologically. + /****************** Perform ******************/ + %feature("compactdefaultargs") Perform; + %feature("autodoc", "* Reconstructs the feature topologically. :param From: :type From: TopoDS_Shape & :param Until: :type Until: TopoDS_Shape & - :rtype: None -") Perform; + :rtype: None") Perform; void Perform (const TopoDS_Shape & From,const TopoDS_Shape & Until); - %feature("compactdefaultargs") PerformThruAll; - %feature("autodoc", " * Builds an infinite shell. The infinite descendants will not be kept in the result. - :rtype: None -") PerformThruAll; + /****************** PerformThruAll ******************/ + %feature("compactdefaultargs") PerformThruAll; + %feature("autodoc", "* Builds an infinite shell. The infinite descendants will not be kept in the result. + :rtype: None") PerformThruAll; void PerformThruAll (); - %feature("compactdefaultargs") PerformUntilAngle; - %feature("autodoc", " * Assigns both a limiting shape, Until from TopoDS_Shape, and an angle, Angle at which to stop generation of the revolved shell feature. + /****************** PerformUntilAngle ******************/ + %feature("compactdefaultargs") PerformUntilAngle; + %feature("autodoc", "* Assigns both a limiting shape, Until from TopoDS_Shape, and an angle, Angle at which to stop generation of the revolved shell feature. :param Until: :type Until: TopoDS_Shape & :param Angle: :type Angle: float - :rtype: None -") PerformUntilAngle; + :rtype: None") PerformUntilAngle; void PerformUntilAngle (const TopoDS_Shape & Until,const Standard_Real Angle); - %feature("compactdefaultargs") Curves; - %feature("autodoc", " :param S: - :type S: TColGeom_SequenceOfCurve & - :rtype: None -") Curves; - void Curves (TColGeom_SequenceOfCurve & S); - %feature("compactdefaultargs") BarycCurve; - %feature("autodoc", " :rtype: Handle_Geom_Curve -") BarycCurve; - Handle_Geom_Curve BarycCurve (); + }; @@ -1434,24 +1531,38 @@ class BRepFeat_MakeRevol : public BRepFeat_Form { __repr__ = _dumps_object } }; + +/************************************ +* class BRepFeat_MakeRevolutionForm * +************************************/ %nodefaultctor BRepFeat_MakeRevolutionForm; class BRepFeat_MakeRevolutionForm : public BRepFeat_RibSlot { public: - %feature("compactdefaultargs") BRepFeat_MakeRevolutionForm; - %feature("autodoc", " * initializes the linear form class. + /****************** Add ******************/ + %feature("compactdefaultargs") Add; + %feature("autodoc", "* Indicates that the edge will slide on the face . Raises ConstructionError if the face does not belong to the basis shape, or the edge to the prismed shape. + :param E: + :type E: TopoDS_Edge & + :param OnFace: + :type OnFace: TopoDS_Face & + :rtype: None") Add; + void Add (const TopoDS_Edge & E,const TopoDS_Face & OnFace); - :rtype: None -") BRepFeat_MakeRevolutionForm; - BRepFeat_MakeRevolutionForm (); + /****************** BRepFeat_MakeRevolutionForm ******************/ %feature("compactdefaultargs") BRepFeat_MakeRevolutionForm; - %feature("autodoc", " * a contour W, a shape Sbase and a plane P are initialized to serve as the basic elements in the construction of the rib or groove. The axis Axis of the revolved surface in the basis shape defines the feature's axis of revolution. Height1 and Height2 may be used as limits to the construction of the feature. Fuse offers a choice between: - removing matter with a Boolean cut using the setting 0 in case of the groove - adding matter with Boolean fusion using the setting 1 in case of the rib. + %feature("autodoc", "* initializes the linear form class. + :rtype: None") BRepFeat_MakeRevolutionForm; + BRepFeat_MakeRevolutionForm (); + /****************** BRepFeat_MakeRevolutionForm ******************/ + %feature("compactdefaultargs") BRepFeat_MakeRevolutionForm; + %feature("autodoc", "* a contour W, a shape Sbase and a plane P are initialized to serve as the basic elements in the construction of the rib or groove. The axis Axis of the revolved surface in the basis shape defines the feature's axis of revolution. Height1 and Height2 may be used as limits to the construction of the feature. Fuse offers a choice between: - removing matter with a Boolean cut using the setting 0 in case of the groove - adding matter with Boolean fusion using the setting 1 in case of the rib. :param Sbase: :type Sbase: TopoDS_Shape & :param W: :type W: TopoDS_Wire & :param Plane: - :type Plane: Handle_Geom_Plane & + :type Plane: opencascade::handle & :param Axis: :type Axis: gp_Ax1 :param Height1: @@ -1462,18 +1573,18 @@ class BRepFeat_MakeRevolutionForm : public BRepFeat_RibSlot { :type Fuse: int :param Sliding: :type Sliding: bool - :rtype: None -") BRepFeat_MakeRevolutionForm; - BRepFeat_MakeRevolutionForm (const TopoDS_Shape & Sbase,const TopoDS_Wire & W,const Handle_Geom_Plane & Plane,const gp_Ax1 & Axis,const Standard_Real Height1,const Standard_Real Height2,const Standard_Integer Fuse,Standard_Boolean &OutValue); - %feature("compactdefaultargs") Init; - %feature("autodoc", " * Initializes this construction algorithm A contour W, a shape Sbase and a plane P are initialized to serve as the basic elements in the construction of the rib or groove. The axis Axis of the revolved surface in the basis shape defines the feature's axis of revolution. Height1 and Height2 may be used as limits to the construction of the feature. Fuse offers a choice between: - removing matter with a Boolean cut using the setting 0 in case of the groove - adding matter with Boolean fusion using the setting 1 in case of the rib. + :rtype: None") BRepFeat_MakeRevolutionForm; + BRepFeat_MakeRevolutionForm (const TopoDS_Shape & Sbase,const TopoDS_Wire & W,const opencascade::handle & Plane,const gp_Ax1 & Axis,const Standard_Real Height1,const Standard_Real Height2,const Standard_Integer Fuse,Standard_Boolean &OutValue); + /****************** Init ******************/ + %feature("compactdefaultargs") Init; + %feature("autodoc", "* Initializes this construction algorithm A contour W, a shape Sbase and a plane P are initialized to serve as the basic elements in the construction of the rib or groove. The axis Axis of the revolved surface in the basis shape defines the feature's axis of revolution. Height1 and Height2 may be used as limits to the construction of the feature. Fuse offers a choice between: - removing matter with a Boolean cut using the setting 0 in case of the groove - adding matter with Boolean fusion using the setting 1 in case of the rib. :param Sbase: :type Sbase: TopoDS_Shape & :param W: :type W: TopoDS_Wire & :param Plane: - :type Plane: Handle_Geom_Plane & + :type Plane: opencascade::handle & :param Axis: :type Axis: gp_Ax1 :param Height1: @@ -1484,27 +1595,18 @@ class BRepFeat_MakeRevolutionForm : public BRepFeat_RibSlot { :type Fuse: int :param Sliding: :type Sliding: bool - :rtype: None -") Init; - void Init (const TopoDS_Shape & Sbase,const TopoDS_Wire & W,const Handle_Geom_Plane & Plane,const gp_Ax1 & Axis,const Standard_Real Height1,const Standard_Real Height2,const Standard_Integer Fuse,Standard_Boolean &OutValue); - %feature("compactdefaultargs") Add; - %feature("autodoc", " * Indicates that the edge will slide on the face . Raises ConstructionError if the face does not belong to the basis shape, or the edge to the prismed shape. + :rtype: None") Init; + void Init (const TopoDS_Shape & Sbase,const TopoDS_Wire & W,const opencascade::handle & Plane,const gp_Ax1 & Axis,const Standard_Real Height1,const Standard_Real Height2,const Standard_Integer Fuse,Standard_Boolean &OutValue); - :param E: - :type E: TopoDS_Edge & - :param OnFace: - :type OnFace: TopoDS_Face & - :rtype: None -") Add; - void Add (const TopoDS_Edge & E,const TopoDS_Face & OnFace); + /****************** Perform ******************/ %feature("compactdefaultargs") Perform; - %feature("autodoc", " * Performs a prism from the wire to the plane along the basis shape S. Reconstructs the feature topologically. - - :rtype: None -") Perform; + %feature("autodoc", "* Performs a prism from the wire to the plane along the basis shape S. Reconstructs the feature topologically. + :rtype: None") Perform; void Perform (); + + /****************** Propagate ******************/ %feature("compactdefaultargs") Propagate; - %feature("autodoc", " :param L: + %feature("autodoc", ":param L: :type L: TopTools_ListOfShape & :param F: :type F: TopoDS_Face & @@ -1514,9 +1616,9 @@ class BRepFeat_MakeRevolutionForm : public BRepFeat_RibSlot { :type LPoint: gp_Pnt :param falseside: :type falseside: bool - :rtype: bool -") Propagate; + :rtype: bool") Propagate; Standard_Boolean Propagate (TopTools_ListOfShape & L,const TopoDS_Face & F,const gp_Pnt & FPoint,const gp_Pnt & LPoint,Standard_Boolean &OutValue); + }; @@ -1525,3 +1627,7 @@ class BRepFeat_MakeRevolutionForm : public BRepFeat_RibSlot { __repr__ = _dumps_object } }; + +/* harray1 class */ +/* harray2 class */ +/* harray2 class */ diff --git a/src/SWIG_files/wrapper/BRepFeat_headers.i b/src/SWIG_files/wrapper/BRepFeat_headers.i deleted file mode 100644 index 8fb06f84f..000000000 --- a/src/SWIG_files/wrapper/BRepFeat_headers.i +++ /dev/null @@ -1,1632 +0,0 @@ -/* -Copyright 2008-2017 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 . - -*/ -%{ -#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 -#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 -#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 -#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 -#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 -#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 -#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 -#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 -#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 -#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 -#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 -#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 -#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 -#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 -#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 -#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 -#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 -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -%}; -%import TopoDS.i -%import TColgp.i -%import gp.i -%import Geom.i -%import Standard.i -%import TopAbs.i -%import BOPAlgo.i -%import TopTools.i -%import BOPCol.i -%import BRepBuilderAPI.i -%import TColGeom.i -%import LocOpe.i diff --git a/src/SWIG_files/wrapper/BRepFill.i b/src/SWIG_files/wrapper/BRepFill.i index 4ba77e402..7cbfaa9a8 100644 --- a/src/SWIG_files/wrapper/BRepFill.i +++ b/src/SWIG_files/wrapper/BRepFill.i @@ -1,6 +1,5 @@ /* -Copyright 2008-2017 Thomas Paviot (tpaviot@gmail.com) - +Copyright 2008-2019 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -15,14 +14,13 @@ 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 BREPFILLDOCSTRING -"" +"BRepFill module, see official documentation at +https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brepfill.html" %enddef %module (package="OCC.Core", docstring=BREPFILLDOCSTRING) BRepFill -#pragma SWIG nowarn=504,325,503 %{ #ifdef WNT @@ -37,11 +35,68 @@ along with pythonOCC. If not, see . %include ../common/OccHandle.i -%include BRepFill_headers.i - -/* typedefs */ -/* end typedefs declaration */ - +%{ +#include + +//Dependencies +#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 +%}; +%import Standard.i +%import NCollection.i +%import TopTools.i +%import MAT.i +%import TopoDS.i +%import gp.i +%import TColStd.i +%import Geom.i +%import Geom2d.i +%import AppParCurves.i +%import GeomPlate.i +%import Adaptor3d.i +%import GeomAbs.i +%import GeomFill.i +%import AppCont.i +%import BRepMAT2d.i +%import Law.i +%import TColgp.i +%import Bisector.i /* public enums */ enum BRepFill_TypeOfContact { BRepFill_NoContact = 0, @@ -57,55 +112,67 @@ enum BRepFill_TransitionStyle { /* end public enums declaration */ +/* handles */ %wrap_handle(BRepFill_CurveConstraint) -%wrap_handle(BRepFill_DataMapNodeOfDataMapOfNodeDataMapOfShapeShape) -%wrap_handle(BRepFill_DataMapNodeOfDataMapOfNodeShape) -%wrap_handle(BRepFill_DataMapNodeOfDataMapOfOrientedShapeListOfShape) -%wrap_handle(BRepFill_DataMapNodeOfDataMapOfShapeDataMapOfShapeListOfShape) -%wrap_handle(BRepFill_DataMapNodeOfDataMapOfShapeHArray2OfShape) -%wrap_handle(BRepFill_DataMapNodeOfDataMapOfShapeSequenceOfPnt) -%wrap_handle(BRepFill_DataMapNodeOfDataMapOfShapeSequenceOfReal) -%wrap_handle(BRepFill_IndexedDataMapNodeOfIndexedDataMapOfOrientedShapeListOfShape) -%wrap_handle(BRepFill_ListNodeOfListOfOffsetWire) %wrap_handle(BRepFill_LocationLaw) %wrap_handle(BRepFill_PipeShell) %wrap_handle(BRepFill_SectionLaw) -%wrap_handle(BRepFill_SequenceNodeOfSequenceOfEdgeFaceAndOrder) -%wrap_handle(BRepFill_SequenceNodeOfSequenceOfFaceAndOrder) -%wrap_handle(BRepFill_SequenceNodeOfSequenceOfSection) %wrap_handle(BRepFill_ACRLaw) %wrap_handle(BRepFill_Edge3DLaw) %wrap_handle(BRepFill_EdgeOnSurfLaw) %wrap_handle(BRepFill_NSections) %wrap_handle(BRepFill_ShapeLaw) %wrap_handle(BRepFill_DraftLaw) +/* end handles declaration */ + +/* templates */ +%template(BRepFill_IndexedDataMapOfOrientedShapeListOfShape) NCollection_IndexedDataMap ; +%template(BRepFill_DataMapOfShapeHArray2OfShape) NCollection_DataMap , TopTools_ShapeMapHasher>; +%template(BRepFill_ListOfOffsetWire) NCollection_List ; +%template(BRepFill_ListIteratorOfListOfOffsetWire) NCollection_TListIterator; +%template(BRepFill_DataMapOfShapeSequenceOfPnt) NCollection_DataMap ; +%template(BRepFill_DataMapOfNodeDataMapOfShapeShape) NCollection_DataMap , TopTools_DataMapOfShapeShape , TColStd_MapTransientHasher>; +%template(BRepFill_DataMapOfShapeDataMapOfShapeListOfShape) NCollection_DataMap ; +%template(BRepFill_SequenceOfSection) NCollection_Sequence ; +%template(BRepFill_DataMapOfOrientedShapeListOfShape) NCollection_DataMap ; +%template(BRepFill_DataMapOfNodeShape) NCollection_DataMap , TopoDS_Shape , TColStd_MapTransientHasher>; +%template(BRepFill_SequenceOfFaceAndOrder) NCollection_Sequence ; +%template(BRepFill_DataMapOfShapeSequenceOfReal) NCollection_DataMap ; +%template(BRepFill_SequenceOfEdgeFaceAndOrder) NCollection_Sequence ; +/* end templates declaration */ + +/* typedefs */ +typedef NCollection_IndexedDataMap BRepFill_IndexedDataMapOfOrientedShapeListOfShape; +typedef NCollection_DataMap , TopTools_ShapeMapHasher> BRepFill_DataMapOfShapeHArray2OfShape; +typedef NCollection_DataMap , TopTools_ShapeMapHasher>::Iterator BRepFill_DataMapIteratorOfDataMapOfShapeHArray2OfShape; +typedef NCollection_List BRepFill_ListOfOffsetWire; +typedef NCollection_List ::Iterator BRepFill_ListIteratorOfListOfOffsetWire; +typedef NCollection_DataMap BRepFill_DataMapOfShapeSequenceOfPnt; +typedef NCollection_DataMap ::Iterator BRepFill_DataMapIteratorOfDataMapOfShapeSequenceOfPnt; +typedef NCollection_DataMap , TopTools_DataMapOfShapeShape , TColStd_MapTransientHasher> BRepFill_DataMapOfNodeDataMapOfShapeShape; +typedef NCollection_DataMap , TopTools_DataMapOfShapeShape , TColStd_MapTransientHasher>::Iterator BRepFill_DataMapIteratorOfDataMapOfNodeDataMapOfShapeShape; +typedef NCollection_DataMap BRepFill_DataMapOfShapeDataMapOfShapeListOfShape; +typedef NCollection_DataMap ::Iterator BRepFill_DataMapIteratorOfDataMapOfShapeDataMapOfShapeListOfShape; +typedef NCollection_Sequence BRepFill_SequenceOfSection; +typedef NCollection_DataMap BRepFill_DataMapOfOrientedShapeListOfShape; +typedef NCollection_DataMap ::Iterator BRepFill_DataMapIteratorOfDataMapOfOrientedShapeListOfShape; +typedef NCollection_DataMap , TopoDS_Shape , TColStd_MapTransientHasher> BRepFill_DataMapOfNodeShape; +typedef NCollection_DataMap , TopoDS_Shape , TColStd_MapTransientHasher>::Iterator BRepFill_DataMapIteratorOfDataMapOfNodeShape; +typedef NCollection_Sequence BRepFill_SequenceOfFaceAndOrder; +typedef NCollection_DataMap BRepFill_DataMapOfShapeSequenceOfReal; +typedef NCollection_DataMap ::Iterator BRepFill_DataMapIteratorOfDataMapOfShapeSequenceOfReal; +typedef NCollection_Sequence BRepFill_SequenceOfEdgeFaceAndOrder; +/* end typedefs declaration */ +/***************** +* class BRepFill * +*****************/ %rename(brepfill) BRepFill; class BRepFill { public: - %feature("compactdefaultargs") Face; - %feature("autodoc", " * Computes a ruled surface between two edges. - - :param Edge1: - :type Edge1: TopoDS_Edge & - :param Edge2: - :type Edge2: TopoDS_Edge & - :rtype: TopoDS_Face -") Face; - static TopoDS_Face Face (const TopoDS_Edge & Edge1,const TopoDS_Edge & Edge2); - %feature("compactdefaultargs") Shell; - %feature("autodoc", " * Computes a ruled surface between two wires. The wires must have the same number of edges. - - :param Wire1: - :type Wire1: TopoDS_Wire & - :param Wire2: - :type Wire2: TopoDS_Wire & - :rtype: TopoDS_Shell -") Shell; - static TopoDS_Shell Shell (const TopoDS_Wire & Wire1,const TopoDS_Wire & Wire2); + /****************** Axe ******************/ %feature("compactdefaultargs") Axe; - %feature("autodoc", " * Computes as Follow. is the Position of the nearest vertex V of to . is confused with the tangent to at the projected point of V on the Spine. is normal to . is a plane wire or a plane face. - + %feature("autodoc", "* Computes as Follow. is the Position of the nearest vertex V of to . is confused with the tangent to at the projected point of V on the Spine. is normal to . is a plane wire or a plane face. :param Spine: :type Spine: TopoDS_Shape & :param Profile: @@ -116,31 +183,51 @@ class BRepFill { :type ProfOnSpine: bool :param Tol: :type Tol: float - :rtype: void -") Axe; + :rtype: void") Axe; static void Axe (const TopoDS_Shape & Spine,const TopoDS_Wire & Profile,gp_Ax3 & AxeProf,Standard_Boolean &OutValue,const Standard_Real Tol); - %feature("compactdefaultargs") ComputeACR; - %feature("autodoc", " * Compute ACR on a wire + /****************** ComputeACR ******************/ + %feature("compactdefaultargs") ComputeACR; + %feature("autodoc", "* Compute ACR on a wire :param wire: :type wire: TopoDS_Wire & :param ACR: :type ACR: TColStd_Array1OfReal & - :rtype: void -") ComputeACR; + :rtype: void") ComputeACR; static void ComputeACR (const TopoDS_Wire & wire,TColStd_Array1OfReal & ACR); - %feature("compactdefaultargs") InsertACR; - %feature("autodoc", " * Insert ACR on a wire + /****************** Face ******************/ + %feature("compactdefaultargs") Face; + %feature("autodoc", "* Computes a ruled surface between two edges. + :param Edge1: + :type Edge1: TopoDS_Edge & + :param Edge2: + :type Edge2: TopoDS_Edge & + :rtype: TopoDS_Face") Face; + static TopoDS_Face Face (const TopoDS_Edge & Edge1,const TopoDS_Edge & Edge2); + + /****************** InsertACR ******************/ + %feature("compactdefaultargs") InsertACR; + %feature("autodoc", "* Insert ACR on a wire :param wire: :type wire: TopoDS_Wire & :param ACRcuts: :type ACRcuts: TColStd_Array1OfReal & :param prec: :type prec: float - :rtype: TopoDS_Wire -") InsertACR; + :rtype: TopoDS_Wire") InsertACR; static TopoDS_Wire InsertACR (const TopoDS_Wire & wire,const TColStd_Array1OfReal & ACRcuts,const Standard_Real prec); + + /****************** Shell ******************/ + %feature("compactdefaultargs") Shell; + %feature("autodoc", "* Computes a ruled surface between two wires. The wires must have the same number of edges. + :param Wire1: + :type Wire1: TopoDS_Wire & + :param Wire2: + :type Wire2: TopoDS_Wire & + :rtype: TopoDS_Shell") Shell; + static TopoDS_Shell Shell (const TopoDS_Wire & Wire1,const TopoDS_Wire & Wire2); + }; @@ -149,47 +236,119 @@ class BRepFill { __repr__ = _dumps_object } }; + +/********************************* +* class BRepFill_AdvancedEvolved * +*********************************/ +%nodefaultctor BRepFill_AdvancedEvolved; +class BRepFill_AdvancedEvolved { + public: + DEFINE_STANDARD_ALLOC ; + /****************** BRepFill_AdvancedEvolved ******************/ + %feature("compactdefaultargs") BRepFill_AdvancedEvolved; + %feature("autodoc", "* Constructor + :rtype: None") BRepFill_AdvancedEvolved; + BRepFill_AdvancedEvolved (); + + /****************** IsDone ******************/ + %feature("compactdefaultargs") IsDone; + %feature("autodoc", ":param theErrorCode: default value is 0 + :type theErrorCode: unsigned int * + :rtype: bool") IsDone; + Standard_Boolean IsDone (unsigned int * theErrorCode = 0); + + /****************** Perform ******************/ + %feature("compactdefaultargs") Perform; + %feature("autodoc", ":param theSpine: + :type theSpine: TopoDS_Wire & + :param theProfile: + :type theProfile: TopoDS_Wire & + :param theTolerance: + :type theTolerance: float + :param theSolidReq: default value is Standard_True + :type theSolidReq: bool + :rtype: None") Perform; + void Perform (const TopoDS_Wire & theSpine,const TopoDS_Wire & theProfile,const Standard_Real theTolerance,const Standard_Boolean theSolidReq = Standard_True); + + /****************** SetParallelMode ******************/ + %feature("compactdefaultargs") SetParallelMode; + %feature("autodoc", "* Sets/Unsets computation in parallel mode + :param theVal: + :type theVal: bool + :rtype: None") SetParallelMode; + void SetParallelMode (const Standard_Boolean theVal); + + /****************** SetTemporaryDirectory ******************/ + %feature("compactdefaultargs") SetTemporaryDirectory; + %feature("autodoc", "* Sets directory where the debug shapes will be saved + :param thePath: + :type thePath: char * & + :rtype: None") SetTemporaryDirectory; + void SetTemporaryDirectory (const char * & thePath); + + /****************** Shape ******************/ + %feature("compactdefaultargs") Shape; + %feature("autodoc", "* returns the resulting shape. + :rtype: TopoDS_Shape") Shape; + const TopoDS_Shape Shape (); + +}; + + +%extend BRepFill_AdvancedEvolved { + %pythoncode { + __repr__ = _dumps_object + } +}; + +/******************************* +* class BRepFill_ApproxSeewing * +*******************************/ %nodefaultctor BRepFill_ApproxSeewing; class BRepFill_ApproxSeewing { public: + /****************** BRepFill_ApproxSeewing ******************/ %feature("compactdefaultargs") BRepFill_ApproxSeewing; - %feature("autodoc", " :rtype: None -") BRepFill_ApproxSeewing; + %feature("autodoc", ":rtype: None") BRepFill_ApproxSeewing; BRepFill_ApproxSeewing (); + + /****************** BRepFill_ApproxSeewing ******************/ %feature("compactdefaultargs") BRepFill_ApproxSeewing; - %feature("autodoc", " :param ML: + %feature("autodoc", ":param ML: :type ML: BRepFill_MultiLine & - :rtype: None -") BRepFill_ApproxSeewing; + :rtype: None") BRepFill_ApproxSeewing; BRepFill_ApproxSeewing (const BRepFill_MultiLine & ML); - %feature("compactdefaultargs") Perform; - %feature("autodoc", " :param ML: - :type ML: BRepFill_MultiLine & - :rtype: None -") Perform; - void Perform (const BRepFill_MultiLine & ML); - %feature("compactdefaultargs") IsDone; - %feature("autodoc", " :rtype: bool -") IsDone; - Standard_Boolean IsDone (); + + /****************** Curve ******************/ %feature("compactdefaultargs") Curve; - %feature("autodoc", " * returns the approximation of the 3d Curve + %feature("autodoc", "* returns the approximation of the 3d Curve + :rtype: opencascade::handle") Curve; + const opencascade::handle & Curve (); - :rtype: Handle_Geom_Curve -") Curve; - Handle_Geom_Curve Curve (); + /****************** CurveOnF1 ******************/ %feature("compactdefaultargs") CurveOnF1; - %feature("autodoc", " * returns the approximation of the PCurve on the first face of the MultiLine + %feature("autodoc", "* returns the approximation of the PCurve on the first face of the MultiLine + :rtype: opencascade::handle") CurveOnF1; + const opencascade::handle & CurveOnF1 (); - :rtype: Handle_Geom2d_Curve -") CurveOnF1; - Handle_Geom2d_Curve CurveOnF1 (); + /****************** CurveOnF2 ******************/ %feature("compactdefaultargs") CurveOnF2; - %feature("autodoc", " * returns the approximation of the PCurve on the first face of the MultiLine + %feature("autodoc", "* returns the approximation of the PCurve on the first face of the MultiLine + :rtype: opencascade::handle") CurveOnF2; + const opencascade::handle & CurveOnF2 (); + + /****************** IsDone ******************/ + %feature("compactdefaultargs") IsDone; + %feature("autodoc", ":rtype: bool") IsDone; + Standard_Boolean IsDone (); + + /****************** Perform ******************/ + %feature("compactdefaultargs") Perform; + %feature("autodoc", ":param ML: + :type ML: BRepFill_MultiLine & + :rtype: None") Perform; + void Perform (const BRepFill_MultiLine & ML); - :rtype: Handle_Geom2d_Curve -") CurveOnF2; - Handle_Geom2d_Curve CurveOnF2 (); }; @@ -198,61 +357,81 @@ class BRepFill_ApproxSeewing { __repr__ = _dumps_object } }; + +/********************************* +* class BRepFill_CompatibleWires * +*********************************/ %nodefaultctor BRepFill_CompatibleWires; class BRepFill_CompatibleWires { public: + /****************** BRepFill_CompatibleWires ******************/ %feature("compactdefaultargs") BRepFill_CompatibleWires; - %feature("autodoc", " :rtype: None -") BRepFill_CompatibleWires; + %feature("autodoc", ":rtype: None") BRepFill_CompatibleWires; BRepFill_CompatibleWires (); + + /****************** BRepFill_CompatibleWires ******************/ %feature("compactdefaultargs") BRepFill_CompatibleWires; - %feature("autodoc", " :param Sections: + %feature("autodoc", ":param Sections: :type Sections: TopTools_SequenceOfShape & - :rtype: None -") BRepFill_CompatibleWires; + :rtype: None") BRepFill_CompatibleWires; BRepFill_CompatibleWires (const TopTools_SequenceOfShape & Sections); + + /****************** Generated ******************/ + %feature("compactdefaultargs") Generated; + %feature("autodoc", ":rtype: TopTools_DataMapOfShapeListOfShape") Generated; + const TopTools_DataMapOfShapeListOfShape & Generated (); + + /****************** GeneratedShapes ******************/ + %feature("compactdefaultargs") GeneratedShapes; + %feature("autodoc", "* Returns the shapes created from a subshape of a section. + :param SubSection: + :type SubSection: TopoDS_Edge & + :rtype: TopTools_ListOfShape") GeneratedShapes; + const TopTools_ListOfShape & GeneratedShapes (const TopoDS_Edge & SubSection); + + /****************** Init ******************/ %feature("compactdefaultargs") Init; - %feature("autodoc", " :param Sections: + %feature("autodoc", ":param Sections: :type Sections: TopTools_SequenceOfShape & - :rtype: None -") Init; + :rtype: None") Init; void Init (const TopTools_SequenceOfShape & Sections); - %feature("compactdefaultargs") SetPercent; - %feature("autodoc", " :param percent: default value is 0.01 - :type percent: float - :rtype: None -") SetPercent; - void SetPercent (const Standard_Real percent = 0.01); - %feature("compactdefaultargs") Perform; - %feature("autodoc", " * Performs CompatibleWires According to the orientation and the origin of each other + /****************** IsDegeneratedFirstSection ******************/ + %feature("compactdefaultargs") IsDegeneratedFirstSection; + %feature("autodoc", ":rtype: bool") IsDegeneratedFirstSection; + Standard_Boolean IsDegeneratedFirstSection (); + + /****************** IsDegeneratedLastSection ******************/ + %feature("compactdefaultargs") IsDegeneratedLastSection; + %feature("autodoc", ":rtype: bool") IsDegeneratedLastSection; + Standard_Boolean IsDegeneratedLastSection (); + + /****************** IsDone ******************/ + %feature("compactdefaultargs") IsDone; + %feature("autodoc", ":rtype: bool") IsDone; + Standard_Boolean IsDone (); + + /****************** Perform ******************/ + %feature("compactdefaultargs") Perform; + %feature("autodoc", "* Performs CompatibleWires According to the orientation and the origin of each other :param WithRotation: default value is Standard_True :type WithRotation: bool - :rtype: None -") Perform; + :rtype: None") Perform; void Perform (const Standard_Boolean WithRotation = Standard_True); - %feature("compactdefaultargs") IsDone; - %feature("autodoc", " :rtype: bool -") IsDone; - Standard_Boolean IsDone (); - %feature("compactdefaultargs") Shape; - %feature("autodoc", " * returns the generated sequence. - :rtype: TopTools_SequenceOfShape -") Shape; + /****************** SetPercent ******************/ + %feature("compactdefaultargs") SetPercent; + %feature("autodoc", ":param percent: default value is 0.01 + :type percent: float + :rtype: None") SetPercent; + void SetPercent (const Standard_Real percent = 0.01); + + /****************** Shape ******************/ + %feature("compactdefaultargs") Shape; + %feature("autodoc", "* returns the generated sequence. + :rtype: TopTools_SequenceOfShape") Shape; const TopTools_SequenceOfShape & Shape (); - %feature("compactdefaultargs") GeneratedShapes; - %feature("autodoc", " * Returns the shapes created from a subshape of a section. - :param SubSection: - :type SubSection: TopoDS_Edge & - :rtype: TopTools_ListOfShape -") GeneratedShapes; - const TopTools_ListOfShape & GeneratedShapes (const TopoDS_Edge & SubSection); - %feature("compactdefaultargs") Generated; - %feature("autodoc", " :rtype: TopTools_DataMapOfShapeListOfShape -") Generated; - const TopTools_DataMapOfShapeListOfShape & Generated (); }; @@ -261,11 +440,17 @@ class BRepFill_CompatibleWires { __repr__ = _dumps_object } }; + +/****************************** +* class BRepFill_ComputeCLine * +******************************/ %nodefaultctor BRepFill_ComputeCLine; class BRepFill_ComputeCLine { public: + /****************** BRepFill_ComputeCLine ******************/ %feature("compactdefaultargs") BRepFill_ComputeCLine; - %feature("autodoc", " :param Line: + %feature("autodoc", "* The MultiLine will be approximated until tolerances will be reached. The approximation will be done from degreemin to degreemax with a cutting if the corresponding boolean is True. + :param Line: :type Line: BRepFill_MultiLine & :param degreemin: default value is 3 :type degreemin: int @@ -281,11 +466,13 @@ class BRepFill_ComputeCLine { :type FirstC: AppParCurves_Constraint :param LastC: default value is AppParCurves_TangencyPoint :type LastC: AppParCurves_Constraint - :rtype: None -") BRepFill_ComputeCLine; + :rtype: None") BRepFill_ComputeCLine; BRepFill_ComputeCLine (const BRepFill_MultiLine & Line,const Standard_Integer degreemin = 3,const Standard_Integer degreemax = 8,const Standard_Real Tolerance3d = 1.0e-5,const Standard_Real Tolerance2d = 1.0e-5,const Standard_Boolean cutting = Standard_False,const AppParCurves_Constraint FirstC = AppParCurves_TangencyPoint,const AppParCurves_Constraint LastC = AppParCurves_TangencyPoint); + + /****************** BRepFill_ComputeCLine ******************/ %feature("compactdefaultargs") BRepFill_ComputeCLine; - %feature("autodoc", " :param degreemin: default value is 3 + %feature("autodoc", "* Initializes the fields of the algorithm. + :param degreemin: default value is 3 :type degreemin: int :param degreemax: default value is 8 :type degreemax: int @@ -299,77 +486,112 @@ class BRepFill_ComputeCLine { :type FirstC: AppParCurves_Constraint :param LastC: default value is AppParCurves_TangencyPoint :type LastC: AppParCurves_Constraint - :rtype: None -") BRepFill_ComputeCLine; + :rtype: None") BRepFill_ComputeCLine; BRepFill_ComputeCLine (const Standard_Integer degreemin = 3,const Standard_Integer degreemax = 8,const Standard_Real Tolerance3d = 1.0e-05,const Standard_Real Tolerance2d = 1.0e-05,const Standard_Boolean cutting = Standard_False,const AppParCurves_Constraint FirstC = AppParCurves_TangencyPoint,const AppParCurves_Constraint LastC = AppParCurves_TangencyPoint); - %feature("compactdefaultargs") Perform; - %feature("autodoc", " :param Line: - :type Line: BRepFill_MultiLine & - :rtype: None -") Perform; - void Perform (const BRepFill_MultiLine & Line); - %feature("compactdefaultargs") SetDegrees; - %feature("autodoc", " :param degreemin: - :type degreemin: int - :param degreemax: - :type degreemax: int - :rtype: None -") SetDegrees; - void SetDegrees (const Standard_Integer degreemin,const Standard_Integer degreemax); - %feature("compactdefaultargs") SetTolerances; - %feature("autodoc", " :param Tolerance3d: - :type Tolerance3d: float - :param Tolerance2d: - :type Tolerance2d: float - :rtype: None -") SetTolerances; - void SetTolerances (const Standard_Real Tolerance3d,const Standard_Real Tolerance2d); - %feature("compactdefaultargs") SetConstraints; - %feature("autodoc", " :param FirstC: - :type FirstC: AppParCurves_Constraint - :param LastC: - :type LastC: AppParCurves_Constraint - :rtype: None -") SetConstraints; - void SetConstraints (const AppParCurves_Constraint FirstC,const AppParCurves_Constraint LastC); - %feature("compactdefaultargs") IsAllApproximated; - %feature("autodoc", " :rtype: bool -") IsAllApproximated; - Standard_Boolean IsAllApproximated (); - %feature("compactdefaultargs") IsToleranceReached; - %feature("autodoc", " :rtype: bool -") IsToleranceReached; - Standard_Boolean IsToleranceReached (); + + /****************** Error ******************/ %feature("compactdefaultargs") Error; - %feature("autodoc", " :param Index: + %feature("autodoc", "* returns the tolerances 2d and 3d of the MultiCurve. + :param Index: :type Index: int :param tol3d: :type tol3d: float & :param tol2d: :type tol2d: float & - :rtype: None -") Error; + :rtype: None") Error; void Error (const Standard_Integer Index,Standard_Real &OutValue,Standard_Real &OutValue); + + /****************** IsAllApproximated ******************/ + %feature("compactdefaultargs") IsAllApproximated; + %feature("autodoc", "* returns False if at a moment of the approximation, the status NoApproximation has been sent by the user when more points were needed. + :rtype: bool") IsAllApproximated; + Standard_Boolean IsAllApproximated (); + + /****************** IsToleranceReached ******************/ + %feature("compactdefaultargs") IsToleranceReached; + %feature("autodoc", "* returns False if the status NoPointsAdded has been sent. + :rtype: bool") IsToleranceReached; + Standard_Boolean IsToleranceReached (); + + /****************** NbMultiCurves ******************/ %feature("compactdefaultargs") NbMultiCurves; - %feature("autodoc", " :rtype: int -") NbMultiCurves; + %feature("autodoc", "* Returns the number of MultiCurve doing the approximation of the MultiLine. + :rtype: int") NbMultiCurves; Standard_Integer NbMultiCurves (); - %feature("compactdefaultargs") Value; - %feature("autodoc", " :param Index: default value is 1 - :type Index: int - :rtype: AppParCurves_MultiCurve -") Value; - AppParCurves_MultiCurve Value (const Standard_Integer Index = 1); + + /****************** Parameters ******************/ %feature("compactdefaultargs") Parameters; - %feature("autodoc", " :param Index: + %feature("autodoc", ":param Index: :type Index: int :param firstp: :type firstp: float & :param lastp: :type lastp: float & - :rtype: None -") Parameters; + :rtype: None") Parameters; void Parameters (const Standard_Integer Index,Standard_Real &OutValue,Standard_Real &OutValue); + + /****************** Perform ******************/ + %feature("compactdefaultargs") Perform; + %feature("autodoc", "* runs the algorithm after having initialized the fields. + :param Line: + :type Line: BRepFill_MultiLine & + :rtype: None") Perform; + void Perform (const BRepFill_MultiLine & Line); + + /****************** SetConstraints ******************/ + %feature("compactdefaultargs") SetConstraints; + %feature("autodoc", "* Changes the constraints of the approximation. + :param FirstC: + :type FirstC: AppParCurves_Constraint + :param LastC: + :type LastC: AppParCurves_Constraint + :rtype: None") SetConstraints; + void SetConstraints (const AppParCurves_Constraint FirstC,const AppParCurves_Constraint LastC); + + /****************** SetDegrees ******************/ + %feature("compactdefaultargs") SetDegrees; + %feature("autodoc", "* changes the degrees of the approximation. + :param degreemin: + :type degreemin: int + :param degreemax: + :type degreemax: int + :rtype: None") SetDegrees; + void SetDegrees (const Standard_Integer degreemin,const Standard_Integer degreemax); + + /****************** SetInvOrder ******************/ + %feature("compactdefaultargs") SetInvOrder; + %feature("autodoc", "* Set inverse order of degree selection: if theInvOrdr = true, current degree is chosen by inverse order - from maxdegree to mindegree. By default inverse order is used. + :param theInvOrder: + :type theInvOrder: bool + :rtype: None") SetInvOrder; + void SetInvOrder (const Standard_Boolean theInvOrder); + + /****************** SetMaxSegments ******************/ + %feature("compactdefaultargs") SetMaxSegments; + %feature("autodoc", "* Changes the max number of segments, which is allowed for cutting. + :param theMaxSegments: + :type theMaxSegments: int + :rtype: None") SetMaxSegments; + void SetMaxSegments (const Standard_Integer theMaxSegments); + + /****************** SetTolerances ******************/ + %feature("compactdefaultargs") SetTolerances; + %feature("autodoc", "* Changes the tolerances of the approximation. + :param Tolerance3d: + :type Tolerance3d: float + :param Tolerance2d: + :type Tolerance2d: float + :rtype: None") SetTolerances; + void SetTolerances (const Standard_Real Tolerance3d,const Standard_Real Tolerance2d); + + /****************** Value ******************/ + %feature("compactdefaultargs") Value; + %feature("autodoc", "* returns the approximation MultiCurve of range . + :param Index: default value is 1 + :type Index: int + :rtype: AppParCurves_MultiCurve") Value; + AppParCurves_MultiCurve Value (const Standard_Integer Index = 1); + }; @@ -378,14 +600,18 @@ class BRepFill_ComputeCLine { __repr__ = _dumps_object } }; + +/********************************* +* class BRepFill_CurveConstraint * +*********************************/ %nodefaultctor BRepFill_CurveConstraint; class BRepFill_CurveConstraint : public GeomPlate_CurveConstraint { public: + /****************** BRepFill_CurveConstraint ******************/ %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. - + %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. :param Boundary: - :type Boundary: Handle_Adaptor3d_HCurveOnSurface & + :type Boundary: opencascade::handle & :param Order: :type Order: int :param NPt: default value is 10 @@ -396,21 +622,22 @@ class BRepFill_CurveConstraint : public GeomPlate_CurveConstraint { :type TolAng: float :param TolCurv: default value is 0.1 :type TolCurv: float - :rtype: None -") BRepFill_CurveConstraint; - BRepFill_CurveConstraint (const Handle_Adaptor3d_HCurveOnSurface & 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); + :rtype: 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 ******************/ %feature("compactdefaultargs") BRepFill_CurveConstraint; - %feature("autodoc", " :param Boundary: - :type Boundary: Handle_Adaptor3d_HCurve & + %feature("autodoc", ":param Boundary: + :type Boundary: opencascade::handle & :param Tang: :type Tang: int :param NPt: default value is 10 :type NPt: int :param TolDist: default value is 0.0001 :type TolDist: float - :rtype: None -") BRepFill_CurveConstraint; - BRepFill_CurveConstraint (const Handle_Adaptor3d_HCurve & Boundary,const Standard_Integer Tang,const Standard_Integer NPt = 10,const Standard_Real TolDist = 0.0001); + :rtype: None") BRepFill_CurveConstraint; + BRepFill_CurveConstraint (const opencascade::handle & Boundary,const Standard_Integer Tang,const Standard_Integer NPt = 10,const Standard_Real TolDist = 0.0001); + }; @@ -421,1165 +648,145 @@ class BRepFill_CurveConstraint : public GeomPlate_CurveConstraint { __repr__ = _dumps_object } }; -%nodefaultctor BRepFill_DataMapIteratorOfDataMapOfNodeDataMapOfShapeShape; -class BRepFill_DataMapIteratorOfDataMapOfNodeDataMapOfShapeShape : public TCollection_BasicMapIterator { + +/*********************** +* class BRepFill_Draft * +***********************/ +%nodefaultctor BRepFill_Draft; +class BRepFill_Draft { public: - %feature("compactdefaultargs") BRepFill_DataMapIteratorOfDataMapOfNodeDataMapOfShapeShape; - %feature("autodoc", " :rtype: None -") BRepFill_DataMapIteratorOfDataMapOfNodeDataMapOfShapeShape; - BRepFill_DataMapIteratorOfDataMapOfNodeDataMapOfShapeShape (); - %feature("compactdefaultargs") BRepFill_DataMapIteratorOfDataMapOfNodeDataMapOfShapeShape; - %feature("autodoc", " :param aMap: - :type aMap: BRepFill_DataMapOfNodeDataMapOfShapeShape & - :rtype: None -") BRepFill_DataMapIteratorOfDataMapOfNodeDataMapOfShapeShape; - BRepFill_DataMapIteratorOfDataMapOfNodeDataMapOfShapeShape (const BRepFill_DataMapOfNodeDataMapOfShapeShape & aMap); - %feature("compactdefaultargs") Initialize; - %feature("autodoc", " :param aMap: - :type aMap: BRepFill_DataMapOfNodeDataMapOfShapeShape & - :rtype: None -") Initialize; - void Initialize (const BRepFill_DataMapOfNodeDataMapOfShapeShape & aMap); - %feature("compactdefaultargs") Key; - %feature("autodoc", " :rtype: Handle_MAT_Node -") Key; - Handle_MAT_Node Key (); - %feature("compactdefaultargs") Value; - %feature("autodoc", " :rtype: TopTools_DataMapOfShapeShape -") Value; - const TopTools_DataMapOfShapeShape & Value (); -}; + /****************** BRepFill_Draft ******************/ + %feature("compactdefaultargs") BRepFill_Draft; + %feature("autodoc", ":param Shape: + :type Shape: TopoDS_Shape & + :param Dir: + :type Dir: gp_Dir + :param Angle: + :type Angle: float + :rtype: None") BRepFill_Draft; + BRepFill_Draft (const TopoDS_Shape & Shape,const gp_Dir & Dir,const Standard_Real Angle); + /****************** Generated ******************/ + %feature("compactdefaultargs") Generated; + %feature("autodoc", "* Returns the list of shapes generated from the shape . + :param S: + :type S: TopoDS_Shape & + :rtype: TopTools_ListOfShape") Generated; + const TopTools_ListOfShape & Generated (const TopoDS_Shape & S); + + /****************** IsDone ******************/ + %feature("compactdefaultargs") IsDone; + %feature("autodoc", ":rtype: bool") IsDone; + Standard_Boolean IsDone (); + + /****************** Perform ******************/ + %feature("compactdefaultargs") Perform; + %feature("autodoc", ":param LengthMax: + :type LengthMax: float + :rtype: None") Perform; + void Perform (const Standard_Real LengthMax); + + /****************** Perform ******************/ + %feature("compactdefaultargs") Perform; + %feature("autodoc", ":param Surface: + :type Surface: opencascade::handle & + :param KeepInsideSurface: default value is Standard_True + :type KeepInsideSurface: bool + :rtype: None") Perform; + void Perform (const opencascade::handle & Surface,const Standard_Boolean KeepInsideSurface = Standard_True); + + /****************** Perform ******************/ + %feature("compactdefaultargs") Perform; + %feature("autodoc", ":param StopShape: + :type StopShape: TopoDS_Shape & + :param KeepOutSide: default value is Standard_True + :type KeepOutSide: bool + :rtype: None") Perform; + void Perform (const TopoDS_Shape & StopShape,const Standard_Boolean KeepOutSide = Standard_True); + + /****************** SetDraft ******************/ + %feature("compactdefaultargs") SetDraft; + %feature("autodoc", ":param IsInternal: default value is Standard_False + :type IsInternal: bool + :rtype: None") SetDraft; + void SetDraft (const Standard_Boolean IsInternal = Standard_False); + + /****************** SetOptions ******************/ + %feature("compactdefaultargs") SetOptions; + %feature("autodoc", ":param Style: default value is BRepFill_Right + :type Style: BRepFill_TransitionStyle + :param AngleMin: default value is 0.01 + :type AngleMin: float + :param AngleMax: default value is 3.0 + :type AngleMax: float + :rtype: None") SetOptions; + void SetOptions (const BRepFill_TransitionStyle Style = BRepFill_Right,const Standard_Real AngleMin = 0.01,const Standard_Real AngleMax = 3.0); + + /****************** Shape ******************/ + %feature("compactdefaultargs") Shape; + %feature("autodoc", ":rtype: TopoDS_Shape") Shape; + TopoDS_Shape Shape (); + + /****************** Shell ******************/ + %feature("compactdefaultargs") Shell; + %feature("autodoc", "* Returns the draft surface To have the complete shape you have to use the Shape() methode. + :rtype: TopoDS_Shell") Shell; + TopoDS_Shell Shell (); -%extend BRepFill_DataMapIteratorOfDataMapOfNodeDataMapOfShapeShape { - %pythoncode { - __repr__ = _dumps_object - } -}; -%nodefaultctor BRepFill_DataMapIteratorOfDataMapOfNodeShape; -class BRepFill_DataMapIteratorOfDataMapOfNodeShape : public TCollection_BasicMapIterator { - public: - %feature("compactdefaultargs") BRepFill_DataMapIteratorOfDataMapOfNodeShape; - %feature("autodoc", " :rtype: None -") BRepFill_DataMapIteratorOfDataMapOfNodeShape; - BRepFill_DataMapIteratorOfDataMapOfNodeShape (); - %feature("compactdefaultargs") BRepFill_DataMapIteratorOfDataMapOfNodeShape; - %feature("autodoc", " :param aMap: - :type aMap: BRepFill_DataMapOfNodeShape & - :rtype: None -") BRepFill_DataMapIteratorOfDataMapOfNodeShape; - BRepFill_DataMapIteratorOfDataMapOfNodeShape (const BRepFill_DataMapOfNodeShape & aMap); - %feature("compactdefaultargs") Initialize; - %feature("autodoc", " :param aMap: - :type aMap: BRepFill_DataMapOfNodeShape & - :rtype: None -") Initialize; - void Initialize (const BRepFill_DataMapOfNodeShape & aMap); - %feature("compactdefaultargs") Key; - %feature("autodoc", " :rtype: Handle_MAT_Node -") Key; - Handle_MAT_Node Key (); - %feature("compactdefaultargs") Value; - %feature("autodoc", " :rtype: TopoDS_Shape -") Value; - const TopoDS_Shape Value (); }; -%extend BRepFill_DataMapIteratorOfDataMapOfNodeShape { +%extend BRepFill_Draft { %pythoncode { __repr__ = _dumps_object } }; -%nodefaultctor BRepFill_DataMapIteratorOfDataMapOfOrientedShapeListOfShape; -class BRepFill_DataMapIteratorOfDataMapOfOrientedShapeListOfShape : public TCollection_BasicMapIterator { + +/********************************** +* class BRepFill_EdgeFaceAndOrder * +**********************************/ +%nodefaultctor BRepFill_EdgeFaceAndOrder; +class BRepFill_EdgeFaceAndOrder { public: - %feature("compactdefaultargs") BRepFill_DataMapIteratorOfDataMapOfOrientedShapeListOfShape; - %feature("autodoc", " :rtype: None -") BRepFill_DataMapIteratorOfDataMapOfOrientedShapeListOfShape; - BRepFill_DataMapIteratorOfDataMapOfOrientedShapeListOfShape (); - %feature("compactdefaultargs") BRepFill_DataMapIteratorOfDataMapOfOrientedShapeListOfShape; - %feature("autodoc", " :param aMap: - :type aMap: BRepFill_DataMapOfOrientedShapeListOfShape & - :rtype: None -") BRepFill_DataMapIteratorOfDataMapOfOrientedShapeListOfShape; - BRepFill_DataMapIteratorOfDataMapOfOrientedShapeListOfShape (const BRepFill_DataMapOfOrientedShapeListOfShape & aMap); - %feature("compactdefaultargs") Initialize; - %feature("autodoc", " :param aMap: - :type aMap: BRepFill_DataMapOfOrientedShapeListOfShape & - :rtype: None -") Initialize; - void Initialize (const BRepFill_DataMapOfOrientedShapeListOfShape & aMap); - %feature("compactdefaultargs") Key; - %feature("autodoc", " :rtype: TopoDS_Shape -") Key; - const TopoDS_Shape Key (); - %feature("compactdefaultargs") Value; - %feature("autodoc", " :rtype: TopTools_ListOfShape -") Value; - const TopTools_ListOfShape & Value (); + /****************** BRepFill_EdgeFaceAndOrder ******************/ + %feature("compactdefaultargs") BRepFill_EdgeFaceAndOrder; + %feature("autodoc", ":rtype: None") BRepFill_EdgeFaceAndOrder; + BRepFill_EdgeFaceAndOrder (); + + /****************** BRepFill_EdgeFaceAndOrder ******************/ + %feature("compactdefaultargs") BRepFill_EdgeFaceAndOrder; + %feature("autodoc", ":param anEdge: + :type anEdge: TopoDS_Edge & + :param aFace: + :type aFace: TopoDS_Face & + :param anOrder: + :type anOrder: GeomAbs_Shape + :rtype: None") BRepFill_EdgeFaceAndOrder; + BRepFill_EdgeFaceAndOrder (const TopoDS_Edge & anEdge,const TopoDS_Face & aFace,const GeomAbs_Shape anOrder); + }; -%extend BRepFill_DataMapIteratorOfDataMapOfOrientedShapeListOfShape { +%extend BRepFill_EdgeFaceAndOrder { %pythoncode { __repr__ = _dumps_object } }; -%nodefaultctor BRepFill_DataMapIteratorOfDataMapOfShapeDataMapOfShapeListOfShape; -class BRepFill_DataMapIteratorOfDataMapOfShapeDataMapOfShapeListOfShape : public TCollection_BasicMapIterator { - public: - %feature("compactdefaultargs") BRepFill_DataMapIteratorOfDataMapOfShapeDataMapOfShapeListOfShape; - %feature("autodoc", " :rtype: None -") BRepFill_DataMapIteratorOfDataMapOfShapeDataMapOfShapeListOfShape; - BRepFill_DataMapIteratorOfDataMapOfShapeDataMapOfShapeListOfShape (); - %feature("compactdefaultargs") BRepFill_DataMapIteratorOfDataMapOfShapeDataMapOfShapeListOfShape; - %feature("autodoc", " :param aMap: - :type aMap: BRepFill_DataMapOfShapeDataMapOfShapeListOfShape & - :rtype: None -") BRepFill_DataMapIteratorOfDataMapOfShapeDataMapOfShapeListOfShape; - BRepFill_DataMapIteratorOfDataMapOfShapeDataMapOfShapeListOfShape (const BRepFill_DataMapOfShapeDataMapOfShapeListOfShape & aMap); - %feature("compactdefaultargs") Initialize; - %feature("autodoc", " :param aMap: - :type aMap: BRepFill_DataMapOfShapeDataMapOfShapeListOfShape & - :rtype: None -") Initialize; - void Initialize (const BRepFill_DataMapOfShapeDataMapOfShapeListOfShape & aMap); - %feature("compactdefaultargs") Key; - %feature("autodoc", " :rtype: TopoDS_Shape -") Key; - const TopoDS_Shape Key (); - %feature("compactdefaultargs") Value; - %feature("autodoc", " :rtype: TopTools_DataMapOfShapeListOfShape -") Value; - const TopTools_DataMapOfShapeListOfShape & Value (); -}; - - -%extend BRepFill_DataMapIteratorOfDataMapOfShapeDataMapOfShapeListOfShape { - %pythoncode { - __repr__ = _dumps_object - } -}; -%nodefaultctor BRepFill_DataMapIteratorOfDataMapOfShapeHArray2OfShape; -class BRepFill_DataMapIteratorOfDataMapOfShapeHArray2OfShape : public TCollection_BasicMapIterator { - public: - %feature("compactdefaultargs") BRepFill_DataMapIteratorOfDataMapOfShapeHArray2OfShape; - %feature("autodoc", " :rtype: None -") BRepFill_DataMapIteratorOfDataMapOfShapeHArray2OfShape; - BRepFill_DataMapIteratorOfDataMapOfShapeHArray2OfShape (); - %feature("compactdefaultargs") BRepFill_DataMapIteratorOfDataMapOfShapeHArray2OfShape; - %feature("autodoc", " :param aMap: - :type aMap: BRepFill_DataMapOfShapeHArray2OfShape & - :rtype: None -") BRepFill_DataMapIteratorOfDataMapOfShapeHArray2OfShape; - BRepFill_DataMapIteratorOfDataMapOfShapeHArray2OfShape (const BRepFill_DataMapOfShapeHArray2OfShape & aMap); - %feature("compactdefaultargs") Initialize; - %feature("autodoc", " :param aMap: - :type aMap: BRepFill_DataMapOfShapeHArray2OfShape & - :rtype: None -") Initialize; - void Initialize (const BRepFill_DataMapOfShapeHArray2OfShape & aMap); - %feature("compactdefaultargs") Key; - %feature("autodoc", " :rtype: TopoDS_Shape -") Key; - const TopoDS_Shape Key (); - %feature("compactdefaultargs") Value; - %feature("autodoc", " :rtype: Handle_TopTools_HArray2OfShape -") Value; - Handle_TopTools_HArray2OfShape Value (); -}; - - -%extend BRepFill_DataMapIteratorOfDataMapOfShapeHArray2OfShape { - %pythoncode { - __repr__ = _dumps_object - } -}; -%nodefaultctor BRepFill_DataMapIteratorOfDataMapOfShapeSequenceOfPnt; -class BRepFill_DataMapIteratorOfDataMapOfShapeSequenceOfPnt : public TCollection_BasicMapIterator { - public: - %feature("compactdefaultargs") BRepFill_DataMapIteratorOfDataMapOfShapeSequenceOfPnt; - %feature("autodoc", " :rtype: None -") BRepFill_DataMapIteratorOfDataMapOfShapeSequenceOfPnt; - BRepFill_DataMapIteratorOfDataMapOfShapeSequenceOfPnt (); - %feature("compactdefaultargs") BRepFill_DataMapIteratorOfDataMapOfShapeSequenceOfPnt; - %feature("autodoc", " :param aMap: - :type aMap: BRepFill_DataMapOfShapeSequenceOfPnt & - :rtype: None -") BRepFill_DataMapIteratorOfDataMapOfShapeSequenceOfPnt; - BRepFill_DataMapIteratorOfDataMapOfShapeSequenceOfPnt (const BRepFill_DataMapOfShapeSequenceOfPnt & aMap); - %feature("compactdefaultargs") Initialize; - %feature("autodoc", " :param aMap: - :type aMap: BRepFill_DataMapOfShapeSequenceOfPnt & - :rtype: None -") Initialize; - void Initialize (const BRepFill_DataMapOfShapeSequenceOfPnt & aMap); - %feature("compactdefaultargs") Key; - %feature("autodoc", " :rtype: TopoDS_Shape -") Key; - const TopoDS_Shape Key (); - %feature("compactdefaultargs") Value; - %feature("autodoc", " :rtype: TColgp_SequenceOfPnt -") Value; - const TColgp_SequenceOfPnt & Value (); -}; - - -%extend BRepFill_DataMapIteratorOfDataMapOfShapeSequenceOfPnt { - %pythoncode { - __repr__ = _dumps_object - } -}; -%nodefaultctor BRepFill_DataMapIteratorOfDataMapOfShapeSequenceOfReal; -class BRepFill_DataMapIteratorOfDataMapOfShapeSequenceOfReal : public TCollection_BasicMapIterator { - public: - %feature("compactdefaultargs") BRepFill_DataMapIteratorOfDataMapOfShapeSequenceOfReal; - %feature("autodoc", " :rtype: None -") BRepFill_DataMapIteratorOfDataMapOfShapeSequenceOfReal; - BRepFill_DataMapIteratorOfDataMapOfShapeSequenceOfReal (); - %feature("compactdefaultargs") BRepFill_DataMapIteratorOfDataMapOfShapeSequenceOfReal; - %feature("autodoc", " :param aMap: - :type aMap: BRepFill_DataMapOfShapeSequenceOfReal & - :rtype: None -") BRepFill_DataMapIteratorOfDataMapOfShapeSequenceOfReal; - BRepFill_DataMapIteratorOfDataMapOfShapeSequenceOfReal (const BRepFill_DataMapOfShapeSequenceOfReal & aMap); - %feature("compactdefaultargs") Initialize; - %feature("autodoc", " :param aMap: - :type aMap: BRepFill_DataMapOfShapeSequenceOfReal & - :rtype: None -") Initialize; - void Initialize (const BRepFill_DataMapOfShapeSequenceOfReal & aMap); - %feature("compactdefaultargs") Key; - %feature("autodoc", " :rtype: TopoDS_Shape -") Key; - const TopoDS_Shape Key (); - %feature("compactdefaultargs") Value; - %feature("autodoc", " :rtype: TColStd_SequenceOfReal -") Value; - const TColStd_SequenceOfReal & Value (); -}; - - -%extend BRepFill_DataMapIteratorOfDataMapOfShapeSequenceOfReal { - %pythoncode { - __repr__ = _dumps_object - } -}; -%nodefaultctor BRepFill_DataMapNodeOfDataMapOfNodeDataMapOfShapeShape; -class BRepFill_DataMapNodeOfDataMapOfNodeDataMapOfShapeShape : public TCollection_MapNode { - public: - %feature("compactdefaultargs") BRepFill_DataMapNodeOfDataMapOfNodeDataMapOfShapeShape; - %feature("autodoc", " :param K: - :type K: Handle_MAT_Node & - :param I: - :type I: TopTools_DataMapOfShapeShape & - :param n: - :type n: TCollection_MapNodePtr & - :rtype: None -") BRepFill_DataMapNodeOfDataMapOfNodeDataMapOfShapeShape; - BRepFill_DataMapNodeOfDataMapOfNodeDataMapOfShapeShape (const Handle_MAT_Node & K,const TopTools_DataMapOfShapeShape & I,const TCollection_MapNodePtr & n); - %feature("compactdefaultargs") Key; - %feature("autodoc", " :rtype: Handle_MAT_Node -") Key; - Handle_MAT_Node Key (); - %feature("compactdefaultargs") Value; - %feature("autodoc", " :rtype: TopTools_DataMapOfShapeShape -") Value; - TopTools_DataMapOfShapeShape & Value (); -}; - - -%make_alias(BRepFill_DataMapNodeOfDataMapOfNodeDataMapOfShapeShape) - -%extend BRepFill_DataMapNodeOfDataMapOfNodeDataMapOfShapeShape { - %pythoncode { - __repr__ = _dumps_object - } -}; -%nodefaultctor BRepFill_DataMapNodeOfDataMapOfNodeShape; -class BRepFill_DataMapNodeOfDataMapOfNodeShape : public TCollection_MapNode { - public: - %feature("compactdefaultargs") BRepFill_DataMapNodeOfDataMapOfNodeShape; - %feature("autodoc", " :param K: - :type K: Handle_MAT_Node & - :param I: - :type I: TopoDS_Shape & - :param n: - :type n: TCollection_MapNodePtr & - :rtype: None -") BRepFill_DataMapNodeOfDataMapOfNodeShape; - BRepFill_DataMapNodeOfDataMapOfNodeShape (const Handle_MAT_Node & K,const TopoDS_Shape & I,const TCollection_MapNodePtr & n); - %feature("compactdefaultargs") Key; - %feature("autodoc", " :rtype: Handle_MAT_Node -") Key; - Handle_MAT_Node Key (); - %feature("compactdefaultargs") Value; - %feature("autodoc", " :rtype: TopoDS_Shape -") Value; - TopoDS_Shape Value (); -}; - - -%make_alias(BRepFill_DataMapNodeOfDataMapOfNodeShape) - -%extend BRepFill_DataMapNodeOfDataMapOfNodeShape { - %pythoncode { - __repr__ = _dumps_object - } -}; -%nodefaultctor BRepFill_DataMapNodeOfDataMapOfOrientedShapeListOfShape; -class BRepFill_DataMapNodeOfDataMapOfOrientedShapeListOfShape : public TCollection_MapNode { - public: - %feature("compactdefaultargs") BRepFill_DataMapNodeOfDataMapOfOrientedShapeListOfShape; - %feature("autodoc", " :param K: - :type K: TopoDS_Shape & - :param I: - :type I: TopTools_ListOfShape & - :param n: - :type n: TCollection_MapNodePtr & - :rtype: None -") BRepFill_DataMapNodeOfDataMapOfOrientedShapeListOfShape; - BRepFill_DataMapNodeOfDataMapOfOrientedShapeListOfShape (const TopoDS_Shape & K,const TopTools_ListOfShape & I,const TCollection_MapNodePtr & n); - %feature("compactdefaultargs") Key; - %feature("autodoc", " :rtype: TopoDS_Shape -") Key; - TopoDS_Shape Key (); - %feature("compactdefaultargs") Value; - %feature("autodoc", " :rtype: TopTools_ListOfShape -") Value; - TopTools_ListOfShape & Value (); -}; - - -%make_alias(BRepFill_DataMapNodeOfDataMapOfOrientedShapeListOfShape) - -%extend BRepFill_DataMapNodeOfDataMapOfOrientedShapeListOfShape { - %pythoncode { - __repr__ = _dumps_object - } -}; -%nodefaultctor BRepFill_DataMapNodeOfDataMapOfShapeDataMapOfShapeListOfShape; -class BRepFill_DataMapNodeOfDataMapOfShapeDataMapOfShapeListOfShape : public TCollection_MapNode { - public: - %feature("compactdefaultargs") BRepFill_DataMapNodeOfDataMapOfShapeDataMapOfShapeListOfShape; - %feature("autodoc", " :param K: - :type K: TopoDS_Shape & - :param I: - :type I: TopTools_DataMapOfShapeListOfShape & - :param n: - :type n: TCollection_MapNodePtr & - :rtype: None -") BRepFill_DataMapNodeOfDataMapOfShapeDataMapOfShapeListOfShape; - BRepFill_DataMapNodeOfDataMapOfShapeDataMapOfShapeListOfShape (const TopoDS_Shape & K,const TopTools_DataMapOfShapeListOfShape & I,const TCollection_MapNodePtr & n); - %feature("compactdefaultargs") Key; - %feature("autodoc", " :rtype: TopoDS_Shape -") Key; - TopoDS_Shape Key (); - %feature("compactdefaultargs") Value; - %feature("autodoc", " :rtype: TopTools_DataMapOfShapeListOfShape -") Value; - TopTools_DataMapOfShapeListOfShape & Value (); -}; - - -%make_alias(BRepFill_DataMapNodeOfDataMapOfShapeDataMapOfShapeListOfShape) - -%extend BRepFill_DataMapNodeOfDataMapOfShapeDataMapOfShapeListOfShape { - %pythoncode { - __repr__ = _dumps_object - } -}; -%nodefaultctor BRepFill_DataMapNodeOfDataMapOfShapeHArray2OfShape; -class BRepFill_DataMapNodeOfDataMapOfShapeHArray2OfShape : public TCollection_MapNode { - public: - %feature("compactdefaultargs") BRepFill_DataMapNodeOfDataMapOfShapeHArray2OfShape; - %feature("autodoc", " :param K: - :type K: TopoDS_Shape & - :param I: - :type I: Handle_TopTools_HArray2OfShape & - :param n: - :type n: TCollection_MapNodePtr & - :rtype: None -") BRepFill_DataMapNodeOfDataMapOfShapeHArray2OfShape; - BRepFill_DataMapNodeOfDataMapOfShapeHArray2OfShape (const TopoDS_Shape & K,const Handle_TopTools_HArray2OfShape & I,const TCollection_MapNodePtr & n); - %feature("compactdefaultargs") Key; - %feature("autodoc", " :rtype: TopoDS_Shape -") Key; - TopoDS_Shape Key (); - %feature("compactdefaultargs") Value; - %feature("autodoc", " :rtype: Handle_TopTools_HArray2OfShape -") Value; - Handle_TopTools_HArray2OfShape Value (); -}; - - -%make_alias(BRepFill_DataMapNodeOfDataMapOfShapeHArray2OfShape) - -%extend BRepFill_DataMapNodeOfDataMapOfShapeHArray2OfShape { - %pythoncode { - __repr__ = _dumps_object - } -}; -%nodefaultctor BRepFill_DataMapNodeOfDataMapOfShapeSequenceOfPnt; -class BRepFill_DataMapNodeOfDataMapOfShapeSequenceOfPnt : public TCollection_MapNode { - public: - %feature("compactdefaultargs") BRepFill_DataMapNodeOfDataMapOfShapeSequenceOfPnt; - %feature("autodoc", " :param K: - :type K: TopoDS_Shape & - :param I: - :type I: TColgp_SequenceOfPnt - :param n: - :type n: TCollection_MapNodePtr & - :rtype: None -") BRepFill_DataMapNodeOfDataMapOfShapeSequenceOfPnt; - BRepFill_DataMapNodeOfDataMapOfShapeSequenceOfPnt (const TopoDS_Shape & K,const TColgp_SequenceOfPnt & I,const TCollection_MapNodePtr & n); - %feature("compactdefaultargs") Key; - %feature("autodoc", " :rtype: TopoDS_Shape -") Key; - TopoDS_Shape Key (); - %feature("compactdefaultargs") Value; - %feature("autodoc", " :rtype: TColgp_SequenceOfPnt -") Value; - TColgp_SequenceOfPnt & Value (); -}; - - -%make_alias(BRepFill_DataMapNodeOfDataMapOfShapeSequenceOfPnt) - -%extend BRepFill_DataMapNodeOfDataMapOfShapeSequenceOfPnt { - %pythoncode { - __repr__ = _dumps_object - } -}; -%nodefaultctor BRepFill_DataMapNodeOfDataMapOfShapeSequenceOfReal; -class BRepFill_DataMapNodeOfDataMapOfShapeSequenceOfReal : public TCollection_MapNode { - public: - %feature("compactdefaultargs") BRepFill_DataMapNodeOfDataMapOfShapeSequenceOfReal; - %feature("autodoc", " :param K: - :type K: TopoDS_Shape & - :param I: - :type I: TColStd_SequenceOfReal & - :param n: - :type n: TCollection_MapNodePtr & - :rtype: None -") BRepFill_DataMapNodeOfDataMapOfShapeSequenceOfReal; - BRepFill_DataMapNodeOfDataMapOfShapeSequenceOfReal (const TopoDS_Shape & K,const TColStd_SequenceOfReal & I,const TCollection_MapNodePtr & n); - %feature("compactdefaultargs") Key; - %feature("autodoc", " :rtype: TopoDS_Shape -") Key; - TopoDS_Shape Key (); - %feature("compactdefaultargs") Value; - %feature("autodoc", " :rtype: TColStd_SequenceOfReal -") Value; - TColStd_SequenceOfReal & Value (); -}; - - -%make_alias(BRepFill_DataMapNodeOfDataMapOfShapeSequenceOfReal) - -%extend BRepFill_DataMapNodeOfDataMapOfShapeSequenceOfReal { - %pythoncode { - __repr__ = _dumps_object - } -}; -%nodefaultctor BRepFill_DataMapOfNodeDataMapOfShapeShape; -class BRepFill_DataMapOfNodeDataMapOfShapeShape : public TCollection_BasicMap { - public: - %feature("compactdefaultargs") BRepFill_DataMapOfNodeDataMapOfShapeShape; - %feature("autodoc", " :param NbBuckets: default value is 1 - :type NbBuckets: int - :rtype: None -") BRepFill_DataMapOfNodeDataMapOfShapeShape; - BRepFill_DataMapOfNodeDataMapOfShapeShape (const Standard_Integer NbBuckets = 1); - %feature("compactdefaultargs") Assign; - %feature("autodoc", " :param Other: - :type Other: BRepFill_DataMapOfNodeDataMapOfShapeShape & - :rtype: BRepFill_DataMapOfNodeDataMapOfShapeShape -") Assign; - BRepFill_DataMapOfNodeDataMapOfShapeShape & Assign (const BRepFill_DataMapOfNodeDataMapOfShapeShape & Other); - %feature("compactdefaultargs") operator =; - %feature("autodoc", " :param Other: - :type Other: BRepFill_DataMapOfNodeDataMapOfShapeShape & - :rtype: BRepFill_DataMapOfNodeDataMapOfShapeShape -") operator =; - BRepFill_DataMapOfNodeDataMapOfShapeShape & operator = (const BRepFill_DataMapOfNodeDataMapOfShapeShape & Other); - %feature("compactdefaultargs") ReSize; - %feature("autodoc", " :param NbBuckets: - :type NbBuckets: int - :rtype: None -") ReSize; - void ReSize (const Standard_Integer NbBuckets); - %feature("compactdefaultargs") Clear; - %feature("autodoc", " :rtype: None -") Clear; - void Clear (); - %feature("compactdefaultargs") Bind; - %feature("autodoc", " :param K: - :type K: Handle_MAT_Node & - :param I: - :type I: TopTools_DataMapOfShapeShape & - :rtype: bool -") Bind; - Standard_Boolean Bind (const Handle_MAT_Node & K,const TopTools_DataMapOfShapeShape & I); - %feature("compactdefaultargs") IsBound; - %feature("autodoc", " :param K: - :type K: Handle_MAT_Node & - :rtype: bool -") IsBound; - Standard_Boolean IsBound (const Handle_MAT_Node & K); - %feature("compactdefaultargs") UnBind; - %feature("autodoc", " :param K: - :type K: Handle_MAT_Node & - :rtype: bool -") UnBind; - Standard_Boolean UnBind (const Handle_MAT_Node & K); - %feature("compactdefaultargs") Find; - %feature("autodoc", " :param K: - :type K: Handle_MAT_Node & - :rtype: TopTools_DataMapOfShapeShape -") Find; - const TopTools_DataMapOfShapeShape & Find (const Handle_MAT_Node & K); - %feature("compactdefaultargs") ChangeFind; - %feature("autodoc", " :param K: - :type K: Handle_MAT_Node & - :rtype: TopTools_DataMapOfShapeShape -") ChangeFind; - TopTools_DataMapOfShapeShape & ChangeFind (const Handle_MAT_Node & K); - %feature("compactdefaultargs") Find1; - %feature("autodoc", " :param K: - :type K: Handle_MAT_Node & - :rtype: Standard_Address -") Find1; - Standard_Address Find1 (const Handle_MAT_Node & K); - %feature("compactdefaultargs") ChangeFind1; - %feature("autodoc", " :param K: - :type K: Handle_MAT_Node & - :rtype: Standard_Address -") ChangeFind1; - Standard_Address ChangeFind1 (const Handle_MAT_Node & K); -}; - - -%extend BRepFill_DataMapOfNodeDataMapOfShapeShape { - %pythoncode { - __repr__ = _dumps_object - } -}; -%nodefaultctor BRepFill_DataMapOfNodeShape; -class BRepFill_DataMapOfNodeShape : public TCollection_BasicMap { - public: - %feature("compactdefaultargs") BRepFill_DataMapOfNodeShape; - %feature("autodoc", " :param NbBuckets: default value is 1 - :type NbBuckets: int - :rtype: None -") BRepFill_DataMapOfNodeShape; - BRepFill_DataMapOfNodeShape (const Standard_Integer NbBuckets = 1); - %feature("compactdefaultargs") Assign; - %feature("autodoc", " :param Other: - :type Other: BRepFill_DataMapOfNodeShape & - :rtype: BRepFill_DataMapOfNodeShape -") Assign; - BRepFill_DataMapOfNodeShape & Assign (const BRepFill_DataMapOfNodeShape & Other); - %feature("compactdefaultargs") operator =; - %feature("autodoc", " :param Other: - :type Other: BRepFill_DataMapOfNodeShape & - :rtype: BRepFill_DataMapOfNodeShape -") operator =; - BRepFill_DataMapOfNodeShape & operator = (const BRepFill_DataMapOfNodeShape & Other); - %feature("compactdefaultargs") ReSize; - %feature("autodoc", " :param NbBuckets: - :type NbBuckets: int - :rtype: None -") ReSize; - void ReSize (const Standard_Integer NbBuckets); - %feature("compactdefaultargs") Clear; - %feature("autodoc", " :rtype: None -") Clear; - void Clear (); - %feature("compactdefaultargs") Bind; - %feature("autodoc", " :param K: - :type K: Handle_MAT_Node & - :param I: - :type I: TopoDS_Shape & - :rtype: bool -") Bind; - Standard_Boolean Bind (const Handle_MAT_Node & K,const TopoDS_Shape & I); - %feature("compactdefaultargs") IsBound; - %feature("autodoc", " :param K: - :type K: Handle_MAT_Node & - :rtype: bool -") IsBound; - Standard_Boolean IsBound (const Handle_MAT_Node & K); - %feature("compactdefaultargs") UnBind; - %feature("autodoc", " :param K: - :type K: Handle_MAT_Node & - :rtype: bool -") UnBind; - Standard_Boolean UnBind (const Handle_MAT_Node & K); - %feature("compactdefaultargs") Find; - %feature("autodoc", " :param K: - :type K: Handle_MAT_Node & - :rtype: TopoDS_Shape -") Find; - const TopoDS_Shape Find (const Handle_MAT_Node & K); - %feature("compactdefaultargs") ChangeFind; - %feature("autodoc", " :param K: - :type K: Handle_MAT_Node & - :rtype: TopoDS_Shape -") ChangeFind; - TopoDS_Shape ChangeFind (const Handle_MAT_Node & K); - %feature("compactdefaultargs") Find1; - %feature("autodoc", " :param K: - :type K: Handle_MAT_Node & - :rtype: Standard_Address -") Find1; - Standard_Address Find1 (const Handle_MAT_Node & K); - %feature("compactdefaultargs") ChangeFind1; - %feature("autodoc", " :param K: - :type K: Handle_MAT_Node & - :rtype: Standard_Address -") ChangeFind1; - Standard_Address ChangeFind1 (const Handle_MAT_Node & K); -}; - - -%extend BRepFill_DataMapOfNodeShape { - %pythoncode { - __repr__ = _dumps_object - } -}; -%nodefaultctor BRepFill_DataMapOfOrientedShapeListOfShape; -class BRepFill_DataMapOfOrientedShapeListOfShape : public TCollection_BasicMap { - public: - %feature("compactdefaultargs") BRepFill_DataMapOfOrientedShapeListOfShape; - %feature("autodoc", " :param NbBuckets: default value is 1 - :type NbBuckets: int - :rtype: None -") BRepFill_DataMapOfOrientedShapeListOfShape; - BRepFill_DataMapOfOrientedShapeListOfShape (const Standard_Integer NbBuckets = 1); - %feature("compactdefaultargs") Assign; - %feature("autodoc", " :param Other: - :type Other: BRepFill_DataMapOfOrientedShapeListOfShape & - :rtype: BRepFill_DataMapOfOrientedShapeListOfShape -") Assign; - BRepFill_DataMapOfOrientedShapeListOfShape & Assign (const BRepFill_DataMapOfOrientedShapeListOfShape & Other); - %feature("compactdefaultargs") operator =; - %feature("autodoc", " :param Other: - :type Other: BRepFill_DataMapOfOrientedShapeListOfShape & - :rtype: BRepFill_DataMapOfOrientedShapeListOfShape -") operator =; - BRepFill_DataMapOfOrientedShapeListOfShape & operator = (const BRepFill_DataMapOfOrientedShapeListOfShape & Other); - %feature("compactdefaultargs") ReSize; - %feature("autodoc", " :param NbBuckets: - :type NbBuckets: int - :rtype: None -") ReSize; - void ReSize (const Standard_Integer NbBuckets); - %feature("compactdefaultargs") Clear; - %feature("autodoc", " :rtype: None -") Clear; - void Clear (); - %feature("compactdefaultargs") Bind; - %feature("autodoc", " :param K: - :type K: TopoDS_Shape & - :param I: - :type I: TopTools_ListOfShape & - :rtype: bool -") Bind; - Standard_Boolean Bind (const TopoDS_Shape & K,const TopTools_ListOfShape & I); - %feature("compactdefaultargs") IsBound; - %feature("autodoc", " :param K: - :type K: TopoDS_Shape & - :rtype: bool -") IsBound; - Standard_Boolean IsBound (const TopoDS_Shape & K); - %feature("compactdefaultargs") UnBind; - %feature("autodoc", " :param K: - :type K: TopoDS_Shape & - :rtype: bool -") UnBind; - Standard_Boolean UnBind (const TopoDS_Shape & K); - %feature("compactdefaultargs") Find; - %feature("autodoc", " :param K: - :type K: TopoDS_Shape & - :rtype: TopTools_ListOfShape -") Find; - const TopTools_ListOfShape & Find (const TopoDS_Shape & K); - %feature("compactdefaultargs") ChangeFind; - %feature("autodoc", " :param K: - :type K: TopoDS_Shape & - :rtype: TopTools_ListOfShape -") ChangeFind; - TopTools_ListOfShape & ChangeFind (const TopoDS_Shape & K); - %feature("compactdefaultargs") Find1; - %feature("autodoc", " :param K: - :type K: TopoDS_Shape & - :rtype: Standard_Address -") Find1; - Standard_Address Find1 (const TopoDS_Shape & K); - %feature("compactdefaultargs") ChangeFind1; - %feature("autodoc", " :param K: - :type K: TopoDS_Shape & - :rtype: Standard_Address -") ChangeFind1; - Standard_Address ChangeFind1 (const TopoDS_Shape & K); -}; - - -%extend BRepFill_DataMapOfOrientedShapeListOfShape { - %pythoncode { - __repr__ = _dumps_object - } -}; -%nodefaultctor BRepFill_DataMapOfShapeDataMapOfShapeListOfShape; -class BRepFill_DataMapOfShapeDataMapOfShapeListOfShape : public TCollection_BasicMap { - public: - %feature("compactdefaultargs") BRepFill_DataMapOfShapeDataMapOfShapeListOfShape; - %feature("autodoc", " :param NbBuckets: default value is 1 - :type NbBuckets: int - :rtype: None -") BRepFill_DataMapOfShapeDataMapOfShapeListOfShape; - BRepFill_DataMapOfShapeDataMapOfShapeListOfShape (const Standard_Integer NbBuckets = 1); - %feature("compactdefaultargs") Assign; - %feature("autodoc", " :param Other: - :type Other: BRepFill_DataMapOfShapeDataMapOfShapeListOfShape & - :rtype: BRepFill_DataMapOfShapeDataMapOfShapeListOfShape -") Assign; - BRepFill_DataMapOfShapeDataMapOfShapeListOfShape & Assign (const BRepFill_DataMapOfShapeDataMapOfShapeListOfShape & Other); - %feature("compactdefaultargs") operator =; - %feature("autodoc", " :param Other: - :type Other: BRepFill_DataMapOfShapeDataMapOfShapeListOfShape & - :rtype: BRepFill_DataMapOfShapeDataMapOfShapeListOfShape -") operator =; - BRepFill_DataMapOfShapeDataMapOfShapeListOfShape & operator = (const BRepFill_DataMapOfShapeDataMapOfShapeListOfShape & Other); - %feature("compactdefaultargs") ReSize; - %feature("autodoc", " :param NbBuckets: - :type NbBuckets: int - :rtype: None -") ReSize; - void ReSize (const Standard_Integer NbBuckets); - %feature("compactdefaultargs") Clear; - %feature("autodoc", " :rtype: None -") Clear; - void Clear (); - %feature("compactdefaultargs") Bind; - %feature("autodoc", " :param K: - :type K: TopoDS_Shape & - :param I: - :type I: TopTools_DataMapOfShapeListOfShape & - :rtype: bool -") Bind; - Standard_Boolean Bind (const TopoDS_Shape & K,const TopTools_DataMapOfShapeListOfShape & I); - %feature("compactdefaultargs") IsBound; - %feature("autodoc", " :param K: - :type K: TopoDS_Shape & - :rtype: bool -") IsBound; - Standard_Boolean IsBound (const TopoDS_Shape & K); - %feature("compactdefaultargs") UnBind; - %feature("autodoc", " :param K: - :type K: TopoDS_Shape & - :rtype: bool -") UnBind; - Standard_Boolean UnBind (const TopoDS_Shape & K); - %feature("compactdefaultargs") Find; - %feature("autodoc", " :param K: - :type K: TopoDS_Shape & - :rtype: TopTools_DataMapOfShapeListOfShape -") Find; - const TopTools_DataMapOfShapeListOfShape & Find (const TopoDS_Shape & K); - %feature("compactdefaultargs") ChangeFind; - %feature("autodoc", " :param K: - :type K: TopoDS_Shape & - :rtype: TopTools_DataMapOfShapeListOfShape -") ChangeFind; - TopTools_DataMapOfShapeListOfShape & ChangeFind (const TopoDS_Shape & K); - %feature("compactdefaultargs") Find1; - %feature("autodoc", " :param K: - :type K: TopoDS_Shape & - :rtype: Standard_Address -") Find1; - Standard_Address Find1 (const TopoDS_Shape & K); - %feature("compactdefaultargs") ChangeFind1; - %feature("autodoc", " :param K: - :type K: TopoDS_Shape & - :rtype: Standard_Address -") ChangeFind1; - Standard_Address ChangeFind1 (const TopoDS_Shape & K); -}; - - -%extend BRepFill_DataMapOfShapeDataMapOfShapeListOfShape { - %pythoncode { - __repr__ = _dumps_object - } -}; -%nodefaultctor BRepFill_DataMapOfShapeHArray2OfShape; -class BRepFill_DataMapOfShapeHArray2OfShape : public TCollection_BasicMap { - public: - %feature("compactdefaultargs") BRepFill_DataMapOfShapeHArray2OfShape; - %feature("autodoc", " :param NbBuckets: default value is 1 - :type NbBuckets: int - :rtype: None -") BRepFill_DataMapOfShapeHArray2OfShape; - BRepFill_DataMapOfShapeHArray2OfShape (const Standard_Integer NbBuckets = 1); - %feature("compactdefaultargs") Assign; - %feature("autodoc", " :param Other: - :type Other: BRepFill_DataMapOfShapeHArray2OfShape & - :rtype: BRepFill_DataMapOfShapeHArray2OfShape -") Assign; - BRepFill_DataMapOfShapeHArray2OfShape & Assign (const BRepFill_DataMapOfShapeHArray2OfShape & Other); - %feature("compactdefaultargs") operator =; - %feature("autodoc", " :param Other: - :type Other: BRepFill_DataMapOfShapeHArray2OfShape & - :rtype: BRepFill_DataMapOfShapeHArray2OfShape -") operator =; - BRepFill_DataMapOfShapeHArray2OfShape & operator = (const BRepFill_DataMapOfShapeHArray2OfShape & Other); - %feature("compactdefaultargs") ReSize; - %feature("autodoc", " :param NbBuckets: - :type NbBuckets: int - :rtype: None -") ReSize; - void ReSize (const Standard_Integer NbBuckets); - %feature("compactdefaultargs") Clear; - %feature("autodoc", " :rtype: None -") Clear; - void Clear (); - %feature("compactdefaultargs") Bind; - %feature("autodoc", " :param K: - :type K: TopoDS_Shape & - :param I: - :type I: Handle_TopTools_HArray2OfShape & - :rtype: bool -") Bind; - Standard_Boolean Bind (const TopoDS_Shape & K,const Handle_TopTools_HArray2OfShape & I); - %feature("compactdefaultargs") IsBound; - %feature("autodoc", " :param K: - :type K: TopoDS_Shape & - :rtype: bool -") IsBound; - Standard_Boolean IsBound (const TopoDS_Shape & K); - %feature("compactdefaultargs") UnBind; - %feature("autodoc", " :param K: - :type K: TopoDS_Shape & - :rtype: bool -") UnBind; - Standard_Boolean UnBind (const TopoDS_Shape & K); - %feature("compactdefaultargs") Find; - %feature("autodoc", " :param K: - :type K: TopoDS_Shape & - :rtype: Handle_TopTools_HArray2OfShape -") Find; - Handle_TopTools_HArray2OfShape Find (const TopoDS_Shape & K); - %feature("compactdefaultargs") ChangeFind; - %feature("autodoc", " :param K: - :type K: TopoDS_Shape & - :rtype: Handle_TopTools_HArray2OfShape -") ChangeFind; - Handle_TopTools_HArray2OfShape ChangeFind (const TopoDS_Shape & K); - %feature("compactdefaultargs") Find1; - %feature("autodoc", " :param K: - :type K: TopoDS_Shape & - :rtype: Standard_Address -") Find1; - Standard_Address Find1 (const TopoDS_Shape & K); - %feature("compactdefaultargs") ChangeFind1; - %feature("autodoc", " :param K: - :type K: TopoDS_Shape & - :rtype: Standard_Address -") ChangeFind1; - Standard_Address ChangeFind1 (const TopoDS_Shape & K); -}; - - -%extend BRepFill_DataMapOfShapeHArray2OfShape { - %pythoncode { - __repr__ = _dumps_object - } -}; -%nodefaultctor BRepFill_DataMapOfShapeSequenceOfPnt; -class BRepFill_DataMapOfShapeSequenceOfPnt : public TCollection_BasicMap { - public: - %feature("compactdefaultargs") BRepFill_DataMapOfShapeSequenceOfPnt; - %feature("autodoc", " :param NbBuckets: default value is 1 - :type NbBuckets: int - :rtype: None -") BRepFill_DataMapOfShapeSequenceOfPnt; - BRepFill_DataMapOfShapeSequenceOfPnt (const Standard_Integer NbBuckets = 1); - %feature("compactdefaultargs") Assign; - %feature("autodoc", " :param Other: - :type Other: BRepFill_DataMapOfShapeSequenceOfPnt & - :rtype: BRepFill_DataMapOfShapeSequenceOfPnt -") Assign; - BRepFill_DataMapOfShapeSequenceOfPnt & Assign (const BRepFill_DataMapOfShapeSequenceOfPnt & Other); - %feature("compactdefaultargs") operator =; - %feature("autodoc", " :param Other: - :type Other: BRepFill_DataMapOfShapeSequenceOfPnt & - :rtype: BRepFill_DataMapOfShapeSequenceOfPnt -") operator =; - BRepFill_DataMapOfShapeSequenceOfPnt & operator = (const BRepFill_DataMapOfShapeSequenceOfPnt & Other); - %feature("compactdefaultargs") ReSize; - %feature("autodoc", " :param NbBuckets: - :type NbBuckets: int - :rtype: None -") ReSize; - void ReSize (const Standard_Integer NbBuckets); - %feature("compactdefaultargs") Clear; - %feature("autodoc", " :rtype: None -") Clear; - void Clear (); - %feature("compactdefaultargs") Bind; - %feature("autodoc", " :param K: - :type K: TopoDS_Shape & - :param I: - :type I: TColgp_SequenceOfPnt - :rtype: bool -") Bind; - Standard_Boolean Bind (const TopoDS_Shape & K,const TColgp_SequenceOfPnt & I); - %feature("compactdefaultargs") IsBound; - %feature("autodoc", " :param K: - :type K: TopoDS_Shape & - :rtype: bool -") IsBound; - Standard_Boolean IsBound (const TopoDS_Shape & K); - %feature("compactdefaultargs") UnBind; - %feature("autodoc", " :param K: - :type K: TopoDS_Shape & - :rtype: bool -") UnBind; - Standard_Boolean UnBind (const TopoDS_Shape & K); - %feature("compactdefaultargs") Find; - %feature("autodoc", " :param K: - :type K: TopoDS_Shape & - :rtype: TColgp_SequenceOfPnt -") Find; - const TColgp_SequenceOfPnt & Find (const TopoDS_Shape & K); - %feature("compactdefaultargs") ChangeFind; - %feature("autodoc", " :param K: - :type K: TopoDS_Shape & - :rtype: TColgp_SequenceOfPnt -") ChangeFind; - TColgp_SequenceOfPnt & ChangeFind (const TopoDS_Shape & K); - %feature("compactdefaultargs") Find1; - %feature("autodoc", " :param K: - :type K: TopoDS_Shape & - :rtype: Standard_Address -") Find1; - Standard_Address Find1 (const TopoDS_Shape & K); - %feature("compactdefaultargs") ChangeFind1; - %feature("autodoc", " :param K: - :type K: TopoDS_Shape & - :rtype: Standard_Address -") ChangeFind1; - Standard_Address ChangeFind1 (const TopoDS_Shape & K); -}; - - -%extend BRepFill_DataMapOfShapeSequenceOfPnt { - %pythoncode { - __repr__ = _dumps_object - } -}; -%nodefaultctor BRepFill_DataMapOfShapeSequenceOfReal; -class BRepFill_DataMapOfShapeSequenceOfReal : public TCollection_BasicMap { - public: - %feature("compactdefaultargs") BRepFill_DataMapOfShapeSequenceOfReal; - %feature("autodoc", " :param NbBuckets: default value is 1 - :type NbBuckets: int - :rtype: None -") BRepFill_DataMapOfShapeSequenceOfReal; - BRepFill_DataMapOfShapeSequenceOfReal (const Standard_Integer NbBuckets = 1); - %feature("compactdefaultargs") Assign; - %feature("autodoc", " :param Other: - :type Other: BRepFill_DataMapOfShapeSequenceOfReal & - :rtype: BRepFill_DataMapOfShapeSequenceOfReal -") Assign; - BRepFill_DataMapOfShapeSequenceOfReal & Assign (const BRepFill_DataMapOfShapeSequenceOfReal & Other); - %feature("compactdefaultargs") operator =; - %feature("autodoc", " :param Other: - :type Other: BRepFill_DataMapOfShapeSequenceOfReal & - :rtype: BRepFill_DataMapOfShapeSequenceOfReal -") operator =; - BRepFill_DataMapOfShapeSequenceOfReal & operator = (const BRepFill_DataMapOfShapeSequenceOfReal & Other); - %feature("compactdefaultargs") ReSize; - %feature("autodoc", " :param NbBuckets: - :type NbBuckets: int - :rtype: None -") ReSize; - void ReSize (const Standard_Integer NbBuckets); - %feature("compactdefaultargs") Clear; - %feature("autodoc", " :rtype: None -") Clear; - void Clear (); - %feature("compactdefaultargs") Bind; - %feature("autodoc", " :param K: - :type K: TopoDS_Shape & - :param I: - :type I: TColStd_SequenceOfReal & - :rtype: bool -") Bind; - Standard_Boolean Bind (const TopoDS_Shape & K,const TColStd_SequenceOfReal & I); - %feature("compactdefaultargs") IsBound; - %feature("autodoc", " :param K: - :type K: TopoDS_Shape & - :rtype: bool -") IsBound; - Standard_Boolean IsBound (const TopoDS_Shape & K); - %feature("compactdefaultargs") UnBind; - %feature("autodoc", " :param K: - :type K: TopoDS_Shape & - :rtype: bool -") UnBind; - Standard_Boolean UnBind (const TopoDS_Shape & K); - %feature("compactdefaultargs") Find; - %feature("autodoc", " :param K: - :type K: TopoDS_Shape & - :rtype: TColStd_SequenceOfReal -") Find; - const TColStd_SequenceOfReal & Find (const TopoDS_Shape & K); - %feature("compactdefaultargs") ChangeFind; - %feature("autodoc", " :param K: - :type K: TopoDS_Shape & - :rtype: TColStd_SequenceOfReal -") ChangeFind; - TColStd_SequenceOfReal & ChangeFind (const TopoDS_Shape & K); - %feature("compactdefaultargs") Find1; - %feature("autodoc", " :param K: - :type K: TopoDS_Shape & - :rtype: Standard_Address -") Find1; - Standard_Address Find1 (const TopoDS_Shape & K); - %feature("compactdefaultargs") ChangeFind1; - %feature("autodoc", " :param K: - :type K: TopoDS_Shape & - :rtype: Standard_Address -") ChangeFind1; - Standard_Address ChangeFind1 (const TopoDS_Shape & K); -}; - - -%extend BRepFill_DataMapOfShapeSequenceOfReal { - %pythoncode { - __repr__ = _dumps_object - } -}; -%nodefaultctor BRepFill_Draft; -class BRepFill_Draft { - public: - %feature("compactdefaultargs") BRepFill_Draft; - %feature("autodoc", " :param Shape: - :type Shape: TopoDS_Shape & - :param Dir: - :type Dir: gp_Dir - :param Angle: - :type Angle: float - :rtype: None -") BRepFill_Draft; - BRepFill_Draft (const TopoDS_Shape & Shape,const gp_Dir & Dir,const Standard_Real Angle); - %feature("compactdefaultargs") SetOptions; - %feature("autodoc", " :param Style: default value is BRepFill_Right - :type Style: BRepFill_TransitionStyle - :param AngleMin: default value is 0.01 - :type AngleMin: float - :param AngleMax: default value is 3.0 - :type AngleMax: float - :rtype: None -") SetOptions; - void SetOptions (const BRepFill_TransitionStyle Style = BRepFill_Right,const Standard_Real AngleMin = 0.01,const Standard_Real AngleMax = 3.0); - %feature("compactdefaultargs") SetDraft; - %feature("autodoc", " :param IsInternal: default value is Standard_False - :type IsInternal: bool - :rtype: None -") SetDraft; - void SetDraft (const Standard_Boolean IsInternal = Standard_False); - %feature("compactdefaultargs") Perform; - %feature("autodoc", " :param LengthMax: - :type LengthMax: float - :rtype: None -") Perform; - void Perform (const Standard_Real LengthMax); - %feature("compactdefaultargs") Perform; - %feature("autodoc", " :param Surface: - :type Surface: Handle_Geom_Surface & - :param KeepInsideSurface: default value is Standard_True - :type KeepInsideSurface: bool - :rtype: None -") Perform; - void Perform (const Handle_Geom_Surface & Surface,const Standard_Boolean KeepInsideSurface = Standard_True); - %feature("compactdefaultargs") Perform; - %feature("autodoc", " :param StopShape: - :type StopShape: TopoDS_Shape & - :param KeepOutSide: default value is Standard_True - :type KeepOutSide: bool - :rtype: None -") Perform; - void Perform (const TopoDS_Shape & StopShape,const Standard_Boolean KeepOutSide = Standard_True); - %feature("compactdefaultargs") IsDone; - %feature("autodoc", " :rtype: bool -") IsDone; - Standard_Boolean IsDone (); - %feature("compactdefaultargs") Shell; - %feature("autodoc", " * Returns the draft surface To have the complete shape you have to use the Shape() methode. - - :rtype: TopoDS_Shell -") Shell; - TopoDS_Shell Shell (); - %feature("compactdefaultargs") Generated; - %feature("autodoc", " * Returns the list of shapes generated from the shape . - - :param S: - :type S: TopoDS_Shape & - :rtype: TopTools_ListOfShape -") Generated; - const TopTools_ListOfShape & Generated (const TopoDS_Shape & S); - %feature("compactdefaultargs") Shape; - %feature("autodoc", " :rtype: TopoDS_Shape -") Shape; - TopoDS_Shape Shape (); -}; - -%extend BRepFill_Draft { - %pythoncode { - __repr__ = _dumps_object - } -}; -%nodefaultctor BRepFill_EdgeFaceAndOrder; -class BRepFill_EdgeFaceAndOrder { - public: - %feature("compactdefaultargs") BRepFill_EdgeFaceAndOrder; - %feature("autodoc", " :rtype: None -") BRepFill_EdgeFaceAndOrder; - BRepFill_EdgeFaceAndOrder (); - %feature("compactdefaultargs") BRepFill_EdgeFaceAndOrder; - %feature("autodoc", " :param anEdge: - :type anEdge: TopoDS_Edge & - :param aFace: - :type aFace: TopoDS_Face & - :param anOrder: - :type anOrder: GeomAbs_Shape - :rtype: None -") BRepFill_EdgeFaceAndOrder; - BRepFill_EdgeFaceAndOrder (const TopoDS_Edge & anEdge,const TopoDS_Face & aFace,const GeomAbs_Shape anOrder); -}; - - -%extend BRepFill_EdgeFaceAndOrder { - %pythoncode { - __repr__ = _dumps_object - } -}; +/************************* +* class BRepFill_Evolved * +*************************/ %nodefaultctor BRepFill_Evolved; class BRepFill_Evolved { public: + /****************** BRepFill_Evolved ******************/ %feature("compactdefaultargs") BRepFill_Evolved; - %feature("autodoc", " :rtype: None -") BRepFill_Evolved; + %feature("autodoc", ":rtype: None") BRepFill_Evolved; BRepFill_Evolved (); - %feature("compactdefaultargs") BRepFill_Evolved; - %feature("autodoc", " * Creates an evolved shape by sweeping the along the . is used to set the position of along as follows: slides on the profile with direction colinear to the normal to , and its mixed with the tangent to . + /****************** BRepFill_Evolved ******************/ + %feature("compactdefaultargs") BRepFill_Evolved; + %feature("autodoc", "* Creates an evolved shape by sweeping the along the . is used to set the position of along as follows: slides on the profile with direction colinear to the normal to , and its mixed with the tangent to . :param Spine: :type Spine: TopoDS_Wire & :param Profile: @@ -1590,12 +797,12 @@ class BRepFill_Evolved { :type Join: GeomAbs_JoinType :param Solid: default value is Standard_False :type Solid: bool - :rtype: None -") BRepFill_Evolved; + :rtype: None") BRepFill_Evolved; BRepFill_Evolved (const TopoDS_Wire & Spine,const TopoDS_Wire & Profile,const gp_Ax3 & AxeProf,const GeomAbs_JoinType Join = GeomAbs_Arc,const Standard_Boolean Solid = Standard_False); - %feature("compactdefaultargs") BRepFill_Evolved; - %feature("autodoc", " * Creates an evolved shape by sweeping the along the + /****************** BRepFill_Evolved ******************/ + %feature("compactdefaultargs") BRepFill_Evolved; + %feature("autodoc", "* Creates an evolved shape by sweeping the along the :param Spine: :type Spine: TopoDS_Face & :param Profile: @@ -1606,12 +813,38 @@ class BRepFill_Evolved { :type Join: GeomAbs_JoinType :param Solid: default value is Standard_False :type Solid: bool - :rtype: None -") BRepFill_Evolved; + :rtype: None") BRepFill_Evolved; BRepFill_Evolved (const TopoDS_Face & Spine,const TopoDS_Wire & Profile,const gp_Ax3 & AxeProf,const GeomAbs_JoinType Join = GeomAbs_Arc,const Standard_Boolean Solid = Standard_False); - %feature("compactdefaultargs") Perform; - %feature("autodoc", " * Performs an evolved shape by sweeping the along the + /****************** Bottom ******************/ + %feature("compactdefaultargs") Bottom; + %feature("autodoc", "* Return the face Bottom if is True in the constructor. + :rtype: TopoDS_Shape") Bottom; + const TopoDS_Shape Bottom (); + + /****************** GeneratedShapes ******************/ + %feature("compactdefaultargs") GeneratedShapes; + %feature("autodoc", "* Returns the shapes created from a subshape of the spine and a subshape on the profile. + :param SpineShape: + :type SpineShape: TopoDS_Shape & + :param ProfShape: + :type ProfShape: TopoDS_Shape & + :rtype: TopTools_ListOfShape") GeneratedShapes; + const TopTools_ListOfShape & GeneratedShapes (const TopoDS_Shape & SpineShape,const TopoDS_Shape & ProfShape); + + /****************** IsDone ******************/ + %feature("compactdefaultargs") IsDone; + %feature("autodoc", ":rtype: bool") IsDone; + Standard_Boolean IsDone (); + + /****************** JoinType ******************/ + %feature("compactdefaultargs") JoinType; + %feature("autodoc", ":rtype: GeomAbs_JoinType") JoinType; + GeomAbs_JoinType JoinType (); + + /****************** Perform ******************/ + %feature("compactdefaultargs") Perform; + %feature("autodoc", "* Performs an evolved shape by sweeping the along the :param Spine: :type Spine: TopoDS_Wire & :param Profile: @@ -1622,12 +855,12 @@ class BRepFill_Evolved { :type Join: GeomAbs_JoinType :param Solid: default value is Standard_False :type Solid: bool - :rtype: None -") Perform; + :rtype: None") Perform; void Perform (const TopoDS_Wire & Spine,const TopoDS_Wire & Profile,const gp_Ax3 & AxeProf,const GeomAbs_JoinType Join = GeomAbs_Arc,const Standard_Boolean Solid = Standard_False); - %feature("compactdefaultargs") Perform; - %feature("autodoc", " * Performs an evolved shape by sweeping the along the + /****************** Perform ******************/ + %feature("compactdefaultargs") Perform; + %feature("autodoc", "* Performs an evolved shape by sweeping the along the :param Spine: :type Spine: TopoDS_Face & :param Profile: @@ -1638,45 +871,21 @@ class BRepFill_Evolved { :type Join: GeomAbs_JoinType :param Solid: default value is Standard_False :type Solid: bool - :rtype: None -") Perform; + :rtype: None") Perform; void Perform (const TopoDS_Face & Spine,const TopoDS_Wire & Profile,const gp_Ax3 & AxeProf,const GeomAbs_JoinType Join = GeomAbs_Arc,const Standard_Boolean Solid = Standard_False); - %feature("compactdefaultargs") IsDone; - %feature("autodoc", " :rtype: bool -") IsDone; - Standard_Boolean IsDone (); - %feature("compactdefaultargs") Shape; - %feature("autodoc", " * returns the generated shape. - :rtype: TopoDS_Shape -") Shape; + /****************** Shape ******************/ + %feature("compactdefaultargs") Shape; + %feature("autodoc", "* returns the generated shape. + :rtype: TopoDS_Shape") Shape; const TopoDS_Shape Shape (); - %feature("compactdefaultargs") GeneratedShapes; - %feature("autodoc", " * Returns the shapes created from a subshape of the spine and a subshape on the profile. - :param SpineShape: - :type SpineShape: TopoDS_Shape & - :param ProfShape: - :type ProfShape: TopoDS_Shape & - :rtype: TopTools_ListOfShape -") GeneratedShapes; - const TopTools_ListOfShape & GeneratedShapes (const TopoDS_Shape & SpineShape,const TopoDS_Shape & ProfShape); - %feature("compactdefaultargs") JoinType; - %feature("autodoc", " :rtype: GeomAbs_JoinType -") JoinType; - GeomAbs_JoinType JoinType (); + /****************** Top ******************/ %feature("compactdefaultargs") Top; - %feature("autodoc", " * Return the face Top if is True in the constructor. - - :rtype: TopoDS_Shape -") Top; + %feature("autodoc", "* Return the face Top if is True in the constructor. + :rtype: TopoDS_Shape") Top; const TopoDS_Shape Top (); - %feature("compactdefaultargs") Bottom; - %feature("autodoc", " * Return the face Bottom if is True in the constructor. - :rtype: TopoDS_Shape -") Bottom; - const TopoDS_Shape Bottom (); }; @@ -1685,21 +894,27 @@ class BRepFill_Evolved { __repr__ = _dumps_object } }; + +/****************************** +* class BRepFill_FaceAndOrder * +******************************/ %nodefaultctor BRepFill_FaceAndOrder; class BRepFill_FaceAndOrder { public: + /****************** BRepFill_FaceAndOrder ******************/ %feature("compactdefaultargs") BRepFill_FaceAndOrder; - %feature("autodoc", " :rtype: None -") BRepFill_FaceAndOrder; + %feature("autodoc", ":rtype: None") BRepFill_FaceAndOrder; BRepFill_FaceAndOrder (); + + /****************** BRepFill_FaceAndOrder ******************/ %feature("compactdefaultargs") BRepFill_FaceAndOrder; - %feature("autodoc", " :param aFace: + %feature("autodoc", ":param aFace: :type aFace: TopoDS_Face & :param anOrder: :type anOrder: GeomAbs_Shape - :rtype: None -") BRepFill_FaceAndOrder; + :rtype: None") BRepFill_FaceAndOrder; BRepFill_FaceAndOrder (const TopoDS_Face & aFace,const GeomAbs_Shape anOrder); + }; @@ -1708,96 +923,28 @@ class BRepFill_FaceAndOrder { __repr__ = _dumps_object } }; + +/************************* +* class BRepFill_Filling * +*************************/ %nodefaultctor BRepFill_Filling; class BRepFill_Filling { public: - %feature("compactdefaultargs") BRepFill_Filling; - %feature("autodoc", " * Constructor - - :param Degree: default value is 3 - :type Degree: int - :param NbPtsOnCur: default value is 15 - :type NbPtsOnCur: int - :param NbIter: default value is 2 - :type NbIter: int - :param Anisotropie: default value is Standard_False - :type Anisotropie: bool - :param Tol2d: default value is 0.00001 - :type Tol2d: float - :param Tol3d: default value is 0.0001 - :type Tol3d: float - :param TolAng: default value is 0.01 - :type TolAng: float - :param TolCurv: default value is 0.1 - :type TolCurv: float - :param MaxDeg: default value is 8 - :type MaxDeg: int - :param MaxSegments: default value is 9 - :type MaxSegments: int - :rtype: None -") BRepFill_Filling; - BRepFill_Filling (const Standard_Integer Degree = 3,const Standard_Integer NbPtsOnCur = 15,const Standard_Integer NbIter = 2,const Standard_Boolean Anisotropie = Standard_False,const Standard_Real Tol2d = 0.00001,const Standard_Real Tol3d = 0.0001,const Standard_Real TolAng = 0.01,const Standard_Real TolCurv = 0.1,const Standard_Integer MaxDeg = 8,const Standard_Integer MaxSegments = 9); - %feature("compactdefaultargs") SetConstrParam; - %feature("autodoc", " * Sets the values of Tolerances used to control the constraint. Tol2d: Tol3d: it is the maximum distance allowed between the support surface and the constraints TolAng: it is the maximum angle allowed between the normal of the surface and the constraints TolCurv: it is the maximum difference of curvature allowed between the surface and the constraint - - :param Tol2d: default value is 0.00001 - :type Tol2d: float - :param Tol3d: default value is 0.0001 - :type Tol3d: float - :param TolAng: default value is 0.01 - :type TolAng: float - :param TolCurv: default value is 0.1 - :type TolCurv: float - :rtype: None -") SetConstrParam; - void SetConstrParam (const Standard_Real Tol2d = 0.00001,const Standard_Real Tol3d = 0.0001,const Standard_Real TolAng = 0.01,const Standard_Real TolCurv = 0.1); - %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: - - :param Degree: default value is 3 - :type Degree: int - :param NbPtsOnCur: default value is 15 - :type NbPtsOnCur: int - :param NbIter: default value is 2 - :type NbIter: int - :param Anisotropie: default value is Standard_False - :type Anisotropie: bool - :rtype: None -") SetResolParam; - void SetResolParam (const Standard_Integer Degree = 3,const Standard_Integer NbPtsOnCur = 15,const Standard_Integer NbIter = 2,const Standard_Boolean Anisotropie = Standard_False); - %feature("compactdefaultargs") SetApproxParam; - %feature("autodoc", " * Sets the parameters used for approximation of the surface - - :param MaxDeg: default value is 8 - :type MaxDeg: int - :param MaxSegments: default value is 9 - :type MaxSegments: int - :rtype: None -") SetApproxParam; - void SetApproxParam (const Standard_Integer MaxDeg = 8,const Standard_Integer MaxSegments = 9); - %feature("compactdefaultargs") LoadInitSurface; - %feature("autodoc", " * Loads the initial Surface The initial surface must have orthogonal local coordinates, i.e. partial derivatives dS/du and dS/dv must be orthogonal at each point of surface. If this condition breaks, distortions of resulting surface are possible. - - :param aFace: - :type aFace: TopoDS_Face & - :rtype: None -") LoadInitSurface; - void LoadInitSurface (const TopoDS_Face & aFace); + /****************** Add ******************/ %feature("compactdefaultargs") Add; - %feature("autodoc", " * Adds a new constraint which also defines an edge of the wire of the face Order: Order of the constraint: GeomAbs_C0 : the surface has to pass by 3D representation of the edge GeomAbs_G1 : the surface has to pass by 3D representation of the edge and to respect tangency with the first face of the edge GeomAbs_G2 : the surface has to pass by 3D representation of the edge and to respect tangency and curvature with the first face of the edge. - + %feature("autodoc", "* Adds a new constraint which also defines an edge of the wire of the face Order: Order of the constraint: GeomAbs_C0 : the surface has to pass by 3D representation of the edge GeomAbs_G1 : the surface has to pass by 3D representation of the edge and to respect tangency with the first face of the edge GeomAbs_G2 : the surface has to pass by 3D representation of the edge and to respect tangency and curvature with the first face of the edge. :param anEdge: :type anEdge: TopoDS_Edge & :param Order: :type Order: GeomAbs_Shape :param IsBound: default value is Standard_True :type IsBound: bool - :rtype: int -") Add; + :rtype: int") Add; Standard_Integer Add (const TopoDS_Edge & anEdge,const GeomAbs_Shape Order,const Standard_Boolean IsBound = Standard_True); - %feature("compactdefaultargs") Add; - %feature("autodoc", " * Adds a new constraint which also defines an edge of the wire of the face Order: Order of the constraint: GeomAbs_C0 : the surface has to pass by 3D representation of the edge GeomAbs_G1 : the surface has to pass by 3D representation of the edge and to respect tangency with the given face GeomAbs_G2 : the surface has to pass by 3D representation of the edge and to respect tangency and curvature with the given face. + /****************** Add ******************/ + %feature("compactdefaultargs") Add; + %feature("autodoc", "* Adds a new constraint which also defines an edge of the wire of the face Order: Order of the constraint: GeomAbs_C0 : the surface has to pass by 3D representation of the edge GeomAbs_G1 : the surface has to pass by 3D representation of the edge and to respect tangency with the given face GeomAbs_G2 : the surface has to pass by 3D representation of the edge and to respect tangency and curvature with the given face. :param anEdge: :type anEdge: TopoDS_Edge & :param Support: @@ -1806,93 +953,173 @@ class BRepFill_Filling { :type Order: GeomAbs_Shape :param IsBound: default value is Standard_True :type IsBound: bool - :rtype: int -") Add; + :rtype: int") Add; Standard_Integer Add (const TopoDS_Edge & anEdge,const TopoDS_Face & Support,const GeomAbs_Shape Order,const Standard_Boolean IsBound = Standard_True); - %feature("compactdefaultargs") Add; - %feature("autodoc", " * Adds a free constraint on a face. The corresponding edge has to be automatically recomputed. It is always a bound. + /****************** Add ******************/ + %feature("compactdefaultargs") Add; + %feature("autodoc", "* Adds a free constraint on a face. The corresponding edge has to be automatically recomputed. It is always a bound. :param Support: :type Support: TopoDS_Face & :param Order: :type Order: GeomAbs_Shape - :rtype: int -") Add; + :rtype: int") Add; Standard_Integer Add (const TopoDS_Face & Support,const GeomAbs_Shape Order); - %feature("compactdefaultargs") Add; - %feature("autodoc", " * Adds a punctual constraint + /****************** Add ******************/ + %feature("compactdefaultargs") Add; + %feature("autodoc", "* Adds a punctual constraint :param Point: :type Point: gp_Pnt - :rtype: int -") Add; + :rtype: int") Add; Standard_Integer Add (const gp_Pnt & Point); + + /****************** Add ******************/ %feature("compactdefaultargs") Add; - %feature("autodoc", " * Adds a punctual constraint. + %feature("autodoc", "* Adds a punctual constraint. + :param U: + :type U: float + :param V: + :type V: float + :param Support: + :type Support: TopoDS_Face & + :param Order: + :type Order: GeomAbs_Shape + :rtype: int") Add; + Standard_Integer Add (const Standard_Real U,const Standard_Real V,const TopoDS_Face & Support,const GeomAbs_Shape Order); + + /****************** BRepFill_Filling ******************/ + %feature("compactdefaultargs") BRepFill_Filling; + %feature("autodoc", "* Constructor + :param Degree: default value is 3 + :type Degree: int + :param NbPtsOnCur: default value is 15 + :type NbPtsOnCur: int + :param NbIter: default value is 2 + :type NbIter: int + :param Anisotropie: default value is Standard_False + :type Anisotropie: bool + :param Tol2d: default value is 0.00001 + :type Tol2d: float + :param Tol3d: default value is 0.0001 + :type Tol3d: float + :param TolAng: default value is 0.01 + :type TolAng: float + :param TolCurv: default value is 0.1 + :type TolCurv: float + :param MaxDeg: default value is 8 + :type MaxDeg: int + :param MaxSegments: default value is 9 + :type MaxSegments: int + :rtype: None") BRepFill_Filling; + BRepFill_Filling (const Standard_Integer Degree = 3,const Standard_Integer NbPtsOnCur = 15,const Standard_Integer NbIter = 2,const Standard_Boolean Anisotropie = Standard_False,const Standard_Real Tol2d = 0.00001,const Standard_Real Tol3d = 0.0001,const Standard_Real TolAng = 0.01,const Standard_Real TolCurv = 0.1,const Standard_Integer MaxDeg = 8,const Standard_Integer MaxSegments = 9); - :param U: - :type U: float - :param V: - :type V: float - :param Support: - :type Support: TopoDS_Face & - :param Order: - :type Order: GeomAbs_Shape - :rtype: int -") Add; - Standard_Integer Add (const Standard_Real U,const Standard_Real V,const TopoDS_Face & Support,const GeomAbs_Shape Order); + /****************** Build ******************/ %feature("compactdefaultargs") Build; - %feature("autodoc", " * Builds the resulting faces - - :rtype: None -") Build; + %feature("autodoc", "* Builds the resulting faces + :rtype: None") Build; void Build (); - %feature("compactdefaultargs") IsDone; - %feature("autodoc", " :rtype: bool -") IsDone; - Standard_Boolean IsDone (); + + /****************** Face ******************/ %feature("compactdefaultargs") Face; - %feature("autodoc", " :rtype: TopoDS_Face -") Face; + %feature("autodoc", ":rtype: TopoDS_Face") Face; TopoDS_Face Face (); - %feature("compactdefaultargs") Generated; - %feature("autodoc", " * Returns the list of shapes generated from the shape . - :param S: - :type S: TopoDS_Shape & - :rtype: TopTools_ListOfShape -") Generated; - const TopTools_ListOfShape & Generated (const TopoDS_Shape & S); + /****************** G0Error ******************/ %feature("compactdefaultargs") G0Error; - %feature("autodoc", " :rtype: float -") G0Error; + %feature("autodoc", ":rtype: float") G0Error; Standard_Real G0Error (); - %feature("compactdefaultargs") G1Error; - %feature("autodoc", " :rtype: float -") G1Error; - Standard_Real G1Error (); - %feature("compactdefaultargs") G2Error; - %feature("autodoc", " :rtype: float -") G2Error; - Standard_Real G2Error (); + + /****************** G0Error ******************/ %feature("compactdefaultargs") G0Error; - %feature("autodoc", " :param Index: + %feature("autodoc", ":param Index: :type Index: int - :rtype: float -") G0Error; + :rtype: float") G0Error; Standard_Real G0Error (const Standard_Integer Index); + + /****************** G1Error ******************/ + %feature("compactdefaultargs") G1Error; + %feature("autodoc", ":rtype: float") G1Error; + Standard_Real G1Error (); + + /****************** G1Error ******************/ %feature("compactdefaultargs") G1Error; - %feature("autodoc", " :param Index: + %feature("autodoc", ":param Index: :type Index: int - :rtype: float -") G1Error; + :rtype: float") G1Error; Standard_Real G1Error (const Standard_Integer Index); + + /****************** G2Error ******************/ + %feature("compactdefaultargs") G2Error; + %feature("autodoc", ":rtype: float") G2Error; + Standard_Real G2Error (); + + /****************** G2Error ******************/ %feature("compactdefaultargs") G2Error; - %feature("autodoc", " :param Index: + %feature("autodoc", ":param Index: :type Index: int - :rtype: float -") G2Error; + :rtype: float") G2Error; Standard_Real G2Error (const Standard_Integer Index); + + /****************** Generated ******************/ + %feature("compactdefaultargs") Generated; + %feature("autodoc", "* Returns the list of shapes generated from the shape . + :param S: + :type S: TopoDS_Shape & + :rtype: TopTools_ListOfShape") Generated; + const TopTools_ListOfShape & Generated (const TopoDS_Shape & S); + + /****************** IsDone ******************/ + %feature("compactdefaultargs") IsDone; + %feature("autodoc", ":rtype: bool") IsDone; + Standard_Boolean IsDone (); + + /****************** LoadInitSurface ******************/ + %feature("compactdefaultargs") LoadInitSurface; + %feature("autodoc", "* Loads the initial Surface The initial surface must have orthogonal local coordinates, i.e. partial derivatives dS/du and dS/dv must be orthogonal at each point of surface. If this condition breaks, distortions of resulting surface are possible. + :param aFace: + :type aFace: TopoDS_Face & + :rtype: None") LoadInitSurface; + void LoadInitSurface (const TopoDS_Face & aFace); + + /****************** SetApproxParam ******************/ + %feature("compactdefaultargs") SetApproxParam; + %feature("autodoc", "* Sets the parameters used for approximation of the surface + :param MaxDeg: default value is 8 + :type MaxDeg: int + :param MaxSegments: default value is 9 + :type MaxSegments: int + :rtype: None") SetApproxParam; + void SetApproxParam (const Standard_Integer MaxDeg = 8,const Standard_Integer MaxSegments = 9); + + /****************** SetConstrParam ******************/ + %feature("compactdefaultargs") SetConstrParam; + %feature("autodoc", "* Sets the values of Tolerances used to control the constraint. Tol2d: Tol3d: it is the maximum distance allowed between the support surface and the constraints TolAng: it is the maximum angle allowed between the normal of the surface and the constraints TolCurv: it is the maximum difference of curvature allowed between the surface and the constraint + :param Tol2d: default value is 0.00001 + :type Tol2d: float + :param Tol3d: default value is 0.0001 + :type Tol3d: float + :param TolAng: default value is 0.01 + :type TolAng: float + :param TolCurv: default value is 0.1 + :type TolCurv: float + :rtype: None") SetConstrParam; + void SetConstrParam (const Standard_Real Tol2d = 0.00001,const Standard_Real Tol3d = 0.0001,const Standard_Real TolAng = 0.01,const Standard_Real TolCurv = 0.1); + + /****************** SetResolParam ******************/ + %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: + :param Degree: default value is 3 + :type Degree: int + :param NbPtsOnCur: default value is 15 + :type NbPtsOnCur: int + :param NbIter: default value is 2 + :type NbIter: int + :param Anisotropie: default value is Standard_False + :type Anisotropie: bool + :rtype: None") SetResolParam; + void SetResolParam (const Standard_Integer Degree = 3,const Standard_Integer NbPtsOnCur = 15,const Standard_Integer NbIter = 2,const Standard_Boolean Anisotropie = Standard_False); + }; @@ -1901,495 +1128,176 @@ class BRepFill_Filling { __repr__ = _dumps_object } }; + +/*************************** +* class BRepFill_Generator * +***************************/ %nodefaultctor BRepFill_Generator; class BRepFill_Generator { public: - %feature("compactdefaultargs") BRepFill_Generator; - %feature("autodoc", " :rtype: None -") BRepFill_Generator; - BRepFill_Generator (); + /****************** AddWire ******************/ %feature("compactdefaultargs") AddWire; - %feature("autodoc", " :param Wire: + %feature("autodoc", ":param Wire: :type Wire: TopoDS_Wire & - :rtype: None -") AddWire; + :rtype: None") AddWire; void AddWire (const TopoDS_Wire & Wire); - %feature("compactdefaultargs") Perform; - %feature("autodoc", " * Compute the shell. - :rtype: None -") Perform; - void Perform (); - %feature("compactdefaultargs") Shell; - %feature("autodoc", " :rtype: TopoDS_Shell -") Shell; - const TopoDS_Shell Shell (); - %feature("compactdefaultargs") Generated; - %feature("autodoc", " * Returns all the shapes created + /****************** BRepFill_Generator ******************/ + %feature("compactdefaultargs") BRepFill_Generator; + %feature("autodoc", ":rtype: None") BRepFill_Generator; + BRepFill_Generator (); - :rtype: TopTools_DataMapOfShapeListOfShape -") Generated; + /****************** Generated ******************/ + %feature("compactdefaultargs") Generated; + %feature("autodoc", "* Returns all the shapes created + :rtype: TopTools_DataMapOfShapeListOfShape") Generated; const TopTools_DataMapOfShapeListOfShape & Generated (); - %feature("compactdefaultargs") GeneratedShapes; - %feature("autodoc", " * Returns the shapes created from a subshape of a section. + /****************** GeneratedShapes ******************/ + %feature("compactdefaultargs") GeneratedShapes; + %feature("autodoc", "* Returns the shapes created from a subshape of a section. :param SSection: :type SSection: TopoDS_Shape & - :rtype: TopTools_ListOfShape -") GeneratedShapes; + :rtype: TopTools_ListOfShape") GeneratedShapes; const TopTools_ListOfShape & GeneratedShapes (const TopoDS_Shape & SSection); -}; - - -%extend BRepFill_Generator { - %pythoncode { - __repr__ = _dumps_object - } -}; -%nodefaultctor BRepFill_IndexedDataMapNodeOfIndexedDataMapOfOrientedShapeListOfShape; -class BRepFill_IndexedDataMapNodeOfIndexedDataMapOfOrientedShapeListOfShape : public TCollection_MapNode { - public: - %feature("compactdefaultargs") BRepFill_IndexedDataMapNodeOfIndexedDataMapOfOrientedShapeListOfShape; - %feature("autodoc", " :param K1: - :type K1: TopoDS_Shape & - :param K2: - :type K2: int - :param I: - :type I: TopTools_ListOfShape & - :param n1: - :type n1: TCollection_MapNodePtr & - :param n2: - :type n2: TCollection_MapNodePtr & - :rtype: None -") BRepFill_IndexedDataMapNodeOfIndexedDataMapOfOrientedShapeListOfShape; - BRepFill_IndexedDataMapNodeOfIndexedDataMapOfOrientedShapeListOfShape (const TopoDS_Shape & K1,const Standard_Integer K2,const TopTools_ListOfShape & I,const TCollection_MapNodePtr & n1,const TCollection_MapNodePtr & n2); - %feature("compactdefaultargs") Key1; - %feature("autodoc", " :rtype: TopoDS_Shape -") Key1; - TopoDS_Shape Key1 (); - - %feature("autodoc","1"); - %extend { - Standard_Integer GetKey2() { - return (Standard_Integer) $self->Key2(); - } - }; - %feature("autodoc","1"); - %extend { - void SetKey2(Standard_Integer value ) { - $self->Key2()=value; - } - }; - %feature("compactdefaultargs") Next2; - %feature("autodoc", " :rtype: TCollection_MapNodePtr -") Next2; - TCollection_MapNodePtr & Next2 (); - %feature("compactdefaultargs") Value; - %feature("autodoc", " :rtype: TopTools_ListOfShape -") Value; - TopTools_ListOfShape & Value (); -}; + /****************** Perform ******************/ + %feature("compactdefaultargs") Perform; + %feature("autodoc", "* Compute the shell. + :rtype: None") Perform; + void Perform (); -%make_alias(BRepFill_IndexedDataMapNodeOfIndexedDataMapOfOrientedShapeListOfShape) + /****************** Shell ******************/ + %feature("compactdefaultargs") Shell; + %feature("autodoc", ":rtype: TopoDS_Shell") Shell; + const TopoDS_Shell Shell (); -%extend BRepFill_IndexedDataMapNodeOfIndexedDataMapOfOrientedShapeListOfShape { - %pythoncode { - __repr__ = _dumps_object - } -}; -%nodefaultctor BRepFill_IndexedDataMapOfOrientedShapeListOfShape; -class BRepFill_IndexedDataMapOfOrientedShapeListOfShape : public TCollection_BasicMap { - public: - %feature("compactdefaultargs") BRepFill_IndexedDataMapOfOrientedShapeListOfShape; - %feature("autodoc", " :param NbBuckets: default value is 1 - :type NbBuckets: int - :rtype: None -") BRepFill_IndexedDataMapOfOrientedShapeListOfShape; - BRepFill_IndexedDataMapOfOrientedShapeListOfShape (const Standard_Integer NbBuckets = 1); - %feature("compactdefaultargs") Assign; - %feature("autodoc", " :param Other: - :type Other: BRepFill_IndexedDataMapOfOrientedShapeListOfShape & - :rtype: BRepFill_IndexedDataMapOfOrientedShapeListOfShape -") Assign; - BRepFill_IndexedDataMapOfOrientedShapeListOfShape & Assign (const BRepFill_IndexedDataMapOfOrientedShapeListOfShape & Other); - %feature("compactdefaultargs") operator =; - %feature("autodoc", " :param Other: - :type Other: BRepFill_IndexedDataMapOfOrientedShapeListOfShape & - :rtype: BRepFill_IndexedDataMapOfOrientedShapeListOfShape -") operator =; - BRepFill_IndexedDataMapOfOrientedShapeListOfShape & operator = (const BRepFill_IndexedDataMapOfOrientedShapeListOfShape & Other); - %feature("compactdefaultargs") ReSize; - %feature("autodoc", " :param NbBuckets: - :type NbBuckets: int - :rtype: None -") ReSize; - void ReSize (const Standard_Integer NbBuckets); - %feature("compactdefaultargs") Clear; - %feature("autodoc", " :rtype: None -") Clear; - void Clear (); - %feature("compactdefaultargs") Add; - %feature("autodoc", " :param K: - :type K: TopoDS_Shape & - :param I: - :type I: TopTools_ListOfShape & - :rtype: int -") Add; - Standard_Integer Add (const TopoDS_Shape & K,const TopTools_ListOfShape & I); - %feature("compactdefaultargs") Substitute; - %feature("autodoc", " :param I: - :type I: int - :param K: - :type K: TopoDS_Shape & - :param T: - :type T: TopTools_ListOfShape & - :rtype: None -") Substitute; - void Substitute (const Standard_Integer I,const TopoDS_Shape & K,const TopTools_ListOfShape & T); - %feature("compactdefaultargs") RemoveLast; - %feature("autodoc", " :rtype: None -") RemoveLast; - void RemoveLast (); - %feature("compactdefaultargs") Contains; - %feature("autodoc", " :param K: - :type K: TopoDS_Shape & - :rtype: bool -") Contains; - Standard_Boolean Contains (const TopoDS_Shape & K); - %feature("compactdefaultargs") FindKey; - %feature("autodoc", " :param I: - :type I: int - :rtype: TopoDS_Shape -") FindKey; - const TopoDS_Shape FindKey (const Standard_Integer I); - %feature("compactdefaultargs") FindFromIndex; - %feature("autodoc", " :param I: - :type I: int - :rtype: TopTools_ListOfShape -") FindFromIndex; - const TopTools_ListOfShape & FindFromIndex (const Standard_Integer I); - %feature("compactdefaultargs") ChangeFromIndex; - %feature("autodoc", " :param I: - :type I: int - :rtype: TopTools_ListOfShape -") ChangeFromIndex; - TopTools_ListOfShape & ChangeFromIndex (const Standard_Integer I); - %feature("compactdefaultargs") FindIndex; - %feature("autodoc", " :param K: - :type K: TopoDS_Shape & - :rtype: int -") FindIndex; - Standard_Integer FindIndex (const TopoDS_Shape & K); - %feature("compactdefaultargs") FindFromKey; - %feature("autodoc", " :param K: - :type K: TopoDS_Shape & - :rtype: TopTools_ListOfShape -") FindFromKey; - const TopTools_ListOfShape & FindFromKey (const TopoDS_Shape & K); - %feature("compactdefaultargs") ChangeFromKey; - %feature("autodoc", " :param K: - :type K: TopoDS_Shape & - :rtype: TopTools_ListOfShape -") ChangeFromKey; - TopTools_ListOfShape & ChangeFromKey (const TopoDS_Shape & K); - %feature("compactdefaultargs") FindFromKey1; - %feature("autodoc", " :param K: - :type K: TopoDS_Shape & - :rtype: Standard_Address -") FindFromKey1; - Standard_Address FindFromKey1 (const TopoDS_Shape & K); - %feature("compactdefaultargs") ChangeFromKey1; - %feature("autodoc", " :param K: - :type K: TopoDS_Shape & - :rtype: Standard_Address -") ChangeFromKey1; - Standard_Address ChangeFromKey1 (const TopoDS_Shape & K); }; -%extend BRepFill_IndexedDataMapOfOrientedShapeListOfShape { +%extend BRepFill_Generator { %pythoncode { __repr__ = _dumps_object } }; -%nodefaultctor BRepFill_ListIteratorOfListOfOffsetWire; -class BRepFill_ListIteratorOfListOfOffsetWire { - public: - %feature("compactdefaultargs") BRepFill_ListIteratorOfListOfOffsetWire; - %feature("autodoc", " :rtype: None -") BRepFill_ListIteratorOfListOfOffsetWire; - BRepFill_ListIteratorOfListOfOffsetWire (); - %feature("compactdefaultargs") BRepFill_ListIteratorOfListOfOffsetWire; - %feature("autodoc", " :param L: - :type L: BRepFill_ListOfOffsetWire & - :rtype: None -") BRepFill_ListIteratorOfListOfOffsetWire; - BRepFill_ListIteratorOfListOfOffsetWire (const BRepFill_ListOfOffsetWire & L); - %feature("compactdefaultargs") Initialize; - %feature("autodoc", " :param L: - :type L: BRepFill_ListOfOffsetWire & - :rtype: None -") Initialize; - void Initialize (const BRepFill_ListOfOffsetWire & L); - %feature("compactdefaultargs") More; - %feature("autodoc", " :rtype: bool -") More; - Standard_Boolean More (); - %feature("compactdefaultargs") Next; - %feature("autodoc", " :rtype: None -") Next; - void Next (); - %feature("compactdefaultargs") Value; - %feature("autodoc", " :rtype: BRepFill_OffsetWire -") Value; - BRepFill_OffsetWire & Value (); -}; - -%extend BRepFill_ListIteratorOfListOfOffsetWire { - %pythoncode { - __repr__ = _dumps_object - } -}; -%nodefaultctor BRepFill_ListNodeOfListOfOffsetWire; -class BRepFill_ListNodeOfListOfOffsetWire : public TCollection_MapNode { +/***************************** +* class BRepFill_LocationLaw * +*****************************/ +%nodefaultctor BRepFill_LocationLaw; +class BRepFill_LocationLaw : public Standard_Transient { public: - %feature("compactdefaultargs") BRepFill_ListNodeOfListOfOffsetWire; - %feature("autodoc", " :param I: - :type I: BRepFill_OffsetWire & - :param n: - :type n: TCollection_MapNodePtr & - :rtype: None -") BRepFill_ListNodeOfListOfOffsetWire; - BRepFill_ListNodeOfListOfOffsetWire (const BRepFill_OffsetWire & I,const TCollection_MapNodePtr & n); - %feature("compactdefaultargs") Value; - %feature("autodoc", " :rtype: BRepFill_OffsetWire -") Value; - BRepFill_OffsetWire & Value (); -}; + /****************** Abscissa ******************/ + %feature("compactdefaultargs") Abscissa; + %feature("autodoc", "* Return the curvilinear abscissa corresponding to a point of the path, defined by of Edge and a parameter on the edge. + :param Index: + :type Index: int + :param Param: + :type Param: float + :rtype: float") Abscissa; + Standard_Real Abscissa (const Standard_Integer Index,const Standard_Real Param); + /****************** CurvilinearBounds ******************/ + %feature("compactdefaultargs") CurvilinearBounds; + %feature("autodoc", "* Return the Curvilinear Bounds of the Law + :param Index: + :type Index: int + :param First: + :type First: float & + :param Last: + :type Last: float & + :rtype: None") CurvilinearBounds; + void CurvilinearBounds (const Standard_Integer Index,Standard_Real &OutValue,Standard_Real &OutValue); -%make_alias(BRepFill_ListNodeOfListOfOffsetWire) + /****************** D0 ******************/ + %feature("compactdefaultargs") D0; + %feature("autodoc", "* Apply the Law to a shape, for a given Curnilinear abscissa + :param Abscissa: + :type Abscissa: float + :param Section: + :type Section: TopoDS_Shape & + :rtype: None") D0; + void D0 (const Standard_Real Abscissa,TopoDS_Shape & Section); -%extend BRepFill_ListNodeOfListOfOffsetWire { - %pythoncode { - __repr__ = _dumps_object - } -}; -%nodefaultctor BRepFill_ListOfOffsetWire; -class BRepFill_ListOfOffsetWire { - public: - %feature("compactdefaultargs") BRepFill_ListOfOffsetWire; - %feature("autodoc", " :rtype: None -") BRepFill_ListOfOffsetWire; - BRepFill_ListOfOffsetWire (); - %feature("compactdefaultargs") BRepFill_ListOfOffsetWire; - %feature("autodoc", " :param Other: - :type Other: BRepFill_ListOfOffsetWire & - :rtype: None -") BRepFill_ListOfOffsetWire; - BRepFill_ListOfOffsetWire (const BRepFill_ListOfOffsetWire & Other); - %feature("compactdefaultargs") Assign; - %feature("autodoc", " :param Other: - :type Other: BRepFill_ListOfOffsetWire & - :rtype: None -") Assign; - void Assign (const BRepFill_ListOfOffsetWire & Other); - %feature("compactdefaultargs") operator =; - %feature("autodoc", " :param Other: - :type Other: BRepFill_ListOfOffsetWire & - :rtype: None -") operator =; - void operator = (const BRepFill_ListOfOffsetWire & Other); - %feature("compactdefaultargs") Extent; - %feature("autodoc", " :rtype: int -") Extent; - Standard_Integer Extent (); - %feature("compactdefaultargs") Clear; - %feature("autodoc", " :rtype: None -") Clear; - void Clear (); - %feature("compactdefaultargs") IsEmpty; - %feature("autodoc", " :rtype: bool -") IsEmpty; - Standard_Boolean IsEmpty (); - %feature("compactdefaultargs") Prepend; - %feature("autodoc", " :param I: - :type I: BRepFill_OffsetWire & - :rtype: None -") Prepend; - void Prepend (const BRepFill_OffsetWire & I); - %feature("compactdefaultargs") Prepend; - %feature("autodoc", " :param I: - :type I: BRepFill_OffsetWire & - :param theIt: - :type theIt: BRepFill_ListIteratorOfListOfOffsetWire & - :rtype: None -") Prepend; - void Prepend (const BRepFill_OffsetWire & I,BRepFill_ListIteratorOfListOfOffsetWire & theIt); - %feature("compactdefaultargs") Prepend; - %feature("autodoc", " :param Other: - :type Other: BRepFill_ListOfOffsetWire & - :rtype: None -") Prepend; - void Prepend (BRepFill_ListOfOffsetWire & Other); - %feature("compactdefaultargs") Append; - %feature("autodoc", " :param I: - :type I: BRepFill_OffsetWire & - :rtype: None -") Append; - void Append (const BRepFill_OffsetWire & I); - %feature("compactdefaultargs") Append; - %feature("autodoc", " :param I: - :type I: BRepFill_OffsetWire & - :param theIt: - :type theIt: BRepFill_ListIteratorOfListOfOffsetWire & - :rtype: None -") Append; - void Append (const BRepFill_OffsetWire & I,BRepFill_ListIteratorOfListOfOffsetWire & theIt); - %feature("compactdefaultargs") Append; - %feature("autodoc", " :param Other: - :type Other: BRepFill_ListOfOffsetWire & - :rtype: None -") Append; - void Append (BRepFill_ListOfOffsetWire & Other); - %feature("compactdefaultargs") First; - %feature("autodoc", " :rtype: BRepFill_OffsetWire -") First; - BRepFill_OffsetWire & First (); - %feature("compactdefaultargs") Last; - %feature("autodoc", " :rtype: BRepFill_OffsetWire -") Last; - BRepFill_OffsetWire & Last (); - %feature("compactdefaultargs") RemoveFirst; - %feature("autodoc", " :rtype: None -") RemoveFirst; - void RemoveFirst (); - %feature("compactdefaultargs") Remove; - %feature("autodoc", " :param It: - :type It: BRepFill_ListIteratorOfListOfOffsetWire & - :rtype: None -") Remove; - void Remove (BRepFill_ListIteratorOfListOfOffsetWire & It); - %feature("compactdefaultargs") InsertBefore; - %feature("autodoc", " :param I: - :type I: BRepFill_OffsetWire & - :param It: - :type It: BRepFill_ListIteratorOfListOfOffsetWire & - :rtype: None -") InsertBefore; - void InsertBefore (const BRepFill_OffsetWire & I,BRepFill_ListIteratorOfListOfOffsetWire & It); - %feature("compactdefaultargs") InsertBefore; - %feature("autodoc", " :param Other: - :type Other: BRepFill_ListOfOffsetWire & - :param It: - :type It: BRepFill_ListIteratorOfListOfOffsetWire & - :rtype: None -") InsertBefore; - void InsertBefore (BRepFill_ListOfOffsetWire & Other,BRepFill_ListIteratorOfListOfOffsetWire & It); - %feature("compactdefaultargs") InsertAfter; - %feature("autodoc", " :param I: - :type I: BRepFill_OffsetWire & - :param It: - :type It: BRepFill_ListIteratorOfListOfOffsetWire & - :rtype: None -") InsertAfter; - void InsertAfter (const BRepFill_OffsetWire & I,BRepFill_ListIteratorOfListOfOffsetWire & It); - %feature("compactdefaultargs") InsertAfter; - %feature("autodoc", " :param Other: - :type Other: BRepFill_ListOfOffsetWire & - :param It: - :type It: BRepFill_ListIteratorOfListOfOffsetWire & - :rtype: None -") InsertAfter; - void InsertAfter (BRepFill_ListOfOffsetWire & Other,BRepFill_ListIteratorOfListOfOffsetWire & It); -}; + /****************** DeleteTransform ******************/ + %feature("compactdefaultargs") DeleteTransform; + %feature("autodoc", ":rtype: None") DeleteTransform; + void DeleteTransform (); + /****************** Edge ******************/ + %feature("compactdefaultargs") Edge; + %feature("autodoc", "* Return the Edge of rank in the path have to be in [1, NbLaw()] + :param Index: + :type Index: int + :rtype: TopoDS_Edge") Edge; + const TopoDS_Edge Edge (const Standard_Integer Index); -%extend BRepFill_ListOfOffsetWire { - %pythoncode { - __repr__ = _dumps_object - } -}; -%nodefaultctor BRepFill_LocationLaw; -class BRepFill_LocationLaw : public MMgt_TShared { - public: + /****************** GetStatus ******************/ %feature("compactdefaultargs") GetStatus; - %feature("autodoc", " * Return a error status, if the status is not PipeOk then it exist a parameter tlike the law is not valuable for t. - - :rtype: GeomFill_PipeError -") GetStatus; + %feature("autodoc", "* Return a error status, if the status is not PipeOk then it exist a parameter tlike the law is not valuable for t. + :rtype: GeomFill_PipeError") GetStatus; GeomFill_PipeError GetStatus (); - %feature("compactdefaultargs") TransformInG0Law; - %feature("autodoc", " * Apply a linear transformation on each law, to have continuity of the global law beetween the edges. - - :rtype: void -") TransformInG0Law; - virtual void TransformInG0Law (); - %feature("compactdefaultargs") TransformInCompatibleLaw; - %feature("autodoc", " * Apply a linear transformation on each law, to reduce the dicontinuities of law at one rotation. - :param AngularTolerance: - :type AngularTolerance: float - :rtype: void -") TransformInCompatibleLaw; - virtual void TransformInCompatibleLaw (const Standard_Real AngularTolerance); - %feature("compactdefaultargs") DeleteTransform; - %feature("autodoc", " :rtype: None -") DeleteTransform; - void DeleteTransform (); - %feature("compactdefaultargs") NbHoles; - %feature("autodoc", " :param Tol: default value is 1.0e-7 - :type Tol: float - :rtype: int -") NbHoles; - Standard_Integer NbHoles (const Standard_Real Tol = 1.0e-7); + /****************** Holes ******************/ %feature("compactdefaultargs") Holes; - %feature("autodoc", " :param Interval: + %feature("autodoc", ":param Interval: :type Interval: TColStd_Array1OfInteger & - :rtype: None -") Holes; + :rtype: None") Holes; void Holes (TColStd_Array1OfInteger & Interval); - %feature("compactdefaultargs") NbLaw; - %feature("autodoc", " * Return the number of elementary Law - :rtype: int -") NbLaw; - Standard_Integer NbLaw (); - %feature("compactdefaultargs") Law; - %feature("autodoc", " * Return the elementary Law of rank have to be in [1, NbLaw()] + /****************** IsClosed ******************/ + %feature("compactdefaultargs") IsClosed; + %feature("autodoc", ":rtype: bool") IsClosed; + Standard_Boolean IsClosed (); + /****************** IsG1 ******************/ + %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) :param Index: :type Index: int - :rtype: Handle_GeomFill_LocationLaw -") Law; - Handle_GeomFill_LocationLaw Law (const Standard_Integer Index); - %feature("compactdefaultargs") Wire; - %feature("autodoc", " * return the path - - :rtype: TopoDS_Wire -") Wire; - const TopoDS_Wire Wire (); - %feature("compactdefaultargs") Edge; - %feature("autodoc", " * Return the Edge of rank in the path have to be in [1, NbLaw()] + :param SpatialTolerance: default value is 1.0e-7 + :type SpatialTolerance: float + :param AngularTolerance: default value is 1.0e-4 + :type AngularTolerance: float + :rtype: int") IsG1; + Standard_Integer IsG1 (const Standard_Integer Index,const Standard_Real SpatialTolerance = 1.0e-7,const Standard_Real AngularTolerance = 1.0e-4); + /****************** Law ******************/ + %feature("compactdefaultargs") Law; + %feature("autodoc", "* Return the elementary Law of rank have to be in [1, NbLaw()] :param Index: :type Index: int - :rtype: TopoDS_Edge -") Edge; - const TopoDS_Edge Edge (const Standard_Integer Index); - %feature("compactdefaultargs") Vertex; - %feature("autodoc", " * Return the vertex of rank in the path have to be in [0, NbLaw()] + :rtype: opencascade::handle") Law; + const opencascade::handle & Law (const Standard_Integer Index); + + /****************** NbHoles ******************/ + %feature("compactdefaultargs") NbHoles; + %feature("autodoc", ":param Tol: default value is 1.0e-7 + :type Tol: float + :rtype: int") NbHoles; + Standard_Integer NbHoles (const Standard_Real Tol = 1.0e-7); + + /****************** NbLaw ******************/ + %feature("compactdefaultargs") NbLaw; + %feature("autodoc", "* Return the number of elementary Law + :rtype: int") NbLaw; + Standard_Integer NbLaw (); + /****************** Parameter ******************/ + %feature("compactdefaultargs") Parameter; + %feature("autodoc", "* Find the index Law and the parmaeter, for a given Curnilinear abscissa + :param Abscissa: + :type Abscissa: float :param Index: - :type Index: int - :rtype: TopoDS_Vertex -") Vertex; - TopoDS_Vertex Vertex (const Standard_Integer Index); - %feature("compactdefaultargs") PerformVertex; - %feature("autodoc", " * Compute like a transformation of the transformation is given by evaluation of the location law in the vertex of rank . is used to manage discontinuities : - -1 : The law before the vertex is used. - 1 : The law after the vertex is used. - 0 : Average of the both laws is used. + :type Index: int & + :param Param: + :type Param: float & + :rtype: None") Parameter; + void Parameter (const Standard_Real Abscissa,Standard_Integer &OutValue,Standard_Real &OutValue); + /****************** PerformVertex ******************/ + %feature("compactdefaultargs") PerformVertex; + %feature("autodoc", "* Compute like a transformation of the transformation is given by evaluation of the location law in the vertex of rank . is used to manage discontinuities : - -1 : The law before the vertex is used. - 1 : The law after the vertex is used. - 0 : Average of the both laws is used. :param Index: :type Index: int :param InputVertex: @@ -2400,69 +1308,37 @@ class BRepFill_LocationLaw : public MMgt_TShared { :type OutputVertex: TopoDS_Vertex & :param Location: default value is 0 :type Location: int - :rtype: None -") PerformVertex; + :rtype: None") PerformVertex; void PerformVertex (const Standard_Integer Index,const TopoDS_Vertex & InputVertex,const Standard_Real TolMin,TopoDS_Vertex & OutputVertex,const Standard_Integer Location = 0); - %feature("compactdefaultargs") CurvilinearBounds; - %feature("autodoc", " * Return the Curvilinear Bounds of the Law - - :param Index: - :type Index: int - :param First: - :type First: float & - :param Last: - :type Last: float & - :rtype: None -") CurvilinearBounds; - void CurvilinearBounds (const Standard_Integer Index,Standard_Real &OutValue,Standard_Real &OutValue); - %feature("compactdefaultargs") IsClosed; - %feature("autodoc", " :rtype: bool -") IsClosed; - Standard_Boolean IsClosed (); - %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) - :param Index: - :type Index: int - :param SpatialTolerance: default value is 1.0e-7 - :type SpatialTolerance: float - :param AngularTolerance: default value is 1.0e-4 + /****************** TransformInCompatibleLaw ******************/ + %feature("compactdefaultargs") TransformInCompatibleLaw; + %feature("autodoc", "* Apply a linear transformation on each law, to reduce the dicontinuities of law at one rotation. + :param AngularTolerance: :type AngularTolerance: float - :rtype: int -") IsG1; - Standard_Integer IsG1 (const Standard_Integer Index,const Standard_Real SpatialTolerance = 1.0e-7,const Standard_Real AngularTolerance = 1.0e-4); - %feature("compactdefaultargs") D0; - %feature("autodoc", " * Apply the Law to a shape, for a given Curnilinear abscissa - - :param Abscissa: - :type Abscissa: float - :param Section: - :type Section: TopoDS_Shape & - :rtype: None -") D0; - void D0 (const Standard_Real Abscissa,TopoDS_Shape & Section); - %feature("compactdefaultargs") Parameter; - %feature("autodoc", " * Find the index Law and the parmaeter, for a given Curnilinear abscissa + :rtype: void") TransformInCompatibleLaw; + virtual void TransformInCompatibleLaw (const Standard_Real AngularTolerance); - :param Abscissa: - :type Abscissa: float - :param Index: - :type Index: int & - :param Param: - :type Param: float & - :rtype: None -") Parameter; - void Parameter (const Standard_Real Abscissa,Standard_Integer &OutValue,Standard_Real &OutValue); - %feature("compactdefaultargs") Abscissa; - %feature("autodoc", " * Return the curvilinear abscissa corresponding to a point of the path, defined by of Edge and a parameter on the edge. + /****************** TransformInG0Law ******************/ + %feature("compactdefaultargs") TransformInG0Law; + %feature("autodoc", "* Apply a linear transformation on each law, to have continuity of the global law beetween the edges. + :rtype: void") TransformInG0Law; + virtual void TransformInG0Law (); + /****************** Vertex ******************/ + %feature("compactdefaultargs") Vertex; + %feature("autodoc", "* Return the vertex of rank in the path have to be in [0, NbLaw()] :param Index: :type Index: int - :param Param: - :type Param: float - :rtype: float -") Abscissa; - Standard_Real Abscissa (const Standard_Integer Index,const Standard_Real Param); + :rtype: TopoDS_Vertex") Vertex; + TopoDS_Vertex Vertex (const Standard_Integer Index); + + /****************** Wire ******************/ + %feature("compactdefaultargs") Wire; + %feature("autodoc", "* return the path + :rtype: TopoDS_Wire") Wire; + const TopoDS_Wire Wire (); + }; @@ -2473,15 +1349,21 @@ class BRepFill_LocationLaw : public MMgt_TShared { __repr__ = _dumps_object } }; + +/*************************** +* class BRepFill_MultiLine * +***************************/ %nodefaultctor BRepFill_MultiLine; class BRepFill_MultiLine : public AppCont_Function { public: + /****************** BRepFill_MultiLine ******************/ %feature("compactdefaultargs") BRepFill_MultiLine; - %feature("autodoc", " :rtype: None -") BRepFill_MultiLine; + %feature("autodoc", ":rtype: None") BRepFill_MultiLine; BRepFill_MultiLine (); + + /****************** BRepFill_MultiLine ******************/ %feature("compactdefaultargs") BRepFill_MultiLine; - %feature("autodoc", " :param Face1: + %feature("autodoc", ":param Face1: :type Face1: TopoDS_Face & :param Face2: :type Face2: TopoDS_Face & @@ -2494,72 +1376,81 @@ class BRepFill_MultiLine : public AppCont_Function { :param Inv2: :type Inv2: bool :param Bissec: - :type Bissec: Handle_Geom2d_Curve & - :rtype: None -") BRepFill_MultiLine; - BRepFill_MultiLine (const TopoDS_Face & Face1,const TopoDS_Face & Face2,const TopoDS_Edge & Edge1,const TopoDS_Edge & Edge2,const Standard_Boolean Inv1,const Standard_Boolean Inv2,const Handle_Geom2d_Curve & Bissec); - %feature("compactdefaultargs") IsParticularCase; - %feature("autodoc", " * Search if the Projection of the Bissectrice on the faces needs an approximation or not. Returns true if the approximation is not needed. + :type Bissec: opencascade::handle & + :rtype: None") BRepFill_MultiLine; + BRepFill_MultiLine (const TopoDS_Face & Face1,const TopoDS_Face & Face2,const TopoDS_Edge & Edge1,const TopoDS_Edge & Edge2,const Standard_Boolean Inv1,const Standard_Boolean Inv2,const opencascade::handle & Bissec); - :rtype: bool -") IsParticularCase; - Standard_Boolean IsParticularCase (); + /****************** Continuity ******************/ %feature("compactdefaultargs") Continuity; - %feature("autodoc", " * Returns the continuity betwwen the two faces seShape from GeomAbsparated by myBis. - - :rtype: GeomAbs_Shape -") Continuity; + %feature("autodoc", "* Returns the continuity betwwen the two faces seShape from GeomAbsparated by myBis. + :rtype: GeomAbs_Shape") Continuity; GeomAbs_Shape Continuity (); - %feature("compactdefaultargs") Curves; - %feature("autodoc", " * raises if IsParticularCase is . + /****************** Curves ******************/ + %feature("compactdefaultargs") Curves; + %feature("autodoc", "* raises if IsParticularCase is . :param Curve: - :type Curve: Handle_Geom_Curve & + :type Curve: opencascade::handle & :param PCurve1: - :type PCurve1: Handle_Geom2d_Curve & + :type PCurve1: opencascade::handle & :param PCurve2: - :type PCurve2: Handle_Geom2d_Curve & - :rtype: None -") Curves; - void Curves (Handle_Geom_Curve & Curve,Handle_Geom2d_Curve & PCurve1,Handle_Geom2d_Curve & PCurve2); - %feature("compactdefaultargs") FirstParameter; - %feature("autodoc", " * returns the first parameter of the Bissectrice. + :type PCurve2: opencascade::handle & + :rtype: None") Curves; + void Curves (opencascade::handle & Curve,opencascade::handle & PCurve1,opencascade::handle & PCurve2); + + /****************** D1 ******************/ + %feature("compactdefaultargs") D1; + %feature("autodoc", "* Returns the derivative at parameter . + :param theU: + :type theU: float + :param theVec2d: + :type theVec2d: NCollection_Array1 + :param theVec: + :type theVec: NCollection_Array1 + :rtype: bool") D1; + virtual Standard_Boolean D1 (const Standard_Real theU,NCollection_Array1 & theVec2d,NCollection_Array1 & theVec); - :rtype: float -") FirstParameter; + /****************** FirstParameter ******************/ + %feature("compactdefaultargs") FirstParameter; + %feature("autodoc", "* returns the first parameter of the Bissectrice. + :rtype: float") FirstParameter; virtual Standard_Real FirstParameter (); - %feature("compactdefaultargs") LastParameter; - %feature("autodoc", " * returns the last parameter of the Bissectrice. - :rtype: float -") LastParameter; + /****************** IsParticularCase ******************/ + %feature("compactdefaultargs") IsParticularCase; + %feature("autodoc", "* Search if the Projection of the Bissectrice on the faces needs an approximation or not. Returns true if the approximation is not needed. + :rtype: bool") IsParticularCase; + Standard_Boolean IsParticularCase (); + + /****************** LastParameter ******************/ + %feature("compactdefaultargs") LastParameter; + %feature("autodoc", "* returns the last parameter of the Bissectrice. + :rtype: float") LastParameter; virtual Standard_Real LastParameter (); - %feature("compactdefaultargs") Value; - %feature("autodoc", " * Returns the current point on the 3d curve + /****************** Value ******************/ + %feature("compactdefaultargs") Value; + %feature("autodoc", "* Returns the current point on the 3d curve :param U: :type U: float - :rtype: gp_Pnt -") Value; + :rtype: gp_Pnt") Value; gp_Pnt Value (const Standard_Real U); - %feature("compactdefaultargs") ValueOnF1; - %feature("autodoc", " * returns the current point on the PCurve of the first face - :param U: - :type U: float - :rtype: gp_Pnt2d -") ValueOnF1; - gp_Pnt2d ValueOnF1 (const Standard_Real U); - %feature("compactdefaultargs") ValueOnF2; - %feature("autodoc", " * returns the current point on the PCurve of the first face + /****************** Value ******************/ + %feature("compactdefaultargs") Value; + %feature("autodoc", "* Returns the point at parameter . + :param theU: + :type theU: float + :param thePnt2d: + :type thePnt2d: NCollection_Array1 + :param thePnt: + :type thePnt: NCollection_Array1 + :rtype: bool") Value; + virtual Standard_Boolean Value (const Standard_Real theU,NCollection_Array1 & thePnt2d,NCollection_Array1 & thePnt); - :param U: - :type U: float - :rtype: gp_Pnt2d -") ValueOnF2; - gp_Pnt2d ValueOnF2 (const Standard_Real U); + /****************** Value3dOnF1OnF2 ******************/ %feature("compactdefaultargs") Value3dOnF1OnF2; - %feature("autodoc", " :param U: + %feature("autodoc", ":param U: :type U: float :param P3d: :type P3d: gp_Pnt @@ -2567,33 +1458,25 @@ class BRepFill_MultiLine : public AppCont_Function { :type PF1: gp_Pnt2d :param PF2: :type PF2: gp_Pnt2d - :rtype: None -") Value3dOnF1OnF2; + :rtype: None") Value3dOnF1OnF2; void Value3dOnF1OnF2 (const Standard_Real U,gp_Pnt & P3d,gp_Pnt2d & PF1,gp_Pnt2d & PF2); - %feature("compactdefaultargs") Value; - %feature("autodoc", " * Returns the point at parameter . - :param theU: - :type theU: float - :param thePnt2d: - :type thePnt2d: NCollection_Array1 - :param thePnt: - :type thePnt: NCollection_Array1 - :rtype: bool -") Value; - virtual Standard_Boolean Value (const Standard_Real theU,NCollection_Array1 & thePnt2d,NCollection_Array1 & thePnt); - %feature("compactdefaultargs") D1; - %feature("autodoc", " * Returns the derivative at parameter . + /****************** ValueOnF1 ******************/ + %feature("compactdefaultargs") ValueOnF1; + %feature("autodoc", "* returns the current point on the PCurve of the first face + :param U: + :type U: float + :rtype: gp_Pnt2d") ValueOnF1; + gp_Pnt2d ValueOnF1 (const Standard_Real U); + + /****************** ValueOnF2 ******************/ + %feature("compactdefaultargs") ValueOnF2; + %feature("autodoc", "* returns the current point on the PCurve of the first face + :param U: + :type U: float + :rtype: gp_Pnt2d") ValueOnF2; + gp_Pnt2d ValueOnF2 (const Standard_Real U); - :param theU: - :type theU: float - :param theVec2d: - :type theVec2d: NCollection_Array1 - :param theVec: - :type theVec: NCollection_Array1 - :rtype: bool -") D1; - virtual Standard_Boolean D1 (const Standard_Real theU,NCollection_Array1 & theVec2d,NCollection_Array1 & theVec); }; @@ -2602,43 +1485,52 @@ class BRepFill_MultiLine : public AppCont_Function { __repr__ = _dumps_object } }; + +/********************************* +* class BRepFill_OffsetAncestors * +*********************************/ %nodefaultctor BRepFill_OffsetAncestors; class BRepFill_OffsetAncestors { public: + /****************** Ancestor ******************/ + %feature("compactdefaultargs") Ancestor; + %feature("autodoc", "* may return a Null Shape if S1 is not a subShape of ; if Perform is not done. + :param S1: + :type S1: TopoDS_Edge & + :rtype: TopoDS_Shape") Ancestor; + const TopoDS_Shape Ancestor (const TopoDS_Edge & S1); + + /****************** BRepFill_OffsetAncestors ******************/ %feature("compactdefaultargs") BRepFill_OffsetAncestors; - %feature("autodoc", " :rtype: None -") BRepFill_OffsetAncestors; + %feature("autodoc", ":rtype: None") BRepFill_OffsetAncestors; BRepFill_OffsetAncestors (); + + /****************** BRepFill_OffsetAncestors ******************/ %feature("compactdefaultargs") BRepFill_OffsetAncestors; - %feature("autodoc", " :param Paral: + %feature("autodoc", ":param Paral: :type Paral: BRepFill_OffsetWire & - :rtype: None -") BRepFill_OffsetAncestors; + :rtype: None") BRepFill_OffsetAncestors; BRepFill_OffsetAncestors (BRepFill_OffsetWire & Paral); - %feature("compactdefaultargs") Perform; - %feature("autodoc", " :param Paral: - :type Paral: BRepFill_OffsetWire & - :rtype: None -") Perform; - void Perform (BRepFill_OffsetWire & Paral); - %feature("compactdefaultargs") IsDone; - %feature("autodoc", " :rtype: bool -") IsDone; - Standard_Boolean IsDone (); + + /****************** HasAncestor ******************/ %feature("compactdefaultargs") HasAncestor; - %feature("autodoc", " :param S1: + %feature("autodoc", ":param S1: :type S1: TopoDS_Edge & - :rtype: bool -") HasAncestor; + :rtype: bool") HasAncestor; Standard_Boolean HasAncestor (const TopoDS_Edge & S1); - %feature("compactdefaultargs") Ancestor; - %feature("autodoc", " * may return a Null Shape if S1 is not a subShape of ; if Perform is not done. - :param S1: - :type S1: TopoDS_Edge & - :rtype: TopoDS_Shape -") Ancestor; - const TopoDS_Shape Ancestor (const TopoDS_Edge & S1); + /****************** IsDone ******************/ + %feature("compactdefaultargs") IsDone; + %feature("autodoc", ":rtype: bool") IsDone; + Standard_Boolean IsDone (); + + /****************** Perform ******************/ + %feature("compactdefaultargs") Perform; + %feature("autodoc", ":param Paral: + :type Paral: BRepFill_OffsetWire & + :rtype: None") Perform; + void Perform (BRepFill_OffsetWire & Paral); + }; @@ -2647,48 +1539,72 @@ class BRepFill_OffsetAncestors { __repr__ = _dumps_object } }; + +/**************************** +* class BRepFill_OffsetWire * +****************************/ %nodefaultctor BRepFill_OffsetWire; class BRepFill_OffsetWire { public: + /****************** BRepFill_OffsetWire ******************/ %feature("compactdefaultargs") BRepFill_OffsetWire; - %feature("autodoc", " :rtype: None -") BRepFill_OffsetWire; + %feature("autodoc", ":rtype: None") BRepFill_OffsetWire; BRepFill_OffsetWire (); + + /****************** BRepFill_OffsetWire ******************/ %feature("compactdefaultargs") BRepFill_OffsetWire; - %feature("autodoc", " :param Spine: + %feature("autodoc", ":param Spine: :type Spine: TopoDS_Face & :param Join: default value is GeomAbs_Arc :type Join: GeomAbs_JoinType :param IsOpenResult: default value is Standard_False :type IsOpenResult: bool - :rtype: None -") BRepFill_OffsetWire; + :rtype: None") BRepFill_OffsetWire; BRepFill_OffsetWire (const TopoDS_Face & Spine,const GeomAbs_JoinType Join = GeomAbs_Arc,const Standard_Boolean IsOpenResult = Standard_False); - %feature("compactdefaultargs") Init; - %feature("autodoc", " * Initialize the evaluation of Offseting. + /****************** GeneratedShapes ******************/ + %feature("compactdefaultargs") GeneratedShapes; + %feature("autodoc", "* Returns the shapes created from a subshape of the spine. Returns the last computed Offset. + :param SpineShape: + :type SpineShape: TopoDS_Shape & + :rtype: TopTools_ListOfShape") GeneratedShapes; + const TopTools_ListOfShape & GeneratedShapes (const TopoDS_Shape & SpineShape); + + /****************** Init ******************/ + %feature("compactdefaultargs") Init; + %feature("autodoc", "* Initialize the evaluation of Offseting. :param Spine: :type Spine: TopoDS_Face & :param Join: default value is GeomAbs_Arc :type Join: GeomAbs_JoinType :param IsOpenResult: default value is Standard_False :type IsOpenResult: bool - :rtype: None -") Init; + :rtype: None") Init; void Init (const TopoDS_Face & Spine,const GeomAbs_JoinType Join = GeomAbs_Arc,const Standard_Boolean IsOpenResult = Standard_False); - %feature("compactdefaultargs") Perform; - %feature("autodoc", " * Performs an OffsetWire at an altitude from the face ( According to the orientation of the face) + /****************** IsDone ******************/ + %feature("compactdefaultargs") IsDone; + %feature("autodoc", ":rtype: bool") IsDone; + Standard_Boolean IsDone (); + + /****************** JoinType ******************/ + %feature("compactdefaultargs") JoinType; + %feature("autodoc", ":rtype: GeomAbs_JoinType") JoinType; + GeomAbs_JoinType JoinType (); + + /****************** Perform ******************/ + %feature("compactdefaultargs") Perform; + %feature("autodoc", "* Performs an OffsetWire at an altitude from the face ( According to the orientation of the face) :param Offset: :type Offset: float :param Alt: default value is 0.0 :type Alt: float - :rtype: None -") Perform; + :rtype: None") Perform; void Perform (const Standard_Real Offset,const Standard_Real Alt = 0.0); - %feature("compactdefaultargs") PerformWithBiLo; - %feature("autodoc", " * Performs an OffsetWire + /****************** PerformWithBiLo ******************/ + %feature("compactdefaultargs") PerformWithBiLo; + %feature("autodoc", "* Performs an OffsetWire :param WSP: :type WSP: TopoDS_Face & :param Offset: @@ -2701,35 +1617,20 @@ class BRepFill_OffsetWire { :type Join: GeomAbs_JoinType :param Alt: default value is 0.0 :type Alt: float - :rtype: None -") PerformWithBiLo; + :rtype: None") PerformWithBiLo; void PerformWithBiLo (const TopoDS_Face & WSP,const Standard_Real Offset,const BRepMAT2d_BisectingLocus & Locus,BRepMAT2d_LinkTopoBilo & Link,const GeomAbs_JoinType Join = GeomAbs_Arc,const Standard_Real Alt = 0.0); - %feature("compactdefaultargs") IsDone; - %feature("autodoc", " :rtype: bool -") IsDone; - Standard_Boolean IsDone (); - %feature("compactdefaultargs") Spine; - %feature("autodoc", " :rtype: TopoDS_Face -") Spine; - const TopoDS_Face Spine (); - %feature("compactdefaultargs") Shape; - %feature("autodoc", " * returns the generated shape. - :rtype: TopoDS_Shape -") Shape; + /****************** Shape ******************/ + %feature("compactdefaultargs") Shape; + %feature("autodoc", "* returns the generated shape. + :rtype: TopoDS_Shape") Shape; const TopoDS_Shape Shape (); - %feature("compactdefaultargs") GeneratedShapes; - %feature("autodoc", " * Returns the shapes created from a subshape of the spine. Returns the last computed Offset. - :param SpineShape: - :type SpineShape: TopoDS_Shape & - :rtype: TopTools_ListOfShape -") GeneratedShapes; - const TopTools_ListOfShape & GeneratedShapes (const TopoDS_Shape & SpineShape); - %feature("compactdefaultargs") JoinType; - %feature("autodoc", " :rtype: GeomAbs_JoinType -") JoinType; - GeomAbs_JoinType JoinType (); + /****************** Spine ******************/ + %feature("compactdefaultargs") Spine; + %feature("autodoc", ":rtype: TopoDS_Face") Spine; + const TopoDS_Face Spine (); + }; @@ -2738,15 +1639,21 @@ class BRepFill_OffsetWire { __repr__ = _dumps_object } }; + +/********************** +* class BRepFill_Pipe * +**********************/ %nodefaultctor BRepFill_Pipe; class BRepFill_Pipe { public: + /****************** BRepFill_Pipe ******************/ %feature("compactdefaultargs") BRepFill_Pipe; - %feature("autodoc", " :rtype: None -") BRepFill_Pipe; + %feature("autodoc", ":rtype: None") BRepFill_Pipe; BRepFill_Pipe (); + + /****************** BRepFill_Pipe ******************/ %feature("compactdefaultargs") BRepFill_Pipe; - %feature("autodoc", " :param Spine: + %feature("autodoc", ":param Spine: :type Spine: TopoDS_Wire & :param Profile: :type Profile: TopoDS_Shape & @@ -2756,79 +1663,96 @@ class BRepFill_Pipe { :type ForceApproxC1: bool :param GeneratePartCase: default value is Standard_False :type GeneratePartCase: bool - :rtype: None -") BRepFill_Pipe; + :rtype: None") BRepFill_Pipe; BRepFill_Pipe (const TopoDS_Wire & Spine,const TopoDS_Shape & Profile,const GeomFill_Trihedron aMode = GeomFill_IsCorrectedFrenet,const Standard_Boolean ForceApproxC1 = Standard_False,const Standard_Boolean GeneratePartCase = Standard_False); + + /****************** Edge ******************/ + %feature("compactdefaultargs") Edge; + %feature("autodoc", "* Returns the edge created from an edge of the spine and a vertex of the profile. if the edge or the vertex are not in the spine or the profile. + :param ESpine: + :type ESpine: TopoDS_Edge & + :param VProfile: + :type VProfile: TopoDS_Vertex & + :rtype: TopoDS_Edge") Edge; + TopoDS_Edge Edge (const TopoDS_Edge & ESpine,const TopoDS_Vertex & VProfile); + + /****************** ErrorOnSurface ******************/ + %feature("compactdefaultargs") ErrorOnSurface; + %feature("autodoc", ":rtype: float") ErrorOnSurface; + Standard_Real ErrorOnSurface (); + + /****************** Face ******************/ + %feature("compactdefaultargs") Face; + %feature("autodoc", "* Returns the face created from an edge of the spine and an edge of the profile. if the edges are not in the spine or the profile + :param ESpine: + :type ESpine: TopoDS_Edge & + :param EProfile: + :type EProfile: TopoDS_Edge & + :rtype: TopoDS_Face") Face; + TopoDS_Face Face (const TopoDS_Edge & ESpine,const TopoDS_Edge & EProfile); + + /****************** FirstShape ******************/ + %feature("compactdefaultargs") FirstShape; + %feature("autodoc", ":rtype: TopoDS_Shape") FirstShape; + const TopoDS_Shape FirstShape (); + + /****************** Generated ******************/ + %feature("compactdefaultargs") Generated; + %feature("autodoc", "* Returns the list of shapes generated from the shape . + :param S: + :type S: TopoDS_Shape & + :param L: + :type L: TopTools_ListOfShape & + :rtype: None") Generated; + void Generated (const TopoDS_Shape & S,TopTools_ListOfShape & L); + + /****************** LastShape ******************/ + %feature("compactdefaultargs") LastShape; + %feature("autodoc", ":rtype: TopoDS_Shape") LastShape; + const TopoDS_Shape LastShape (); + + /****************** Perform ******************/ %feature("compactdefaultargs") Perform; - %feature("autodoc", " :param Spine: + %feature("autodoc", ":param Spine: :type Spine: TopoDS_Wire & :param Profile: :type Profile: TopoDS_Shape & :param GeneratePartCase: default value is Standard_False :type GeneratePartCase: bool - :rtype: None -") Perform; + :rtype: None") Perform; void Perform (const TopoDS_Wire & Spine,const TopoDS_Shape & Profile,const Standard_Boolean GeneratePartCase = Standard_False); - %feature("compactdefaultargs") Spine; - %feature("autodoc", " :rtype: TopoDS_Shape -") Spine; - const TopoDS_Shape Spine (); + + /****************** PipeLine ******************/ + %feature("compactdefaultargs") PipeLine; + %feature("autodoc", "* Create a Wire by sweeping the Point along the if the is undefined + :param Point: + :type Point: gp_Pnt + :rtype: TopoDS_Wire") PipeLine; + TopoDS_Wire PipeLine (const gp_Pnt & Point); + + /****************** Profile ******************/ %feature("compactdefaultargs") Profile; - %feature("autodoc", " :rtype: TopoDS_Shape -") Profile; + %feature("autodoc", ":rtype: TopoDS_Shape") Profile; const TopoDS_Shape Profile (); - %feature("compactdefaultargs") Shape; - %feature("autodoc", " :rtype: TopoDS_Shape -") Shape; - const TopoDS_Shape Shape (); - %feature("compactdefaultargs") ErrorOnSurface; - %feature("autodoc", " :rtype: float -") ErrorOnSurface; - Standard_Real ErrorOnSurface (); - %feature("compactdefaultargs") FirstShape; - %feature("autodoc", " :rtype: TopoDS_Shape -") FirstShape; - const TopoDS_Shape FirstShape (); - %feature("compactdefaultargs") LastShape; - %feature("autodoc", " :rtype: TopoDS_Shape -") LastShape; - const TopoDS_Shape LastShape (); - %feature("compactdefaultargs") Face; - %feature("autodoc", " * Returns the face created from an edge of the spine and an edge of the profile. if the edges are not in the spine or the profile - - :param ESpine: - :type ESpine: TopoDS_Edge & - :param EProfile: - :type EProfile: TopoDS_Edge & - :rtype: TopoDS_Face -") Face; - TopoDS_Face Face (const TopoDS_Edge & ESpine,const TopoDS_Edge & EProfile); - %feature("compactdefaultargs") Edge; - %feature("autodoc", " * Returns the edge created from an edge of the spine and a vertex of the profile. if the edge or the vertex are not in the spine or the profile. - :param ESpine: - :type ESpine: TopoDS_Edge & - :param VProfile: - :type VProfile: TopoDS_Vertex & - :rtype: TopoDS_Edge -") Edge; - TopoDS_Edge Edge (const TopoDS_Edge & ESpine,const TopoDS_Vertex & VProfile); + /****************** Section ******************/ %feature("compactdefaultargs") Section; - %feature("autodoc", " * Returns the shape created from the profile at the position of the vertex VSpine. if the vertex is not in the Spine - + %feature("autodoc", "* Returns the shape created from the profile at the position of the vertex VSpine. if the vertex is not in the Spine :param VSpine: :type VSpine: TopoDS_Vertex & - :rtype: TopoDS_Shape -") Section; + :rtype: TopoDS_Shape") Section; TopoDS_Shape Section (const TopoDS_Vertex & VSpine); - %feature("compactdefaultargs") PipeLine; - %feature("autodoc", " * Create a Wire by sweeping the Point along the if the is undefined - :param Point: - :type Point: gp_Pnt - :rtype: TopoDS_Wire -") PipeLine; - TopoDS_Wire PipeLine (const gp_Pnt & Point); + /****************** Shape ******************/ + %feature("compactdefaultargs") Shape; + %feature("autodoc", ":rtype: TopoDS_Shape") Shape; + const TopoDS_Shape Shape (); + + /****************** Spine ******************/ + %feature("compactdefaultargs") Spine; + %feature("autodoc", ":rtype: TopoDS_Shape") Spine; + const TopoDS_Shape Spine (); + }; @@ -2837,243 +1761,263 @@ class BRepFill_Pipe { __repr__ = _dumps_object } }; + +/*************************** +* class BRepFill_PipeShell * +***************************/ %nodefaultctor BRepFill_PipeShell; -class BRepFill_PipeShell : public MMgt_TShared { +class BRepFill_PipeShell : public Standard_Transient { public: - %feature("compactdefaultargs") BRepFill_PipeShell; - %feature("autodoc", " * Set an sweep's mode If no mode are setted, the mode use in MakePipe is used + /****************** Add ******************/ + %feature("compactdefaultargs") Add; + %feature("autodoc", "* Set an section. The corespondance with the spine, will be automaticaly performed. + :param Profile: + :type Profile: TopoDS_Shape & + :param WithContact: default value is Standard_False + :type WithContact: bool + :param WithCorrection: default value is Standard_False + :type WithCorrection: bool + :rtype: None") Add; + void Add (const TopoDS_Shape & Profile,const Standard_Boolean WithContact = Standard_False,const Standard_Boolean WithCorrection = Standard_False); + + /****************** Add ******************/ + %feature("compactdefaultargs") Add; + %feature("autodoc", "* Set an section. The corespondance with the spine, is given by + :param Profile: + :type Profile: TopoDS_Shape & + :param Location: + :type Location: TopoDS_Vertex & + :param WithContact: default value is Standard_False + :type WithContact: bool + :param WithCorrection: default value is Standard_False + :type WithCorrection: bool + :rtype: None") Add; + void Add (const TopoDS_Shape & Profile,const TopoDS_Vertex & Location,const Standard_Boolean WithContact = Standard_False,const Standard_Boolean WithCorrection = Standard_False); + /****************** BRepFill_PipeShell ******************/ + %feature("compactdefaultargs") BRepFill_PipeShell; + %feature("autodoc", "* Set an sweep's mode If no mode are setted, the mode use in MakePipe is used :param Spine: :type Spine: TopoDS_Wire & - :rtype: None -") BRepFill_PipeShell; + :rtype: None") BRepFill_PipeShell; BRepFill_PipeShell (const TopoDS_Wire & Spine); - %feature("compactdefaultargs") Set; - %feature("autodoc", " * Set an Frenet or an CorrectedFrenet trihedron to perform the sweeping + /****************** Build ******************/ + %feature("compactdefaultargs") Build; + %feature("autodoc", "* Builds the resulting shape (redefined from MakeShape). + :rtype: bool") Build; + Standard_Boolean Build (); + + /****************** DeleteProfile ******************/ + %feature("compactdefaultargs") DeleteProfile; + %feature("autodoc", "* Delete an section. + :param Profile: + :type Profile: TopoDS_Shape & + :rtype: None") DeleteProfile; + void DeleteProfile (const TopoDS_Shape & Profile); + + /****************** ErrorOnSurface ******************/ + %feature("compactdefaultargs") ErrorOnSurface; + %feature("autodoc", ":rtype: float") ErrorOnSurface; + Standard_Real ErrorOnSurface (); + + /****************** FirstShape ******************/ + %feature("compactdefaultargs") FirstShape; + %feature("autodoc", "* Returns the TopoDS Shape of the bottom of the sweep. + :rtype: TopoDS_Shape") FirstShape; + const TopoDS_Shape FirstShape (); + + /****************** Generated ******************/ + %feature("compactdefaultargs") Generated; + %feature("autodoc", "* Returns the list of shapes generated from the shape . + :param S: + :type S: TopoDS_Shape & + :param L: + :type L: TopTools_ListOfShape & + :rtype: None") Generated; + void Generated (const TopoDS_Shape & S,TopTools_ListOfShape & L); + + /****************** GetStatus ******************/ + %feature("compactdefaultargs") GetStatus; + %feature("autodoc", "* Get a status, when Simulate or Build failed. + :rtype: GeomFill_PipeError") GetStatus; + GeomFill_PipeError GetStatus (); + + /****************** IsReady ******************/ + %feature("compactdefaultargs") IsReady; + %feature("autodoc", "* Say if is ready to build the shape return False if do not have section definition + :rtype: bool") IsReady; + Standard_Boolean IsReady (); + + /****************** LastShape ******************/ + %feature("compactdefaultargs") LastShape; + %feature("autodoc", "* Returns the TopoDS Shape of the top of the sweep. + :rtype: TopoDS_Shape") LastShape; + const TopoDS_Shape LastShape (); + + /****************** MakeSolid ******************/ + %feature("compactdefaultargs") MakeSolid; + %feature("autodoc", "* Transform the sweeping Shell in Solid. If the section are not closed returns False + :rtype: bool") MakeSolid; + Standard_Boolean MakeSolid (); + + /****************** Profiles ******************/ + %feature("compactdefaultargs") Profiles; + %feature("autodoc", "* Returns the list of original profiles + :param theProfiles: + :type theProfiles: TopTools_ListOfShape & + :rtype: None") Profiles; + void Profiles (TopTools_ListOfShape & theProfiles); + + /****************** Set ******************/ + %feature("compactdefaultargs") Set; + %feature("autodoc", "* Set an Frenet or an CorrectedFrenet trihedron to perform the sweeping :param Frenet: default value is Standard_False :type Frenet: bool - :rtype: None -") Set; + :rtype: None") Set; void Set (const Standard_Boolean Frenet = Standard_False); - %feature("compactdefaultargs") SetDiscrete; - %feature("autodoc", " * Set a Discrete trihedron to perform the sweeping - :rtype: None -") SetDiscrete; - void SetDiscrete (); + /****************** Set ******************/ %feature("compactdefaultargs") Set; - %feature("autodoc", " * Set an fixed trihedron to perform the sweeping all sections will be parallel. - + %feature("autodoc", "* Set an fixed trihedron to perform the sweeping all sections will be parallel. :param Axe: :type Axe: gp_Ax2 - :rtype: None -") Set; + :rtype: None") Set; void Set (const gp_Ax2 & Axe); - %feature("compactdefaultargs") Set; - %feature("autodoc", " * Set an fixed BiNormal direction to perform the sweeping + /****************** Set ******************/ + %feature("compactdefaultargs") Set; + %feature("autodoc", "* Set an fixed BiNormal direction to perform the sweeping :param BiNormal: :type BiNormal: gp_Dir - :rtype: None -") Set; + :rtype: None") Set; void Set (const gp_Dir & BiNormal); - %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 + /****************** Set ******************/ + %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 :param SpineSupport: :type SpineSupport: TopoDS_Shape & - :rtype: bool -") Set; + :rtype: bool") Set; Standard_Boolean Set (const TopoDS_Shape & SpineSupport); - %feature("compactdefaultargs") Set; - %feature("autodoc", " * Set 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. + /****************** Set ******************/ + %feature("compactdefaultargs") Set; + %feature("autodoc", "* Set 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. :param AuxiliarySpine: :type AuxiliarySpine: TopoDS_Wire & :param CurvilinearEquivalence: default value is Standard_True :type CurvilinearEquivalence: bool :param KeepContact: default value is BRepFill_NoContact :type KeepContact: BRepFill_TypeOfContact - :rtype: None -") Set; + :rtype: None") Set; void Set (const TopoDS_Wire & AuxiliarySpine,const Standard_Boolean CurvilinearEquivalence = Standard_True,const BRepFill_TypeOfContact KeepContact = BRepFill_NoContact); - %feature("compactdefaultargs") SetMaxDegree; - %feature("autodoc", " * Define the maximum V degree of resulting surface - :param NewMaxDegree: - :type NewMaxDegree: int - :rtype: None -") SetMaxDegree; - void SetMaxDegree (const Standard_Integer NewMaxDegree); - %feature("compactdefaultargs") SetMaxSegments; - %feature("autodoc", " * Define the maximum number of spans in V-direction on resulting surface + /****************** SetDiscrete ******************/ + %feature("compactdefaultargs") SetDiscrete; + %feature("autodoc", "* Set a Discrete trihedron to perform the sweeping + :rtype: None") SetDiscrete; + void SetDiscrete (); - :param NewMaxSegments: - :type NewMaxSegments: int - :rtype: None -") SetMaxSegments; - void SetMaxSegments (const Standard_Integer NewMaxSegments); + /****************** SetForceApproxC1 ******************/ %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 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 :param ForceApproxC1: :type ForceApproxC1: bool - :rtype: None -") SetForceApproxC1; + :rtype: None") SetForceApproxC1; void SetForceApproxC1 (const Standard_Boolean ForceApproxC1); - %feature("compactdefaultargs") Add; - %feature("autodoc", " * Set an section. The corespondance with the spine, will be automaticaly performed. - - :param Profile: - :type Profile: TopoDS_Shape & - :param WithContact: default value is Standard_False - :type WithContact: bool - :param WithCorrection: default value is Standard_False - :type WithCorrection: bool - :rtype: None -") Add; - void Add (const TopoDS_Shape & Profile,const Standard_Boolean WithContact = Standard_False,const Standard_Boolean WithCorrection = Standard_False); - %feature("compactdefaultargs") Add; - %feature("autodoc", " * Set an section. The corespondance with the spine, is given by - :param Profile: - :type Profile: TopoDS_Shape & - :param Location: - :type Location: TopoDS_Vertex & - :param WithContact: default value is Standard_False - :type WithContact: bool - :param WithCorrection: default value is Standard_False - :type WithCorrection: bool - :rtype: None -") Add; - void Add (const TopoDS_Shape & Profile,const TopoDS_Vertex & Location,const Standard_Boolean WithContact = Standard_False,const Standard_Boolean WithCorrection = Standard_False); + /****************** SetLaw ******************/ %feature("compactdefaultargs") SetLaw; - %feature("autodoc", " * Set an section and an homotetic law. The homotetie's centers is given by point on the . - + %feature("autodoc", "* Set an section and an homotetic law. The homotetie's centers is given by point on the . :param Profile: :type Profile: TopoDS_Shape & :param L: - :type L: Handle_Law_Function & + :type L: opencascade::handle & :param WithContact: default value is Standard_False :type WithContact: bool :param WithCorrection: default value is Standard_False :type WithCorrection: bool - :rtype: None -") SetLaw; - void SetLaw (const TopoDS_Shape & Profile,const Handle_Law_Function & L,const Standard_Boolean WithContact = Standard_False,const Standard_Boolean WithCorrection = Standard_False); - %feature("compactdefaultargs") SetLaw; - %feature("autodoc", " * Set an section and an homotetic law. The homotetie center is given by point on the + :rtype: None") SetLaw; + void SetLaw (const TopoDS_Shape & Profile,const opencascade::handle & L,const Standard_Boolean WithContact = Standard_False,const Standard_Boolean WithCorrection = Standard_False); + /****************** SetLaw ******************/ + %feature("compactdefaultargs") SetLaw; + %feature("autodoc", "* Set an section and an homotetic law. The homotetie center is given by point on the :param Profile: :type Profile: TopoDS_Shape & :param L: - :type L: Handle_Law_Function & + :type L: opencascade::handle & :param Location: :type Location: TopoDS_Vertex & :param WithContact: default value is Standard_False :type WithContact: bool :param WithCorrection: default value is Standard_False :type WithCorrection: bool - :rtype: None -") SetLaw; - void SetLaw (const TopoDS_Shape & Profile,const Handle_Law_Function & L,const TopoDS_Vertex & Location,const Standard_Boolean WithContact = Standard_False,const Standard_Boolean WithCorrection = Standard_False); - %feature("compactdefaultargs") Delete; - %feature("autodoc", " * Delete an section. + :rtype: None") SetLaw; + void SetLaw (const TopoDS_Shape & Profile,const opencascade::handle & L,const TopoDS_Vertex & Location,const Standard_Boolean WithContact = Standard_False,const Standard_Boolean WithCorrection = Standard_False); - :param Profile: - :type Profile: TopoDS_Shape & - :rtype: None -") Delete; - void Delete (const TopoDS_Shape & Profile); - %feature("compactdefaultargs") IsReady; - %feature("autodoc", " * Say if is ready to build the shape return False if do not have section definition + /****************** SetMaxDegree ******************/ + %feature("compactdefaultargs") SetMaxDegree; + %feature("autodoc", "* Define the maximum V degree of resulting surface + :param NewMaxDegree: + :type NewMaxDegree: int + :rtype: None") SetMaxDegree; + void SetMaxDegree (const Standard_Integer NewMaxDegree); - :rtype: bool -") IsReady; - Standard_Boolean IsReady (); - %feature("compactdefaultargs") GetStatus; - %feature("autodoc", " * Get a status, when Simulate or Build failed. + /****************** SetMaxSegments ******************/ + %feature("compactdefaultargs") SetMaxSegments; + %feature("autodoc", "* Define the maximum number of spans in V-direction on resulting surface + :param NewMaxSegments: + :type NewMaxSegments: int + :rtype: None") SetMaxSegments; + void SetMaxSegments (const Standard_Integer NewMaxSegments); - :rtype: GeomFill_PipeError -") GetStatus; - GeomFill_PipeError GetStatus (); + /****************** SetTolerance ******************/ %feature("compactdefaultargs") SetTolerance; - %feature("autodoc", " :param Tol3d: default value is 1.0e-4 + %feature("autodoc", ":param Tol3d: default value is 1.0e-4 :type Tol3d: float :param BoundTol: default value is 1.0e-4 :type BoundTol: float :param TolAngular: default value is 1.0e-2 :type TolAngular: float - :rtype: None -") SetTolerance; + :rtype: None") SetTolerance; void SetTolerance (const Standard_Real Tol3d = 1.0e-4,const Standard_Real BoundTol = 1.0e-4,const Standard_Real TolAngular = 1.0e-2); - %feature("compactdefaultargs") SetTransition; - %feature("autodoc", " * Set the Transition Mode to manage discontinuities on the sweep. + /****************** SetTransition ******************/ + %feature("compactdefaultargs") SetTransition; + %feature("autodoc", "* Set the Transition Mode to manage discontinuities on the sweep. :param Mode: default value is BRepFill_Modified :type Mode: BRepFill_TransitionStyle :param Angmin: default value is 1.0e-2 :type Angmin: float :param Angmax: default value is 6.0 :type Angmax: float - :rtype: None -") SetTransition; + :rtype: None") SetTransition; void SetTransition (const BRepFill_TransitionStyle Mode = BRepFill_Modified,const Standard_Real Angmin = 1.0e-2,const Standard_Real Angmax = 6.0); - %feature("compactdefaultargs") Simulate; - %feature("autodoc", " * Perform simulation of the sweep : Somes Section are returned. + /****************** Shape ******************/ + %feature("compactdefaultargs") Shape; + %feature("autodoc", "* Returns the result Shape. + :rtype: TopoDS_Shape") Shape; + const TopoDS_Shape Shape (); + + /****************** Simulate ******************/ + %feature("compactdefaultargs") Simulate; + %feature("autodoc", "* Perform simulation of the sweep : Somes Section are returned. :param NumberOfSection: :type NumberOfSection: int :param Sections: :type Sections: TopTools_ListOfShape & - :rtype: None -") Simulate; + :rtype: None") Simulate; void Simulate (const Standard_Integer NumberOfSection,TopTools_ListOfShape & Sections); - %feature("compactdefaultargs") Build; - %feature("autodoc", " * Builds the resulting shape (redefined from MakeShape). - - :rtype: bool -") Build; - Standard_Boolean Build (); - %feature("compactdefaultargs") MakeSolid; - %feature("autodoc", " * Transform the sweeping Shell in Solid. If the section are not closed returns False - :rtype: bool -") MakeSolid; - Standard_Boolean MakeSolid (); - %feature("compactdefaultargs") Shape; - %feature("autodoc", " * Returns the result Shape. - - :rtype: TopoDS_Shape -") Shape; - const TopoDS_Shape Shape (); - %feature("compactdefaultargs") ErrorOnSurface; - %feature("autodoc", " :rtype: float -") ErrorOnSurface; - Standard_Real ErrorOnSurface (); - %feature("compactdefaultargs") FirstShape; - %feature("autodoc", " * Returns the TopoDS Shape of the bottom of the sweep. - - :rtype: TopoDS_Shape -") FirstShape; - const TopoDS_Shape FirstShape (); - %feature("compactdefaultargs") LastShape; - %feature("autodoc", " * Returns the TopoDS Shape of the top of the sweep. - - :rtype: TopoDS_Shape -") LastShape; - const TopoDS_Shape LastShape (); - %feature("compactdefaultargs") Generated; - %feature("autodoc", " * Returns the list of shapes generated from the shape . + /****************** Spine ******************/ + %feature("compactdefaultargs") Spine; + %feature("autodoc", "* Returns the spine + :rtype: TopoDS_Wire") Spine; + const TopoDS_Wire Spine (); - :param S: - :type S: TopoDS_Shape & - :param L: - :type L: TopTools_ListOfShape & - :rtype: None -") Generated; - void Generated (const TopoDS_Shape & S,TopTools_ListOfShape & L); }; @@ -3084,15 +2028,21 @@ class BRepFill_PipeShell : public MMgt_TShared { __repr__ = _dumps_object } }; + +/************************* +* class BRepFill_Section * +*************************/ %nodefaultctor BRepFill_Section; class BRepFill_Section { public: + /****************** BRepFill_Section ******************/ %feature("compactdefaultargs") BRepFill_Section; - %feature("autodoc", " :rtype: None -") BRepFill_Section; + %feature("autodoc", ":rtype: None") BRepFill_Section; BRepFill_Section (); + + /****************** BRepFill_Section ******************/ %feature("compactdefaultargs") BRepFill_Section; - %feature("autodoc", " :param Profile: + %feature("autodoc", ":param Profile: :type Profile: TopoDS_Shape & :param V: :type V: TopoDS_Vertex & @@ -3100,35 +2050,58 @@ class BRepFill_Section { :type WithContact: bool :param WithCorrection: :type WithCorrection: bool - :rtype: None -") BRepFill_Section; + :rtype: None") BRepFill_Section; BRepFill_Section (const TopoDS_Shape & Profile,const TopoDS_Vertex & V,const Standard_Boolean WithContact,const Standard_Boolean WithCorrection); + + /****************** IsLaw ******************/ + %feature("compactdefaultargs") IsLaw; + %feature("autodoc", ":rtype: bool") IsLaw; + Standard_Boolean IsLaw (); + + /****************** IsPunctual ******************/ + %feature("compactdefaultargs") IsPunctual; + %feature("autodoc", ":rtype: bool") IsPunctual; + Standard_Boolean IsPunctual (); + + /****************** ModifiedShape ******************/ + %feature("compactdefaultargs") ModifiedShape; + %feature("autodoc", ":param theShape: + :type theShape: TopoDS_Shape & + :rtype: TopoDS_Shape") ModifiedShape; + TopoDS_Shape ModifiedShape (const TopoDS_Shape & theShape); + + /****************** OriginalShape ******************/ + %feature("compactdefaultargs") OriginalShape; + %feature("autodoc", ":rtype: TopoDS_Shape") OriginalShape; + const TopoDS_Shape OriginalShape (); + + /****************** Set ******************/ %feature("compactdefaultargs") Set; - %feature("autodoc", " :param IsLaw: + %feature("autodoc", ":param IsLaw: :type IsLaw: bool - :rtype: None -") Set; + :rtype: None") Set; void Set (const Standard_Boolean IsLaw); - %feature("compactdefaultargs") Wire; - %feature("autodoc", " :rtype: TopoDS_Wire -") Wire; - const TopoDS_Wire Wire (); + + /****************** Vertex ******************/ %feature("compactdefaultargs") Vertex; - %feature("autodoc", " :rtype: TopoDS_Vertex -") Vertex; + %feature("autodoc", ":rtype: TopoDS_Vertex") Vertex; const TopoDS_Vertex Vertex (); - %feature("compactdefaultargs") IsLaw; - %feature("autodoc", " :rtype: bool -") IsLaw; - Standard_Boolean IsLaw (); + + /****************** Wire ******************/ + %feature("compactdefaultargs") Wire; + %feature("autodoc", ":rtype: TopoDS_Wire") Wire; + const TopoDS_Wire Wire (); + + /****************** WithContact ******************/ %feature("compactdefaultargs") WithContact; - %feature("autodoc", " :rtype: bool -") WithContact; + %feature("autodoc", ":rtype: bool") WithContact; Standard_Boolean WithContact (); + + /****************** WithCorrection ******************/ %feature("compactdefaultargs") WithCorrection; - %feature("autodoc", " :rtype: bool -") WithCorrection; + %feature("autodoc", ":rtype: bool") WithCorrection; Standard_Boolean WithCorrection (); + }; @@ -3137,83 +2110,111 @@ class BRepFill_Section { __repr__ = _dumps_object } }; + +/**************************** +* class BRepFill_SectionLaw * +****************************/ %nodefaultctor BRepFill_SectionLaw; -class BRepFill_SectionLaw : public MMgt_TShared { +class BRepFill_SectionLaw : public Standard_Transient { public: - %feature("compactdefaultargs") NbLaw; - %feature("autodoc", " :rtype: int -") NbLaw; - Standard_Integer NbLaw (); - %feature("compactdefaultargs") Law; - %feature("autodoc", " :param Index: + /****************** ConcatenedLaw ******************/ + %feature("compactdefaultargs") ConcatenedLaw; + %feature("autodoc", ":rtype: opencascade::handle") ConcatenedLaw; + virtual opencascade::handle ConcatenedLaw (); + + /****************** Continuity ******************/ + %feature("compactdefaultargs") Continuity; + %feature("autodoc", ":param Index: :type Index: int - :rtype: Handle_GeomFill_SectionLaw -") Law; - Handle_GeomFill_SectionLaw Law (const Standard_Integer Index); + :param TolAngular: + :type TolAngular: float + :rtype: GeomAbs_Shape") Continuity; + virtual GeomAbs_Shape Continuity (const Standard_Integer Index,const Standard_Real TolAngular); + + /****************** CurrentEdge ******************/ + %feature("compactdefaultargs") CurrentEdge; + %feature("autodoc", ":rtype: TopoDS_Edge") CurrentEdge; + TopoDS_Edge CurrentEdge (); + + /****************** D0 ******************/ + %feature("compactdefaultargs") D0; + %feature("autodoc", ":param U: + :type U: float + :param S: + :type S: TopoDS_Shape & + :rtype: void") D0; + virtual void D0 (const Standard_Real U,TopoDS_Shape & S); + + /****************** IndexOfEdge ******************/ + %feature("compactdefaultargs") IndexOfEdge; + %feature("autodoc", ":param anEdge: + :type anEdge: TopoDS_Shape & + :rtype: int") IndexOfEdge; + Standard_Integer IndexOfEdge (const TopoDS_Shape & anEdge); + + /****************** Init ******************/ + %feature("compactdefaultargs") Init; + %feature("autodoc", ":param W: + :type W: TopoDS_Wire & + :rtype: None") Init; + void Init (const TopoDS_Wire & W); + + /****************** IsConstant ******************/ %feature("compactdefaultargs") IsConstant; - %feature("autodoc", " :rtype: bool -") IsConstant; + %feature("autodoc", ":rtype: bool") IsConstant; virtual Standard_Boolean IsConstant (); + + /****************** IsDone ******************/ + %feature("compactdefaultargs") IsDone; + %feature("autodoc", ":rtype: bool") IsDone; + Standard_Boolean IsDone (); + + /****************** IsUClosed ******************/ %feature("compactdefaultargs") IsUClosed; - %feature("autodoc", " :rtype: bool -") IsUClosed; + %feature("autodoc", ":rtype: bool") IsUClosed; Standard_Boolean IsUClosed (); + + /****************** IsVClosed ******************/ %feature("compactdefaultargs") IsVClosed; - %feature("autodoc", " :rtype: bool -") IsVClosed; + %feature("autodoc", ":rtype: bool") IsVClosed; Standard_Boolean IsVClosed (); - %feature("compactdefaultargs") IsVertex; - %feature("autodoc", " * Say if the input sahpe is a vertex. - :rtype: bool -") IsVertex; + /****************** IsVertex ******************/ + %feature("compactdefaultargs") IsVertex; + %feature("autodoc", "* Say if the input shape is a vertex. + :rtype: bool") IsVertex; virtual Standard_Boolean IsVertex (); - %feature("compactdefaultargs") ConcatenedLaw; - %feature("autodoc", " :rtype: Handle_GeomFill_SectionLaw -") ConcatenedLaw; - virtual Handle_GeomFill_SectionLaw ConcatenedLaw (); - %feature("compactdefaultargs") Continuity; - %feature("autodoc", " :param Index: + + /****************** Law ******************/ + %feature("compactdefaultargs") Law; + %feature("autodoc", ":param Index: :type Index: int - :param TolAngular: - :type TolAngular: float - :rtype: GeomAbs_Shape -") Continuity; - virtual GeomAbs_Shape Continuity (const Standard_Integer Index,const Standard_Real TolAngular); - %feature("compactdefaultargs") VertexTol; - %feature("autodoc", " :param Index: + :rtype: opencascade::handle") Law; + const opencascade::handle & Law (const Standard_Integer Index); + + /****************** NbLaw ******************/ + %feature("compactdefaultargs") NbLaw; + %feature("autodoc", ":rtype: int") NbLaw; + Standard_Integer NbLaw (); + + /****************** Vertex ******************/ + %feature("compactdefaultargs") Vertex; + %feature("autodoc", ":param Index: :type Index: int :param Param: :type Param: float - :rtype: float -") VertexTol; - virtual Standard_Real VertexTol (const Standard_Integer Index,const Standard_Real Param); - %feature("compactdefaultargs") Vertex; - %feature("autodoc", " :param Index: + :rtype: TopoDS_Vertex") Vertex; + virtual TopoDS_Vertex Vertex (const Standard_Integer Index,const Standard_Real Param); + + /****************** VertexTol ******************/ + %feature("compactdefaultargs") VertexTol; + %feature("autodoc", ":param Index: :type Index: int :param Param: :type Param: float - :rtype: TopoDS_Vertex -") Vertex; - virtual TopoDS_Vertex Vertex (const Standard_Integer Index,const Standard_Real Param); - %feature("compactdefaultargs") D0; - %feature("autodoc", " :param U: - :type U: float - :param S: - :type S: TopoDS_Shape & - :rtype: void -") D0; - virtual void D0 (const Standard_Real U,TopoDS_Shape & S); - %feature("compactdefaultargs") Init; - %feature("autodoc", " :param W: - :type W: TopoDS_Wire & - :rtype: None -") Init; - void Init (const TopoDS_Wire & W); - %feature("compactdefaultargs") CurrentEdge; - %feature("autodoc", " :rtype: TopoDS_Edge -") CurrentEdge; - TopoDS_Edge CurrentEdge (); + :rtype: float") VertexTol; + virtual Standard_Real VertexTol (const Standard_Integer Index,const Standard_Real Param); + }; @@ -3224,621 +2225,82 @@ class BRepFill_SectionLaw : public MMgt_TShared { __repr__ = _dumps_object } }; + +/********************************** +* class BRepFill_SectionPlacement * +**********************************/ %nodefaultctor BRepFill_SectionPlacement; class BRepFill_SectionPlacement { public: - %feature("compactdefaultargs") BRepFill_SectionPlacement; - %feature("autodoc", " * Automatic placement + /****************** AbscissaOnPath ******************/ + %feature("compactdefaultargs") AbscissaOnPath; + %feature("autodoc", ":rtype: float") AbscissaOnPath; + Standard_Real AbscissaOnPath (); - :param Law: - :type Law: Handle_BRepFill_LocationLaw & - :param Section: - :type Section: TopoDS_Shape & - :param WithContact: default value is Standard_False - :type WithContact: bool - :param WithCorrection: default value is Standard_False - :type WithCorrection: bool - :rtype: None -") BRepFill_SectionPlacement; - BRepFill_SectionPlacement (const Handle_BRepFill_LocationLaw & Law,const TopoDS_Shape & Section,const Standard_Boolean WithContact = Standard_False,const Standard_Boolean WithCorrection = Standard_False); + /****************** BRepFill_SectionPlacement ******************/ %feature("compactdefaultargs") BRepFill_SectionPlacement; - %feature("autodoc", " * Placement on vertex - + %feature("autodoc", "* Automatic placement :param Law: - :type Law: Handle_BRepFill_LocationLaw & + :type Law: opencascade::handle & :param Section: :type Section: TopoDS_Shape & - :param Vertex: - :type Vertex: TopoDS_Shape & :param WithContact: default value is Standard_False :type WithContact: bool :param WithCorrection: default value is Standard_False :type WithCorrection: bool - :rtype: None -") BRepFill_SectionPlacement; - BRepFill_SectionPlacement (const Handle_BRepFill_LocationLaw & Law,const TopoDS_Shape & Section,const TopoDS_Shape & Vertex,const Standard_Boolean WithContact = Standard_False,const Standard_Boolean WithCorrection = Standard_False); - %feature("compactdefaultargs") Transformation; - %feature("autodoc", " :rtype: gp_Trsf -") Transformation; - const gp_Trsf Transformation (); - %feature("compactdefaultargs") AbscissaOnPath; - %feature("autodoc", " :rtype: float -") AbscissaOnPath; - Standard_Real AbscissaOnPath (); -}; - - -%extend BRepFill_SectionPlacement { - %pythoncode { - __repr__ = _dumps_object - } -}; -%nodefaultctor BRepFill_SequenceNodeOfSequenceOfEdgeFaceAndOrder; -class BRepFill_SequenceNodeOfSequenceOfEdgeFaceAndOrder : public TCollection_SeqNode { - public: - %feature("compactdefaultargs") BRepFill_SequenceNodeOfSequenceOfEdgeFaceAndOrder; - %feature("autodoc", " :param I: - :type I: BRepFill_EdgeFaceAndOrder & - :param n: - :type n: TCollection_SeqNodePtr & - :param p: - :type p: TCollection_SeqNodePtr & - :rtype: None -") BRepFill_SequenceNodeOfSequenceOfEdgeFaceAndOrder; - BRepFill_SequenceNodeOfSequenceOfEdgeFaceAndOrder (const BRepFill_EdgeFaceAndOrder & I,const TCollection_SeqNodePtr & n,const TCollection_SeqNodePtr & p); - %feature("compactdefaultargs") Value; - %feature("autodoc", " :rtype: BRepFill_EdgeFaceAndOrder -") Value; - BRepFill_EdgeFaceAndOrder & Value (); -}; - - -%make_alias(BRepFill_SequenceNodeOfSequenceOfEdgeFaceAndOrder) - -%extend BRepFill_SequenceNodeOfSequenceOfEdgeFaceAndOrder { - %pythoncode { - __repr__ = _dumps_object - } -}; -%nodefaultctor BRepFill_SequenceNodeOfSequenceOfFaceAndOrder; -class BRepFill_SequenceNodeOfSequenceOfFaceAndOrder : public TCollection_SeqNode { - public: - %feature("compactdefaultargs") BRepFill_SequenceNodeOfSequenceOfFaceAndOrder; - %feature("autodoc", " :param I: - :type I: BRepFill_FaceAndOrder & - :param n: - :type n: TCollection_SeqNodePtr & - :param p: - :type p: TCollection_SeqNodePtr & - :rtype: None -") BRepFill_SequenceNodeOfSequenceOfFaceAndOrder; - BRepFill_SequenceNodeOfSequenceOfFaceAndOrder (const BRepFill_FaceAndOrder & I,const TCollection_SeqNodePtr & n,const TCollection_SeqNodePtr & p); - %feature("compactdefaultargs") Value; - %feature("autodoc", " :rtype: BRepFill_FaceAndOrder -") Value; - BRepFill_FaceAndOrder & Value (); -}; - - -%make_alias(BRepFill_SequenceNodeOfSequenceOfFaceAndOrder) - -%extend BRepFill_SequenceNodeOfSequenceOfFaceAndOrder { - %pythoncode { - __repr__ = _dumps_object - } -}; -%nodefaultctor BRepFill_SequenceNodeOfSequenceOfSection; -class BRepFill_SequenceNodeOfSequenceOfSection : public TCollection_SeqNode { - public: - %feature("compactdefaultargs") BRepFill_SequenceNodeOfSequenceOfSection; - %feature("autodoc", " :param I: - :type I: BRepFill_Section & - :param n: - :type n: TCollection_SeqNodePtr & - :param p: - :type p: TCollection_SeqNodePtr & - :rtype: None -") BRepFill_SequenceNodeOfSequenceOfSection; - BRepFill_SequenceNodeOfSequenceOfSection (const BRepFill_Section & I,const TCollection_SeqNodePtr & n,const TCollection_SeqNodePtr & p); - %feature("compactdefaultargs") Value; - %feature("autodoc", " :rtype: BRepFill_Section -") Value; - BRepFill_Section & Value (); -}; - - -%make_alias(BRepFill_SequenceNodeOfSequenceOfSection) - -%extend BRepFill_SequenceNodeOfSequenceOfSection { - %pythoncode { - __repr__ = _dumps_object - } -}; -%nodefaultctor BRepFill_SequenceOfEdgeFaceAndOrder; -class BRepFill_SequenceOfEdgeFaceAndOrder : public TCollection_BaseSequence { - public: - %feature("compactdefaultargs") BRepFill_SequenceOfEdgeFaceAndOrder; - %feature("autodoc", " :rtype: None -") BRepFill_SequenceOfEdgeFaceAndOrder; - BRepFill_SequenceOfEdgeFaceAndOrder (); - %feature("compactdefaultargs") BRepFill_SequenceOfEdgeFaceAndOrder; - %feature("autodoc", " :param Other: - :type Other: BRepFill_SequenceOfEdgeFaceAndOrder & - :rtype: None -") BRepFill_SequenceOfEdgeFaceAndOrder; - BRepFill_SequenceOfEdgeFaceAndOrder (const BRepFill_SequenceOfEdgeFaceAndOrder & Other); - %feature("compactdefaultargs") Clear; - %feature("autodoc", " :rtype: None -") Clear; - void Clear (); - %feature("compactdefaultargs") Assign; - %feature("autodoc", " :param Other: - :type Other: BRepFill_SequenceOfEdgeFaceAndOrder & - :rtype: BRepFill_SequenceOfEdgeFaceAndOrder -") Assign; - const BRepFill_SequenceOfEdgeFaceAndOrder & Assign (const BRepFill_SequenceOfEdgeFaceAndOrder & Other); - %feature("compactdefaultargs") operator =; - %feature("autodoc", " :param Other: - :type Other: BRepFill_SequenceOfEdgeFaceAndOrder & - :rtype: BRepFill_SequenceOfEdgeFaceAndOrder -") operator =; - const BRepFill_SequenceOfEdgeFaceAndOrder & operator = (const BRepFill_SequenceOfEdgeFaceAndOrder & Other); - %feature("compactdefaultargs") Append; - %feature("autodoc", " :param T: - :type T: BRepFill_EdgeFaceAndOrder & - :rtype: None -") Append; - void Append (const BRepFill_EdgeFaceAndOrder & T); - %feature("compactdefaultargs") Append; - %feature("autodoc", " :param S: - :type S: BRepFill_SequenceOfEdgeFaceAndOrder & - :rtype: None -") Append; - void Append (BRepFill_SequenceOfEdgeFaceAndOrder & S); - %feature("compactdefaultargs") Prepend; - %feature("autodoc", " :param T: - :type T: BRepFill_EdgeFaceAndOrder & - :rtype: None -") Prepend; - void Prepend (const BRepFill_EdgeFaceAndOrder & T); - %feature("compactdefaultargs") Prepend; - %feature("autodoc", " :param S: - :type S: BRepFill_SequenceOfEdgeFaceAndOrder & - :rtype: None -") Prepend; - void Prepend (BRepFill_SequenceOfEdgeFaceAndOrder & S); - %feature("compactdefaultargs") InsertBefore; - %feature("autodoc", " :param Index: - :type Index: int - :param T: - :type T: BRepFill_EdgeFaceAndOrder & - :rtype: None -") InsertBefore; - void InsertBefore (const Standard_Integer Index,const BRepFill_EdgeFaceAndOrder & T); - %feature("compactdefaultargs") InsertBefore; - %feature("autodoc", " :param Index: - :type Index: int - :param S: - :type S: BRepFill_SequenceOfEdgeFaceAndOrder & - :rtype: None -") InsertBefore; - void InsertBefore (const Standard_Integer Index,BRepFill_SequenceOfEdgeFaceAndOrder & S); - %feature("compactdefaultargs") InsertAfter; - %feature("autodoc", " :param Index: - :type Index: int - :param T: - :type T: BRepFill_EdgeFaceAndOrder & - :rtype: None -") InsertAfter; - void InsertAfter (const Standard_Integer Index,const BRepFill_EdgeFaceAndOrder & T); - %feature("compactdefaultargs") InsertAfter; - %feature("autodoc", " :param Index: - :type Index: int - :param S: - :type S: BRepFill_SequenceOfEdgeFaceAndOrder & - :rtype: None -") InsertAfter; - void InsertAfter (const Standard_Integer Index,BRepFill_SequenceOfEdgeFaceAndOrder & S); - %feature("compactdefaultargs") First; - %feature("autodoc", " :rtype: BRepFill_EdgeFaceAndOrder -") First; - const BRepFill_EdgeFaceAndOrder & First (); - %feature("compactdefaultargs") Last; - %feature("autodoc", " :rtype: BRepFill_EdgeFaceAndOrder -") Last; - const BRepFill_EdgeFaceAndOrder & Last (); - %feature("compactdefaultargs") Split; - %feature("autodoc", " :param Index: - :type Index: int - :param Sub: - :type Sub: BRepFill_SequenceOfEdgeFaceAndOrder & - :rtype: None -") Split; - void Split (const Standard_Integer Index,BRepFill_SequenceOfEdgeFaceAndOrder & Sub); - %feature("compactdefaultargs") Value; - %feature("autodoc", " :param Index: - :type Index: int - :rtype: BRepFill_EdgeFaceAndOrder -") Value; - const BRepFill_EdgeFaceAndOrder & Value (const Standard_Integer Index); - %feature("compactdefaultargs") SetValue; - %feature("autodoc", " :param Index: - :type Index: int - :param I: - :type I: BRepFill_EdgeFaceAndOrder & - :rtype: None -") SetValue; - void SetValue (const Standard_Integer Index,const BRepFill_EdgeFaceAndOrder & I); - %feature("compactdefaultargs") ChangeValue; - %feature("autodoc", " :param Index: - :type Index: int - :rtype: BRepFill_EdgeFaceAndOrder -") ChangeValue; - BRepFill_EdgeFaceAndOrder & ChangeValue (const Standard_Integer Index); - %feature("compactdefaultargs") Remove; - %feature("autodoc", " :param Index: - :type Index: int - :rtype: None -") Remove; - void Remove (const Standard_Integer Index); - %feature("compactdefaultargs") Remove; - %feature("autodoc", " :param FromIndex: - :type FromIndex: int - :param ToIndex: - :type ToIndex: int - :rtype: None -") Remove; - void Remove (const Standard_Integer FromIndex,const Standard_Integer ToIndex); -}; - - -%extend BRepFill_SequenceOfEdgeFaceAndOrder { - %pythoncode { - __repr__ = _dumps_object - } -}; -%nodefaultctor BRepFill_SequenceOfFaceAndOrder; -class BRepFill_SequenceOfFaceAndOrder : public TCollection_BaseSequence { - public: - %feature("compactdefaultargs") BRepFill_SequenceOfFaceAndOrder; - %feature("autodoc", " :rtype: None -") BRepFill_SequenceOfFaceAndOrder; - BRepFill_SequenceOfFaceAndOrder (); - %feature("compactdefaultargs") BRepFill_SequenceOfFaceAndOrder; - %feature("autodoc", " :param Other: - :type Other: BRepFill_SequenceOfFaceAndOrder & - :rtype: None -") BRepFill_SequenceOfFaceAndOrder; - BRepFill_SequenceOfFaceAndOrder (const BRepFill_SequenceOfFaceAndOrder & Other); - %feature("compactdefaultargs") Clear; - %feature("autodoc", " :rtype: None -") Clear; - void Clear (); - %feature("compactdefaultargs") Assign; - %feature("autodoc", " :param Other: - :type Other: BRepFill_SequenceOfFaceAndOrder & - :rtype: BRepFill_SequenceOfFaceAndOrder -") Assign; - const BRepFill_SequenceOfFaceAndOrder & Assign (const BRepFill_SequenceOfFaceAndOrder & Other); - %feature("compactdefaultargs") operator =; - %feature("autodoc", " :param Other: - :type Other: BRepFill_SequenceOfFaceAndOrder & - :rtype: BRepFill_SequenceOfFaceAndOrder -") operator =; - const BRepFill_SequenceOfFaceAndOrder & operator = (const BRepFill_SequenceOfFaceAndOrder & Other); - %feature("compactdefaultargs") Append; - %feature("autodoc", " :param T: - :type T: BRepFill_FaceAndOrder & - :rtype: None -") Append; - void Append (const BRepFill_FaceAndOrder & T); - %feature("compactdefaultargs") Append; - %feature("autodoc", " :param S: - :type S: BRepFill_SequenceOfFaceAndOrder & - :rtype: None -") Append; - void Append (BRepFill_SequenceOfFaceAndOrder & S); - %feature("compactdefaultargs") Prepend; - %feature("autodoc", " :param T: - :type T: BRepFill_FaceAndOrder & - :rtype: None -") Prepend; - void Prepend (const BRepFill_FaceAndOrder & T); - %feature("compactdefaultargs") Prepend; - %feature("autodoc", " :param S: - :type S: BRepFill_SequenceOfFaceAndOrder & - :rtype: None -") Prepend; - void Prepend (BRepFill_SequenceOfFaceAndOrder & S); - %feature("compactdefaultargs") InsertBefore; - %feature("autodoc", " :param Index: - :type Index: int - :param T: - :type T: BRepFill_FaceAndOrder & - :rtype: None -") InsertBefore; - void InsertBefore (const Standard_Integer Index,const BRepFill_FaceAndOrder & T); - %feature("compactdefaultargs") InsertBefore; - %feature("autodoc", " :param Index: - :type Index: int - :param S: - :type S: BRepFill_SequenceOfFaceAndOrder & - :rtype: None -") InsertBefore; - void InsertBefore (const Standard_Integer Index,BRepFill_SequenceOfFaceAndOrder & S); - %feature("compactdefaultargs") InsertAfter; - %feature("autodoc", " :param Index: - :type Index: int - :param T: - :type T: BRepFill_FaceAndOrder & - :rtype: None -") InsertAfter; - void InsertAfter (const Standard_Integer Index,const BRepFill_FaceAndOrder & T); - %feature("compactdefaultargs") InsertAfter; - %feature("autodoc", " :param Index: - :type Index: int - :param S: - :type S: BRepFill_SequenceOfFaceAndOrder & - :rtype: None -") InsertAfter; - void InsertAfter (const Standard_Integer Index,BRepFill_SequenceOfFaceAndOrder & S); - %feature("compactdefaultargs") First; - %feature("autodoc", " :rtype: BRepFill_FaceAndOrder -") First; - const BRepFill_FaceAndOrder & First (); - %feature("compactdefaultargs") Last; - %feature("autodoc", " :rtype: BRepFill_FaceAndOrder -") Last; - const BRepFill_FaceAndOrder & Last (); - %feature("compactdefaultargs") Split; - %feature("autodoc", " :param Index: - :type Index: int - :param Sub: - :type Sub: BRepFill_SequenceOfFaceAndOrder & - :rtype: None -") Split; - void Split (const Standard_Integer Index,BRepFill_SequenceOfFaceAndOrder & Sub); - %feature("compactdefaultargs") Value; - %feature("autodoc", " :param Index: - :type Index: int - :rtype: BRepFill_FaceAndOrder -") Value; - const BRepFill_FaceAndOrder & Value (const Standard_Integer Index); - %feature("compactdefaultargs") SetValue; - %feature("autodoc", " :param Index: - :type Index: int - :param I: - :type I: BRepFill_FaceAndOrder & - :rtype: None -") SetValue; - void SetValue (const Standard_Integer Index,const BRepFill_FaceAndOrder & I); - %feature("compactdefaultargs") ChangeValue; - %feature("autodoc", " :param Index: - :type Index: int - :rtype: BRepFill_FaceAndOrder -") ChangeValue; - BRepFill_FaceAndOrder & ChangeValue (const Standard_Integer Index); - %feature("compactdefaultargs") Remove; - %feature("autodoc", " :param Index: - :type Index: int - :rtype: None -") Remove; - void Remove (const Standard_Integer Index); - %feature("compactdefaultargs") Remove; - %feature("autodoc", " :param FromIndex: - :type FromIndex: int - :param ToIndex: - :type ToIndex: int - :rtype: None -") Remove; - void Remove (const Standard_Integer FromIndex,const Standard_Integer ToIndex); -}; + :rtype: None") BRepFill_SectionPlacement; + BRepFill_SectionPlacement (const opencascade::handle & Law,const TopoDS_Shape & Section,const Standard_Boolean WithContact = Standard_False,const Standard_Boolean WithCorrection = Standard_False); + /****************** BRepFill_SectionPlacement ******************/ + %feature("compactdefaultargs") BRepFill_SectionPlacement; + %feature("autodoc", "* Placement on vertex + :param Law: + :type Law: opencascade::handle & + :param Section: + :type Section: TopoDS_Shape & + :param Vertex: + :type Vertex: TopoDS_Shape & + :param WithContact: default value is Standard_False + :type WithContact: bool + :param WithCorrection: default value is Standard_False + :type WithCorrection: bool + :rtype: None") BRepFill_SectionPlacement; + BRepFill_SectionPlacement (const opencascade::handle & Law,const TopoDS_Shape & Section,const TopoDS_Shape & Vertex,const Standard_Boolean WithContact = Standard_False,const Standard_Boolean WithCorrection = Standard_False); + + /****************** Transformation ******************/ + %feature("compactdefaultargs") Transformation; + %feature("autodoc", ":rtype: gp_Trsf") Transformation; + const gp_Trsf Transformation (); -%extend BRepFill_SequenceOfFaceAndOrder { - %pythoncode { - __repr__ = _dumps_object - } -}; -%nodefaultctor BRepFill_SequenceOfSection; -class BRepFill_SequenceOfSection : public TCollection_BaseSequence { - public: - %feature("compactdefaultargs") BRepFill_SequenceOfSection; - %feature("autodoc", " :rtype: None -") BRepFill_SequenceOfSection; - BRepFill_SequenceOfSection (); - %feature("compactdefaultargs") BRepFill_SequenceOfSection; - %feature("autodoc", " :param Other: - :type Other: BRepFill_SequenceOfSection & - :rtype: None -") BRepFill_SequenceOfSection; - BRepFill_SequenceOfSection (const BRepFill_SequenceOfSection & Other); - %feature("compactdefaultargs") Clear; - %feature("autodoc", " :rtype: None -") Clear; - void Clear (); - %feature("compactdefaultargs") Assign; - %feature("autodoc", " :param Other: - :type Other: BRepFill_SequenceOfSection & - :rtype: BRepFill_SequenceOfSection -") Assign; - const BRepFill_SequenceOfSection & Assign (const BRepFill_SequenceOfSection & Other); - %feature("compactdefaultargs") operator =; - %feature("autodoc", " :param Other: - :type Other: BRepFill_SequenceOfSection & - :rtype: BRepFill_SequenceOfSection -") operator =; - const BRepFill_SequenceOfSection & operator = (const BRepFill_SequenceOfSection & Other); - %feature("compactdefaultargs") Append; - %feature("autodoc", " :param T: - :type T: BRepFill_Section & - :rtype: None -") Append; - void Append (const BRepFill_Section & T); - %feature("compactdefaultargs") Append; - %feature("autodoc", " :param S: - :type S: BRepFill_SequenceOfSection & - :rtype: None -") Append; - void Append (BRepFill_SequenceOfSection & S); - %feature("compactdefaultargs") Prepend; - %feature("autodoc", " :param T: - :type T: BRepFill_Section & - :rtype: None -") Prepend; - void Prepend (const BRepFill_Section & T); - %feature("compactdefaultargs") Prepend; - %feature("autodoc", " :param S: - :type S: BRepFill_SequenceOfSection & - :rtype: None -") Prepend; - void Prepend (BRepFill_SequenceOfSection & S); - %feature("compactdefaultargs") InsertBefore; - %feature("autodoc", " :param Index: - :type Index: int - :param T: - :type T: BRepFill_Section & - :rtype: None -") InsertBefore; - void InsertBefore (const Standard_Integer Index,const BRepFill_Section & T); - %feature("compactdefaultargs") InsertBefore; - %feature("autodoc", " :param Index: - :type Index: int - :param S: - :type S: BRepFill_SequenceOfSection & - :rtype: None -") InsertBefore; - void InsertBefore (const Standard_Integer Index,BRepFill_SequenceOfSection & S); - %feature("compactdefaultargs") InsertAfter; - %feature("autodoc", " :param Index: - :type Index: int - :param T: - :type T: BRepFill_Section & - :rtype: None -") InsertAfter; - void InsertAfter (const Standard_Integer Index,const BRepFill_Section & T); - %feature("compactdefaultargs") InsertAfter; - %feature("autodoc", " :param Index: - :type Index: int - :param S: - :type S: BRepFill_SequenceOfSection & - :rtype: None -") InsertAfter; - void InsertAfter (const Standard_Integer Index,BRepFill_SequenceOfSection & S); - %feature("compactdefaultargs") First; - %feature("autodoc", " :rtype: BRepFill_Section -") First; - const BRepFill_Section & First (); - %feature("compactdefaultargs") Last; - %feature("autodoc", " :rtype: BRepFill_Section -") Last; - const BRepFill_Section & Last (); - %feature("compactdefaultargs") Split; - %feature("autodoc", " :param Index: - :type Index: int - :param Sub: - :type Sub: BRepFill_SequenceOfSection & - :rtype: None -") Split; - void Split (const Standard_Integer Index,BRepFill_SequenceOfSection & Sub); - %feature("compactdefaultargs") Value; - %feature("autodoc", " :param Index: - :type Index: int - :rtype: BRepFill_Section -") Value; - const BRepFill_Section & Value (const Standard_Integer Index); - %feature("compactdefaultargs") SetValue; - %feature("autodoc", " :param Index: - :type Index: int - :param I: - :type I: BRepFill_Section & - :rtype: None -") SetValue; - void SetValue (const Standard_Integer Index,const BRepFill_Section & I); - %feature("compactdefaultargs") ChangeValue; - %feature("autodoc", " :param Index: - :type Index: int - :rtype: BRepFill_Section -") ChangeValue; - BRepFill_Section & ChangeValue (const Standard_Integer Index); - %feature("compactdefaultargs") Remove; - %feature("autodoc", " :param Index: - :type Index: int - :rtype: None -") Remove; - void Remove (const Standard_Integer Index); - %feature("compactdefaultargs") Remove; - %feature("autodoc", " :param FromIndex: - :type FromIndex: int - :param ToIndex: - :type ToIndex: int - :rtype: None -") Remove; - void Remove (const Standard_Integer FromIndex,const Standard_Integer ToIndex); }; -%extend BRepFill_SequenceOfSection { +%extend BRepFill_SectionPlacement { %pythoncode { __repr__ = _dumps_object } }; + +/*********************** +* class BRepFill_Sweep * +***********************/ %nodefaultctor BRepFill_Sweep; class BRepFill_Sweep { public: + /****************** BRepFill_Sweep ******************/ %feature("compactdefaultargs") BRepFill_Sweep; - %feature("autodoc", " :param Section: - :type Section: Handle_BRepFill_SectionLaw & + %feature("autodoc", ":param Section: + :type Section: opencascade::handle & :param Location: - :type Location: Handle_BRepFill_LocationLaw & + :type Location: opencascade::handle & :param WithKPart: :type WithKPart: bool - :rtype: None -") BRepFill_Sweep; - BRepFill_Sweep (const Handle_BRepFill_SectionLaw & Section,const Handle_BRepFill_LocationLaw & Location,const Standard_Boolean WithKPart); - %feature("compactdefaultargs") SetBounds; - %feature("autodoc", " :param FirstShape: - :type FirstShape: TopoDS_Wire & - :param LastShape: - :type LastShape: TopoDS_Wire & - :rtype: None -") SetBounds; - void SetBounds (const TopoDS_Wire & FirstShape,const TopoDS_Wire & LastShape); - %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 - - :param Tol3d: - :type Tol3d: float - :param BoundTol: default value is 1.0 - :type BoundTol: float - :param Tol2d: default value is 1.0e-5 - :type Tol2d: float - :param TolAngular: default value is 1.0e-2 - :type TolAngular: float - :rtype: None -") SetTolerance; - void SetTolerance (const Standard_Real Tol3d,const Standard_Real BoundTol = 1.0,const Standard_Real Tol2d = 1.0e-5,const Standard_Real TolAngular = 1.0e-2); - %feature("compactdefaultargs") SetAngularControl; - %feature("autodoc", " * Tolerance To controle Corner management. //! If the discontinuity is lesser than in radian The Transition Performed will be alway 'Modified' - - :param AngleMin: default value is 0.01 - :type AngleMin: float - :param AngleMax: default value is 6.0 - :type AngleMax: float - :rtype: None -") SetAngularControl; - void SetAngularControl (const Standard_Real AngleMin = 0.01,const Standard_Real AngleMax = 6.0); - %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. + :rtype: None") BRepFill_Sweep; + BRepFill_Sweep (const opencascade::handle & Section,const opencascade::handle & Location,const Standard_Boolean WithKPart); - :param ForceApproxC1: - :type ForceApproxC1: bool - :rtype: None -") SetForceApproxC1; - void SetForceApproxC1 (const Standard_Boolean ForceApproxC1); + /****************** Build ******************/ %feature("compactdefaultargs") Build; - %feature("autodoc", " * Build the Sweeep 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 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. :param ReversedEdges: :type ReversedEdges: TopTools_MapOfShape & :param Tapes: @@ -3855,39 +2317,91 @@ class BRepFill_Sweep { :type Degmax: int :param Segmax: default value is 30 :type Segmax: int - :rtype: None -") Build; + :rtype: None") Build; void Build (TopTools_MapOfShape & ReversedEdges,BRepFill_DataMapOfShapeHArray2OfShape & Tapes,BRepFill_DataMapOfShapeHArray2OfShape & Rails,const BRepFill_TransitionStyle Transition = BRepFill_Modified,const GeomAbs_Shape Continuity = GeomAbs_C2,const GeomFill_ApproxStyle Approx = GeomFill_Location,const Standard_Integer Degmax = 11,const Standard_Integer Segmax = 30); - %feature("compactdefaultargs") IsDone; - %feature("autodoc", " * Say if the Shape is Build. - :rtype: bool -") IsDone; + /****************** ErrorOnSurface ******************/ + %feature("compactdefaultargs") ErrorOnSurface; + %feature("autodoc", "* Get the Approximation error. + :rtype: float") ErrorOnSurface; + Standard_Real ErrorOnSurface (); + + /****************** InterFaces ******************/ + %feature("compactdefaultargs") InterFaces; + %feature("autodoc", ":rtype: opencascade::handle") InterFaces; + opencascade::handle InterFaces (); + + /****************** IsDone ******************/ + %feature("compactdefaultargs") IsDone; + %feature("autodoc", "* Say if the Shape is Build. + :rtype: bool") IsDone; Standard_Boolean IsDone (); - %feature("compactdefaultargs") Shape; - %feature("autodoc", " * returns the Sweeping Shape - :rtype: TopoDS_Shape -") Shape; + /****************** Sections ******************/ + %feature("compactdefaultargs") Sections; + %feature("autodoc", ":rtype: opencascade::handle") Sections; + opencascade::handle Sections (); + + /****************** SetAngularControl ******************/ + %feature("compactdefaultargs") SetAngularControl; + %feature("autodoc", "* Tolerance To controle Corner management. //! If the discontinuity is lesser than in radian The Transition Performed will be alway 'Modified' + :param AngleMin: default value is 0.01 + :type AngleMin: float + :param AngleMax: default value is 6.0 + :type AngleMax: float + :rtype: None") SetAngularControl; + void SetAngularControl (const Standard_Real AngleMin = 0.01,const Standard_Real AngleMax = 6.0); + + /****************** SetBounds ******************/ + %feature("compactdefaultargs") SetBounds; + %feature("autodoc", ":param FirstShape: + :type FirstShape: TopoDS_Wire & + :param LastShape: + :type LastShape: TopoDS_Wire & + :rtype: None") SetBounds; + void SetBounds (const TopoDS_Wire & FirstShape,const TopoDS_Wire & LastShape); + + /****************** SetForceApproxC1 ******************/ + %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. + :param ForceApproxC1: + :type ForceApproxC1: bool + :rtype: None") SetForceApproxC1; + void SetForceApproxC1 (const Standard_Boolean ForceApproxC1); + + /****************** SetTolerance ******************/ + %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 + :param Tol3d: + :type Tol3d: float + :param BoundTol: default value is 1.0 + :type BoundTol: float + :param Tol2d: default value is 1.0e-5 + :type Tol2d: float + :param TolAngular: default value is 1.0e-2 + :type TolAngular: float + :rtype: None") SetTolerance; + void SetTolerance (const Standard_Real Tol3d,const Standard_Real BoundTol = 1.0,const Standard_Real Tol2d = 1.0e-5,const Standard_Real TolAngular = 1.0e-2); + + /****************** Shape ******************/ + %feature("compactdefaultargs") Shape; + %feature("autodoc", "* returns the Sweeping Shape + :rtype: TopoDS_Shape") Shape; TopoDS_Shape Shape (); - %feature("compactdefaultargs") ErrorOnSurface; - %feature("autodoc", " * Get the Approximation error. - :rtype: float -") ErrorOnSurface; - Standard_Real ErrorOnSurface (); + /****************** SubShape ******************/ %feature("compactdefaultargs") SubShape; - %feature("autodoc", " :rtype: Handle_TopTools_HArray2OfShape -") SubShape; - Handle_TopTools_HArray2OfShape SubShape (); - %feature("compactdefaultargs") InterFaces; - %feature("autodoc", " :rtype: Handle_TopTools_HArray2OfShape -") InterFaces; - Handle_TopTools_HArray2OfShape InterFaces (); - %feature("compactdefaultargs") Sections; - %feature("autodoc", " :rtype: Handle_TopTools_HArray2OfShape -") Sections; - Handle_TopTools_HArray2OfShape Sections (); + %feature("autodoc", ":rtype: opencascade::handle") SubShape; + opencascade::handle SubShape (); + + /****************** Tape ******************/ + %feature("compactdefaultargs") Tape; + %feature("autodoc", "* returns the Tape corresponding to Index-th edge of section + :param Index: + :type Index: int + :rtype: TopoDS_Shape") Tape; + TopoDS_Shape Tape (const Standard_Integer Index); + }; @@ -3896,55 +2410,74 @@ class BRepFill_Sweep { __repr__ = _dumps_object } }; + +/****************************** +* class BRepFill_TrimEdgeTool * +******************************/ %nodefaultctor BRepFill_TrimEdgeTool; class BRepFill_TrimEdgeTool { public: + /****************** AddOrConfuse ******************/ + %feature("compactdefaultargs") AddOrConfuse; + %feature("autodoc", ":param Start: + :type Start: bool + :param Edge1: + :type Edge1: TopoDS_Edge & + :param Edge2: + :type Edge2: TopoDS_Edge & + :param Params: + :type Params: TColgp_SequenceOfPnt + :rtype: None") AddOrConfuse; + void AddOrConfuse (const Standard_Boolean Start,const TopoDS_Edge & Edge1,const TopoDS_Edge & Edge2,TColgp_SequenceOfPnt & Params); + + /****************** BRepFill_TrimEdgeTool ******************/ %feature("compactdefaultargs") BRepFill_TrimEdgeTool; - %feature("autodoc", " :rtype: None -") BRepFill_TrimEdgeTool; + %feature("autodoc", ":rtype: None") BRepFill_TrimEdgeTool; BRepFill_TrimEdgeTool (); + + /****************** BRepFill_TrimEdgeTool ******************/ %feature("compactdefaultargs") BRepFill_TrimEdgeTool; - %feature("autodoc", " :param Bisec: + %feature("autodoc", ":param Bisec: :type Bisec: Bisector_Bisec & :param S1: - :type S1: Handle_Geom2d_Geometry & + :type S1: opencascade::handle & :param S2: - :type S2: Handle_Geom2d_Geometry & + :type S2: opencascade::handle & :param Offset: :type Offset: float - :rtype: None -") BRepFill_TrimEdgeTool; - BRepFill_TrimEdgeTool (const Bisector_Bisec & Bisec,const Handle_Geom2d_Geometry & S1,const Handle_Geom2d_Geometry & S2,const Standard_Real Offset); + :rtype: None") BRepFill_TrimEdgeTool; + BRepFill_TrimEdgeTool (const Bisector_Bisec & Bisec,const opencascade::handle & S1,const opencascade::handle & S2,const Standard_Real Offset); + + /****************** IntersectWith ******************/ %feature("compactdefaultargs") IntersectWith; - %feature("autodoc", " :param Edge1: + %feature("autodoc", ":param Edge1: :type Edge1: TopoDS_Edge & :param Edge2: :type Edge2: TopoDS_Edge & + :param InitShape1: + :type InitShape1: TopoDS_Shape & + :param InitShape2: + :type InitShape2: TopoDS_Shape & + :param End1: + :type End1: TopoDS_Vertex & + :param End2: + :type End2: TopoDS_Vertex & :param theJoinType: :type theJoinType: GeomAbs_JoinType + :param IsOpenResult: + :type IsOpenResult: bool :param Params: :type Params: TColgp_SequenceOfPnt - :rtype: None -") IntersectWith; - void IntersectWith (const TopoDS_Edge & Edge1,const TopoDS_Edge & Edge2,const GeomAbs_JoinType theJoinType,TColgp_SequenceOfPnt & Params); - %feature("compactdefaultargs") AddOrConfuse; - %feature("autodoc", " :param Start: - :type Start: bool - :param Edge1: - :type Edge1: TopoDS_Edge & - :param Edge2: - :type Edge2: TopoDS_Edge & - :param Params: - :type Params: TColgp_SequenceOfPnt - :rtype: None -") AddOrConfuse; - void AddOrConfuse (const Standard_Boolean Start,const TopoDS_Edge & Edge1,const TopoDS_Edge & Edge2,TColgp_SequenceOfPnt & Params); + :rtype: None") IntersectWith; + void IntersectWith (const TopoDS_Edge & Edge1,const TopoDS_Edge & Edge2,const TopoDS_Shape & InitShape1,const TopoDS_Shape & InitShape2,const TopoDS_Vertex & End1,const TopoDS_Vertex & End2,const GeomAbs_JoinType theJoinType,const Standard_Boolean IsOpenResult,TColgp_SequenceOfPnt & Params); + + /****************** IsInside ******************/ %feature("compactdefaultargs") IsInside; - %feature("autodoc", " :param P: + %feature("autodoc", ":param P: :type P: gp_Pnt2d - :rtype: bool -") IsInside; + :rtype: bool") IsInside; Standard_Boolean IsInside (const gp_Pnt2d & P); + }; @@ -3953,69 +2486,72 @@ class BRepFill_TrimEdgeTool { __repr__ = _dumps_object } }; + +/********************************* +* class BRepFill_TrimShellCorner * +*********************************/ %nodefaultctor BRepFill_TrimShellCorner; class BRepFill_TrimShellCorner { public: + /****************** AddBounds ******************/ + %feature("compactdefaultargs") AddBounds; + %feature("autodoc", ":param Bounds: + :type Bounds: opencascade::handle & + :rtype: None") AddBounds; + void AddBounds (const opencascade::handle & Bounds); + + /****************** AddUEdges ******************/ + %feature("compactdefaultargs") AddUEdges; + %feature("autodoc", ":param theUEdges: + :type theUEdges: opencascade::handle & + :rtype: None") AddUEdges; + void AddUEdges (const opencascade::handle & theUEdges); + + /****************** AddVEdges ******************/ + %feature("compactdefaultargs") AddVEdges; + %feature("autodoc", ":param theVEdges: + :type theVEdges: opencascade::handle & + :param theIndex: + :type theIndex: int + :rtype: None") AddVEdges; + void AddVEdges (const opencascade::handle & theVEdges,const Standard_Integer theIndex); + + /****************** BRepFill_TrimShellCorner ******************/ %feature("compactdefaultargs") BRepFill_TrimShellCorner; - %feature("autodoc", " :param theFaces: - :type theFaces: Handle_TopTools_HArray2OfShape & - :param theAxeOfBisPlane: - :type theAxeOfBisPlane: gp_Ax2 - :param theSecPlane: - :type theSecPlane: TopoDS_Face & - :rtype: None -") BRepFill_TrimShellCorner; - BRepFill_TrimShellCorner (const Handle_TopTools_HArray2OfShape & theFaces,const gp_Ax2 & theAxeOfBisPlane,const TopoDS_Face & theSecPlane); - %feature("compactdefaultargs") BRepFill_TrimShellCorner; - %feature("autodoc", " :param theFaces: - :type theFaces: Handle_TopTools_HArray2OfShape & + %feature("autodoc", "* Constructor: takes faces to intersect, type of transition (it can be RightCorner or RoundCorner) and axis of bisector plane + :param theFaces: + :type theFaces: opencascade::handle & + :param theTransition: + :type theTransition: BRepFill_TransitionStyle :param theAxeOfBisPlane: :type theAxeOfBisPlane: gp_Ax2 - :param theSpine: - :type theSpine: TopoDS_Wire & - :param theSecPlane: - :type theSecPlane: TopoDS_Face & - :rtype: None -") BRepFill_TrimShellCorner; - BRepFill_TrimShellCorner (const Handle_TopTools_HArray2OfShape & theFaces,const gp_Ax2 & theAxeOfBisPlane,const TopoDS_Wire & theSpine,const TopoDS_Face & theSecPlane); - %feature("compactdefaultargs") SetSpine; - %feature("autodoc", " :param theSpine: - :type theSpine: TopoDS_Wire & - :rtype: None -") SetSpine; - void SetSpine (const TopoDS_Wire & theSpine); - %feature("compactdefaultargs") AddBounds; - %feature("autodoc", " :param Bounds: - :type Bounds: Handle_TopTools_HArray2OfShape & - :rtype: None -") AddBounds; - void AddBounds (const Handle_TopTools_HArray2OfShape & Bounds); - %feature("compactdefaultargs") AddUEdges; - %feature("autodoc", " :param theUEdges: - :type theUEdges: Handle_TopTools_HArray2OfShape & - :rtype: None -") AddUEdges; - void AddUEdges (const Handle_TopTools_HArray2OfShape & theUEdges); - %feature("compactdefaultargs") Perform; - %feature("autodoc", " :rtype: None -") Perform; - void Perform (); - %feature("compactdefaultargs") IsDone; - %feature("autodoc", " :rtype: bool -") IsDone; - Standard_Boolean IsDone (); + :rtype: None") BRepFill_TrimShellCorner; + BRepFill_TrimShellCorner (const opencascade::handle & theFaces,const BRepFill_TransitionStyle theTransition,const gp_Ax2 & theAxeOfBisPlane); + + /****************** HasSection ******************/ %feature("compactdefaultargs") HasSection; - %feature("autodoc", " :rtype: bool -") HasSection; + %feature("autodoc", ":rtype: bool") HasSection; Standard_Boolean HasSection (); + + /****************** IsDone ******************/ + %feature("compactdefaultargs") IsDone; + %feature("autodoc", ":rtype: bool") IsDone; + Standard_Boolean IsDone (); + + /****************** Modified ******************/ %feature("compactdefaultargs") Modified; - %feature("autodoc", " :param S: + %feature("autodoc", ":param S: :type S: TopoDS_Shape & :param theModified: :type theModified: TopTools_ListOfShape & - :rtype: None -") Modified; + :rtype: None") Modified; void Modified (const TopoDS_Shape & S,TopTools_ListOfShape & theModified); + + /****************** Perform ******************/ + %feature("compactdefaultargs") Perform; + %feature("autodoc", ":rtype: None") Perform; + void Perform (); + }; @@ -4024,12 +2560,17 @@ class BRepFill_TrimShellCorner { __repr__ = _dumps_object } }; + +/********************************* +* class BRepFill_TrimSurfaceTool * +*********************************/ %nodefaultctor BRepFill_TrimSurfaceTool; class BRepFill_TrimSurfaceTool { public: + /****************** BRepFill_TrimSurfaceTool ******************/ %feature("compactdefaultargs") BRepFill_TrimSurfaceTool; - %feature("autodoc", " :param Bis: - :type Bis: Handle_Geom2d_Curve & + %feature("autodoc", ":param Bis: + :type Bis: opencascade::handle & :param Face1: :type Face1: TopoDS_Face & :param Face2: @@ -4042,55 +2583,56 @@ class BRepFill_TrimSurfaceTool { :type Inv1: bool :param Inv2: :type Inv2: bool - :rtype: None -") BRepFill_TrimSurfaceTool; - BRepFill_TrimSurfaceTool (const Handle_Geom2d_Curve & Bis,const TopoDS_Face & Face1,const TopoDS_Face & Face2,const TopoDS_Edge & Edge1,const TopoDS_Edge & Edge2,const Standard_Boolean Inv1,const Standard_Boolean Inv2); - %feature("compactdefaultargs") IntersectWith; - %feature("autodoc", " * Intersect with the projection of the edges and returns the intersecting parameters on Bis and on the edges P.X() : Parameter on Bis P.Y() : Parameter on EdgeOnF1 P.Z() : Parameter on EdgeOnF2 raises if is not a edge of Face1 or Face2. + :rtype: None") BRepFill_TrimSurfaceTool; + BRepFill_TrimSurfaceTool (const opencascade::handle & Bis,const TopoDS_Face & Face1,const TopoDS_Face & Face2,const TopoDS_Edge & Edge1,const TopoDS_Edge & Edge2,const Standard_Boolean Inv1,const Standard_Boolean Inv2); + /****************** IntersectWith ******************/ + %feature("compactdefaultargs") IntersectWith; + %feature("autodoc", "* Intersect with the projection of the edges and returns the intersecting parameters on Bis and on the edges P.X() : Parameter on Bis P.Y() : Parameter on EdgeOnF1 P.Z() : Parameter on EdgeOnF2 raises if is not a edge of Face1 or Face2. :param EdgeOnF1: :type EdgeOnF1: TopoDS_Edge & :param EdgeOnF2: :type EdgeOnF2: TopoDS_Edge & :param Points: :type Points: TColgp_SequenceOfPnt - :rtype: None -") IntersectWith; + :rtype: None") IntersectWith; void IntersectWith (const TopoDS_Edge & EdgeOnF1,const TopoDS_Edge & EdgeOnF2,TColgp_SequenceOfPnt & Points); - %feature("compactdefaultargs") IsOnFace; - %feature("autodoc", " * returns True if the Line (P, DZ) intersect the Faces + /****************** IsOnFace ******************/ + %feature("compactdefaultargs") IsOnFace; + %feature("autodoc", "* returns True if the Line (P, DZ) intersect the Faces :param Point: :type Point: gp_Pnt2d - :rtype: bool -") IsOnFace; + :rtype: bool") IsOnFace; Standard_Boolean IsOnFace (const gp_Pnt2d & Point); - %feature("compactdefaultargs") ProjOn; - %feature("autodoc", " * returns the parameter of the point on the Edge , assuming that the point is on the edge. + /****************** ProjOn ******************/ + %feature("compactdefaultargs") ProjOn; + %feature("autodoc", "* returns the parameter of the point on the Edge , assuming that the point is on the edge. :param Point: :type Point: gp_Pnt2d :param Edge: :type Edge: TopoDS_Edge & - :rtype: float -") ProjOn; + :rtype: float") ProjOn; Standard_Real ProjOn (const gp_Pnt2d & Point,const TopoDS_Edge & Edge); + + /****************** Project ******************/ %feature("compactdefaultargs") Project; - %feature("autodoc", " :param U1: + %feature("autodoc", ":param U1: :type U1: float :param U2: :type U2: float :param Curve: - :type Curve: Handle_Geom_Curve & + :type Curve: opencascade::handle & :param PCurve1: - :type PCurve1: Handle_Geom2d_Curve & + :type PCurve1: opencascade::handle & :param PCurve2: - :type PCurve2: Handle_Geom2d_Curve & + :type PCurve2: opencascade::handle & :param myCont: :type myCont: GeomAbs_Shape & - :rtype: None -") Project; - void Project (const Standard_Real U1,const Standard_Real U2,Handle_Geom_Curve & Curve,Handle_Geom2d_Curve & PCurve1,Handle_Geom2d_Curve & PCurve2,GeomAbs_Shape & myCont); + :rtype: None") Project; + void Project (const Standard_Real U1,const Standard_Real U2,opencascade::handle & Curve,opencascade::handle & PCurve1,opencascade::handle & PCurve2,GeomAbs_Shape & myCont); + }; @@ -4099,17 +2641,22 @@ class BRepFill_TrimSurfaceTool { __repr__ = _dumps_object } }; + +/************************ +* class BRepFill_ACRLaw * +************************/ %nodefaultctor BRepFill_ACRLaw; class BRepFill_ACRLaw : public BRepFill_LocationLaw { public: + /****************** BRepFill_ACRLaw ******************/ %feature("compactdefaultargs") BRepFill_ACRLaw; - %feature("autodoc", " :param Path: + %feature("autodoc", ":param Path: :type Path: TopoDS_Wire & :param Law: - :type Law: Handle_GeomFill_LocationGuide & - :rtype: None -") BRepFill_ACRLaw; - BRepFill_ACRLaw (const TopoDS_Wire & Path,const Handle_GeomFill_LocationGuide & Law); + :type Law: opencascade::handle & + :rtype: None") BRepFill_ACRLaw; + BRepFill_ACRLaw (const TopoDS_Wire & Path,const opencascade::handle & Law); + }; @@ -4120,17 +2667,22 @@ class BRepFill_ACRLaw : public BRepFill_LocationLaw { __repr__ = _dumps_object } }; + +/*************************** +* class BRepFill_Edge3DLaw * +***************************/ %nodefaultctor BRepFill_Edge3DLaw; class BRepFill_Edge3DLaw : public BRepFill_LocationLaw { public: + /****************** BRepFill_Edge3DLaw ******************/ %feature("compactdefaultargs") BRepFill_Edge3DLaw; - %feature("autodoc", " :param Path: + %feature("autodoc", ":param Path: :type Path: TopoDS_Wire & :param Law: - :type Law: Handle_GeomFill_LocationLaw & - :rtype: None -") BRepFill_Edge3DLaw; - BRepFill_Edge3DLaw (const TopoDS_Wire & Path,const Handle_GeomFill_LocationLaw & Law); + :type Law: opencascade::handle & + :rtype: None") BRepFill_Edge3DLaw; + BRepFill_Edge3DLaw (const TopoDS_Wire & Path,const opencascade::handle & Law); + }; @@ -4141,23 +2693,28 @@ class BRepFill_Edge3DLaw : public BRepFill_LocationLaw { __repr__ = _dumps_object } }; + +/******************************* +* class BRepFill_EdgeOnSurfLaw * +*******************************/ %nodefaultctor BRepFill_EdgeOnSurfLaw; class BRepFill_EdgeOnSurfLaw : public BRepFill_LocationLaw { public: + /****************** BRepFill_EdgeOnSurfLaw ******************/ %feature("compactdefaultargs") BRepFill_EdgeOnSurfLaw; - %feature("autodoc", " :param Path: + %feature("autodoc", ":param Path: :type Path: TopoDS_Wire & :param Surf: :type Surf: TopoDS_Shape & - :rtype: None -") BRepFill_EdgeOnSurfLaw; + :rtype: None") BRepFill_EdgeOnSurfLaw; BRepFill_EdgeOnSurfLaw (const TopoDS_Wire & Path,const TopoDS_Shape & Surf); - %feature("compactdefaultargs") HasResult; - %feature("autodoc", " * returns if one Edge of do not have representation on . In this case it is impossible to use this object. - :rtype: bool -") HasResult; + /****************** HasResult ******************/ + %feature("compactdefaultargs") HasResult; + %feature("autodoc", "* returns if one Edge of do not have representation on . In this case it is impossible to use this object. + :rtype: bool") HasResult; Standard_Boolean HasResult (); + }; @@ -4168,22 +2725,26 @@ class BRepFill_EdgeOnSurfLaw : public BRepFill_LocationLaw { __repr__ = _dumps_object } }; + +/*************************** +* class BRepFill_NSections * +***************************/ %nodefaultctor BRepFill_NSections; class BRepFill_NSections : public BRepFill_SectionLaw { public: + /****************** BRepFill_NSections ******************/ %feature("compactdefaultargs") BRepFill_NSections; - %feature("autodoc", " * Construct - + %feature("autodoc", "* Construct :param S: :type S: TopTools_SequenceOfShape & :param Build: default value is Standard_True :type Build: bool - :rtype: None -") BRepFill_NSections; + :rtype: None") BRepFill_NSections; BRepFill_NSections (const TopTools_SequenceOfShape & S,const Standard_Boolean Build = Standard_True); - %feature("compactdefaultargs") BRepFill_NSections; - %feature("autodoc", " * Construct + /****************** BRepFill_NSections ******************/ + %feature("compactdefaultargs") BRepFill_NSections; + %feature("autodoc", "* Construct :param S: :type S: TopTools_SequenceOfShape & :param Trsfs: @@ -4196,59 +2757,63 @@ class BRepFill_NSections : public BRepFill_SectionLaw { :type VL: float :param Build: default value is Standard_True :type Build: bool - :rtype: None -") BRepFill_NSections; + :rtype: None") BRepFill_NSections; BRepFill_NSections (const TopTools_SequenceOfShape & S,const GeomFill_SequenceOfTrsf & Trsfs,const TColStd_SequenceOfReal & P,const Standard_Real VF,const Standard_Real VL,const Standard_Boolean Build = Standard_True); - %feature("compactdefaultargs") IsVertex; - %feature("autodoc", " * Say if the input shape is a vertex. - - :rtype: bool -") IsVertex; - virtual Standard_Boolean IsVertex (); - %feature("compactdefaultargs") IsConstant; - %feature("autodoc", " * Say if the Law is Constant. - :rtype: bool -") IsConstant; - virtual Standard_Boolean IsConstant (); + /****************** ConcatenedLaw ******************/ %feature("compactdefaultargs") ConcatenedLaw; - %feature("autodoc", " * Give the law build on a concatened section + %feature("autodoc", "* Give the law build on a concatened section + :rtype: opencascade::handle") ConcatenedLaw; + virtual opencascade::handle ConcatenedLaw (); - :rtype: Handle_GeomFill_SectionLaw -") ConcatenedLaw; - virtual Handle_GeomFill_SectionLaw ConcatenedLaw (); + /****************** Continuity ******************/ %feature("compactdefaultargs") Continuity; - %feature("autodoc", " :param Index: + %feature("autodoc", ":param Index: :type Index: int :param TolAngular: :type TolAngular: float - :rtype: GeomAbs_Shape -") Continuity; + :rtype: GeomAbs_Shape") Continuity; virtual GeomAbs_Shape Continuity (const Standard_Integer Index,const Standard_Real TolAngular); - %feature("compactdefaultargs") VertexTol; - %feature("autodoc", " :param Index: - :type Index: int - :param Param: + + /****************** D0 ******************/ + %feature("compactdefaultargs") D0; + %feature("autodoc", ":param Param: :type Param: float - :rtype: float -") VertexTol; - virtual Standard_Real VertexTol (const Standard_Integer Index,const Standard_Real Param); + :param S: + :type S: TopoDS_Shape & + :rtype: void") D0; + virtual void D0 (const Standard_Real Param,TopoDS_Shape & S); + + /****************** IsConstant ******************/ + %feature("compactdefaultargs") IsConstant; + %feature("autodoc", "* Say if the Law is Constant. + :rtype: bool") IsConstant; + virtual Standard_Boolean IsConstant (); + + /****************** IsVertex ******************/ + %feature("compactdefaultargs") IsVertex; + %feature("autodoc", "* Say if the input shape is a vertex. + :rtype: bool") IsVertex; + virtual Standard_Boolean IsVertex (); + + /****************** Vertex ******************/ %feature("compactdefaultargs") Vertex; - %feature("autodoc", " :param Index: + %feature("autodoc", ":param Index: :type Index: int :param Param: :type Param: float - :rtype: TopoDS_Vertex -") Vertex; + :rtype: TopoDS_Vertex") Vertex; virtual TopoDS_Vertex Vertex (const Standard_Integer Index,const Standard_Real Param); - %feature("compactdefaultargs") D0; - %feature("autodoc", " :param Param: + + /****************** VertexTol ******************/ + %feature("compactdefaultargs") VertexTol; + %feature("autodoc", ":param Index: + :type Index: int + :param Param: :type Param: float - :param S: - :type S: TopoDS_Shape & - :rtype: void -") D0; - virtual void D0 (const Standard_Real Param,TopoDS_Shape & S); + :rtype: float") VertexTol; + virtual Standard_Real VertexTol (const Standard_Integer Index,const Standard_Real Param); + }; @@ -4259,97 +2824,106 @@ class BRepFill_NSections : public BRepFill_SectionLaw { __repr__ = _dumps_object } }; + +/************************** +* class BRepFill_ShapeLaw * +**************************/ %nodefaultctor BRepFill_ShapeLaw; class BRepFill_ShapeLaw : public BRepFill_SectionLaw { public: + /****************** BRepFill_ShapeLaw ******************/ %feature("compactdefaultargs") BRepFill_ShapeLaw; - %feature("autodoc", " * Construct an constant Law - + %feature("autodoc", "* Construct an constant Law :param V: :type V: TopoDS_Vertex & :param Build: default value is Standard_True :type Build: bool - :rtype: None -") BRepFill_ShapeLaw; + :rtype: None") BRepFill_ShapeLaw; BRepFill_ShapeLaw (const TopoDS_Vertex & V,const Standard_Boolean Build = Standard_True); - %feature("compactdefaultargs") BRepFill_ShapeLaw; - %feature("autodoc", " * Construct an constant Law + /****************** BRepFill_ShapeLaw ******************/ + %feature("compactdefaultargs") BRepFill_ShapeLaw; + %feature("autodoc", "* Construct an constant Law :param W: :type W: TopoDS_Wire & :param Build: default value is Standard_True :type Build: bool - :rtype: None -") BRepFill_ShapeLaw; + :rtype: None") BRepFill_ShapeLaw; BRepFill_ShapeLaw (const TopoDS_Wire & W,const Standard_Boolean Build = Standard_True); - %feature("compactdefaultargs") BRepFill_ShapeLaw; - %feature("autodoc", " * Construct an evolutive Law + /****************** BRepFill_ShapeLaw ******************/ + %feature("compactdefaultargs") BRepFill_ShapeLaw; + %feature("autodoc", "* Construct an evolutive Law :param W: :type W: TopoDS_Wire & :param L: - :type L: Handle_Law_Function & + :type L: opencascade::handle & :param Build: default value is Standard_True :type Build: bool - :rtype: None -") BRepFill_ShapeLaw; - BRepFill_ShapeLaw (const TopoDS_Wire & W,const Handle_Law_Function & L,const Standard_Boolean Build = Standard_True); - %feature("compactdefaultargs") IsVertex; - %feature("autodoc", " * Say if the input shape is a vertex. + :rtype: None") BRepFill_ShapeLaw; + BRepFill_ShapeLaw (const TopoDS_Wire & W,const opencascade::handle & L,const Standard_Boolean Build = Standard_True); - :rtype: bool -") IsVertex; - virtual Standard_Boolean IsVertex (); - %feature("compactdefaultargs") IsConstant; - %feature("autodoc", " * Say if the Law is Constant. - - :rtype: bool -") IsConstant; - virtual Standard_Boolean IsConstant (); + /****************** ConcatenedLaw ******************/ %feature("compactdefaultargs") ConcatenedLaw; - %feature("autodoc", " * Give the law build on a concaneted section + %feature("autodoc", "* Give the law build on a concaneted section + :rtype: opencascade::handle") ConcatenedLaw; + virtual opencascade::handle ConcatenedLaw (); - :rtype: Handle_GeomFill_SectionLaw -") ConcatenedLaw; - virtual Handle_GeomFill_SectionLaw ConcatenedLaw (); + /****************** Continuity ******************/ %feature("compactdefaultargs") Continuity; - %feature("autodoc", " :param Index: + %feature("autodoc", ":param Index: :type Index: int :param TolAngular: :type TolAngular: float - :rtype: GeomAbs_Shape -") Continuity; + :rtype: GeomAbs_Shape") Continuity; virtual GeomAbs_Shape Continuity (const Standard_Integer Index,const Standard_Real TolAngular); - %feature("compactdefaultargs") VertexTol; - %feature("autodoc", " :param Index: - :type Index: int - :param Param: - :type Param: float - :rtype: float -") VertexTol; - virtual Standard_Real VertexTol (const Standard_Integer Index,const Standard_Real Param); - %feature("compactdefaultargs") Vertex; - %feature("autodoc", " :param Index: - :type Index: int - :param Param: - :type Param: float - :rtype: TopoDS_Vertex -") Vertex; - virtual TopoDS_Vertex Vertex (const Standard_Integer Index,const Standard_Real Param); + + /****************** D0 ******************/ %feature("compactdefaultargs") D0; - %feature("autodoc", " :param Param: + %feature("autodoc", ":param Param: :type Param: float :param S: :type S: TopoDS_Shape & - :rtype: void -") D0; + :rtype: void") D0; virtual void D0 (const Standard_Real Param,TopoDS_Shape & S); + + /****************** Edge ******************/ %feature("compactdefaultargs") Edge; - %feature("autodoc", " :param Index: + %feature("autodoc", ":param Index: :type Index: int - :rtype: TopoDS_Edge -") Edge; + :rtype: TopoDS_Edge") Edge; const TopoDS_Edge Edge (const Standard_Integer Index); + + /****************** IsConstant ******************/ + %feature("compactdefaultargs") IsConstant; + %feature("autodoc", "* Say if the Law is Constant. + :rtype: bool") IsConstant; + virtual Standard_Boolean IsConstant (); + + /****************** IsVertex ******************/ + %feature("compactdefaultargs") IsVertex; + %feature("autodoc", "* Say if the input shape is a vertex. + :rtype: bool") IsVertex; + virtual Standard_Boolean IsVertex (); + + /****************** Vertex ******************/ + %feature("compactdefaultargs") Vertex; + %feature("autodoc", ":param Index: + :type Index: int + :param Param: + :type Param: float + :rtype: TopoDS_Vertex") Vertex; + virtual TopoDS_Vertex Vertex (const Standard_Integer Index,const Standard_Real Param); + + /****************** VertexTol ******************/ + %feature("compactdefaultargs") VertexTol; + %feature("autodoc", ":param Index: + :type Index: int + :param Param: + :type Param: float + :rtype: float") VertexTol; + virtual Standard_Real VertexTol (const Standard_Integer Index,const Standard_Real Param); + }; @@ -4360,25 +2934,30 @@ class BRepFill_ShapeLaw : public BRepFill_SectionLaw { __repr__ = _dumps_object } }; + +/************************** +* class BRepFill_DraftLaw * +**************************/ %nodefaultctor BRepFill_DraftLaw; class BRepFill_DraftLaw : public BRepFill_Edge3DLaw { public: + /****************** BRepFill_DraftLaw ******************/ %feature("compactdefaultargs") BRepFill_DraftLaw; - %feature("autodoc", " :param Path: + %feature("autodoc", ":param Path: :type Path: TopoDS_Wire & :param Law: - :type Law: Handle_GeomFill_LocationDraft & - :rtype: None -") BRepFill_DraftLaw; - BRepFill_DraftLaw (const TopoDS_Wire & Path,const Handle_GeomFill_LocationDraft & Law); - %feature("compactdefaultargs") CleanLaw; - %feature("autodoc", " * To clean the little discontinuities. + :type Law: opencascade::handle & + :rtype: None") BRepFill_DraftLaw; + BRepFill_DraftLaw (const TopoDS_Wire & Path,const opencascade::handle & Law); + /****************** CleanLaw ******************/ + %feature("compactdefaultargs") CleanLaw; + %feature("autodoc", "* To clean the little discontinuities. :param TolAngular: :type TolAngular: float - :rtype: None -") CleanLaw; + :rtype: None") CleanLaw; void CleanLaw (const Standard_Real TolAngular); + }; @@ -4389,3 +2968,7 @@ class BRepFill_DraftLaw : public BRepFill_Edge3DLaw { __repr__ = _dumps_object } }; + +/* harray1 class */ +/* harray2 class */ +/* harray2 class */ diff --git a/src/SWIG_files/wrapper/BRepFill_headers.i b/src/SWIG_files/wrapper/BRepFill_headers.i deleted file mode 100644 index e6ebb696b..000000000 --- a/src/SWIG_files/wrapper/BRepFill_headers.i +++ /dev/null @@ -1,1249 +0,0 @@ -/* -Copyright 2008-2017 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 . - -*/ -%{ -#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 -#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 -#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 -#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 -#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 -#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 -#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 -#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 -#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 -#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 -#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 -#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 -#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 -%}; -%import TopoDS.i -%import gp.i -%import Standard.i -%import TColStd.i -%import Geom.i -%import Geom2d.i -%import TopTools.i -%import AppParCurves.i -%import GeomPlate.i -%import Adaptor3d.i -%import TCollection.i -%import MAT.i -%import TColgp.i -%import GeomAbs.i -%import MMgt.i -%import GeomFill.i -%import AppCont.i -%import NCollection.i -%import BRepMAT2d.i -%import Law.i -%import Bisector.i diff --git a/src/SWIG_files/wrapper/BRepFilletAPI.i b/src/SWIG_files/wrapper/BRepFilletAPI.i index 86115f6da..b954d35b2 100644 --- a/src/SWIG_files/wrapper/BRepFilletAPI.i +++ b/src/SWIG_files/wrapper/BRepFilletAPI.i @@ -1,6 +1,5 @@ /* -Copyright 2008-2017 Thomas Paviot (tpaviot@gmail.com) - +Copyright 2008-2019 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -15,14 +14,13 @@ 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 BREPFILLETAPIDOCSTRING -"" +"BRepFilletAPI module, see official documentation at +https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brepfilletapi.html" %enddef %module (package="OCC.Core", docstring=BREPFILLETAPIDOCSTRING) BRepFilletAPI -#pragma SWIG nowarn=504,325,503 %{ #ifdef WNT @@ -37,160 +35,228 @@ along with pythonOCC. If not, see . %include ../common/OccHandle.i -%include BRepFilletAPI_headers.i - -/* typedefs */ -/* end typedefs declaration */ - +%{ +#include + +//Dependencies +#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 +%}; +%import Standard.i +%import NCollection.i +%import BRepBuilderAPI.i +%import TopoDS.i +%import ChFiDS.i +%import TopTools.i +%import ChFi2d.i +%import TopOpeBRepBuild.i +%import Law.i +%import TColgp.i +%import ChFi3d.i +%import Geom.i +%import GeomAbs.i /* public enums */ /* end public enums declaration */ +/* handles */ +/* end handles declaration */ + +/* templates */ +/* end templates declaration */ +/* typedefs */ +/* end typedefs declaration */ + +/************************************* +* class BRepFilletAPI_LocalOperation * +*************************************/ %nodefaultctor BRepFilletAPI_LocalOperation; class BRepFilletAPI_LocalOperation : public BRepBuilderAPI_MakeShape { public: - %feature("compactdefaultargs") Add; - %feature("autodoc", " * Adds a contour in the builder (builds a contour of tangent edges). + /****************** Abscissa ******************/ + %feature("compactdefaultargs") Abscissa; + %feature("autodoc", "* returns the abscissa of the vertex V on the contour of index IC. + :param IC: + :type IC: int + :param V: + :type V: TopoDS_Vertex & + :rtype: float") Abscissa; + virtual Standard_Real Abscissa (const Standard_Integer IC,const TopoDS_Vertex & V); + /****************** Add ******************/ + %feature("compactdefaultargs") Add; + %feature("autodoc", "* Adds a contour in the builder (builds a contour of tangent edges). :param E: :type E: TopoDS_Edge & - :rtype: void -") Add; + :rtype: void") Add; virtual void Add (const TopoDS_Edge & E); - %feature("compactdefaultargs") ResetContour; - %feature("autodoc", " * Reset the contour of index IC, there is nomore information in the contour. + /****************** Closed ******************/ + %feature("compactdefaultargs") Closed; + %feature("autodoc", "* returns true if the contour of index IC is closed :param IC: :type IC: int - :rtype: void -") ResetContour; - virtual void ResetContour (const Standard_Integer IC); - %feature("compactdefaultargs") NbContours; - %feature("autodoc", " * Number of contours. + :rtype: bool") Closed; + virtual Standard_Boolean Closed (const Standard_Integer IC); - :rtype: int -") NbContours; - virtual Standard_Integer NbContours (); - %feature("compactdefaultargs") Contour; - %feature("autodoc", " * Returns the index of the contour containing the edge E, returns 0 if E doesn't belong to any contour. + /****************** ClosedAndTangent ******************/ + %feature("compactdefaultargs") ClosedAndTangent; + %feature("autodoc", "* returns true if the contour of index IC is closed an tangent. + :param IC: + :type IC: int + :rtype: bool") ClosedAndTangent; + virtual Standard_Boolean ClosedAndTangent (const Standard_Integer IC); + /****************** Contour ******************/ + %feature("compactdefaultargs") Contour; + %feature("autodoc", "* Returns the index of the contour containing the edge E, returns 0 if E doesn't belong to any contour. :param E: :type E: TopoDS_Edge & - :rtype: int -") Contour; + :rtype: int") Contour; virtual Standard_Integer Contour (const TopoDS_Edge & E); - %feature("compactdefaultargs") NbEdges; - %feature("autodoc", " * Number of Edges in the contour I. - :param I: - :type I: int - :rtype: int -") NbEdges; - virtual Standard_Integer NbEdges (const Standard_Integer I); + /****************** Edge ******************/ %feature("compactdefaultargs") Edge; - %feature("autodoc", " * Returns the Edge J in the contour I. - + %feature("autodoc", "* Returns the Edge J in the contour I. :param I: :type I: int :param J: :type J: int - :rtype: TopoDS_Edge -") Edge; + :rtype: TopoDS_Edge") Edge; virtual const TopoDS_Edge Edge (const Standard_Integer I,const Standard_Integer J); - %feature("compactdefaultargs") Remove; - %feature("autodoc", " * remove the contour containing the Edge E. - - :param E: - :type E: TopoDS_Edge & - :rtype: void -") Remove; - virtual void Remove (const TopoDS_Edge & E); - %feature("compactdefaultargs") Length; - %feature("autodoc", " * returns the length the contour of index IC. - :param IC: - :type IC: int - :rtype: float -") Length; - virtual Standard_Real Length (const Standard_Integer IC); + /****************** FirstVertex ******************/ %feature("compactdefaultargs") FirstVertex; - %feature("autodoc", " * Returns the first Vertex of the contour of index IC. - + %feature("autodoc", "* Returns the first Vertex of the contour of index IC. :param IC: :type IC: int - :rtype: TopoDS_Vertex -") FirstVertex; + :rtype: TopoDS_Vertex") FirstVertex; virtual TopoDS_Vertex FirstVertex (const Standard_Integer IC); - %feature("compactdefaultargs") LastVertex; - %feature("autodoc", " * Returns the last Vertex of the contour of index IC. + /****************** LastVertex ******************/ + %feature("compactdefaultargs") LastVertex; + %feature("autodoc", "* Returns the last Vertex of the contour of index IC. :param IC: :type IC: int - :rtype: TopoDS_Vertex -") LastVertex; + :rtype: TopoDS_Vertex") LastVertex; virtual TopoDS_Vertex LastVertex (const Standard_Integer IC); - %feature("compactdefaultargs") Abscissa; - %feature("autodoc", " * returns the abscissa of the vertex V on the contour of index IC. + /****************** Length ******************/ + %feature("compactdefaultargs") Length; + %feature("autodoc", "* returns the length the contour of index IC. :param IC: :type IC: int - :param V: - :type V: TopoDS_Vertex & - :rtype: float -") Abscissa; - virtual Standard_Real Abscissa (const Standard_Integer IC,const TopoDS_Vertex & V); - %feature("compactdefaultargs") RelativeAbscissa; - %feature("autodoc", " * returns the relative abscissa([0.,1.]) of the vertex V on the contour of index IC. + :rtype: float") Length; + virtual Standard_Real Length (const Standard_Integer IC); + + /****************** NbContours ******************/ + %feature("compactdefaultargs") NbContours; + %feature("autodoc", "* Number of contours. + :rtype: int") NbContours; + virtual Standard_Integer NbContours (); + + /****************** NbEdges ******************/ + %feature("compactdefaultargs") NbEdges; + %feature("autodoc", "* Number of Edges in the contour I. + :param I: + :type I: int + :rtype: int") NbEdges; + virtual Standard_Integer NbEdges (const Standard_Integer I); + + /****************** NbSurf ******************/ + %feature("compactdefaultargs") NbSurf; + %feature("autodoc", ":param IC: + :type IC: int + :rtype: int") NbSurf; + virtual Standard_Integer NbSurf (const Standard_Integer IC); + /****************** RelativeAbscissa ******************/ + %feature("compactdefaultargs") RelativeAbscissa; + %feature("autodoc", "* returns the relative abscissa([0.,1.]) of the vertex V on the contour of index IC. :param IC: :type IC: int :param V: :type V: TopoDS_Vertex & - :rtype: float -") RelativeAbscissa; + :rtype: float") RelativeAbscissa; virtual Standard_Real RelativeAbscissa (const Standard_Integer IC,const TopoDS_Vertex & V); - %feature("compactdefaultargs") ClosedAndTangent; - %feature("autodoc", " * returns true if the contour of index IC is closed an tangent. - :param IC: - :type IC: int - :rtype: bool -") ClosedAndTangent; - virtual Standard_Boolean ClosedAndTangent (const Standard_Integer IC); - %feature("compactdefaultargs") Closed; - %feature("autodoc", " * returns true if the contour of index IC is closed + /****************** Remove ******************/ + %feature("compactdefaultargs") Remove; + %feature("autodoc", "* remove the contour containing the Edge E. + :param E: + :type E: TopoDS_Edge & + :rtype: void") Remove; + virtual void Remove (const TopoDS_Edge & E); - :param IC: - :type IC: int - :rtype: bool -") Closed; - virtual Standard_Boolean Closed (const Standard_Integer IC); + /****************** Reset ******************/ %feature("compactdefaultargs") Reset; - %feature("autodoc", " * Reset all the fields updated by Build operation and leave the algorithm in the same state than before build call. It allows contours and radius modifications to build the result another time. - - :rtype: void -") Reset; + %feature("autodoc", "* Reset all the fields updated by Build operation and leave the algorithm in the same state than before build call. It allows contours and radius modifications to build the result another time. + :rtype: void") Reset; virtual void Reset (); - %feature("compactdefaultargs") Simulate; - %feature("autodoc", " :param IC: - :type IC: int - :rtype: void -") Simulate; - virtual void Simulate (const Standard_Integer IC); - %feature("compactdefaultargs") NbSurf; - %feature("autodoc", " :param IC: + + /****************** ResetContour ******************/ + %feature("compactdefaultargs") ResetContour; + %feature("autodoc", "* Reset the contour of index IC, there is nomore information in the contour. + :param IC: :type IC: int - :rtype: int -") NbSurf; - virtual Standard_Integer NbSurf (const Standard_Integer IC); + :rtype: void") ResetContour; + virtual void ResetContour (const Standard_Integer IC); + + /****************** Sect ******************/ %feature("compactdefaultargs") Sect; - %feature("autodoc", " :param IC: + %feature("autodoc", ":param IC: :type IC: int :param IS: :type IS: int - :rtype: Handle_ChFiDS_SecHArray1 -") Sect; - virtual Handle_ChFiDS_SecHArray1 Sect (const Standard_Integer IC,const Standard_Integer IS); + :rtype: opencascade::handle") Sect; + virtual opencascade::handle Sect (const Standard_Integer IC,const Standard_Integer IS); + + /****************** Simulate ******************/ + %feature("compactdefaultargs") Simulate; + %feature("autodoc", ":param IC: + :type IC: int + :rtype: void") Simulate; + virtual void Simulate (const Standard_Integer IC); + }; @@ -199,72 +265,16 @@ class BRepFilletAPI_LocalOperation : public BRepBuilderAPI_MakeShape { __repr__ = _dumps_object } }; + +/*********************************** +* class BRepFilletAPI_MakeFillet2d * +***********************************/ %nodefaultctor BRepFilletAPI_MakeFillet2d; class BRepFilletAPI_MakeFillet2d : public BRepBuilderAPI_MakeShape { public: - %feature("compactdefaultargs") BRepFilletAPI_MakeFillet2d; - %feature("autodoc", " * Initializes an empty algorithm for computing fillets and chamfers. The face on which the fillets and chamfers are built is defined using the Init function. The vertices on which fillets or chamfers are built are defined using the AddFillet or AddChamfer function. Warning The status of the initialization, as given by the Status function, can be one of the following: - ChFi2d_Ready if the initialization is correct, - ChFi2d_NotPlanar if F is not planar, - ChFi2d_NoFace if F is a null face. - - :rtype: None -") BRepFilletAPI_MakeFillet2d; - BRepFilletAPI_MakeFillet2d (); - %feature("compactdefaultargs") BRepFilletAPI_MakeFillet2d; - %feature("autodoc", " * Initializes an algorithm for computing fillets and chamfers on the face F. The vertices on which fillets or chamfers are built are defined using the AddFillet or AddChamfer function. Warning The status of the initialization, as given by the Status function, can be one of the following: - ChFi2d_Ready if the initialization is correct, - ChFi2d_NotPlanar if F is not planar, - ChFi2d_NoFace if F is a null face. - - :param F: - :type F: TopoDS_Face & - :rtype: None -") BRepFilletAPI_MakeFillet2d; - BRepFilletAPI_MakeFillet2d (const TopoDS_Face & F); - %feature("compactdefaultargs") Init; - %feature("autodoc", " * Initializes this algorithm for constructing fillets or chamfers with the face F. Warning The status of the initialization, as given by the Status function, can be one of the following: - ChFi2d_Ready if the initialization is correct, - ChFi2d_NotPlanar if F is not planar, - ChFi2d_NoFace if F is a null face. - - :param F: - :type F: TopoDS_Face & - :rtype: None -") Init; - void Init (const TopoDS_Face & F); - %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 . - - :param RefFace: - :type RefFace: TopoDS_Face & - :param ModFace: - :type ModFace: TopoDS_Face & - :rtype: None -") Init; - void Init (const TopoDS_Face & RefFace,const TopoDS_Face & ModFace); - %feature("compactdefaultargs") AddFillet; - %feature("autodoc", " * Adds a fillet of radius Radius between the two edges adjacent to the vertex V on the face modified by this algorithm. The two edges do not need to be rectilinear. This function returns the fillet and builds the resulting face. Warning The status of the construction, as given by the Status function, can be one of the following: - ChFi2d_IsDone if the fillet is built, - ChFi2d_ConnexionError if V does not belong to the initial face, - ChFi2d_ComputationError if Radius is too large to build a fillet between the two adjacent edges, - ChFi2d_NotAuthorized - if one of the two edges connected to V is a fillet or chamfer, or - if a curve other than a straight line or an arc of a circle is used as E, E1 or E2. Do not use the returned fillet if the status of the construction is not ChFi2d_IsDone. Exceptions Standard_NegativeValue if Radius is less than or equal to zero. - - :param V: - :type V: TopoDS_Vertex & - :param Radius: - :type Radius: float - :rtype: TopoDS_Edge -") AddFillet; - TopoDS_Edge AddFillet (const TopoDS_Vertex & V,const Standard_Real Radius); - %feature("compactdefaultargs") ModifyFillet; - %feature("autodoc", " * Assigns the radius Radius to the fillet Fillet already built on the face modified by this algorithm. This function returns the new fillet and modifies the existing face. Warning The status of the construction, as given by the Status function, can be one of the following: - ChFi2d_IsDone if the new fillet is built, - ChFi2d_ConnexionError if Fillet does not belong to the existing face, - ChFi2d_ComputationError if Radius is too large to build a fillet between the two adjacent edges. Do not use the returned fillet if the status of the construction is not ChFi2d_IsDone. Exceptions Standard_NegativeValue if Radius is less than or equal to zero. - - :param Fillet: - :type Fillet: TopoDS_Edge & - :param Radius: - :type Radius: float - :rtype: TopoDS_Edge -") ModifyFillet; - TopoDS_Edge ModifyFillet (const TopoDS_Edge & Fillet,const Standard_Real Radius); - %feature("compactdefaultargs") RemoveFillet; - %feature("autodoc", " * Removes the fillet Fillet already built on the face modified by this algorithm. This function returns the vertex connecting the two adjacent edges of Fillet and modifies the existing face. Warning - The returned vertex is only valid if the Status function returns ChFi2d_IsDone. - A null vertex is returned if the edge Fillet does not belong to the initial face. - - :param Fillet: - :type Fillet: TopoDS_Edge & - :rtype: TopoDS_Vertex -") RemoveFillet; - TopoDS_Vertex RemoveFillet (const TopoDS_Edge & Fillet); + /****************** AddChamfer ******************/ %feature("compactdefaultargs") AddChamfer; - %feature("autodoc", " * Adds a chamfer on the face modified by this algorithm between the two adjacent edges E1 and E2, where the extremities of the chamfer are on E1 and E2 at distances D1 and D2 respectively In cases where the edges are not rectilinear, distances are measured using the curvilinear abscissa of the edges and the angle is measured with respect to the tangent at the corresponding point. The angle Ang is given in radians. This function returns the chamfer and builds the resulting face. - + %feature("autodoc", "* Adds a chamfer on the face modified by this algorithm between the two adjacent edges E1 and E2, where the extremities of the chamfer are on E1 and E2 at distances D1 and D2 respectively In cases where the edges are not rectilinear, distances are measured using the curvilinear abscissa of the edges and the angle is measured with respect to the tangent at the corresponding point. The angle Ang is given in radians. This function returns the chamfer and builds the resulting face. :param E1: :type E1: TopoDS_Edge & :param E2: @@ -273,12 +283,12 @@ class BRepFilletAPI_MakeFillet2d : public BRepBuilderAPI_MakeShape { :type D1: float :param D2: :type D2: float - :rtype: TopoDS_Edge -") AddChamfer; + :rtype: TopoDS_Edge") AddChamfer; TopoDS_Edge AddChamfer (const TopoDS_Edge & E1,const TopoDS_Edge & E2,const Standard_Real D1,const Standard_Real D2); - %feature("compactdefaultargs") AddChamfer; - %feature("autodoc", " * Adds a chamfer on the face modified by this algorithm between the two edges connected by the vertex V, where E is one of the two edges. The chamfer makes an angle Ang with E and one of its extremities is on E at distance D from V. In cases where the edges are not rectilinear, distances are measured using the curvilinear abscissa of the edges and the angle is measured with respect to the tangent at the corresponding point. The angle Ang is given in radians. This function returns the chamfer and builds the resulting face. Warning The status of the construction, as given by the Status function, can be one of the following: - ChFi2d_IsDone if the chamfer is built, - ChFi2d_ParametersError if D1, D2, D or Ang is less than or equal to zero, - ChFi2d_ConnexionError if: - the edge E, E1 or E2 does not belong to the initial face, or - the edges E1 and E2 are not adjacent, or - the vertex V is not one of the limit points of the edge E, - ChFi2d_ComputationError if the parameters of the chamfer are too large to build a chamfer between the two adjacent edges, - ChFi2d_NotAuthorized if: - the edge E1, E2 or one of the two edges connected to V is a fillet or chamfer, or - a curve other than a straight line or an arc of a circle is used as E, E1 or E2. Do not use the returned chamfer if the status of the construction is not ChFi2d_IsDone. + /****************** AddChamfer ******************/ + %feature("compactdefaultargs") AddChamfer; + %feature("autodoc", "* Adds a chamfer on the face modified by this algorithm between the two edges connected by the vertex V, where E is one of the two edges. The chamfer makes an angle Ang with E and one of its extremities is on E at distance D from V. In cases where the edges are not rectilinear, distances are measured using the curvilinear abscissa of the edges and the angle is measured with respect to the tangent at the corresponding point. The angle Ang is given in radians. This function returns the chamfer and builds the resulting face. Warning The status of the construction, as given by the Status function, can be one of the following: - ChFi2d_IsDone if the chamfer is built, - ChFi2d_ParametersError if D1, D2, D or Ang is less than or equal to zero, - ChFi2d_ConnexionError if: - the edge E, E1 or E2 does not belong to the initial face, or - the edges E1 and E2 are not adjacent, or - the vertex V is not one of the limit points of the edge E, - ChFi2d_ComputationError if the parameters of the chamfer are too large to build a chamfer between the two adjacent edges, - ChFi2d_NotAuthorized if: - the edge E1, E2 or one of the two edges connected to V is a fillet or chamfer, or - a curve other than a straight line or an arc of a circle is used as E, E1 or E2. Do not use the returned chamfer if the status of the construction is not ChFi2d_IsDone. :param E: :type E: TopoDS_Edge & :param V: @@ -287,12 +297,111 @@ class BRepFilletAPI_MakeFillet2d : public BRepBuilderAPI_MakeShape { :type D: float :param Ang: :type Ang: float - :rtype: TopoDS_Edge -") AddChamfer; + :rtype: TopoDS_Edge") AddChamfer; TopoDS_Edge AddChamfer (const TopoDS_Edge & E,const TopoDS_Vertex & V,const Standard_Real D,const Standard_Real Ang); - %feature("compactdefaultargs") ModifyChamfer; - %feature("autodoc", " * Modifies the chamfer Chamfer on the face modified by this algorithm, where: E1 and E2 are the two adjacent edges on which Chamfer is already built; the extremities of the new chamfer are on E1 and E2 at distances D1 and D2 respectively. + /****************** AddFillet ******************/ + %feature("compactdefaultargs") AddFillet; + %feature("autodoc", "* Adds a fillet of radius Radius between the two edges adjacent to the vertex V on the face modified by this algorithm. The two edges do not need to be rectilinear. This function returns the fillet and builds the resulting face. Warning The status of the construction, as given by the Status function, can be one of the following: - ChFi2d_IsDone if the fillet is built, - ChFi2d_ConnexionError if V does not belong to the initial face, - ChFi2d_ComputationError if Radius is too large to build a fillet between the two adjacent edges, - ChFi2d_NotAuthorized - if one of the two edges connected to V is a fillet or chamfer, or - if a curve other than a straight line or an arc of a circle is used as E, E1 or E2. Do not use the returned fillet if the status of the construction is not ChFi2d_IsDone. Exceptions Standard_NegativeValue if Radius is less than or equal to zero. + :param V: + :type V: TopoDS_Vertex & + :param Radius: + :type Radius: float + :rtype: TopoDS_Edge") AddFillet; + TopoDS_Edge AddFillet (const TopoDS_Vertex & V,const Standard_Real Radius); + + /****************** BRepFilletAPI_MakeFillet2d ******************/ + %feature("compactdefaultargs") BRepFilletAPI_MakeFillet2d; + %feature("autodoc", "* Initializes an empty algorithm for computing fillets and chamfers. The face on which the fillets and chamfers are built is defined using the Init function. The vertices on which fillets or chamfers are built are defined using the AddFillet or AddChamfer function. Warning The status of the initialization, as given by the Status function, can be one of the following: - ChFi2d_Ready if the initialization is correct, - ChFi2d_NotPlanar if F is not planar, - ChFi2d_NoFace if F is a null face. + :rtype: None") BRepFilletAPI_MakeFillet2d; + BRepFilletAPI_MakeFillet2d (); + + /****************** BRepFilletAPI_MakeFillet2d ******************/ + %feature("compactdefaultargs") BRepFilletAPI_MakeFillet2d; + %feature("autodoc", "* Initializes an algorithm for computing fillets and chamfers on the face F. The vertices on which fillets or chamfers are built are defined using the AddFillet or AddChamfer function. Warning The status of the initialization, as given by the Status function, can be one of the following: - ChFi2d_Ready if the initialization is correct, - ChFi2d_NotPlanar if F is not planar, - ChFi2d_NoFace if F is a null face. + :param F: + :type F: TopoDS_Face & + :rtype: None") BRepFilletAPI_MakeFillet2d; + BRepFilletAPI_MakeFillet2d (const TopoDS_Face & F); + + /****************** BasisEdge ******************/ + %feature("compactdefaultargs") BasisEdge; + %feature("autodoc", "* Returns the basis edge on the face modified by this algorithm from which the chamfered or filleted edge E is built. If E has not been modified, this function returns E. Warning E is returned if it does not belong to the initial face. + :param E: + :type E: TopoDS_Edge & + :rtype: TopoDS_Edge") BasisEdge; + const TopoDS_Edge BasisEdge (const TopoDS_Edge & E); + + /****************** Build ******************/ + %feature("compactdefaultargs") Build; + %feature("autodoc", "* Update the result and set the Done flag + :rtype: void") Build; + virtual void Build (); + + /****************** ChamferEdges ******************/ + %feature("compactdefaultargs") ChamferEdges; + %feature("autodoc", "* Returns the table of chamfers on the face modified by this algorithm. + :rtype: TopTools_SequenceOfShape") ChamferEdges; + const TopTools_SequenceOfShape & ChamferEdges (); + + /****************** DescendantEdge ******************/ + %feature("compactdefaultargs") DescendantEdge; + %feature("autodoc", "* Returns the chamfered or filleted edge built from the edge E on the face modified by this algorithm. If E has not been modified, this function returns E. Exceptions Standard_NoSuchObject if the edge E does not belong to the initial face. + :param E: + :type E: TopoDS_Edge & + :rtype: TopoDS_Edge") DescendantEdge; + const TopoDS_Edge DescendantEdge (const TopoDS_Edge & E); + + /****************** FilletEdges ******************/ + %feature("compactdefaultargs") FilletEdges; + %feature("autodoc", "* Returns the table of fillets on the face modified by this algorithm. + :rtype: TopTools_SequenceOfShape") FilletEdges; + const TopTools_SequenceOfShape & FilletEdges (); + + /****************** HasDescendant ******************/ + %feature("compactdefaultargs") HasDescendant; + %feature("autodoc", ":param E: + :type E: TopoDS_Edge & + :rtype: bool") HasDescendant; + Standard_Boolean HasDescendant (const TopoDS_Edge & E); + + /****************** Init ******************/ + %feature("compactdefaultargs") Init; + %feature("autodoc", "* Initializes this algorithm for constructing fillets or chamfers with the face F. Warning The status of the initialization, as given by the Status function, can be one of the following: - ChFi2d_Ready if the initialization is correct, - ChFi2d_NotPlanar if F is not planar, - ChFi2d_NoFace if F is a null face. + :param F: + :type F: TopoDS_Face & + :rtype: None") Init; + void Init (const TopoDS_Face & F); + + /****************** Init ******************/ + %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 . + :param RefFace: + :type RefFace: TopoDS_Face & + :param ModFace: + :type ModFace: TopoDS_Face & + :rtype: None") Init; + void Init (const TopoDS_Face & RefFace,const TopoDS_Face & ModFace); + + /****************** IsModified ******************/ + %feature("compactdefaultargs") IsModified; + %feature("autodoc", "* Returns true if the edge E on the face modified by this algorithm is chamfered or filleted. Warning Returns false if E does not belong to the face modified by this algorithm. + :param E: + :type E: TopoDS_Edge & + :rtype: bool") IsModified; + Standard_Boolean IsModified (const TopoDS_Edge & E); + + /****************** Modified ******************/ + %feature("compactdefaultargs") Modified; + %feature("autodoc", "* Returns the list of shapes modified from the shape . + :param S: + :type S: TopoDS_Shape & + :rtype: TopTools_ListOfShape") Modified; + virtual const TopTools_ListOfShape & Modified (const TopoDS_Shape & S); + + /****************** ModifyChamfer ******************/ + %feature("compactdefaultargs") ModifyChamfer; + %feature("autodoc", "* Modifies the chamfer Chamfer on the face modified by this algorithm, where: E1 and E2 are the two adjacent edges on which Chamfer is already built; the extremities of the new chamfer are on E1 and E2 at distances D1 and D2 respectively. :param Chamfer: :type Chamfer: TopoDS_Edge & :param E1: @@ -303,12 +412,12 @@ class BRepFilletAPI_MakeFillet2d : public BRepBuilderAPI_MakeShape { :type D1: float :param D2: :type D2: float - :rtype: TopoDS_Edge -") ModifyChamfer; + :rtype: TopoDS_Edge") ModifyChamfer; TopoDS_Edge ModifyChamfer (const TopoDS_Edge & Chamfer,const TopoDS_Edge & E1,const TopoDS_Edge & E2,const Standard_Real D1,const Standard_Real D2); - %feature("compactdefaultargs") ModifyChamfer; - %feature("autodoc", " * Modifies the chamfer Chamfer on the face modified by this algorithm, where: E is one of the two adjacent edges on which Chamfer is already built; the new chamfer makes an angle Ang with E and one of its extremities is on E at distance D from the vertex on which the chamfer is built. In cases where the edges are not rectilinear, the distances are measured using the curvilinear abscissa of the edges and the angle is measured with respect to the tangent at the corresponding point. The angle Ang is given in radians. This function returns the new chamfer and modifies the existing face. Warning The status of the construction, as given by the Status function, can be one of the following: - ChFi2d_IsDone if the chamfer is built, - ChFi2d_ParametersError if D1, D2, D or Ang is less than or equal to zero, - ChFi2d_ConnexionError if: - the edge E, E1, E2 or Chamfer does not belong to the existing face, or - the edges E1 and E2 are not adjacent, - ChFi2d_ComputationError if the parameters of the chamfer are too large to build a chamfer between the two adjacent edges, - ChFi2d_NotAuthorized if E1 or E2 is a fillet or chamfer. Do not use the returned chamfer if the status of the construction is not ChFi2d_IsDone. + /****************** ModifyChamfer ******************/ + %feature("compactdefaultargs") ModifyChamfer; + %feature("autodoc", "* Modifies the chamfer Chamfer on the face modified by this algorithm, where: E is one of the two adjacent edges on which Chamfer is already built; the new chamfer makes an angle Ang with E and one of its extremities is on E at distance D from the vertex on which the chamfer is built. In cases where the edges are not rectilinear, the distances are measured using the curvilinear abscissa of the edges and the angle is measured with respect to the tangent at the corresponding point. The angle Ang is given in radians. This function returns the new chamfer and modifies the existing face. Warning The status of the construction, as given by the Status function, can be one of the following: - ChFi2d_IsDone if the chamfer is built, - ChFi2d_ParametersError if D1, D2, D or Ang is less than or equal to zero, - ChFi2d_ConnexionError if: - the edge E, E1, E2 or Chamfer does not belong to the existing face, or - the edges E1 and E2 are not adjacent, - ChFi2d_ComputationError if the parameters of the chamfer are too large to build a chamfer between the two adjacent edges, - ChFi2d_NotAuthorized if E1 or E2 is a fillet or chamfer. Do not use the returned chamfer if the status of the construction is not ChFi2d_IsDone. :param Chamfer: :type Chamfer: TopoDS_Edge & :param E: @@ -317,103 +426,66 @@ class BRepFilletAPI_MakeFillet2d : public BRepBuilderAPI_MakeShape { :type D: float :param Ang: :type Ang: float - :rtype: TopoDS_Edge -") ModifyChamfer; + :rtype: TopoDS_Edge") ModifyChamfer; TopoDS_Edge ModifyChamfer (const TopoDS_Edge & Chamfer,const TopoDS_Edge & E,const Standard_Real D,const Standard_Real Ang); - %feature("compactdefaultargs") RemoveChamfer; - %feature("autodoc", " * Removes the chamfer Chamfer already built on the face modified by this algorithm. This function returns the vertex connecting the two adjacent edges of Chamfer and modifies the existing face. Warning - The returned vertex is only valid if the Status function returns ChFi2d_IsDone. - A null vertex is returned if the edge Chamfer does not belong to the initial face. - - :param Chamfer: - :type Chamfer: TopoDS_Edge & - :rtype: TopoDS_Vertex -") RemoveChamfer; - TopoDS_Vertex RemoveChamfer (const TopoDS_Edge & Chamfer); - %feature("compactdefaultargs") IsModified; - %feature("autodoc", " * Returns true if the edge E on the face modified by this algorithm is chamfered or filleted. Warning Returns false if E does not belong to the face modified by this algorithm. - - :param E: - :type E: TopoDS_Edge & - :rtype: bool -") IsModified; - Standard_Boolean IsModified (const TopoDS_Edge & E); - %feature("compactdefaultargs") FilletEdges; - %feature("autodoc", " * Returns the table of fillets on the face modified by this algorithm. - - :rtype: TopTools_SequenceOfShape -") FilletEdges; - const TopTools_SequenceOfShape & FilletEdges (); - %feature("compactdefaultargs") NbFillet; - %feature("autodoc", " * Returns the number of fillets on the face modified by this algorithm. - :rtype: int -") NbFillet; - Standard_Integer NbFillet (); - %feature("compactdefaultargs") ChamferEdges; - %feature("autodoc", " * Returns the table of chamfers on the face modified by this algorithm. + /****************** ModifyFillet ******************/ + %feature("compactdefaultargs") ModifyFillet; + %feature("autodoc", "* Assigns the radius Radius to the fillet Fillet already built on the face modified by this algorithm. This function returns the new fillet and modifies the existing face. Warning The status of the construction, as given by the Status function, can be one of the following: - ChFi2d_IsDone if the new fillet is built, - ChFi2d_ConnexionError if Fillet does not belong to the existing face, - ChFi2d_ComputationError if Radius is too large to build a fillet between the two adjacent edges. Do not use the returned fillet if the status of the construction is not ChFi2d_IsDone. Exceptions Standard_NegativeValue if Radius is less than or equal to zero. + :param Fillet: + :type Fillet: TopoDS_Edge & + :param Radius: + :type Radius: float + :rtype: TopoDS_Edge") ModifyFillet; + TopoDS_Edge ModifyFillet (const TopoDS_Edge & Fillet,const Standard_Real Radius); - :rtype: TopTools_SequenceOfShape -") ChamferEdges; - const TopTools_SequenceOfShape & ChamferEdges (); + /****************** NbChamfer ******************/ %feature("compactdefaultargs") NbChamfer; - %feature("autodoc", " * Returns the number of chamfers on the face modified by this algorithm. - - :rtype: int -") NbChamfer; + %feature("autodoc", "* Returns the number of chamfers on the face modified by this algorithm. + :rtype: int") NbChamfer; Standard_Integer NbChamfer (); - %feature("compactdefaultargs") Modified; - %feature("autodoc", " * Returns the list of shapes modified from the shape . - :param S: - :type S: TopoDS_Shape & - :rtype: TopTools_ListOfShape -") Modified; - virtual const TopTools_ListOfShape & Modified (const TopoDS_Shape & S); + /****************** NbCurves ******************/ %feature("compactdefaultargs") NbCurves; - %feature("autodoc", " * returns the number of new curves after the shape creation. - - :rtype: int -") NbCurves; + %feature("autodoc", "* returns the number of new curves after the shape creation. + :rtype: int") NbCurves; Standard_Integer NbCurves (); - %feature("compactdefaultargs") NewEdges; - %feature("autodoc", " * Return the Edges created for curve I. + /****************** NbFillet ******************/ + %feature("compactdefaultargs") NbFillet; + %feature("autodoc", "* Returns the number of fillets on the face modified by this algorithm. + :rtype: int") NbFillet; + Standard_Integer NbFillet (); + + /****************** NewEdges ******************/ + %feature("compactdefaultargs") NewEdges; + %feature("autodoc", "* Return the Edges created for curve I. :param I: :type I: int - :rtype: TopTools_ListOfShape -") NewEdges; + :rtype: TopTools_ListOfShape") NewEdges; const TopTools_ListOfShape & NewEdges (const Standard_Integer I); - %feature("compactdefaultargs") HasDescendant; - %feature("autodoc", " :param E: - :type E: TopoDS_Edge & - :rtype: bool -") HasDescendant; - Standard_Boolean HasDescendant (const TopoDS_Edge & E); - %feature("compactdefaultargs") DescendantEdge; - %feature("autodoc", " * Returns the chamfered or filleted edge built from the edge E on the face modified by this algorithm. If E has not been modified, this function returns E. Exceptions Standard_NoSuchObject if the edge E does not belong to the initial face. - - :param E: - :type E: TopoDS_Edge & - :rtype: TopoDS_Edge -") DescendantEdge; - const TopoDS_Edge DescendantEdge (const TopoDS_Edge & E); - %feature("compactdefaultargs") BasisEdge; - %feature("autodoc", " * Returns the basis edge on the face modified by this algorithm from which the chamfered or filleted edge E is built. If E has not been modified, this function returns E. Warning E is returned if it does not belong to the initial face. - :param E: - :type E: TopoDS_Edge & - :rtype: TopoDS_Edge -") BasisEdge; - const TopoDS_Edge BasisEdge (const TopoDS_Edge & E); - %feature("compactdefaultargs") Status; - %feature("autodoc", " :rtype: ChFi2d_ConstructionError -") Status; - ChFi2d_ConstructionError Status (); - %feature("compactdefaultargs") Build; - %feature("autodoc", " * Update the result and set the Done flag + /****************** RemoveChamfer ******************/ + %feature("compactdefaultargs") RemoveChamfer; + %feature("autodoc", "* Removes the chamfer Chamfer already built on the face modified by this algorithm. This function returns the vertex connecting the two adjacent edges of Chamfer and modifies the existing face. Warning - The returned vertex is only valid if the Status function returns ChFi2d_IsDone. - A null vertex is returned if the edge Chamfer does not belong to the initial face. + :param Chamfer: + :type Chamfer: TopoDS_Edge & + :rtype: TopoDS_Vertex") RemoveChamfer; + TopoDS_Vertex RemoveChamfer (const TopoDS_Edge & Chamfer); + + /****************** RemoveFillet ******************/ + %feature("compactdefaultargs") RemoveFillet; + %feature("autodoc", "* Removes the fillet Fillet already built on the face modified by this algorithm. This function returns the vertex connecting the two adjacent edges of Fillet and modifies the existing face. Warning - The returned vertex is only valid if the Status function returns ChFi2d_IsDone. - A null vertex is returned if the edge Fillet does not belong to the initial face. + :param Fillet: + :type Fillet: TopoDS_Edge & + :rtype: TopoDS_Vertex") RemoveFillet; + TopoDS_Vertex RemoveFillet (const TopoDS_Edge & Fillet); + + /****************** Status ******************/ + %feature("compactdefaultargs") Status; + %feature("autodoc", ":rtype: ChFi2d_ConstructionError") Status; + ChFi2d_ConstructionError Status (); - :rtype: void -") Build; - virtual void Build (); }; @@ -422,60 +494,44 @@ class BRepFilletAPI_MakeFillet2d : public BRepBuilderAPI_MakeShape { __repr__ = _dumps_object } }; + +/********************************** +* class BRepFilletAPI_MakeChamfer * +**********************************/ %nodefaultctor BRepFilletAPI_MakeChamfer; class BRepFilletAPI_MakeChamfer : public BRepFilletAPI_LocalOperation { public: - %feature("compactdefaultargs") BRepFilletAPI_MakeChamfer; - %feature("autodoc", " * Initializes an algorithm for computing chamfers on the shape S. The edges on which chamfers are built are defined using the Add function. + /****************** Abscissa ******************/ + %feature("compactdefaultargs") Abscissa; + %feature("autodoc", "* Returns the curvilinear abscissa of the vertex V on the contour of index IC in the internal data structure of this algorithm. Warning Returns -1. if: - IC is outside the bounds of the table of contours, or - V is not on the contour of index IC. + :param IC: + :type IC: int + :param V: + :type V: TopoDS_Vertex & + :rtype: float") Abscissa; + Standard_Real Abscissa (const Standard_Integer IC,const TopoDS_Vertex & V); - :param S: - :type S: TopoDS_Shape & - :rtype: None -") BRepFilletAPI_MakeChamfer; - BRepFilletAPI_MakeChamfer (const TopoDS_Shape & S); + /****************** Add ******************/ %feature("compactdefaultargs") Add; - %feature("autodoc", " * Adds edge E to the table of edges used by this algorithm to build chamfers, where the parameters of the chamfer must be set after the - + %feature("autodoc", "* Adds edge E to the table of edges used by this algorithm to build chamfers, where the parameters of the chamfer must be set after the :param E: :type E: TopoDS_Edge & - :rtype: None -") Add; + :rtype: None") Add; void Add (const TopoDS_Edge & E); - %feature("compactdefaultargs") Add; - %feature("autodoc", " * Adds edge E to the table of edges used by this algorithm to build chamfers, where the parameters of the chamfer are given by the two distances Dis1 and Dis2; the face F identifies the side where Dis1 is measured. The Add function results in a contour being built by propagation from the edge E (i.e. the contour contains at least this edge). This contour is composed of edges of the shape which are tangential to one another and which delimit two series of tangential faces, with one series of faces being located on either side of the contour. Warning Nothing is done if edge E or the face F does not belong to the initial shape. + /****************** Add ******************/ + %feature("compactdefaultargs") Add; + %feature("autodoc", "* Adds edge E to the table of edges used by this algorithm to build chamfers, where the parameters of the chamfer are given by the distance Dis (symmetric chamfer). The Add function results in a contour being built by propagation from the edge E (i.e. the contour contains at least this edge). This contour is composed of edges of the shape which are tangential to one another and which delimit two series of tangential faces, with one series of faces being located on either side of the contour. Warning Nothing is done if edge E or the face F does not belong to the initial shape. :param Dis: :type Dis: float :param E: :type E: TopoDS_Edge & - :param F: - :type F: TopoDS_Face & - :rtype: None -") Add; - void Add (const Standard_Real Dis,const TopoDS_Edge & E,const TopoDS_Face & F); - %feature("compactdefaultargs") SetDist; - %feature("autodoc", " * Sets the distances Dis1 and Dis2 which give the parameters of the chamfer along the contour of index IC generated using the Add function in the internal data structure of this algorithm. The face F identifies the side where Dis1 is measured. Warning Nothing is done if either the edge E or the face F does not belong to the initial shape. + :rtype: None") Add; + void Add (const Standard_Real Dis,const TopoDS_Edge & E); - :param Dis: - :type Dis: float - :param IC: - :type IC: int - :param F: - :type F: TopoDS_Face & - :rtype: None -") SetDist; - void SetDist (const Standard_Real Dis,const Standard_Integer IC,const TopoDS_Face & F); - %feature("compactdefaultargs") GetDist; - %feature("autodoc", " :param IC: - :type IC: int - :param Dis: - :type Dis: float & - :rtype: None -") GetDist; - void GetDist (const Standard_Integer IC,Standard_Real &OutValue); + /****************** Add ******************/ %feature("compactdefaultargs") Add; - %feature("autodoc", " * Adds a fillet contour in the builder (builds a contour of tangent edges to and sets the two distances and ( parameters of the chamfer ) ). - + %feature("autodoc", "* Adds edge E to the table of edges used by this algorithm to build chamfers, where the parameters of the chamfer are given by the two distances Dis1 and Dis2; the face F identifies the side where Dis1 is measured. The Add function results in a contour being built by propagation from the edge E (i.e. the contour contains at least this edge). This contour is composed of edges of the shape which are tangential to one another and which delimit two series of tangential faces, with one series of faces being located on either side of the contour. Warning Nothing is done if edge E or the face F does not belong to the initial shape. :param Dis1: :type Dis1: float :param Dis2: @@ -484,269 +540,298 @@ class BRepFilletAPI_MakeChamfer : public BRepFilletAPI_LocalOperation { :type E: TopoDS_Edge & :param F: :type F: TopoDS_Face & - :rtype: None -") Add; + :rtype: None") Add; void Add (const Standard_Real Dis1,const Standard_Real Dis2,const TopoDS_Edge & E,const TopoDS_Face & F); - %feature("compactdefaultargs") SetDists; - %feature("autodoc", " * Sets the distances Dis1 and Dis2 which give the parameters of the chamfer along the contour of index IC generated using the Add function in the internal data structure of this algorithm. The face F identifies the side where Dis1 is measured. Warning Nothing is done if either the edge E or the face F does not belong to the initial shape. - :param Dis1: - :type Dis1: float - :param Dis2: - :type Dis2: float - :param IC: - :type IC: int + /****************** AddDA ******************/ + %feature("compactdefaultargs") AddDA; + %feature("autodoc", "* Adds a fillet contour in the builder (builds a contour of tangent edges to and sets the distance and angle ( parameters of the chamfer ) ). + :param Dis: + :type Dis: float + :param Angle: + :type Angle: float + :param E: + :type E: TopoDS_Edge & :param F: :type F: TopoDS_Face & - :rtype: None -") SetDists; - void SetDists (const Standard_Real Dis1,const Standard_Real Dis2,const Standard_Integer IC,const TopoDS_Face & F); - %feature("compactdefaultargs") Dists; - %feature("autodoc", " * Returns the distances Dis1 and Dis2 which give the parameters of the chamfer along the contour of index IC in the internal data structure of this algorithm. Warning -1. is returned if IC is outside the bounds of the table of contours. + :rtype: None") AddDA; + void AddDA (const Standard_Real Dis,const Standard_Real Angle,const TopoDS_Edge & E,const TopoDS_Face & F); + + /****************** BRepFilletAPI_MakeChamfer ******************/ + %feature("compactdefaultargs") BRepFilletAPI_MakeChamfer; + %feature("autodoc", "* Initializes an algorithm for computing chamfers on the shape S. The edges on which chamfers are built are defined using the Add function. + :param S: + :type S: TopoDS_Shape & + :rtype: None") BRepFilletAPI_MakeChamfer; + BRepFilletAPI_MakeChamfer (const TopoDS_Shape & S); + + /****************** Build ******************/ + %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. + :rtype: void") Build; + virtual void Build (); + /****************** Builder ******************/ + %feature("compactdefaultargs") Builder; + %feature("autodoc", "* Returns the internal filleting algorithm. + :rtype: opencascade::handle") Builder; + opencascade::handle Builder (); + + /****************** Closed ******************/ + %feature("compactdefaultargs") Closed; + %feature("autodoc", "* Returns true if the contour of index IC in the internal data structure of this algorithm is closed. Warning Returns false if IC is outside the bounds of the table of contours. + :param IC: + :type IC: int + :rtype: bool") Closed; + Standard_Boolean Closed (const Standard_Integer IC); + + /****************** ClosedAndTangent ******************/ + %feature("compactdefaultargs") ClosedAndTangent; + %feature("autodoc", "* eturns true if the contour of index IC in the internal data structure of this algorithm is closed and tangential at the point of closure. Warning Returns false if IC is outside the bounds of the table of contours. + :param IC: + :type IC: int + :rtype: bool") ClosedAndTangent; + Standard_Boolean ClosedAndTangent (const Standard_Integer IC); + + /****************** Contour ******************/ + %feature("compactdefaultargs") Contour; + %feature("autodoc", "* Returns the index of the contour in the internal data structure of this algorithm, which contains the edge E of the shape. This function returns 0 if the edge E does not belong to any contour. Warning This index can change if a contour is removed from the internal data structure of this algorithm using the function Remove. + :param E: + :type E: TopoDS_Edge & + :rtype: int") Contour; + Standard_Integer Contour (const TopoDS_Edge & E); + + /****************** Dists ******************/ + %feature("compactdefaultargs") Dists; + %feature("autodoc", "* Returns the distances Dis1 and Dis2 which give the parameters of the chamfer along the contour of index IC in the internal data structure of this algorithm. Warning -1. is returned if IC is outside the bounds of the table of contours. :param IC: :type IC: int :param Dis1: :type Dis1: float & :param Dis2: :type Dis2: float & - :rtype: None -") Dists; + :rtype: None") Dists; void Dists (const Standard_Integer IC,Standard_Real &OutValue,Standard_Real &OutValue); - %feature("compactdefaultargs") AddDA; - %feature("autodoc", " * Adds a fillet contour in the builder (builds a contour of tangent edges to and sets the distance and angle ( parameters of the chamfer ) ). - :param Dis: - :type Dis: float - :param Angle: - :type Angle: float - :param E: - :type E: TopoDS_Edge & - :param F: - :type F: TopoDS_Face & - :rtype: None -") AddDA; - void AddDA (const Standard_Real Dis,const Standard_Real Angle,const TopoDS_Edge & E,const TopoDS_Face & F); - %feature("compactdefaultargs") SetDistAngle; - %feature("autodoc", " * set the distance and of the fillet contour of index in the DS with on . if the face is not one of common faces of an edge of the contour + /****************** Edge ******************/ + %feature("compactdefaultargs") Edge; + %feature("autodoc", "* Returns the edge of index J in the contour of index I in the internal data structure of this algorithm. Warning Returns a null shape if: - I is outside the bounds of the table of contours, or - J is outside the bounds of the table of edges of the contour of index I. + :param I: + :type I: int + :param J: + :type J: int + :rtype: TopoDS_Edge") Edge; + const TopoDS_Edge Edge (const Standard_Integer I,const Standard_Integer J); - :param Dis: - :type Dis: float - :param Angle: - :type Angle: float + /****************** FirstVertex ******************/ + %feature("compactdefaultargs") FirstVertex; + %feature("autodoc", "* Returns the first vertex of the contour of index IC in the internal data structure of this algorithm. Warning Returns a null shape if IC is outside the bounds of the table of contours. :param IC: :type IC: int - :param F: - :type F: TopoDS_Face & - :rtype: None -") SetDistAngle; - void SetDistAngle (const Standard_Real Dis,const Standard_Real Angle,const Standard_Integer IC,const TopoDS_Face & F); - %feature("compactdefaultargs") GetDistAngle; - %feature("autodoc", " * gives the distances and of the fillet contour of index in the DS + :rtype: TopoDS_Vertex") FirstVertex; + TopoDS_Vertex FirstVertex (const Standard_Integer IC); + + /****************** Generated ******************/ + %feature("compactdefaultargs") Generated; + %feature("autodoc", "* Returns the list of shapes generated from the shape . + :param EorV: + :type EorV: TopoDS_Shape & + :rtype: TopTools_ListOfShape") Generated; + virtual const TopTools_ListOfShape & Generated (const TopoDS_Shape & EorV); + + /****************** GetDist ******************/ + %feature("compactdefaultargs") GetDist; + %feature("autodoc", ":param IC: + :type IC: int + :param Dis: + :type Dis: float & + :rtype: None") GetDist; + void GetDist (const Standard_Integer IC,Standard_Real &OutValue); + /****************** GetDistAngle ******************/ + %feature("compactdefaultargs") GetDistAngle; + %feature("autodoc", "* gives the distances and of the fillet contour of index in the DS :param IC: :type IC: int :param Dis: :type Dis: float & :param Angle: :type Angle: float & - :param DisOnFace1: - :type DisOnFace1: bool - :rtype: None -") GetDistAngle; - void GetDistAngle (const Standard_Integer IC,Standard_Real &OutValue,Standard_Real &OutValue,Standard_Boolean &OutValue); - %feature("compactdefaultargs") IsSymetric; - %feature("autodoc", " * return True if chamfer symetric false else. + :rtype: None") GetDistAngle; + void GetDistAngle (const Standard_Integer IC,Standard_Real &OutValue,Standard_Real &OutValue); + + /****************** IsDeleted ******************/ + %feature("compactdefaultargs") IsDeleted; + %feature("autodoc", ":param F: + :type F: TopoDS_Shape & + :rtype: bool") IsDeleted; + virtual Standard_Boolean IsDeleted (const TopoDS_Shape & F); + + /****************** IsDistanceAngle ******************/ + %feature("compactdefaultargs") IsDistanceAngle; + %feature("autodoc", "* return True if chamfer is made with distance and angle false else. + :param IC: + :type IC: int + :rtype: bool") IsDistanceAngle; + Standard_Boolean IsDistanceAngle (const Standard_Integer IC); + /****************** IsSymetric ******************/ + %feature("compactdefaultargs") IsSymetric; + %feature("autodoc", "* return True if chamfer symetric false else. :param IC: :type IC: int - :rtype: bool -") IsSymetric; + :rtype: bool") IsSymetric; Standard_Boolean IsSymetric (const Standard_Integer IC); - %feature("compactdefaultargs") IsTwoDistances; - %feature("autodoc", " * return True if chamfer is made with two distances false else. + /****************** IsTwoDistances ******************/ + %feature("compactdefaultargs") IsTwoDistances; + %feature("autodoc", "* return True if chamfer is made with two distances false else. :param IC: :type IC: int - :rtype: bool -") IsTwoDistances; + :rtype: bool") IsTwoDistances; Standard_Boolean IsTwoDistances (const Standard_Integer IC); - %feature("compactdefaultargs") IsDistanceAngle; - %feature("autodoc", " * return True if chamfer is made with distance and angle false else. + /****************** LastVertex ******************/ + %feature("compactdefaultargs") LastVertex; + %feature("autodoc", "* Returns the last vertex of the contour of index IC in the internal data structure of this algorithm. Warning Returns a null shape if IC is outside the bounds of the table of contours. :param IC: :type IC: int - :rtype: bool -") IsDistanceAngle; - Standard_Boolean IsDistanceAngle (const Standard_Integer IC); - %feature("compactdefaultargs") ResetContour; - %feature("autodoc", " * Erases the chamfer parameters on the contour of index IC in the internal data structure of this algorithm. Use the SetDists function to reset this data. Warning Nothing is done if IC is outside the bounds of the table of contours. + :rtype: TopoDS_Vertex") LastVertex; + TopoDS_Vertex LastVertex (const Standard_Integer IC); + /****************** Length ******************/ + %feature("compactdefaultargs") Length; + %feature("autodoc", "* Returns the length of the contour of index IC in the internal data structure of this algorithm. Warning Returns -1. if IC is outside the bounds of the table of contours. :param IC: :type IC: int - :rtype: None -") ResetContour; - void ResetContour (const Standard_Integer IC); - %feature("compactdefaultargs") NbContours; - %feature("autodoc", " * Returns the number of contours generated using the Add function in the internal data structure of this algorithm. + :rtype: float") Length; + Standard_Real Length (const Standard_Integer IC); + + /****************** Modified ******************/ + %feature("compactdefaultargs") Modified; + %feature("autodoc", "* Returns the list of shapes modified from the shape . + :param F: + :type F: TopoDS_Shape & + :rtype: TopTools_ListOfShape") Modified; + virtual const TopTools_ListOfShape & Modified (const TopoDS_Shape & F); - :rtype: int -") NbContours; + /****************** NbContours ******************/ + %feature("compactdefaultargs") NbContours; + %feature("autodoc", "* Returns the number of contours generated using the Add function in the internal data structure of this algorithm. + :rtype: int") NbContours; Standard_Integer NbContours (); - %feature("compactdefaultargs") Contour; - %feature("autodoc", " * Returns the index of the contour in the internal data structure of this algorithm, which contains the edge E of the shape. This function returns 0 if the edge E does not belong to any contour. Warning This index can change if a contour is removed from the internal data structure of this algorithm using the function Remove. - :param E: - :type E: TopoDS_Edge & - :rtype: int -") Contour; - Standard_Integer Contour (const TopoDS_Edge & E); + /****************** NbEdges ******************/ %feature("compactdefaultargs") NbEdges; - %feature("autodoc", " * Returns the number of edges in the contour of index I in the internal data structure of this algorithm. Warning Returns 0 if I is outside the bounds of the table of contours. - + %feature("autodoc", "* Returns the number of edges in the contour of index I in the internal data structure of this algorithm. Warning Returns 0 if I is outside the bounds of the table of contours. :param I: :type I: int - :rtype: int -") NbEdges; + :rtype: int") NbEdges; Standard_Integer NbEdges (const Standard_Integer I); - %feature("compactdefaultargs") Edge; - %feature("autodoc", " * Returns the edge of index J in the contour of index I in the internal data structure of this algorithm. Warning Returns a null shape if: - I is outside the bounds of the table of contours, or - J is outside the bounds of the table of edges of the contour of index I. - :param I: - :type I: int - :param J: - :type J: int - :rtype: TopoDS_Edge -") Edge; - const TopoDS_Edge Edge (const Standard_Integer I,const Standard_Integer J); - %feature("compactdefaultargs") Remove; - %feature("autodoc", " * Removes the contour in the internal data structure of this algorithm which contains the edge E of the shape. Warning Nothing is done if the edge E does not belong to the contour in the internal data structure of this algorithm. + /****************** NbSurf ******************/ + %feature("compactdefaultargs") NbSurf; + %feature("autodoc", ":param IC: + :type IC: int + :rtype: int") NbSurf; + Standard_Integer NbSurf (const Standard_Integer IC); + + /****************** RelativeAbscissa ******************/ + %feature("compactdefaultargs") RelativeAbscissa; + %feature("autodoc", "* Returns the relative curvilinear abscissa (i.e. between 0 and 1) of the vertex V on the contour of index IC in the internal data structure of this algorithm. Warning Returns -1. if: - IC is outside the bounds of the table of contours, or - V is not on the contour of index IC. + :param IC: + :type IC: int + :param V: + :type V: TopoDS_Vertex & + :rtype: float") RelativeAbscissa; + Standard_Real RelativeAbscissa (const Standard_Integer IC,const TopoDS_Vertex & V); + /****************** Remove ******************/ + %feature("compactdefaultargs") Remove; + %feature("autodoc", "* Removes the contour in the internal data structure of this algorithm which contains the edge E of the shape. Warning Nothing is done if the edge E does not belong to the contour in the internal data structure of this algorithm. :param E: :type E: TopoDS_Edge & - :rtype: None -") Remove; + :rtype: None") Remove; void Remove (const TopoDS_Edge & E); - %feature("compactdefaultargs") Length; - %feature("autodoc", " * Returns the length of the contour of index IC in the internal data structure of this algorithm. Warning Returns -1. if IC is outside the bounds of the table of contours. - - :param IC: - :type IC: int - :rtype: float -") Length; - Standard_Real Length (const Standard_Integer IC); - %feature("compactdefaultargs") FirstVertex; - %feature("autodoc", " * Returns the first vertex of the contour of index IC in the internal data structure of this algorithm. Warning Returns a null shape if IC is outside the bounds of the table of contours. - :param IC: - :type IC: int - :rtype: TopoDS_Vertex -") FirstVertex; - TopoDS_Vertex FirstVertex (const Standard_Integer IC); - %feature("compactdefaultargs") LastVertex; - %feature("autodoc", " * Returns the last vertex of the contour of index IC in the internal data structure of this algorithm. Warning Returns a null shape if IC is outside the bounds of the table of contours. + /****************** Reset ******************/ + %feature("compactdefaultargs") Reset; + %feature("autodoc", "* Reinitializes this algorithm, thus canceling the effects of the Build function. This function allows modifications to be made to the contours and chamfer parameters in order to rebuild the shape. + :rtype: None") Reset; + void Reset (); + /****************** ResetContour ******************/ + %feature("compactdefaultargs") ResetContour; + %feature("autodoc", "* Erases the chamfer parameters on the contour of index IC in the internal data structure of this algorithm. Use the SetDists function to reset this data. Warning Nothing is done if IC is outside the bounds of the table of contours. :param IC: :type IC: int - :rtype: TopoDS_Vertex -") LastVertex; - TopoDS_Vertex LastVertex (const Standard_Integer IC); - %feature("compactdefaultargs") Abscissa; - %feature("autodoc", " * Returns the curvilinear abscissa of the vertex V on the contour of index IC in the internal data structure of this algorithm. Warning Returns -1. if: - IC is outside the bounds of the table of contours, or - V is not on the contour of index IC. + :rtype: None") ResetContour; + void ResetContour (const Standard_Integer IC); - :param IC: + /****************** Sect ******************/ + %feature("compactdefaultargs") Sect; + %feature("autodoc", ":param IC: :type IC: int - :param V: - :type V: TopoDS_Vertex & - :rtype: float -") Abscissa; - Standard_Real Abscissa (const Standard_Integer IC,const TopoDS_Vertex & V); - %feature("compactdefaultargs") RelativeAbscissa; - %feature("autodoc", " * Returns the relative curvilinear abscissa (i.e. between 0 and 1) of the vertex V on the contour of index IC in the internal data structure of this algorithm. Warning Returns -1. if: - IC is outside the bounds of the table of contours, or - V is not on the contour of index IC. + :param IS: + :type IS: int + :rtype: opencascade::handle") Sect; + opencascade::handle Sect (const Standard_Integer IC,const Standard_Integer IS); + /****************** SetDist ******************/ + %feature("compactdefaultargs") SetDist; + %feature("autodoc", "* Sets the distances Dis1 and Dis2 which give the parameters of the chamfer along the contour of index IC generated using the Add function in the internal data structure of this algorithm. The face F identifies the side where Dis1 is measured. Warning Nothing is done if either the edge E or the face F does not belong to the initial shape. + :param Dis: + :type Dis: float :param IC: :type IC: int - :param V: - :type V: TopoDS_Vertex & - :rtype: float -") RelativeAbscissa; - Standard_Real RelativeAbscissa (const Standard_Integer IC,const TopoDS_Vertex & V); - %feature("compactdefaultargs") ClosedAndTangent; - %feature("autodoc", " * eturns true if the contour of index IC in the internal data structure of this algorithm is closed and tangential at the point of closure. Warning Returns false if IC is outside the bounds of the table of contours. + :param F: + :type F: TopoDS_Face & + :rtype: None") SetDist; + void SetDist (const Standard_Real Dis,const Standard_Integer IC,const TopoDS_Face & F); + /****************** SetDistAngle ******************/ + %feature("compactdefaultargs") SetDistAngle; + %feature("autodoc", "* set the distance and of the fillet contour of index in the DS with on . if the face is not one of common faces of an edge of the contour + :param Dis: + :type Dis: float + :param Angle: + :type Angle: float :param IC: :type IC: int - :rtype: bool -") ClosedAndTangent; - Standard_Boolean ClosedAndTangent (const Standard_Integer IC); - %feature("compactdefaultargs") Closed; - %feature("autodoc", " * Returns true if the contour of index IC in the internal data structure of this algorithm is closed. Warning Returns false if IC is outside the bounds of the table of contours. + :param F: + :type F: TopoDS_Face & + :rtype: None") SetDistAngle; + void SetDistAngle (const Standard_Real Dis,const Standard_Real Angle,const Standard_Integer IC,const TopoDS_Face & F); + /****************** SetDists ******************/ + %feature("compactdefaultargs") SetDists; + %feature("autodoc", "* Sets the distances Dis1 and Dis2 which give the parameters of the chamfer along the contour of index IC generated using the Add function in the internal data structure of this algorithm. The face F identifies the side where Dis1 is measured. Warning Nothing is done if either the edge E or the face F does not belong to the initial shape. + :param Dis1: + :type Dis1: float + :param Dis2: + :type Dis2: float :param IC: :type IC: int - :rtype: bool -") Closed; - Standard_Boolean Closed (const Standard_Integer IC); - %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. - - :rtype: void -") Build; - virtual void Build (); - %feature("compactdefaultargs") Reset; - %feature("autodoc", " * Reinitializes this algorithm, thus canceling the effects of the Build function. This function allows modifications to be made to the contours and chamfer parameters in order to rebuild the shape. - - :rtype: None -") Reset; - void Reset (); - %feature("compactdefaultargs") Builder; - %feature("autodoc", " * Returns the internal filleting algorithm. - - :rtype: Handle_TopOpeBRepBuild_HBuilder -") Builder; - Handle_TopOpeBRepBuild_HBuilder Builder (); - %feature("compactdefaultargs") Generated; - %feature("autodoc", " * Returns the list of shapes generated from the shape . + :param F: + :type F: TopoDS_Face & + :rtype: None") SetDists; + void SetDists (const Standard_Real Dis1,const Standard_Real Dis2,const Standard_Integer IC,const TopoDS_Face & F); - :param EorV: - :type EorV: TopoDS_Shape & - :rtype: TopTools_ListOfShape -") Generated; - virtual const TopTools_ListOfShape & Generated (const TopoDS_Shape & EorV); - %feature("compactdefaultargs") Modified; - %feature("autodoc", " * Returns the list of shapes modified from the shape . + /****************** SetMode ******************/ + %feature("compactdefaultargs") SetMode; + %feature("autodoc", "* Sets the mode of chamfer + :param theMode: + :type theMode: ChFiDS_ChamfMode + :rtype: None") SetMode; + void SetMode (const ChFiDS_ChamfMode theMode); - :param F: - :type F: TopoDS_Shape & - :rtype: TopTools_ListOfShape -") Modified; - virtual const TopTools_ListOfShape & Modified (const TopoDS_Shape & F); - %feature("compactdefaultargs") IsDeleted; - %feature("autodoc", " :param F: - :type F: TopoDS_Shape & - :rtype: bool -") IsDeleted; - virtual Standard_Boolean IsDeleted (const TopoDS_Shape & F); + /****************** Simulate ******************/ %feature("compactdefaultargs") Simulate; - %feature("autodoc", " :param IC: + %feature("autodoc", ":param IC: :type IC: int - :rtype: None -") Simulate; + :rtype: None") Simulate; void Simulate (const Standard_Integer IC); - %feature("compactdefaultargs") NbSurf; - %feature("autodoc", " :param IC: - :type IC: int - :rtype: int -") NbSurf; - Standard_Integer NbSurf (const Standard_Integer IC); - %feature("compactdefaultargs") Sect; - %feature("autodoc", " :param IC: - :type IC: int - :param IS: - :type IS: int - :rtype: Handle_ChFiDS_SecHArray1 -") Sect; - Handle_ChFiDS_SecHArray1 Sect (const Standard_Integer IC,const Standard_Integer IS); + }; @@ -755,213 +840,180 @@ class BRepFilletAPI_MakeChamfer : public BRepFilletAPI_LocalOperation { __repr__ = _dumps_object } }; + +/********************************* +* class BRepFilletAPI_MakeFillet * +*********************************/ %nodefaultctor BRepFilletAPI_MakeFillet; class BRepFilletAPI_MakeFillet : public BRepFilletAPI_LocalOperation { public: - %feature("compactdefaultargs") BRepFilletAPI_MakeFillet; - %feature("autodoc", " * Initializes the computation of the fillets. sets the type of fillet surface. The default value is ChFi3d_Rational (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. - - :param S: - :type S: TopoDS_Shape & - :param FShape: default value is ChFi3d_Rational - :type FShape: ChFi3d_FilletShape - :rtype: None -") BRepFilletAPI_MakeFillet; - BRepFilletAPI_MakeFillet (const TopoDS_Shape & S,const ChFi3d_FilletShape FShape = ChFi3d_Rational); - %feature("compactdefaultargs") SetParams; - %feature("autodoc", " :param Tang: - :type Tang: float - :param Tesp: - :type Tesp: float - :param T2d: - :type T2d: float - :param TApp3d: - :type TApp3d: float - :param TolApp2d: - :type TolApp2d: float - :param Fleche: - :type Fleche: float - :rtype: None -") SetParams; - void SetParams (const Standard_Real Tang,const Standard_Real Tesp,const Standard_Real T2d,const Standard_Real TApp3d,const Standard_Real TolApp2d,const Standard_Real Fleche); - %feature("compactdefaultargs") SetContinuity; - %feature("autodoc", " * Changes the parameters of continiuity InternalContinuity to produce fillet'surfaces with an continuity Ci (i=0,1 or 2). By defaultInternalContinuity = GeomAbs_C1. AngularTolerance is the G1 tolerance between fillet and support'faces. + /****************** Abscissa ******************/ + %feature("compactdefaultargs") Abscissa; + %feature("autodoc", "* Returns the curvilinear abscissa of the vertex V on the contour of index IC in the internal data structure of this algorithm. Warning Returns -1. if: - IC is outside the bounds of the table of contours, or - V is not on the contour of index IC. + :param IC: + :type IC: int + :param V: + :type V: TopoDS_Vertex & + :rtype: float") Abscissa; + Standard_Real Abscissa (const Standard_Integer IC,const TopoDS_Vertex & V); - :param InternalContinuity: - :type InternalContinuity: GeomAbs_Shape - :param AngularTolerance: - :type AngularTolerance: float - :rtype: None -") SetContinuity; - void SetContinuity (const GeomAbs_Shape InternalContinuity,const Standard_Real AngularTolerance); + /****************** Add ******************/ %feature("compactdefaultargs") Add; - %feature("autodoc", " * Adds a fillet contour in the builder (builds a contour of tangent edges). The Radius must be set after. - + %feature("autodoc", "* Adds a fillet contour in the builder (builds a contour of tangent edges). The Radius must be set after. :param E: :type E: TopoDS_Edge & - :rtype: None -") Add; + :rtype: None") Add; void Add (const TopoDS_Edge & E); - %feature("compactdefaultargs") Add; - %feature("autodoc", " * Adds a fillet description in the builder - builds a contour of tangent edges, - sets the radius. + /****************** Add ******************/ + %feature("compactdefaultargs") Add; + %feature("autodoc", "* Adds a fillet description in the builder - builds a contour of tangent edges, - sets the radius. :param Radius: :type Radius: float :param E: :type E: TopoDS_Edge & - :rtype: None -") Add; + :rtype: None") Add; void Add (const Standard_Real Radius,const TopoDS_Edge & E); - %feature("compactdefaultargs") Add; - %feature("autodoc", " * Adds a fillet description in the builder - builds a contour of tangent edges, - sets a linear radius evolution law between the first and last vertex of the spine. + /****************** Add ******************/ + %feature("compactdefaultargs") Add; + %feature("autodoc", "* Adds a fillet description in the builder - builds a contour of tangent edges, - sets a linear radius evolution law between the first and last vertex of the spine. :param R1: :type R1: float :param R2: :type R2: float :param E: :type E: TopoDS_Edge & - :rtype: None -") Add; + :rtype: None") Add; void Add (const Standard_Real R1,const Standard_Real R2,const TopoDS_Edge & E); - %feature("compactdefaultargs") Add; - %feature("autodoc", " * Adds a fillet description in the builder - builds a contour of tangent edges, - sest the radius evolution law. + /****************** Add ******************/ + %feature("compactdefaultargs") Add; + %feature("autodoc", "* Adds a fillet description in the builder - builds a contour of tangent edges, - sest the radius evolution law. :param L: - :type L: Handle_Law_Function & + :type L: opencascade::handle & :param E: :type E: TopoDS_Edge & - :rtype: None -") Add; - void Add (const Handle_Law_Function & L,const TopoDS_Edge & E); - %feature("compactdefaultargs") Add; - %feature("autodoc", " * Adds a fillet description in the builder - builds a contour of tangent edges, - sets the radius evolution law interpolating the values given in the array UandR : //! p2d.X() = relative parameter on the spine [0,1] p2d.Y() = value of the radius. + :rtype: None") Add; + void Add (const opencascade::handle & L,const TopoDS_Edge & E); + /****************** Add ******************/ + %feature("compactdefaultargs") Add; + %feature("autodoc", "* Adds a fillet description in the builder - builds a contour of tangent edges, - sets the radius evolution law interpolating the values given in the array UandR : //! p2d.X() = relative parameter on the spine [0,1] p2d.Y() = value of the radius. :param UandR: :type UandR: TColgp_Array1OfPnt2d :param E: :type E: TopoDS_Edge & - :rtype: None -") Add; + :rtype: None") Add; void Add (const TColgp_Array1OfPnt2d & UandR,const TopoDS_Edge & E); - %feature("compactdefaultargs") SetRadius; - %feature("autodoc", " * Sets the parameters of the fillet along the contour of index IC generated using the Add function in the internal data structure of this algorithm, where Radius is the radius of the fillet. - :param Radius: - :type Radius: float - :param IC: - :type IC: int - :param IinC: - :type IinC: int - :rtype: None -") SetRadius; - void SetRadius (const Standard_Real Radius,const Standard_Integer IC,const Standard_Integer IinC); - %feature("compactdefaultargs") SetRadius; - %feature("autodoc", " * Sets the parameters of the fillet along the contour of index IC generated using the Add function in the internal data structure of this algorithm, where the radius of the fillet evolves according to a linear evolution law defined from R1 to R2, between the first and last vertices of the contour of index IC. + /****************** BRepFilletAPI_MakeFillet ******************/ + %feature("compactdefaultargs") BRepFilletAPI_MakeFillet; + %feature("autodoc", "* Initializes the computation of the fillets. sets the type of fillet surface. The default value is ChFi3d_Rational (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. + :param S: + :type S: TopoDS_Shape & + :param FShape: default value is ChFi3d_Rational + :type FShape: ChFi3d_FilletShape + :rtype: None") BRepFilletAPI_MakeFillet; + BRepFilletAPI_MakeFillet (const TopoDS_Shape & S,const ChFi3d_FilletShape FShape = ChFi3d_Rational); - :param R1: - :type R1: float - :param R2: - :type R2: float - :param IC: - :type IC: int - :param IinC: - :type IinC: int - :rtype: None -") SetRadius; - void SetRadius (const Standard_Real R1,const Standard_Real R2,const Standard_Integer IC,const Standard_Integer IinC); - %feature("compactdefaultargs") SetRadius; - %feature("autodoc", " * Sets the parameters of the fillet along the contour of index IC generated using the Add function in the internal data structure of this algorithm, where the radius of the fillet evolves according to the evolution law L, between the first and last vertices of the contour of index IC. + /****************** BadShape ******************/ + %feature("compactdefaultargs") BadShape; + %feature("autodoc", "* if (HasResult()) returns the partial result + :rtype: TopoDS_Shape") BadShape; + TopoDS_Shape BadShape (); - :param L: - :type L: Handle_Law_Function & - :param IC: - :type IC: int - :param IinC: - :type IinC: int - :rtype: None -") SetRadius; - void SetRadius (const Handle_Law_Function & L,const Standard_Integer IC,const Standard_Integer IinC); - %feature("compactdefaultargs") SetRadius; - %feature("autodoc", " * Sets the parameters of the fillet along the contour of index IC generated using the Add function in the internal data structure of this algorithm, where the radius of the fillet evolves according to the evolution law which interpolates the set of parameter and radius pairs given in the array UandR as follows: - the X coordinate of a point in UandR defines a relative parameter on the contour (i.e. a parameter between 0 and 1), - the Y coordinate of a point in UandR gives the corresponding value of the radius, and the radius evolves between the first and last vertices of the contour of index IC. + /****************** Build ******************/ + %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. + :rtype: void") Build; + virtual void Build (); - :param UandR: - :type UandR: TColgp_Array1OfPnt2d - :param IC: - :type IC: int - :param IinC: - :type IinC: int - :rtype: None -") SetRadius; - void SetRadius (const TColgp_Array1OfPnt2d & UandR,const Standard_Integer IC,const Standard_Integer IinC); - %feature("compactdefaultargs") ResetContour; - %feature("autodoc", " * Erases the radius information on the contour of index IC in the internal data structure of this algorithm. Use the SetRadius function to reset this data. Warning Nothing is done if IC is outside the bounds of the table of contours. + /****************** Builder ******************/ + %feature("compactdefaultargs") Builder; + %feature("autodoc", "* Returns the internal topology building algorithm. + :rtype: opencascade::handle") Builder; + opencascade::handle Builder (); + /****************** Closed ******************/ + %feature("compactdefaultargs") Closed; + %feature("autodoc", "* Returns true if the contour of index IC in the internal data structure of this algorithm is closed. Warning Returns false if IC is outside the bounds of the table of contours. :param IC: :type IC: int - :rtype: None -") ResetContour; - void ResetContour (const Standard_Integer IC); - %feature("compactdefaultargs") IsConstant; - %feature("autodoc", " * Returns true if the radius of the fillet along the contour of index IC in the internal data structure of this algorithm is constant, Warning False is returned if IC is outside the bounds of the table of contours or if E does not belong to the contour of index IC. + :rtype: bool") Closed; + Standard_Boolean Closed (const Standard_Integer IC); + /****************** ClosedAndTangent ******************/ + %feature("compactdefaultargs") ClosedAndTangent; + %feature("autodoc", "* Returns true if the contour of index IC in the internal data structure of this algorithm is closed and tangential at the point of closure. Warning Returns false if IC is outside the bounds of the table of contours. :param IC: :type IC: int - :rtype: bool -") IsConstant; - Standard_Boolean IsConstant (const Standard_Integer IC); - %feature("compactdefaultargs") Radius; - %feature("autodoc", " * Returns the radius of the fillet along the contour of index IC in the internal data structure of this algorithm Warning - Use this function only if the radius is constant. - -1. is returned if IC is outside the bounds of the table of contours or if E does not belong to the contour of index IC. + :rtype: bool") ClosedAndTangent; + Standard_Boolean ClosedAndTangent (const Standard_Integer IC); + /****************** ComputedSurface ******************/ + %feature("compactdefaultargs") ComputedSurface; + %feature("autodoc", "* returns the surface number IS concerning the contour IC :param IC: :type IC: int - :rtype: float -") Radius; - Standard_Real Radius (const Standard_Integer IC); - %feature("compactdefaultargs") IsConstant; - %feature("autodoc", " * Returns true if the radius of the fillet along the edge E of the contour of index IC in the internal data structure of this algorithm is constant. Warning False is returned if IC is outside the bounds of the table of contours or if E does not belong to the contour of index IC. + :param IS: + :type IS: int + :rtype: opencascade::handle") ComputedSurface; + opencascade::handle ComputedSurface (const Standard_Integer IC,const Standard_Integer IS); - :param IC: - :type IC: int + /****************** Contour ******************/ + %feature("compactdefaultargs") Contour; + %feature("autodoc", "* Returns the index of the contour in the internal data structure of this algorithm which contains the edge E of the shape. This function returns 0 if the edge E does not belong to any contour. Warning This index can change if a contour is removed from the internal data structure of this algorithm using the function Remove. :param E: :type E: TopoDS_Edge & - :rtype: bool -") IsConstant; - Standard_Boolean IsConstant (const Standard_Integer IC,const TopoDS_Edge & E); - %feature("compactdefaultargs") Radius; - %feature("autodoc", " * Returns the radius of the fillet along the edge E of the contour of index IC in the internal data structure of this algorithm. Warning - Use this function only if the radius is constant. - -1 is returned if IC is outside the bounds of the table of contours or if E does not belong to the contour of index IC. + :rtype: int") Contour; + Standard_Integer Contour (const TopoDS_Edge & E); - :param IC: - :type IC: int - :param E: - :type E: TopoDS_Edge & - :rtype: float -") Radius; - Standard_Real Radius (const Standard_Integer IC,const TopoDS_Edge & E); - %feature("compactdefaultargs") SetRadius; - %feature("autodoc", " * Assigns Radius as the radius of the fillet on the edge E + /****************** Edge ******************/ + %feature("compactdefaultargs") Edge; + %feature("autodoc", "* Returns the edge of index J in the contour of index I in the internal data structure of this algorithm. Warning Returns a null shape if: - I is outside the bounds of the table of contours, or - J is outside the bounds of the table of edges of the index I contour. + :param I: + :type I: int + :param J: + :type J: int + :rtype: TopoDS_Edge") Edge; + const TopoDS_Edge Edge (const Standard_Integer I,const Standard_Integer J); - :param Radius: - :type Radius: float - :param IC: - :type IC: int - :param E: - :type E: TopoDS_Edge & - :rtype: None -") SetRadius; - void SetRadius (const Standard_Real Radius,const Standard_Integer IC,const TopoDS_Edge & E); - %feature("compactdefaultargs") SetRadius; - %feature("autodoc", " :param Radius: - :type Radius: float + /****************** FaultyContour ******************/ + %feature("compactdefaultargs") FaultyContour; + %feature("autodoc", "* for each I in [1.. NbFaultyContours] returns the index IC of the contour where the computation of the fillet failed. the method NbEdges(IC) gives the number of edges in the contour IC the method Edge(IC,ie) gives the edge number ie of the contour IC + :param I: + :type I: int + :rtype: int") FaultyContour; + Standard_Integer FaultyContour (const Standard_Integer I); + + /****************** FaultyVertex ******************/ + %feature("compactdefaultargs") FaultyVertex; + %feature("autodoc", "* returns the vertex where the computation failed + :param IV: + :type IV: int + :rtype: TopoDS_Vertex") FaultyVertex; + TopoDS_Vertex FaultyVertex (const Standard_Integer IV); + + /****************** FirstVertex ******************/ + %feature("compactdefaultargs") FirstVertex; + %feature("autodoc", "* Returns the first vertex of the contour of index IC in the internal data structure of this algorithm. Warning Returns a null shape if IC is outside the bounds of the table of contours. :param IC: :type IC: int - :param V: - :type V: TopoDS_Vertex & - :rtype: None -") SetRadius; - void SetRadius (const Standard_Real Radius,const Standard_Integer IC,const TopoDS_Vertex & V); + :rtype: TopoDS_Vertex") FirstVertex; + TopoDS_Vertex FirstVertex (const Standard_Integer IC); + + /****************** Generated ******************/ + %feature("compactdefaultargs") Generated; + %feature("autodoc", "* Returns the list of shapes generated from the shape . + :param EorV: + :type EorV: TopoDS_Shape & + :rtype: TopTools_ListOfShape") Generated; + virtual const TopTools_ListOfShape & Generated (const TopoDS_Shape & EorV); + + /****************** GetBounds ******************/ %feature("compactdefaultargs") GetBounds; - %feature("autodoc", " :param IC: + %feature("autodoc", ":param IC: :type IC: int :param E: :type E: TopoDS_Edge & @@ -969,281 +1021,327 @@ class BRepFilletAPI_MakeFillet : public BRepFilletAPI_LocalOperation { :type F: float & :param L: :type L: float & - :rtype: bool -") GetBounds; + :rtype: bool") GetBounds; Standard_Boolean GetBounds (const Standard_Integer IC,const TopoDS_Edge & E,Standard_Real &OutValue,Standard_Real &OutValue); + + /****************** GetFilletShape ******************/ + %feature("compactdefaultargs") GetFilletShape; + %feature("autodoc", "* Returns the type of fillet shape built by this algorithm. + :rtype: ChFi3d_FilletShape") GetFilletShape; + ChFi3d_FilletShape GetFilletShape (); + + /****************** GetLaw ******************/ %feature("compactdefaultargs") GetLaw; - %feature("autodoc", " :param IC: + %feature("autodoc", ":param IC: :type IC: int :param E: :type E: TopoDS_Edge & - :rtype: Handle_Law_Function -") GetLaw; - Handle_Law_Function GetLaw (const Standard_Integer IC,const TopoDS_Edge & E); - %feature("compactdefaultargs") SetLaw; - %feature("autodoc", " :param IC: + :rtype: opencascade::handle") GetLaw; + opencascade::handle GetLaw (const Standard_Integer IC,const TopoDS_Edge & E); + + /****************** HasResult ******************/ + %feature("compactdefaultargs") HasResult; + %feature("autodoc", "* returns true if a part of the result has been computed if the filling in a corner failed a shape with a hole is returned + :rtype: bool") HasResult; + Standard_Boolean HasResult (); + + /****************** IsConstant ******************/ + %feature("compactdefaultargs") IsConstant; + %feature("autodoc", "* Returns true if the radius of the fillet along the contour of index IC in the internal data structure of this algorithm is constant, Warning False is returned if IC is outside the bounds of the table of contours or if E does not belong to the contour of index IC. + :param IC: + :type IC: int + :rtype: bool") IsConstant; + Standard_Boolean IsConstant (const Standard_Integer IC); + + /****************** IsConstant ******************/ + %feature("compactdefaultargs") IsConstant; + %feature("autodoc", "* Returns true if the radius of the fillet along the edge E of the contour of index IC in the internal data structure of this algorithm is constant. Warning False is returned if IC is outside the bounds of the table of contours or if E does not belong to the contour of index IC. + :param IC: :type IC: int :param E: :type E: TopoDS_Edge & - :param L: - :type L: Handle_Law_Function & - :rtype: None -") SetLaw; - void SetLaw (const Standard_Integer IC,const TopoDS_Edge & E,const Handle_Law_Function & L); - %feature("compactdefaultargs") SetFilletShape; - %feature("autodoc", " * Assigns FShape as the type of fillet shape built by this algorithm. + :rtype: bool") IsConstant; + Standard_Boolean IsConstant (const Standard_Integer IC,const TopoDS_Edge & E); - :param FShape: - :type FShape: ChFi3d_FilletShape - :rtype: None -") SetFilletShape; - void SetFilletShape (const ChFi3d_FilletShape FShape); - %feature("compactdefaultargs") GetFilletShape; - %feature("autodoc", " * Returns the type of fillet shape built by this algorithm. + /****************** IsDeleted ******************/ + %feature("compactdefaultargs") IsDeleted; + %feature("autodoc", ":param F: + :type F: TopoDS_Shape & + :rtype: bool") IsDeleted; + virtual Standard_Boolean IsDeleted (const TopoDS_Shape & F); - :rtype: ChFi3d_FilletShape -") GetFilletShape; - ChFi3d_FilletShape GetFilletShape (); - %feature("compactdefaultargs") NbContours; - %feature("autodoc", " * Returns the number of contours generated using the Add function in the internal data structure of this algorithm. + /****************** LastVertex ******************/ + %feature("compactdefaultargs") LastVertex; + %feature("autodoc", "* Returns the last vertex of the contour of index IC in the internal data structure of this algorithm. Warning Returns a null shape if IC is outside the bounds of the table of contours. + :param IC: + :type IC: int + :rtype: TopoDS_Vertex") LastVertex; + TopoDS_Vertex LastVertex (const Standard_Integer IC); + + /****************** Length ******************/ + %feature("compactdefaultargs") Length; + %feature("autodoc", "* Returns the length of the contour of index IC in the internal data structure of this algorithm. Warning Returns -1. if IC is outside the bounds of the table of contours. + :param IC: + :type IC: int + :rtype: float") Length; + Standard_Real Length (const Standard_Integer IC); + + /****************** Modified ******************/ + %feature("compactdefaultargs") Modified; + %feature("autodoc", "* Returns the list of shapes modified from the shape . + :param F: + :type F: TopoDS_Shape & + :rtype: TopTools_ListOfShape") Modified; + virtual const TopTools_ListOfShape & Modified (const TopoDS_Shape & F); + + /****************** NbComputedSurfaces ******************/ + %feature("compactdefaultargs") NbComputedSurfaces; + %feature("autodoc", "* returns the number of surfaces which have been computed on the contour IC + :param IC: + :type IC: int + :rtype: int") NbComputedSurfaces; + Standard_Integer NbComputedSurfaces (const Standard_Integer IC); - :rtype: int -") NbContours; + /****************** NbContours ******************/ + %feature("compactdefaultargs") NbContours; + %feature("autodoc", "* Returns the number of contours generated using the Add function in the internal data structure of this algorithm. + :rtype: int") NbContours; Standard_Integer NbContours (); - %feature("compactdefaultargs") Contour; - %feature("autodoc", " * Returns the index of the contour in the internal data structure of this algorithm which contains the edge E of the shape. This function returns 0 if the edge E does not belong to any contour. Warning This index can change if a contour is removed from the internal data structure of this algorithm using the function Remove. - :param E: - :type E: TopoDS_Edge & - :rtype: int -") Contour; - Standard_Integer Contour (const TopoDS_Edge & E); + /****************** NbEdges ******************/ %feature("compactdefaultargs") NbEdges; - %feature("autodoc", " * Returns the number of edges in the contour of index I in the internal data structure of this algorithm. Warning Returns 0 if I is outside the bounds of the table of contours. - + %feature("autodoc", "* Returns the number of edges in the contour of index I in the internal data structure of this algorithm. Warning Returns 0 if I is outside the bounds of the table of contours. :param I: :type I: int - :rtype: int -") NbEdges; + :rtype: int") NbEdges; Standard_Integer NbEdges (const Standard_Integer I); - %feature("compactdefaultargs") Edge; - %feature("autodoc", " * Returns the edge of index J in the contour of index I in the internal data structure of this algorithm. Warning Returns a null shape if: - I is outside the bounds of the table of contours, or - J is outside the bounds of the table of edges of the index I contour. - :param I: - :type I: int - :param J: - :type J: int - :rtype: TopoDS_Edge -") Edge; - const TopoDS_Edge Edge (const Standard_Integer I,const Standard_Integer J); - %feature("compactdefaultargs") Remove; - %feature("autodoc", " * Removes the contour in the internal data structure of this algorithm which contains the edge E of the shape. Warning Nothing is done if the edge E does not belong to the contour in the internal data structure of this algorithm. + /****************** NbFaultyContours ******************/ + %feature("compactdefaultargs") NbFaultyContours; + %feature("autodoc", "* Returns the number of contours where the computation of the fillet failed + :rtype: int") NbFaultyContours; + Standard_Integer NbFaultyContours (); - :param E: - :type E: TopoDS_Edge & - :rtype: None -") Remove; - void Remove (const TopoDS_Edge & E); - %feature("compactdefaultargs") Length; - %feature("autodoc", " * Returns the length of the contour of index IC in the internal data structure of this algorithm. Warning Returns -1. if IC is outside the bounds of the table of contours. + /****************** NbFaultyVertices ******************/ + %feature("compactdefaultargs") NbFaultyVertices; + %feature("autodoc", "* returns the number of vertices where the computation failed + :rtype: int") NbFaultyVertices; + Standard_Integer NbFaultyVertices (); - :param IC: + /****************** NbSurf ******************/ + %feature("compactdefaultargs") NbSurf; + %feature("autodoc", ":param IC: :type IC: int - :rtype: float -") Length; - Standard_Real Length (const Standard_Integer IC); - %feature("compactdefaultargs") FirstVertex; - %feature("autodoc", " * Returns the first vertex of the contour of index IC in the internal data structure of this algorithm. Warning Returns a null shape if IC is outside the bounds of the table of contours. + :rtype: int") NbSurf; + Standard_Integer NbSurf (const Standard_Integer IC); - :param IC: - :type IC: int - :rtype: TopoDS_Vertex -") FirstVertex; - TopoDS_Vertex FirstVertex (const Standard_Integer IC); - %feature("compactdefaultargs") LastVertex; - %feature("autodoc", " * Returns the last vertex of the contour of index IC in the internal data structure of this algorithm. Warning Returns a null shape if IC is outside the bounds of the table of contours. + /****************** NbSurfaces ******************/ + %feature("compactdefaultargs") NbSurfaces; + %feature("autodoc", "* returns the number of surfaces after the shape creation. + :rtype: int") NbSurfaces; + Standard_Integer NbSurfaces (); + + /****************** NewFaces ******************/ + %feature("compactdefaultargs") NewFaces; + %feature("autodoc", "* Return the faces created for surface . + :param I: + :type I: int + :rtype: TopTools_ListOfShape") NewFaces; + const TopTools_ListOfShape & NewFaces (const Standard_Integer I); + /****************** Radius ******************/ + %feature("compactdefaultargs") Radius; + %feature("autodoc", "* Returns the radius of the fillet along the contour of index IC in the internal data structure of this algorithm Warning - Use this function only if the radius is constant. - -1. is returned if IC is outside the bounds of the table of contours or if E does not belong to the contour of index IC. :param IC: :type IC: int - :rtype: TopoDS_Vertex -") LastVertex; - TopoDS_Vertex LastVertex (const Standard_Integer IC); - %feature("compactdefaultargs") Abscissa; - %feature("autodoc", " * Returns the curvilinear abscissa of the vertex V on the contour of index IC in the internal data structure of this algorithm. Warning Returns -1. if: - IC is outside the bounds of the table of contours, or - V is not on the contour of index IC. + :rtype: float") Radius; + Standard_Real Radius (const Standard_Integer IC); + /****************** Radius ******************/ + %feature("compactdefaultargs") Radius; + %feature("autodoc", "* Returns the radius of the fillet along the edge E of the contour of index IC in the internal data structure of this algorithm. Warning - Use this function only if the radius is constant. - -1 is returned if IC is outside the bounds of the table of contours or if E does not belong to the contour of index IC. :param IC: :type IC: int - :param V: - :type V: TopoDS_Vertex & - :rtype: float -") Abscissa; - Standard_Real Abscissa (const Standard_Integer IC,const TopoDS_Vertex & V); - %feature("compactdefaultargs") RelativeAbscissa; - %feature("autodoc", " * Returns the relative curvilinear abscissa (i.e. between 0 and 1) of the vertex V on the contour of index IC in the internal data structure of this algorithm. Warning Returns -1. if: - IC is outside the bounds of the table of contours, or - V is not on the contour of index IC. + :param E: + :type E: TopoDS_Edge & + :rtype: float") Radius; + Standard_Real Radius (const Standard_Integer IC,const TopoDS_Edge & E); + /****************** RelativeAbscissa ******************/ + %feature("compactdefaultargs") RelativeAbscissa; + %feature("autodoc", "* Returns the relative curvilinear abscissa (i.e. between 0 and 1) of the vertex V on the contour of index IC in the internal data structure of this algorithm. Warning Returns -1. if: - IC is outside the bounds of the table of contours, or - V is not on the contour of index IC. :param IC: :type IC: int :param V: :type V: TopoDS_Vertex & - :rtype: float -") RelativeAbscissa; + :rtype: float") RelativeAbscissa; Standard_Real RelativeAbscissa (const Standard_Integer IC,const TopoDS_Vertex & V); - %feature("compactdefaultargs") ClosedAndTangent; - %feature("autodoc", " * Returns true if the contour of index IC in the internal data structure of this algorithm is closed and tangential at the point of closure. Warning Returns false if IC is outside the bounds of the table of contours. - :param IC: - :type IC: int - :rtype: bool -") ClosedAndTangent; - Standard_Boolean ClosedAndTangent (const Standard_Integer IC); - %feature("compactdefaultargs") Closed; - %feature("autodoc", " * Returns true if the contour of index IC in the internal data structure of this algorithm is closed. Warning Returns false if IC is outside the bounds of the table of contours. - - :param IC: - :type IC: int - :rtype: bool -") Closed; - Standard_Boolean Closed (const Standard_Integer IC); - %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. + /****************** Remove ******************/ + %feature("compactdefaultargs") Remove; + %feature("autodoc", "* Removes the contour in the internal data structure of this algorithm which contains the edge E of the shape. Warning Nothing is done if the edge E does not belong to the contour in the internal data structure of this algorithm. + :param E: + :type E: TopoDS_Edge & + :rtype: None") Remove; + void Remove (const TopoDS_Edge & E); - :rtype: void -") Build; - virtual void Build (); + /****************** Reset ******************/ %feature("compactdefaultargs") Reset; - %feature("autodoc", " * Reinitializes this algorithm, thus canceling the effects of the Build function. This function allows modifications to be made to the contours and fillet parameters in order to rebuild the shape. - - :rtype: None -") Reset; + %feature("autodoc", "* Reinitializes this algorithm, thus canceling the effects of the Build function. This function allows modifications to be made to the contours and fillet parameters in order to rebuild the shape. + :rtype: None") Reset; void Reset (); - %feature("compactdefaultargs") Builder; - %feature("autodoc", " * Returns the internal topology building algorithm. - - :rtype: Handle_TopOpeBRepBuild_HBuilder -") Builder; - Handle_TopOpeBRepBuild_HBuilder Builder (); - %feature("compactdefaultargs") Generated; - %feature("autodoc", " * Returns the list of shapes generated from the shape . - - :param EorV: - :type EorV: TopoDS_Shape & - :rtype: TopTools_ListOfShape -") Generated; - virtual const TopTools_ListOfShape & Generated (const TopoDS_Shape & EorV); - %feature("compactdefaultargs") Modified; - %feature("autodoc", " * Returns the list of shapes modified from the shape . - - :param F: - :type F: TopoDS_Shape & - :rtype: TopTools_ListOfShape -") Modified; - virtual const TopTools_ListOfShape & Modified (const TopoDS_Shape & F); - %feature("compactdefaultargs") IsDeleted; - %feature("autodoc", " :param F: - :type F: TopoDS_Shape & - :rtype: bool -") IsDeleted; - virtual Standard_Boolean IsDeleted (const TopoDS_Shape & F); - %feature("compactdefaultargs") NbSurfaces; - %feature("autodoc", " * returns the number of surfaces after the shape creation. - - :rtype: int -") NbSurfaces; - Standard_Integer NbSurfaces (); - %feature("compactdefaultargs") NewFaces; - %feature("autodoc", " * Return the faces created for surface . - :param I: - :type I: int - :rtype: TopTools_ListOfShape -") NewFaces; - const TopTools_ListOfShape & NewFaces (const Standard_Integer I); - %feature("compactdefaultargs") Simulate; - %feature("autodoc", " :param IC: - :type IC: int - :rtype: None -") Simulate; - void Simulate (const Standard_Integer IC); - %feature("compactdefaultargs") NbSurf; - %feature("autodoc", " :param IC: + /****************** ResetContour ******************/ + %feature("compactdefaultargs") ResetContour; + %feature("autodoc", "* Erases the radius information on the contour of index IC in the internal data structure of this algorithm. Use the SetRadius function to reset this data. Warning Nothing is done if IC is outside the bounds of the table of contours. + :param IC: :type IC: int - :rtype: int -") NbSurf; - Standard_Integer NbSurf (const Standard_Integer IC); + :rtype: None") ResetContour; + void ResetContour (const Standard_Integer IC); + + /****************** Sect ******************/ %feature("compactdefaultargs") Sect; - %feature("autodoc", " :param IC: + %feature("autodoc", ":param IC: :type IC: int :param IS: :type IS: int - :rtype: Handle_ChFiDS_SecHArray1 -") Sect; - Handle_ChFiDS_SecHArray1 Sect (const Standard_Integer IC,const Standard_Integer IS); - %feature("compactdefaultargs") NbFaultyContours; - %feature("autodoc", " * Returns the number of contours where the computation of the fillet failed + :rtype: opencascade::handle") Sect; + opencascade::handle Sect (const Standard_Integer IC,const Standard_Integer IS); - :rtype: int -") NbFaultyContours; - Standard_Integer NbFaultyContours (); - %feature("compactdefaultargs") FaultyContour; - %feature("autodoc", " * for each I in [1.. NbFaultyContours] returns the index IC of the contour where the computation of the fillet failed. the method NbEdges(IC) gives the number of edges in the contour IC the method Edge(IC,ie) gives the edge number ie of the contour IC + /****************** SetContinuity ******************/ + %feature("compactdefaultargs") SetContinuity; + %feature("autodoc", "* Changes the parameters of continiuity InternalContinuity to produce fillet'surfaces with an continuity Ci (i=0,1 or 2). By defaultInternalContinuity = GeomAbs_C1. AngularTolerance is the G1 tolerance between fillet and support'faces. + :param InternalContinuity: + :type InternalContinuity: GeomAbs_Shape + :param AngularTolerance: + :type AngularTolerance: float + :rtype: None") SetContinuity; + void SetContinuity (const GeomAbs_Shape InternalContinuity,const Standard_Real AngularTolerance); - :param I: - :type I: int - :rtype: int -") FaultyContour; - Standard_Integer FaultyContour (const Standard_Integer I); - %feature("compactdefaultargs") NbComputedSurfaces; - %feature("autodoc", " * returns the number of surfaces which have been computed on the contour IC + /****************** SetFilletShape ******************/ + %feature("compactdefaultargs") SetFilletShape; + %feature("autodoc", "* Assigns FShape as the type of fillet shape built by this algorithm. + :param FShape: + :type FShape: ChFi3d_FilletShape + :rtype: None") SetFilletShape; + void SetFilletShape (const ChFi3d_FilletShape FShape); + /****************** SetLaw ******************/ + %feature("compactdefaultargs") SetLaw; + %feature("autodoc", ":param IC: + :type IC: int + :param E: + :type E: TopoDS_Edge & + :param L: + :type L: opencascade::handle & + :rtype: None") SetLaw; + void SetLaw (const Standard_Integer IC,const TopoDS_Edge & E,const opencascade::handle & L); + + /****************** SetParams ******************/ + %feature("compactdefaultargs") SetParams; + %feature("autodoc", ":param Tang: + :type Tang: float + :param Tesp: + :type Tesp: float + :param T2d: + :type T2d: float + :param TApp3d: + :type TApp3d: float + :param TolApp2d: + :type TolApp2d: float + :param Fleche: + :type Fleche: float + :rtype: None") SetParams; + void SetParams (const Standard_Real Tang,const Standard_Real Tesp,const Standard_Real T2d,const Standard_Real TApp3d,const Standard_Real TolApp2d,const Standard_Real Fleche); + + /****************** SetRadius ******************/ + %feature("compactdefaultargs") SetRadius; + %feature("autodoc", "* Sets the parameters of the fillet along the contour of index IC generated using the Add function in the internal data structure of this algorithm, where Radius is the radius of the fillet. + :param Radius: + :type Radius: float :param IC: :type IC: int - :rtype: int -") NbComputedSurfaces; - Standard_Integer NbComputedSurfaces (const Standard_Integer IC); - %feature("compactdefaultargs") ComputedSurface; - %feature("autodoc", " * returns the surface number IS concerning the contour IC + :param IinC: + :type IinC: int + :rtype: None") SetRadius; + void SetRadius (const Standard_Real Radius,const Standard_Integer IC,const Standard_Integer IinC); + /****************** SetRadius ******************/ + %feature("compactdefaultargs") SetRadius; + %feature("autodoc", "* Sets the parameters of the fillet along the contour of index IC generated using the Add function in the internal data structure of this algorithm, where the radius of the fillet evolves according to a linear evolution law defined from R1 to R2, between the first and last vertices of the contour of index IC. + :param R1: + :type R1: float + :param R2: + :type R2: float :param IC: :type IC: int - :param IS: - :type IS: int - :rtype: Handle_Geom_Surface -") ComputedSurface; - Handle_Geom_Surface ComputedSurface (const Standard_Integer IC,const Standard_Integer IS); - %feature("compactdefaultargs") NbFaultyVertices; - %feature("autodoc", " * returns the number of vertices where the computation failed + :param IinC: + :type IinC: int + :rtype: None") SetRadius; + void SetRadius (const Standard_Real R1,const Standard_Real R2,const Standard_Integer IC,const Standard_Integer IinC); - :rtype: int -") NbFaultyVertices; - Standard_Integer NbFaultyVertices (); - %feature("compactdefaultargs") FaultyVertex; - %feature("autodoc", " * returns the vertex where the computation failed + /****************** SetRadius ******************/ + %feature("compactdefaultargs") SetRadius; + %feature("autodoc", "* Sets the parameters of the fillet along the contour of index IC generated using the Add function in the internal data structure of this algorithm, where the radius of the fillet evolves according to the evolution law L, between the first and last vertices of the contour of index IC. + :param L: + :type L: opencascade::handle & + :param IC: + :type IC: int + :param IinC: + :type IinC: int + :rtype: None") SetRadius; + void SetRadius (const opencascade::handle & L,const Standard_Integer IC,const Standard_Integer IinC); - :param IV: - :type IV: int - :rtype: TopoDS_Vertex -") FaultyVertex; - TopoDS_Vertex FaultyVertex (const Standard_Integer IV); - %feature("compactdefaultargs") HasResult; - %feature("autodoc", " * returns true if a part of the result has been computed if the filling in a corner failed a shape with a hole is returned + /****************** SetRadius ******************/ + %feature("compactdefaultargs") SetRadius; + %feature("autodoc", "* Sets the parameters of the fillet along the contour of index IC generated using the Add function in the internal data structure of this algorithm, where the radius of the fillet evolves according to the evolution law which interpolates the set of parameter and radius pairs given in the array UandR as follows: - the X coordinate of a point in UandR defines a relative parameter on the contour (i.e. a parameter between 0 and 1), - the Y coordinate of a point in UandR gives the corresponding value of the radius, and the radius evolves between the first and last vertices of the contour of index IC. + :param UandR: + :type UandR: TColgp_Array1OfPnt2d + :param IC: + :type IC: int + :param IinC: + :type IinC: int + :rtype: None") SetRadius; + void SetRadius (const TColgp_Array1OfPnt2d & UandR,const Standard_Integer IC,const Standard_Integer IinC); - :rtype: bool -") HasResult; - Standard_Boolean HasResult (); - %feature("compactdefaultargs") BadShape; - %feature("autodoc", " * if (HasResult()) returns the partial result + /****************** SetRadius ******************/ + %feature("compactdefaultargs") SetRadius; + %feature("autodoc", "* Assigns Radius as the radius of the fillet on the edge E + :param Radius: + :type Radius: float + :param IC: + :type IC: int + :param E: + :type E: TopoDS_Edge & + :rtype: None") SetRadius; + void SetRadius (const Standard_Real Radius,const Standard_Integer IC,const TopoDS_Edge & E); - :rtype: TopoDS_Shape -") BadShape; - TopoDS_Shape BadShape (); - %feature("compactdefaultargs") StripeStatus; - %feature("autodoc", " * returns the status concerning the contour IC in case of error ChFiDS_Ok : the computation is Ok ChFiDS_StartsolFailure : the computation can't start, perhaps the the radius is too big ChFiDS_TwistedSurface : the computation failed because of a twisted surface ChFiDS_WalkingFailure : there is a problem in the walking ChFiDS_Error: other error different from above + /****************** SetRadius ******************/ + %feature("compactdefaultargs") SetRadius; + %feature("autodoc", ":param Radius: + :type Radius: float + :param IC: + :type IC: int + :param V: + :type V: TopoDS_Vertex & + :rtype: None") SetRadius; + void SetRadius (const Standard_Real Radius,const Standard_Integer IC,const TopoDS_Vertex & V); + + /****************** Simulate ******************/ + %feature("compactdefaultargs") Simulate; + %feature("autodoc", ":param IC: + :type IC: int + :rtype: None") Simulate; + void Simulate (const Standard_Integer IC); + /****************** StripeStatus ******************/ + %feature("compactdefaultargs") StripeStatus; + %feature("autodoc", "* returns the status concerning the contour IC in case of error ChFiDS_Ok : the computation is Ok ChFiDS_StartsolFailure : the computation can't start, perhaps the the radius is too big ChFiDS_TwistedSurface : the computation failed because of a twisted surface ChFiDS_WalkingFailure : there is a problem in the walking ChFiDS_Error: other error different from above :param IC: :type IC: int - :rtype: ChFiDS_ErrorStatus -") StripeStatus; + :rtype: ChFiDS_ErrorStatus") StripeStatus; ChFiDS_ErrorStatus StripeStatus (const Standard_Integer IC); + }; @@ -1252,3 +1350,7 @@ class BRepFilletAPI_MakeFillet : public BRepFilletAPI_LocalOperation { __repr__ = _dumps_object } }; + +/* harray1 class */ +/* harray2 class */ +/* harray2 class */ diff --git a/src/SWIG_files/wrapper/BRepFilletAPI_headers.i b/src/SWIG_files/wrapper/BRepFilletAPI_headers.i deleted file mode 100644 index df203312c..000000000 --- a/src/SWIG_files/wrapper/BRepFilletAPI_headers.i +++ /dev/null @@ -1,1455 +0,0 @@ -/* -Copyright 2008-2017 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 . - -*/ -%{ -#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 -#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 -#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 -#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 -#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 -#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 -#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 -#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 -#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 -#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 -#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 -#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 -#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 -#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 -#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 -#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 -%}; -%import BRepBuilderAPI.i -%import TopoDS.i -%import Standard.i -%import ChFiDS.i -%import TopTools.i -%import ChFi2d.i -%import TopOpeBRepBuild.i -%import ChFi3d.i -%import GeomAbs.i -%import Law.i -%import TColgp.i -%import Geom.i diff --git a/src/SWIG_files/wrapper/BRepGProp.i b/src/SWIG_files/wrapper/BRepGProp.i index 82b170acf..be5eedc59 100644 --- a/src/SWIG_files/wrapper/BRepGProp.i +++ b/src/SWIG_files/wrapper/BRepGProp.i @@ -1,6 +1,5 @@ /* -Copyright 2008-2017 Thomas Paviot (tpaviot@gmail.com) - +Copyright 2008-2019 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -15,26 +14,13 @@ 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 BREPGPROPDOCSTRING -"Provides global functions to compute a shape's global -properties for lines, surfaces or volumes, and bring -them together with the global properties already -computed for a geometric system. -The global properties computed for a system are : -- its mass, -- its center of mass, -- its matrix of inertia, -- its moment about an axis, -- its radius of gyration about an axis, -- and its principal properties of inertia such as -principal axis, principal moments, principal radius of gyration. -" +"BRepGProp module, see official documentation at +https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brepgprop.html" %enddef %module (package="OCC.Core", docstring=BREPGPROPDOCSTRING) BRepGProp -#pragma SWIG nowarn=504,325,503 %{ #ifdef WNT @@ -49,63 +35,124 @@ principal axis, principal moments, principal radius of gyration. %include ../common/OccHandle.i -%include BRepGProp_headers.i - -/* typedefs */ -/* end typedefs declaration */ - +%{ +#include + +//Dependencies +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +%}; +%import Standard.i +%import NCollection.i +%import TopoDS.i +%import GProp.i +%import gp.i +%import BRepAdaptor.i +%import TColStd.i +%import GeomAbs.i +%import TColgp.i +%import math.i /* public enums */ /* end public enums declaration */ +/* handles */ +/* end handles declaration */ +/* templates */ +/* end templates declaration */ + +/* typedefs */ +/* end typedefs declaration */ + +/****************** +* class BRepGProp * +******************/ %rename(brepgprop) BRepGProp; class BRepGProp { public: + /****************** LinearProperties ******************/ %feature("compactdefaultargs") LinearProperties; - %feature("autodoc", " * Computes the linear global properties of the shape S, i.e. the global properties induced by each edge of the shape S, and brings them together with the global properties still retained by the framework LProps. If the current system of LProps was empty, its global properties become equal to the linear global properties of S. For this computation no linear density is attached to the edges. So, for example, the added mass corresponds to the sum of the lengths of the edges of S. The density of the composed systems, i.e. that of each component of the current system of LProps, and that of S which is considered to be equal to 1, must be coherent. Note that this coherence cannot be checked. You are advised to use a separate framework for each density, and then to bring these frameworks together into a global one. The point relative to which the inertia of the system is computed is the reference point of the framework LProps. Note: if your programming ensures that the framework LProps retains only linear global properties (brought together for example, by the function LinearProperties) for objects the density of which is equal to 1 (or is not defined), the function Mass will return the total length of edges of the system analysed by LProps. Warning No check is performed to verify that the shape S retains truly linear properties. If S is simply a vertex, it is not considered to present any additional global properties. - + %feature("autodoc", "* Computes the linear global properties of the shape S, i.e. the global properties induced by each edge of the shape S, and brings them together with the global properties still retained by the framework LProps. If the current system of LProps was empty, its global properties become equal to the linear global properties of S. For this computation no linear density is attached to the edges. So, for example, the added mass corresponds to the sum of the lengths of the edges of S. The density of the composed systems, i.e. that of each component of the current system of LProps, and that of S which is considered to be equal to 1, must be coherent. Note that this coherence cannot be checked. You are advised to use a separate framework for each density, and then to bring these frameworks together into a global one. The point relative to which the inertia of the system is computed is the reference point of the framework LProps. Note: if your programming ensures that the framework LProps retains only linear global properties (brought together for example, by the function LinearProperties) for objects the density of which is equal to 1 (or is not defined), the function Mass will return the total length of edges of the system analysed by LProps. Warning No check is performed to verify that the shape S retains truly linear properties. If S is simply a vertex, it is not considered to present any additional global properties. SkipShared is a special flag, which allows taking in calculation shared topological entities or not. For ex., if SkipShared = True, edges, shared by two or more faces, are taken into calculation only once. If we have cube with sizes 1, 1, 1, its linear properties = 12 for SkipEdges = true and 24 for SkipEdges = false. UseTriangulation is a special flag, which defines preferable source of geometry data. If UseTriangulation = Standard_False, exact geometry objects (curves) are used, otherwise polygons of triangulation are used first. :param S: :type S: TopoDS_Shape & :param LProps: :type LProps: GProp_GProps & - :rtype: void -") LinearProperties; - static void LinearProperties (const TopoDS_Shape & S,GProp_GProps & LProps); + :param SkipShared: default value is Standard_False + :type SkipShared: bool + :param UseTriangulation: default value is Standard_False + :type UseTriangulation: bool + :rtype: void") LinearProperties; + static void LinearProperties (const TopoDS_Shape & S,GProp_GProps & LProps,const Standard_Boolean SkipShared = Standard_False,const Standard_Boolean UseTriangulation = Standard_False); + + /****************** SurfaceProperties ******************/ %feature("compactdefaultargs") SurfaceProperties; - %feature("autodoc", " * Computes the surface global properties of the shape S, i.e. the global properties induced by each face of the shape S, and brings them together with the global properties still retained by the framework SProps. If the current system of SProps was empty, its global properties become equal to the surface global properties of S. For this computation, no surface density is attached to the faces. Consequently, the added mass corresponds to the sum of the areas of the faces of S. The density of the component systems, i.e. that of each component of the current system of SProps, and that of S which is considered to be equal to 1, must be coherent. Note that this coherence cannot be checked. You are advised to use a framework for each different value of density, and then to bring these frameworks together into a global one. The point relative to which the inertia of the system is computed is the reference point of the framework SProps. Note : if your programming ensures that the framework SProps retains only surface global properties, brought together, for example, by the function SurfaceProperties, for objects the density of which is equal to 1 (or is not defined), the function Mass will return the total area of faces of the system analysed by SProps. Warning No check is performed to verify that the shape S retains truly surface properties. If S is simply a vertex, an edge or a wire, it is not considered to present any additional global properties. - + %feature("autodoc", "* Computes the surface global properties of the shape S, i.e. the global properties induced by each face of the shape S, and brings them together with the global properties still retained by the framework SProps. If the current system of SProps was empty, its global properties become equal to the surface global properties of S. For this computation, no surface density is attached to the faces. Consequently, the added mass corresponds to the sum of the areas of the faces of S. The density of the component systems, i.e. that of each component of the current system of SProps, and that of S which is considered to be equal to 1, must be coherent. Note that this coherence cannot be checked. You are advised to use a framework for each different value of density, and then to bring these frameworks together into a global one. The point relative to which the inertia of the system is computed is the reference point of the framework SProps. Note : if your programming ensures that the framework SProps retains only surface global properties, brought together, for example, by the function SurfaceProperties, for objects the density of which is equal to 1 (or is not defined), the function Mass will return the total area of faces of the system analysed by SProps. Warning No check is performed to verify that the shape S retains truly surface properties. If S is simply a vertex, an edge or a wire, it is not considered to present any additional global properties. 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. UseTriangulation is a special flag, which defines preferable source of geometry data. If UseTriangulation = Standard_False, exact geometry objects (surfaces) are used, otherwise face triangulations are used first. :param S: :type S: TopoDS_Shape & :param SProps: :type SProps: GProp_GProps & - :rtype: void -") SurfaceProperties; - static void SurfaceProperties (const TopoDS_Shape & S,GProp_GProps & SProps); + :param SkipShared: default value is Standard_False + :type SkipShared: bool + :param UseTriangulation: default value is Standard_False + :type UseTriangulation: bool + :rtype: void") SurfaceProperties; + static void SurfaceProperties (const TopoDS_Shape & S,GProp_GProps & SProps,const Standard_Boolean SkipShared = Standard_False,const Standard_Boolean UseTriangulation = Standard_False); + + /****************** SurfaceProperties ******************/ %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. //! Computes the global volume properties of the solid S, and brings them together with the global properties still retained by the framework VProps. If the current system of VProps was empty, its global properties become equal to the global properties of S for volume. For this computation, no volume density is attached to the solid. Consequently, the added mass corresponds to the volume of S. The density of the component systems, i.e. that of each component of the current system of VProps, and that of S which is considered to be equal to 1, must be coherent to each other. Note that this coherence cannot be checked. You are advised to use a separate framework for each density, and then to bring these frameworks together into a global one. The point relative to which the inertia of the system is computed is the reference point of the framework VProps. Note: if your programming ensures that the framework VProps retains only global properties of volume (brought together for example, by the function VolumeProperties) for objects the density of which is equal to 1 (or is not defined), the function Mass will return the total volume of the solids of the system analysed by VProps. Warning The shape S must represent an object whose global volume properties can be computed. It may be a finite solid, or a series of finite solids all oriented in a coherent way. Nonetheless, S must be exempt of any free boundary. Note that these conditions of coherence are not checked by this algorithm, and results will be false if they are not respected. - + %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. :param S: :type S: TopoDS_Shape & :param SProps: :type SProps: GProp_GProps & :param Eps: :type Eps: float - :rtype: float -") SurfaceProperties; - static Standard_Real SurfaceProperties (const TopoDS_Shape & S,GProp_GProps & SProps,const Standard_Real Eps); + :param SkipShared: default value is Standard_False + :type SkipShared: bool + :rtype: float") SurfaceProperties; + static Standard_Real SurfaceProperties (const TopoDS_Shape & S,GProp_GProps & SProps,const Standard_Real Eps,const Standard_Boolean SkipShared = Standard_False); + + /****************** VolumeProperties ******************/ %feature("compactdefaultargs") VolumeProperties; - %feature("autodoc", " :param S: + %feature("autodoc", "* //! Computes the global volume properties of the solid S, and brings them together with the global properties still retained by the framework VProps. If the current system of VProps was empty, its global properties become equal to the global properties of S for volume. For this computation, no volume density is attached to the solid. Consequently, the added mass corresponds to the volume of S. The density of the component systems, i.e. that of each component of the current system of VProps, and that of S which is considered to be equal to 1, must be coherent to each other. Note that this coherence cannot be checked. You are advised to use a separate framework for each density, and then to bring these frameworks together into a global one. The point relative to which the inertia of the system is computed is the reference point of the framework VProps. Note: if your programming ensures that the framework VProps retains only global properties of volume (brought together for example, by the function VolumeProperties) for objects the density of which is equal to 1 (or is not defined), the function Mass will return the total volume of the solids of the system analysed by VProps. Warning The shape S must represent an object whose global volume properties can be computed. It may be a finite solid, or a series of finite solids all oriented in a coherent way. Nonetheless, S must be exempt of any free boundary. Note that these conditions of coherence are not checked by this algorithm, and results will be false if they are not respected. SkipShared a is 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. UseTriangulation is a special flag, which defines preferable source of geometry data. If UseTriangulation = Standard_False, exact geometry objects (surfaces) are used, otherwise face triangulations are used first. + :param S: :type S: TopoDS_Shape & :param VProps: :type VProps: GProp_GProps & :param OnlyClosed: default value is Standard_False :type OnlyClosed: bool - :rtype: void -") VolumeProperties; - static void VolumeProperties (const TopoDS_Shape & S,GProp_GProps & VProps,const Standard_Boolean OnlyClosed = Standard_False); + :param SkipShared: default value is Standard_False + :type SkipShared: bool + :param UseTriangulation: default value is Standard_False + :type UseTriangulation: bool + :rtype: void") VolumeProperties; + static void VolumeProperties (const TopoDS_Shape & S,GProp_GProps & VProps,const Standard_Boolean OnlyClosed = Standard_False,const Standard_Boolean SkipShared = Standard_False,const Standard_Boolean UseTriangulation = Standard_False); + + /****************** VolumeProperties ******************/ %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. - + %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. :param S: :type S: TopoDS_Shape & :param VProps: @@ -114,12 +161,14 @@ class BRepGProp { :type Eps: float :param OnlyClosed: default value is Standard_False :type OnlyClosed: bool - :rtype: float -") VolumeProperties; - static Standard_Real VolumeProperties (const TopoDS_Shape & S,GProp_GProps & VProps,const Standard_Real Eps,const Standard_Boolean OnlyClosed = Standard_False); - %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. + :param SkipShared: default value is Standard_False + :type SkipShared: bool + :rtype: float") VolumeProperties; + static Standard_Real VolumeProperties (const TopoDS_Shape & S,GProp_GProps & VProps,const Standard_Real Eps,const Standard_Boolean OnlyClosed = Standard_False,const Standard_Boolean SkipShared = Standard_False); + /****************** VolumePropertiesGK ******************/ + %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. :param S: :type S: TopoDS_Shape & :param VProps: @@ -134,11 +183,14 @@ class BRepGProp { :type CGFlag: bool :param IFlag: default value is Standard_False :type IFlag: bool - :rtype: float -") VolumePropertiesGK; - static Standard_Real VolumePropertiesGK (const TopoDS_Shape & S,GProp_GProps & VProps,const Standard_Real Eps = 0.001,const Standard_Boolean OnlyClosed = Standard_False,const Standard_Boolean IsUseSpan = Standard_False,const Standard_Boolean CGFlag = Standard_False,const Standard_Boolean IFlag = Standard_False); + :param SkipShared: default value is Standard_False + :type SkipShared: bool + :rtype: float") VolumePropertiesGK; + static Standard_Real VolumePropertiesGK (const TopoDS_Shape & S,GProp_GProps & VProps,const Standard_Real Eps = 0.001,const Standard_Boolean OnlyClosed = Standard_False,const Standard_Boolean IsUseSpan = Standard_False,const Standard_Boolean CGFlag = Standard_False,const Standard_Boolean IFlag = Standard_False,const Standard_Boolean SkipShared = Standard_False); + + /****************** VolumePropertiesGK ******************/ %feature("compactdefaultargs") VolumePropertiesGK; - %feature("autodoc", " :param S: + %feature("autodoc", ":param S: :type S: TopoDS_Shape & :param VProps: :type VProps: GProp_GProps & @@ -154,9 +206,11 @@ class BRepGProp { :type CGFlag: bool :param IFlag: default value is Standard_False :type IFlag: bool - :rtype: float -") VolumePropertiesGK; - static Standard_Real VolumePropertiesGK (const TopoDS_Shape & S,GProp_GProps & VProps,const gp_Pln & thePln,const Standard_Real Eps = 0.001,const Standard_Boolean OnlyClosed = Standard_False,const Standard_Boolean IsUseSpan = Standard_False,const Standard_Boolean CGFlag = Standard_False,const Standard_Boolean IFlag = Standard_False); + :param SkipShared: default value is Standard_False + :type SkipShared: bool + :rtype: float") VolumePropertiesGK; + static Standard_Real VolumePropertiesGK (const TopoDS_Shape & S,GProp_GProps & VProps,const gp_Pln & thePln,const Standard_Real Eps = 0.001,const Standard_Boolean OnlyClosed = Standard_False,const Standard_Boolean IsUseSpan = Standard_False,const Standard_Boolean CGFlag = Standard_False,const Standard_Boolean IFlag = Standard_False,const Standard_Boolean SkipShared = Standard_False); + }; @@ -165,33 +219,41 @@ class BRepGProp { __repr__ = _dumps_object } }; + +/************************* +* class BRepGProp_Cinert * +*************************/ %nodefaultctor BRepGProp_Cinert; class BRepGProp_Cinert : public GProp_GProps { public: + /****************** BRepGProp_Cinert ******************/ %feature("compactdefaultargs") BRepGProp_Cinert; - %feature("autodoc", " :rtype: None -") BRepGProp_Cinert; + %feature("autodoc", ":rtype: None") BRepGProp_Cinert; BRepGProp_Cinert (); + + /****************** BRepGProp_Cinert ******************/ %feature("compactdefaultargs") BRepGProp_Cinert; - %feature("autodoc", " :param C: + %feature("autodoc", ":param C: :type C: BRepAdaptor_Curve & :param CLocation: :type CLocation: gp_Pnt - :rtype: None -") BRepGProp_Cinert; + :rtype: None") BRepGProp_Cinert; BRepGProp_Cinert (const BRepAdaptor_Curve & C,const gp_Pnt & CLocation); - %feature("compactdefaultargs") SetLocation; - %feature("autodoc", " :param CLocation: - :type CLocation: gp_Pnt - :rtype: None -") SetLocation; - void SetLocation (const gp_Pnt & CLocation); + + /****************** Perform ******************/ %feature("compactdefaultargs") Perform; - %feature("autodoc", " :param C: + %feature("autodoc", ":param C: :type C: BRepAdaptor_Curve & - :rtype: None -") Perform; + :rtype: None") Perform; void Perform (const BRepAdaptor_Curve & C); + + /****************** SetLocation ******************/ + %feature("compactdefaultargs") SetLocation; + %feature("autodoc", ":param CLocation: + :type CLocation: gp_Pnt + :rtype: None") SetLocation; + void SetLocation (const gp_Pnt & CLocation); + }; @@ -200,55 +262,59 @@ class BRepGProp_Cinert : public GProp_GProps { __repr__ = _dumps_object } }; + +/************************* +* class BRepGProp_Domain * +*************************/ %nodefaultctor BRepGProp_Domain; class BRepGProp_Domain { public: + /****************** BRepGProp_Domain ******************/ %feature("compactdefaultargs") BRepGProp_Domain; - %feature("autodoc", " * Empty constructor. - - :rtype: None -") BRepGProp_Domain; + %feature("autodoc", "* Empty constructor. + :rtype: None") BRepGProp_Domain; BRepGProp_Domain (); - %feature("compactdefaultargs") BRepGProp_Domain; - %feature("autodoc", " * Constructor. Initializes the domain with the face. + /****************** BRepGProp_Domain ******************/ + %feature("compactdefaultargs") BRepGProp_Domain; + %feature("autodoc", "* Constructor. Initializes the domain with the face. :param F: :type F: TopoDS_Face & - :rtype: None -") BRepGProp_Domain; + :rtype: None") BRepGProp_Domain; BRepGProp_Domain (const TopoDS_Face & F); - %feature("compactdefaultargs") Init; - %feature("autodoc", " * Initializes the domain with the face. + /****************** Init ******************/ + %feature("compactdefaultargs") Init; + %feature("autodoc", "* Initializes the domain with the face. :param F: :type F: TopoDS_Face & - :rtype: None -") Init; + :rtype: None") Init; void Init (const TopoDS_Face & F); - %feature("compactdefaultargs") More; - %feature("autodoc", " * Returns True if there is another arc of curve in the list. - :rtype: bool -") More; - Standard_Boolean More (); + /****************** Init ******************/ %feature("compactdefaultargs") Init; - %feature("autodoc", " * Initializes the exploration with the face already set. - - :rtype: None -") Init; + %feature("autodoc", "* Initializes the exploration with the face already set. + :rtype: None") Init; void Init (); - %feature("compactdefaultargs") Value; - %feature("autodoc", " * Returns the current edge. - :rtype: TopoDS_Edge -") Value; - const TopoDS_Edge Value (); - %feature("compactdefaultargs") Next; - %feature("autodoc", " * Sets the index of the arc iterator to the next arc of curve. + /****************** More ******************/ + %feature("compactdefaultargs") More; + %feature("autodoc", "* Returns True if there is another arc of curve in the list. + :rtype: bool") More; + Standard_Boolean More (); - :rtype: None -") Next; + /****************** Next ******************/ + %feature("compactdefaultargs") Next; + %feature("autodoc", "* Sets the index of the arc iterator to the next arc of curve. + :rtype: None") Next; void Next (); + + /****************** Value ******************/ + %feature("compactdefaultargs") Value; + %feature("autodoc", "* Returns the current edge. + :rtype: TopoDS_Edge") Value; + const TopoDS_Edge Value (); + }; @@ -257,78 +323,82 @@ class BRepGProp_Domain { __repr__ = _dumps_object } }; + +/*************************** +* class BRepGProp_EdgeTool * +***************************/ class BRepGProp_EdgeTool { public: - %feature("compactdefaultargs") FirstParameter; - %feature("autodoc", " * Returns the parametric value of the start point of the curve. The curve is oriented from the start point to the end point. - + /****************** D1 ******************/ + %feature("compactdefaultargs") D1; + %feature("autodoc", "* Returns the point of parameter U and the first derivative at this point. :param C: :type C: BRepAdaptor_Curve & - :rtype: float -") FirstParameter; - static Standard_Real FirstParameter (const BRepAdaptor_Curve & C); - %feature("compactdefaultargs") LastParameter; - %feature("autodoc", " * Returns the parametric value of the end point of the curve. The curve is oriented from the start point to the end point. + :param U: + :type U: float + :param P: + :type P: gp_Pnt + :param V1: + :type V1: gp_Vec + :rtype: void") D1; + static void D1 (const BRepAdaptor_Curve & C,const Standard_Real U,gp_Pnt & P,gp_Vec & V1); + /****************** FirstParameter ******************/ + %feature("compactdefaultargs") FirstParameter; + %feature("autodoc", "* Returns the parametric value of the start point of the curve. The curve is oriented from the start point to the end point. :param C: :type C: BRepAdaptor_Curve & - :rtype: float -") LastParameter; - static Standard_Real LastParameter (const BRepAdaptor_Curve & C); - %feature("compactdefaultargs") IntegrationOrder; - %feature("autodoc", " * Returns the number of Gauss points required to do the integration with a good accuracy using the Gauss method. For a polynomial curve of degree n the maxima of accuracy is obtained with an order of integration equal to 2*n-1. + :rtype: float") FirstParameter; + static Standard_Real FirstParameter (const BRepAdaptor_Curve & C); + /****************** IntegrationOrder ******************/ + %feature("compactdefaultargs") IntegrationOrder; + %feature("autodoc", "* Returns the number of Gauss points required to do the integration with a good accuracy using the Gauss method. For a polynomial curve of degree n the maxima of accuracy is obtained with an order of integration equal to 2*n-1. :param C: :type C: BRepAdaptor_Curve & - :rtype: int -") IntegrationOrder; + :rtype: int") IntegrationOrder; static Standard_Integer IntegrationOrder (const BRepAdaptor_Curve & C); - %feature("compactdefaultargs") Value; - %feature("autodoc", " * Returns the point of parameter U on the loaded curve. + /****************** Intervals ******************/ + %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() :param C: :type C: BRepAdaptor_Curve & - :param U: - :type U: float - :rtype: gp_Pnt -") Value; - static gp_Pnt Value (const BRepAdaptor_Curve & C,const Standard_Real U); - %feature("compactdefaultargs") D1; - %feature("autodoc", " * Returns the point of parameter U and the first derivative at this point. + :param T: + :type T: TColStd_Array1OfReal & + :param S: + :type S: GeomAbs_Shape + :rtype: void") Intervals; + static void Intervals (const BRepAdaptor_Curve & C,TColStd_Array1OfReal & T,const GeomAbs_Shape S); + /****************** LastParameter ******************/ + %feature("compactdefaultargs") LastParameter; + %feature("autodoc", "* Returns the parametric value of the end point of the curve. The curve is oriented from the start point to the end point. :param C: :type C: BRepAdaptor_Curve & - :param U: - :type U: float - :param P: - :type P: gp_Pnt - :param V1: - :type V1: gp_Vec - :rtype: void -") D1; - static void D1 (const BRepAdaptor_Curve & C,const Standard_Real U,gp_Pnt & P,gp_Vec & V1); - %feature("compactdefaultargs") NbIntervals; - %feature("autodoc", " * Returns the number of intervals for continuity . May be one if Continuity(me) >= + :rtype: float") LastParameter; + static Standard_Real LastParameter (const BRepAdaptor_Curve & C); + /****************** NbIntervals ******************/ + %feature("compactdefaultargs") NbIntervals; + %feature("autodoc", "* Returns the number of intervals for continuity . May be one if Continuity(me) >= :param C: :type C: BRepAdaptor_Curve & :param S: :type S: GeomAbs_Shape - :rtype: int -") NbIntervals; + :rtype: int") NbIntervals; static Standard_Integer NbIntervals (const BRepAdaptor_Curve & C,const GeomAbs_Shape S); - %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() + /****************** Value ******************/ + %feature("compactdefaultargs") Value; + %feature("autodoc", "* Returns the point of parameter U on the loaded curve. :param C: :type C: BRepAdaptor_Curve & - :param T: - :type T: TColStd_Array1OfReal & - :param S: - :type S: GeomAbs_Shape - :rtype: void -") Intervals; - static void Intervals (const BRepAdaptor_Curve & C,TColStd_Array1OfReal & T,const GeomAbs_Shape S); + :param U: + :type U: float + :rtype: gp_Pnt") Value; + static gp_Pnt Value (const BRepAdaptor_Curve & C,const Standard_Real U); + }; @@ -337,116 +407,158 @@ class BRepGProp_EdgeTool { __repr__ = _dumps_object } }; + +/*********************** +* class BRepGProp_Face * +***********************/ %nodefaultctor BRepGProp_Face; class BRepGProp_Face { public: + /****************** BRepGProp_Face ******************/ %feature("compactdefaultargs") BRepGProp_Face; - %feature("autodoc", " * Constructor. Initializes the object with a flag IsUseSpan that says if it is necessary to define spans on a face. This option has an effect only for BSpline faces. Spans are returned by the methods GetUKnots and GetTKnots. - + %feature("autodoc", "* Constructor. Initializes the object with a flag IsUseSpan that says if it is necessary to define spans on a face. This option has an effect only for BSpline faces. Spans are returned by the methods GetUKnots and GetTKnots. :param IsUseSpan: default value is Standard_False :type IsUseSpan: bool - :rtype: None -") BRepGProp_Face; + :rtype: None") BRepGProp_Face; BRepGProp_Face (const Standard_Boolean IsUseSpan = Standard_False); - %feature("compactdefaultargs") BRepGProp_Face; - %feature("autodoc", " * Constructor. Initializes the object with the face and the flag IsUseSpan that says if it is necessary to define spans on a face. This option has an effect only for BSpline faces. Spans are returned by the methods GetUKnots and GetTKnots. + /****************** BRepGProp_Face ******************/ + %feature("compactdefaultargs") BRepGProp_Face; + %feature("autodoc", "* Constructor. Initializes the object with the face and the flag IsUseSpan that says if it is necessary to define spans on a face. This option has an effect only for BSpline faces. Spans are returned by the methods GetUKnots and GetTKnots. :param F: :type F: TopoDS_Face & :param IsUseSpan: default value is Standard_False :type IsUseSpan: bool - :rtype: None -") BRepGProp_Face; + :rtype: None") BRepGProp_Face; BRepGProp_Face (const TopoDS_Face & F,const Standard_Boolean IsUseSpan = Standard_False); - %feature("compactdefaultargs") Load; - %feature("autodoc", " :param F: - :type F: TopoDS_Face & - :rtype: None -") Load; - void Load (const TopoDS_Face & F); - %feature("compactdefaultargs") VIntegrationOrder; - %feature("autodoc", " :rtype: int -") VIntegrationOrder; - Standard_Integer VIntegrationOrder (); - %feature("compactdefaultargs") NaturalRestriction; - %feature("autodoc", " * Returns Standard_True if the face is not trimmed. - :rtype: bool -") NaturalRestriction; - Standard_Boolean NaturalRestriction (); - %feature("compactdefaultargs") Value2d; - %feature("autodoc", " * Returns the value of the boundary curve of the face. + /****************** Bounds ******************/ + %feature("compactdefaultargs") Bounds; + %feature("autodoc", "* Returns the parametric bounds of the Face. + :param U1: + :type U1: float & + :param U2: + :type U2: float & + :param V1: + :type V1: float & + :param V2: + :type V2: float & + :rtype: None") Bounds; + void Bounds (Standard_Real &OutValue,Standard_Real &OutValue,Standard_Real &OutValue,Standard_Real &OutValue); + /****************** D12d ******************/ + %feature("compactdefaultargs") D12d; + %feature("autodoc", "* Returns the point of parameter U and the first derivative at this point of a boundary curve. :param U: :type U: float - :rtype: gp_Pnt2d -") Value2d; - gp_Pnt2d Value2d (const Standard_Real U); - %feature("compactdefaultargs") SIntOrder; - %feature("autodoc", " :param Eps: - :type Eps: float - :rtype: int -") SIntOrder; - Standard_Integer SIntOrder (const Standard_Real Eps); - %feature("compactdefaultargs") SVIntSubs; - %feature("autodoc", " :rtype: int -") SVIntSubs; - Standard_Integer SVIntSubs (); - %feature("compactdefaultargs") SUIntSubs; - %feature("autodoc", " :rtype: int -") SUIntSubs; - Standard_Integer SUIntSubs (); - %feature("compactdefaultargs") UKnots; - %feature("autodoc", " :param Knots: - :type Knots: TColStd_Array1OfReal & - :rtype: None -") UKnots; - void UKnots (TColStd_Array1OfReal & Knots); - %feature("compactdefaultargs") VKnots; - %feature("autodoc", " :param Knots: - :type Knots: TColStd_Array1OfReal & - :rtype: None -") VKnots; - void VKnots (TColStd_Array1OfReal & Knots); + :param P: + :type P: gp_Pnt2d + :param V1: + :type V1: gp_Vec2d + :rtype: None") D12d; + void D12d (const Standard_Real U,gp_Pnt2d & P,gp_Vec2d & V1); + + /****************** FirstParameter ******************/ + %feature("compactdefaultargs") FirstParameter; + %feature("autodoc", "* Returns the parametric value of the start point of the current arc of curve. + :rtype: float") FirstParameter; + Standard_Real FirstParameter (); + + /****************** GetFace ******************/ + %feature("compactdefaultargs") GetFace; + %feature("autodoc", "* Returns the TopoDS face. + :rtype: TopoDS_Face") GetFace; + const TopoDS_Face GetFace (); + + /****************** GetTKnots ******************/ + %feature("compactdefaultargs") GetTKnots; + %feature("autodoc", "* Returns an array of combination of T knots of the arc and V knots of the face. The first and last elements of the array will be theTMin and theTMax. The middle elements will be the Knots of the arc and the values of parameters of arc on which the value points have V coordinates close to V knots of face. All the parameter will be greater then theTMin and lower then theTMax in increasing order. If the face is not a BSpline, the array initialized with theTMin and theTMax only. + :param theTMin: + :type theTMin: float + :param theTMax: + :type theTMax: float + :param theTKnots: + :type theTKnots: opencascade::handle & + :rtype: None") GetTKnots; + void GetTKnots (const Standard_Real theTMin,const Standard_Real theTMax,opencascade::handle & theTKnots); + + /****************** GetUKnots ******************/ + %feature("compactdefaultargs") GetUKnots; + %feature("autodoc", "* Returns an array of U knots of the face. The first and last elements of the array will be theUMin and theUMax. The middle elements will be the U Knots of the face greater then theUMin and lower then theUMax in increasing order. If the face is not a BSpline, the array initialized with theUMin and theUMax only. + :param theUMin: + :type theUMin: float + :param theUMax: + :type theUMax: float + :param theUKnots: + :type theUKnots: opencascade::handle & + :rtype: None") GetUKnots; + void GetUKnots (const Standard_Real theUMin,const Standard_Real theUMax,opencascade::handle & theUKnots); + + /****************** IntegrationOrder ******************/ + %feature("compactdefaultargs") IntegrationOrder; + %feature("autodoc", "* Returns the number of points required to do the integration along the parameter of curve. + :rtype: int") IntegrationOrder; + Standard_Integer IntegrationOrder (); + + /****************** LIntOrder ******************/ %feature("compactdefaultargs") LIntOrder; - %feature("autodoc", " :param Eps: + %feature("autodoc", ":param Eps: :type Eps: float - :rtype: int -") LIntOrder; + :rtype: int") LIntOrder; Standard_Integer LIntOrder (const Standard_Real Eps); + + /****************** LIntSubs ******************/ %feature("compactdefaultargs") LIntSubs; - %feature("autodoc", " :rtype: int -") LIntSubs; + %feature("autodoc", ":rtype: int") LIntSubs; Standard_Integer LIntSubs (); + + /****************** LKnots ******************/ %feature("compactdefaultargs") LKnots; - %feature("autodoc", " :param Knots: + %feature("autodoc", ":param Knots: :type Knots: TColStd_Array1OfReal & - :rtype: None -") LKnots; + :rtype: None") LKnots; void LKnots (TColStd_Array1OfReal & Knots); - %feature("compactdefaultargs") UIntegrationOrder; - %feature("autodoc", " * Returns the number of points required to do the integration in the U parametric direction with a good accuracy. - :rtype: int -") UIntegrationOrder; - Standard_Integer UIntegrationOrder (); - %feature("compactdefaultargs") Bounds; - %feature("autodoc", " * Returns the parametric bounds of the Face. + /****************** LastParameter ******************/ + %feature("compactdefaultargs") LastParameter; + %feature("autodoc", "* Returns the parametric value of the end point of the current arc of curve. + :rtype: float") LastParameter; + Standard_Real LastParameter (); - :param U1: - :type U1: float & - :param U2: - :type U2: float & - :param V1: - :type V1: float & - :param V2: - :type V2: float & - :rtype: None -") Bounds; - void Bounds (Standard_Real &OutValue,Standard_Real &OutValue,Standard_Real &OutValue,Standard_Real &OutValue); - %feature("compactdefaultargs") Normal; - %feature("autodoc", " * Computes the point of parameter U, V on the Face and the normal to the face at this point. + /****************** Load ******************/ + %feature("compactdefaultargs") Load; + %feature("autodoc", ":param F: + :type F: TopoDS_Face & + :rtype: None") Load; + void Load (const TopoDS_Face & F); + + /****************** Load ******************/ + %feature("compactdefaultargs") Load; + %feature("autodoc", "* Loading the boundary arc. Returns False if edge has no P-Curve. + :param E: + :type E: TopoDS_Edge & + :rtype: bool") Load; + bool Load (const TopoDS_Edge & E); + + /****************** Load ******************/ + %feature("compactdefaultargs") Load; + %feature("autodoc", "* Loading the boundary arc. This arc is either a top, bottom, left or right bound of a UV rectangle in which the parameters of surface are defined. If IsFirstParam is equal to Standard_True, the face is initialized by either left of bottom bound. Otherwise it is initialized by the top or right one. If theIsoType is equal to GeomAbs_IsoU, the face is initialized with either left or right bound. Otherwise - with either top or bottom one. + :param IsFirstParam: + :type IsFirstParam: bool + :param theIsoType: + :type theIsoType: GeomAbs_IsoType + :rtype: None") Load; + void Load (const Standard_Boolean IsFirstParam,const GeomAbs_IsoType theIsoType); + + /****************** NaturalRestriction ******************/ + %feature("compactdefaultargs") NaturalRestriction; + %feature("autodoc", "* Returns Standard_True if the face is not trimmed. + :rtype: bool") NaturalRestriction; + Standard_Boolean NaturalRestriction (); + /****************** Normal ******************/ + %feature("compactdefaultargs") Normal; + %feature("autodoc", "* Computes the point of parameter U, V on the Face and the normal to the face at this point. :param U: :type U: float :param V: @@ -455,81 +567,59 @@ class BRepGProp_Face { :type P: gp_Pnt :param VNor: :type VNor: gp_Vec - :rtype: None -") Normal; + :rtype: None") Normal; void Normal (const Standard_Real U,const Standard_Real V,gp_Pnt & P,gp_Vec & VNor); - %feature("compactdefaultargs") Load; - %feature("autodoc", " * Loading the boundary arc. - :param E: - :type E: TopoDS_Edge & - :rtype: None -") Load; - void Load (const TopoDS_Edge & E); - %feature("compactdefaultargs") FirstParameter; - %feature("autodoc", " * Returns the parametric value of the start point of the current arc of curve. + /****************** SIntOrder ******************/ + %feature("compactdefaultargs") SIntOrder; + %feature("autodoc", ":param Eps: + :type Eps: float + :rtype: int") SIntOrder; + Standard_Integer SIntOrder (const Standard_Real Eps); - :rtype: float -") FirstParameter; - Standard_Real FirstParameter (); - %feature("compactdefaultargs") LastParameter; - %feature("autodoc", " * Returns the parametric value of the end point of the current arc of curve. + /****************** SUIntSubs ******************/ + %feature("compactdefaultargs") SUIntSubs; + %feature("autodoc", ":rtype: int") SUIntSubs; + Standard_Integer SUIntSubs (); - :rtype: float -") LastParameter; - Standard_Real LastParameter (); - %feature("compactdefaultargs") IntegrationOrder; - %feature("autodoc", " * Returns the number of points required to do the integration along the parameter of curve. + /****************** SVIntSubs ******************/ + %feature("compactdefaultargs") SVIntSubs; + %feature("autodoc", ":rtype: int") SVIntSubs; + Standard_Integer SVIntSubs (); - :rtype: int -") IntegrationOrder; - Standard_Integer IntegrationOrder (); - %feature("compactdefaultargs") D12d; - %feature("autodoc", " * Returns the point of parameter U and the first derivative at this point of a boundary curve. + /****************** UIntegrationOrder ******************/ + %feature("compactdefaultargs") UIntegrationOrder; + %feature("autodoc", "* Returns the number of points required to do the integration in the U parametric direction with a good accuracy. + :rtype: int") UIntegrationOrder; + Standard_Integer UIntegrationOrder (); - :param U: - :type U: float - :param P: - :type P: gp_Pnt2d - :param V1: - :type V1: gp_Vec2d - :rtype: None -") D12d; - void D12d (const Standard_Real U,gp_Pnt2d & P,gp_Vec2d & V1); - %feature("compactdefaultargs") Load; - %feature("autodoc", " * Loading the boundary arc. This arc is either a top, bottom, left or right bound of a UV rectangle in which the parameters of surface are defined. If IsFirstParam is equal to Standard_True, the face is initialized by either left of bottom bound. Otherwise it is initialized by the top or right one. If theIsoType is equal to GeomAbs_IsoU, the face is initialized with either left or right bound. Otherwise - with either top or bottom one. + /****************** UKnots ******************/ + %feature("compactdefaultargs") UKnots; + %feature("autodoc", ":param Knots: + :type Knots: TColStd_Array1OfReal & + :rtype: None") UKnots; + void UKnots (TColStd_Array1OfReal & Knots); - :param IsFirstParam: - :type IsFirstParam: bool - :param theIsoType: - :type theIsoType: GeomAbs_IsoType - :rtype: None -") Load; - void Load (const Standard_Boolean IsFirstParam,const GeomAbs_IsoType theIsoType); - %feature("compactdefaultargs") GetUKnots; - %feature("autodoc", " * Returns an array of U knots of the face. The first and last elements of the array will be theUMin and theUMax. The middle elements will be the U Knots of the face greater then theUMin and lower then theUMax in increasing order. If the face is not a BSpline, the array initialized with theUMin and theUMax only. + /****************** VIntegrationOrder ******************/ + %feature("compactdefaultargs") VIntegrationOrder; + %feature("autodoc", ":rtype: int") VIntegrationOrder; + Standard_Integer VIntegrationOrder (); - :param theUMin: - :type theUMin: float - :param theUMax: - :type theUMax: float - :param theUKnots: - :type theUKnots: Handle_TColStd_HArray1OfReal & - :rtype: None -") GetUKnots; - void GetUKnots (const Standard_Real theUMin,const Standard_Real theUMax,Handle_TColStd_HArray1OfReal & theUKnots); - %feature("compactdefaultargs") GetTKnots; - %feature("autodoc", " * Returns an array of combination of T knots of the arc and V knots of the face. The first and last elements of the array will be theTMin and theTMax. The middle elements will be the Knots of the arc and the values of parameters of arc on which the value points have V coordinates close to V knots of face. All the parameter will be greater then theTMin and lower then theTMax in increasing order. If the face is not a BSpline, the array initialized with theTMin and theTMax only. + /****************** VKnots ******************/ + %feature("compactdefaultargs") VKnots; + %feature("autodoc", ":param Knots: + :type Knots: TColStd_Array1OfReal & + :rtype: None") VKnots; + void VKnots (TColStd_Array1OfReal & Knots); + + /****************** Value2d ******************/ + %feature("compactdefaultargs") Value2d; + %feature("autodoc", "* Returns the value of the boundary curve of the face. + :param U: + :type U: float + :rtype: gp_Pnt2d") Value2d; + gp_Pnt2d Value2d (const Standard_Real U); - :param theTMin: - :type theTMin: float - :param theTMax: - :type theTMax: float - :param theTKnots: - :type theTKnots: Handle_TColStd_HArray1OfReal & - :rtype: None -") GetTKnots; - void GetTKnots (const Standard_Real theTMin,const Standard_Real theTMax,Handle_TColStd_HArray1OfReal & theTKnots); }; @@ -538,9 +628,14 @@ class BRepGProp_Face { __repr__ = _dumps_object } }; + +/************************ +* class BRepGProp_Gauss * +************************/ %nodefaultctor BRepGProp_Gauss; class BRepGProp_Gauss { public: + class Inertia {}; /* public enums */ enum BRepGProp_GaussType { Vinert = 0, @@ -549,14 +644,14 @@ enum BRepGProp_GaussType { /* end public enums declaration */ + /****************** BRepGProp_Gauss ******************/ %feature("compactdefaultargs") BRepGProp_Gauss; - %feature("autodoc", " * Constructor - + %feature("autodoc", "* Constructor :param theType: :type theType: BRepGProp_GaussType - :rtype: None -") BRepGProp_Gauss; + :rtype: None") BRepGProp_Gauss; BRepGProp_Gauss (const BRepGProp_GaussType theType); + }; @@ -565,45 +660,101 @@ enum BRepGProp_GaussType { __repr__ = _dumps_object } }; + +/***************************** +* class BRepGProp_MeshCinert * +*****************************/ +%nodefaultctor BRepGProp_MeshCinert; +class BRepGProp_MeshCinert : public GProp_GProps { + public: + /****************** BRepGProp_MeshCinert ******************/ + %feature("compactdefaultargs") BRepGProp_MeshCinert; + %feature("autodoc", ":rtype: None") BRepGProp_MeshCinert; + BRepGProp_MeshCinert (); + + /****************** Perform ******************/ + %feature("compactdefaultargs") Perform; + %feature("autodoc", "* Computes the global properties of of polylines represented by set of points. + :param theNodes: + :type theNodes: TColgp_Array1OfPnt + :rtype: None") Perform; + void Perform (const TColgp_Array1OfPnt & theNodes); + + /****************** PreparePolygon ******************/ + %feature("compactdefaultargs") PreparePolygon; + %feature("autodoc", "* Prepare set of 3d points on base of any available edge polygons: 3D polygon, polygon on triangulation, 2d polygon on surface If edge has no polygons, array thePolyg is left unchanged + :param theE: + :type theE: TopoDS_Edge & + :param thePolyg: + :type thePolyg: opencascade::handle + :rtype: void") PreparePolygon; + static void PreparePolygon (const TopoDS_Edge & theE,opencascade::handle & thePolyg); + + /****************** SetLocation ******************/ + %feature("compactdefaultargs") SetLocation; + %feature("autodoc", ":param CLocation: + :type CLocation: gp_Pnt + :rtype: None") SetLocation; + void SetLocation (const gp_Pnt & CLocation); + +}; + + +%extend BRepGProp_MeshCinert { + %pythoncode { + __repr__ = _dumps_object + } +}; + +/**************************** +* class BRepGProp_MeshProps * +****************************/ +/************************* +* class BRepGProp_Sinert * +*************************/ %nodefaultctor BRepGProp_Sinert; class BRepGProp_Sinert : public GProp_GProps { public: + /****************** BRepGProp_Sinert ******************/ %feature("compactdefaultargs") BRepGProp_Sinert; - %feature("autodoc", " :rtype: None -") BRepGProp_Sinert; + %feature("autodoc", ":rtype: None") BRepGProp_Sinert; BRepGProp_Sinert (); + + /****************** BRepGProp_Sinert ******************/ %feature("compactdefaultargs") BRepGProp_Sinert; - %feature("autodoc", " :param S: + %feature("autodoc", ":param S: :type S: BRepGProp_Face & :param SLocation: :type SLocation: gp_Pnt - :rtype: None -") BRepGProp_Sinert; + :rtype: None") BRepGProp_Sinert; BRepGProp_Sinert (const BRepGProp_Face & S,const gp_Pnt & SLocation); - %feature("compactdefaultargs") BRepGProp_Sinert; - %feature("autodoc", " * Builds a Sinert to evaluate the global properties of the face . If isNaturalRestriction is true the domain of S is defined with the natural bounds, else it defined with an iterator of Edge from TopoDS (see DomainTool from GProp) + /****************** BRepGProp_Sinert ******************/ + %feature("compactdefaultargs") BRepGProp_Sinert; + %feature("autodoc", "* Builds a Sinert to evaluate the global properties of the face . If isNaturalRestriction is true the domain of S is defined with the natural bounds, else it defined with an iterator of Edge from TopoDS (see DomainTool from GProp) :param S: :type S: BRepGProp_Face & :param D: :type D: BRepGProp_Domain & :param SLocation: :type SLocation: gp_Pnt - :rtype: None -") BRepGProp_Sinert; + :rtype: None") BRepGProp_Sinert; BRepGProp_Sinert (BRepGProp_Face & S,BRepGProp_Domain & D,const gp_Pnt & SLocation); + + /****************** BRepGProp_Sinert ******************/ %feature("compactdefaultargs") BRepGProp_Sinert; - %feature("autodoc", " :param S: + %feature("autodoc", ":param S: :type S: BRepGProp_Face & :param SLocation: :type SLocation: gp_Pnt :param Eps: :type Eps: float - :rtype: None -") BRepGProp_Sinert; + :rtype: None") BRepGProp_Sinert; BRepGProp_Sinert (BRepGProp_Face & S,const gp_Pnt & SLocation,const Standard_Real Eps); + + /****************** BRepGProp_Sinert ******************/ %feature("compactdefaultargs") BRepGProp_Sinert; - %feature("autodoc", " :param S: + %feature("autodoc", ":param S: :type S: BRepGProp_Face & :param D: :type D: BRepGProp_Domain & @@ -611,53 +762,58 @@ class BRepGProp_Sinert : public GProp_GProps { :type SLocation: gp_Pnt :param Eps: :type Eps: float - :rtype: None -") BRepGProp_Sinert; + :rtype: None") BRepGProp_Sinert; BRepGProp_Sinert (BRepGProp_Face & S,BRepGProp_Domain & D,const gp_Pnt & SLocation,const Standard_Real Eps); - %feature("compactdefaultargs") SetLocation; - %feature("autodoc", " :param SLocation: - :type SLocation: gp_Pnt - :rtype: None -") SetLocation; - void SetLocation (const gp_Pnt & SLocation); + + /****************** GetEpsilon ******************/ + %feature("compactdefaultargs") GetEpsilon; + %feature("autodoc", "* If previously used method contained Eps parameter get actual relative error of the computation, else return 1.0. + :rtype: float") GetEpsilon; + Standard_Real GetEpsilon (); + + /****************** Perform ******************/ %feature("compactdefaultargs") Perform; - %feature("autodoc", " :param S: + %feature("autodoc", ":param S: :type S: BRepGProp_Face & - :rtype: None -") Perform; + :rtype: None") Perform; void Perform (const BRepGProp_Face & S); + + /****************** Perform ******************/ %feature("compactdefaultargs") Perform; - %feature("autodoc", " :param S: + %feature("autodoc", ":param S: :type S: BRepGProp_Face & :param D: :type D: BRepGProp_Domain & - :rtype: None -") Perform; + :rtype: None") Perform; void Perform (BRepGProp_Face & S,BRepGProp_Domain & D); + + /****************** Perform ******************/ %feature("compactdefaultargs") Perform; - %feature("autodoc", " :param S: + %feature("autodoc", ":param S: :type S: BRepGProp_Face & :param Eps: :type Eps: float - :rtype: float -") Perform; + :rtype: float") Perform; Standard_Real Perform (BRepGProp_Face & S,const Standard_Real Eps); + + /****************** Perform ******************/ %feature("compactdefaultargs") Perform; - %feature("autodoc", " :param S: + %feature("autodoc", ":param S: :type S: BRepGProp_Face & :param D: :type D: BRepGProp_Domain & :param Eps: :type Eps: float - :rtype: float -") Perform; + :rtype: float") Perform; Standard_Real Perform (BRepGProp_Face & S,BRepGProp_Domain & D,const Standard_Real Eps); - %feature("compactdefaultargs") GetEpsilon; - %feature("autodoc", " * If previously used method contained Eps parameter get actual relative error of the computation, else return 1.0. - :rtype: float -") GetEpsilon; - Standard_Real GetEpsilon (); + /****************** SetLocation ******************/ + %feature("compactdefaultargs") SetLocation; + %feature("autodoc", ":param SLocation: + :type SLocation: gp_Pnt + :rtype: None") SetLocation; + void SetLocation (const gp_Pnt & SLocation); + }; @@ -666,12 +822,22 @@ class BRepGProp_Sinert : public GProp_GProps { __repr__ = _dumps_object } }; + +/**************************** +* class BRepGProp_TFunction * +****************************/ %nodefaultctor BRepGProp_TFunction; class BRepGProp_TFunction : public math_Function { public: - %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. + /****************** AbsolutError ******************/ + %feature("compactdefaultargs") AbsolutError; + %feature("autodoc", "* Returns the absolut reached error of all values computation since the last call of GetStateNumber method. + :rtype: float") AbsolutError; + Standard_Real AbsolutError (); + /****************** BRepGProp_TFunction ******************/ + %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. :param theSurface: :type theSurface: BRepGProp_Face & :param theVertex: @@ -684,65 +850,60 @@ class BRepGProp_TFunction : public math_Function { :type theUMin: float :param theTolerance: :type theTolerance: float - :rtype: None -") BRepGProp_TFunction; + :rtype: 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); + + /****************** ErrorReached ******************/ + %feature("compactdefaultargs") ErrorReached; + %feature("autodoc", "* Returns the relative reached error of all values computation since the last call of GetStateNumber method. + :rtype: float") ErrorReached; + Standard_Real ErrorReached (); + + /****************** GetStateNumber ******************/ + %feature("compactdefaultargs") GetStateNumber; + %feature("autodoc", "* Redefined method. Remembers the error reached during computation of integral values since the object creation or the last call of GetStateNumber. It is invoked in each algorithm from the package math. Particularly in the algorithm math_KronrodSingleIntegration that is used to compute the integral of TFunction. + :rtype: int") GetStateNumber; + virtual Standard_Integer GetStateNumber (); + + /****************** Init ******************/ %feature("compactdefaultargs") Init; - %feature("autodoc", " :rtype: None -") Init; + %feature("autodoc", ":rtype: None") Init; void Init (); - %feature("compactdefaultargs") SetNbKronrodPoints; - %feature("autodoc", " * Setting the expected number of Kronrod points for the outer integral computation. This number is required for computation of a value of tolerance for inner integral computation. After GetStateNumber method call, this number is recomputed by the same law as in math_KronrodSingleIntegration, i.e. next number of points is equal to the current number plus a square root of the current number. If the law in math_KronrodSingleIntegration is changed, the modification algo should be modified accordingly. + /****************** SetNbKronrodPoints ******************/ + %feature("compactdefaultargs") SetNbKronrodPoints; + %feature("autodoc", "* Setting the expected number of Kronrod points for the outer integral computation. This number is required for computation of a value of tolerance for inner integral computation. After GetStateNumber method call, this number is recomputed by the same law as in math_KronrodSingleIntegration, i.e. next number of points is equal to the current number plus a square root of the current number. If the law in math_KronrodSingleIntegration is changed, the modification algo should be modified accordingly. :param theNbPoints: :type theNbPoints: int - :rtype: None -") SetNbKronrodPoints; + :rtype: None") SetNbKronrodPoints; void SetNbKronrodPoints (const Standard_Integer theNbPoints); - %feature("compactdefaultargs") SetValueType; - %feature("autodoc", " * Setting the type of the value to be returned. This parameter is directly passed to the UFunction. - :param aType: - :type aType: GProp_ValueType - :rtype: None -") SetValueType; - void SetValueType (const GProp_ValueType aType); + /****************** SetTolerance ******************/ %feature("compactdefaultargs") SetTolerance; - %feature("autodoc", " * Setting the tolerance for inner integration - + %feature("autodoc", "* Setting the tolerance for inner integration :param aTol: :type aTol: float - :rtype: None -") SetTolerance; + :rtype: None") SetTolerance; void SetTolerance (const Standard_Real aTol); - %feature("compactdefaultargs") ErrorReached; - %feature("autodoc", " * Returns the relative reached error of all values computation since the last call of GetStateNumber method. - :rtype: float -") ErrorReached; - Standard_Real ErrorReached (); - %feature("compactdefaultargs") AbsolutError; - %feature("autodoc", " * Returns the absolut reached error of all values computation since the last call of GetStateNumber method. + /****************** SetValueType ******************/ + %feature("compactdefaultargs") SetValueType; + %feature("autodoc", "* Setting the type of the value to be returned. This parameter is directly passed to the UFunction. + :param aType: + :type aType: GProp_ValueType + :rtype: None") SetValueType; + void SetValueType (const GProp_ValueType aType); - :rtype: float -") AbsolutError; - Standard_Real AbsolutError (); + /****************** Value ******************/ %feature("compactdefaultargs") Value; - %feature("autodoc", " * Returns a value of the function. The value represents an integral of UFunction. It is computed with the predefined tolerance using the adaptive Gauss-Kronrod method. - + %feature("autodoc", "* Returns a value of the function. The value represents an integral of UFunction. It is computed with the predefined tolerance using the adaptive Gauss-Kronrod method. :param X: :type X: float :param F: :type F: float & - :rtype: bool -") Value; + :rtype: bool") Value; virtual Standard_Boolean Value (const Standard_Real X,Standard_Real &OutValue); - %feature("compactdefaultargs") GetStateNumber; - %feature("autodoc", " * Redefined method. Remembers the error reached during computation of integral values since the object creation or the last call of GetStateNumber. It is invoked in each algorithm from the package math. Particularly in the algorithm math_KronrodSingleIntegration that is used to compute the integral of TFunction. - :rtype: int -") GetStateNumber; - virtual Standard_Integer GetStateNumber (); }; @@ -751,12 +912,16 @@ class BRepGProp_TFunction : public math_Function { __repr__ = _dumps_object } }; + +/**************************** +* class BRepGProp_UFunction * +****************************/ %nodefaultctor BRepGProp_UFunction; class BRepGProp_UFunction : public math_Function { public: + /****************** BRepGProp_UFunction ******************/ %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. - + %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. :param theSurface: :type theSurface: BRepGProp_Face & :param theVertex: @@ -765,35 +930,35 @@ class BRepGProp_UFunction : public math_Function { :type IsByPoint: bool :param theCoeffs: :type theCoeffs: Standard_Address - :rtype: None -") BRepGProp_UFunction; + :rtype: None") BRepGProp_UFunction; BRepGProp_UFunction (const BRepGProp_Face & theSurface,const gp_Pnt & theVertex,const Standard_Boolean IsByPoint,const Standard_Address theCoeffs); - %feature("compactdefaultargs") SetValueType; - %feature("autodoc", " * Setting the type of the value to be returned. - :param theType: - :type theType: GProp_ValueType - :rtype: None -") SetValueType; - void SetValueType (const GProp_ValueType theType); + /****************** SetVParam ******************/ %feature("compactdefaultargs") SetVParam; - %feature("autodoc", " * Setting the V parameter that is constant during the integral computation. - + %feature("autodoc", "* Setting the V parameter that is constant during the integral computation. :param theVParam: :type theVParam: float - :rtype: None -") SetVParam; + :rtype: None") SetVParam; void SetVParam (const Standard_Real theVParam); - %feature("compactdefaultargs") Value; - %feature("autodoc", " * Returns a value of the function. + /****************** SetValueType ******************/ + %feature("compactdefaultargs") SetValueType; + %feature("autodoc", "* Setting the type of the value to be returned. + :param theType: + :type theType: GProp_ValueType + :rtype: None") SetValueType; + void SetValueType (const GProp_ValueType theType); + + /****************** Value ******************/ + %feature("compactdefaultargs") Value; + %feature("autodoc", "* Returns a value of the function. :param X: :type X: float :param F: :type F: float & - :rtype: bool -") Value; + :rtype: bool") Value; virtual Standard_Boolean Value (const Standard_Real X,Standard_Real &OutValue); + }; @@ -802,50 +967,55 @@ class BRepGProp_UFunction : public math_Function { __repr__ = _dumps_object } }; + +/************************* +* class BRepGProp_Vinert * +*************************/ %nodefaultctor BRepGProp_Vinert; class BRepGProp_Vinert : public GProp_GProps { public: + /****************** BRepGProp_Vinert ******************/ %feature("compactdefaultargs") BRepGProp_Vinert; - %feature("autodoc", " :rtype: None -") BRepGProp_Vinert; + %feature("autodoc", ":rtype: None") BRepGProp_Vinert; BRepGProp_Vinert (); - %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. + /****************** BRepGProp_Vinert ******************/ + %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. :param S: :type S: BRepGProp_Face & :param VLocation: :type VLocation: gp_Pnt - :rtype: None -") BRepGProp_Vinert; + :rtype: None") BRepGProp_Vinert; BRepGProp_Vinert (const BRepGProp_Face & S,const gp_Pnt & VLocation); - %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 Adaptive 2D Gauss integration is used. Parameter Eps sets maximal relative error of computed mass (volume) for 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. + /****************** BRepGProp_Vinert ******************/ + %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 Adaptive 2D Gauss integration is used. Parameter Eps sets maximal relative error of computed mass (volume) for 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. :param S: :type S: BRepGProp_Face & :param VLocation: :type VLocation: gp_Pnt :param Eps: :type Eps: float - :rtype: None -") BRepGProp_Vinert; + :rtype: None") BRepGProp_Vinert; BRepGProp_Vinert (BRepGProp_Face & S,const gp_Pnt & VLocation,const Standard_Real Eps); - %feature("compactdefaultargs") BRepGProp_Vinert; - %feature("autodoc", " * Computes the global properties of the region of 3D space delimited with the surface and the point VLocation. 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. + /****************** BRepGProp_Vinert ******************/ + %feature("compactdefaultargs") BRepGProp_Vinert; + %feature("autodoc", "* Computes the global properties of the region of 3D space delimited with the surface and the point VLocation. 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. :param S: :type S: BRepGProp_Face & :param O: :type O: gp_Pnt :param VLocation: :type VLocation: gp_Pnt - :rtype: None -") BRepGProp_Vinert; + :rtype: None") BRepGProp_Vinert; BRepGProp_Vinert (const BRepGProp_Face & S,const gp_Pnt & O,const gp_Pnt & VLocation); - %feature("compactdefaultargs") BRepGProp_Vinert; - %feature("autodoc", " * Computes the global properties of the region of 3D space delimited with the surface and the point VLocation. Adaptive 2D Gauss integration is used. Parameter Eps sets maximal relative error of computed mass (volume) for 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. WARNING: if Eps > 0.001 algorithm performs non-adaptive integration. + /****************** BRepGProp_Vinert ******************/ + %feature("compactdefaultargs") BRepGProp_Vinert; + %feature("autodoc", "* Computes the global properties of the region of 3D space delimited with the surface and the point VLocation. Adaptive 2D Gauss integration is used. Parameter Eps sets maximal relative error of computed mass (volume) for 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. WARNING: if Eps > 0.001 algorithm performs non-adaptive integration. :param S: :type S: BRepGProp_Face & :param O: @@ -854,24 +1024,24 @@ class BRepGProp_Vinert : public GProp_GProps { :type VLocation: gp_Pnt :param Eps: :type Eps: float - :rtype: None -") BRepGProp_Vinert; + :rtype: None") BRepGProp_Vinert; BRepGProp_Vinert (BRepGProp_Face & S,const gp_Pnt & O,const gp_Pnt & VLocation,const Standard_Real Eps); - %feature("compactdefaultargs") BRepGProp_Vinert; - %feature("autodoc", " * Computes the global properties of the region of 3D space delimited with the surface and the plane Pln. 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. + /****************** BRepGProp_Vinert ******************/ + %feature("compactdefaultargs") BRepGProp_Vinert; + %feature("autodoc", "* Computes the global properties of the region of 3D space delimited with the surface and the plane Pln. 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. :param S: :type S: BRepGProp_Face & :param Pl: :type Pl: gp_Pln :param VLocation: :type VLocation: gp_Pnt - :rtype: None -") BRepGProp_Vinert; + :rtype: None") BRepGProp_Vinert; BRepGProp_Vinert (const BRepGProp_Face & S,const gp_Pln & Pl,const gp_Pnt & VLocation); - %feature("compactdefaultargs") BRepGProp_Vinert; - %feature("autodoc", " * Computes the global properties of the region of 3D space delimited with the surface and the plane Pln. Adaptive 2D Gauss integration is used. Parameter Eps sets maximal relative error of computed mass (volume) for 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. WARNING: if Eps > 0.001 algorithm performs non-adaptive integration. + /****************** BRepGProp_Vinert ******************/ + %feature("compactdefaultargs") BRepGProp_Vinert; + %feature("autodoc", "* Computes the global properties of the region of 3D space delimited with the surface and the plane Pln. Adaptive 2D Gauss integration is used. Parameter Eps sets maximal relative error of computed mass (volume) for 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. WARNING: if Eps > 0.001 algorithm performs non-adaptive integration. :param S: :type S: BRepGProp_Face & :param Pl: @@ -880,24 +1050,24 @@ class BRepGProp_Vinert : public GProp_GProps { :type VLocation: gp_Pnt :param Eps: :type Eps: float - :rtype: None -") BRepGProp_Vinert; + :rtype: None") BRepGProp_Vinert; BRepGProp_Vinert (BRepGProp_Face & S,const gp_Pln & Pl,const gp_Pnt & VLocation,const Standard_Real Eps); - %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. + /****************** BRepGProp_Vinert ******************/ + %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. :param S: :type S: BRepGProp_Face & :param D: :type D: BRepGProp_Domain & :param VLocation: :type VLocation: gp_Pnt - :rtype: None -") BRepGProp_Vinert; + :rtype: None") BRepGProp_Vinert; BRepGProp_Vinert (BRepGProp_Face & S,BRepGProp_Domain & D,const gp_Pnt & VLocation); - %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 Adaptive 2D Gauss integration is used. Parameter Eps sets maximal relative error of computed mass (volume) for 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. + /****************** BRepGProp_Vinert ******************/ + %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 Adaptive 2D Gauss integration is used. Parameter Eps sets maximal relative error of computed mass (volume) for 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. :param S: :type S: BRepGProp_Face & :param D: @@ -906,12 +1076,12 @@ class BRepGProp_Vinert : public GProp_GProps { :type VLocation: gp_Pnt :param Eps: :type Eps: float - :rtype: None -") BRepGProp_Vinert; + :rtype: None") BRepGProp_Vinert; BRepGProp_Vinert (BRepGProp_Face & S,BRepGProp_Domain & D,const gp_Pnt & VLocation,const Standard_Real Eps); - %feature("compactdefaultargs") BRepGProp_Vinert; - %feature("autodoc", " * Computes the global properties of the region of 3D space delimited with the surface and the point VLocation. 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. + /****************** BRepGProp_Vinert ******************/ + %feature("compactdefaultargs") BRepGProp_Vinert; + %feature("autodoc", "* Computes the global properties of the region of 3D space delimited with the surface and the point VLocation. 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. :param S: :type S: BRepGProp_Face & :param D: @@ -920,12 +1090,12 @@ class BRepGProp_Vinert : public GProp_GProps { :type O: gp_Pnt :param VLocation: :type VLocation: gp_Pnt - :rtype: None -") BRepGProp_Vinert; + :rtype: None") BRepGProp_Vinert; BRepGProp_Vinert (BRepGProp_Face & S,BRepGProp_Domain & D,const gp_Pnt & O,const gp_Pnt & VLocation); - %feature("compactdefaultargs") BRepGProp_Vinert; - %feature("autodoc", " * Computes the global properties of the region of 3D space delimited with the surface and the point VLocation. Adaptive 2D Gauss integration is used. Parameter Eps sets maximal relative error of computed mass (volume) for 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. WARNING: if Eps > 0.001 algorithm performs non-adaptive integration. + /****************** BRepGProp_Vinert ******************/ + %feature("compactdefaultargs") BRepGProp_Vinert; + %feature("autodoc", "* Computes the global properties of the region of 3D space delimited with the surface and the point VLocation. Adaptive 2D Gauss integration is used. Parameter Eps sets maximal relative error of computed mass (volume) for 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. WARNING: if Eps > 0.001 algorithm performs non-adaptive integration. :param S: :type S: BRepGProp_Face & :param D: @@ -936,12 +1106,12 @@ class BRepGProp_Vinert : public GProp_GProps { :type VLocation: gp_Pnt :param Eps: :type Eps: float - :rtype: None -") BRepGProp_Vinert; + :rtype: None") BRepGProp_Vinert; BRepGProp_Vinert (BRepGProp_Face & S,BRepGProp_Domain & D,const gp_Pnt & O,const gp_Pnt & VLocation,const Standard_Real Eps); - %feature("compactdefaultargs") BRepGProp_Vinert; - %feature("autodoc", " * Computes the global properties of the region of 3D space delimited with the surface and the plane Pln. 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. + /****************** BRepGProp_Vinert ******************/ + %feature("compactdefaultargs") BRepGProp_Vinert; + %feature("autodoc", "* Computes the global properties of the region of 3D space delimited with the surface and the plane Pln. 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. :param S: :type S: BRepGProp_Face & :param D: @@ -950,12 +1120,12 @@ class BRepGProp_Vinert : public GProp_GProps { :type Pl: gp_Pln :param VLocation: :type VLocation: gp_Pnt - :rtype: None -") BRepGProp_Vinert; + :rtype: None") BRepGProp_Vinert; BRepGProp_Vinert (BRepGProp_Face & S,BRepGProp_Domain & D,const gp_Pln & Pl,const gp_Pnt & VLocation); - %feature("compactdefaultargs") BRepGProp_Vinert; - %feature("autodoc", " * Computes the global properties of the region of 3D space delimited with the surface and the plane Pln. Adaptive 2D Gauss integration is used. Parameter Eps sets maximal relative error of computed mass (volume) for 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. WARNING: if Eps > 0.001 algorithm performs non-adaptive integration. + /****************** BRepGProp_Vinert ******************/ + %feature("compactdefaultargs") BRepGProp_Vinert; + %feature("autodoc", "* Computes the global properties of the region of 3D space delimited with the surface and the plane Pln. Adaptive 2D Gauss integration is used. Parameter Eps sets maximal relative error of computed mass (volume) for 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. WARNING: if Eps > 0.001 algorithm performs non-adaptive integration. :param S: :type S: BRepGProp_Face & :param D: @@ -966,95 +1136,105 @@ class BRepGProp_Vinert : public GProp_GProps { :type VLocation: gp_Pnt :param Eps: :type Eps: float - :rtype: None -") BRepGProp_Vinert; + :rtype: None") BRepGProp_Vinert; BRepGProp_Vinert (BRepGProp_Face & S,BRepGProp_Domain & D,const gp_Pln & Pl,const gp_Pnt & VLocation,const Standard_Real Eps); - %feature("compactdefaultargs") SetLocation; - %feature("autodoc", " :param VLocation: - :type VLocation: gp_Pnt - :rtype: None -") SetLocation; - void SetLocation (const gp_Pnt & VLocation); + + /****************** GetEpsilon ******************/ + %feature("compactdefaultargs") GetEpsilon; + %feature("autodoc", "* If previously used methods containe Eps parameter gets actual relative error of the computation, else returns 1.0. + :rtype: float") GetEpsilon; + Standard_Real GetEpsilon (); + + /****************** Perform ******************/ %feature("compactdefaultargs") Perform; - %feature("autodoc", " :param S: + %feature("autodoc", ":param S: :type S: BRepGProp_Face & - :rtype: None -") Perform; + :rtype: None") Perform; void Perform (const BRepGProp_Face & S); + + /****************** Perform ******************/ %feature("compactdefaultargs") Perform; - %feature("autodoc", " :param S: + %feature("autodoc", ":param S: :type S: BRepGProp_Face & :param Eps: :type Eps: float - :rtype: float -") Perform; + :rtype: float") Perform; Standard_Real Perform (BRepGProp_Face & S,const Standard_Real Eps); + + /****************** Perform ******************/ %feature("compactdefaultargs") Perform; - %feature("autodoc", " :param S: + %feature("autodoc", ":param S: :type S: BRepGProp_Face & :param O: :type O: gp_Pnt - :rtype: None -") Perform; + :rtype: None") Perform; void Perform (const BRepGProp_Face & S,const gp_Pnt & O); + + /****************** Perform ******************/ %feature("compactdefaultargs") Perform; - %feature("autodoc", " :param S: + %feature("autodoc", ":param S: :type S: BRepGProp_Face & :param O: :type O: gp_Pnt :param Eps: :type Eps: float - :rtype: float -") Perform; + :rtype: float") Perform; Standard_Real Perform (BRepGProp_Face & S,const gp_Pnt & O,const Standard_Real Eps); + + /****************** Perform ******************/ %feature("compactdefaultargs") Perform; - %feature("autodoc", " :param S: + %feature("autodoc", ":param S: :type S: BRepGProp_Face & :param Pl: :type Pl: gp_Pln - :rtype: None -") Perform; + :rtype: None") Perform; void Perform (const BRepGProp_Face & S,const gp_Pln & Pl); + + /****************** Perform ******************/ %feature("compactdefaultargs") Perform; - %feature("autodoc", " :param S: + %feature("autodoc", ":param S: :type S: BRepGProp_Face & :param Pl: :type Pl: gp_Pln :param Eps: :type Eps: float - :rtype: float -") Perform; + :rtype: float") Perform; Standard_Real Perform (BRepGProp_Face & S,const gp_Pln & Pl,const Standard_Real Eps); + + /****************** Perform ******************/ %feature("compactdefaultargs") Perform; - %feature("autodoc", " :param S: + %feature("autodoc", ":param S: :type S: BRepGProp_Face & :param D: :type D: BRepGProp_Domain & - :rtype: None -") Perform; + :rtype: None") Perform; void Perform (BRepGProp_Face & S,BRepGProp_Domain & D); + + /****************** Perform ******************/ %feature("compactdefaultargs") Perform; - %feature("autodoc", " :param S: + %feature("autodoc", ":param S: :type S: BRepGProp_Face & :param D: :type D: BRepGProp_Domain & :param Eps: :type Eps: float - :rtype: float -") Perform; + :rtype: float") Perform; Standard_Real Perform (BRepGProp_Face & S,BRepGProp_Domain & D,const Standard_Real Eps); + + /****************** Perform ******************/ %feature("compactdefaultargs") Perform; - %feature("autodoc", " :param S: + %feature("autodoc", ":param S: :type S: BRepGProp_Face & :param D: :type D: BRepGProp_Domain & :param O: :type O: gp_Pnt - :rtype: None -") Perform; + :rtype: None") Perform; void Perform (BRepGProp_Face & S,BRepGProp_Domain & D,const gp_Pnt & O); + + /****************** Perform ******************/ %feature("compactdefaultargs") Perform; - %feature("autodoc", " :param S: + %feature("autodoc", ":param S: :type S: BRepGProp_Face & :param D: :type D: BRepGProp_Domain & @@ -1062,21 +1242,23 @@ class BRepGProp_Vinert : public GProp_GProps { :type O: gp_Pnt :param Eps: :type Eps: float - :rtype: float -") Perform; + :rtype: float") Perform; Standard_Real Perform (BRepGProp_Face & S,BRepGProp_Domain & D,const gp_Pnt & O,const Standard_Real Eps); + + /****************** Perform ******************/ %feature("compactdefaultargs") Perform; - %feature("autodoc", " :param S: + %feature("autodoc", ":param S: :type S: BRepGProp_Face & :param D: :type D: BRepGProp_Domain & :param Pl: :type Pl: gp_Pln - :rtype: None -") Perform; + :rtype: None") Perform; void Perform (BRepGProp_Face & S,BRepGProp_Domain & D,const gp_Pln & Pl); + + /****************** Perform ******************/ %feature("compactdefaultargs") Perform; - %feature("autodoc", " :param S: + %feature("autodoc", ":param S: :type S: BRepGProp_Face & :param D: :type D: BRepGProp_Domain & @@ -1084,15 +1266,16 @@ class BRepGProp_Vinert : public GProp_GProps { :type Pl: gp_Pln :param Eps: :type Eps: float - :rtype: float -") Perform; + :rtype: float") Perform; Standard_Real Perform (BRepGProp_Face & S,BRepGProp_Domain & D,const gp_Pln & Pl,const Standard_Real Eps); - %feature("compactdefaultargs") GetEpsilon; - %feature("autodoc", " * If previously used methods containe Eps parameter gets actual relative error of the computation, else returns 1.0. - :rtype: float -") GetEpsilon; - Standard_Real GetEpsilon (); + /****************** SetLocation ******************/ + %feature("compactdefaultargs") SetLocation; + %feature("autodoc", ":param VLocation: + :type VLocation: gp_Pnt + :rtype: None") SetLocation; + void SetLocation (const gp_Pnt & VLocation); + }; @@ -1101,18 +1284,22 @@ class BRepGProp_Vinert : public GProp_GProps { __repr__ = _dumps_object } }; + +/*************************** +* class BRepGProp_VinertGK * +***************************/ %nodefaultctor BRepGProp_VinertGK; class BRepGProp_VinertGK : public GProp_GProps { public: + /****************** BRepGProp_VinertGK ******************/ %feature("compactdefaultargs") BRepGProp_VinertGK; - %feature("autodoc", " * Empty constructor. - - :rtype: None -") BRepGProp_VinertGK; + %feature("autodoc", "* Empty constructor. + :rtype: None") BRepGProp_VinertGK; BRepGProp_VinertGK (); - %feature("compactdefaultargs") BRepGProp_VinertGK; - %feature("autodoc", " * Constructor. Computes the global properties of a region of 3D space delimited with the naturally restricted surface and the point VLocation. + /****************** BRepGProp_VinertGK ******************/ + %feature("compactdefaultargs") BRepGProp_VinertGK; + %feature("autodoc", "* Constructor. Computes the global properties of a region of 3D space delimited with the naturally restricted surface and the point VLocation. :param theSurface: :type theSurface: BRepGProp_Face & :param theLocation: @@ -1123,12 +1310,12 @@ class BRepGProp_VinertGK : public GProp_GProps { :type theCGFlag: bool :param theIFlag: default value is Standard_False :type theIFlag: bool - :rtype: None -") BRepGProp_VinertGK; + :rtype: None") BRepGProp_VinertGK; BRepGProp_VinertGK (BRepGProp_Face & theSurface,const gp_Pnt & theLocation,const Standard_Real theTolerance = 0.001,const Standard_Boolean theCGFlag = Standard_False,const Standard_Boolean theIFlag = Standard_False); - %feature("compactdefaultargs") BRepGProp_VinertGK; - %feature("autodoc", " * Constructor. Computes the global properties of a region of 3D space delimited with the naturally restricted surface and the point VLocation. The inertia is computed with respect to thePoint. + /****************** BRepGProp_VinertGK ******************/ + %feature("compactdefaultargs") BRepGProp_VinertGK; + %feature("autodoc", "* Constructor. Computes the global properties of a region of 3D space delimited with the naturally restricted surface and the point VLocation. The inertia is computed with respect to thePoint. :param theSurface: :type theSurface: BRepGProp_Face & :param thePoint: @@ -1141,12 +1328,12 @@ class BRepGProp_VinertGK : public GProp_GProps { :type theCGFlag: bool :param theIFlag: default value is Standard_False :type theIFlag: bool - :rtype: None -") BRepGProp_VinertGK; + :rtype: None") BRepGProp_VinertGK; BRepGProp_VinertGK (BRepGProp_Face & theSurface,const gp_Pnt & thePoint,const gp_Pnt & theLocation,const Standard_Real theTolerance = 0.001,const Standard_Boolean theCGFlag = Standard_False,const Standard_Boolean theIFlag = Standard_False); - %feature("compactdefaultargs") BRepGProp_VinertGK; - %feature("autodoc", " * Constructor. Computes the global properties of a region of 3D space delimited with the surface bounded by the domain and the point VLocation. + /****************** BRepGProp_VinertGK ******************/ + %feature("compactdefaultargs") BRepGProp_VinertGK; + %feature("autodoc", "* Constructor. Computes the global properties of a region of 3D space delimited with the surface bounded by the domain and the point VLocation. :param theSurface: :type theSurface: BRepGProp_Face & :param theDomain: @@ -1159,12 +1346,12 @@ class BRepGProp_VinertGK : public GProp_GProps { :type theCGFlag: bool :param theIFlag: default value is Standard_False :type theIFlag: bool - :rtype: None -") BRepGProp_VinertGK; + :rtype: None") BRepGProp_VinertGK; BRepGProp_VinertGK (BRepGProp_Face & theSurface,BRepGProp_Domain & theDomain,const gp_Pnt & theLocation,const Standard_Real theTolerance = 0.001,const Standard_Boolean theCGFlag = Standard_False,const Standard_Boolean theIFlag = Standard_False); - %feature("compactdefaultargs") BRepGProp_VinertGK; - %feature("autodoc", " * Constructor. Computes the global properties of a region of 3D space delimited with the surface bounded by the domain and the point VLocation. The inertia is computed with respect to thePoint. + /****************** BRepGProp_VinertGK ******************/ + %feature("compactdefaultargs") BRepGProp_VinertGK; + %feature("autodoc", "* Constructor. Computes the global properties of a region of 3D space delimited with the surface bounded by the domain and the point VLocation. The inertia is computed with respect to thePoint. :param theSurface: :type theSurface: BRepGProp_Face & :param theDomain: @@ -1179,12 +1366,12 @@ class BRepGProp_VinertGK : public GProp_GProps { :type theCGFlag: bool :param theIFlag: default value is Standard_False :type theIFlag: bool - :rtype: None -") BRepGProp_VinertGK; + :rtype: None") BRepGProp_VinertGK; BRepGProp_VinertGK (BRepGProp_Face & theSurface,BRepGProp_Domain & theDomain,const gp_Pnt & thePoint,const gp_Pnt & theLocation,const Standard_Real theTolerance = 0.001,const Standard_Boolean theCGFlag = Standard_False,const Standard_Boolean theIFlag = Standard_False); - %feature("compactdefaultargs") BRepGProp_VinertGK; - %feature("autodoc", " * Constructor. Computes the global properties of a region of 3D space delimited with the naturally restricted surface and the plane. + /****************** BRepGProp_VinertGK ******************/ + %feature("compactdefaultargs") BRepGProp_VinertGK; + %feature("autodoc", "* Constructor. Computes the global properties of a region of 3D space delimited with the naturally restricted surface and the plane. :param theSurface: :type theSurface: BRepGProp_Face & :param thePlane: @@ -1197,12 +1384,12 @@ class BRepGProp_VinertGK : public GProp_GProps { :type theCGFlag: bool :param theIFlag: default value is Standard_False :type theIFlag: bool - :rtype: None -") BRepGProp_VinertGK; + :rtype: None") BRepGProp_VinertGK; BRepGProp_VinertGK (BRepGProp_Face & theSurface,const gp_Pln & thePlane,const gp_Pnt & theLocation,const Standard_Real theTolerance = 0.001,const Standard_Boolean theCGFlag = Standard_False,const Standard_Boolean theIFlag = Standard_False); - %feature("compactdefaultargs") BRepGProp_VinertGK; - %feature("autodoc", " * Constructor. Computes the global properties of a region of 3D space delimited with the surface bounded by the domain and the plane. + /****************** BRepGProp_VinertGK ******************/ + %feature("compactdefaultargs") BRepGProp_VinertGK; + %feature("autodoc", "* Constructor. Computes the global properties of a region of 3D space delimited with the surface bounded by the domain and the plane. :param theSurface: :type theSurface: BRepGProp_Face & :param theDomain: @@ -1217,20 +1404,18 @@ class BRepGProp_VinertGK : public GProp_GProps { :type theCGFlag: bool :param theIFlag: default value is Standard_False :type theIFlag: bool - :rtype: None -") BRepGProp_VinertGK; + :rtype: None") BRepGProp_VinertGK; BRepGProp_VinertGK (BRepGProp_Face & theSurface,BRepGProp_Domain & theDomain,const gp_Pln & thePlane,const gp_Pnt & theLocation,const Standard_Real theTolerance = 0.001,const Standard_Boolean theCGFlag = Standard_False,const Standard_Boolean theIFlag = Standard_False); - %feature("compactdefaultargs") SetLocation; - %feature("autodoc", " * Sets the vertex that delimit 3D closed region of space. - :param theLocation: - :type theLocation: gp_Pnt - :rtype: None -") SetLocation; - void SetLocation (const gp_Pnt & theLocation); - %feature("compactdefaultargs") Perform; - %feature("autodoc", " * Computes the global properties of a region of 3D space delimited with the naturally restricted surface and the point VLocation. + /****************** GetErrorReached ******************/ + %feature("compactdefaultargs") GetErrorReached; + %feature("autodoc", "* Returns the relative reached computation error. + :rtype: float") GetErrorReached; + Standard_Real GetErrorReached (); + /****************** Perform ******************/ + %feature("compactdefaultargs") Perform; + %feature("autodoc", "* Computes the global properties of a region of 3D space delimited with the naturally restricted surface and the point VLocation. :param theSurface: :type theSurface: BRepGProp_Face & :param theTolerance: default value is 0.001 @@ -1239,12 +1424,12 @@ class BRepGProp_VinertGK : public GProp_GProps { :type theCGFlag: bool :param theIFlag: default value is Standard_False :type theIFlag: bool - :rtype: float -") Perform; + :rtype: float") Perform; Standard_Real Perform (BRepGProp_Face & theSurface,const Standard_Real theTolerance = 0.001,const Standard_Boolean theCGFlag = Standard_False,const Standard_Boolean theIFlag = Standard_False); - %feature("compactdefaultargs") Perform; - %feature("autodoc", " * Computes the global properties of a region of 3D space delimited with the naturally restricted surface and the point VLocation. The inertia is computed with respect to thePoint. + /****************** Perform ******************/ + %feature("compactdefaultargs") Perform; + %feature("autodoc", "* Computes the global properties of a region of 3D space delimited with the naturally restricted surface and the point VLocation. The inertia is computed with respect to thePoint. :param theSurface: :type theSurface: BRepGProp_Face & :param thePoint: @@ -1255,12 +1440,12 @@ class BRepGProp_VinertGK : public GProp_GProps { :type theCGFlag: bool :param theIFlag: default value is Standard_False :type theIFlag: bool - :rtype: float -") Perform; + :rtype: float") Perform; Standard_Real Perform (BRepGProp_Face & theSurface,const gp_Pnt & thePoint,const Standard_Real theTolerance = 0.001,const Standard_Boolean theCGFlag = Standard_False,const Standard_Boolean theIFlag = Standard_False); - %feature("compactdefaultargs") Perform; - %feature("autodoc", " * Computes the global properties of a region of 3D space delimited with the surface bounded by the domain and the point VLocation. + /****************** Perform ******************/ + %feature("compactdefaultargs") Perform; + %feature("autodoc", "* Computes the global properties of a region of 3D space delimited with the surface bounded by the domain and the point VLocation. :param theSurface: :type theSurface: BRepGProp_Face & :param theDomain: @@ -1271,12 +1456,12 @@ class BRepGProp_VinertGK : public GProp_GProps { :type theCGFlag: bool :param theIFlag: default value is Standard_False :type theIFlag: bool - :rtype: float -") Perform; + :rtype: float") Perform; Standard_Real Perform (BRepGProp_Face & theSurface,BRepGProp_Domain & theDomain,const Standard_Real theTolerance = 0.001,const Standard_Boolean theCGFlag = Standard_False,const Standard_Boolean theIFlag = Standard_False); - %feature("compactdefaultargs") Perform; - %feature("autodoc", " * Computes the global properties of a region of 3D space delimited with the surface bounded by the domain and the point VLocation. The inertia is computed with respect to thePoint. + /****************** Perform ******************/ + %feature("compactdefaultargs") Perform; + %feature("autodoc", "* Computes the global properties of a region of 3D space delimited with the surface bounded by the domain and the point VLocation. The inertia is computed with respect to thePoint. :param theSurface: :type theSurface: BRepGProp_Face & :param theDomain: @@ -1289,12 +1474,12 @@ class BRepGProp_VinertGK : public GProp_GProps { :type theCGFlag: bool :param theIFlag: default value is Standard_False :type theIFlag: bool - :rtype: float -") Perform; + :rtype: float") Perform; Standard_Real Perform (BRepGProp_Face & theSurface,BRepGProp_Domain & theDomain,const gp_Pnt & thePoint,const Standard_Real theTolerance = 0.001,const Standard_Boolean theCGFlag = Standard_False,const Standard_Boolean theIFlag = Standard_False); - %feature("compactdefaultargs") Perform; - %feature("autodoc", " * Computes the global properties of a region of 3D space delimited with the naturally restricted surface and the plane. + /****************** Perform ******************/ + %feature("compactdefaultargs") Perform; + %feature("autodoc", "* Computes the global properties of a region of 3D space delimited with the naturally restricted surface and the plane. :param theSurface: :type theSurface: BRepGProp_Face & :param thePlane: @@ -1305,12 +1490,12 @@ class BRepGProp_VinertGK : public GProp_GProps { :type theCGFlag: bool :param theIFlag: default value is Standard_False :type theIFlag: bool - :rtype: float -") Perform; + :rtype: float") Perform; Standard_Real Perform (BRepGProp_Face & theSurface,const gp_Pln & thePlane,const Standard_Real theTolerance = 0.001,const Standard_Boolean theCGFlag = Standard_False,const Standard_Boolean theIFlag = Standard_False); - %feature("compactdefaultargs") Perform; - %feature("autodoc", " * Computes the global properties of a region of 3D space delimited with the surface bounded by the domain and the plane. + /****************** Perform ******************/ + %feature("compactdefaultargs") Perform; + %feature("autodoc", "* Computes the global properties of a region of 3D space delimited with the surface bounded by the domain and the plane. :param theSurface: :type theSurface: BRepGProp_Face & :param theDomain: @@ -1323,15 +1508,17 @@ class BRepGProp_VinertGK : public GProp_GProps { :type theCGFlag: bool :param theIFlag: default value is Standard_False :type theIFlag: bool - :rtype: float -") Perform; + :rtype: float") Perform; Standard_Real Perform (BRepGProp_Face & theSurface,BRepGProp_Domain & theDomain,const gp_Pln & thePlane,const Standard_Real theTolerance = 0.001,const Standard_Boolean theCGFlag = Standard_False,const Standard_Boolean theIFlag = Standard_False); - %feature("compactdefaultargs") GetErrorReached; - %feature("autodoc", " * Returns the relative reached computation error. - :rtype: float -") GetErrorReached; - Standard_Real GetErrorReached (); + /****************** SetLocation ******************/ + %feature("compactdefaultargs") SetLocation; + %feature("autodoc", "* Sets the vertex that delimit 3D closed region of space. + :param theLocation: + :type theLocation: gp_Pnt + :rtype: None") SetLocation; + void SetLocation (const gp_Pnt & theLocation); + }; @@ -1340,3 +1527,7 @@ class BRepGProp_VinertGK : public GProp_GProps { __repr__ = _dumps_object } }; + +/* harray1 class */ +/* harray2 class */ +/* harray2 class */ diff --git a/src/SWIG_files/wrapper/BRepGProp_headers.i b/src/SWIG_files/wrapper/BRepGProp_headers.i deleted file mode 100644 index d2fcbe18e..000000000 --- a/src/SWIG_files/wrapper/BRepGProp_headers.i +++ /dev/null @@ -1,736 +0,0 @@ -/* -Copyright 2008-2017 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 . - -*/ -%{ -#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 -#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 -#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 -#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 -#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 -#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 -#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 -#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 -%}; -%import TopoDS.i -%import GProp.i -%import Standard.i -%import gp.i -%import BRepAdaptor.i -%import GeomAbs.i -%import TColStd.i -%import math.i diff --git a/src/SWIG_files/wrapper/BRepIntCurveSurface.i b/src/SWIG_files/wrapper/BRepIntCurveSurface.i index 36a7051d6..cb5dab942 100644 --- a/src/SWIG_files/wrapper/BRepIntCurveSurface.i +++ b/src/SWIG_files/wrapper/BRepIntCurveSurface.i @@ -1,6 +1,5 @@ /* -Copyright 2008-2017 Thomas Paviot (tpaviot@gmail.com) - +Copyright 2008-2019 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -15,21 +14,13 @@ 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 BREPINTCURVESURFACEDOCSTRING -"Inttantiates IntCurveSurface with Surfaces from BRep -and Curves from Adaptor - --Level: Public - -All the methods of the classes of this package are public. - -" +"BRepIntCurveSurface module, see official documentation at +https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brepintcurvesurface.html" %enddef %module (package="OCC.Core", docstring=BREPINTCURVESURFACEDOCSTRING) BRepIntCurveSurface -#pragma SWIG nowarn=504,325,503 %{ #ifdef WNT @@ -44,126 +35,163 @@ All the methods of the classes of this package are public. %include ../common/OccHandle.i -%include BRepIntCurveSurface_headers.i - -/* typedefs */ -/* end typedefs declaration */ - +%{ +#include + +//Dependencies +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +%}; +%import Standard.i +%import NCollection.i +%import TopoDS.i +%import GeomAdaptor.i +%import gp.i +%import IntCurveSurface.i +%import TopAbs.i /* public enums */ /* end public enums declaration */ +/* handles */ +/* end handles declaration */ + +/* templates */ +/* end templates declaration */ + +/* typedefs */ +/* end typedefs declaration */ +/********************************** +* class BRepIntCurveSurface_Inter * +**********************************/ %nodefaultctor BRepIntCurveSurface_Inter; class BRepIntCurveSurface_Inter { public: + /****************** BRepIntCurveSurface_Inter ******************/ %feature("compactdefaultargs") BRepIntCurveSurface_Inter; - %feature("autodoc", " * Empty constructor; - - :rtype: None -") BRepIntCurveSurface_Inter; + %feature("autodoc", "* Empty constructor; + :rtype: None") BRepIntCurveSurface_Inter; BRepIntCurveSurface_Inter (); - %feature("compactdefaultargs") Init; - %feature("autodoc", " * Load the Shape, the curve and initialize the tolerance used for the classification. + /****************** Face ******************/ + %feature("compactdefaultargs") Face; + %feature("autodoc", "* returns the current face. + :rtype: TopoDS_Face") Face; + const TopoDS_Face Face (); + + /****************** Init ******************/ + %feature("compactdefaultargs") Init; + %feature("autodoc", "* Load the Shape, the curve and initialize the tolerance used for the classification. :param theShape: :type theShape: TopoDS_Shape & :param theCurve: :type theCurve: GeomAdaptor_Curve & :param theTol: :type theTol: float - :rtype: None -") Init; + :rtype: None") Init; void Init (const TopoDS_Shape & theShape,const GeomAdaptor_Curve & theCurve,const Standard_Real theTol); - %feature("compactdefaultargs") Init; - %feature("autodoc", " * Load the Shape, the curve and initialize the tolerance used for the classification. + /****************** Init ******************/ + %feature("compactdefaultargs") Init; + %feature("autodoc", "* Load the Shape, the curve and initialize the tolerance used for the classification. :param theShape: :type theShape: TopoDS_Shape & :param theLine: :type theLine: gp_Lin :param theTol: :type theTol: float - :rtype: None -") Init; + :rtype: None") Init; void Init (const TopoDS_Shape & theShape,const gp_Lin & theLine,const Standard_Real theTol); - %feature("compactdefaultargs") Load; - %feature("autodoc", " * Load the Shape, and initialize the tolerance used for the classification. + /****************** Init ******************/ + %feature("compactdefaultargs") Init; + %feature("autodoc", "* Method to find intersections of specified curve with loaded shape. + :param theCurve: + :type theCurve: GeomAdaptor_Curve & + :rtype: None") Init; + void Init (const GeomAdaptor_Curve & theCurve); + + /****************** Load ******************/ + %feature("compactdefaultargs") Load; + %feature("autodoc", "* Load the Shape, and initialize the tolerance used for the classification. :param theShape: :type theShape: TopoDS_Shape & :param theTol: :type theTol: float - :rtype: None -") Load; + :rtype: None") Load; void Load (const TopoDS_Shape & theShape,const Standard_Real theTol); - %feature("compactdefaultargs") Init; - %feature("autodoc", " * Method to find intersections of specified curve with loaded shape. - :param theCurve: - :type theCurve: GeomAdaptor_Curve & - :rtype: None -") Init; - void Init (const GeomAdaptor_Curve & theCurve); + /****************** More ******************/ %feature("compactdefaultargs") More; - %feature("autodoc", " * returns True if there is a current face. - - :rtype: bool -") More; + %feature("autodoc", "* returns True if there is a current face. + :rtype: bool") More; Standard_Boolean More (); - %feature("compactdefaultargs") Next; - %feature("autodoc", " * Sets the next intersection point to check. - :rtype: None -") Next; + /****************** Next ******************/ + %feature("compactdefaultargs") Next; + %feature("autodoc", "* Sets the next intersection point to check. + :rtype: None") Next; void Next (); - %feature("compactdefaultargs") Point; - %feature("autodoc", " * returns the current Intersection point. - :rtype: IntCurveSurface_IntersectionPoint -") Point; - IntCurveSurface_IntersectionPoint Point (); + /****************** Pnt ******************/ %feature("compactdefaultargs") Pnt; - %feature("autodoc", " * returns the current geometric Point - - :rtype: gp_Pnt -") Pnt; + %feature("autodoc", "* returns the current geometric Point + :rtype: gp_Pnt") Pnt; const gp_Pnt Pnt (); - %feature("compactdefaultargs") U; - %feature("autodoc", " * returns the U parameter of the current point on the current face. - :rtype: float -") U; - Standard_Real U (); - %feature("compactdefaultargs") V; - %feature("autodoc", " * returns the V parameter of the current point on the current face. - - :rtype: float -") V; - Standard_Real V (); - %feature("compactdefaultargs") W; - %feature("autodoc", " * returns the parameter of the current point on the curve. + /****************** Point ******************/ + %feature("compactdefaultargs") Point; + %feature("autodoc", "* returns the current Intersection point. + :rtype: IntCurveSurface_IntersectionPoint") Point; + IntCurveSurface_IntersectionPoint Point (); - :rtype: float -") W; - Standard_Real W (); + /****************** State ******************/ %feature("compactdefaultargs") State; - %feature("autodoc", " * returns the current state (IN or ON) - - :rtype: TopAbs_State -") State; + %feature("autodoc", "* returns the current state (IN or ON) + :rtype: TopAbs_State") State; TopAbs_State State (); - %feature("compactdefaultargs") Transition; - %feature("autodoc", " * returns the transition of the line on the surface (IN or OUT or UNKNOWN) - :rtype: IntCurveSurface_TransitionOnCurve -") Transition; + /****************** Transition ******************/ + %feature("compactdefaultargs") Transition; + %feature("autodoc", "* returns the transition of the line on the surface (IN or OUT or UNKNOWN) + :rtype: IntCurveSurface_TransitionOnCurve") Transition; IntCurveSurface_TransitionOnCurve Transition (); - %feature("compactdefaultargs") Face; - %feature("autodoc", " * returns the current face. - :rtype: TopoDS_Face -") Face; - const TopoDS_Face Face (); + /****************** U ******************/ + %feature("compactdefaultargs") U; + %feature("autodoc", "* returns the U parameter of the current point on the current face. + :rtype: float") U; + Standard_Real U (); + + /****************** V ******************/ + %feature("compactdefaultargs") V; + %feature("autodoc", "* returns the V parameter of the current point on the current face. + :rtype: float") V; + Standard_Real V (); + + /****************** W ******************/ + %feature("compactdefaultargs") W; + %feature("autodoc", "* returns the parameter of the current point on the curve. + :rtype: float") W; + Standard_Real W (); + }; @@ -172,3 +200,7 @@ class BRepIntCurveSurface_Inter { __repr__ = _dumps_object } }; + +/* harray1 class */ +/* harray2 class */ +/* harray2 class */ diff --git a/src/SWIG_files/wrapper/BRepIntCurveSurface_headers.i b/src/SWIG_files/wrapper/BRepIntCurveSurface_headers.i deleted file mode 100644 index a8cc1dcec..000000000 --- a/src/SWIG_files/wrapper/BRepIntCurveSurface_headers.i +++ /dev/null @@ -1,585 +0,0 @@ -/* -Copyright 2008-2017 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 . - -*/ -%{ -#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 -#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 -#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 -#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 -#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 -#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 -%}; -%import TopoDS.i -%import GeomAdaptor.i -%import Standard.i -%import gp.i -%import IntCurveSurface.i -%import TopAbs.i diff --git a/src/SWIG_files/wrapper/BRepLProp.i b/src/SWIG_files/wrapper/BRepLProp.i index f07c96d88..3bb6414e2 100644 --- a/src/SWIG_files/wrapper/BRepLProp.i +++ b/src/SWIG_files/wrapper/BRepLProp.i @@ -1,6 +1,5 @@ /* -Copyright 2008-2017 Thomas Paviot (tpaviot@gmail.com) - +Copyright 2008-2019 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -15,17 +14,13 @@ 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 BREPLPROPDOCSTRING -"These global functions compute the degree of -continuity of a curve built by concatenation of two -edges at their junction point. -" +"BRepLProp module, see official documentation at +https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_breplprop.html" %enddef %module (package="OCC.Core", docstring=BREPLPROPDOCSTRING) BRepLProp -#pragma SWIG nowarn=504,325,503 %{ #ifdef WNT @@ -40,21 +35,55 @@ edges at their junction point. %include ../common/OccHandle.i -%include BRepLProp_headers.i - -/* typedefs */ -/* end typedefs declaration */ - +%{ +#include + +//Dependencies +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +%}; +%import Standard.i +%import NCollection.i +%import BRepAdaptor.i +%import GeomAbs.i +%import gp.i /* public enums */ /* end public enums declaration */ +/* handles */ +/* end handles declaration */ + +/* templates */ +/* end templates declaration */ +/* typedefs */ +/* end typedefs declaration */ + +/****************** +* class BRepLProp * +******************/ %rename(breplprop) BRepLProp; class BRepLProp { public: + /****************** Continuity ******************/ %feature("compactdefaultargs") Continuity; - %feature("autodoc", " * Computes the regularity at the junction between C1 and C2. The point u1 on C1 and the point u2 on C2 must be confused. tl and ta are the linear and angular tolerance used two compare the derivative. - + %feature("autodoc", "* Computes the regularity at the junction between C1 and C2. The point u1 on C1 and the point u2 on C2 must be confused. tl and ta are the linear and angular tolerance used two compare the derivative. :param C1: :type C1: BRepAdaptor_Curve & :param C2: @@ -67,12 +96,12 @@ class BRepLProp { :type tl: float :param ta: :type ta: float - :rtype: GeomAbs_Shape -") Continuity; + :rtype: GeomAbs_Shape") Continuity; static GeomAbs_Shape Continuity (const BRepAdaptor_Curve & C1,const BRepAdaptor_Curve & C2,const Standard_Real u1,const Standard_Real u2,const Standard_Real tl,const Standard_Real ta); - %feature("compactdefaultargs") Continuity; - %feature("autodoc", " * The same as preciding but using the standard tolerances from package Precision. + /****************** Continuity ******************/ + %feature("compactdefaultargs") Continuity; + %feature("autodoc", "* The same as preciding but using the standard tolerances from package Precision. :param C1: :type C1: BRepAdaptor_Curve & :param C2: @@ -81,9 +110,9 @@ class BRepLProp { :type u1: float :param u2: :type u2: float - :rtype: GeomAbs_Shape -") Continuity; + :rtype: GeomAbs_Shape") Continuity; static GeomAbs_Shape Continuity (const BRepAdaptor_Curve & C1,const BRepAdaptor_Curve & C2,const Standard_Real u1,const Standard_Real u2); + }; @@ -92,21 +121,29 @@ class BRepLProp { __repr__ = _dumps_object } }; + +/************************** +* class BRepLProp_CLProps * +**************************/ %nodefaultctor BRepLProp_CLProps; class BRepLProp_CLProps { public: + /****************** BRepLProp_CLProps ******************/ %feature("compactdefaultargs") BRepLProp_CLProps; - %feature("autodoc", " :param C: + %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). + :param C: :type C: BRepAdaptor_Curve & :param N: :type N: int :param Resolution: :type Resolution: float - :rtype: None -") BRepLProp_CLProps; + :rtype: None") BRepLProp_CLProps; BRepLProp_CLProps (const BRepAdaptor_Curve & C,const Standard_Integer N,const Standard_Real Resolution); + + /****************** BRepLProp_CLProps ******************/ %feature("compactdefaultargs") BRepLProp_CLProps; - %feature("autodoc", " :param C: + %feature("autodoc", "* Same as previous constructor but here the parameter is set to the value . All the computations done will be related to and . + :param C: :type C: BRepAdaptor_Curve & :param U: :type U: float @@ -114,71 +151,95 @@ class BRepLProp_CLProps { :type N: int :param Resolution: :type Resolution: float - :rtype: None -") BRepLProp_CLProps; + :rtype: None") BRepLProp_CLProps; BRepLProp_CLProps (const BRepAdaptor_Curve & C,const Standard_Real U,const Standard_Integer N,const Standard_Real Resolution); + + /****************** BRepLProp_CLProps ******************/ %feature("compactdefaultargs") BRepLProp_CLProps; - %feature("autodoc", " :param N: + %feature("autodoc", "* Same as previous constructor but here the parameter is set to the value and the curve is set with SetCurve. the curve can have a empty constructor All the computations done will be related to and when the functions 'set' will be done. + :param N: :type N: int :param Resolution: :type Resolution: float - :rtype: None -") BRepLProp_CLProps; + :rtype: None") BRepLProp_CLProps; BRepLProp_CLProps (const Standard_Integer N,const Standard_Real Resolution); - %feature("compactdefaultargs") SetParameter; - %feature("autodoc", " :param U: - :type U: float - :rtype: None -") SetParameter; - void SetParameter (const Standard_Real U); - %feature("compactdefaultargs") SetCurve; - %feature("autodoc", " :param C: - :type C: BRepAdaptor_Curve & - :rtype: None -") SetCurve; - void SetCurve (const BRepAdaptor_Curve & C); - %feature("compactdefaultargs") Value; - %feature("autodoc", " :rtype: gp_Pnt -") Value; - const gp_Pnt Value (); + + /****************** CentreOfCurvature ******************/ + %feature("compactdefaultargs") CentreOfCurvature; + %feature("autodoc", "* Returns the centre of curvature

. + :param P: + :type P: gp_Pnt + :rtype: None") CentreOfCurvature; + void CentreOfCurvature (gp_Pnt & P); + + /****************** Curvature ******************/ + %feature("compactdefaultargs") Curvature; + %feature("autodoc", "* Returns the curvature. + :rtype: float") Curvature; + Standard_Real Curvature (); + + /****************** D1 ******************/ %feature("compactdefaultargs") D1; - %feature("autodoc", " :rtype: gp_Vec -") D1; + %feature("autodoc", "* Returns the first derivative. The derivative is computed if it has not been yet. + :rtype: gp_Vec") D1; const gp_Vec D1 (); + + /****************** D2 ******************/ %feature("compactdefaultargs") D2; - %feature("autodoc", " :rtype: gp_Vec -") D2; + %feature("autodoc", "* Returns the second derivative. The derivative is computed if it has not been yet. + :rtype: gp_Vec") D2; const gp_Vec D2 (); + + /****************** D3 ******************/ %feature("compactdefaultargs") D3; - %feature("autodoc", " :rtype: gp_Vec -") D3; + %feature("autodoc", "* Returns the third derivative. The derivative is computed if it has not been yet. + :rtype: gp_Vec") D3; const gp_Vec D3 (); + + /****************** IsTangentDefined ******************/ %feature("compactdefaultargs") IsTangentDefined; - %feature("autodoc", " :rtype: bool -") IsTangentDefined; + %feature("autodoc", "* Returns True if the tangent is defined. For example, the tangent is not defined if the three first derivatives are all null. + :rtype: bool") IsTangentDefined; Standard_Boolean IsTangentDefined (); - %feature("compactdefaultargs") Tangent; - %feature("autodoc", " :param D: - :type D: gp_Dir - :rtype: None -") Tangent; - void Tangent (gp_Dir & D); - %feature("compactdefaultargs") Curvature; - %feature("autodoc", " :rtype: float -") Curvature; - Standard_Real Curvature (); + + /****************** Normal ******************/ %feature("compactdefaultargs") Normal; - %feature("autodoc", " :param N: + %feature("autodoc", "* Returns the normal direction . + :param N: :type N: gp_Dir - :rtype: None -") Normal; + :rtype: None") Normal; void Normal (gp_Dir & N); - %feature("compactdefaultargs") CentreOfCurvature; - %feature("autodoc", " :param P: - :type P: gp_Pnt - :rtype: None -") CentreOfCurvature; - void CentreOfCurvature (gp_Pnt & P); + + /****************** SetCurve ******************/ + %feature("compactdefaultargs") SetCurve; + %feature("autodoc", "* Initializes the local properties of the curve for the new curve. + :param C: + :type C: BRepAdaptor_Curve & + :rtype: None") SetCurve; + void SetCurve (const BRepAdaptor_Curve & C); + + /****************** SetParameter ******************/ + %feature("compactdefaultargs") SetParameter; + %feature("autodoc", "* Initializes the local properties of the curve for the parameter value . + :param U: + :type U: float + :rtype: None") SetParameter; + void SetParameter (const Standard_Real U); + + /****************** Tangent ******************/ + %feature("compactdefaultargs") Tangent; + %feature("autodoc", "* output the tangent direction + :param D: + :type D: gp_Dir + :rtype: None") Tangent; + void Tangent (gp_Dir & D); + + /****************** Value ******************/ + %feature("compactdefaultargs") Value; + %feature("autodoc", "* Returns the Point. + :rtype: gp_Pnt") Value; + const gp_Pnt Value (); + }; @@ -187,23 +248,23 @@ class BRepLProp_CLProps { __repr__ = _dumps_object } }; + +/**************************** +* class BRepLProp_CurveTool * +****************************/ class BRepLProp_CurveTool { public: - %feature("compactdefaultargs") Value; - %feature("autodoc", " * Computes the point

of parameter on the curve . - + /****************** Continuity ******************/ + %feature("compactdefaultargs") Continuity; + %feature("autodoc", "* returns the order of continuity of the curve . returns 1 : first derivative only is computable returns 2 : first and second derivative only are computable. returns 3 : first, second and third are computable. :param C: :type C: BRepAdaptor_Curve & - :param U: - :type U: float - :param P: - :type P: gp_Pnt - :rtype: void -") Value; - static void Value (const BRepAdaptor_Curve & C,const Standard_Real U,gp_Pnt & P); - %feature("compactdefaultargs") D1; - %feature("autodoc", " * Computes the point

and first derivative of parameter on the curve . + :rtype: int") Continuity; + static Standard_Integer Continuity (const BRepAdaptor_Curve & C); + /****************** D1 ******************/ + %feature("compactdefaultargs") D1; + %feature("autodoc", "* Computes the point

and first derivative of parameter on the curve . :param C: :type C: BRepAdaptor_Curve & :param U: @@ -212,12 +273,12 @@ class BRepLProp_CurveTool { :type P: gp_Pnt :param V1: :type V1: gp_Vec - :rtype: void -") D1; + :rtype: void") D1; static void D1 (const BRepAdaptor_Curve & C,const Standard_Real U,gp_Pnt & P,gp_Vec & V1); - %feature("compactdefaultargs") D2; - %feature("autodoc", " * Computes the point

, the first derivative and second derivative of parameter on the curve . + /****************** D2 ******************/ + %feature("compactdefaultargs") D2; + %feature("autodoc", "* Computes the point

, the first derivative and second derivative of parameter on the curve . :param C: :type C: BRepAdaptor_Curve & :param U: @@ -228,12 +289,12 @@ class BRepLProp_CurveTool { :type V1: gp_Vec :param V2: :type V2: gp_Vec - :rtype: void -") D2; + :rtype: void") D2; static void D2 (const BRepAdaptor_Curve & C,const Standard_Real U,gp_Pnt & P,gp_Vec & V1,gp_Vec & V2); - %feature("compactdefaultargs") D3; - %feature("autodoc", " * Computes the point

, the first derivative , the second derivative and third derivative of parameter on the curve . + /****************** D3 ******************/ + %feature("compactdefaultargs") D3; + %feature("autodoc", "* Computes the point

, the first derivative , the second derivative and third derivative of parameter on the curve . :param C: :type C: BRepAdaptor_Curve & :param U: @@ -246,33 +307,37 @@ class BRepLProp_CurveTool { :type V2: gp_Vec :param V3: :type V3: gp_Vec - :rtype: void -") D3; + :rtype: void") D3; static void D3 (const BRepAdaptor_Curve & C,const Standard_Real U,gp_Pnt & P,gp_Vec & V1,gp_Vec & V2,gp_Vec & V3); - %feature("compactdefaultargs") Continuity; - %feature("autodoc", " * returns the order of continuity of the curve . returns 1 : first derivative only is computable returns 2 : first and second derivative only are computable. returns 3 : first, second and third are computable. - :param C: - :type C: BRepAdaptor_Curve & - :rtype: int -") Continuity; - static Standard_Integer Continuity (const BRepAdaptor_Curve & C); + /****************** FirstParameter ******************/ %feature("compactdefaultargs") FirstParameter; - %feature("autodoc", " * returns the first parameter bound of the curve. - + %feature("autodoc", "* returns the first parameter bound of the curve. :param C: :type C: BRepAdaptor_Curve & - :rtype: float -") FirstParameter; + :rtype: float") FirstParameter; static Standard_Real FirstParameter (const BRepAdaptor_Curve & C); - %feature("compactdefaultargs") LastParameter; - %feature("autodoc", " * returns the last parameter bound of the curve. FirstParameter must be less than LastParamenter. + /****************** LastParameter ******************/ + %feature("compactdefaultargs") LastParameter; + %feature("autodoc", "* returns the last parameter bound of the curve. FirstParameter must be less than LastParamenter. :param C: :type C: BRepAdaptor_Curve & - :rtype: float -") LastParameter; + :rtype: float") LastParameter; static Standard_Real LastParameter (const BRepAdaptor_Curve & C); + + /****************** Value ******************/ + %feature("compactdefaultargs") Value; + %feature("autodoc", "* Computes the point

of parameter on the curve . + :param C: + :type C: BRepAdaptor_Curve & + :param U: + :type U: float + :param P: + :type P: gp_Pnt + :rtype: void") Value; + static void Value (const BRepAdaptor_Curve & C,const Standard_Real U,gp_Pnt & P); + }; @@ -281,11 +346,17 @@ class BRepLProp_CurveTool { __repr__ = _dumps_object } }; + +/************************** +* class BRepLProp_SLProps * +**************************/ %nodefaultctor BRepLProp_SLProps; class BRepLProp_SLProps { public: + /****************** BRepLProp_SLProps ******************/ %feature("compactdefaultargs") BRepLProp_SLProps; - %feature("autodoc", " :param S: + %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). + :param S: :type S: BRepAdaptor_Surface & :param U: :type U: float @@ -295,125 +366,171 @@ class BRepLProp_SLProps { :type N: int :param Resolution: :type Resolution: float - :rtype: None -") BRepLProp_SLProps; + :rtype: None") BRepLProp_SLProps; BRepLProp_SLProps (const BRepAdaptor_Surface & S,const Standard_Real U,const Standard_Real V,const Standard_Integer N,const Standard_Real Resolution); + + /****************** BRepLProp_SLProps ******************/ %feature("compactdefaultargs") BRepLProp_SLProps; - %feature("autodoc", " :param S: + %feature("autodoc", "* idem as previous constructor but without setting the value of parameters and . + :param S: :type S: BRepAdaptor_Surface & :param N: :type N: int :param Resolution: :type Resolution: float - :rtype: None -") BRepLProp_SLProps; + :rtype: None") BRepLProp_SLProps; BRepLProp_SLProps (const BRepAdaptor_Surface & S,const Standard_Integer N,const Standard_Real Resolution); + + /****************** BRepLProp_SLProps ******************/ %feature("compactdefaultargs") BRepLProp_SLProps; - %feature("autodoc", " :param N: + %feature("autodoc", "* idem as previous constructor but without setting the value of parameters and and the surface. the surface can have an empty constructor. + :param N: :type N: int :param Resolution: :type Resolution: float - :rtype: None -") BRepLProp_SLProps; + :rtype: None") BRepLProp_SLProps; BRepLProp_SLProps (const Standard_Integer N,const Standard_Real Resolution); - %feature("compactdefaultargs") SetSurface; - %feature("autodoc", " :param S: - :type S: BRepAdaptor_Surface & - :rtype: None -") SetSurface; - void SetSurface (const BRepAdaptor_Surface & S); - %feature("compactdefaultargs") SetParameters; - %feature("autodoc", " :param U: - :type U: float - :param V: - :type V: float - :rtype: None -") SetParameters; - void SetParameters (const Standard_Real U,const Standard_Real V); - %feature("compactdefaultargs") Value; - %feature("autodoc", " :rtype: gp_Pnt -") Value; - const gp_Pnt Value (); + + /****************** CurvatureDirections ******************/ + %feature("compactdefaultargs") CurvatureDirections; + %feature("autodoc", "* Returns the direction of the maximum and minimum curvature and + :param MaxD: + :type MaxD: gp_Dir + :param MinD: + :type MinD: gp_Dir + :rtype: None") CurvatureDirections; + void CurvatureDirections (gp_Dir & MaxD,gp_Dir & MinD); + + /****************** D1U ******************/ %feature("compactdefaultargs") D1U; - %feature("autodoc", " :rtype: gp_Vec -") D1U; + %feature("autodoc", "* Returns the first U derivative. The derivative is computed if it has not been yet. + :rtype: gp_Vec") D1U; const gp_Vec D1U (); + + /****************** D1V ******************/ %feature("compactdefaultargs") D1V; - %feature("autodoc", " :rtype: gp_Vec -") D1V; + %feature("autodoc", "* Returns the first V derivative. The derivative is computed if it has not been yet. + :rtype: gp_Vec") D1V; const gp_Vec D1V (); + + /****************** D2U ******************/ %feature("compactdefaultargs") D2U; - %feature("autodoc", " :rtype: gp_Vec -") D2U; + %feature("autodoc", "* Returns the second U derivatives The derivative is computed if it has not been yet. + :rtype: gp_Vec") D2U; const gp_Vec D2U (); + + /****************** D2V ******************/ %feature("compactdefaultargs") D2V; - %feature("autodoc", " :rtype: gp_Vec -") D2V; + %feature("autodoc", "* Returns the second V derivative. The derivative is computed if it has not been yet. + :rtype: gp_Vec") D2V; const gp_Vec D2V (); + + /****************** DUV ******************/ %feature("compactdefaultargs") DUV; - %feature("autodoc", " :rtype: gp_Vec -") DUV; + %feature("autodoc", "* Returns the second UV cross-derivative. The derivative is computed if it has not been yet. + :rtype: gp_Vec") DUV; const gp_Vec DUV (); + + /****************** GaussianCurvature ******************/ + %feature("compactdefaultargs") GaussianCurvature; + %feature("autodoc", "* Returns the Gaussian curvature + :rtype: float") GaussianCurvature; + Standard_Real GaussianCurvature (); + + /****************** IsCurvatureDefined ******************/ + %feature("compactdefaultargs") IsCurvatureDefined; + %feature("autodoc", "* returns True if the curvature is defined. + :rtype: bool") IsCurvatureDefined; + Standard_Boolean IsCurvatureDefined (); + + /****************** IsNormalDefined ******************/ + %feature("compactdefaultargs") IsNormalDefined; + %feature("autodoc", "* Tells if the normal is defined. + :rtype: bool") IsNormalDefined; + Standard_Boolean IsNormalDefined (); + + /****************** IsTangentUDefined ******************/ %feature("compactdefaultargs") IsTangentUDefined; - %feature("autodoc", " :rtype: bool -") IsTangentUDefined; + %feature("autodoc", "* returns True if the U tangent is defined. For example, the tangent is not defined if the two first U derivatives are null. + :rtype: bool") IsTangentUDefined; Standard_Boolean IsTangentUDefined (); - %feature("compactdefaultargs") TangentU; - %feature("autodoc", " :param D: - :type D: gp_Dir - :rtype: None -") TangentU; - void TangentU (gp_Dir & D); + + /****************** IsTangentVDefined ******************/ %feature("compactdefaultargs") IsTangentVDefined; - %feature("autodoc", " :rtype: bool -") IsTangentVDefined; + %feature("autodoc", "* returns if the V tangent is defined. For example, the tangent is not defined if the two first V derivatives are null. + :rtype: bool") IsTangentVDefined; Standard_Boolean IsTangentVDefined (); - %feature("compactdefaultargs") TangentV; - %feature("autodoc", " :param D: - :type D: gp_Dir - :rtype: None -") TangentV; - void TangentV (gp_Dir & D); - %feature("compactdefaultargs") IsNormalDefined; - %feature("autodoc", " :rtype: bool -") IsNormalDefined; - Standard_Boolean IsNormalDefined (); - %feature("compactdefaultargs") Normal; - %feature("autodoc", " :rtype: gp_Dir -") Normal; - const gp_Dir Normal (); - %feature("compactdefaultargs") IsCurvatureDefined; - %feature("autodoc", " :rtype: bool -") IsCurvatureDefined; - Standard_Boolean IsCurvatureDefined (); + + /****************** IsUmbilic ******************/ %feature("compactdefaultargs") IsUmbilic; - %feature("autodoc", " :rtype: bool -") IsUmbilic; + %feature("autodoc", "* returns True if the point is umbilic (i.e. if the curvature is constant). + :rtype: bool") IsUmbilic; Standard_Boolean IsUmbilic (); + + /****************** MaxCurvature ******************/ %feature("compactdefaultargs") MaxCurvature; - %feature("autodoc", " :rtype: float -") MaxCurvature; + %feature("autodoc", "* Returns the maximum curvature + :rtype: float") MaxCurvature; Standard_Real MaxCurvature (); - %feature("compactdefaultargs") MinCurvature; - %feature("autodoc", " :rtype: float -") MinCurvature; - Standard_Real MinCurvature (); - %feature("compactdefaultargs") CurvatureDirections; - %feature("autodoc", " :param MaxD: - :type MaxD: gp_Dir - :param MinD: - :type MinD: gp_Dir - :rtype: None -") CurvatureDirections; - void CurvatureDirections (gp_Dir & MaxD,gp_Dir & MinD); + + /****************** MeanCurvature ******************/ %feature("compactdefaultargs") MeanCurvature; - %feature("autodoc", " :rtype: float -") MeanCurvature; + %feature("autodoc", "* Returns the mean curvature. + :rtype: float") MeanCurvature; Standard_Real MeanCurvature (); - %feature("compactdefaultargs") GaussianCurvature; - %feature("autodoc", " :rtype: float -") GaussianCurvature; - Standard_Real GaussianCurvature (); + + /****************** MinCurvature ******************/ + %feature("compactdefaultargs") MinCurvature; + %feature("autodoc", "* Returns the minimum curvature + :rtype: float") MinCurvature; + Standard_Real MinCurvature (); + + /****************** Normal ******************/ + %feature("compactdefaultargs") Normal; + %feature("autodoc", "* Returns the normal direction. + :rtype: gp_Dir") Normal; + const gp_Dir Normal (); + + /****************** SetParameters ******************/ + %feature("compactdefaultargs") SetParameters; + %feature("autodoc", "* Initializes the local properties of the surface S for the new parameter values (, ). + :param U: + :type U: float + :param V: + :type V: float + :rtype: None") SetParameters; + void SetParameters (const Standard_Real U,const Standard_Real V); + + /****************** SetSurface ******************/ + %feature("compactdefaultargs") SetSurface; + %feature("autodoc", "* Initializes the local properties of the surface S for the new surface. + :param S: + :type S: BRepAdaptor_Surface & + :rtype: None") SetSurface; + void SetSurface (const BRepAdaptor_Surface & S); + + /****************** TangentU ******************/ + %feature("compactdefaultargs") TangentU; + %feature("autodoc", "* Returns the tangent direction on the iso-V. + :param D: + :type D: gp_Dir + :rtype: None") TangentU; + void TangentU (gp_Dir & D); + + /****************** TangentV ******************/ + %feature("compactdefaultargs") TangentV; + %feature("autodoc", "* Returns the tangent direction on the iso-V. + :param D: + :type D: gp_Dir + :rtype: None") TangentV; + void TangentV (gp_Dir & D); + + /****************** Value ******************/ + %feature("compactdefaultargs") Value; + %feature("autodoc", "* Returns the point. + :rtype: gp_Pnt") Value; + const gp_Pnt Value (); + }; @@ -422,25 +539,39 @@ class BRepLProp_SLProps { __repr__ = _dumps_object } }; + +/****************************** +* class BRepLProp_SurfaceTool * +******************************/ class BRepLProp_SurfaceTool { public: - %feature("compactdefaultargs") Value; - %feature("autodoc", " * Computes the point

of parameter and on the Surface . + /****************** Bounds ******************/ + %feature("compactdefaultargs") Bounds; + %feature("autodoc", "* returns the bounds of the Surface. + :param S: + :type S: BRepAdaptor_Surface & + :param U1: + :type U1: float & + :param V1: + :type V1: float & + :param U2: + :type U2: float & + :param V2: + :type V2: float & + :rtype: void") Bounds; + static void Bounds (const BRepAdaptor_Surface & S,Standard_Real &OutValue,Standard_Real &OutValue,Standard_Real &OutValue,Standard_Real &OutValue); + /****************** Continuity ******************/ + %feature("compactdefaultargs") Continuity; + %feature("autodoc", "* returns the order of continuity of the Surface . returns 1 : first derivative only is computable returns 2 : first and second derivative only are computable. :param S: :type S: BRepAdaptor_Surface & - :param U: - :type U: float - :param V: - :type V: float - :param P: - :type P: gp_Pnt - :rtype: void -") Value; - static void Value (const BRepAdaptor_Surface & S,const Standard_Real U,const Standard_Real V,gp_Pnt & P); - %feature("compactdefaultargs") D1; - %feature("autodoc", " * Computes the point

and first derivative of parameter and on the Surface . + :rtype: int") Continuity; + static Standard_Integer Continuity (const BRepAdaptor_Surface & S); + /****************** D1 ******************/ + %feature("compactdefaultargs") D1; + %feature("autodoc", "* Computes the point

and first derivative of parameter and on the Surface . :param S: :type S: BRepAdaptor_Surface & :param U: @@ -453,12 +584,12 @@ class BRepLProp_SurfaceTool { :type D1U: gp_Vec :param D1V: :type D1V: gp_Vec - :rtype: void -") D1; + :rtype: void") D1; static void D1 (const BRepAdaptor_Surface & S,const Standard_Real U,const Standard_Real V,gp_Pnt & P,gp_Vec & D1U,gp_Vec & D1V); - %feature("compactdefaultargs") D2; - %feature("autodoc", " * Computes the point

, the first derivative and second derivative of parameter and on the Surface . + /****************** D2 ******************/ + %feature("compactdefaultargs") D2; + %feature("autodoc", "* Computes the point

, the first derivative and second derivative of parameter and on the Surface . :param S: :type S: BRepAdaptor_Surface & :param U: @@ -477,11 +608,12 @@ class BRepLProp_SurfaceTool { :type D2V: gp_Vec :param DUV: :type DUV: gp_Vec - :rtype: void -") D2; + :rtype: void") D2; static void D2 (const BRepAdaptor_Surface & 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 ******************/ %feature("compactdefaultargs") DN; - %feature("autodoc", " :param S: + %feature("autodoc", ":param S: :type S: BRepAdaptor_Surface & :param U: :type U: float @@ -491,33 +623,23 @@ class BRepLProp_SurfaceTool { :type IU: int :param IV: :type IV: int - :rtype: gp_Vec -") DN; + :rtype: gp_Vec") DN; static gp_Vec DN (const BRepAdaptor_Surface & S,const Standard_Real U,const Standard_Real V,const Standard_Integer IU,const Standard_Integer IV); - %feature("compactdefaultargs") Continuity; - %feature("autodoc", " * returns the order of continuity of the Surface . returns 1 : first derivative only is computable returns 2 : first and second derivative only are computable. + /****************** Value ******************/ + %feature("compactdefaultargs") Value; + %feature("autodoc", "* Computes the point

of parameter and on the Surface . :param S: :type S: BRepAdaptor_Surface & - :rtype: int -") Continuity; - static Standard_Integer Continuity (const BRepAdaptor_Surface & S); - %feature("compactdefaultargs") Bounds; - %feature("autodoc", " * returns the bounds of the Surface. + :param U: + :type U: float + :param V: + :type V: float + :param P: + :type P: gp_Pnt + :rtype: void") Value; + static void Value (const BRepAdaptor_Surface & S,const Standard_Real U,const Standard_Real V,gp_Pnt & P); - :param S: - :type S: BRepAdaptor_Surface & - :param U1: - :type U1: float & - :param V1: - :type V1: float & - :param U2: - :type U2: float & - :param V2: - :type V2: float & - :rtype: void -") Bounds; - static void Bounds (const BRepAdaptor_Surface & S,Standard_Real &OutValue,Standard_Real &OutValue,Standard_Real &OutValue,Standard_Real &OutValue); }; @@ -526,3 +648,7 @@ class BRepLProp_SurfaceTool { __repr__ = _dumps_object } }; + +/* harray1 class */ +/* harray2 class */ +/* harray2 class */ diff --git a/src/SWIG_files/wrapper/BRepLProp_headers.i b/src/SWIG_files/wrapper/BRepLProp_headers.i deleted file mode 100644 index 663106c62..000000000 --- a/src/SWIG_files/wrapper/BRepLProp_headers.i +++ /dev/null @@ -1,551 +0,0 @@ -/* -Copyright 2008-2017 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 . - -*/ -%{ -#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 -#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 -#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 -#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 -#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 -#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 -%}; -%import BRepAdaptor.i -%import Standard.i -%import GeomAbs.i -%import gp.i diff --git a/src/SWIG_files/wrapper/BRepLib.i b/src/SWIG_files/wrapper/BRepLib.i index 612c41dd1..f0b8cdb4a 100644 --- a/src/SWIG_files/wrapper/BRepLib.i +++ b/src/SWIG_files/wrapper/BRepLib.i @@ -1,6 +1,5 @@ /* -Copyright 2008-2017 Thomas Paviot (tpaviot@gmail.com) - +Copyright 2008-2019 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -15,21 +14,13 @@ 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 BREPLIBDOCSTRING -"The BRepLib package provides general utilities for -BRep. - -* FindSurface : Class to compute a surface through -a set of edges. - -* Compute missing 3d curve on an edge. -" +"BRepLib module, see official documentation at +https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_breplib.html" %enddef %module (package="OCC.Core", docstring=BREPLIBDOCSTRING) BRepLib -#pragma SWIG nowarn=504,325,503 %{ #ifdef WNT @@ -44,11 +35,44 @@ a set of edges. %include ../common/OccHandle.i -%include BRepLib_headers.i - -/* typedefs */ -/* end typedefs declaration */ - +%{ +#include + +//Dependencies +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +%}; +%import Standard.i +%import NCollection.i +%import gp.i +%import TopoDS.i +%import GeomAbs.i +%import Geom2d.i +%import TopTools.i +%import Adaptor3d.i +%import Geom.i +%import BRepTools.i +%import TopLoc.i /* public enums */ enum BRepLib_EdgeError { BRepLib_EdgeDone = 0, @@ -92,61 +116,36 @@ enum BRepLib_FaceError { /* end public enums declaration */ +/* handles */ +/* end handles declaration */ + +/* templates */ +/* end templates declaration */ +/* typedefs */ +/* end typedefs declaration */ + +/**************** +* class BRepLib * +****************/ %rename(breplib) BRepLib; class BRepLib { public: - %feature("compactdefaultargs") Precision; - %feature("autodoc", " * Computes the max distance between edge and its 2d representation on the face. Sets the default precision. The current Precision is returned. - - :param P: - :type P: float - :rtype: void -") Precision; - static void Precision (const Standard_Real P); - %feature("compactdefaultargs") Precision; - %feature("autodoc", " * Returns the default precision. - - :rtype: float -") Precision; - static Standard_Real Precision (); - %feature("compactdefaultargs") Plane; - %feature("autodoc", " * Sets the current plane to P. - - :param P: - :type P: Handle_Geom_Plane & - :rtype: void -") Plane; - static void Plane (const Handle_Geom_Plane & P); - %feature("compactdefaultargs") Plane; - %feature("autodoc", " * Returns the current plane. - - :rtype: Handle_Geom_Plane -") Plane; - Handle_Geom_Plane Plane (); - %feature("compactdefaultargs") CheckSameRange; - %feature("autodoc", " * checks if the Edge is same range IGNORING the same range flag of the edge Confusion argument is to compare real numbers idenpendently of any model space tolerance - - :param E: - :type E: TopoDS_Edge & - :param Confusion: default value is 1.0e-12 - :type Confusion: float - :rtype: bool -") CheckSameRange; - static Standard_Boolean CheckSameRange (const TopoDS_Edge & E,const Standard_Real Confusion = 1.0e-12); - %feature("compactdefaultargs") SameRange; - %feature("autodoc", " * will make all the curve representation have the same range domain for the parameters. This will IGNORE the same range flag value to proceed. If there is a 3D curve there it will the range of that curve. If not the first curve representation encountered in the list will give its range to the all the other curves. - - :param E: - :type E: TopoDS_Edge & - :param Tolerance: default value is 1.0e-5 - :type Tolerance: float - :rtype: void -") SameRange; - static void SameRange (const TopoDS_Edge & E,const Standard_Real Tolerance = 1.0e-5); + /****************** BoundingVertex ******************/ + %feature("compactdefaultargs") BoundingVertex; + %feature("autodoc", "* Calculates the bounding sphere around the set of vertexes from the theLV list. Returns the center (theNewCenter) and the radius (theNewTol) of this sphere. This can be used to construct the new vertex which covers the given set of other vertices. + :param theLV: + :type theLV: NCollection_List & + :param theNewCenter: + :type theNewCenter: gp_Pnt + :param theNewTol: + :type theNewTol: float & + :rtype: void") BoundingVertex; + static void BoundingVertex (const NCollection_List & theLV,gp_Pnt & theNewCenter,Standard_Real &OutValue); + + /****************** BuildCurve3d ******************/ %feature("compactdefaultargs") BuildCurve3d; - %feature("autodoc", " * Computes the 3d curve for the edge if it does not exist. Returns True if the curve was computed or existed. Returns False if there is no planar pcurve or the computation failed. >= 30 in approximation - + %feature("autodoc", "* Computes the 3d curve for the edge if it does not exist. Returns True if the curve was computed or existed. Returns False if there is no planar pcurve or the computation failed. >= 30 in approximation :param E: :type E: TopoDS_Edge & :param Tolerance: default value is 1.0e-5 @@ -157,12 +156,12 @@ class BRepLib { :type MaxDegree: int :param MaxSegment: default value is 0 :type MaxSegment: int - :rtype: bool -") BuildCurve3d; + :rtype: bool") BuildCurve3d; static Standard_Boolean BuildCurve3d (const TopoDS_Edge & E,const Standard_Real Tolerance = 1.0e-5,const GeomAbs_Shape Continuity = GeomAbs_C1,const Standard_Integer MaxDegree = 14,const Standard_Integer MaxSegment = 0); - %feature("compactdefaultargs") BuildCurves3d; - %feature("autodoc", " * Computes the 3d curves for all the edges of return False if one of the computation failed. >= 30 in approximation + /****************** BuildCurves3d ******************/ + %feature("compactdefaultargs") BuildCurves3d; + %feature("autodoc", "* Computes the 3d curves for all the edges of return False if one of the computation failed. >= 30 in approximation :param S: :type S: TopoDS_Shape & :param Tolerance: @@ -173,137 +172,327 @@ class BRepLib { :type MaxDegree: int :param MaxSegment: default value is 0 :type MaxSegment: int - :rtype: bool -") BuildCurves3d; + :rtype: bool") BuildCurves3d; static Standard_Boolean BuildCurves3d (const TopoDS_Shape & S,const Standard_Real Tolerance,const GeomAbs_Shape Continuity = GeomAbs_C1,const Standard_Integer MaxDegree = 14,const Standard_Integer MaxSegment = 0); - %feature("compactdefaultargs") BuildCurves3d; - %feature("autodoc", " * Computes the 3d curves for all the edges of return False if one of the computation failed. + /****************** BuildCurves3d ******************/ + %feature("compactdefaultargs") BuildCurves3d; + %feature("autodoc", "* Computes the 3d curves for all the edges of return False if one of the computation failed. :param S: :type S: TopoDS_Shape & - :rtype: bool -") BuildCurves3d; + :rtype: bool") BuildCurves3d; static Standard_Boolean BuildCurves3d (const TopoDS_Shape & S); - %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 + /****************** BuildPCurveForEdgeOnPlane ******************/ + %feature("compactdefaultargs") BuildPCurveForEdgeOnPlane; + %feature("autodoc", "* Builds pcurve of edge on face if the surface is plane, and updates the edge. + :param theE: + :type theE: TopoDS_Edge & + :param theF: + :type theF: TopoDS_Face & + :rtype: void") BuildPCurveForEdgeOnPlane; + static void BuildPCurveForEdgeOnPlane (const TopoDS_Edge & theE,const TopoDS_Face & theF); + + /****************** BuildPCurveForEdgeOnPlane ******************/ + %feature("compactdefaultargs") BuildPCurveForEdgeOnPlane; + %feature("autodoc", "* Builds pcurve of edge on face if the surface is plane, but does not update the edge. The output are the pcurve and the flag telling that pcurve was built. + :param theE: + :type theE: TopoDS_Edge & + :param theF: + :type theF: TopoDS_Face & + :param aC2D: + :type aC2D: opencascade::handle & + :param bToUpdate: + :type bToUpdate: bool + :rtype: void") BuildPCurveForEdgeOnPlane; + static void BuildPCurveForEdgeOnPlane (const TopoDS_Edge & theE,const TopoDS_Face & theF,opencascade::handle & aC2D,Standard_Boolean &OutValue); + + /****************** CheckSameRange ******************/ + %feature("compactdefaultargs") CheckSameRange; + %feature("autodoc", "* checks if the Edge is same range IGNORING the same range flag of the edge Confusion argument is to compare real numbers idenpendently of any model space tolerance :param E: :type E: TopoDS_Edge & - :param MinToleranceRequest: - :type MinToleranceRequest: float - :param MaxToleranceToCheck: - :type MaxToleranceToCheck: float - :rtype: bool -") UpdateEdgeTol; - static Standard_Boolean UpdateEdgeTol (const TopoDS_Edge & E,const Standard_Real MinToleranceRequest,const Standard_Real MaxToleranceToCheck); - %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 + :param Confusion: default value is 1.0e-12 + :type Confusion: float + :rtype: bool") CheckSameRange; + static Standard_Boolean CheckSameRange (const TopoDS_Edge & E,const Standard_Real Confusion = 1.0e-12); + + /****************** EncodeRegularity ******************/ + %feature("compactdefaultargs") EncodeRegularity; + %feature("autodoc", "* Encodes the Regularity of edges on a Shape. Warning: is an angular tolerance, expressed in Rad. Warning: If the edges's regularity are coded before, nothing is done. + :param S: + :type S: TopoDS_Shape & + :param TolAng: default value is 1.0e-10 + :type TolAng: float + :rtype: void") EncodeRegularity; + static void EncodeRegularity (const TopoDS_Shape & S,const Standard_Real TolAng = 1.0e-10); + /****************** EncodeRegularity ******************/ + %feature("compactdefaultargs") EncodeRegularity; + %feature("autodoc", "* Encodes the Regularity of edges in list on the shape Warning: is an angular tolerance, expressed in Rad. Warning: If the edges's regularity are coded before, nothing is done. :param S: :type S: TopoDS_Shape & - :param MinToleranceRequest: - :type MinToleranceRequest: float - :param MaxToleranceToCheck: - :type MaxToleranceToCheck: float - :rtype: bool -") UpdateEdgeTolerance; - static Standard_Boolean UpdateEdgeTolerance (const TopoDS_Shape & S,const Standard_Real MinToleranceRequest,const Standard_Real MaxToleranceToCheck); - %feature("compactdefaultargs") SameParameter; - %feature("autodoc", " * Computes new 2d curve(s) for the edge to have the same parameter as the 3d curve. The algorithm is not done if the flag SameParameter was True on the Edge. + :param LE: + :type LE: TopTools_ListOfShape & + :param TolAng: default value is 1.0e-10 + :type TolAng: float + :rtype: void") EncodeRegularity; + static void EncodeRegularity (const TopoDS_Shape & S,const TopTools_ListOfShape & LE,const Standard_Real TolAng = 1.0e-10); + /****************** EncodeRegularity ******************/ + %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. :param E: :type E: TopoDS_Edge & + :param F1: + :type F1: TopoDS_Face & + :param F2: + :type F2: TopoDS_Face & + :param TolAng: default value is 1.0e-10 + :type TolAng: float + :rtype: void") EncodeRegularity; + static void EncodeRegularity (TopoDS_Edge & E,const TopoDS_Face & F1,const TopoDS_Face & F2,const Standard_Real TolAng = 1.0e-10); + + /****************** EnsureNormalConsistency ******************/ + %feature("compactdefaultargs") EnsureNormalConsistency; + %feature("autodoc", "* Corrects the normals in Poly_Triangulation of faces, in such way that normals at nodes lying along smooth edges have the same value on both adjacent triangulations. Returns True if any correction is done. + :param S: + :type S: TopoDS_Shape & + :param theAngTol: default value is 0.001 + :type theAngTol: float + :param ForceComputeNormals: default value is Standard_False + :type ForceComputeNormals: bool + :rtype: bool") EnsureNormalConsistency; + static Standard_Boolean EnsureNormalConsistency (const TopoDS_Shape & S,const Standard_Real theAngTol = 0.001,const Standard_Boolean ForceComputeNormals = Standard_False); + + /****************** ExtendFace ******************/ + %feature("compactdefaultargs") ExtendFace; + %feature("autodoc", "* Enlarges the face on the given value. @param theF [in] The face to extend @param theExtVal [in] The extension value @param theExtUMin [in] Defines whether to extend the face in UMin direction @param theExtUMax [in] Defines whether to extend the face in UMax direction @param theExtVMin [in] Defines whether to extend the face in VMin direction @param theExtVMax [in] Defines whether to extend the face in VMax direction @param theFExtended [in] The extended face + :param theF: + :type theF: TopoDS_Face & + :param theExtVal: + :type theExtVal: float + :param theExtUMin: + :type theExtUMin: bool + :param theExtUMax: + :type theExtUMax: bool + :param theExtVMin: + :type theExtVMin: bool + :param theExtVMax: + :type theExtVMax: bool + :param theFExtended: + :type theFExtended: TopoDS_Face & + :rtype: void") ExtendFace; + static void ExtendFace (const TopoDS_Face & theF,const Standard_Real theExtVal,const Standard_Boolean theExtUMin,const Standard_Boolean theExtUMax,const Standard_Boolean theExtVMin,const Standard_Boolean theExtVMax,TopoDS_Face & theFExtended); + + /****************** FindValidRange ******************/ + %feature("compactdefaultargs") FindValidRange; + %feature("autodoc", "* For an edge defined by 3d curve and tolerance and vertices defined by points, parameters on curve and tolerances, finds a range of curve between vertices not covered by vertices tolerances. Returns false if there is no such range. Otherwise, sets theFirst and theLast as its bounds. + :param theCurve: + :type theCurve: Adaptor3d_Curve & + :param theTolE: + :type theTolE: float + :param theParV1: + :type theParV1: float + :param thePntV1: + :type thePntV1: gp_Pnt + :param theTolV1: + :type theTolV1: float + :param theParV2: + :type theParV2: float + :param thePntV2: + :type thePntV2: gp_Pnt + :param theTolV2: + :type theTolV2: float + :param theFirst: + :type theFirst: float & + :param theLast: + :type theLast: float & + :rtype: bool") FindValidRange; + static Standard_Boolean FindValidRange (const Adaptor3d_Curve & theCurve,const Standard_Real theTolE,const Standard_Real theParV1,const gp_Pnt & thePntV1,const Standard_Real theTolV1,const Standard_Real theParV2,const gp_Pnt & thePntV2,const Standard_Real theTolV2,Standard_Real &OutValue,Standard_Real &OutValue); + + /****************** FindValidRange ******************/ + %feature("compactdefaultargs") FindValidRange; + %feature("autodoc", "* Finds a range of 3d curve of the edge not covered by vertices tolerances. Returns false if there is no such range. Otherwise, sets theFirst and theLast as its bounds. + :param theEdge: + :type theEdge: TopoDS_Edge & + :param theFirst: + :type theFirst: float & + :param theLast: + :type theLast: float & + :rtype: bool") FindValidRange; + static Standard_Boolean FindValidRange (const TopoDS_Edge & theEdge,Standard_Real &OutValue,Standard_Real &OutValue); + + /****************** OrientClosedSolid ******************/ + %feature("compactdefaultargs") OrientClosedSolid; + %feature("autodoc", "* Orients the solid forward and the shell with the orientation to have matter in the solid. Returns False if the solid is unOrientable (open or incoherent) + :param solid: + :type solid: TopoDS_Solid & + :rtype: bool") OrientClosedSolid; + static Standard_Boolean OrientClosedSolid (TopoDS_Solid & solid); + + /****************** Plane ******************/ + %feature("compactdefaultargs") Plane; + %feature("autodoc", "* Sets the current plane to P. + :param P: + :type P: opencascade::handle & + :rtype: void") Plane; + static void Plane (const opencascade::handle & P); + + /****************** Plane ******************/ + %feature("compactdefaultargs") Plane; + %feature("autodoc", "* Returns the current plane. + :rtype: opencascade::handle") Plane; + static const opencascade::handle & Plane (); + + /****************** Precision ******************/ + %feature("compactdefaultargs") Precision; + %feature("autodoc", "* Computes the max distance between edge and its 2d representation on the face. Sets the default precision. The current Precision is returned. + :param P: + :type P: float + :rtype: void") Precision; + static void Precision (const Standard_Real P); + + /****************** Precision ******************/ + %feature("compactdefaultargs") Precision; + %feature("autodoc", "* Returns the default precision. + :rtype: float") Precision; + static Standard_Real Precision (); + + /****************** ReverseSortFaces ******************/ + %feature("compactdefaultargs") ReverseSortFaces; + %feature("autodoc", "* Sorts in LF the Faces of S on the reverse complexity of their surfaces (other,Torus,Sphere,Cone,Cylinder,Plane) + :param S: + :type S: TopoDS_Shape & + :param LF: + :type LF: TopTools_ListOfShape & + :rtype: void") ReverseSortFaces; + static void ReverseSortFaces (const TopoDS_Shape & S,TopTools_ListOfShape & LF); + + /****************** SameParameter ******************/ + %feature("compactdefaultargs") SameParameter; + %feature("autodoc", "* Computes new 2d curve(s) for the edge to have the same parameter as the 3d curve. The algorithm is not done if the flag SameParameter was True on the Edge. + :param theEdge: + :type theEdge: TopoDS_Edge & :param Tolerance: default value is 1.0e-5 :type Tolerance: float - :rtype: void -") SameParameter; - static void SameParameter (const TopoDS_Edge & E,const Standard_Real Tolerance = 1.0e-5); - %feature("compactdefaultargs") SameParameter; - %feature("autodoc", " * Computes new 2d curve(s) for all the edges of to have the same parameter as the 3d curve. The algorithm is not done if the flag SameParameter was True on an Edge. + :rtype: void") SameParameter; + static void SameParameter (const TopoDS_Edge & theEdge,const Standard_Real Tolerance = 1.0e-5); + /****************** SameParameter ******************/ + %feature("compactdefaultargs") SameParameter; + %feature("autodoc", "* Computes new 2d curve(s) for the edge to have the same parameter as the 3d curve. The algorithm is not done if the flag SameParameter was True on the Edge. theNewTol is a new tolerance of vertices of the input edge (not applied inside the algorithm, but pre-computed). If IsUseOldEdge is true then the input edge will be modified, otherwise the new copy of input edge will be created. Returns the new edge as a result, can be ignored if IsUseOldEdge is true. + :param theEdge: + :type theEdge: TopoDS_Edge & + :param theTolerance: + :type theTolerance: float + :param theNewTol: + :type theNewTol: float & + :param IsUseOldEdge: + :type IsUseOldEdge: bool + :rtype: TopoDS_Edge") SameParameter; + static TopoDS_Edge SameParameter (const TopoDS_Edge & theEdge,const Standard_Real theTolerance,Standard_Real &OutValue,const Standard_Boolean IsUseOldEdge); + + /****************** SameParameter ******************/ + %feature("compactdefaultargs") SameParameter; + %feature("autodoc", "* Computes new 2d curve(s) for all the edges of to have the same parameter as the 3d curve. The algorithm is not done if the flag SameParameter was True on an Edge. :param S: :type S: TopoDS_Shape & :param Tolerance: default value is 1.0e-5 :type Tolerance: float :param forced: default value is Standard_False :type forced: bool - :rtype: void -") SameParameter; + :rtype: void") SameParameter; static void SameParameter (const TopoDS_Shape & S,const Standard_Real Tolerance = 1.0e-5,const Standard_Boolean forced = Standard_False); - %feature("compactdefaultargs") UpdateTolerances; - %feature("autodoc", " * Replaces tolerance of FACE EDGE VERTEX by the tolerance Max of their connected handling shapes. It is not necessary to use this call after SameParameter. (called in) + /****************** SameParameter ******************/ + %feature("compactdefaultargs") SameParameter; + %feature("autodoc", "* Computes new 2d curve(s) for all the edges of to have the same parameter as the 3d curve. The algorithm is not done if the flag SameParameter was True on an Edge. theReshaper is used to record the modifications of input shape to prevent any modifications on the shape itself. Thus the input shape (and its subshapes) will not be modified, instead the reshaper will contain a modified empty-copies of original subshapes as substitutions. :param S: :type S: TopoDS_Shape & - :param verifyFaceTolerance: default value is Standard_False - :type verifyFaceTolerance: bool - :rtype: void -") UpdateTolerances; - static void UpdateTolerances (const TopoDS_Shape & S,const Standard_Boolean verifyFaceTolerance = Standard_False); - %feature("compactdefaultargs") OrientClosedSolid; - %feature("autodoc", " * Orients the solid forward and the shell with the orientation to have matter in the solid. Returns False if the solid is unOrientable (open or incoherent) + :param theReshaper: + :type theReshaper: BRepTools_ReShape & + :param Tolerance: default value is 1.0e-5 + :type Tolerance: float + :param forced: default value is Standard_False + :type forced: bool + :rtype: void") SameParameter; + static void SameParameter (const TopoDS_Shape & S,BRepTools_ReShape & theReshaper,const Standard_Real Tolerance = 1.0e-5,const Standard_Boolean forced = Standard_False); - :param solid: - :type solid: TopoDS_Solid & - :rtype: bool -") OrientClosedSolid; - static Standard_Boolean OrientClosedSolid (TopoDS_Solid & solid); - %feature("compactdefaultargs") EncodeRegularity; - %feature("autodoc", " * Encodes the Regularity of edges on a Shape. Warning: is an angular tolerance, expressed in Rad. Warning: If the edges's regularity are coded before, nothing is done. + /****************** SameRange ******************/ + %feature("compactdefaultargs") SameRange; + %feature("autodoc", "* will make all the curve representation have the same range domain for the parameters. This will IGNORE the same range flag value to proceed. If there is a 3D curve there it will the range of that curve. If not the first curve representation encountered in the list will give its range to the all the other curves. + :param E: + :type E: TopoDS_Edge & + :param Tolerance: default value is 1.0e-5 + :type Tolerance: float + :rtype: void") SameRange; + static void SameRange (const TopoDS_Edge & E,const Standard_Real Tolerance = 1.0e-5); + /****************** SortFaces ******************/ + %feature("compactdefaultargs") SortFaces; + %feature("autodoc", "* Sorts in LF the Faces of S on the complexity of their surfaces (Plane,Cylinder,Cone,Sphere,Torus,other) :param S: :type S: TopoDS_Shape & - :param TolAng: default value is 1.0e-10 - :type TolAng: float - :rtype: void -") EncodeRegularity; - static void EncodeRegularity (const TopoDS_Shape & S,const Standard_Real TolAng = 1.0e-10); - %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. + :param LF: + :type LF: TopTools_ListOfShape & + :rtype: void") SortFaces; + static void SortFaces (const TopoDS_Shape & S,TopTools_ListOfShape & LF); + /****************** UpdateEdgeTol ******************/ + %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 + :param E: + :type E: TopoDS_Edge & + :param MinToleranceRequest: + :type MinToleranceRequest: float + :param MaxToleranceToCheck: + :type MaxToleranceToCheck: float + :rtype: bool") UpdateEdgeTol; + static Standard_Boolean UpdateEdgeTol (const TopoDS_Edge & E,const Standard_Real MinToleranceRequest,const Standard_Real MaxToleranceToCheck); + + /****************** UpdateEdgeTolerance ******************/ + %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 :param S: - :type S: TopoDS_Edge & - :param F1: - :type F1: TopoDS_Face & - :param F2: - :type F2: TopoDS_Face & - :param TolAng: default value is 1.0e-10 - :type TolAng: float - :rtype: void -") EncodeRegularity; - static void EncodeRegularity (TopoDS_Edge & S,const TopoDS_Face & F1,const TopoDS_Face & F2,const Standard_Real TolAng = 1.0e-10); - %feature("compactdefaultargs") SortFaces; - %feature("autodoc", " * Sorts in LF the Faces of S on the complexity of their surfaces (Plane,Cylinder,Cone,Sphere,Torus,other) + :type S: TopoDS_Shape & + :param MinToleranceRequest: + :type MinToleranceRequest: float + :param MaxToleranceToCheck: + :type MaxToleranceToCheck: float + :rtype: bool") UpdateEdgeTolerance; + static Standard_Boolean UpdateEdgeTolerance (const TopoDS_Shape & S,const Standard_Real MinToleranceRequest,const Standard_Real MaxToleranceToCheck); + /****************** UpdateInnerTolerances ******************/ + %feature("compactdefaultargs") UpdateInnerTolerances; + %feature("autodoc", "* Checks tolerances of edges (including inner points) and vertices of a shape and updates them to satisfy 'SameParameter' condition :param S: :type S: TopoDS_Shape & - :param LF: - :type LF: TopTools_ListOfShape & - :rtype: void -") SortFaces; - static void SortFaces (const TopoDS_Shape & S,TopTools_ListOfShape & LF); - %feature("compactdefaultargs") ReverseSortFaces; - %feature("autodoc", " * Sorts in LF the Faces of S on the reverse complexity of their surfaces (other,Torus,Sphere,Cone,Cylinder,Plane) + :rtype: void") UpdateInnerTolerances; + static void UpdateInnerTolerances (const TopoDS_Shape & S); + /****************** UpdateTolerances ******************/ + %feature("compactdefaultargs") UpdateTolerances; + %feature("autodoc", "* Replaces tolerance of FACE EDGE VERTEX by the tolerance Max of their connected handling shapes. It is not necessary to use this call after SameParameter. (called in) :param S: :type S: TopoDS_Shape & - :param LF: - :type LF: TopTools_ListOfShape & - :rtype: void -") ReverseSortFaces; - static void ReverseSortFaces (const TopoDS_Shape & S,TopTools_ListOfShape & LF); - %feature("compactdefaultargs") EnsureNormalConsistency; - %feature("autodoc", " * Corrects the normals in Poly_Triangulation of faces, in such way that normals at nodes lying along smooth edges have the same value on both adjacent triangulations. Returns True if any correction is done. + :param verifyFaceTolerance: default value is Standard_False + :type verifyFaceTolerance: bool + :rtype: void") UpdateTolerances; + static void UpdateTolerances (const TopoDS_Shape & S,const Standard_Boolean verifyFaceTolerance = Standard_False); + /****************** UpdateTolerances ******************/ + %feature("compactdefaultargs") UpdateTolerances; + %feature("autodoc", "* Replaces tolerance of FACE EDGE VERTEX by the tolerance Max of their connected handling shapes. It is not necessary to use this call after SameParameter. (called in) theReshaper is used to record the modifications of input shape to prevent any modifications on the shape itself. Thus the input shape (and its subshapes) will not be modified, instead the reshaper will contain a modified empty-copies of original subshapes as substitutions. :param S: :type S: TopoDS_Shape & - :param theAngTol: default value is 0.001 - :type theAngTol: float - :param ForceComputeNormals: default value is Standard_False - :type ForceComputeNormals: bool - :rtype: bool -") EnsureNormalConsistency; - static Standard_Boolean EnsureNormalConsistency (const TopoDS_Shape & S,const Standard_Real theAngTol = 0.001,const Standard_Boolean ForceComputeNormals = Standard_False); + :param theReshaper: + :type theReshaper: BRepTools_ReShape & + :param verifyFaceTolerance: default value is Standard_False + :type verifyFaceTolerance: bool + :rtype: void") UpdateTolerances; + static void UpdateTolerances (const TopoDS_Shape & S,BRepTools_ReShape & theReshaper,const Standard_Boolean verifyFaceTolerance = Standard_False); + }; @@ -312,133 +501,105 @@ class BRepLib { __repr__ = _dumps_object } }; + +/************************************ +* class BRepLib_CheckCurveOnSurface * +************************************/ %nodefaultctor BRepLib_CheckCurveOnSurface; class BRepLib_CheckCurveOnSurface { public: + /****************** BRepLib_CheckCurveOnSurface ******************/ %feature("compactdefaultargs") BRepLib_CheckCurveOnSurface; - %feature("autodoc", " * Empty contructor - - :rtype: None -") BRepLib_CheckCurveOnSurface; + %feature("autodoc", "* Default contructor + :rtype: None") BRepLib_CheckCurveOnSurface; BRepLib_CheckCurveOnSurface (); - %feature("compactdefaultargs") BRepLib_CheckCurveOnSurface; - %feature("autodoc", " * Contructor + /****************** BRepLib_CheckCurveOnSurface ******************/ + %feature("compactdefaultargs") BRepLib_CheckCurveOnSurface; + %feature("autodoc", "* Contructor :param theEdge: :type theEdge: TopoDS_Edge & :param theFace: :type theFace: TopoDS_Face & - :rtype: None -") BRepLib_CheckCurveOnSurface; + :rtype: None") BRepLib_CheckCurveOnSurface; BRepLib_CheckCurveOnSurface (const TopoDS_Edge & theEdge,const TopoDS_Face & theFace); - %feature("compactdefaultargs") BRepLib_CheckCurveOnSurface; - %feature("autodoc", " * Contructor - :param theCurve: - :type theCurve: Handle_Geom_Curve & - :param thePCurve: - :type thePCurve: Handle_Geom2d_Curve & - :param theSurface: - :type theSurface: Handle_Geom_Surface & - :param theFirst: - :type theFirst: float - :param theLast: - :type theLast: float - :rtype: None -") BRepLib_CheckCurveOnSurface; - BRepLib_CheckCurveOnSurface (const Handle_Geom_Curve & theCurve,const Handle_Geom2d_Curve & thePCurve,const Handle_Geom_Surface & theSurface,const Standard_Real theFirst,const Standard_Real theLast); - %feature("compactdefaultargs") Init; - %feature("autodoc", " * Sets the data for the algorithm + /****************** Curve ******************/ + %feature("compactdefaultargs") Curve; + %feature("autodoc", "* Returns source 3D-Curve + :rtype: opencascade::handle") Curve; + const opencascade::handle & Curve (); + + /****************** ErrorStatus ******************/ + %feature("compactdefaultargs") ErrorStatus; + %feature("autodoc", "* Returns error status The possible values are: 0 - OK; 1 - null curve or surface or 2d curve; 2 - invalid parametric range; 3 - error in calculations. + :rtype: int") ErrorStatus; + Standard_Integer ErrorStatus (); + /****************** Init ******************/ + %feature("compactdefaultargs") Init; + %feature("autodoc", "* Sets the data for the algorithm :param theEdge: :type theEdge: TopoDS_Edge & :param theFace: :type theFace: TopoDS_Face & - :rtype: None -") Init; + :rtype: None") Init; void Init (const TopoDS_Edge & theEdge,const TopoDS_Face & theFace); - %feature("compactdefaultargs") Init; - %feature("autodoc", " * Sets the data for the algorithm - :param theCurve: - :type theCurve: Handle_Geom_Curve & - :param thePCurve: - :type thePCurve: Handle_Geom2d_Curve & - :param theSurface: - :type theSurface: Handle_Geom_Surface & - :param theFirst: - :type theFirst: float - :param theLast: - :type theLast: float - :rtype: None -") Init; - void Init (const Handle_Geom_Curve & theCurve,const Handle_Geom2d_Curve & thePCurve,const Handle_Geom_Surface & theSurface,const Standard_Real theFirst,const Standard_Real theLast); - %feature("compactdefaultargs") Curve; - %feature("autodoc", " * Returns my3DCurve + /****************** IsDone ******************/ + %feature("compactdefaultargs") IsDone; + %feature("autodoc", "* Returns true if the max distance has been found + :rtype: bool") IsDone; + Standard_Boolean IsDone (); + + /****************** MaxDistance ******************/ + %feature("compactdefaultargs") MaxDistance; + %feature("autodoc", "* Returns max distance + :rtype: float") MaxDistance; + Standard_Real MaxDistance (); - :rtype: Handle_Geom_Curve -") Curve; - Handle_Geom_Curve Curve (); + /****************** MaxParameter ******************/ + %feature("compactdefaultargs") MaxParameter; + %feature("autodoc", "* Returns parameter in which the distance is maximal + :rtype: float") MaxParameter; + Standard_Real MaxParameter (); + + /****************** PCurve ******************/ %feature("compactdefaultargs") PCurve; - %feature("autodoc", " * Returns my2DCurve + %feature("autodoc", "* Returns mine 2D-Curve + :rtype: opencascade::handle") PCurve; + const opencascade::handle & PCurve (); - :rtype: Handle_Geom2d_Curve -") PCurve; - Handle_Geom2d_Curve PCurve (); + /****************** PCurve2 ******************/ %feature("compactdefaultargs") PCurve2; - %feature("autodoc", " * Returns my2DCurve + %feature("autodoc", "* Returns 2nd 2D-Curve (if it exists, e.g. for seam-edge) + :rtype: opencascade::handle") PCurve2; + const opencascade::handle & PCurve2 (); - :rtype: Handle_Geom2d_Curve -") PCurve2; - Handle_Geom2d_Curve PCurve2 (); - %feature("compactdefaultargs") Surface; - %feature("autodoc", " * Returns mySurface + /****************** Perform ******************/ + %feature("compactdefaultargs") Perform; + %feature("autodoc", "* Performs the calculation If isTheMultyTheadDisabled == True then computation will be made without any parallelization. + :param isTheMultyTheradDisabled: default value is Standard_False + :type isTheMultyTheradDisabled: bool + :rtype: None") Perform; + void Perform (const Standard_Boolean isTheMultyTheradDisabled = Standard_False); - :rtype: Handle_Geom_Surface -") Surface; - Handle_Geom_Surface Surface (); + /****************** Range ******************/ %feature("compactdefaultargs") Range; - %feature("autodoc", " * Returns the range - + %feature("autodoc", "* Returns first and last parameter of the curves (2D- and 3D-curves are considered to have same range) :param theFirst: :type theFirst: float & :param theLast: :type theLast: float & - :rtype: None -") Range; + :rtype: None") Range; void Range (Standard_Real &OutValue,Standard_Real &OutValue); - %feature("compactdefaultargs") Perform; - %feature("autodoc", " * Performs the calculation If isTheMultyTheadDisabled == True then computation will be made without any parallelization. - :param isTheMultyTheradDisabled: default value is Standard_False - :type isTheMultyTheradDisabled: bool - :rtype: None -") Perform; - void Perform (const Standard_Boolean isTheMultyTheradDisabled = Standard_False); - %feature("compactdefaultargs") IsDone; - %feature("autodoc", " * Returns true if the max distance has been found - - :rtype: bool -") IsDone; - Standard_Boolean IsDone (); - %feature("compactdefaultargs") ErrorStatus; - %feature("autodoc", " * Returns error status The possible values are: 0 - OK; 1 - null curve or surface or 2d curve; 2 - invalid parametric range; 3 - error in calculations. - - :rtype: int -") ErrorStatus; - Standard_Integer ErrorStatus (); - %feature("compactdefaultargs") MaxDistance; - %feature("autodoc", " * Returns max distance - - :rtype: float -") MaxDistance; - Standard_Real MaxDistance (); - %feature("compactdefaultargs") MaxParameter; - %feature("autodoc", " * Returns parameter in which the distance is maximal + /****************** Surface ******************/ + %feature("compactdefaultargs") Surface; + %feature("autodoc", "* Returns source surface + :rtype: opencascade::handle") Surface; + const opencascade::handle & Surface (); - :rtype: float -") MaxParameter; - Standard_Real MaxParameter (); }; @@ -447,23 +608,24 @@ class BRepLib_CheckCurveOnSurface { __repr__ = _dumps_object } }; + +/************************ +* class BRepLib_Command * +************************/ %nodefaultctor BRepLib_Command; class BRepLib_Command { public: - %feature("compactdefaultargs") Delete; - %feature("autodoc", " :rtype: void -") Delete; - virtual void Delete (); + /****************** Check ******************/ + %feature("compactdefaultargs") Check; + %feature("autodoc", "* Raises NotDone if done is false. + :rtype: None") Check; + void Check (); + + /****************** IsDone ******************/ %feature("compactdefaultargs") IsDone; - %feature("autodoc", " :rtype: bool -") IsDone; + %feature("autodoc", ":rtype: bool") IsDone; Standard_Boolean IsDone (); - %feature("compactdefaultargs") Check; - %feature("autodoc", " * Raises NotDone if done is false. - :rtype: None -") Check; - void Check (); }; @@ -472,16 +634,21 @@ class BRepLib_Command { __repr__ = _dumps_object } }; + +/**************************** +* class BRepLib_FindSurface * +****************************/ %nodefaultctor BRepLib_FindSurface; class BRepLib_FindSurface { public: + /****************** BRepLib_FindSurface ******************/ %feature("compactdefaultargs") BRepLib_FindSurface; - %feature("autodoc", " :rtype: None -") BRepLib_FindSurface; + %feature("autodoc", ":rtype: None") BRepLib_FindSurface; BRepLib_FindSurface (); - %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. + /****************** BRepLib_FindSurface ******************/ + %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. :param S: :type S: TopoDS_Shape & :param Tol: default value is -1 @@ -490,12 +657,22 @@ class BRepLib_FindSurface { :type OnlyPlane: bool :param OnlyClosed: default value is Standard_False :type OnlyClosed: bool - :rtype: None -") BRepLib_FindSurface; + :rtype: None") BRepLib_FindSurface; BRepLib_FindSurface (const TopoDS_Shape & S,const Standard_Real Tol = -1,const Standard_Boolean OnlyPlane = Standard_False,const Standard_Boolean OnlyClosed = Standard_False); - %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. + /****************** Existed ******************/ + %feature("compactdefaultargs") Existed; + %feature("autodoc", ":rtype: bool") Existed; + Standard_Boolean Existed (); + + /****************** Found ******************/ + %feature("compactdefaultargs") Found; + %feature("autodoc", ":rtype: bool") Found; + Standard_Boolean Found (); + + /****************** Init ******************/ + %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. :param S: :type S: TopoDS_Shape & :param Tol: default value is -1 @@ -504,33 +681,29 @@ class BRepLib_FindSurface { :type OnlyPlane: bool :param OnlyClosed: default value is Standard_False :type OnlyClosed: bool - :rtype: None -") Init; + :rtype: None") Init; void Init (const TopoDS_Shape & S,const Standard_Real Tol = -1,const Standard_Boolean OnlyPlane = Standard_False,const Standard_Boolean OnlyClosed = Standard_False); - %feature("compactdefaultargs") Found; - %feature("autodoc", " :rtype: bool -") Found; - Standard_Boolean Found (); + + /****************** Location ******************/ + %feature("compactdefaultargs") Location; + %feature("autodoc", ":rtype: TopLoc_Location") Location; + TopLoc_Location Location (); + + /****************** Surface ******************/ %feature("compactdefaultargs") Surface; - %feature("autodoc", " :rtype: Handle_Geom_Surface -") Surface; - Handle_Geom_Surface Surface (); + %feature("autodoc", ":rtype: opencascade::handle") Surface; + opencascade::handle Surface (); + + /****************** Tolerance ******************/ %feature("compactdefaultargs") Tolerance; - %feature("autodoc", " :rtype: float -") Tolerance; + %feature("autodoc", ":rtype: float") Tolerance; Standard_Real Tolerance (); + + /****************** ToleranceReached ******************/ %feature("compactdefaultargs") ToleranceReached; - %feature("autodoc", " :rtype: float -") ToleranceReached; + %feature("autodoc", ":rtype: float") ToleranceReached; Standard_Real ToleranceReached (); - %feature("compactdefaultargs") Existed; - %feature("autodoc", " :rtype: bool -") Existed; - Standard_Boolean Existed (); - %feature("compactdefaultargs") Location; - %feature("autodoc", " :rtype: TopLoc_Location -") Location; - TopLoc_Location Location (); + }; @@ -539,77 +712,81 @@ class BRepLib_FindSurface { __repr__ = _dumps_object } }; + +/************************** +* class BRepLib_FuseEdges * +**************************/ %nodefaultctor BRepLib_FuseEdges; class BRepLib_FuseEdges { public: - %feature("compactdefaultargs") BRepLib_FuseEdges; - %feature("autodoc", " * Initialise members and build construction of map of ancestors. + /****************** AvoidEdges ******************/ + %feature("compactdefaultargs") AvoidEdges; + %feature("autodoc", "* set edges to avoid being fused + :param theMapEdg: + :type theMapEdg: TopTools_IndexedMapOfShape & + :rtype: None") AvoidEdges; + void AvoidEdges (const TopTools_IndexedMapOfShape & theMapEdg); + /****************** BRepLib_FuseEdges ******************/ + %feature("compactdefaultargs") BRepLib_FuseEdges; + %feature("autodoc", "* Initialise members and build construction of map of ancestors. :param theShape: :type theShape: TopoDS_Shape & :param PerformNow: default value is Standard_False :type PerformNow: bool - :rtype: None -") BRepLib_FuseEdges; + :rtype: None") BRepLib_FuseEdges; BRepLib_FuseEdges (const TopoDS_Shape & theShape,const Standard_Boolean PerformNow = Standard_False); - %feature("compactdefaultargs") AvoidEdges; - %feature("autodoc", " * set edges to avoid being fused - - :param theMapEdg: - :type theMapEdg: TopTools_IndexedMapOfShape & - :rtype: None -") AvoidEdges; - void AvoidEdges (const TopTools_IndexedMapOfShape & theMapEdg); - %feature("compactdefaultargs") SetConcatBSpl; - %feature("autodoc", " * set mode to enable concatenation G1 BSpline edges in one End Modified by IFV 19.04.07 - :param theConcatBSpl: default value is Standard_True - :type theConcatBSpl: bool - :rtype: None -") SetConcatBSpl; - void SetConcatBSpl (const Standard_Boolean theConcatBSpl = Standard_True); + /****************** Edges ******************/ %feature("compactdefaultargs") Edges; - %feature("autodoc", " * returns all the list of edges to be fused each list of the map represent a set of connex edges that can be fused. - + %feature("autodoc", "* returns all the list of edges to be fused each list of the map represent a set of connex edges that can be fused. :param theMapLstEdg: :type theMapLstEdg: TopTools_DataMapOfIntegerListOfShape & - :rtype: None -") Edges; + :rtype: None") Edges; void Edges (TopTools_DataMapOfIntegerListOfShape & theMapLstEdg); - %feature("compactdefaultargs") ResultEdges; - %feature("autodoc", " * returns all the fused edges. each integer entry in the map corresponds to the integer in the DataMapOfIntegerListOfShape we get in method Edges. That is to say, to the list of edges in theMapLstEdg(i) corresponds the resulting edge theMapEdge(i) - :param theMapEdg: - :type theMapEdg: TopTools_DataMapOfIntegerShape & - :rtype: None -") ResultEdges; - void ResultEdges (TopTools_DataMapOfIntegerShape & theMapEdg); + /****************** Faces ******************/ %feature("compactdefaultargs") Faces; - %feature("autodoc", " * returns the map of modified faces. - + %feature("autodoc", "* returns the map of modified faces. :param theMapFac: :type theMapFac: TopTools_DataMapOfShapeShape & - :rtype: None -") Faces; + :rtype: None") Faces; void Faces (TopTools_DataMapOfShapeShape & theMapFac); - %feature("compactdefaultargs") Shape; - %feature("autodoc", " * returns myShape modified with the list of internal edges removed from it. - :rtype: TopoDS_Shape -") Shape; - TopoDS_Shape Shape (); + /****************** NbVertices ******************/ %feature("compactdefaultargs") NbVertices; - %feature("autodoc", " * returns the number of vertices candidate to be removed - - :rtype: int -") NbVertices; + %feature("autodoc", "* returns the number of vertices candidate to be removed + :rtype: int") NbVertices; Standard_Integer NbVertices (); - %feature("compactdefaultargs") Perform; - %feature("autodoc", " * Using map of list of connex edges, fuse each list to one edge and then update myShape - :rtype: None -") Perform; + /****************** Perform ******************/ + %feature("compactdefaultargs") Perform; + %feature("autodoc", "* Using map of list of connex edges, fuse each list to one edge and then update myShape + :rtype: None") Perform; void Perform (); + + /****************** ResultEdges ******************/ + %feature("compactdefaultargs") ResultEdges; + %feature("autodoc", "* returns all the fused edges. each integer entry in the map corresponds to the integer in the DataMapOfIntegerListOfShape we get in method Edges. That is to say, to the list of edges in theMapLstEdg(i) corresponds the resulting edge theMapEdge(i) + :param theMapEdg: + :type theMapEdg: TopTools_DataMapOfIntegerShape & + :rtype: None") ResultEdges; + void ResultEdges (TopTools_DataMapOfIntegerShape & theMapEdg); + + /****************** SetConcatBSpl ******************/ + %feature("compactdefaultargs") SetConcatBSpl; + %feature("autodoc", "* set mode to enable concatenation G1 BSpline edges in one End Modified by IFV 19.04.07 + :param theConcatBSpl: default value is Standard_True + :type theConcatBSpl: bool + :rtype: None") SetConcatBSpl; + void SetConcatBSpl (const Standard_Boolean theConcatBSpl = Standard_True); + + /****************** Shape ******************/ + %feature("compactdefaultargs") Shape; + %feature("autodoc", "* returns myShape modified with the list of internal edges removed from it. + :rtype: TopoDS_Shape") Shape; + TopoDS_Shape Shape (); + }; @@ -618,69 +795,75 @@ class BRepLib_FuseEdges { __repr__ = _dumps_object } }; + +/************************** +* class BRepLib_MakeShape * +**************************/ %nodefaultctor BRepLib_MakeShape; class BRepLib_MakeShape : public BRepLib_Command { public: + /****************** Build ******************/ %feature("compactdefaultargs") Build; - %feature("autodoc", " * This is called by Shape(). It does nothing but may be redefined. - - :rtype: None -") Build; + %feature("autodoc", "* This is called by Shape(). It does nothing but may be redefined. + :rtype: None") Build; void Build (); - %feature("compactdefaultargs") Shape; - %feature("autodoc", " :rtype: TopoDS_Shape -") Shape; - const TopoDS_Shape Shape (); - %feature("compactdefaultargs") operator TopoDS_Shape; - %feature("autodoc", " :rtype: -") operator TopoDS_Shape; - operator TopoDS_Shape (); - %feature("compactdefaultargs") FaceStatus; - %feature("autodoc", " * returns the status of the Face after the shape creation. + /****************** DescendantFaces ******************/ + %feature("compactdefaultargs") DescendantFaces; + %feature("autodoc", "* returns the list of generated Faces. :param F: :type F: TopoDS_Face & - :rtype: BRepLib_ShapeModification -") FaceStatus; - virtual BRepLib_ShapeModification FaceStatus (const TopoDS_Face & F); - %feature("compactdefaultargs") HasDescendants; - %feature("autodoc", " * Returns True if the Face generates new topology. + :rtype: TopTools_ListOfShape") DescendantFaces; + virtual const TopTools_ListOfShape & DescendantFaces (const TopoDS_Face & F); + /****************** FaceStatus ******************/ + %feature("compactdefaultargs") FaceStatus; + %feature("autodoc", "* returns the status of the Face after the shape creation. :param F: :type F: TopoDS_Face & - :rtype: bool -") HasDescendants; - virtual Standard_Boolean HasDescendants (const TopoDS_Face & F); - %feature("compactdefaultargs") DescendantFaces; - %feature("autodoc", " * returns the list of generated Faces. + :rtype: BRepLib_ShapeModification") FaceStatus; + virtual BRepLib_ShapeModification FaceStatus (const TopoDS_Face & F); + + /****************** FacesFromEdges ******************/ + %feature("compactdefaultargs") FacesFromEdges; + %feature("autodoc", "* returns a list of the created faces from the edge . + :param E: + :type E: TopoDS_Edge & + :rtype: TopTools_ListOfShape") FacesFromEdges; + virtual const TopTools_ListOfShape & FacesFromEdges (const TopoDS_Edge & E); + /****************** HasDescendants ******************/ + %feature("compactdefaultargs") HasDescendants; + %feature("autodoc", "* Returns True if the Face generates new topology. :param F: :type F: TopoDS_Face & - :rtype: TopTools_ListOfShape -") DescendantFaces; - virtual const TopTools_ListOfShape & DescendantFaces (const TopoDS_Face & F); - %feature("compactdefaultargs") NbSurfaces; - %feature("autodoc", " * returns the number of surfaces after the shape creation. + :rtype: bool") HasDescendants; + virtual Standard_Boolean HasDescendants (const TopoDS_Face & F); - :rtype: int -") NbSurfaces; + /****************** NbSurfaces ******************/ + %feature("compactdefaultargs") NbSurfaces; + %feature("autodoc", "* returns the number of surfaces after the shape creation. + :rtype: int") NbSurfaces; virtual Standard_Integer NbSurfaces (); - %feature("compactdefaultargs") NewFaces; - %feature("autodoc", " * Return the faces created for surface I. + /****************** NewFaces ******************/ + %feature("compactdefaultargs") NewFaces; + %feature("autodoc", "* Return the faces created for surface I. :param I: :type I: int - :rtype: TopTools_ListOfShape -") NewFaces; + :rtype: TopTools_ListOfShape") NewFaces; virtual const TopTools_ListOfShape & NewFaces (const Standard_Integer I); - %feature("compactdefaultargs") FacesFromEdges; - %feature("autodoc", " * returns a list of the created faces from the edge . - :param E: - :type E: TopoDS_Edge & - :rtype: TopTools_ListOfShape -") FacesFromEdges; - virtual const TopTools_ListOfShape & FacesFromEdges (const TopoDS_Edge & E); + /****************** Shape ******************/ + %feature("compactdefaultargs") Shape; + %feature("autodoc", ":rtype: TopoDS_Shape") Shape; + const TopoDS_Shape Shape (); + + /****************** operator TopoDS_Shape ******************/ + %feature("compactdefaultargs") operator TopoDS_Shape; + %feature("autodoc", ":rtype:") operator TopoDS_Shape; + operator TopoDS_Shape (); + }; @@ -689,248 +872,280 @@ class BRepLib_MakeShape : public BRepLib_Command { __repr__ = _dumps_object } }; + +/************************* +* class BRepLib_MakeEdge * +*************************/ %nodefaultctor BRepLib_MakeEdge; class BRepLib_MakeEdge : public BRepLib_MakeShape { public: + /****************** BRepLib_MakeEdge ******************/ %feature("compactdefaultargs") BRepLib_MakeEdge; - %feature("autodoc", " :rtype: None -") BRepLib_MakeEdge; + %feature("autodoc", ":rtype: None") BRepLib_MakeEdge; BRepLib_MakeEdge (); + + /****************** BRepLib_MakeEdge ******************/ %feature("compactdefaultargs") BRepLib_MakeEdge; - %feature("autodoc", " :param V1: + %feature("autodoc", ":param V1: :type V1: TopoDS_Vertex & :param V2: :type V2: TopoDS_Vertex & - :rtype: None -") BRepLib_MakeEdge; + :rtype: None") BRepLib_MakeEdge; BRepLib_MakeEdge (const TopoDS_Vertex & V1,const TopoDS_Vertex & V2); + + /****************** BRepLib_MakeEdge ******************/ %feature("compactdefaultargs") BRepLib_MakeEdge; - %feature("autodoc", " :param P1: + %feature("autodoc", ":param P1: :type P1: gp_Pnt :param P2: :type P2: gp_Pnt - :rtype: None -") BRepLib_MakeEdge; + :rtype: None") BRepLib_MakeEdge; BRepLib_MakeEdge (const gp_Pnt & P1,const gp_Pnt & P2); + + /****************** BRepLib_MakeEdge ******************/ %feature("compactdefaultargs") BRepLib_MakeEdge; - %feature("autodoc", " :param L: + %feature("autodoc", ":param L: :type L: gp_Lin - :rtype: None -") BRepLib_MakeEdge; + :rtype: None") BRepLib_MakeEdge; BRepLib_MakeEdge (const gp_Lin & L); + + /****************** BRepLib_MakeEdge ******************/ %feature("compactdefaultargs") BRepLib_MakeEdge; - %feature("autodoc", " :param L: + %feature("autodoc", ":param L: :type L: gp_Lin :param p1: :type p1: float :param p2: :type p2: float - :rtype: None -") BRepLib_MakeEdge; + :rtype: None") BRepLib_MakeEdge; BRepLib_MakeEdge (const gp_Lin & L,const Standard_Real p1,const Standard_Real p2); + + /****************** BRepLib_MakeEdge ******************/ %feature("compactdefaultargs") BRepLib_MakeEdge; - %feature("autodoc", " :param L: + %feature("autodoc", ":param L: :type L: gp_Lin :param P1: :type P1: gp_Pnt :param P2: :type P2: gp_Pnt - :rtype: None -") BRepLib_MakeEdge; + :rtype: None") BRepLib_MakeEdge; BRepLib_MakeEdge (const gp_Lin & L,const gp_Pnt & P1,const gp_Pnt & P2); + + /****************** BRepLib_MakeEdge ******************/ %feature("compactdefaultargs") BRepLib_MakeEdge; - %feature("autodoc", " :param L: + %feature("autodoc", ":param L: :type L: gp_Lin :param V1: :type V1: TopoDS_Vertex & :param V2: :type V2: TopoDS_Vertex & - :rtype: None -") BRepLib_MakeEdge; + :rtype: None") BRepLib_MakeEdge; BRepLib_MakeEdge (const gp_Lin & L,const TopoDS_Vertex & V1,const TopoDS_Vertex & V2); + + /****************** BRepLib_MakeEdge ******************/ %feature("compactdefaultargs") BRepLib_MakeEdge; - %feature("autodoc", " :param L: + %feature("autodoc", ":param L: :type L: gp_Circ - :rtype: None -") BRepLib_MakeEdge; + :rtype: None") BRepLib_MakeEdge; BRepLib_MakeEdge (const gp_Circ & L); + + /****************** BRepLib_MakeEdge ******************/ %feature("compactdefaultargs") BRepLib_MakeEdge; - %feature("autodoc", " :param L: + %feature("autodoc", ":param L: :type L: gp_Circ :param p1: :type p1: float :param p2: :type p2: float - :rtype: None -") BRepLib_MakeEdge; + :rtype: None") BRepLib_MakeEdge; BRepLib_MakeEdge (const gp_Circ & L,const Standard_Real p1,const Standard_Real p2); + + /****************** BRepLib_MakeEdge ******************/ %feature("compactdefaultargs") BRepLib_MakeEdge; - %feature("autodoc", " :param L: + %feature("autodoc", ":param L: :type L: gp_Circ :param P1: :type P1: gp_Pnt :param P2: :type P2: gp_Pnt - :rtype: None -") BRepLib_MakeEdge; + :rtype: None") BRepLib_MakeEdge; BRepLib_MakeEdge (const gp_Circ & L,const gp_Pnt & P1,const gp_Pnt & P2); + + /****************** BRepLib_MakeEdge ******************/ %feature("compactdefaultargs") BRepLib_MakeEdge; - %feature("autodoc", " :param L: + %feature("autodoc", ":param L: :type L: gp_Circ :param V1: :type V1: TopoDS_Vertex & :param V2: :type V2: TopoDS_Vertex & - :rtype: None -") BRepLib_MakeEdge; + :rtype: None") BRepLib_MakeEdge; BRepLib_MakeEdge (const gp_Circ & L,const TopoDS_Vertex & V1,const TopoDS_Vertex & V2); + + /****************** BRepLib_MakeEdge ******************/ %feature("compactdefaultargs") BRepLib_MakeEdge; - %feature("autodoc", " :param L: + %feature("autodoc", ":param L: :type L: gp_Elips - :rtype: None -") BRepLib_MakeEdge; + :rtype: None") BRepLib_MakeEdge; BRepLib_MakeEdge (const gp_Elips & L); + + /****************** BRepLib_MakeEdge ******************/ %feature("compactdefaultargs") BRepLib_MakeEdge; - %feature("autodoc", " :param L: + %feature("autodoc", ":param L: :type L: gp_Elips :param p1: :type p1: float :param p2: :type p2: float - :rtype: None -") BRepLib_MakeEdge; + :rtype: None") BRepLib_MakeEdge; BRepLib_MakeEdge (const gp_Elips & L,const Standard_Real p1,const Standard_Real p2); + + /****************** BRepLib_MakeEdge ******************/ %feature("compactdefaultargs") BRepLib_MakeEdge; - %feature("autodoc", " :param L: + %feature("autodoc", ":param L: :type L: gp_Elips :param P1: :type P1: gp_Pnt :param P2: :type P2: gp_Pnt - :rtype: None -") BRepLib_MakeEdge; + :rtype: None") BRepLib_MakeEdge; BRepLib_MakeEdge (const gp_Elips & L,const gp_Pnt & P1,const gp_Pnt & P2); + + /****************** BRepLib_MakeEdge ******************/ %feature("compactdefaultargs") BRepLib_MakeEdge; - %feature("autodoc", " :param L: + %feature("autodoc", ":param L: :type L: gp_Elips :param V1: :type V1: TopoDS_Vertex & :param V2: :type V2: TopoDS_Vertex & - :rtype: None -") BRepLib_MakeEdge; + :rtype: None") BRepLib_MakeEdge; BRepLib_MakeEdge (const gp_Elips & L,const TopoDS_Vertex & V1,const TopoDS_Vertex & V2); + + /****************** BRepLib_MakeEdge ******************/ %feature("compactdefaultargs") BRepLib_MakeEdge; - %feature("autodoc", " :param L: + %feature("autodoc", ":param L: :type L: gp_Hypr - :rtype: None -") BRepLib_MakeEdge; + :rtype: None") BRepLib_MakeEdge; BRepLib_MakeEdge (const gp_Hypr & L); + + /****************** BRepLib_MakeEdge ******************/ %feature("compactdefaultargs") BRepLib_MakeEdge; - %feature("autodoc", " :param L: + %feature("autodoc", ":param L: :type L: gp_Hypr :param p1: :type p1: float :param p2: :type p2: float - :rtype: None -") BRepLib_MakeEdge; + :rtype: None") BRepLib_MakeEdge; BRepLib_MakeEdge (const gp_Hypr & L,const Standard_Real p1,const Standard_Real p2); + + /****************** BRepLib_MakeEdge ******************/ %feature("compactdefaultargs") BRepLib_MakeEdge; - %feature("autodoc", " :param L: + %feature("autodoc", ":param L: :type L: gp_Hypr :param P1: :type P1: gp_Pnt :param P2: :type P2: gp_Pnt - :rtype: None -") BRepLib_MakeEdge; + :rtype: None") BRepLib_MakeEdge; BRepLib_MakeEdge (const gp_Hypr & L,const gp_Pnt & P1,const gp_Pnt & P2); + + /****************** BRepLib_MakeEdge ******************/ %feature("compactdefaultargs") BRepLib_MakeEdge; - %feature("autodoc", " :param L: + %feature("autodoc", ":param L: :type L: gp_Hypr :param V1: :type V1: TopoDS_Vertex & :param V2: :type V2: TopoDS_Vertex & - :rtype: None -") BRepLib_MakeEdge; + :rtype: None") BRepLib_MakeEdge; BRepLib_MakeEdge (const gp_Hypr & L,const TopoDS_Vertex & V1,const TopoDS_Vertex & V2); + + /****************** BRepLib_MakeEdge ******************/ %feature("compactdefaultargs") BRepLib_MakeEdge; - %feature("autodoc", " :param L: + %feature("autodoc", ":param L: :type L: gp_Parab - :rtype: None -") BRepLib_MakeEdge; + :rtype: None") BRepLib_MakeEdge; BRepLib_MakeEdge (const gp_Parab & L); + + /****************** BRepLib_MakeEdge ******************/ %feature("compactdefaultargs") BRepLib_MakeEdge; - %feature("autodoc", " :param L: + %feature("autodoc", ":param L: :type L: gp_Parab :param p1: :type p1: float :param p2: :type p2: float - :rtype: None -") BRepLib_MakeEdge; + :rtype: None") BRepLib_MakeEdge; BRepLib_MakeEdge (const gp_Parab & L,const Standard_Real p1,const Standard_Real p2); + + /****************** BRepLib_MakeEdge ******************/ %feature("compactdefaultargs") BRepLib_MakeEdge; - %feature("autodoc", " :param L: + %feature("autodoc", ":param L: :type L: gp_Parab :param P1: :type P1: gp_Pnt :param P2: :type P2: gp_Pnt - :rtype: None -") BRepLib_MakeEdge; + :rtype: None") BRepLib_MakeEdge; BRepLib_MakeEdge (const gp_Parab & L,const gp_Pnt & P1,const gp_Pnt & P2); + + /****************** BRepLib_MakeEdge ******************/ %feature("compactdefaultargs") BRepLib_MakeEdge; - %feature("autodoc", " :param L: + %feature("autodoc", ":param L: :type L: gp_Parab :param V1: :type V1: TopoDS_Vertex & :param V2: :type V2: TopoDS_Vertex & - :rtype: None -") BRepLib_MakeEdge; + :rtype: None") BRepLib_MakeEdge; BRepLib_MakeEdge (const gp_Parab & L,const TopoDS_Vertex & V1,const TopoDS_Vertex & V2); + + /****************** BRepLib_MakeEdge ******************/ %feature("compactdefaultargs") BRepLib_MakeEdge; - %feature("autodoc", " :param L: - :type L: Handle_Geom_Curve & - :rtype: None -") BRepLib_MakeEdge; - BRepLib_MakeEdge (const Handle_Geom_Curve & L); + %feature("autodoc", ":param L: + :type L: opencascade::handle & + :rtype: None") BRepLib_MakeEdge; + BRepLib_MakeEdge (const opencascade::handle & L); + + /****************** BRepLib_MakeEdge ******************/ %feature("compactdefaultargs") BRepLib_MakeEdge; - %feature("autodoc", " :param L: - :type L: Handle_Geom_Curve & + %feature("autodoc", ":param L: + :type L: opencascade::handle & :param p1: :type p1: float :param p2: :type p2: float - :rtype: None -") BRepLib_MakeEdge; - BRepLib_MakeEdge (const Handle_Geom_Curve & L,const Standard_Real p1,const Standard_Real p2); + :rtype: None") BRepLib_MakeEdge; + BRepLib_MakeEdge (const opencascade::handle & L,const Standard_Real p1,const Standard_Real p2); + + /****************** BRepLib_MakeEdge ******************/ %feature("compactdefaultargs") BRepLib_MakeEdge; - %feature("autodoc", " :param L: - :type L: Handle_Geom_Curve & + %feature("autodoc", ":param L: + :type L: opencascade::handle & :param P1: :type P1: gp_Pnt :param P2: :type P2: gp_Pnt - :rtype: None -") BRepLib_MakeEdge; - BRepLib_MakeEdge (const Handle_Geom_Curve & L,const gp_Pnt & P1,const gp_Pnt & P2); + :rtype: None") BRepLib_MakeEdge; + BRepLib_MakeEdge (const opencascade::handle & L,const gp_Pnt & P1,const gp_Pnt & P2); + + /****************** BRepLib_MakeEdge ******************/ %feature("compactdefaultargs") BRepLib_MakeEdge; - %feature("autodoc", " :param L: - :type L: Handle_Geom_Curve & + %feature("autodoc", ":param L: + :type L: opencascade::handle & :param V1: :type V1: TopoDS_Vertex & :param V2: :type V2: TopoDS_Vertex & - :rtype: None -") BRepLib_MakeEdge; - BRepLib_MakeEdge (const Handle_Geom_Curve & L,const TopoDS_Vertex & V1,const TopoDS_Vertex & V2); + :rtype: None") BRepLib_MakeEdge; + BRepLib_MakeEdge (const opencascade::handle & L,const TopoDS_Vertex & V1,const TopoDS_Vertex & V2); + + /****************** BRepLib_MakeEdge ******************/ %feature("compactdefaultargs") BRepLib_MakeEdge; - %feature("autodoc", " :param L: - :type L: Handle_Geom_Curve & + %feature("autodoc", ":param L: + :type L: opencascade::handle & :param P1: :type P1: gp_Pnt :param P2: @@ -939,12 +1154,13 @@ class BRepLib_MakeEdge : public BRepLib_MakeShape { :type p1: float :param p2: :type p2: float - :rtype: None -") BRepLib_MakeEdge; - BRepLib_MakeEdge (const Handle_Geom_Curve & L,const gp_Pnt & P1,const gp_Pnt & P2,const Standard_Real p1,const Standard_Real p2); + :rtype: None") BRepLib_MakeEdge; + BRepLib_MakeEdge (const opencascade::handle & L,const gp_Pnt & P1,const gp_Pnt & P2,const Standard_Real p1,const Standard_Real p2); + + /****************** BRepLib_MakeEdge ******************/ %feature("compactdefaultargs") BRepLib_MakeEdge; - %feature("autodoc", " :param L: - :type L: Handle_Geom_Curve & + %feature("autodoc", ":param L: + :type L: opencascade::handle & :param V1: :type V1: TopoDS_Vertex & :param V2: @@ -953,58 +1169,63 @@ class BRepLib_MakeEdge : public BRepLib_MakeShape { :type p1: float :param p2: :type p2: float - :rtype: None -") BRepLib_MakeEdge; - BRepLib_MakeEdge (const Handle_Geom_Curve & L,const TopoDS_Vertex & V1,const TopoDS_Vertex & V2,const Standard_Real p1,const Standard_Real p2); + :rtype: None") BRepLib_MakeEdge; + BRepLib_MakeEdge (const opencascade::handle & L,const TopoDS_Vertex & V1,const TopoDS_Vertex & V2,const Standard_Real p1,const Standard_Real p2); + + /****************** BRepLib_MakeEdge ******************/ %feature("compactdefaultargs") BRepLib_MakeEdge; - %feature("autodoc", " :param L: - :type L: Handle_Geom2d_Curve & + %feature("autodoc", ":param L: + :type L: opencascade::handle & :param S: - :type S: Handle_Geom_Surface & - :rtype: None -") BRepLib_MakeEdge; - BRepLib_MakeEdge (const Handle_Geom2d_Curve & L,const Handle_Geom_Surface & S); + :type S: opencascade::handle & + :rtype: None") BRepLib_MakeEdge; + BRepLib_MakeEdge (const opencascade::handle & L,const opencascade::handle & S); + + /****************** BRepLib_MakeEdge ******************/ %feature("compactdefaultargs") BRepLib_MakeEdge; - %feature("autodoc", " :param L: - :type L: Handle_Geom2d_Curve & + %feature("autodoc", ":param L: + :type L: opencascade::handle & :param S: - :type S: Handle_Geom_Surface & + :type S: opencascade::handle & :param p1: :type p1: float :param p2: :type p2: float - :rtype: None -") BRepLib_MakeEdge; - BRepLib_MakeEdge (const Handle_Geom2d_Curve & L,const Handle_Geom_Surface & S,const Standard_Real p1,const Standard_Real p2); + :rtype: None") BRepLib_MakeEdge; + BRepLib_MakeEdge (const opencascade::handle & L,const opencascade::handle & S,const Standard_Real p1,const Standard_Real p2); + + /****************** BRepLib_MakeEdge ******************/ %feature("compactdefaultargs") BRepLib_MakeEdge; - %feature("autodoc", " :param L: - :type L: Handle_Geom2d_Curve & + %feature("autodoc", ":param L: + :type L: opencascade::handle & :param S: - :type S: Handle_Geom_Surface & + :type S: opencascade::handle & :param P1: :type P1: gp_Pnt :param P2: :type P2: gp_Pnt - :rtype: None -") BRepLib_MakeEdge; - BRepLib_MakeEdge (const Handle_Geom2d_Curve & L,const Handle_Geom_Surface & S,const gp_Pnt & P1,const gp_Pnt & P2); + :rtype: None") BRepLib_MakeEdge; + BRepLib_MakeEdge (const opencascade::handle & L,const opencascade::handle & S,const gp_Pnt & P1,const gp_Pnt & P2); + + /****************** BRepLib_MakeEdge ******************/ %feature("compactdefaultargs") BRepLib_MakeEdge; - %feature("autodoc", " :param L: - :type L: Handle_Geom2d_Curve & + %feature("autodoc", ":param L: + :type L: opencascade::handle & :param S: - :type S: Handle_Geom_Surface & + :type S: opencascade::handle & :param V1: :type V1: TopoDS_Vertex & :param V2: :type V2: TopoDS_Vertex & - :rtype: None -") BRepLib_MakeEdge; - BRepLib_MakeEdge (const Handle_Geom2d_Curve & L,const Handle_Geom_Surface & S,const TopoDS_Vertex & V1,const TopoDS_Vertex & V2); + :rtype: None") BRepLib_MakeEdge; + BRepLib_MakeEdge (const opencascade::handle & L,const opencascade::handle & S,const TopoDS_Vertex & V1,const TopoDS_Vertex & V2); + + /****************** BRepLib_MakeEdge ******************/ %feature("compactdefaultargs") BRepLib_MakeEdge; - %feature("autodoc", " :param L: - :type L: Handle_Geom2d_Curve & + %feature("autodoc", ":param L: + :type L: opencascade::handle & :param S: - :type S: Handle_Geom_Surface & + :type S: opencascade::handle & :param P1: :type P1: gp_Pnt :param P2: @@ -1013,14 +1234,15 @@ class BRepLib_MakeEdge : public BRepLib_MakeShape { :type p1: float :param p2: :type p2: float - :rtype: None -") BRepLib_MakeEdge; - BRepLib_MakeEdge (const Handle_Geom2d_Curve & L,const Handle_Geom_Surface & S,const gp_Pnt & P1,const gp_Pnt & P2,const Standard_Real p1,const Standard_Real p2); + :rtype: None") BRepLib_MakeEdge; + BRepLib_MakeEdge (const opencascade::handle & L,const opencascade::handle & S,const gp_Pnt & P1,const gp_Pnt & P2,const Standard_Real p1,const Standard_Real p2); + + /****************** BRepLib_MakeEdge ******************/ %feature("compactdefaultargs") BRepLib_MakeEdge; - %feature("autodoc", " :param L: - :type L: Handle_Geom2d_Curve & + %feature("autodoc", ":param L: + :type L: opencascade::handle & :param S: - :type S: Handle_Geom_Surface & + :type S: opencascade::handle & :param V1: :type V1: TopoDS_Vertex & :param V2: @@ -1029,48 +1251,64 @@ class BRepLib_MakeEdge : public BRepLib_MakeShape { :type p1: float :param p2: :type p2: float - :rtype: None -") BRepLib_MakeEdge; - BRepLib_MakeEdge (const Handle_Geom2d_Curve & L,const Handle_Geom_Surface & S,const TopoDS_Vertex & V1,const TopoDS_Vertex & V2,const Standard_Real p1,const Standard_Real p2); + :rtype: None") BRepLib_MakeEdge; + BRepLib_MakeEdge (const opencascade::handle & L,const opencascade::handle & S,const TopoDS_Vertex & V1,const TopoDS_Vertex & V2,const Standard_Real p1,const Standard_Real p2); + + /****************** Edge ******************/ + %feature("compactdefaultargs") Edge; + %feature("autodoc", ":rtype: TopoDS_Edge") Edge; + const TopoDS_Edge Edge (); + + /****************** Error ******************/ + %feature("compactdefaultargs") Error; + %feature("autodoc", "* Returns the error description when NotDone. + :rtype: BRepLib_EdgeError") Error; + BRepLib_EdgeError Error (); + + /****************** Init ******************/ %feature("compactdefaultargs") Init; - %feature("autodoc", " :param C: - :type C: Handle_Geom_Curve & - :rtype: None -") Init; - void Init (const Handle_Geom_Curve & C); + %feature("autodoc", ":param C: + :type C: opencascade::handle & + :rtype: None") Init; + void Init (const opencascade::handle & C); + + /****************** Init ******************/ %feature("compactdefaultargs") Init; - %feature("autodoc", " :param C: - :type C: Handle_Geom_Curve & + %feature("autodoc", ":param C: + :type C: opencascade::handle & :param p1: :type p1: float :param p2: :type p2: float - :rtype: None -") Init; - void Init (const Handle_Geom_Curve & C,const Standard_Real p1,const Standard_Real p2); + :rtype: None") Init; + void Init (const opencascade::handle & C,const Standard_Real p1,const Standard_Real p2); + + /****************** Init ******************/ %feature("compactdefaultargs") Init; - %feature("autodoc", " :param C: - :type C: Handle_Geom_Curve & + %feature("autodoc", ":param C: + :type C: opencascade::handle & :param P1: :type P1: gp_Pnt :param P2: :type P2: gp_Pnt - :rtype: None -") Init; - void Init (const Handle_Geom_Curve & C,const gp_Pnt & P1,const gp_Pnt & P2); + :rtype: None") Init; + void Init (const opencascade::handle & C,const gp_Pnt & P1,const gp_Pnt & P2); + + /****************** Init ******************/ %feature("compactdefaultargs") Init; - %feature("autodoc", " :param C: - :type C: Handle_Geom_Curve & + %feature("autodoc", ":param C: + :type C: opencascade::handle & :param V1: :type V1: TopoDS_Vertex & :param V2: :type V2: TopoDS_Vertex & - :rtype: None -") Init; - void Init (const Handle_Geom_Curve & C,const TopoDS_Vertex & V1,const TopoDS_Vertex & V2); + :rtype: None") Init; + void Init (const opencascade::handle & C,const TopoDS_Vertex & V1,const TopoDS_Vertex & V2); + + /****************** Init ******************/ %feature("compactdefaultargs") Init; - %feature("autodoc", " :param C: - :type C: Handle_Geom_Curve & + %feature("autodoc", ":param C: + :type C: opencascade::handle & :param P1: :type P1: gp_Pnt :param P2: @@ -1079,12 +1317,13 @@ class BRepLib_MakeEdge : public BRepLib_MakeShape { :type p1: float :param p2: :type p2: float - :rtype: None -") Init; - void Init (const Handle_Geom_Curve & C,const gp_Pnt & P1,const gp_Pnt & P2,const Standard_Real p1,const Standard_Real p2); + :rtype: None") Init; + void Init (const opencascade::handle & C,const gp_Pnt & P1,const gp_Pnt & P2,const Standard_Real p1,const Standard_Real p2); + + /****************** Init ******************/ %feature("compactdefaultargs") Init; - %feature("autodoc", " :param C: - :type C: Handle_Geom_Curve & + %feature("autodoc", ":param C: + :type C: opencascade::handle & :param V1: :type V1: TopoDS_Vertex & :param V2: @@ -1093,58 +1332,63 @@ class BRepLib_MakeEdge : public BRepLib_MakeShape { :type p1: float :param p2: :type p2: float - :rtype: None -") Init; - void Init (const Handle_Geom_Curve & C,const TopoDS_Vertex & V1,const TopoDS_Vertex & V2,const Standard_Real p1,const Standard_Real p2); + :rtype: None") Init; + void Init (const opencascade::handle & C,const TopoDS_Vertex & V1,const TopoDS_Vertex & V2,const Standard_Real p1,const Standard_Real p2); + + /****************** Init ******************/ %feature("compactdefaultargs") Init; - %feature("autodoc", " :param C: - :type C: Handle_Geom2d_Curve & + %feature("autodoc", ":param C: + :type C: opencascade::handle & :param S: - :type S: Handle_Geom_Surface & - :rtype: None -") Init; - void Init (const Handle_Geom2d_Curve & C,const Handle_Geom_Surface & S); + :type S: opencascade::handle & + :rtype: None") Init; + void Init (const opencascade::handle & C,const opencascade::handle & S); + + /****************** Init ******************/ %feature("compactdefaultargs") Init; - %feature("autodoc", " :param C: - :type C: Handle_Geom2d_Curve & + %feature("autodoc", ":param C: + :type C: opencascade::handle & :param S: - :type S: Handle_Geom_Surface & + :type S: opencascade::handle & :param p1: :type p1: float :param p2: :type p2: float - :rtype: None -") Init; - void Init (const Handle_Geom2d_Curve & C,const Handle_Geom_Surface & S,const Standard_Real p1,const Standard_Real p2); + :rtype: None") Init; + void Init (const opencascade::handle & C,const opencascade::handle & S,const Standard_Real p1,const Standard_Real p2); + + /****************** Init ******************/ %feature("compactdefaultargs") Init; - %feature("autodoc", " :param C: - :type C: Handle_Geom2d_Curve & + %feature("autodoc", ":param C: + :type C: opencascade::handle & :param S: - :type S: Handle_Geom_Surface & + :type S: opencascade::handle & :param P1: :type P1: gp_Pnt :param P2: :type P2: gp_Pnt - :rtype: None -") Init; - void Init (const Handle_Geom2d_Curve & C,const Handle_Geom_Surface & S,const gp_Pnt & P1,const gp_Pnt & P2); + :rtype: None") Init; + void Init (const opencascade::handle & C,const opencascade::handle & S,const gp_Pnt & P1,const gp_Pnt & P2); + + /****************** Init ******************/ %feature("compactdefaultargs") Init; - %feature("autodoc", " :param C: - :type C: Handle_Geom2d_Curve & + %feature("autodoc", ":param C: + :type C: opencascade::handle & :param S: - :type S: Handle_Geom_Surface & + :type S: opencascade::handle & :param V1: :type V1: TopoDS_Vertex & :param V2: :type V2: TopoDS_Vertex & - :rtype: None -") Init; - void Init (const Handle_Geom2d_Curve & C,const Handle_Geom_Surface & S,const TopoDS_Vertex & V1,const TopoDS_Vertex & V2); + :rtype: None") Init; + void Init (const opencascade::handle & C,const opencascade::handle & S,const TopoDS_Vertex & V1,const TopoDS_Vertex & V2); + + /****************** Init ******************/ %feature("compactdefaultargs") Init; - %feature("autodoc", " :param C: - :type C: Handle_Geom2d_Curve & + %feature("autodoc", ":param C: + :type C: opencascade::handle & :param S: - :type S: Handle_Geom_Surface & + :type S: opencascade::handle & :param P1: :type P1: gp_Pnt :param P2: @@ -1153,14 +1397,15 @@ class BRepLib_MakeEdge : public BRepLib_MakeShape { :type p1: float :param p2: :type p2: float - :rtype: None -") Init; - void Init (const Handle_Geom2d_Curve & C,const Handle_Geom_Surface & S,const gp_Pnt & P1,const gp_Pnt & P2,const Standard_Real p1,const Standard_Real p2); + :rtype: None") Init; + void Init (const opencascade::handle & C,const opencascade::handle & S,const gp_Pnt & P1,const gp_Pnt & P2,const Standard_Real p1,const Standard_Real p2); + + /****************** Init ******************/ %feature("compactdefaultargs") Init; - %feature("autodoc", " :param C: - :type C: Handle_Geom2d_Curve & + %feature("autodoc", ":param C: + :type C: opencascade::handle & :param S: - :type S: Handle_Geom_Surface & + :type S: opencascade::handle & :param V1: :type V1: TopoDS_Vertex & :param V2: @@ -1169,35 +1414,26 @@ class BRepLib_MakeEdge : public BRepLib_MakeShape { :type p1: float :param p2: :type p2: float - :rtype: None -") Init; - void Init (const Handle_Geom2d_Curve & C,const Handle_Geom_Surface & S,const TopoDS_Vertex & V1,const TopoDS_Vertex & V2,const Standard_Real p1,const Standard_Real p2); - %feature("compactdefaultargs") Error; - %feature("autodoc", " * Returns the error description when NotDone. + :rtype: None") Init; + void Init (const opencascade::handle & C,const opencascade::handle & S,const TopoDS_Vertex & V1,const TopoDS_Vertex & V2,const Standard_Real p1,const Standard_Real p2); - :rtype: BRepLib_EdgeError -") Error; - BRepLib_EdgeError Error (); - %feature("compactdefaultargs") Edge; - %feature("autodoc", " :rtype: TopoDS_Edge -") Edge; - const TopoDS_Edge Edge (); - %feature("compactdefaultargs") operator TopoDS_Edge; - %feature("autodoc", " :rtype: -") operator TopoDS_Edge; - operator TopoDS_Edge (); + /****************** Vertex1 ******************/ %feature("compactdefaultargs") Vertex1; - %feature("autodoc", " * Returns the first vertex of the edge. May be Null. - - :rtype: TopoDS_Vertex -") Vertex1; + %feature("autodoc", "* Returns the first vertex of the edge. May be Null. + :rtype: TopoDS_Vertex") Vertex1; const TopoDS_Vertex Vertex1 (); - %feature("compactdefaultargs") Vertex2; - %feature("autodoc", " * Returns the second vertex of the edge. May be Null. - :rtype: TopoDS_Vertex -") Vertex2; + /****************** Vertex2 ******************/ + %feature("compactdefaultargs") Vertex2; + %feature("autodoc", "* Returns the second vertex of the edge. May be Null. + :rtype: TopoDS_Vertex") Vertex2; const TopoDS_Vertex Vertex2 (); + + /****************** operator TopoDS_Edge ******************/ + %feature("compactdefaultargs") operator TopoDS_Edge; + %feature("autodoc", ":rtype:") operator TopoDS_Edge; + operator TopoDS_Edge (); + }; @@ -1206,244 +1442,275 @@ class BRepLib_MakeEdge : public BRepLib_MakeShape { __repr__ = _dumps_object } }; + +/*************************** +* class BRepLib_MakeEdge2d * +***************************/ %nodefaultctor BRepLib_MakeEdge2d; class BRepLib_MakeEdge2d : public BRepLib_MakeShape { public: + /****************** BRepLib_MakeEdge2d ******************/ %feature("compactdefaultargs") BRepLib_MakeEdge2d; - %feature("autodoc", " :param V1: + %feature("autodoc", ":param V1: :type V1: TopoDS_Vertex & :param V2: :type V2: TopoDS_Vertex & - :rtype: None -") BRepLib_MakeEdge2d; + :rtype: None") BRepLib_MakeEdge2d; BRepLib_MakeEdge2d (const TopoDS_Vertex & V1,const TopoDS_Vertex & V2); + + /****************** BRepLib_MakeEdge2d ******************/ %feature("compactdefaultargs") BRepLib_MakeEdge2d; - %feature("autodoc", " :param P1: + %feature("autodoc", ":param P1: :type P1: gp_Pnt2d :param P2: :type P2: gp_Pnt2d - :rtype: None -") BRepLib_MakeEdge2d; + :rtype: None") BRepLib_MakeEdge2d; BRepLib_MakeEdge2d (const gp_Pnt2d & P1,const gp_Pnt2d & P2); + + /****************** BRepLib_MakeEdge2d ******************/ %feature("compactdefaultargs") BRepLib_MakeEdge2d; - %feature("autodoc", " :param L: + %feature("autodoc", ":param L: :type L: gp_Lin2d - :rtype: None -") BRepLib_MakeEdge2d; + :rtype: None") BRepLib_MakeEdge2d; BRepLib_MakeEdge2d (const gp_Lin2d & L); + + /****************** BRepLib_MakeEdge2d ******************/ %feature("compactdefaultargs") BRepLib_MakeEdge2d; - %feature("autodoc", " :param L: + %feature("autodoc", ":param L: :type L: gp_Lin2d :param p1: :type p1: float :param p2: :type p2: float - :rtype: None -") BRepLib_MakeEdge2d; + :rtype: None") BRepLib_MakeEdge2d; BRepLib_MakeEdge2d (const gp_Lin2d & L,const Standard_Real p1,const Standard_Real p2); + + /****************** BRepLib_MakeEdge2d ******************/ %feature("compactdefaultargs") BRepLib_MakeEdge2d; - %feature("autodoc", " :param L: + %feature("autodoc", ":param L: :type L: gp_Lin2d :param P1: :type P1: gp_Pnt2d :param P2: :type P2: gp_Pnt2d - :rtype: None -") BRepLib_MakeEdge2d; + :rtype: None") BRepLib_MakeEdge2d; BRepLib_MakeEdge2d (const gp_Lin2d & L,const gp_Pnt2d & P1,const gp_Pnt2d & P2); + + /****************** BRepLib_MakeEdge2d ******************/ %feature("compactdefaultargs") BRepLib_MakeEdge2d; - %feature("autodoc", " :param L: + %feature("autodoc", ":param L: :type L: gp_Lin2d :param V1: :type V1: TopoDS_Vertex & :param V2: :type V2: TopoDS_Vertex & - :rtype: None -") BRepLib_MakeEdge2d; + :rtype: None") BRepLib_MakeEdge2d; BRepLib_MakeEdge2d (const gp_Lin2d & L,const TopoDS_Vertex & V1,const TopoDS_Vertex & V2); + + /****************** BRepLib_MakeEdge2d ******************/ %feature("compactdefaultargs") BRepLib_MakeEdge2d; - %feature("autodoc", " :param L: + %feature("autodoc", ":param L: :type L: gp_Circ2d - :rtype: None -") BRepLib_MakeEdge2d; + :rtype: None") BRepLib_MakeEdge2d; BRepLib_MakeEdge2d (const gp_Circ2d & L); + + /****************** BRepLib_MakeEdge2d ******************/ %feature("compactdefaultargs") BRepLib_MakeEdge2d; - %feature("autodoc", " :param L: + %feature("autodoc", ":param L: :type L: gp_Circ2d :param p1: :type p1: float :param p2: :type p2: float - :rtype: None -") BRepLib_MakeEdge2d; + :rtype: None") BRepLib_MakeEdge2d; BRepLib_MakeEdge2d (const gp_Circ2d & L,const Standard_Real p1,const Standard_Real p2); + + /****************** BRepLib_MakeEdge2d ******************/ %feature("compactdefaultargs") BRepLib_MakeEdge2d; - %feature("autodoc", " :param L: + %feature("autodoc", ":param L: :type L: gp_Circ2d :param P1: :type P1: gp_Pnt2d :param P2: :type P2: gp_Pnt2d - :rtype: None -") BRepLib_MakeEdge2d; + :rtype: None") BRepLib_MakeEdge2d; BRepLib_MakeEdge2d (const gp_Circ2d & L,const gp_Pnt2d & P1,const gp_Pnt2d & P2); + + /****************** BRepLib_MakeEdge2d ******************/ %feature("compactdefaultargs") BRepLib_MakeEdge2d; - %feature("autodoc", " :param L: + %feature("autodoc", ":param L: :type L: gp_Circ2d :param V1: :type V1: TopoDS_Vertex & :param V2: :type V2: TopoDS_Vertex & - :rtype: None -") BRepLib_MakeEdge2d; + :rtype: None") BRepLib_MakeEdge2d; BRepLib_MakeEdge2d (const gp_Circ2d & L,const TopoDS_Vertex & V1,const TopoDS_Vertex & V2); + + /****************** BRepLib_MakeEdge2d ******************/ %feature("compactdefaultargs") BRepLib_MakeEdge2d; - %feature("autodoc", " :param L: + %feature("autodoc", ":param L: :type L: gp_Elips2d - :rtype: None -") BRepLib_MakeEdge2d; + :rtype: None") BRepLib_MakeEdge2d; BRepLib_MakeEdge2d (const gp_Elips2d & L); + + /****************** BRepLib_MakeEdge2d ******************/ %feature("compactdefaultargs") BRepLib_MakeEdge2d; - %feature("autodoc", " :param L: + %feature("autodoc", ":param L: :type L: gp_Elips2d :param p1: :type p1: float :param p2: :type p2: float - :rtype: None -") BRepLib_MakeEdge2d; + :rtype: None") BRepLib_MakeEdge2d; BRepLib_MakeEdge2d (const gp_Elips2d & L,const Standard_Real p1,const Standard_Real p2); + + /****************** BRepLib_MakeEdge2d ******************/ %feature("compactdefaultargs") BRepLib_MakeEdge2d; - %feature("autodoc", " :param L: + %feature("autodoc", ":param L: :type L: gp_Elips2d :param P1: :type P1: gp_Pnt2d :param P2: :type P2: gp_Pnt2d - :rtype: None -") BRepLib_MakeEdge2d; + :rtype: None") BRepLib_MakeEdge2d; BRepLib_MakeEdge2d (const gp_Elips2d & L,const gp_Pnt2d & P1,const gp_Pnt2d & P2); + + /****************** BRepLib_MakeEdge2d ******************/ %feature("compactdefaultargs") BRepLib_MakeEdge2d; - %feature("autodoc", " :param L: + %feature("autodoc", ":param L: :type L: gp_Elips2d :param V1: :type V1: TopoDS_Vertex & :param V2: :type V2: TopoDS_Vertex & - :rtype: None -") BRepLib_MakeEdge2d; + :rtype: None") BRepLib_MakeEdge2d; BRepLib_MakeEdge2d (const gp_Elips2d & L,const TopoDS_Vertex & V1,const TopoDS_Vertex & V2); + + /****************** BRepLib_MakeEdge2d ******************/ %feature("compactdefaultargs") BRepLib_MakeEdge2d; - %feature("autodoc", " :param L: + %feature("autodoc", ":param L: :type L: gp_Hypr2d - :rtype: None -") BRepLib_MakeEdge2d; + :rtype: None") BRepLib_MakeEdge2d; BRepLib_MakeEdge2d (const gp_Hypr2d & L); + + /****************** BRepLib_MakeEdge2d ******************/ %feature("compactdefaultargs") BRepLib_MakeEdge2d; - %feature("autodoc", " :param L: + %feature("autodoc", ":param L: :type L: gp_Hypr2d :param p1: :type p1: float :param p2: :type p2: float - :rtype: None -") BRepLib_MakeEdge2d; + :rtype: None") BRepLib_MakeEdge2d; BRepLib_MakeEdge2d (const gp_Hypr2d & L,const Standard_Real p1,const Standard_Real p2); + + /****************** BRepLib_MakeEdge2d ******************/ %feature("compactdefaultargs") BRepLib_MakeEdge2d; - %feature("autodoc", " :param L: + %feature("autodoc", ":param L: :type L: gp_Hypr2d :param P1: :type P1: gp_Pnt2d :param P2: :type P2: gp_Pnt2d - :rtype: None -") BRepLib_MakeEdge2d; + :rtype: None") BRepLib_MakeEdge2d; BRepLib_MakeEdge2d (const gp_Hypr2d & L,const gp_Pnt2d & P1,const gp_Pnt2d & P2); + + /****************** BRepLib_MakeEdge2d ******************/ %feature("compactdefaultargs") BRepLib_MakeEdge2d; - %feature("autodoc", " :param L: + %feature("autodoc", ":param L: :type L: gp_Hypr2d :param V1: :type V1: TopoDS_Vertex & :param V2: :type V2: TopoDS_Vertex & - :rtype: None -") BRepLib_MakeEdge2d; + :rtype: None") BRepLib_MakeEdge2d; BRepLib_MakeEdge2d (const gp_Hypr2d & L,const TopoDS_Vertex & V1,const TopoDS_Vertex & V2); + + /****************** BRepLib_MakeEdge2d ******************/ %feature("compactdefaultargs") BRepLib_MakeEdge2d; - %feature("autodoc", " :param L: + %feature("autodoc", ":param L: :type L: gp_Parab2d - :rtype: None -") BRepLib_MakeEdge2d; + :rtype: None") BRepLib_MakeEdge2d; BRepLib_MakeEdge2d (const gp_Parab2d & L); + + /****************** BRepLib_MakeEdge2d ******************/ %feature("compactdefaultargs") BRepLib_MakeEdge2d; - %feature("autodoc", " :param L: + %feature("autodoc", ":param L: :type L: gp_Parab2d :param p1: :type p1: float :param p2: :type p2: float - :rtype: None -") BRepLib_MakeEdge2d; + :rtype: None") BRepLib_MakeEdge2d; BRepLib_MakeEdge2d (const gp_Parab2d & L,const Standard_Real p1,const Standard_Real p2); + + /****************** BRepLib_MakeEdge2d ******************/ %feature("compactdefaultargs") BRepLib_MakeEdge2d; - %feature("autodoc", " :param L: + %feature("autodoc", ":param L: :type L: gp_Parab2d :param P1: :type P1: gp_Pnt2d :param P2: :type P2: gp_Pnt2d - :rtype: None -") BRepLib_MakeEdge2d; + :rtype: None") BRepLib_MakeEdge2d; BRepLib_MakeEdge2d (const gp_Parab2d & L,const gp_Pnt2d & P1,const gp_Pnt2d & P2); + + /****************** BRepLib_MakeEdge2d ******************/ %feature("compactdefaultargs") BRepLib_MakeEdge2d; - %feature("autodoc", " :param L: + %feature("autodoc", ":param L: :type L: gp_Parab2d :param V1: :type V1: TopoDS_Vertex & :param V2: :type V2: TopoDS_Vertex & - :rtype: None -") BRepLib_MakeEdge2d; + :rtype: None") BRepLib_MakeEdge2d; BRepLib_MakeEdge2d (const gp_Parab2d & L,const TopoDS_Vertex & V1,const TopoDS_Vertex & V2); + + /****************** BRepLib_MakeEdge2d ******************/ %feature("compactdefaultargs") BRepLib_MakeEdge2d; - %feature("autodoc", " :param L: - :type L: Handle_Geom2d_Curve & - :rtype: None -") BRepLib_MakeEdge2d; - BRepLib_MakeEdge2d (const Handle_Geom2d_Curve & L); + %feature("autodoc", ":param L: + :type L: opencascade::handle & + :rtype: None") BRepLib_MakeEdge2d; + BRepLib_MakeEdge2d (const opencascade::handle & L); + + /****************** BRepLib_MakeEdge2d ******************/ %feature("compactdefaultargs") BRepLib_MakeEdge2d; - %feature("autodoc", " :param L: - :type L: Handle_Geom2d_Curve & + %feature("autodoc", ":param L: + :type L: opencascade::handle & :param p1: :type p1: float :param p2: :type p2: float - :rtype: None -") BRepLib_MakeEdge2d; - BRepLib_MakeEdge2d (const Handle_Geom2d_Curve & L,const Standard_Real p1,const Standard_Real p2); + :rtype: None") BRepLib_MakeEdge2d; + BRepLib_MakeEdge2d (const opencascade::handle & L,const Standard_Real p1,const Standard_Real p2); + + /****************** BRepLib_MakeEdge2d ******************/ %feature("compactdefaultargs") BRepLib_MakeEdge2d; - %feature("autodoc", " :param L: - :type L: Handle_Geom2d_Curve & + %feature("autodoc", ":param L: + :type L: opencascade::handle & :param P1: :type P1: gp_Pnt2d :param P2: :type P2: gp_Pnt2d - :rtype: None -") BRepLib_MakeEdge2d; - BRepLib_MakeEdge2d (const Handle_Geom2d_Curve & L,const gp_Pnt2d & P1,const gp_Pnt2d & P2); + :rtype: None") BRepLib_MakeEdge2d; + BRepLib_MakeEdge2d (const opencascade::handle & L,const gp_Pnt2d & P1,const gp_Pnt2d & P2); + + /****************** BRepLib_MakeEdge2d ******************/ %feature("compactdefaultargs") BRepLib_MakeEdge2d; - %feature("autodoc", " :param L: - :type L: Handle_Geom2d_Curve & + %feature("autodoc", ":param L: + :type L: opencascade::handle & :param V1: :type V1: TopoDS_Vertex & :param V2: :type V2: TopoDS_Vertex & - :rtype: None -") BRepLib_MakeEdge2d; - BRepLib_MakeEdge2d (const Handle_Geom2d_Curve & L,const TopoDS_Vertex & V1,const TopoDS_Vertex & V2); + :rtype: None") BRepLib_MakeEdge2d; + BRepLib_MakeEdge2d (const opencascade::handle & L,const TopoDS_Vertex & V1,const TopoDS_Vertex & V2); + + /****************** BRepLib_MakeEdge2d ******************/ %feature("compactdefaultargs") BRepLib_MakeEdge2d; - %feature("autodoc", " :param L: - :type L: Handle_Geom2d_Curve & + %feature("autodoc", ":param L: + :type L: opencascade::handle & :param P1: :type P1: gp_Pnt2d :param P2: @@ -1452,12 +1719,13 @@ class BRepLib_MakeEdge2d : public BRepLib_MakeShape { :type p1: float :param p2: :type p2: float - :rtype: None -") BRepLib_MakeEdge2d; - BRepLib_MakeEdge2d (const Handle_Geom2d_Curve & L,const gp_Pnt2d & P1,const gp_Pnt2d & P2,const Standard_Real p1,const Standard_Real p2); + :rtype: None") BRepLib_MakeEdge2d; + BRepLib_MakeEdge2d (const opencascade::handle & L,const gp_Pnt2d & P1,const gp_Pnt2d & P2,const Standard_Real p1,const Standard_Real p2); + + /****************** BRepLib_MakeEdge2d ******************/ %feature("compactdefaultargs") BRepLib_MakeEdge2d; - %feature("autodoc", " :param L: - :type L: Handle_Geom2d_Curve & + %feature("autodoc", ":param L: + :type L: opencascade::handle & :param V1: :type V1: TopoDS_Vertex & :param V2: @@ -1466,48 +1734,64 @@ class BRepLib_MakeEdge2d : public BRepLib_MakeShape { :type p1: float :param p2: :type p2: float - :rtype: None -") BRepLib_MakeEdge2d; - BRepLib_MakeEdge2d (const Handle_Geom2d_Curve & L,const TopoDS_Vertex & V1,const TopoDS_Vertex & V2,const Standard_Real p1,const Standard_Real p2); + :rtype: None") BRepLib_MakeEdge2d; + BRepLib_MakeEdge2d (const opencascade::handle & L,const TopoDS_Vertex & V1,const TopoDS_Vertex & V2,const Standard_Real p1,const Standard_Real p2); + + /****************** Edge ******************/ + %feature("compactdefaultargs") Edge; + %feature("autodoc", ":rtype: TopoDS_Edge") Edge; + const TopoDS_Edge Edge (); + + /****************** Error ******************/ + %feature("compactdefaultargs") Error; + %feature("autodoc", "* Returns the error description when NotDone. + :rtype: BRepLib_EdgeError") Error; + BRepLib_EdgeError Error (); + + /****************** Init ******************/ %feature("compactdefaultargs") Init; - %feature("autodoc", " :param C: - :type C: Handle_Geom2d_Curve & - :rtype: None -") Init; - void Init (const Handle_Geom2d_Curve & C); + %feature("autodoc", ":param C: + :type C: opencascade::handle & + :rtype: None") Init; + void Init (const opencascade::handle & C); + + /****************** Init ******************/ %feature("compactdefaultargs") Init; - %feature("autodoc", " :param C: - :type C: Handle_Geom2d_Curve & + %feature("autodoc", ":param C: + :type C: opencascade::handle & :param p1: :type p1: float :param p2: :type p2: float - :rtype: None -") Init; - void Init (const Handle_Geom2d_Curve & C,const Standard_Real p1,const Standard_Real p2); + :rtype: None") Init; + void Init (const opencascade::handle & C,const Standard_Real p1,const Standard_Real p2); + + /****************** Init ******************/ %feature("compactdefaultargs") Init; - %feature("autodoc", " :param C: - :type C: Handle_Geom2d_Curve & + %feature("autodoc", ":param C: + :type C: opencascade::handle & :param P1: :type P1: gp_Pnt2d :param P2: :type P2: gp_Pnt2d - :rtype: None -") Init; - void Init (const Handle_Geom2d_Curve & C,const gp_Pnt2d & P1,const gp_Pnt2d & P2); + :rtype: None") Init; + void Init (const opencascade::handle & C,const gp_Pnt2d & P1,const gp_Pnt2d & P2); + + /****************** Init ******************/ %feature("compactdefaultargs") Init; - %feature("autodoc", " :param C: - :type C: Handle_Geom2d_Curve & + %feature("autodoc", ":param C: + :type C: opencascade::handle & :param V1: :type V1: TopoDS_Vertex & :param V2: :type V2: TopoDS_Vertex & - :rtype: None -") Init; - void Init (const Handle_Geom2d_Curve & C,const TopoDS_Vertex & V1,const TopoDS_Vertex & V2); + :rtype: None") Init; + void Init (const opencascade::handle & C,const TopoDS_Vertex & V1,const TopoDS_Vertex & V2); + + /****************** Init ******************/ %feature("compactdefaultargs") Init; - %feature("autodoc", " :param C: - :type C: Handle_Geom2d_Curve & + %feature("autodoc", ":param C: + :type C: opencascade::handle & :param P1: :type P1: gp_Pnt2d :param P2: @@ -1516,12 +1800,13 @@ class BRepLib_MakeEdge2d : public BRepLib_MakeShape { :type p1: float :param p2: :type p2: float - :rtype: None -") Init; - void Init (const Handle_Geom2d_Curve & C,const gp_Pnt2d & P1,const gp_Pnt2d & P2,const Standard_Real p1,const Standard_Real p2); + :rtype: None") Init; + void Init (const opencascade::handle & C,const gp_Pnt2d & P1,const gp_Pnt2d & P2,const Standard_Real p1,const Standard_Real p2); + + /****************** Init ******************/ %feature("compactdefaultargs") Init; - %feature("autodoc", " :param C: - :type C: Handle_Geom2d_Curve & + %feature("autodoc", ":param C: + :type C: opencascade::handle & :param V1: :type V1: TopoDS_Vertex & :param V2: @@ -1530,35 +1815,26 @@ class BRepLib_MakeEdge2d : public BRepLib_MakeShape { :type p1: float :param p2: :type p2: float - :rtype: None -") Init; - void Init (const Handle_Geom2d_Curve & C,const TopoDS_Vertex & V1,const TopoDS_Vertex & V2,const Standard_Real p1,const Standard_Real p2); - %feature("compactdefaultargs") Error; - %feature("autodoc", " * Returns the error description when NotDone. + :rtype: None") Init; + void Init (const opencascade::handle & C,const TopoDS_Vertex & V1,const TopoDS_Vertex & V2,const Standard_Real p1,const Standard_Real p2); - :rtype: BRepLib_EdgeError -") Error; - BRepLib_EdgeError Error (); - %feature("compactdefaultargs") Edge; - %feature("autodoc", " :rtype: TopoDS_Edge -") Edge; - const TopoDS_Edge Edge (); - %feature("compactdefaultargs") operator TopoDS_Edge; - %feature("autodoc", " :rtype: -") operator TopoDS_Edge; - operator TopoDS_Edge (); + /****************** Vertex1 ******************/ %feature("compactdefaultargs") Vertex1; - %feature("autodoc", " * Returns the first vertex of the edge. May be Null. - - :rtype: TopoDS_Vertex -") Vertex1; + %feature("autodoc", "* Returns the first vertex of the edge. May be Null. + :rtype: TopoDS_Vertex") Vertex1; const TopoDS_Vertex Vertex1 (); - %feature("compactdefaultargs") Vertex2; - %feature("autodoc", " * Returns the second vertex of the edge. May be Null. - :rtype: TopoDS_Vertex -") Vertex2; + /****************** Vertex2 ******************/ + %feature("compactdefaultargs") Vertex2; + %feature("autodoc", "* Returns the second vertex of the edge. May be Null. + :rtype: TopoDS_Vertex") Vertex2; const TopoDS_Vertex Vertex2 (); + + /****************** operator TopoDS_Edge ******************/ + %feature("compactdefaultargs") operator TopoDS_Edge; + %feature("autodoc", ":rtype:") operator TopoDS_Edge; + operator TopoDS_Edge (); + }; @@ -1567,76 +1843,88 @@ class BRepLib_MakeEdge2d : public BRepLib_MakeShape { __repr__ = _dumps_object } }; + +/************************* +* class BRepLib_MakeFace * +*************************/ %nodefaultctor BRepLib_MakeFace; class BRepLib_MakeFace : public BRepLib_MakeShape { public: - %feature("compactdefaultargs") BRepLib_MakeFace; - %feature("autodoc", " * Not done. + /****************** Add ******************/ + %feature("compactdefaultargs") Add; + %feature("autodoc", "* Adds the wire in the current face. + :param W: + :type W: TopoDS_Wire & + :rtype: None") Add; + void Add (const TopoDS_Wire & W); - :rtype: None -") BRepLib_MakeFace; - BRepLib_MakeFace (); + /****************** BRepLib_MakeFace ******************/ %feature("compactdefaultargs") BRepLib_MakeFace; - %feature("autodoc", " * Load a face. Usefull to add wires. + %feature("autodoc", "* Not done. + :rtype: None") BRepLib_MakeFace; + BRepLib_MakeFace (); + /****************** BRepLib_MakeFace ******************/ + %feature("compactdefaultargs") BRepLib_MakeFace; + %feature("autodoc", "* Load a face. Usefull to add wires. :param F: :type F: TopoDS_Face & - :rtype: None -") BRepLib_MakeFace; + :rtype: None") BRepLib_MakeFace; BRepLib_MakeFace (const TopoDS_Face & F); - %feature("compactdefaultargs") BRepLib_MakeFace; - %feature("autodoc", " * Make a face from a plane. + /****************** BRepLib_MakeFace ******************/ + %feature("compactdefaultargs") BRepLib_MakeFace; + %feature("autodoc", "* Make a face from a plane. :param P: :type P: gp_Pln - :rtype: None -") BRepLib_MakeFace; + :rtype: None") BRepLib_MakeFace; BRepLib_MakeFace (const gp_Pln & P); - %feature("compactdefaultargs") BRepLib_MakeFace; - %feature("autodoc", " * Make a face from a cylinder. + /****************** BRepLib_MakeFace ******************/ + %feature("compactdefaultargs") BRepLib_MakeFace; + %feature("autodoc", "* Make a face from a cylinder. :param C: :type C: gp_Cylinder - :rtype: None -") BRepLib_MakeFace; + :rtype: None") BRepLib_MakeFace; BRepLib_MakeFace (const gp_Cylinder & C); - %feature("compactdefaultargs") BRepLib_MakeFace; - %feature("autodoc", " * Make a face from a cone. + /****************** BRepLib_MakeFace ******************/ + %feature("compactdefaultargs") BRepLib_MakeFace; + %feature("autodoc", "* Make a face from a cone. :param C: :type C: gp_Cone - :rtype: None -") BRepLib_MakeFace; + :rtype: None") BRepLib_MakeFace; BRepLib_MakeFace (const gp_Cone & C); - %feature("compactdefaultargs") BRepLib_MakeFace; - %feature("autodoc", " * Make a face from a sphere. + /****************** BRepLib_MakeFace ******************/ + %feature("compactdefaultargs") BRepLib_MakeFace; + %feature("autodoc", "* Make a face from a sphere. :param S: :type S: gp_Sphere - :rtype: None -") BRepLib_MakeFace; + :rtype: None") BRepLib_MakeFace; BRepLib_MakeFace (const gp_Sphere & S); - %feature("compactdefaultargs") BRepLib_MakeFace; - %feature("autodoc", " * Make a face from a torus. + /****************** BRepLib_MakeFace ******************/ + %feature("compactdefaultargs") BRepLib_MakeFace; + %feature("autodoc", "* Make a face from a torus. :param C: :type C: gp_Torus - :rtype: None -") BRepLib_MakeFace; + :rtype: None") BRepLib_MakeFace; BRepLib_MakeFace (const gp_Torus & C); - %feature("compactdefaultargs") BRepLib_MakeFace; - %feature("autodoc", " * Make a face from a Surface. Accepts tolerance value (TolDegen) for resolution of degenerated edges. + /****************** BRepLib_MakeFace ******************/ + %feature("compactdefaultargs") BRepLib_MakeFace; + %feature("autodoc", "* Make a face from a Surface. Accepts tolerance value (TolDegen) for resolution of degenerated edges. :param S: - :type S: Handle_Geom_Surface & + :type S: opencascade::handle & :param TolDegen: :type TolDegen: float - :rtype: None -") BRepLib_MakeFace; - BRepLib_MakeFace (const Handle_Geom_Surface & S,const Standard_Real TolDegen); - %feature("compactdefaultargs") BRepLib_MakeFace; - %feature("autodoc", " * Make a face from a plane. + :rtype: None") BRepLib_MakeFace; + BRepLib_MakeFace (const opencascade::handle & S,const Standard_Real TolDegen); + /****************** BRepLib_MakeFace ******************/ + %feature("compactdefaultargs") BRepLib_MakeFace; + %feature("autodoc", "* Make a face from a plane. :param P: :type P: gp_Pln :param UMin: @@ -1647,12 +1935,12 @@ class BRepLib_MakeFace : public BRepLib_MakeShape { :type VMin: float :param VMax: :type VMax: float - :rtype: None -") BRepLib_MakeFace; + :rtype: None") BRepLib_MakeFace; BRepLib_MakeFace (const gp_Pln & P,const Standard_Real UMin,const Standard_Real UMax,const Standard_Real VMin,const Standard_Real VMax); - %feature("compactdefaultargs") BRepLib_MakeFace; - %feature("autodoc", " * Make a face from a cylinder. + /****************** BRepLib_MakeFace ******************/ + %feature("compactdefaultargs") BRepLib_MakeFace; + %feature("autodoc", "* Make a face from a cylinder. :param C: :type C: gp_Cylinder :param UMin: @@ -1663,12 +1951,12 @@ class BRepLib_MakeFace : public BRepLib_MakeShape { :type VMin: float :param VMax: :type VMax: float - :rtype: None -") BRepLib_MakeFace; + :rtype: None") BRepLib_MakeFace; BRepLib_MakeFace (const gp_Cylinder & C,const Standard_Real UMin,const Standard_Real UMax,const Standard_Real VMin,const Standard_Real VMax); - %feature("compactdefaultargs") BRepLib_MakeFace; - %feature("autodoc", " * Make a face from a cone. + /****************** BRepLib_MakeFace ******************/ + %feature("compactdefaultargs") BRepLib_MakeFace; + %feature("autodoc", "* Make a face from a cone. :param C: :type C: gp_Cone :param UMin: @@ -1679,12 +1967,12 @@ class BRepLib_MakeFace : public BRepLib_MakeShape { :type VMin: float :param VMax: :type VMax: float - :rtype: None -") BRepLib_MakeFace; + :rtype: None") BRepLib_MakeFace; BRepLib_MakeFace (const gp_Cone & C,const Standard_Real UMin,const Standard_Real UMax,const Standard_Real VMin,const Standard_Real VMax); - %feature("compactdefaultargs") BRepLib_MakeFace; - %feature("autodoc", " * Make a face from a sphere. + /****************** BRepLib_MakeFace ******************/ + %feature("compactdefaultargs") BRepLib_MakeFace; + %feature("autodoc", "* Make a face from a sphere. :param S: :type S: gp_Sphere :param UMin: @@ -1695,12 +1983,12 @@ class BRepLib_MakeFace : public BRepLib_MakeShape { :type VMin: float :param VMax: :type VMax: float - :rtype: None -") BRepLib_MakeFace; + :rtype: None") BRepLib_MakeFace; BRepLib_MakeFace (const gp_Sphere & S,const Standard_Real UMin,const Standard_Real UMax,const Standard_Real VMin,const Standard_Real VMax); - %feature("compactdefaultargs") BRepLib_MakeFace; - %feature("autodoc", " * Make a face from a torus. + /****************** BRepLib_MakeFace ******************/ + %feature("compactdefaultargs") BRepLib_MakeFace; + %feature("autodoc", "* Make a face from a torus. :param C: :type C: gp_Torus :param UMin: @@ -1711,14 +1999,14 @@ class BRepLib_MakeFace : public BRepLib_MakeShape { :type VMin: float :param VMax: :type VMax: float - :rtype: None -") BRepLib_MakeFace; + :rtype: None") BRepLib_MakeFace; BRepLib_MakeFace (const gp_Torus & C,const Standard_Real UMin,const Standard_Real UMax,const Standard_Real VMin,const Standard_Real VMax); - %feature("compactdefaultargs") BRepLib_MakeFace; - %feature("autodoc", " * Make a face from a Surface. Accepts min & max parameters to construct the face's bounds. Also accepts tolerance value (TolDegen) for resolution of degenerated edges. + /****************** BRepLib_MakeFace ******************/ + %feature("compactdefaultargs") BRepLib_MakeFace; + %feature("autodoc", "* Make a face from a Surface. Accepts min & max parameters to construct the face's bounds. Also accepts tolerance value (TolDegen) for resolution of degenerated edges. :param S: - :type S: Handle_Geom_Surface & + :type S: opencascade::handle & :param UMin: :type UMin: float :param UMax: @@ -1729,126 +2017,137 @@ class BRepLib_MakeFace : public BRepLib_MakeShape { :type VMax: float :param TolDegen: :type TolDegen: float - :rtype: None -") BRepLib_MakeFace; - BRepLib_MakeFace (const Handle_Geom_Surface & S,const Standard_Real UMin,const Standard_Real UMax,const Standard_Real VMin,const Standard_Real VMax,const Standard_Real TolDegen); - %feature("compactdefaultargs") BRepLib_MakeFace; - %feature("autodoc", " * Find a surface from the wire and make a face. 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. + :rtype: None") BRepLib_MakeFace; + BRepLib_MakeFace (const opencascade::handle & S,const Standard_Real UMin,const Standard_Real UMax,const Standard_Real VMin,const Standard_Real VMax,const Standard_Real TolDegen); + /****************** BRepLib_MakeFace ******************/ + %feature("compactdefaultargs") BRepLib_MakeFace; + %feature("autodoc", "* Find a surface from the wire and make a face. 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. :param W: :type W: TopoDS_Wire & :param OnlyPlane: default value is Standard_False :type OnlyPlane: bool - :rtype: None -") BRepLib_MakeFace; + :rtype: None") BRepLib_MakeFace; BRepLib_MakeFace (const TopoDS_Wire & W,const Standard_Boolean OnlyPlane = Standard_False); - %feature("compactdefaultargs") BRepLib_MakeFace; - %feature("autodoc", " * Make a face from a plane and a wire. + /****************** BRepLib_MakeFace ******************/ + %feature("compactdefaultargs") BRepLib_MakeFace; + %feature("autodoc", "* Make a face from a plane and a wire. :param P: :type P: gp_Pln :param W: :type W: TopoDS_Wire & :param Inside: default value is Standard_True :type Inside: bool - :rtype: None -") BRepLib_MakeFace; + :rtype: None") BRepLib_MakeFace; BRepLib_MakeFace (const gp_Pln & P,const TopoDS_Wire & W,const Standard_Boolean Inside = Standard_True); - %feature("compactdefaultargs") BRepLib_MakeFace; - %feature("autodoc", " * Make a face from a cylinder and a wire. + /****************** BRepLib_MakeFace ******************/ + %feature("compactdefaultargs") BRepLib_MakeFace; + %feature("autodoc", "* Make a face from a cylinder and a wire. :param C: :type C: gp_Cylinder :param W: :type W: TopoDS_Wire & :param Inside: default value is Standard_True :type Inside: bool - :rtype: None -") BRepLib_MakeFace; + :rtype: None") BRepLib_MakeFace; BRepLib_MakeFace (const gp_Cylinder & C,const TopoDS_Wire & W,const Standard_Boolean Inside = Standard_True); - %feature("compactdefaultargs") BRepLib_MakeFace; - %feature("autodoc", " * Make a face from a cone and a wire. + /****************** BRepLib_MakeFace ******************/ + %feature("compactdefaultargs") BRepLib_MakeFace; + %feature("autodoc", "* Make a face from a cone and a wire. :param C: :type C: gp_Cone :param W: :type W: TopoDS_Wire & :param Inside: default value is Standard_True :type Inside: bool - :rtype: None -") BRepLib_MakeFace; + :rtype: None") BRepLib_MakeFace; BRepLib_MakeFace (const gp_Cone & C,const TopoDS_Wire & W,const Standard_Boolean Inside = Standard_True); - %feature("compactdefaultargs") BRepLib_MakeFace; - %feature("autodoc", " * Make a face from a sphere and a wire. + /****************** BRepLib_MakeFace ******************/ + %feature("compactdefaultargs") BRepLib_MakeFace; + %feature("autodoc", "* Make a face from a sphere and a wire. :param S: :type S: gp_Sphere :param W: :type W: TopoDS_Wire & :param Inside: default value is Standard_True :type Inside: bool - :rtype: None -") BRepLib_MakeFace; + :rtype: None") BRepLib_MakeFace; BRepLib_MakeFace (const gp_Sphere & S,const TopoDS_Wire & W,const Standard_Boolean Inside = Standard_True); - %feature("compactdefaultargs") BRepLib_MakeFace; - %feature("autodoc", " * Make a face from a torus and a wire. + /****************** BRepLib_MakeFace ******************/ + %feature("compactdefaultargs") BRepLib_MakeFace; + %feature("autodoc", "* Make a face from a torus and a wire. :param C: :type C: gp_Torus :param W: :type W: TopoDS_Wire & :param Inside: default value is Standard_True :type Inside: bool - :rtype: None -") BRepLib_MakeFace; + :rtype: None") BRepLib_MakeFace; BRepLib_MakeFace (const gp_Torus & C,const TopoDS_Wire & W,const Standard_Boolean Inside = Standard_True); - %feature("compactdefaultargs") BRepLib_MakeFace; - %feature("autodoc", " * Make a face from a Surface and a wire. + /****************** BRepLib_MakeFace ******************/ + %feature("compactdefaultargs") BRepLib_MakeFace; + %feature("autodoc", "* Make a face from a Surface and a wire. :param S: - :type S: Handle_Geom_Surface & + :type S: opencascade::handle & :param W: :type W: TopoDS_Wire & :param Inside: default value is Standard_True :type Inside: bool - :rtype: None -") BRepLib_MakeFace; - BRepLib_MakeFace (const Handle_Geom_Surface & S,const TopoDS_Wire & W,const Standard_Boolean Inside = Standard_True); - %feature("compactdefaultargs") BRepLib_MakeFace; - %feature("autodoc", " * Adds the wire in the face + :rtype: None") BRepLib_MakeFace; + BRepLib_MakeFace (const opencascade::handle & S,const TopoDS_Wire & W,const Standard_Boolean Inside = Standard_True); + /****************** BRepLib_MakeFace ******************/ + %feature("compactdefaultargs") BRepLib_MakeFace; + %feature("autodoc", "* Adds the wire in the face :param F: :type F: TopoDS_Face & :param W: :type W: TopoDS_Wire & - :rtype: None -") BRepLib_MakeFace; + :rtype: None") BRepLib_MakeFace; BRepLib_MakeFace (const TopoDS_Face & F,const TopoDS_Wire & W); - %feature("compactdefaultargs") Init; - %feature("autodoc", " * Load the face. + /****************** Error ******************/ + %feature("compactdefaultargs") Error; + %feature("autodoc", ":rtype: BRepLib_FaceError") Error; + BRepLib_FaceError Error (); + + /****************** Face ******************/ + %feature("compactdefaultargs") Face; + %feature("autodoc", "* Returns the new face. + :rtype: TopoDS_Face") Face; + const TopoDS_Face Face (); + + /****************** Init ******************/ + %feature("compactdefaultargs") Init; + %feature("autodoc", "* Load the face. :param F: :type F: TopoDS_Face & - :rtype: None -") Init; + :rtype: None") Init; void Init (const TopoDS_Face & F); - %feature("compactdefaultargs") Init; - %feature("autodoc", " * Creates the face from the surface. If Bound is True a wire is made from the natural bounds. Accepts tolerance value (TolDegen) for resolution of degenerated edges. + /****************** Init ******************/ + %feature("compactdefaultargs") Init; + %feature("autodoc", "* Creates the face from the surface. If Bound is True a wire is made from the natural bounds. Accepts tolerance value (TolDegen) for resolution of degenerated edges. :param S: - :type S: Handle_Geom_Surface & + :type S: opencascade::handle & :param Bound: :type Bound: bool :param TolDegen: :type TolDegen: float - :rtype: None -") Init; - void Init (const Handle_Geom_Surface & S,const Standard_Boolean Bound,const Standard_Real TolDegen); - %feature("compactdefaultargs") Init; - %feature("autodoc", " * Creates the face from the surface and the min-max values. Accepts tolerance value (TolDegen) for resolution of degenerated edges. + :rtype: None") Init; + void Init (const opencascade::handle & S,const Standard_Boolean Bound,const Standard_Real TolDegen); + /****************** Init ******************/ + %feature("compactdefaultargs") Init; + %feature("autodoc", "* Creates the face from the surface and the min-max values. Accepts tolerance value (TolDegen) for resolution of degenerated edges. :param S: - :type S: Handle_Geom_Surface & + :type S: opencascade::handle & :param UMin: :type UMin: float :param UMax: @@ -1859,43 +2158,26 @@ class BRepLib_MakeFace : public BRepLib_MakeShape { :type VMax: float :param TolDegen: :type TolDegen: float - :rtype: None -") Init; - void Init (const Handle_Geom_Surface & S,const Standard_Real UMin,const Standard_Real UMax,const Standard_Real VMin,const Standard_Real VMax,const Standard_Real TolDegen); - %feature("compactdefaultargs") Add; - %feature("autodoc", " * Adds the wire in the current face. - - :param W: - :type W: TopoDS_Wire & - :rtype: None -") Add; - void Add (const TopoDS_Wire & W); - %feature("compactdefaultargs") Error; - %feature("autodoc", " :rtype: BRepLib_FaceError -") Error; - BRepLib_FaceError Error (); - %feature("compactdefaultargs") Face; - %feature("autodoc", " * Returns the new face. + :rtype: None") Init; + void Init (const opencascade::handle & S,const Standard_Real UMin,const Standard_Real UMax,const Standard_Real VMin,const Standard_Real VMax,const Standard_Real TolDegen); - :rtype: TopoDS_Face -") Face; - const TopoDS_Face Face (); - %feature("compactdefaultargs") operator TopoDS_Face; - %feature("autodoc", " :rtype: -") operator TopoDS_Face; - operator TopoDS_Face (); + /****************** IsDegenerated ******************/ %feature("compactdefaultargs") IsDegenerated; - %feature("autodoc", " * Checks the specified curve is degenerated according to specified tolerance. Returns less than , which shows actual tolerance to decide the curve is degenerated. Warning: For internal use of BRepLib_MakeFace and BRepLib_MakeShell. - + %feature("autodoc", "* Checks the specified curve is degenerated according to specified tolerance. Returns less than , which shows actual tolerance to decide the curve is degenerated. Warning: For internal use of BRepLib_MakeFace and BRepLib_MakeShell. :param theCurve: - :type theCurve: Handle_Geom_Curve & + :type theCurve: opencascade::handle & :param theMaxTol: :type theMaxTol: float :param theActTol: :type theActTol: float & - :rtype: bool -") IsDegenerated; - static Standard_Boolean IsDegenerated (const Handle_Geom_Curve & theCurve,const Standard_Real theMaxTol,Standard_Real &OutValue); + :rtype: bool") IsDegenerated; + static Standard_Boolean IsDegenerated (const opencascade::handle & theCurve,const Standard_Real theMaxTol,Standard_Real &OutValue); + + /****************** operator TopoDS_Face ******************/ + %feature("compactdefaultargs") operator TopoDS_Face; + %feature("autodoc", ":rtype:") operator TopoDS_Face; + operator TopoDS_Face (); + }; @@ -1904,25 +2186,51 @@ class BRepLib_MakeFace : public BRepLib_MakeShape { __repr__ = _dumps_object } }; + +/**************************** +* class BRepLib_MakePolygon * +****************************/ %nodefaultctor BRepLib_MakePolygon; class BRepLib_MakePolygon : public BRepLib_MakeShape { public: - %feature("compactdefaultargs") BRepLib_MakePolygon; - %feature("autodoc", " * Creates an empty MakePolygon. + /****************** Add ******************/ + %feature("compactdefaultargs") Add; + %feature("autodoc", ":param P: + :type P: gp_Pnt + :rtype: None") Add; + void Add (const gp_Pnt & P); + + /****************** Add ******************/ + %feature("compactdefaultargs") Add; + %feature("autodoc", ":param V: + :type V: TopoDS_Vertex & + :rtype: None") Add; + void Add (const TopoDS_Vertex & V); + + /****************** Added ******************/ + %feature("compactdefaultargs") Added; + %feature("autodoc", "* Returns True if the last vertex or point was succesfully added. + :rtype: bool") Added; + Standard_Boolean Added (); - :rtype: None -") BRepLib_MakePolygon; + /****************** BRepLib_MakePolygon ******************/ + %feature("compactdefaultargs") BRepLib_MakePolygon; + %feature("autodoc", "* Creates an empty MakePolygon. + :rtype: None") BRepLib_MakePolygon; BRepLib_MakePolygon (); + + /****************** BRepLib_MakePolygon ******************/ %feature("compactdefaultargs") BRepLib_MakePolygon; - %feature("autodoc", " :param P1: + %feature("autodoc", ":param P1: :type P1: gp_Pnt :param P2: :type P2: gp_Pnt - :rtype: None -") BRepLib_MakePolygon; + :rtype: None") BRepLib_MakePolygon; BRepLib_MakePolygon (const gp_Pnt & P1,const gp_Pnt & P2); + + /****************** BRepLib_MakePolygon ******************/ %feature("compactdefaultargs") BRepLib_MakePolygon; - %feature("autodoc", " :param P1: + %feature("autodoc", ":param P1: :type P1: gp_Pnt :param P2: :type P2: gp_Pnt @@ -1930,11 +2238,12 @@ class BRepLib_MakePolygon : public BRepLib_MakeShape { :type P3: gp_Pnt :param Close: default value is Standard_False :type Close: bool - :rtype: None -") BRepLib_MakePolygon; + :rtype: None") BRepLib_MakePolygon; BRepLib_MakePolygon (const gp_Pnt & P1,const gp_Pnt & P2,const gp_Pnt & P3,const Standard_Boolean Close = Standard_False); + + /****************** BRepLib_MakePolygon ******************/ %feature("compactdefaultargs") BRepLib_MakePolygon; - %feature("autodoc", " :param P1: + %feature("autodoc", ":param P1: :type P1: gp_Pnt :param P2: :type P2: gp_Pnt @@ -1944,19 +2253,21 @@ class BRepLib_MakePolygon : public BRepLib_MakeShape { :type P4: gp_Pnt :param Close: default value is Standard_False :type Close: bool - :rtype: None -") BRepLib_MakePolygon; + :rtype: None") BRepLib_MakePolygon; BRepLib_MakePolygon (const gp_Pnt & P1,const gp_Pnt & P2,const gp_Pnt & P3,const gp_Pnt & P4,const Standard_Boolean Close = Standard_False); + + /****************** BRepLib_MakePolygon ******************/ %feature("compactdefaultargs") BRepLib_MakePolygon; - %feature("autodoc", " :param V1: + %feature("autodoc", ":param V1: :type V1: TopoDS_Vertex & :param V2: :type V2: TopoDS_Vertex & - :rtype: None -") BRepLib_MakePolygon; + :rtype: None") BRepLib_MakePolygon; BRepLib_MakePolygon (const TopoDS_Vertex & V1,const TopoDS_Vertex & V2); + + /****************** BRepLib_MakePolygon ******************/ %feature("compactdefaultargs") BRepLib_MakePolygon; - %feature("autodoc", " :param V1: + %feature("autodoc", ":param V1: :type V1: TopoDS_Vertex & :param V2: :type V2: TopoDS_Vertex & @@ -1964,11 +2275,12 @@ class BRepLib_MakePolygon : public BRepLib_MakeShape { :type V3: TopoDS_Vertex & :param Close: default value is Standard_False :type Close: bool - :rtype: None -") BRepLib_MakePolygon; + :rtype: None") BRepLib_MakePolygon; BRepLib_MakePolygon (const TopoDS_Vertex & V1,const TopoDS_Vertex & V2,const TopoDS_Vertex & V3,const Standard_Boolean Close = Standard_False); + + /****************** BRepLib_MakePolygon ******************/ %feature("compactdefaultargs") BRepLib_MakePolygon; - %feature("autodoc", " :param V1: + %feature("autodoc", ":param V1: :type V1: TopoDS_Vertex & :param V2: :type V2: TopoDS_Vertex & @@ -1978,57 +2290,45 @@ class BRepLib_MakePolygon : public BRepLib_MakeShape { :type V4: TopoDS_Vertex & :param Close: default value is Standard_False :type Close: bool - :rtype: None -") BRepLib_MakePolygon; + :rtype: None") BRepLib_MakePolygon; BRepLib_MakePolygon (const TopoDS_Vertex & V1,const TopoDS_Vertex & V2,const TopoDS_Vertex & V3,const TopoDS_Vertex & V4,const Standard_Boolean Close = Standard_False); - %feature("compactdefaultargs") Add; - %feature("autodoc", " :param P: - :type P: gp_Pnt - :rtype: None -") Add; - void Add (const gp_Pnt & P); - %feature("compactdefaultargs") Add; - %feature("autodoc", " :param V: - :type V: TopoDS_Vertex & - :rtype: None -") Add; - void Add (const TopoDS_Vertex & V); - %feature("compactdefaultargs") Added; - %feature("autodoc", " * Returns True if the last vertex or point was succesfully added. - :rtype: bool -") Added; - Standard_Boolean Added (); + /****************** Close ******************/ %feature("compactdefaultargs") Close; - %feature("autodoc", " :rtype: None -") Close; + %feature("autodoc", ":rtype: None") Close; void Close (); + + /****************** Edge ******************/ + %feature("compactdefaultargs") Edge; + %feature("autodoc", "* Returns the last edge added to the polygon. + :rtype: TopoDS_Edge") Edge; + const TopoDS_Edge Edge (); + + /****************** FirstVertex ******************/ %feature("compactdefaultargs") FirstVertex; - %feature("autodoc", " :rtype: TopoDS_Vertex -") FirstVertex; + %feature("autodoc", ":rtype: TopoDS_Vertex") FirstVertex; const TopoDS_Vertex FirstVertex (); + + /****************** LastVertex ******************/ %feature("compactdefaultargs") LastVertex; - %feature("autodoc", " :rtype: TopoDS_Vertex -") LastVertex; + %feature("autodoc", ":rtype: TopoDS_Vertex") LastVertex; const TopoDS_Vertex LastVertex (); - %feature("compactdefaultargs") Edge; - %feature("autodoc", " * Returns the last edge added to the polygon. - :rtype: TopoDS_Edge -") Edge; - const TopoDS_Edge Edge (); - %feature("compactdefaultargs") operator TopoDS_Edge; - %feature("autodoc", " :rtype: -") operator TopoDS_Edge; - operator TopoDS_Edge (); + /****************** Wire ******************/ %feature("compactdefaultargs") Wire; - %feature("autodoc", " :rtype: TopoDS_Wire -") Wire; + %feature("autodoc", ":rtype: TopoDS_Wire") Wire; const TopoDS_Wire Wire (); + + /****************** operator TopoDS_Edge ******************/ + %feature("compactdefaultargs") operator TopoDS_Edge; + %feature("autodoc", ":rtype:") operator TopoDS_Edge; + operator TopoDS_Edge (); + + /****************** operator TopoDS_Wire ******************/ %feature("compactdefaultargs") operator TopoDS_Wire; - %feature("autodoc", " :rtype: -") operator TopoDS_Wire; + %feature("autodoc", ":rtype:") operator TopoDS_Wire; operator TopoDS_Wire (); + }; @@ -2037,26 +2337,32 @@ class BRepLib_MakePolygon : public BRepLib_MakeShape { __repr__ = _dumps_object } }; + +/************************** +* class BRepLib_MakeShell * +**************************/ %nodefaultctor BRepLib_MakeShell; class BRepLib_MakeShell : public BRepLib_MakeShape { public: + /****************** BRepLib_MakeShell ******************/ %feature("compactdefaultargs") BRepLib_MakeShell; - %feature("autodoc", " * Not done. - - :rtype: None -") BRepLib_MakeShell; + %feature("autodoc", "* Not done. + :rtype: None") BRepLib_MakeShell; BRepLib_MakeShell (); + + /****************** BRepLib_MakeShell ******************/ %feature("compactdefaultargs") BRepLib_MakeShell; - %feature("autodoc", " :param S: - :type S: Handle_Geom_Surface & + %feature("autodoc", ":param S: + :type S: opencascade::handle & :param Segment: default value is Standard_False :type Segment: bool - :rtype: None -") BRepLib_MakeShell; - BRepLib_MakeShell (const Handle_Geom_Surface & S,const Standard_Boolean Segment = Standard_False); + :rtype: None") BRepLib_MakeShell; + BRepLib_MakeShell (const opencascade::handle & S,const Standard_Boolean Segment = Standard_False); + + /****************** BRepLib_MakeShell ******************/ %feature("compactdefaultargs") BRepLib_MakeShell; - %feature("autodoc", " :param S: - :type S: Handle_Geom_Surface & + %feature("autodoc", ":param S: + :type S: opencascade::handle & :param UMin: :type UMin: float :param UMax: @@ -2067,14 +2373,19 @@ class BRepLib_MakeShell : public BRepLib_MakeShape { :type VMax: float :param Segment: default value is Standard_False :type Segment: bool - :rtype: None -") BRepLib_MakeShell; - BRepLib_MakeShell (const Handle_Geom_Surface & S,const Standard_Real UMin,const Standard_Real UMax,const Standard_Real VMin,const Standard_Real VMax,const Standard_Boolean Segment = Standard_False); - %feature("compactdefaultargs") Init; - %feature("autodoc", " * Creates the shell from the surface and the min-max values. + :rtype: None") BRepLib_MakeShell; + BRepLib_MakeShell (const opencascade::handle & S,const Standard_Real UMin,const Standard_Real UMax,const Standard_Real VMin,const Standard_Real VMax,const Standard_Boolean Segment = Standard_False); + /****************** Error ******************/ + %feature("compactdefaultargs") Error; + %feature("autodoc", ":rtype: BRepLib_ShellError") Error; + BRepLib_ShellError Error (); + + /****************** Init ******************/ + %feature("compactdefaultargs") Init; + %feature("autodoc", "* Creates the shell from the surface and the min-max values. :param S: - :type S: Handle_Geom_Surface & + :type S: opencascade::handle & :param UMin: :type UMin: float :param UMax: @@ -2085,23 +2396,20 @@ class BRepLib_MakeShell : public BRepLib_MakeShape { :type VMax: float :param Segment: default value is Standard_False :type Segment: bool - :rtype: None -") Init; - void Init (const Handle_Geom_Surface & S,const Standard_Real UMin,const Standard_Real UMax,const Standard_Real VMin,const Standard_Real VMax,const Standard_Boolean Segment = Standard_False); - %feature("compactdefaultargs") Error; - %feature("autodoc", " :rtype: BRepLib_ShellError -") Error; - BRepLib_ShellError Error (); - %feature("compactdefaultargs") Shell; - %feature("autodoc", " * Returns the new Shell. + :rtype: None") Init; + void Init (const opencascade::handle & S,const Standard_Real UMin,const Standard_Real UMax,const Standard_Real VMin,const Standard_Real VMax,const Standard_Boolean Segment = Standard_False); - :rtype: TopoDS_Shell -") Shell; + /****************** Shell ******************/ + %feature("compactdefaultargs") Shell; + %feature("autodoc", "* Returns the new Shell. + :rtype: TopoDS_Shell") Shell; const TopoDS_Shell Shell (); + + /****************** operator TopoDS_Shell ******************/ %feature("compactdefaultargs") operator TopoDS_Shell; - %feature("autodoc", " :rtype: -") operator TopoDS_Shell; + %feature("autodoc", ":rtype:") operator TopoDS_Shell; operator TopoDS_Shell (); + }; @@ -2110,97 +2418,102 @@ class BRepLib_MakeShell : public BRepLib_MakeShape { __repr__ = _dumps_object } }; + +/************************** +* class BRepLib_MakeSolid * +**************************/ %nodefaultctor BRepLib_MakeSolid; class BRepLib_MakeSolid : public BRepLib_MakeShape { public: - %feature("compactdefaultargs") BRepLib_MakeSolid; - %feature("autodoc", " * Solid covers whole space. + /****************** Add ******************/ + %feature("compactdefaultargs") Add; + %feature("autodoc", "* Add the shell to the current solid. + :param S: + :type S: TopoDS_Shell & + :rtype: None") Add; + void Add (const TopoDS_Shell & S); - :rtype: None -") BRepLib_MakeSolid; - BRepLib_MakeSolid (); + /****************** BRepLib_MakeSolid ******************/ %feature("compactdefaultargs") BRepLib_MakeSolid; - %feature("autodoc", " * Make a solid from a CompSolid. + %feature("autodoc", "* Solid covers whole space. + :rtype: None") BRepLib_MakeSolid; + BRepLib_MakeSolid (); + /****************** BRepLib_MakeSolid ******************/ + %feature("compactdefaultargs") BRepLib_MakeSolid; + %feature("autodoc", "* Make a solid from a CompSolid. :param S: :type S: TopoDS_CompSolid & - :rtype: None -") BRepLib_MakeSolid; + :rtype: None") BRepLib_MakeSolid; BRepLib_MakeSolid (const TopoDS_CompSolid & S); - %feature("compactdefaultargs") BRepLib_MakeSolid; - %feature("autodoc", " * Make a solid from a shell. + /****************** BRepLib_MakeSolid ******************/ + %feature("compactdefaultargs") BRepLib_MakeSolid; + %feature("autodoc", "* Make a solid from a shell. :param S: :type S: TopoDS_Shell & - :rtype: None -") BRepLib_MakeSolid; + :rtype: None") BRepLib_MakeSolid; BRepLib_MakeSolid (const TopoDS_Shell & S); - %feature("compactdefaultargs") BRepLib_MakeSolid; - %feature("autodoc", " * Make a solid from two shells. + /****************** BRepLib_MakeSolid ******************/ + %feature("compactdefaultargs") BRepLib_MakeSolid; + %feature("autodoc", "* Make a solid from two shells. :param S1: :type S1: TopoDS_Shell & :param S2: :type S2: TopoDS_Shell & - :rtype: None -") BRepLib_MakeSolid; + :rtype: None") BRepLib_MakeSolid; BRepLib_MakeSolid (const TopoDS_Shell & S1,const TopoDS_Shell & S2); - %feature("compactdefaultargs") BRepLib_MakeSolid; - %feature("autodoc", " * Make a solid from three shells. + /****************** BRepLib_MakeSolid ******************/ + %feature("compactdefaultargs") BRepLib_MakeSolid; + %feature("autodoc", "* Make a solid from three shells. :param S1: :type S1: TopoDS_Shell & :param S2: :type S2: TopoDS_Shell & :param S3: :type S3: TopoDS_Shell & - :rtype: None -") BRepLib_MakeSolid; + :rtype: None") BRepLib_MakeSolid; BRepLib_MakeSolid (const TopoDS_Shell & S1,const TopoDS_Shell & S2,const TopoDS_Shell & S3); - %feature("compactdefaultargs") BRepLib_MakeSolid; - %feature("autodoc", " * Make a solid from a solid. Usefull for adding later. + /****************** BRepLib_MakeSolid ******************/ + %feature("compactdefaultargs") BRepLib_MakeSolid; + %feature("autodoc", "* Make a solid from a solid. Usefull for adding later. :param So: :type So: TopoDS_Solid & - :rtype: None -") BRepLib_MakeSolid; + :rtype: None") BRepLib_MakeSolid; BRepLib_MakeSolid (const TopoDS_Solid & So); - %feature("compactdefaultargs") BRepLib_MakeSolid; - %feature("autodoc", " * Add a shell to a solid. + /****************** BRepLib_MakeSolid ******************/ + %feature("compactdefaultargs") BRepLib_MakeSolid; + %feature("autodoc", "* Add a shell to a solid. :param So: :type So: TopoDS_Solid & :param S: :type S: TopoDS_Shell & - :rtype: None -") BRepLib_MakeSolid; + :rtype: None") BRepLib_MakeSolid; BRepLib_MakeSolid (const TopoDS_Solid & So,const TopoDS_Shell & S); - %feature("compactdefaultargs") Add; - %feature("autodoc", " * Add the shell to the current solid. - :param S: - :type S: TopoDS_Shell & - :rtype: None -") Add; - void Add (const TopoDS_Shell & S); - %feature("compactdefaultargs") Solid; - %feature("autodoc", " * Returns the new Solid. + /****************** FaceStatus ******************/ + %feature("compactdefaultargs") FaceStatus; + %feature("autodoc", "* returns the status of the Face after the shape creation. + :param F: + :type F: TopoDS_Face & + :rtype: BRepLib_ShapeModification") FaceStatus; + virtual BRepLib_ShapeModification FaceStatus (const TopoDS_Face & F); - :rtype: TopoDS_Solid -") Solid; + /****************** Solid ******************/ + %feature("compactdefaultargs") Solid; + %feature("autodoc", "* Returns the new Solid. + :rtype: TopoDS_Solid") Solid; const TopoDS_Solid Solid (); + + /****************** operator TopoDS_Solid ******************/ %feature("compactdefaultargs") operator TopoDS_Solid; - %feature("autodoc", " :rtype: -") operator TopoDS_Solid; + %feature("autodoc", ":rtype:") operator TopoDS_Solid; operator TopoDS_Solid (); - %feature("compactdefaultargs") FaceStatus; - %feature("autodoc", " * returns the status of the Face after the shape creation. - :param F: - :type F: TopoDS_Face & - :rtype: BRepLib_ShapeModification -") FaceStatus; - virtual BRepLib_ShapeModification FaceStatus (const TopoDS_Face & F); }; @@ -2209,23 +2522,30 @@ class BRepLib_MakeSolid : public BRepLib_MakeShape { __repr__ = _dumps_object } }; + +/*************************** +* class BRepLib_MakeVertex * +***************************/ %nodefaultctor BRepLib_MakeVertex; class BRepLib_MakeVertex : public BRepLib_MakeShape { public: + /****************** BRepLib_MakeVertex ******************/ %feature("compactdefaultargs") BRepLib_MakeVertex; - %feature("autodoc", " :param P: + %feature("autodoc", ":param P: :type P: gp_Pnt - :rtype: None -") BRepLib_MakeVertex; + :rtype: None") BRepLib_MakeVertex; BRepLib_MakeVertex (const gp_Pnt & P); + + /****************** Vertex ******************/ %feature("compactdefaultargs") Vertex; - %feature("autodoc", " :rtype: TopoDS_Vertex -") Vertex; + %feature("autodoc", ":rtype: TopoDS_Vertex") Vertex; const TopoDS_Vertex Vertex (); + + /****************** operator TopoDS_Vertex ******************/ %feature("compactdefaultargs") operator TopoDS_Vertex; - %feature("autodoc", " :rtype: -") operator TopoDS_Vertex; + %feature("autodoc", ":rtype:") operator TopoDS_Vertex; operator TopoDS_Vertex (); + }; @@ -2234,48 +2554,77 @@ class BRepLib_MakeVertex : public BRepLib_MakeShape { __repr__ = _dumps_object } }; + +/************************* +* class BRepLib_MakeWire * +*************************/ %nodefaultctor BRepLib_MakeWire; class BRepLib_MakeWire : public BRepLib_MakeShape { public: - %feature("compactdefaultargs") BRepLib_MakeWire; - %feature("autodoc", " * NotDone MakeWire. + class BRepLib_BndBoxVertexSelector {}; + /****************** Add ******************/ + %feature("compactdefaultargs") Add; + %feature("autodoc", "* Add the edge to the current wire. + :param E: + :type E: TopoDS_Edge & + :rtype: None") Add; + void Add (const TopoDS_Edge & E); - :rtype: None -") BRepLib_MakeWire; - BRepLib_MakeWire (); + /****************** Add ******************/ + %feature("compactdefaultargs") Add; + %feature("autodoc", "* Add the edges of to the current wire. + :param W: + :type W: TopoDS_Wire & + :rtype: None") Add; + void Add (const TopoDS_Wire & W); + + /****************** Add ******************/ + %feature("compactdefaultargs") Add; + %feature("autodoc", "* Add the edges of to the current wire. The edges are not to be consecutive. But they are to be all connected geometrically or topologically. + :param L: + :type L: TopTools_ListOfShape & + :rtype: None") Add; + void Add (const TopTools_ListOfShape & L); + + /****************** BRepLib_MakeWire ******************/ %feature("compactdefaultargs") BRepLib_MakeWire; - %feature("autodoc", " * Make a Wire from an edge. + %feature("autodoc", "* NotDone MakeWire. + :rtype: None") BRepLib_MakeWire; + BRepLib_MakeWire (); + /****************** BRepLib_MakeWire ******************/ + %feature("compactdefaultargs") BRepLib_MakeWire; + %feature("autodoc", "* Make a Wire from an edge. :param E: :type E: TopoDS_Edge & - :rtype: None -") BRepLib_MakeWire; + :rtype: None") BRepLib_MakeWire; BRepLib_MakeWire (const TopoDS_Edge & E); - %feature("compactdefaultargs") BRepLib_MakeWire; - %feature("autodoc", " * Make a Wire from two edges. + /****************** BRepLib_MakeWire ******************/ + %feature("compactdefaultargs") BRepLib_MakeWire; + %feature("autodoc", "* Make a Wire from two edges. :param E1: :type E1: TopoDS_Edge & :param E2: :type E2: TopoDS_Edge & - :rtype: None -") BRepLib_MakeWire; + :rtype: None") BRepLib_MakeWire; BRepLib_MakeWire (const TopoDS_Edge & E1,const TopoDS_Edge & E2); - %feature("compactdefaultargs") BRepLib_MakeWire; - %feature("autodoc", " * Make a Wire from three edges. + /****************** BRepLib_MakeWire ******************/ + %feature("compactdefaultargs") BRepLib_MakeWire; + %feature("autodoc", "* Make a Wire from three edges. :param E1: :type E1: TopoDS_Edge & :param E2: :type E2: TopoDS_Edge & :param E3: :type E3: TopoDS_Edge & - :rtype: None -") BRepLib_MakeWire; + :rtype: None") BRepLib_MakeWire; BRepLib_MakeWire (const TopoDS_Edge & E1,const TopoDS_Edge & E2,const TopoDS_Edge & E3); - %feature("compactdefaultargs") BRepLib_MakeWire; - %feature("autodoc", " * Make a Wire from four edges. + /****************** BRepLib_MakeWire ******************/ + %feature("compactdefaultargs") BRepLib_MakeWire; + %feature("autodoc", "* Make a Wire from four edges. :param E1: :type E1: TopoDS_Edge & :param E2: @@ -2284,77 +2633,55 @@ class BRepLib_MakeWire : public BRepLib_MakeShape { :type E3: TopoDS_Edge & :param E4: :type E4: TopoDS_Edge & - :rtype: None -") BRepLib_MakeWire; + :rtype: None") BRepLib_MakeWire; BRepLib_MakeWire (const TopoDS_Edge & E1,const TopoDS_Edge & E2,const TopoDS_Edge & E3,const TopoDS_Edge & E4); - %feature("compactdefaultargs") BRepLib_MakeWire; - %feature("autodoc", " * Make a Wire from a Wire. Usefull for adding later. + /****************** BRepLib_MakeWire ******************/ + %feature("compactdefaultargs") BRepLib_MakeWire; + %feature("autodoc", "* Make a Wire from a Wire. Usefull for adding later. :param W: :type W: TopoDS_Wire & - :rtype: None -") BRepLib_MakeWire; + :rtype: None") BRepLib_MakeWire; BRepLib_MakeWire (const TopoDS_Wire & W); - %feature("compactdefaultargs") BRepLib_MakeWire; - %feature("autodoc", " * Add an edge to a wire. + /****************** BRepLib_MakeWire ******************/ + %feature("compactdefaultargs") BRepLib_MakeWire; + %feature("autodoc", "* Add an edge to a wire. :param W: :type W: TopoDS_Wire & :param E: :type E: TopoDS_Edge & - :rtype: None -") BRepLib_MakeWire; + :rtype: None") BRepLib_MakeWire; BRepLib_MakeWire (const TopoDS_Wire & W,const TopoDS_Edge & E); - %feature("compactdefaultargs") Add; - %feature("autodoc", " * Add the edge to the current wire. - - :param E: - :type E: TopoDS_Edge & - :rtype: None -") Add; - void Add (const TopoDS_Edge & E); - %feature("compactdefaultargs") Add; - %feature("autodoc", " * Add the edges of to the current wire. - :param W: - :type W: TopoDS_Wire & - :rtype: None -") Add; - void Add (const TopoDS_Wire & W); - %feature("compactdefaultargs") Add; - %feature("autodoc", " * Add the edges of to the current wire. The edges are not to be consecutive. But they are to be all connected geometrically or topologically. + /****************** Edge ******************/ + %feature("compactdefaultargs") Edge; + %feature("autodoc", "* Returns the last edge added to the wire. + :rtype: TopoDS_Edge") Edge; + const TopoDS_Edge Edge (); - :param L: - :type L: TopTools_ListOfShape & - :rtype: None -") Add; - void Add (const TopTools_ListOfShape & L); + /****************** Error ******************/ %feature("compactdefaultargs") Error; - %feature("autodoc", " :rtype: BRepLib_WireError -") Error; + %feature("autodoc", ":rtype: BRepLib_WireError") Error; BRepLib_WireError Error (); - %feature("compactdefaultargs") Wire; - %feature("autodoc", " * Returns the new wire. - :rtype: TopoDS_Wire -") Wire; + /****************** Vertex ******************/ + %feature("compactdefaultargs") Vertex; + %feature("autodoc", "* Returns the last connecting vertex. + :rtype: TopoDS_Vertex") Vertex; + const TopoDS_Vertex Vertex (); + + /****************** Wire ******************/ + %feature("compactdefaultargs") Wire; + %feature("autodoc", "* Returns the new wire. + :rtype: TopoDS_Wire") Wire; const TopoDS_Wire Wire (); + + /****************** operator TopoDS_Wire ******************/ %feature("compactdefaultargs") operator TopoDS_Wire; - %feature("autodoc", " :rtype: -") operator TopoDS_Wire; + %feature("autodoc", ":rtype:") operator TopoDS_Wire; operator TopoDS_Wire (); - %feature("compactdefaultargs") Edge; - %feature("autodoc", " * Returns the last edge added to the wire. - - :rtype: TopoDS_Edge -") Edge; - const TopoDS_Edge Edge (); - %feature("compactdefaultargs") Vertex; - %feature("autodoc", " * Returns the last connecting vertex. - :rtype: TopoDS_Vertex -") Vertex; - const TopoDS_Vertex Vertex (); }; @@ -2363,3 +2690,7 @@ class BRepLib_MakeWire : public BRepLib_MakeShape { __repr__ = _dumps_object } }; + +/* harray1 class */ +/* harray2 class */ +/* harray2 class */ diff --git a/src/SWIG_files/wrapper/BRepLib_headers.i b/src/SWIG_files/wrapper/BRepLib_headers.i deleted file mode 100644 index 2ecb7cc95..000000000 --- a/src/SWIG_files/wrapper/BRepLib_headers.i +++ /dev/null @@ -1,609 +0,0 @@ -/* -Copyright 2008-2017 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 . - -*/ -%{ -#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 -#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 -#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 -#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 -#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 -#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 -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -%}; -%import Standard.i -%import Geom.i -%import TopoDS.i -%import GeomAbs.i -%import TopTools.i -%import Geom2d.i -%import TopLoc.i -%import gp.i diff --git a/src/SWIG_files/wrapper/BRepMAT2d.i b/src/SWIG_files/wrapper/BRepMAT2d.i index ff9a5f6d6..c878f3b63 100644 --- a/src/SWIG_files/wrapper/BRepMAT2d.i +++ b/src/SWIG_files/wrapper/BRepMAT2d.i @@ -1,6 +1,5 @@ /* -Copyright 2008-2017 Thomas Paviot (tpaviot@gmail.com) - +Copyright 2008-2019 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -15,15 +14,13 @@ 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 BREPMAT2DDOCSTRING -" -" +"BRepMAT2d module, see official documentation at +https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brepmat2d.html" %enddef %module (package="OCC.Core", docstring=BREPMAT2DDOCSTRING) BRepMAT2d -#pragma SWIG nowarn=504,325,503 %{ #ifdef WNT @@ -38,27 +35,80 @@ along with pythonOCC. If not, see . %include ../common/OccHandle.i -%include BRepMAT2d_headers.i - -/* typedefs */ -/* end typedefs declaration */ - +%{ +#include + +//Dependencies +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +%}; +%import Standard.i +%import NCollection.i +%import MAT.i +%import GeomAbs.i +%import Bisector.i +%import Geom2d.i +%import gp.i +%import TopoDS.i +%import TColGeom2d.i +%import TColStd.i /* public enums */ /* end public enums declaration */ -%wrap_handle(BRepMAT2d_DataMapNodeOfDataMapOfBasicEltShape) -%wrap_handle(BRepMAT2d_DataMapNodeOfDataMapOfShapeSequenceOfBasicElt) +/* handles */ +/* end handles declaration */ +/* templates */ +%template(BRepMAT2d_DataMapOfBasicEltShape) NCollection_DataMap , TopoDS_Shape , TColStd_MapTransientHasher>; +%template(BRepMAT2d_DataMapOfShapeSequenceOfBasicElt) NCollection_DataMap ; +/* end templates declaration */ + +/* typedefs */ +typedef NCollection_DataMap , TopoDS_Shape , TColStd_MapTransientHasher> BRepMAT2d_DataMapOfBasicEltShape; +typedef NCollection_DataMap , TopoDS_Shape , TColStd_MapTransientHasher>::Iterator BRepMAT2d_DataMapIteratorOfDataMapOfBasicEltShape; +typedef NCollection_DataMap BRepMAT2d_DataMapOfShapeSequenceOfBasicElt; +typedef NCollection_DataMap ::Iterator BRepMAT2d_DataMapIteratorOfDataMapOfShapeSequenceOfBasicElt; +/* end typedefs declaration */ + +/********************************* +* class BRepMAT2d_BisectingLocus * +*********************************/ %nodefaultctor BRepMAT2d_BisectingLocus; class BRepMAT2d_BisectingLocus { public: + /****************** BRepMAT2d_BisectingLocus ******************/ %feature("compactdefaultargs") BRepMAT2d_BisectingLocus; - %feature("autodoc", " :rtype: None -") BRepMAT2d_BisectingLocus; + %feature("autodoc", ":rtype: None") BRepMAT2d_BisectingLocus; BRepMAT2d_BisectingLocus (); - %feature("compactdefaultargs") Compute; - %feature("autodoc", " * Computation of the Bisector_Locus in a set of Lines defined in . The bisecting locus are computed on the side